mirror of
https://github.com/zeldaret/oot
synced 2026-09-02 10:01:38 -04:00
Document pass on WaterBox code (#2695)
* Document pass on WaterBox code * implement suggestions, missing comment --------- Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
This commit is contained in:
@@ -447,13 +447,13 @@ class CollisionWaterBoxesResource(CDataResource):
|
||||
bgCamIndex = (v >> 0) & 0xFF
|
||||
lightIndex = (v >> 8) & 0x1F
|
||||
room = (v >> 13) & 0x3F
|
||||
setFlag19 = (v >> 19) & 1
|
||||
isDisabled = (v >> 19) & 1
|
||||
return (
|
||||
"WATERBOX_PROPERTIES("
|
||||
f"/* bgCamIndex */ {bgCamIndex}, "
|
||||
f"/* lightIndex */ {lightIndex}, "
|
||||
f"/* room */ {room}, "
|
||||
f"/* setFlag19 */ {'true' if setFlag19 else 'false'}"
|
||||
f"/* isDisabled */ {'true' if isDisabled else 'false'}"
|
||||
")"
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user