mirror of
https://github.com/zeldaret/mm.git
synced 2026-05-23 15:01:32 -04:00
z_player_lib: Part 2 (#938)
* preparations * import data * PLAYER_STATE1 * PLAYER_STATE2 * PLAYER_STATE3 * import bss * format stuff * bss cleanup * more cleaning and some naming * face * cleaning up link human object a bit * Remove PHYSICAL_TO_VIRTUAL2 * Update src/code/z_player_lib.c Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com> * review Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com> * format * /* CAT */ Co-authored-by: Isghj <42048411+isghj5@users.noreply.github.com> * naming some stuff on objects * format * invert flags endian * review Co-authored-by: EllipticEllipsis <elliptic.ellipsis@gmail.com> * format * drawmask Co-authored-by: Isghj <42048411+isghj5@users.noreply.github.com> * naming * another round of human object naming * enum renames * sActionModelGroups and use enum as types * PlayerAnimType * PLAYER_MODELTYPE_ * determined ranges of PlayerModelType * name PLAYER_MODELGROUP_DEFAULT * format * sheath * dlist groups placeholder namse * PLAYER_MODELGROUP_BOTTLE * Some fierce deity naming * Right hands * zora skel dlists * deku limb dlists * left hands * name most modelgroups * more hand naming * regs as dec * fix in horse * Use BUTTON_ITEM_EQUIP macro * review Co-authored-by: EllipticEllipsis <elliptic.ellipsis@gmail.com> * reformat D_801AED58 * Sword sheaths * swords and shields * Update src/overlays/actors/ovl_Arms_Hook/z_arms_hook.c Co-authored-by: EllipticEllipsis <elliptic.ellipsis@gmail.com> * playerForm on Player_DrawImpl * fomat * Update src/code/z_player_lib.c Co-authored-by: Derek Hensley <hensley.derek58@gmail.com> * Update assets/xml/objects/gameplay_keep.xml Co-authored-by: Derek Hensley <hensley.derek58@gmail.com> * review Co-authored-by: Derek Hensley <hensley.derek58@gmail.com> * VIRTUAL_TO_PHYSICAL(SEGMENTED_TO_VIRTUAL(gEffBubble1Tex)) Co-authored-by: Derek Hensley <hensley.derek58@gmail.com> * singular limb enum names * fix bss * Update src/overlays/actors/ovl_Arms_Hook/z_arms_hook.c Co-authored-by: EllipticEllipsis <elliptic.ellipsis@gmail.com> * review Co-authored-by: EllipticEllipsis <elliptic.ellipsis@gmail.com> * name goron shielding limbs * name limb * Update src/code/z_player_lib.c Co-authored-by: EllipticEllipsis <elliptic.ellipsis@gmail.com> * bss * bss * format * namefixer * bss * bss * bss * bss * format * bss * review Co-authored-by: EllipticEllipsis <elliptic.ellipsis@gmail.com> * fix bss Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com> Co-authored-by: Isghj <42048411+isghj5@users.noreply.github.com> Co-authored-by: EllipticEllipsis <elliptic.ellipsis@gmail.com> Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
<DList Name="gameplay_keep_DL_001B20" Offset="0x1B20" />
|
||||
<DList Name="gameplay_keep_DL_001BC8" Offset="0x1BC8" />
|
||||
<DList Name="gameplay_keep_DL_001C60" Offset="0x1C60" />
|
||||
<DList Name="gameplay_keep_DL_001D00" Offset="0x1D00" />
|
||||
<DList Name="gRazorSwordHandleDL" Offset="0x1D00" />
|
||||
<DList Name="gameplay_keep_DL_001D28" Offset="0x1D28" />
|
||||
<DList Name="gameplay_keep_DL_001DC8" Offset="0x1DC8" />
|
||||
<DList Name="gameplay_keep_DL_001E58" Offset="0x1E58" />
|
||||
@@ -20,8 +20,8 @@
|
||||
<DList Name="gameplay_keep_DL_001FA8" Offset="0x1FA8" />
|
||||
<DList Name="gameplay_keep_DL_002038" Offset="0x2038" />
|
||||
<DList Name="gameplay_keep_DL_0020C8" Offset="0x20C8" />
|
||||
<DList Name="gameplay_keep_DL_002168" Offset="0x2168" />
|
||||
<DList Name="gameplay_keep_DL_0021A8" Offset="0x21A8" />
|
||||
<DList Name="gRazorSwordBladeDL" Offset="0x2168" />
|
||||
<DList Name="gKokiriSwordHandleDL" Offset="0x21A8" />
|
||||
<DList Name="gameplay_keep_DL_002480" Offset="0x2480" />
|
||||
<DList Name="gameplay_keep_DL_002508" Offset="0x2508" />
|
||||
<DList Name="gameplay_keep_DL_002590" Offset="0x2590" />
|
||||
@@ -30,7 +30,7 @@
|
||||
<DList Name="gameplay_keep_DL_002728" Offset="0x2728" />
|
||||
<DList Name="gameplay_keep_DL_0027B0" Offset="0x27B0" />
|
||||
<DList Name="gameplay_keep_DL_002838" Offset="0x2838" />
|
||||
<DList Name="gameplay_keep_DL_0028C0" Offset="0x28C0" />
|
||||
<DList Name="gKokiriSwordBladeDL" Offset="0x28C0" />
|
||||
<Texture Name="gameplay_keep_TLUT_002908" OutName="tlut_002908" Format="rgba16" Width="16" Height="16" Offset="0x2908" />
|
||||
<Texture Name="gameplay_keep_Tex_002B08" OutName="tex_002B08" Format="rgba16" Width="8" Height="8" Offset="0x2B08" />
|
||||
<Texture Name="gameplay_keep_Tex_002B88" OutName="tex_002B88" Format="rgba16" Width="16" Height="16" Offset="0x2B88" />
|
||||
@@ -38,7 +38,8 @@
|
||||
<Texture Name="gameplay_keep_Tex_002DC8" OutName="tex_002DC8" Format="i8" Width="8" Height="8" Offset="0x2DC8" />
|
||||
<Texture Name="gameplay_keep_Tex_002E08" OutName="tex_002E08" Format="rgba16" Width="16" Height="16" Offset="0x2E08" />
|
||||
<Texture Name="gameplay_keep_Tex_003008" OutName="tex_003008" Format="i8" Width="8" Height="8" Offset="0x3008" />
|
||||
<Blob Name="gameplay_keep_Blob_003050" Size="0x20" Offset="0x3050" />
|
||||
<DList Name="gKokiriSwordDL" Offset="0x3050" />
|
||||
<DList Name="gRazorSwordDL" Offset="0x3060" />
|
||||
<DList Name="gDekuStickDL" Offset="0x32B0" /> <!-- @bug Supplies the wrong size to gsDPLoadTextureBlock, meaning it uses part of gLinkPauseChildJointTable as if it were a texture. -->
|
||||
<Blob Name="gameplay_keep_Blob_003400" Size="0x9D0" Offset="0x3400" />
|
||||
<DList Name="gameplay_keep_DL_005360" Offset="0x5360" />
|
||||
@@ -1220,7 +1221,7 @@
|
||||
<DList Name="gameplay_keep_DL_054C90" Offset="0x54C90" />
|
||||
<Texture Name="gameplay_keep_Tex_054D90" OutName="tex_054D90" Format="i4" Width="16" Height="16" Offset="0x54D90" />
|
||||
<Texture Name="gameplay_keep_Tex_054E10" OutName="tex_054E10" Format="i8" Width="16" Height="16" Offset="0x54E10" />
|
||||
<Blob Name="gameplay_keep_Blob_054F10" Size="0x10" Offset="0x54F10" />
|
||||
<TextureAnimation Name="gameplay_keep_Matanimheader_054F18" Offset="0x54F18" />
|
||||
<Texture Name="gameplay_keep_Tex_054F20" OutName="tex_054F20" Format="i8" Width="32" Height="32" Offset="0x54F20" />
|
||||
<DList Name="gameplay_keep_DL_055360" Offset="0x55360" />
|
||||
<DList Name="gameplay_keep_DL_055620" Offset="0x55620" />
|
||||
@@ -1491,7 +1492,7 @@
|
||||
<Texture Name="gameplay_keep_Tex_0913E0" OutName="tex_0913E0" Format="i8" Width="32" Height="64" Offset="0x913E0" />
|
||||
<Texture Name="gEffBubble1Tex" OutName="eff_bubble_1" Format="ia8" Width="16" Height="16" Offset="0x91BE0" />
|
||||
<Texture Name="gEffBubble2Tex" OutName="eff_bubble_2" Format="ia8" Width="16" Height="16" Offset="0x91CE0" />
|
||||
|
||||
|
||||
<!-- Electric spark textures from Zora-Form attack -->
|
||||
<Texture Name="gElectricSpark1Tex" OutName="electric_spark_1" Format="i4" Width="32" Height="32" Offset="0x91DE0" />
|
||||
<Texture Name="gElectricSpark2Tex" OutName="electric_spark_2" Format="i4" Width="32" Height="32" Offset="0x91FE0" />
|
||||
|
||||
@@ -2,42 +2,45 @@
|
||||
<File Name="object_link_boy" Segment="6">
|
||||
<Texture Name="object_link_boy_TLUT_000000" OutName="tlut_000000" Format="rgba16" Width="16" Height="16" Offset="0x0" />
|
||||
<Texture Name="object_link_boy_TLUT_000200" OutName="tlut_000200" Format="rgba16" Width="16" Height="16" Offset="0x200" />
|
||||
<Texture Name="object_link_boy_TLUT_000400" OutName="tlut_000400" Format="rgba16" Width="16" Height="16" Offset="0x400" />
|
||||
<Texture Name="object_link_boy_Tex_000600" OutName="tex_000600" Format="ci8" Width="16" Height="32" Offset="0x600" />
|
||||
<Texture Name="gLinkFierceDeityHandHoldingTLUT" OutName="hand_holding_tlut" Format="rgba16" Width="16" Height="16" Offset="0x400" />
|
||||
<Texture Name="object_link_boy_Tex_000600" OutName="tex_000600" Format="ci8" Width="16" Height="32" Offset="0x600" TlutOffset="0x0" />
|
||||
<Texture Name="object_link_boy_Tex_000800" OutName="tex_000800" Format="ci8" Width="16" Height="32" Offset="0x800" />
|
||||
<Texture Name="object_link_boy_Tex_000A00" OutName="tex_000A00" Format="ci8" Width="16" Height="16" Offset="0xA00" />
|
||||
<Texture Name="gLinkFierceDeityHandHoldingTex" OutName="hand_holding" Format="ci8" Width="16" Height="16" Offset="0xA00" TlutOffset="0x400" />
|
||||
<Texture Name="object_link_boy_Tex_000B00" OutName="tex_000B00" Format="i8" Width="16" Height="16" Offset="0xB00" />
|
||||
<DList Name="object_link_boy_DL_0049E0" Offset="0x49E0" />
|
||||
<DList Name="object_link_boy_DL_004C50" Offset="0x4C50" />
|
||||
<DList Name="object_link_boy_DL_004F48" Offset="0x4F48" />
|
||||
<DList Name="object_link_boy_DL_005190" Offset="0x5190" />
|
||||
<DList Name="object_link_boy_DL_0052A0" Offset="0x52A0" />
|
||||
<DList Name="object_link_boy_DL_0055D0" Offset="0x55D0" />
|
||||
<DList Name="object_link_boy_DL_005818" Offset="0x5818" />
|
||||
<DList Name="object_link_boy_DL_005928" Offset="0x5928" />
|
||||
<DList Name="object_link_boy_DL_005A78" Offset="0x5A78" />
|
||||
|
||||
<DList Name="gLinkFierceDeityWaistDL" Offset="0x49E0" />
|
||||
<DList Name="gLinkFierceDeityRightThighDL" Offset="0x4C50" />
|
||||
<DList Name="gLinkFierceDeityRightShinDL" Offset="0x4F48" />
|
||||
<DList Name="gLinkFierceDeityRightFootDL" Offset="0x5190" />
|
||||
<DList Name="gLinkFierceDeityLeftThighDL" Offset="0x52A0" />
|
||||
<DList Name="gLinkFierceDeityLeftShinDL" Offset="0x55D0" />
|
||||
<DList Name="gLinkFierceDeityLeftFootDL" Offset="0x5818" />
|
||||
<DList Name="gLinkFierceDeityHatDL" Offset="0x5928" />
|
||||
<DList Name="gLinkFierceDeityHeadDL" Offset="0x5A78" />
|
||||
<DList Name="object_link_boy_DL_0060E8" Offset="0x60E8" />
|
||||
<DList Name="object_link_boy_DL_006148" Offset="0x6148" />
|
||||
<DList Name="gLinkFierceDeityTorsoDL" Offset="0x6148" />
|
||||
<DList Name="object_link_boy_DL_006370" Offset="0x6370" />
|
||||
<DList Name="object_link_boy_DL_006410" Offset="0x6410" />
|
||||
<DList Name="object_link_boy_DL_0065E0" Offset="0x65E0" />
|
||||
<DList Name="object_link_boy_DL_0067D8" Offset="0x67D8" />
|
||||
<DList Name="object_link_boy_DL_006A58" Offset="0x6A58" />
|
||||
<DList Name="object_link_boy_DL_006C38" Offset="0x6C38" />
|
||||
<DList Name="object_link_boy_DL_006EB8" Offset="0x6EB8" />
|
||||
<DList Name="object_link_boy_DL_007820" Offset="0x7820" />
|
||||
<DList Name="gLinkFierceDeityRightShoulderDL" Offset="0x6410" />
|
||||
<DList Name="gLinkFierceDeityRightForearmDL" Offset="0x65E0" />
|
||||
<DList Name="gLinkFierceDeityRightHandDL" Offset="0x67D8" />
|
||||
<DList Name="gLinkFierceDeityLeftShoulderDL" Offset="0x6A58" />
|
||||
<DList Name="gLinkFierceDeityLeftForearmDL" Offset="0x6C38" />
|
||||
<DList Name="gLinkFierceDeityLeftHandDL" Offset="0x6EB8" />
|
||||
<!-- Unused leftover from OoT -->
|
||||
<DList Name="gLinkFierceDeityLeftHandHoldBottleDL" Offset="0x7820" />
|
||||
<DList Name="object_link_boy_DL_007A50" Offset="0x7A50" />
|
||||
<DList Name="object_link_boy_DL_007AD0" Offset="0x7AD0" />
|
||||
<DList Name="object_link_boy_DL_007F28" Offset="0x7F28" />
|
||||
<DList Name="object_link_boy_DL_0080F0" Offset="0x80F0" />
|
||||
<DList Name="object_link_boy_DL_008100" Offset="0x8100" />
|
||||
<DList Name="gLinkFierceDeityBottleDL" Offset="0x7AD0" />
|
||||
<DList Name="gLinkFierceDeitySwordDL" Offset="0x7F28" />
|
||||
<DList Name="gLinkFierceDeityLeftHandHoldingSwordDL" Offset="0x80F0" />
|
||||
<DList Name="gLinkFierceDeityEmptyDL" Offset="0x8100" />
|
||||
|
||||
<Texture Name="object_link_boy_TLUT_008108" OutName="tlut_008108" Format="rgba16" Width="4" Height="4" Offset="0x8108" />
|
||||
<Texture Name="object_link_boy_TLUT_008128" OutName="tlut_008128" Format="rgba16" Width="4" Height="4" Offset="0x8128" />
|
||||
<Texture Name="object_link_boy_TLUT_008148" OutName="tlut_008148" Format="rgba16" Width="4" Height="4" Offset="0x8148" />
|
||||
<Texture Name="object_link_boy_TLUT_008168" OutName="tlut_008168" Format="rgba16" Width="4" Height="4" Offset="0x8168" />
|
||||
<Texture Name="object_link_boy_TLUT_008188" OutName="tlut_008188" Format="rgba16" Width="4" Height="4" Offset="0x8188" />
|
||||
<Texture Name="object_link_boy_TLUT_0081A8" OutName="tlut_0081A8" Format="rgba16" Width="4" Height="4" Offset="0x81A8" />
|
||||
<Texture Name="object_link_boy_TLUT_0081C8" OutName="tlut_0081C8" Format="rgba16" Width="4" Height="4" Offset="0x81C8" />
|
||||
<Texture Name="gLinkFierceDeityHandTLUT" OutName="hand_tlut" Format="rgba16" Width="4" Height="4" Offset="0x81C8" />
|
||||
<Texture Name="object_link_boy_TLUT_0081E8" OutName="tlut_0081E8" Format="rgba16" Width="4" Height="4" Offset="0x81E8" />
|
||||
<Texture Name="object_link_boy_Tex_008208" OutName="tex_008208" Format="rgba16" Width="16" Height="16" Offset="0x8208" />
|
||||
<Texture Name="object_link_boy_Tex_008408" OutName="tex_008408" Format="ci4" Width="16" Height="16" Offset="0x8408" />
|
||||
@@ -46,36 +49,38 @@
|
||||
<Texture Name="object_link_boy_Tex_008C88" OutName="tex_008C88" Format="ci4" Width="16" Height="16" Offset="0x8C88" />
|
||||
<Texture Name="object_link_boy_Tex_008D08" OutName="tex_008D08" Format="ci4" Width="32" Height="32" Offset="0x8D08" />
|
||||
<Texture Name="object_link_boy_Tex_008F08" OutName="tex_008F08" Format="ci4" Width="64" Height="64" Offset="0x8F08" />
|
||||
<Texture Name="object_link_boy_Tex_009708" OutName="tex_009708" Format="rgba16" Width="64" Height="32" Offset="0x9708" />
|
||||
<Texture Name="gLinkFierceDeityEyesTex" OutName="eyes" Format="rgba16" Width="64" Height="32" Offset="0x9708" />
|
||||
<Texture Name="object_link_boy_Tex_00A708" OutName="tex_00A708" Format="ci4" Width="32" Height="32" Offset="0xA708" />
|
||||
<Texture Name="object_link_boy_Tex_00A908" OutName="tex_00A908" Format="rgba16" Width="32" Height="16" Offset="0xA908" />
|
||||
<Texture Name="object_link_boy_Tex_00AD08" OutName="tex_00AD08" Format="rgba16" Width="16" Height="16" Offset="0xAD08" />
|
||||
<Texture Name="gLinkFierceDeityMouthTex" OutName="mouth" Format="rgba16" Width="32" Height="16" Offset="0xA908" />
|
||||
<Texture Name="gLinkFierceDeityEarTex" OutName="ear" Format="rgba16" Width="16" Height="16" Offset="0xAD08" />
|
||||
<Texture Name="object_link_boy_Tex_00AF08" OutName="tex_00AF08" Format="ci4" Width="32" Height="32" Offset="0xAF08" />
|
||||
<Texture Name="object_link_boy_Tex_00B108" OutName="tex_00B108" Format="ci4" Width="16" Height="16" Offset="0xB108" />
|
||||
<Texture Name="gLinkFierceDeityHandTex" OutName="hand" Format="ci4" Width="16" Height="16" Offset="0xB108" TlutOffset="0x81C8" />
|
||||
<Texture Name="object_link_boy_Tex_00B188" OutName="tex_00B188" Format="ci4" Width="64" Height="64" Offset="0xB188" />
|
||||
|
||||
<!-- TODO this texture should be 50x75 but the u64 type of textures makes this not match currently -->
|
||||
<Texture Name="object_link_boy_Tex_00B988" OutName="tex_00B988" Format="rgba16" Width="50" Height="74" Offset="0xB988" />
|
||||
<Limb Name="object_link_boy_Lodlimb_00D6D4" Type="LOD" EnumName="OBJECT_LINK_BOY_LIMB_01" Offset="0xD6D4" />
|
||||
<Limb Name="object_link_boy_Lodlimb_00D6E4" Type="LOD" EnumName="OBJECT_LINK_BOY_LIMB_02" Offset="0xD6E4" />
|
||||
<Limb Name="object_link_boy_Lodlimb_00D6F4" Type="LOD" EnumName="OBJECT_LINK_BOY_LIMB_03" Offset="0xD6F4" />
|
||||
<Limb Name="object_link_boy_Lodlimb_00D704" Type="LOD" EnumName="OBJECT_LINK_BOY_LIMB_04" Offset="0xD704" />
|
||||
<Limb Name="object_link_boy_Lodlimb_00D714" Type="LOD" EnumName="OBJECT_LINK_BOY_LIMB_05" Offset="0xD714" />
|
||||
<Limb Name="object_link_boy_Lodlimb_00D724" Type="LOD" EnumName="OBJECT_LINK_BOY_LIMB_06" Offset="0xD724" />
|
||||
<Limb Name="object_link_boy_Lodlimb_00D734" Type="LOD" EnumName="OBJECT_LINK_BOY_LIMB_07" Offset="0xD734" />
|
||||
<Limb Name="object_link_boy_Lodlimb_00D744" Type="LOD" EnumName="OBJECT_LINK_BOY_LIMB_08" Offset="0xD744" />
|
||||
<Limb Name="object_link_boy_Lodlimb_00D754" Type="LOD" EnumName="OBJECT_LINK_BOY_LIMB_09" Offset="0xD754" />
|
||||
<Limb Name="object_link_boy_Lodlimb_00D764" Type="LOD" EnumName="OBJECT_LINK_BOY_LIMB_0A" Offset="0xD764" />
|
||||
<Limb Name="object_link_boy_Lodlimb_00D774" Type="LOD" EnumName="OBJECT_LINK_BOY_LIMB_0B" Offset="0xD774" />
|
||||
<Limb Name="object_link_boy_Lodlimb_00D784" Type="LOD" EnumName="OBJECT_LINK_BOY_LIMB_0C" Offset="0xD784" />
|
||||
<Limb Name="object_link_boy_Lodlimb_00D794" Type="LOD" EnumName="OBJECT_LINK_BOY_LIMB_0D" Offset="0xD794" />
|
||||
<Limb Name="object_link_boy_Lodlimb_00D7A4" Type="LOD" EnumName="OBJECT_LINK_BOY_LIMB_0E" Offset="0xD7A4" />
|
||||
<Limb Name="object_link_boy_Lodlimb_00D7B4" Type="LOD" EnumName="OBJECT_LINK_BOY_LIMB_0F" Offset="0xD7B4" />
|
||||
<Limb Name="object_link_boy_Lodlimb_00D7C4" Type="LOD" EnumName="OBJECT_LINK_BOY_LIMB_10" Offset="0xD7C4" />
|
||||
<Limb Name="object_link_boy_Lodlimb_00D7D4" Type="LOD" EnumName="OBJECT_LINK_BOY_LIMB_11" Offset="0xD7D4" />
|
||||
<Limb Name="object_link_boy_Lodlimb_00D7E4" Type="LOD" EnumName="OBJECT_LINK_BOY_LIMB_12" Offset="0xD7E4" />
|
||||
<Limb Name="object_link_boy_Lodlimb_00D7F4" Type="LOD" EnumName="OBJECT_LINK_BOY_LIMB_13" Offset="0xD7F4" />
|
||||
<Limb Name="object_link_boy_Lodlimb_00D804" Type="LOD" EnumName="OBJECT_LINK_BOY_LIMB_14" Offset="0xD804" />
|
||||
<Limb Name="object_link_boy_Lodlimb_00D814" Type="LOD" EnumName="OBJECT_LINK_BOY_LIMB_15" Offset="0xD814" />
|
||||
<Skeleton Name="object_link_boy_Skel_00D878" Type="Flex" LimbType="Standard" LimbNone="OBJECT_LINK_BOY_LIMB_NONE" LimbMax="OBJECT_LINK_BOY_LIMB_MAX" EnumName="ObjectLinkBoyLimb" Offset="0xD878" />
|
||||
|
||||
<Limb Name="gLinkFierceDeityRootLimb" Type="LOD" EnumName="LINK_FIERCE_DEITY_LIMB_ROOT" Offset="0xD6D4" />
|
||||
<Limb Name="gLinkFierceDeityWaistLimb" Type="LOD" EnumName="LINK_FIERCE_DEITY_LIMB_WAIST" Offset="0xD6E4" />
|
||||
<Limb Name="gLinkFierceDeityLowerRootLimb" Type="LOD" EnumName="LINK_FIERCE_DEITY_LIMB_LOWER_ROOT" Offset="0xD6F4" />
|
||||
<Limb Name="gLinkFierceDeityRightThighLimb" Type="LOD" EnumName="LINK_FIERCE_DEITY_LIMB_RIGHT_THIGH" Offset="0xD704" />
|
||||
<Limb Name="gLinkFierceDeityRightShinLimb" Type="LOD" EnumName="LINK_FIERCE_DEITY_LIMB_RIGHT_SHIN" Offset="0xD714" />
|
||||
<Limb Name="gLinkFierceDeityRightFootLimb" Type="LOD" EnumName="LINK_FIERCE_DEITY_LIMB_RIGHT_FOOT" Offset="0xD724" />
|
||||
<Limb Name="gLinkFierceDeityLeftThighLimb" Type="LOD" EnumName="LINK_FIERCE_DEITY_LIMB_LEFT_THIGH" Offset="0xD734" />
|
||||
<Limb Name="gLinkFierceDeityLeftShinLimb" Type="LOD" EnumName="LINK_FIERCE_DEITY_LIMB_LEFT_SHIN" Offset="0xD744" />
|
||||
<Limb Name="gLinkFierceDeityLeftFootLimb" Type="LOD" EnumName="LINK_FIERCE_DEITY_LIMB_LEFT_FOOT" Offset="0xD754" />
|
||||
<Limb Name="gLinkFierceDeityUpperRootLimb" Type="LOD" EnumName="LINK_FIERCE_DEITY_LIMB_UPPER_ROOT" Offset="0xD764" />
|
||||
<Limb Name="gLinkFierceDeityHeadLimb" Type="LOD" EnumName="LINK_FIERCE_DEITY_LIMB_HEAD" Offset="0xD774" />
|
||||
<Limb Name="gLinkFierceDeityHatLimb" Type="LOD" EnumName="LINK_FIERCE_DEITY_LIMB_HAT" Offset="0xD784" />
|
||||
<Limb Name="gLinkFierceDeityCollarLimb" Type="LOD" EnumName="LINK_FIERCE_DEITY_LIMB_COLLAR" Offset="0xD794" />
|
||||
<Limb Name="gLinkFierceDeityLeftShoulderLimb" Type="LOD" EnumName="LINK_FIERCE_DEITY_LIMB_LEFT_SHOULDER" Offset="0xD7A4" />
|
||||
<Limb Name="gLinkFierceDeityLeftForearmLimb" Type="LOD" EnumName="LINK_FIERCE_DEITY_LIMB_LEFT_FOREARM" Offset="0xD7B4" />
|
||||
<Limb Name="gLinkFierceDeityLeftHandLimb" Type="LOD" EnumName="LINK_FIERCE_DEITY_LIMB_LEFT_HAND" Offset="0xD7C4" />
|
||||
<Limb Name="gLinkFierceDeityRightShoulderLimb" Type="LOD" EnumName="LINK_FIERCE_DEITY_LIMB_RIGHT_SHOULDER" Offset="0xD7D4" />
|
||||
<Limb Name="gLinkFierceDeityRightForearmLimb" Type="LOD" EnumName="LINK_FIERCE_DEITY_LIMB_RIGHT_FOREARM" Offset="0xD7E4" />
|
||||
<Limb Name="gLinkFierceDeityRightHandLimb" Type="LOD" EnumName="LINK_FIERCE_DEITY_LIMB_RIGHT_HAND" Offset="0xD7F4" />
|
||||
<Limb Name="gLinkFierceDeitySheathLimb" Type="LOD" EnumName="LINK_FIERCE_DEITY_LIMB_SHEATH" Offset="0xD804" />
|
||||
<Limb Name="gLinkFierceDeityTorsoLimb" Type="LOD" EnumName="LINK_FIERCE_DEITY_LIMB_TORSO" Offset="0xD814" />
|
||||
<Skeleton Name="gLinkFierceDeitySkel" Type="Flex" LimbType="LOD" LimbNone="LINK_FIERCE_DEITY_LIMB_NONE" LimbMax="LINK_FIERCE_DEITY_LIMB_MAX" EnumName="LinkFierceDeityLimb" Offset="0xD878" />
|
||||
</File>
|
||||
</Root>
|
||||
|
||||
@@ -1,25 +1,28 @@
|
||||
<Root>
|
||||
<File Name="object_link_child" Segment="6">
|
||||
<Texture Name="object_link_child_Tex_000000" OutName="tex_000000" Format="ci8" Width="64" Height="32" Offset="0x0" TlutOffset="0x5000" />
|
||||
<Texture Name="object_link_child_Tex_000800" OutName="tex_000800" Format="ci8" Width="64" Height="32" Offset="0x800" TlutOffset="0x5000" />
|
||||
<Texture Name="object_link_child_Tex_001000" OutName="tex_001000" Format="ci8" Width="64" Height="32" Offset="0x1000" TlutOffset="0x5000" />
|
||||
<Texture Name="object_link_child_Tex_001800" OutName="tex_001800" Format="ci8" Width="64" Height="32" Offset="0x1800" TlutOffset="0x5000" />
|
||||
<Texture Name="object_link_child_Tex_002000" OutName="tex_002000" Format="ci8" Width="64" Height="32" Offset="0x2000" TlutOffset="0x5000" />
|
||||
<Texture Name="object_link_child_Tex_002800" OutName="tex_002800" Format="ci8" Width="64" Height="32" Offset="0x2800" TlutOffset="0x5000" />
|
||||
<Texture Name="object_link_child_Tex_003000" OutName="tex_003000" Format="ci8" Width="64" Height="32" Offset="0x3000" TlutOffset="0x5000" />
|
||||
<Texture Name="gLinkHumanEyesOpenTex" OutName="eyes_open" Format="ci8" Width="64" Height="32" Offset="0x0" TlutOffset="0x5000" />
|
||||
<Texture Name="gLinkHumanEyesHalfTex" OutName="eyes_half" Format="ci8" Width="64" Height="32" Offset="0x800" TlutOffset="0x5000" />
|
||||
<Texture Name="gLinkHumanEyesClosedTex" OutName="eyes_closed" Format="ci8" Width="64" Height="32" Offset="0x1000" TlutOffset="0x5000" />
|
||||
<Texture Name="gLinkHumanEyesRollRightTex" OutName="eyes_roll_right" Format="ci8" Width="64" Height="32" Offset="0x1800" TlutOffset="0x5000" />
|
||||
<Texture Name="gLinkHumanEyesRollLeftTex" OutName="eyes_roll_left" Format="ci8" Width="64" Height="32" Offset="0x2000" TlutOffset="0x5000" />
|
||||
<Texture Name="gLinkHumanEyesRollUpTex" OutName="eyes_roll_up" Format="ci8" Width="64" Height="32" Offset="0x2800" TlutOffset="0x5000" />
|
||||
<Texture Name="gLinkHumanEyesRollDownTex" OutName="eyes_roll_down" Format="ci8" Width="64" Height="32" Offset="0x3000" TlutOffset="0x5000" />
|
||||
<Texture Name="object_link_child_Tex_003800" OutName="tex_003800" Format="ci8" Width="64" Height="32" Offset="0x3800" TlutOffset="0x5000" />
|
||||
<Texture Name="object_link_child_Tex_004000" OutName="tex_004000" Format="ci8" Width="32" Height="32" Offset="0x4000" TlutOffset="0x5200" />
|
||||
<Texture Name="object_link_child_Tex_004400" OutName="tex_004400" Format="ci8" Width="32" Height="32" Offset="0x4400" TlutOffset="0x5200" />
|
||||
<Texture Name="object_link_child_Tex_004800" OutName="tex_004800" Format="ci8" Width="32" Height="32" Offset="0x4800" TlutOffset="0x5200" />
|
||||
<Texture Name="object_link_child_Tex_004C00" OutName="tex_004C00" Format="ci8" Width="32" Height="32" Offset="0x4C00" TlutOffset="0x5200" />
|
||||
<Texture Name="object_link_child_TLUT_005000" OutName="tlut_005000" Format="rgba16" Width="16" Height="16" Offset="0x5000" />
|
||||
<Texture Name="object_link_child_Tex_005200" OutName="tex_005200" Format="rgba16" Width="16" Height="16" Offset="0x5200" />
|
||||
|
||||
<Texture Name="gLinkHumanMouthClosedTex" OutName="mouth_closed" Format="ci8" Width="32" Height="32" Offset="0x4000" TlutOffset="0x5200" />
|
||||
<Texture Name="gLinkHumanMouthTeethTex" OutName="mouth_teeth" Format="ci8" Width="32" Height="32" Offset="0x4400" TlutOffset="0x5200" />
|
||||
<Texture Name="gLinkHumanMouthAngryTex" OutName="mouth_angry" Format="ci8" Width="32" Height="32" Offset="0x4800" TlutOffset="0x5200" />
|
||||
<Texture Name="gLinkHumanMouthHappyTex" OutName="mouth_happy" Format="ci8" Width="32" Height="32" Offset="0x4C00" TlutOffset="0x5200" />
|
||||
|
||||
<Texture Name="gLinkHumanSkinTLUT" OutName="skin_tlut" Format="rgba16" Width="16" Height="16" Offset="0x5000" />
|
||||
<Texture Name="gLinkHumanMouthTLUT" OutName="mouth_tlut" Format="rgba16" Width="16" Height="16" Offset="0x5200" />
|
||||
|
||||
<Texture Name="object_link_child_Tex_005400" OutName="tex_005400" Format="rgba16" Width="8" Height="16" Offset="0x5400" />
|
||||
<Texture Name="object_link_child_Tex_005500" OutName="tex_005500" Format="ci8" Width="8" Height="8" Offset="0x5500" />
|
||||
<Texture Name="object_link_child_Tex_005540" OutName="tex_005540" Format="ci8" Width="16" Height="16" Offset="0x5540" />
|
||||
<Texture Name="object_link_child_Tex_005640" OutName="tex_005640" Format="ci8" Width="16" Height="16" Offset="0x5640" />
|
||||
<Texture Name="object_link_child_Tex_005740" OutName="tex_005740" Format="rgba16" Width="32" Height="16" Offset="0x5740" />
|
||||
<Texture Name="object_link_child_Tex_005B40" OutName="tex_005B40" Format="rgba16" Width="8" Height="16" Offset="0x5B40" />
|
||||
<Texture Name="gLinkHumanEarTex" OutName="ear" Format="ci8" Width="16" Height="16" Offset="0x5640" />
|
||||
<Texture Name="gLinkHumanBeltClaspTex" OutName="belt_clasp" Format="rgba16" Width="32" Height="16" Offset="0x5740" />
|
||||
<Texture Name="gLinkHumanBeltTex" OutName="belt" Format="rgba16" Width="8" Height="16" Offset="0x5B40" />
|
||||
<Texture Name="object_link_child_Tex_005C40" OutName="tex_005C40" Format="i8" Width="16" Height="16" Offset="0x5C40" />
|
||||
<Texture Name="object_link_child_Tex_005D40" OutName="tex_005D40" Format="i8" Width="8" Height="8" Offset="0x5D40" />
|
||||
<Texture Name="object_link_child_Tex_005D80" OutName="tex_005D80" Format="i8" Width="8" Height="16" Offset="0x5D80" />
|
||||
@@ -29,37 +32,44 @@
|
||||
<Texture Name="object_link_child_Tex_006B00" OutName="tex_006B00" Format="rgba16" Width="16" Height="16" Offset="0x6B00" />
|
||||
<!-- <Blob Name="object_link_child_Blob_006D00" Size="0xA00" Offset="0x6D00" /> -->
|
||||
<Texture Name="object_link_child_Tex_007700" OutName="tex_007700" Format="rgba16" Width="16" Height="16" Offset="0x7700" />
|
||||
<DList Name="object_link_child_DL_00B360" Offset="0xB360" />
|
||||
<DList Name="object_link_child_DL_00B538" Offset="0xB538" />
|
||||
<DList Name="object_link_child_DL_00B778" Offset="0xB778" />
|
||||
<DList Name="object_link_child_DL_00B888" Offset="0xB888" />
|
||||
<DList Name="object_link_child_DL_00BA60" Offset="0xBA60" />
|
||||
<DList Name="object_link_child_DL_00BCA0" Offset="0xBCA0" />
|
||||
<DList Name="object_link_child_DL_00BDB0" Offset="0xBDB0" />
|
||||
<DList Name="object_link_child_DL_00BF88" Offset="0xBF88" />
|
||||
<DList Name="object_link_child_DL_00C048" Offset="0xC048" />
|
||||
<DList Name="object_link_child_DL_00C3E8" Offset="0xC3E8" />
|
||||
<DList Name="object_link_child_DL_00CAA8" Offset="0xCAA8" />
|
||||
<DList Name="object_link_child_DL_00CBC8" Offset="0xCBC8" />
|
||||
<DList Name="object_link_child_DL_00CCE0" Offset="0xCCE0" />
|
||||
<DList Name="object_link_child_DL_00CF08" Offset="0xCF08" />
|
||||
<DList Name="object_link_child_DL_00D058" Offset="0xD058" />
|
||||
<DList Name="object_link_child_DL_00D1B0" Offset="0xD1B0" />
|
||||
<DList Name="object_link_child_DL_00D3D8" Offset="0xD3D8" />
|
||||
<DList Name="object_link_child_DL_00D528" Offset="0xD528" />
|
||||
<Texture Name="object_link_child_Tex_00D680" OutName="tex_00D680" Format="rgba16" Width="32" Height="16" Offset="0xD680" />
|
||||
|
||||
<DList Name="gLinkHumanRightThighDL" Offset="0xB360" />
|
||||
<DList Name="gLinkHumanRightShinDL" Offset="0xB538" />
|
||||
<DList Name="gLinkHumanRightFootDL" Offset="0xB778" />
|
||||
<DList Name="gLinkHumanLeftThighDL" Offset="0xB888" />
|
||||
<DList Name="gLinkHumanLeftShinDL" Offset="0xBA60" />
|
||||
<DList Name="gLinkHumanLeftFootDL" Offset="0xBCA0" />
|
||||
<DList Name="gLinkHumanWaistDL" Offset="0xBDB0" />
|
||||
<DList Name="gLinkHumanCollarDL" Offset="0xBF88" />
|
||||
<DList Name="gLinkHumanTorsoDL" Offset="0xC048" />
|
||||
<DList Name="gLinkHumanHeadDL" Offset="0xC3E8" />
|
||||
<DList Name="gLinkHumanHatDL" Offset="0xCAA8" />
|
||||
<!-- Unused sword in scabbard -->
|
||||
<DList Name="gLinkHumanSwordScabbardDL" Offset="0xCBC8" />
|
||||
<DList Name="gLinkHumanRightShoulderDL" Offset="0xCCE0" />
|
||||
<DList Name="gLinkHumanRightForearmDL" Offset="0xCF08" />
|
||||
<DList Name="gLinkHumanRightHandOpenDL" Offset="0xD058" />
|
||||
<DList Name="gLinkHumanLeftShoulderDL" Offset="0xD1B0" />
|
||||
<DList Name="gLinkHumanLeftForearmDL" Offset="0xD3D8" />
|
||||
<DList Name="gLinkHumanLeftHandOpenDL" Offset="0xD528" />
|
||||
|
||||
<Texture Name="gLinkHumanOcarinaTex" OutName="ocarina" Format="rgba16" Width="32" Height="16" Offset="0xD680" />
|
||||
<!-- <Blob Name="object_link_child_Blob_00DA80" Size="0x88" Offset="0xDA80" /> -->
|
||||
<Texture Name="object_link_child_Tex_00DB08" OutName="tex_00DB08" Format="ci8" Width="16" Height="16" Offset="0xDB08" />
|
||||
|
||||
<!-- <Blob Name="object_link_child_Blob_00DC08" Size="0x360" Offset="0xDC08" /> -->
|
||||
<DList Name="object_link_child_DL_00E1C8" Offset="0xE1C8" />
|
||||
<DList Name="gLinkHumanLeftHandClosedDL" Offset="0xE1C8" />
|
||||
<!-- <Blob Name="object_link_child_Blob_00E2E8" Size="0x1F0" Offset="0xE2E8" /> -->
|
||||
<DList Name="object_link_child_DL_00E738" Offset="0xE738" />
|
||||
<DList Name="object_link_child_DL_00ED18" Offset="0xED18" />
|
||||
<DList Name="gLinkHumanRightHandClosedDL" Offset="0xE738" />
|
||||
|
||||
<DList Name="gLinkHumanRightHandHoldingOcarinaDL" Offset="0xED18" />
|
||||
<DList Name="object_link_child_DL_00F1D8" Offset="0xF1D8" />
|
||||
<DList Name="object_link_child_DL_00F548" Offset="0xF548" />
|
||||
<DList Name="object_link_child_DL_00F998" Offset="0xF998" />
|
||||
<DList Name="object_link_child_DL_00FD08" Offset="0xFD08" />
|
||||
<!-- Duplicated of gLinkHumanRightHandHoldingOcarinaDL -->
|
||||
<DList Name="object_link_child_DL_0102E8" Offset="0x102E8" />
|
||||
|
||||
<DList Name="object_link_child_DL_015F98" Offset="0x15F98" />
|
||||
<DList Name="object_link_child_DL_016048" Offset="0x16048" />
|
||||
<DList Name="object_link_child_DL_016058" Offset="0x16058" />
|
||||
@@ -67,49 +77,51 @@
|
||||
<DList Name="object_link_child_DL_016270" Offset="0x16270" />
|
||||
<DList Name="object_link_child_DL_016320" Offset="0x16320" />
|
||||
<DList Name="object_link_child_DL_0163D0" Offset="0x163D0" />
|
||||
<DList Name="object_link_child_DL_016480" Offset="0x16480" />
|
||||
<DList Name="gLinkHumanMirrorShieldDL" Offset="0x16480" />
|
||||
|
||||
<DList Name="object_link_child_DL_0164B8" Offset="0x164B8" />
|
||||
<DList Name="object_link_child_DL_016608" Offset="0x16608" />
|
||||
<DList Name="object_link_child_DL_0166F8" Offset="0x166F8" />
|
||||
<DList Name="object_link_child_DL_0167D0" Offset="0x167D0" />
|
||||
<DList Name="object_link_child_DL_016898" Offset="0x16898" />
|
||||
<DList Name="gLinkHumanGreatFairysSwordDL" Offset="0x16898" />
|
||||
<DList Name="object_link_child_DL_0168C0" Offset="0x168C0" />
|
||||
<DList Name="object_link_child_DL_016950" Offset="0x16950" />
|
||||
<DList Name="object_link_child_DL_0169E0" Offset="0x169E0" />
|
||||
<DList Name="object_link_child_DL_016B80" Offset="0x16B80" />
|
||||
<DList Name="gLinkHumanGildedSwordSheathDL" Offset="0x16B80" />
|
||||
<DList Name="object_link_child_DL_016BA0" Offset="0x16BA0" />
|
||||
<DList Name="object_link_child_DL_016C88" Offset="0x16C88" />
|
||||
<DList Name="object_link_child_DL_016D58" Offset="0x16D58" />
|
||||
<DList Name="object_link_child_DL_016E10" Offset="0x16E10" />
|
||||
<DList Name="object_link_child_DL_016F38" Offset="0x16F38" />
|
||||
<DList Name="object_link_child_DL_016FC8" Offset="0x16FC8" />
|
||||
<DList Name="object_link_child_DL_017058" Offset="0x17058" />
|
||||
<DList Name="gLinkHumanGildedSwordHandleDL" Offset="0x17058" />
|
||||
<DList Name="object_link_child_DL_017090" Offset="0x17090" />
|
||||
<DList Name="object_link_child_DL_017130" Offset="0x17130" />
|
||||
<DList Name="object_link_child_DL_0171D0" Offset="0x171D0" />
|
||||
<DList Name="object_link_child_DL_017270" Offset="0x17270" />
|
||||
<DList Name="object_link_child_DL_017310" Offset="0x17310" />
|
||||
<DList Name="object_link_child_DL_017338" Offset="0x17338" />
|
||||
<DList Name="object_link_child_DL_017458" Offset="0x17458" />
|
||||
<DList Name="object_link_child_DL_017700" Offset="0x17700" />
|
||||
<DList Name="gLinkHumanGildedSwordBladeDL" Offset="0x17310" />
|
||||
<DList Name="gLinkHumanRazorSwordSheathDL" Offset="0x17338" />
|
||||
<DList Name="gLinkHumanHylianShieldDL" Offset="0x17458" />
|
||||
<DList Name="gLinkHumanKokiriSwordSheathDL" Offset="0x17700" />
|
||||
<DList Name="object_link_child_DL_017818" Offset="0x17818" />
|
||||
<DList Name="object_link_child_DL_017858" Offset="0x17858" />
|
||||
<DList Name="gLinkHumanHookshotDL" Offset="0x17858" />
|
||||
<DList Name="object_link_child_DL_017B40" Offset="0x17B40" />
|
||||
<DList Name="object_link_child_DL_0181C8" Offset="0x181C8" />
|
||||
<DList Name="gLinkHumanBowDL" Offset="0x181C8" />
|
||||
<DList Name="object_link_child_DL_018490" Offset="0x18490" />
|
||||
|
||||
<Texture Name="object_link_child_TLUT_018A40" OutName="tlut_018A40" Format="rgba16" Width="16" Height="16" Offset="0x18A40" />
|
||||
<Texture Name="object_link_child_TLUT_018C40" OutName="tlut_018C40" Format="rgba16" Width="16" Height="16" Offset="0x18C40" />
|
||||
<Texture Name="object_link_child_TLUT_018E40" OutName="tlut_018E40" Format="rgba16" Width="16" Height="16" Offset="0x18E40" />
|
||||
<Texture Name="object_link_child_TLUT_019040" OutName="tlut_019040" Format="rgba16" Width="16" Height="16" Offset="0x19040" />
|
||||
<Texture Name="gLinkHumanHylianShieldFrontTLUT" OutName="hylian_shield_front_tlut" Format="rgba16" Width="16" Height="16" Offset="0x18C40" />
|
||||
<Texture Name="gLinkHumanHylianShieldBackTLUT" OutName="hylian_shield_back_tlut" Format="rgba16" Width="16" Height="16" Offset="0x18E40" />
|
||||
<Texture Name="gLinkHumanShieldHandleTLUT" OutName="shield_handle_tlut" Format="rgba16" Width="16" Height="16" Offset="0x19040" />
|
||||
<Texture Name="object_link_child_Tex_019240" OutName="tex_019240" Format="ci8" Width="8" Height="8" Offset="0x19240" />
|
||||
<Texture Name="object_link_child_Tex_019280" OutName="tex_019280" Format="ci8" Width="64" Height="32" Offset="0x19280" />
|
||||
<Texture Name="gLinkHumanHylianShieldFrontUpperTex" OutName="hylian_shield_front_upper" Format="ci8" Width="64" Height="32" Offset="0x19280" TlutOffset="0x18C40" />
|
||||
<Texture Name="object_link_child_Tex_019A80" OutName="tex_019A80" Format="ci8" Width="32" Height="64" Offset="0x19A80" />
|
||||
<Texture Name="object_link_child_Tex_01A280" OutName="tex_01A280" Format="ci8" Width="16" Height="16" Offset="0x1A280" />
|
||||
<Texture Name="object_link_child_Tex_01A380" OutName="tex_01A380" Format="rgba16" Width="64" Height="32" Offset="0x1A380" />
|
||||
<Texture Name="object_link_child_Tex_01B380" OutName="tex_01B380" Format="ci8" Width="16" Height="16" Offset="0x1B380" />
|
||||
<Texture Name="object_link_child_Tex_01B480" OutName="tex_01B480" Format="ci8" Width="64" Height="32" Offset="0x1B480" />
|
||||
<Texture Name="object_link_child_Tex_01BC80" OutName="tex_01BC80" Format="ci8" Width="16" Height="32" Offset="0x1BC80" />
|
||||
<Texture Name="object_link_child_Tex_01BE80" OutName="tex_01BE80" Format="ci8" Width="8" Height="16" Offset="0x1BE80" />
|
||||
<Texture Name="gLinkHumanHylianShieldFrontLowerTex" OutName="hylian_shield_front_lower" Format="ci8" Width="64" Height="32" Offset="0x1B480" TlutOffset="0x18C40" />
|
||||
<Texture Name="gLinkHumanHylianShieldBackTex" OutName="hylian_shield_back" Format="ci8" Width="16" Height="32" Offset="0x1BC80" TlutOffset="0x18E40" />
|
||||
<Texture Name="gLinkHumanShieldHandleTex" OutName="shield_handle" Format="ci8" Width="8" Height="16" Offset="0x1BE80" TlutOffset="0x19040" />
|
||||
<Texture Name="object_link_child_Tex_01BF00" OutName="tex_01BF00" Format="rgba16" Width="8" Height="8" Offset="0x1BF00" />
|
||||
<Texture Name="object_link_child_Tex_01BF80" OutName="tex_01BF80" Format="rgba16" Width="16" Height="16" Offset="0x1BF80" />
|
||||
<Texture Name="object_link_child_Tex_01C180" OutName="tex_01C180" Format="rgba16" Width="16" Height="16" Offset="0x1C180" />
|
||||
@@ -122,35 +134,60 @@
|
||||
<Texture Name="object_link_child_Tex_01D340" OutName="tex_01D340" Format="i8" Width="16" Height="16" Offset="0x1D340" />
|
||||
<Texture Name="object_link_child_Tex_01D440" OutName="tex_01D440" Format="i8" Width="32" Height="32" Offset="0x1D440" />
|
||||
<DList Name="object_link_child_DL_01D960" Offset="0x1D960" />
|
||||
<DList Name="object_link_child_DL_01DA90" Offset="0x1DA90" />
|
||||
<Mtx Name="object_link_child_Mtx_01DA98" Offset="0x1DA98" />
|
||||
<DList Name="object_link_child_DL_01DAD8" Offset="0x1DAD8" />
|
||||
<Mtx Name="object_link_child_Mtx_01DB00" Offset="0x1DB00" />
|
||||
<DList Name="object_link_child_DL_01DB40" Offset="0x1DB40" />
|
||||
<DList Name="object_link_child_DL_01DB60" Offset="0x1DB60" />
|
||||
<!-- <Blob Name="object_link_child_Blob_01DB88" Size="0x1B0" Offset="0x1DB88" /> -->
|
||||
<DList Name="object_link_child_DL_01DFA8" Offset="0x1DFA8" />
|
||||
<Limb Name="object_link_child_Lodlimb_01E0A0" Type="LOD" EnumName="OBJECT_LINK_CHILD_LIMB_01" Offset="0x1E0A0" />
|
||||
<Limb Name="object_link_child_Lodlimb_01E0B0" Type="LOD" EnumName="OBJECT_LINK_CHILD_LIMB_02" Offset="0x1E0B0" />
|
||||
<Limb Name="object_link_child_Lodlimb_01E0C0" Type="LOD" EnumName="OBJECT_LINK_CHILD_LIMB_03" Offset="0x1E0C0" />
|
||||
<Limb Name="object_link_child_Lodlimb_01E0D0" Type="LOD" EnumName="OBJECT_LINK_CHILD_LIMB_04" Offset="0x1E0D0" />
|
||||
<Limb Name="object_link_child_Lodlimb_01E0E0" Type="LOD" EnumName="OBJECT_LINK_CHILD_LIMB_05" Offset="0x1E0E0" />
|
||||
<Limb Name="object_link_child_Lodlimb_01E0F0" Type="LOD" EnumName="OBJECT_LINK_CHILD_LIMB_06" Offset="0x1E0F0" />
|
||||
<Limb Name="object_link_child_Lodlimb_01E100" Type="LOD" EnumName="OBJECT_LINK_CHILD_LIMB_07" Offset="0x1E100" />
|
||||
<Limb Name="object_link_child_Lodlimb_01E110" Type="LOD" EnumName="OBJECT_LINK_CHILD_LIMB_08" Offset="0x1E110" />
|
||||
<Limb Name="object_link_child_Lodlimb_01E120" Type="LOD" EnumName="OBJECT_LINK_CHILD_LIMB_09" Offset="0x1E120" />
|
||||
<Limb Name="object_link_child_Lodlimb_01E130" Type="LOD" EnumName="OBJECT_LINK_CHILD_LIMB_0A" Offset="0x1E130" />
|
||||
<Limb Name="object_link_child_Lodlimb_01E140" Type="LOD" EnumName="OBJECT_LINK_CHILD_LIMB_0B" Offset="0x1E140" />
|
||||
<Limb Name="object_link_child_Lodlimb_01E150" Type="LOD" EnumName="OBJECT_LINK_CHILD_LIMB_0C" Offset="0x1E150" />
|
||||
<Limb Name="object_link_child_Lodlimb_01E160" Type="LOD" EnumName="OBJECT_LINK_CHILD_LIMB_0D" Offset="0x1E160" />
|
||||
<Limb Name="object_link_child_Lodlimb_01E170" Type="LOD" EnumName="OBJECT_LINK_CHILD_LIMB_0E" Offset="0x1E170" />
|
||||
<Limb Name="object_link_child_Lodlimb_01E180" Type="LOD" EnumName="OBJECT_LINK_CHILD_LIMB_0F" Offset="0x1E180" />
|
||||
<Limb Name="object_link_child_Lodlimb_01E190" Type="LOD" EnumName="OBJECT_LINK_CHILD_LIMB_10" Offset="0x1E190" />
|
||||
<Limb Name="object_link_child_Lodlimb_01E1A0" Type="LOD" EnumName="OBJECT_LINK_CHILD_LIMB_11" Offset="0x1E1A0" />
|
||||
<Limb Name="object_link_child_Lodlimb_01E1B0" Type="LOD" EnumName="OBJECT_LINK_CHILD_LIMB_12" Offset="0x1E1B0" />
|
||||
<Limb Name="object_link_child_Lodlimb_01E1C0" Type="LOD" EnumName="OBJECT_LINK_CHILD_LIMB_13" Offset="0x1E1C0" />
|
||||
<Limb Name="object_link_child_Lodlimb_01E1D0" Type="LOD" EnumName="OBJECT_LINK_CHILD_LIMB_14" Offset="0x1E1D0" />
|
||||
<Limb Name="object_link_child_Lodlimb_01E1E0" Type="LOD" EnumName="OBJECT_LINK_CHILD_LIMB_15" Offset="0x1E1E0" />
|
||||
<Skeleton Name="object_link_child_Skel_01E244" Type="Flex" LimbType="Standard" LimbNone="OBJECT_LINK_CHILD_LIMB_NONE" LimbMax="OBJECT_LINK_CHILD_LIMB_MAX" EnumName="ObjectLinkChildLimb" Offset="0x1E244" />
|
||||
|
||||
<DList Name="gLinkHumanSheathEmptyDL" Offset="0x1DA90" />
|
||||
|
||||
<Mtx Name="gLinkHumanSheathedKokiriSwordMtx" Offset="0x1DA98" />
|
||||
<DList Name="gLinkHumanSheathedKokiriSwordDL" Offset="0x1DAD8" />
|
||||
|
||||
<Mtx Name="gLinkHumanSheathedRazorSwordMtx" Offset="0x1DB00" />
|
||||
<DList Name="gLinkHumanSheathedRazorSwordDL" Offset="0x1DB40" />
|
||||
<DList Name="gLinkHumanSheathedGildedSwordDL" Offset="0x1DB60" />
|
||||
<Mtx Name="gLinkHumanHylianShieldMtx" Offset="0x1DB88" />
|
||||
<DList Name="gLinkHumanHylianShieldWithMtxDL" Offset="0x1DBC8" />
|
||||
<Mtx Name="gLinkHumanMirrorShieldMtx" Offset="0x1DBD8" />
|
||||
<DList Name="gLinkHumanMirrorShieldWithMtxDL" Offset="0x1DC18" />
|
||||
|
||||
<DList Name="gLinkHumanRightHandHoldingHylianShieldDL" Offset="0x1DC28" />
|
||||
<DList Name="object_link_child_DL_01DC38" Offset="0x1DC38" />
|
||||
<DList Name="gLinkHumanRightHandHoldingMirrorShieldDL" Offset="0x1DC48" />
|
||||
<DList Name="object_link_child_DL_01DC58" Offset="0x1DC58" />
|
||||
<DList Name="gLinkHumanLeftHandHoldingKokiriSwordDL" Offset="0x1DC68" />
|
||||
<DList Name="object_link_child_DL_01DC78" Offset="0x1DC78" />
|
||||
<DList Name="gLinkHumanLeftHandHoldingRazorSwordDL" Offset="0x1DC88" />
|
||||
<DList Name="object_link_child_DL_01DC98" Offset="0x1DC98" />
|
||||
<DList Name="gLinkHumanLeftHandHoldingGildedSwordDL" Offset="0x1DCA8" />
|
||||
<DList Name="object_link_child_DL_01DCC0" Offset="0x1DCC0" />
|
||||
<DList Name="gLinkHumanLeftHandHoldingGreatFairysSwordDL" Offset="0x1DCD8" />
|
||||
<DList Name="object_link_child_DL_01DCE8" Offset="0x1DCE8" />
|
||||
<DList Name="gLinkHumanRightHandHoldingHookshotDL" Offset="0x1DCF8" />
|
||||
<DList Name="object_link_child_DL_01DD08" Offset="0x1DD08" />
|
||||
<DList Name="gLinkHumanRightHandHoldingBowDL" Offset="0x1DD18" />
|
||||
<DList Name="object_link_child_DL_01DD28" Offset="0x1DD28" />
|
||||
|
||||
<DList Name="gLinkHumanLeftHandHoldBottleDL" Offset="0x1DFA8" />
|
||||
|
||||
<Limb Name="gLinkHumanRootLimb" Type="LOD" EnumName="LINK_HUMAN_LIMB_ROOT" Offset="0x1E0A0" />
|
||||
<Limb Name="gLinkHumanWaistLimb" Type="LOD" EnumName="LINK_HUMAN_LIMB_WAIST" Offset="0x1E0B0" />
|
||||
<Limb Name="gLinkHumanLowerRootLimb" Type="LOD" EnumName="LINK_HUMAN_LIMB_LOWER_ROOT" Offset="0x1E0C0" />
|
||||
<Limb Name="gLinkHumanRightThighLimb" Type="LOD" EnumName="LINK_HUMAN_LIMB_RIGHT_THIGH" Offset="0x1E0D0" />
|
||||
<Limb Name="gLinkHumanRightShinLimb" Type="LOD" EnumName="LINK_HUMAN_LIMB_RIGHT_SHIN" Offset="0x1E0E0" />
|
||||
<Limb Name="gLinkHumanRightFootLimb" Type="LOD" EnumName="LINK_HUMAN_LIMB_RIGHT_FOOT" Offset="0x1E0F0" />
|
||||
<Limb Name="gLinkHumanLeftThighLimb" Type="LOD" EnumName="LINK_HUMAN_LIMB_LEFT_THIGH" Offset="0x1E100" />
|
||||
<Limb Name="gLinkHumanLeftShinLimb" Type="LOD" EnumName="LINK_HUMAN_LIMB_LEFT_SHIN" Offset="0x1E110" />
|
||||
<Limb Name="gLinkHumanLeftFootLimb" Type="LOD" EnumName="LINK_HUMAN_LIMB_LEFT_FOOT" Offset="0x1E120" />
|
||||
<Limb Name="gLinkHumanUpperRootLimb" Type="LOD" EnumName="LINK_HUMAN_LIMB_UPPER_ROOT" Offset="0x1E130" />
|
||||
<Limb Name="gLinkHumanHeadLimb" Type="LOD" EnumName="LINK_HUMAN_LIMB_HEAD" Offset="0x1E140" />
|
||||
<Limb Name="gLinkHumanHatLimb" Type="LOD" EnumName="LINK_HUMAN_LIMB_HAT" Offset="0x1E150" />
|
||||
<Limb Name="gLinkHumanCollarLimb" Type="LOD" EnumName="LINK_HUMAN_LIMB_COLLAR" Offset="0x1E160" />
|
||||
<Limb Name="gLinkHumanLeftShoulderLimb" Type="LOD" EnumName="LINK_HUMAN_LIMB_LEFT_SHOULDER" Offset="0x1E170" />
|
||||
<Limb Name="gLinkHumanLeftForearmLimb" Type="LOD" EnumName="LINK_HUMAN_LIMB_LEFT_FOREARM" Offset="0x1E180" />
|
||||
<Limb Name="gLinkHumanLeftHandLimb" Type="LOD" EnumName="LINK_HUMAN_LIMB_LEFT_HAND" Offset="0x1E190" />
|
||||
<Limb Name="gLinkHumanRightShoulderLimb" Type="LOD" EnumName="LINK_HUMAN_LIMB_RIGHT_SHOULDER" Offset="0x1E1A0" />
|
||||
<Limb Name="gLinkHumanRightForearmLimb" Type="LOD" EnumName="LINK_HUMAN_LIMB_RIGHT_FOREARM" Offset="0x1E1B0" />
|
||||
<Limb Name="gLinkHumanRightHandLimb" Type="LOD" EnumName="LINK_HUMAN_LIMB_RIGHT_HAND" Offset="0x1E1C0" />
|
||||
<Limb Name="gLinkHumanSheathLimb" Type="LOD" EnumName="LINK_HUMAN_LIMB_SHEATH" Offset="0x1E1D0" />
|
||||
<Limb Name="gLinkHumanTorsoLimb" Type="LOD" EnumName="LINK_HUMAN_LIMB_TORSO" Offset="0x1E1E0" />
|
||||
<Skeleton Name="gLinkHumanSkel" Type="Flex" LimbType="LOD" LimbNone="LINK_HUMAN_LIMB_NONE" LimbMax="LINK_HUMAN_LIMB_MAX" EnumName="LinkHumanLimb" Offset="0x1E244" />
|
||||
</File>
|
||||
</Root>
|
||||
|
||||
@@ -1,8 +1,13 @@
|
||||
<Root>
|
||||
<File Name="object_link_goron" Segment="6">
|
||||
<!-- <Blob Name="object_link_goron_Blob_000000" Size="0x2000" Offset="0x0" /> -->
|
||||
<Texture Name="gLinkGoronEyesOpenTex" OutName="eyes_open" Format="ci8" Width="64" Height="32" Offset="0x0" TlutOffset="0x2200" />
|
||||
<Texture Name="gLinkGoronEyesHalfTex" OutName="eyes_half" Format="ci8" Width="64" Height="32" Offset="0x800" TlutOffset="0x2200" />
|
||||
<Texture Name="gLinkGoronEyesClosedTex" OutName="eyes_closed" Format="ci8" Width="64" Height="32" Offset="0x1000" TlutOffset="0x2200" />
|
||||
<Texture Name="gLinkGoronEyesSurprisedTex" OutName="eyes_surprised" Format="ci8" Width="64" Height="32" Offset="0x1800" TlutOffset="0x2200" />
|
||||
|
||||
<Texture Name="object_link_goron_TLUT_002000" OutName="tlut_002000" Format="rgba16" Width="16" Height="16" Offset="0x2000" />
|
||||
<Texture Name="object_link_goron_Tex_002200" OutName="tex_002200" Format="rgba16" Width="16" Height="16" Offset="0x2200" />
|
||||
<Texture Name="gLinkGoronSkinTLUT" OutName="skin_tlut" Format="rgba16" Width="16" Height="16" Offset="0x2200" />
|
||||
|
||||
<Texture Name="object_link_goron_Tex_002400" OutName="tex_002400" Format="rgba16" Width="8" Height="32" Offset="0x2400" />
|
||||
<Texture Name="object_link_goron_Tex_002600" OutName="tex_002600" Format="ci8" Width="16" Height="16" Offset="0x2600" />
|
||||
<Texture Name="object_link_goron_Tex_002700" OutName="tex_002700" Format="rgba16" Width="8" Height="8" Offset="0x2700" />
|
||||
@@ -17,26 +22,28 @@
|
||||
<Texture Name="object_link_goron_Tex_003E40" OutName="tex_003E40" Format="ci8" Width="32" Height="32" Offset="0x3E40" />
|
||||
<Texture Name="object_link_goron_Tex_004240" OutName="tex_004240" Format="ci8" Width="8" Height="32" Offset="0x4240" />
|
||||
<Texture Name="object_link_goron_Tex_004340" OutName="tex_004340" Format="i8" Width="8" Height="8" Offset="0x4340" />
|
||||
<DList Name="object_link_goron_DL_008140" Offset="0x8140" />
|
||||
<DList Name="object_link_goron_DL_008230" Offset="0x8230" />
|
||||
<DList Name="object_link_goron_DL_008500" Offset="0x8500" />
|
||||
<DList Name="object_link_goron_DL_0086A0" Offset="0x86A0" />
|
||||
<DList Name="object_link_goron_DL_008790" Offset="0x8790" />
|
||||
<DList Name="object_link_goron_DL_008A60" Offset="0x8A60" />
|
||||
<DList Name="object_link_goron_DL_008C00" Offset="0x8C00" />
|
||||
<DList Name="object_link_goron_DL_008C98" Offset="0x8C98" />
|
||||
<DList Name="object_link_goron_DL_008F18" Offset="0x8F18" />
|
||||
<DList Name="object_link_goron_DL_0091F0" Offset="0x91F0" />
|
||||
<DList Name="object_link_goron_DL_009898" Offset="0x9898" />
|
||||
<DList Name="object_link_goron_DL_0099D8" Offset="0x99D8" />
|
||||
<DList Name="object_link_goron_DL_009A98" Offset="0x9A98" />
|
||||
<DList Name="object_link_goron_DL_009C18" Offset="0x9C18" />
|
||||
<DList Name="object_link_goron_DL_009EF8" Offset="0x9EF8" />
|
||||
<DList Name="object_link_goron_DL_00A0A0" Offset="0xA0A0" />
|
||||
<DList Name="object_link_goron_DL_00A220" Offset="0xA220" />
|
||||
<DList Name="object_link_goron_DL_00A500" Offset="0xA500" />
|
||||
|
||||
<DList Name="gLinkGoronRightThighDL" Offset="0x8140" />
|
||||
<DList Name="gLinkGoronRightShinDL" Offset="0x8230" />
|
||||
<DList Name="gLinkGoronRightFootDL" Offset="0x8500" />
|
||||
<DList Name="gLinkGoronLeftThighDL" Offset="0x86A0" />
|
||||
<DList Name="gLinkGoronLeftShinDL" Offset="0x8790" />
|
||||
<DList Name="gLinkGoronLeftFootDL" Offset="0x8A60" />
|
||||
<DList Name="gLinkGoronWaistDL" Offset="0x8C00" />
|
||||
<DList Name="gLinkGoronCollarDL" Offset="0x8C98" />
|
||||
<DList Name="gLinkGoronTorsoDL" Offset="0x8F18" />
|
||||
<DList Name="gLinkGoronHeadDL" Offset="0x91F0" />
|
||||
<DList Name="gLinkGoronHatDL" Offset="0x9898" />
|
||||
<DList Name="gLinkGoronSheathDL" Offset="0x99D8" />
|
||||
<DList Name="gLinkGoronRightShoulderDL" Offset="0x9A98" />
|
||||
<DList Name="gLinkGoronRightForearmDL" Offset="0x9C18" />
|
||||
<DList Name="gLinkGoronRightHandOpenDL" Offset="0x9EF8" />
|
||||
<DList Name="gLinkGoronLeftShoulderDL" Offset="0xA0A0" />
|
||||
<DList Name="gLinkGoronLeftForearmDL" Offset="0xA220" />
|
||||
<DList Name="gLinkGoronLeftHandOpenDL" Offset="0xA500" />
|
||||
<DList Name="gLinkGoronCurledDL" Offset="0xBDD8" />
|
||||
<DList Name="object_link_goron_DL_00C540" Offset="0xC540" />
|
||||
|
||||
<Texture Name="object_link_goron_Tex_00C6B8" OutName="tex_00C6B8" Format="ci8" Width="32" Height="64" Offset="0xC6B8" />
|
||||
<Texture Name="object_link_goron_Tex_00CEB8" OutName="tex_00CEB8" Format="rgba16" Width="8" Height="16" Offset="0xCEB8" />
|
||||
<Texture Name="object_link_goron_Tex_00CFB8" OutName="tex_00CFB8" Format="ci8" Width="16" Height="16" Offset="0xCFB8" />
|
||||
@@ -45,9 +52,9 @@
|
||||
<Texture Name="object_link_goron_Tex_00D3B8" OutName="tex_00D3B8" Format="rgba16" Width="8" Height="16" Offset="0xD3B8" />
|
||||
<Texture Name="object_link_goron_Tex_00D4B8" OutName="tex_00D4B8" Format="rgba16" Width="16" Height="32" Offset="0xD4B8" />
|
||||
<Texture Name="object_link_goron_Tex_00D8B8" OutName="tex_00D8B8" Format="i8" Width="8" Height="8" Offset="0xD8B8" />
|
||||
<DList Name="object_link_goron_DL_00DE68" Offset="0xDE68" />
|
||||
<DList Name="gLinkGoronLeftHandClosedDL" Offset="0xDE68" />
|
||||
<Texture Name="object_link_goron_Tex_00E078" OutName="tex_00E078" Format="rgba16" Width="16" Height="16" Offset="0xE078" />
|
||||
<DList Name="object_link_goron_DL_00E7E8" Offset="0xE7E8" />
|
||||
<DList Name="gLinkGoronRightHandClosedDL" Offset="0xE7E8" />
|
||||
<DList Name="object_link_goron_DL_00FC18" Offset="0xFC18" />
|
||||
<DList Name="object_link_goron_DL_00FCF0" Offset="0xFCF0" />
|
||||
<DList Name="object_link_goron_DL_00FF18" Offset="0xFF18" />
|
||||
@@ -59,7 +66,7 @@
|
||||
<Texture Name="object_link_goron_Tex_010AB8" OutName="tex_010AB8" Format="ci8" Width="16" Height="8" Offset="0x10AB8" />
|
||||
<Texture Name="object_link_goron_Tex_010B38" OutName="tex_010B38" Format="ci8" Width="16" Height="16" Offset="0x10B38" />
|
||||
<Texture Name="object_link_goron_Tex_010C38" OutName="tex_010C38" Format="ci8" Width="32" Height="32" Offset="0x10C38" />
|
||||
<DList Name="object_link_goron_DL_011468" Offset="0x11468" />
|
||||
<DList Name="gLinkGoronLeftHandHoldBottleDL" Offset="0x11468" />
|
||||
<Texture Name="object_link_goron_Tex_011628" OutName="tex_011628" Format="ci8" Width="16" Height="16" Offset="0x11628" />
|
||||
<Texture Name="object_link_goron_Tex_011728" OutName="tex_011728" Format="rgba16" Width="8" Height="32" Offset="0x11728" />
|
||||
<DList Name="gLinkGoronGoronPunchEffectDL" Offset="0x11AB8" />
|
||||
@@ -76,33 +83,36 @@
|
||||
<DList Name="object_link_goron_DL_016A88" Offset="0x16A88" />
|
||||
<DList Name="object_link_goron_DL_017180" Offset="0x17180" />
|
||||
<DList Name="object_link_goron_DL_017620" Offset="0x17620" />
|
||||
<Limb Name="object_link_goron_Standardlimb_017778" Type="Standard" EnumName="OBJECT_LINK_GORON_1_LIMB_01" Offset="0x17778" />
|
||||
<Limb Name="object_link_goron_Standardlimb_017784" Type="Standard" EnumName="OBJECT_LINK_GORON_1_LIMB_02" Offset="0x17784" />
|
||||
<Limb Name="object_link_goron_Standardlimb_017790" Type="Standard" EnumName="OBJECT_LINK_GORON_1_LIMB_03" Offset="0x17790" />
|
||||
<Limb Name="object_link_goron_Standardlimb_01779C" Type="Standard" EnumName="OBJECT_LINK_GORON_1_LIMB_04" Offset="0x1779C" />
|
||||
<Skeleton Name="object_link_goron_Skel_0177B8" Type="Flex" LimbType="Standard" LimbNone="OBJECT_LINK_GORON_1_LIMB_NONE" LimbMax="OBJECT_LINK_GORON_1_LIMB_MAX" EnumName="ObjectLinkGoron1Limb" Offset="0x177B8" />
|
||||
|
||||
<Limb Name="gLinkGoronShieldingRootLimb" Type="Standard" EnumName="LINK_GORON_SHIELDING_LIMB_ROOT" Offset="0x17778" />
|
||||
<Limb Name="gLinkGoronShieldingBodyLimb" Type="Standard" EnumName="LINK_GORON_SHIELDING_LIMB_BODY" Offset="0x17784" />
|
||||
<Limb Name="gLinkGoronShieldingHeadLimb" Type="Standard" EnumName="LINK_GORON_SHIELDING_LIMB_HEAD" Offset="0x17790" />
|
||||
<Limb Name="gLinkGoronShieldingArmsAndLegsLimb" Type="Standard" EnumName="LINK_GORON_SHIELDING_LIMB_ARMS_AND_LEGS" Offset="0x1779C" />
|
||||
<Skeleton Name="gLinkGoronShieldingSkel" Type="Flex" LimbType="Standard" LimbNone="LINK_GORON_SHIELDING_LIMB_NONE" LimbMax="LINK_GORON_SHIELDING_LIMB_MAX" EnumName="LinkGoronShieldingLimb" Offset="0x177B8" />
|
||||
|
||||
<!-- <Blob Name="object_link_goron_Blob_0178D0" Size="0x10" Offset="0x178D0" /> -->
|
||||
<Limb Name="object_link_goron_Lodlimb_0178E0" Type="LOD" EnumName="OBJECT_LINK_GORON_2_LIMB_01" Offset="0x178E0" />
|
||||
<Limb Name="object_link_goron_Lodlimb_0178F0" Type="LOD" EnumName="OBJECT_LINK_GORON_2_LIMB_02" Offset="0x178F0" />
|
||||
<Limb Name="object_link_goron_Lodlimb_017900" Type="LOD" EnumName="OBJECT_LINK_GORON_2_LIMB_03" Offset="0x17900" />
|
||||
<Limb Name="object_link_goron_Lodlimb_017910" Type="LOD" EnumName="OBJECT_LINK_GORON_2_LIMB_04" Offset="0x17910" />
|
||||
<Limb Name="object_link_goron_Lodlimb_017920" Type="LOD" EnumName="OBJECT_LINK_GORON_2_LIMB_05" Offset="0x17920" />
|
||||
<Limb Name="object_link_goron_Lodlimb_017930" Type="LOD" EnumName="OBJECT_LINK_GORON_2_LIMB_06" Offset="0x17930" />
|
||||
<Limb Name="object_link_goron_Lodlimb_017940" Type="LOD" EnumName="OBJECT_LINK_GORON_2_LIMB_07" Offset="0x17940" />
|
||||
<Limb Name="object_link_goron_Lodlimb_017950" Type="LOD" EnumName="OBJECT_LINK_GORON_2_LIMB_08" Offset="0x17950" />
|
||||
<Limb Name="object_link_goron_Lodlimb_017960" Type="LOD" EnumName="OBJECT_LINK_GORON_2_LIMB_09" Offset="0x17960" />
|
||||
<Limb Name="object_link_goron_Lodlimb_017970" Type="LOD" EnumName="OBJECT_LINK_GORON_2_LIMB_0A" Offset="0x17970" />
|
||||
<Limb Name="object_link_goron_Lodlimb_017980" Type="LOD" EnumName="OBJECT_LINK_GORON_2_LIMB_0B" Offset="0x17980" />
|
||||
<Limb Name="object_link_goron_Lodlimb_017990" Type="LOD" EnumName="OBJECT_LINK_GORON_2_LIMB_0C" Offset="0x17990" />
|
||||
<Limb Name="object_link_goron_Lodlimb_0179A0" Type="LOD" EnumName="OBJECT_LINK_GORON_2_LIMB_0D" Offset="0x179A0" />
|
||||
<Limb Name="object_link_goron_Lodlimb_0179B0" Type="LOD" EnumName="OBJECT_LINK_GORON_2_LIMB_0E" Offset="0x179B0" />
|
||||
<Limb Name="object_link_goron_Lodlimb_0179C0" Type="LOD" EnumName="OBJECT_LINK_GORON_2_LIMB_0F" Offset="0x179C0" />
|
||||
<Limb Name="object_link_goron_Lodlimb_0179D0" Type="LOD" EnumName="OBJECT_LINK_GORON_2_LIMB_10" Offset="0x179D0" />
|
||||
<Limb Name="object_link_goron_Lodlimb_0179E0" Type="LOD" EnumName="OBJECT_LINK_GORON_2_LIMB_11" Offset="0x179E0" />
|
||||
<Limb Name="object_link_goron_Lodlimb_0179F0" Type="LOD" EnumName="OBJECT_LINK_GORON_2_LIMB_12" Offset="0x179F0" />
|
||||
<Limb Name="object_link_goron_Lodlimb_017A00" Type="LOD" EnumName="OBJECT_LINK_GORON_2_LIMB_13" Offset="0x17A00" />
|
||||
<Limb Name="object_link_goron_Lodlimb_017A10" Type="LOD" EnumName="OBJECT_LINK_GORON_2_LIMB_14" Offset="0x17A10" />
|
||||
<Limb Name="object_link_goron_Lodlimb_017A20" Type="LOD" EnumName="OBJECT_LINK_GORON_2_LIMB_15" Offset="0x17A20" />
|
||||
<Skeleton Name="object_link_goron_Skel_017A84" Type="Flex" LimbType="Standard" LimbNone="OBJECT_LINK_GORON_2_LIMB_NONE" LimbMax="OBJECT_LINK_GORON_2_LIMB_MAX" EnumName="ObjectLinkGoron2Limb" Offset="0x17A84" />
|
||||
|
||||
<Limb Name="gLinkGoronRootLimb" Type="LOD" EnumName="LINK_GORON_LIMB_ROOT" Offset="0x178E0" />
|
||||
<Limb Name="gLinkGoronWaistLimb" Type="LOD" EnumName="LINK_GORON_LIMB_WAIST" Offset="0x178F0" />
|
||||
<Limb Name="gLinkGoronLowerRootLimb" Type="LOD" EnumName="LINK_GORON_LIMB_LOWER_ROOT" Offset="0x17900" />
|
||||
<Limb Name="gLinkGoronRightThighLimb" Type="LOD" EnumName="LINK_GORON_LIMB_RIGHT_THIGH" Offset="0x17910" />
|
||||
<Limb Name="gLinkGoronRightShinLimb" Type="LOD" EnumName="LINK_GORON_LIMB_RIGHT_SHIN" Offset="0x17920" />
|
||||
<Limb Name="gLinkGoronRightFootLimb" Type="LOD" EnumName="LINK_GORON_LIMB_RIGHT_FOOT" Offset="0x17930" />
|
||||
<Limb Name="gLinkGoronLeftThighLimb" Type="LOD" EnumName="LINK_GORON_LIMB_LEFT_THIGH" Offset="0x17940" />
|
||||
<Limb Name="gLinkGoronLeftShinLimb" Type="LOD" EnumName="LINK_GORON_LIMB_LEFT_SHIN" Offset="0x17950" />
|
||||
<Limb Name="gLinkGoronLeftFootLimb" Type="LOD" EnumName="LINK_GORON_LIMB_LEFT_FOOT" Offset="0x17960" />
|
||||
<Limb Name="gLinkGoronUpperRootLimb" Type="LOD" EnumName="LINK_GORON_LIMB_UPPER_ROOT" Offset="0x17970" />
|
||||
<Limb Name="gLinkGoronHeadLimb" Type="LOD" EnumName="LINK_GORON_LIMB_HEAD" Offset="0x17980" />
|
||||
<Limb Name="gLinkGoronHatLimb" Type="LOD" EnumName="LINK_GORON_LIMB_HAT" Offset="0x17990" />
|
||||
<Limb Name="gLinkGoronCollarLimb" Type="LOD" EnumName="LINK_GORON_LIMB_COLLAR" Offset="0x179A0" />
|
||||
<Limb Name="gLinkGoronLeftShoulderLimb" Type="LOD" EnumName="LINK_GORON_LIMB_LEFT_SHOULDER" Offset="0x179B0" />
|
||||
<Limb Name="gLinkGoronLeftForearmLimb" Type="LOD" EnumName="LINK_GORON_LIMB_LEFT_FOREARM" Offset="0x179C0" />
|
||||
<Limb Name="gLinkGoronLeftHandLimb" Type="LOD" EnumName="LINK_GORON_LIMB_LEFT_HAND" Offset="0x179D0" />
|
||||
<Limb Name="gLinkGoronRightShoulderLimb" Type="LOD" EnumName="LINK_GORON_LIMB_RIGHT_SHOULDER" Offset="0x179E0" />
|
||||
<Limb Name="gLinkGoronRightForearmLimb" Type="LOD" EnumName="LINK_GORON_LIMB_RIGHT_FOREARM" Offset="0x179F0" />
|
||||
<Limb Name="gLinkGoronRightHandLimb" Type="LOD" EnumName="LINK_GORON_LIMB_RIGHT_HAND" Offset="0x17A00" />
|
||||
<Limb Name="gLinkGoronSheathLimb" Type="LOD" EnumName="LINK_GORON_LIMB_SHEATH" Offset="0x17A10" />
|
||||
<Limb Name="gLinkGoronTorsoLimb" Type="LOD" EnumName="LINK_GORON_LIMB_TORSO" Offset="0x17A20" />
|
||||
<Skeleton Name="gLinkGoronSkel" Type="Flex" LimbType="Standard" LimbNone="LINK_GORON_LIMB_NONE" LimbMax="LINK_GORON_LIMB_MAX" EnumName="LinkGoronLimb" Offset="0x17A84" />
|
||||
</File>
|
||||
</Root>
|
||||
|
||||
@@ -1,23 +1,24 @@
|
||||
<Root>
|
||||
<File Name="object_link_nuts" Segment="6">
|
||||
<DList Name="object_link_nuts_DL_0025D0" Offset="0x25D0" />
|
||||
<DList Name="object_link_nuts_DL_0026D8" Offset="0x26D8" />
|
||||
<DList Name="object_link_nuts_DL_0027E0" Offset="0x27E0" />
|
||||
<DList Name="object_link_nuts_DL_0028F8" Offset="0x28F8" />
|
||||
<DList Name="object_link_nuts_DL_002A00" Offset="0x2A00" />
|
||||
<DList Name="object_link_nuts_DL_002B08" Offset="0x2B08" />
|
||||
<DList Name="object_link_nuts_DL_002C20" Offset="0x2C20" />
|
||||
<DList Name="object_link_nuts_DL_002DD8" Offset="0x2DD8" />
|
||||
<DList Name="object_link_nuts_DL_002E98" Offset="0x2E98" />
|
||||
<DList Name="object_link_nuts_DL_002FD0" Offset="0x2FD0" />
|
||||
<DList Name="object_link_nuts_DL_003488" Offset="0x3488" />
|
||||
<DList Name="object_link_nuts_DL_0035F0" Offset="0x35F0" />
|
||||
<DList Name="object_link_nuts_DL_0036B0" Offset="0x36B0" />
|
||||
<DList Name="object_link_nuts_DL_0037B8" Offset="0x37B8" />
|
||||
<DList Name="object_link_nuts_DL_0038C0" Offset="0x38C0" />
|
||||
<DList Name="object_link_nuts_DL_0039B0" Offset="0x39B0" />
|
||||
<DList Name="object_link_nuts_DL_003AB8" Offset="0x3AB8" />
|
||||
<DList Name="object_link_nuts_DL_003BC0" Offset="0x3BC0" />
|
||||
<DList Name="gLinkDekuRightThighDL" Offset="0x25D0" />
|
||||
<DList Name="gLinkDekuRightShinDL" Offset="0x26D8" />
|
||||
<DList Name="gLinkDekuRightFootDL" Offset="0x27E0" />
|
||||
<DList Name="gLinkDekuLeftThighDL" Offset="0x28F8" />
|
||||
<DList Name="gLinkDekuLeftShinDL" Offset="0x2A00" />
|
||||
<DList Name="gLinkDekuLeftFootDL" Offset="0x2B08" />
|
||||
<DList Name="gLinkDekuWaistDL" Offset="0x2C20" />
|
||||
<DList Name="gLinkDekuCollarDL" Offset="0x2DD8" />
|
||||
<DList Name="gLinkDekuTorsoDL" Offset="0x2E98" />
|
||||
<DList Name="gLinkDekuHeadDL" Offset="0x2FD0" />
|
||||
<DList Name="gLinkDekuHatDL" Offset="0x3488" />
|
||||
<DList Name="gLinkDekuSheathDL" Offset="0x35F0" />
|
||||
<DList Name="gLinkDekuRightShoulderDL" Offset="0x36B0" />
|
||||
<DList Name="gLinkDekuRightForearmDL" Offset="0x37B8" />
|
||||
<DList Name="gLinkDekuRightHandDL" Offset="0x38C0" />
|
||||
<DList Name="gLinkDekuLeftShoulderDL" Offset="0x39B0" />
|
||||
<DList Name="gLinkDekuLeftForearmDL" Offset="0x3AB8" />
|
||||
<DList Name="gLinkDekuLeftHandDL" Offset="0x3BC0" />
|
||||
|
||||
<Texture Name="object_link_nuts_TLUT_003CB0" OutName="tlut_003CB0" Format="rgba16" Width="16" Height="16" Offset="0x3CB0" />
|
||||
<Texture Name="object_link_nuts_TLUT_003EB0" OutName="tlut_003EB0" Format="rgba16" Width="16" Height="16" Offset="0x3EB0" />
|
||||
<Texture Name="object_link_nuts_Tex_0040B0" OutName="tex_0040B0" Format="ci8" Width="16" Height="16" Offset="0x40B0" />
|
||||
@@ -53,27 +54,28 @@
|
||||
<Texture Name="object_link_nuts_Tex_00A4E0" OutName="tex_00A4E0" Format="rgba16" Width="32" Height="64" Offset="0xA4E0" />
|
||||
<DList Name="object_link_nuts_DL_00B690" Offset="0xB690" />
|
||||
<Texture Name="object_link_nuts_Tex_00B780" OutName="tex_00B780" Format="ci8" Width="16" Height="16" Offset="0xB780" />
|
||||
<Limb Name="object_link_nuts_Lodlimb_00B880" Type="LOD" EnumName="OBJECT_LINK_NUTS_LIMB_01" Offset="0xB880" />
|
||||
<Limb Name="object_link_nuts_Lodlimb_00B890" Type="LOD" EnumName="OBJECT_LINK_NUTS_LIMB_02" Offset="0xB890" />
|
||||
<Limb Name="object_link_nuts_Lodlimb_00B8A0" Type="LOD" EnumName="OBJECT_LINK_NUTS_LIMB_03" Offset="0xB8A0" />
|
||||
<Limb Name="object_link_nuts_Lodlimb_00B8B0" Type="LOD" EnumName="OBJECT_LINK_NUTS_LIMB_04" Offset="0xB8B0" />
|
||||
<Limb Name="object_link_nuts_Lodlimb_00B8C0" Type="LOD" EnumName="OBJECT_LINK_NUTS_LIMB_05" Offset="0xB8C0" />
|
||||
<Limb Name="object_link_nuts_Lodlimb_00B8D0" Type="LOD" EnumName="OBJECT_LINK_NUTS_LIMB_06" Offset="0xB8D0" />
|
||||
<Limb Name="object_link_nuts_Lodlimb_00B8E0" Type="LOD" EnumName="OBJECT_LINK_NUTS_LIMB_07" Offset="0xB8E0" />
|
||||
<Limb Name="object_link_nuts_Lodlimb_00B8F0" Type="LOD" EnumName="OBJECT_LINK_NUTS_LIMB_08" Offset="0xB8F0" />
|
||||
<Limb Name="object_link_nuts_Lodlimb_00B900" Type="LOD" EnumName="OBJECT_LINK_NUTS_LIMB_09" Offset="0xB900" />
|
||||
<Limb Name="object_link_nuts_Lodlimb_00B910" Type="LOD" EnumName="OBJECT_LINK_NUTS_LIMB_0A" Offset="0xB910" />
|
||||
<Limb Name="object_link_nuts_Lodlimb_00B920" Type="LOD" EnumName="OBJECT_LINK_NUTS_LIMB_0B" Offset="0xB920" />
|
||||
<Limb Name="object_link_nuts_Lodlimb_00B930" Type="LOD" EnumName="OBJECT_LINK_NUTS_LIMB_0C" Offset="0xB930" />
|
||||
<Limb Name="object_link_nuts_Lodlimb_00B940" Type="LOD" EnumName="OBJECT_LINK_NUTS_LIMB_0D" Offset="0xB940" />
|
||||
<Limb Name="object_link_nuts_Lodlimb_00B950" Type="LOD" EnumName="OBJECT_LINK_NUTS_LIMB_0E" Offset="0xB950" />
|
||||
<Limb Name="object_link_nuts_Lodlimb_00B960" Type="LOD" EnumName="OBJECT_LINK_NUTS_LIMB_0F" Offset="0xB960" />
|
||||
<Limb Name="object_link_nuts_Lodlimb_00B970" Type="LOD" EnumName="OBJECT_LINK_NUTS_LIMB_10" Offset="0xB970" />
|
||||
<Limb Name="object_link_nuts_Lodlimb_00B980" Type="LOD" EnumName="OBJECT_LINK_NUTS_LIMB_11" Offset="0xB980" />
|
||||
<Limb Name="object_link_nuts_Lodlimb_00B990" Type="LOD" EnumName="OBJECT_LINK_NUTS_LIMB_12" Offset="0xB990" />
|
||||
<Limb Name="object_link_nuts_Lodlimb_00B9A0" Type="LOD" EnumName="OBJECT_LINK_NUTS_LIMB_13" Offset="0xB9A0" />
|
||||
<Limb Name="object_link_nuts_Lodlimb_00B9B0" Type="LOD" EnumName="OBJECT_LINK_NUTS_LIMB_14" Offset="0xB9B0" />
|
||||
<Limb Name="object_link_nuts_Lodlimb_00B9C0" Type="LOD" EnumName="OBJECT_LINK_NUTS_LIMB_15" Offset="0xB9C0" />
|
||||
<Skeleton Name="object_link_nuts_Skel_00BA24" Type="Flex" LimbType="Standard" LimbNone="OBJECT_LINK_NUTS_LIMB_NONE" LimbMax="OBJECT_LINK_NUTS_LIMB_MAX" EnumName="ObjectLinkNutsLimb" Offset="0xBA24" />
|
||||
|
||||
<Limb Name="gLinkDekuRootLimb" Type="LOD" EnumName="LINK_DEKU_LIMB_ROOT" Offset="0xB880" />
|
||||
<Limb Name="gLinkDekuWaistLimb" Type="LOD" EnumName="LINK_DEKU_LIMB_WAIST" Offset="0xB890" />
|
||||
<Limb Name="gLinkDekuLowerRootLimb" Type="LOD" EnumName="LINK_DEKU_LIMB_LOWER_ROOT" Offset="0xB8A0" />
|
||||
<Limb Name="gLinkDekuRightThighLimb" Type="LOD" EnumName="LINK_DEKU_LIMB_RIGHT_THIGH" Offset="0xB8B0" />
|
||||
<Limb Name="gLinkDekuRightShinLimb" Type="LOD" EnumName="LINK_DEKU_LIMB_RIGHT_SHIN" Offset="0xB8C0" />
|
||||
<Limb Name="gLinkDekuRightFootLimb" Type="LOD" EnumName="LINK_DEKU_LIMB_RIGHT_FOOT" Offset="0xB8D0" />
|
||||
<Limb Name="gLinkDekuLeftThighLimb" Type="LOD" EnumName="LINK_DEKU_LIMB_LEFT_THIGH" Offset="0xB8E0" />
|
||||
<Limb Name="gLinkDekuLeftShinLimb" Type="LOD" EnumName="LINK_DEKU_LIMB_LEFT_SHIN" Offset="0xB8F0" />
|
||||
<Limb Name="gLinkDekuLeftFootLimb" Type="LOD" EnumName="LINK_DEKU_LIMB_LEFT_FOOT" Offset="0xB900" />
|
||||
<Limb Name="gLinkDekuUpperRootLimb" Type="LOD" EnumName="LINK_DEKU_LIMB_UPPER_ROOT" Offset="0xB910" />
|
||||
<Limb Name="gLinkDekuHeadLimb" Type="LOD" EnumName="LINK_DEKU_LIMB_HEAD" Offset="0xB920" />
|
||||
<Limb Name="gLinkDekuHatLimb" Type="LOD" EnumName="LINK_DEKU_LIMB_HAT" Offset="0xB930" />
|
||||
<Limb Name="gLinkDekuCollarLimb" Type="LOD" EnumName="LINK_DEKU_LIMB_COLLAR" Offset="0xB940" />
|
||||
<Limb Name="gLinkDekuLeftShoulderLimb" Type="LOD" EnumName="LINK_DEKU_LIMB_LEFT_SHOULDER" Offset="0xB950" />
|
||||
<Limb Name="gLinkDekuLeftForearmLimb" Type="LOD" EnumName="LINK_DEKU_LIMB_LEFT_FOREARM" Offset="0xB960" />
|
||||
<Limb Name="gLinkDekuLeftHandLimb" Type="LOD" EnumName="LINK_DEKU_LIMB_LEFT_HAND" Offset="0xB970" />
|
||||
<Limb Name="gLinkDekuRightShoulderLimb" Type="LOD" EnumName="LINK_DEKU_LIMB_RIGHT_SHOULDER" Offset="0xB980" />
|
||||
<Limb Name="gLinkDekuRightForearmLimb" Type="LOD" EnumName="LINK_DEKU_LIMB_RIGHT_FOREARM" Offset="0xB990" />
|
||||
<Limb Name="gLinkDekuRightHandLimb" Type="LOD" EnumName="LINK_DEKU_LIMB_RIGHT_HAND" Offset="0xB9A0" />
|
||||
<Limb Name="gLinkDekuSheathLimb" Type="LOD" EnumName="LINK_DEKU_LIMB_SHEATH" Offset="0xB9B0" />
|
||||
<Limb Name="gLinkDekuTorsoLimb" Type="LOD" EnumName="LINK_DEKU_LIMB_TORSO" Offset="0xB9C0" />
|
||||
<Skeleton Name="gLinkDekuSkel" Type="Flex" LimbType="LOD" LimbNone="LINK_DEKU_LIMB_NONE" LimbMax="LINK_DEKU_LIMB_MAX" EnumName="LinkDekuLimb" Offset="0xBA24" />
|
||||
</File>
|
||||
</Root>
|
||||
|
||||
@@ -1,8 +1,22 @@
|
||||
<Root>
|
||||
<File Name="object_link_zora" Segment="6">
|
||||
<!-- <Blob Name="object_link_zora_Blob_000000" Size="0x5000" Offset="0x0" /> -->
|
||||
<Texture Name="gLinkZoraEyesOpenTex" OutName="eyes_open" Format="ci8" Width="64" Height="32" Offset="0x0" TlutOffset="0x5200" />
|
||||
<Texture Name="gLinkZoraEyesHalfTex" OutName="eyes_half" Format="ci8" Width="64" Height="32" Offset="0x800" TlutOffset="0x5200" />
|
||||
<Texture Name="gLinkZoraEyesClosedTex" OutName="eyes_closed" Format="ci8" Width="64" Height="32" Offset="0x1000" TlutOffset="0x5200" />
|
||||
<Texture Name="gLinkZoraEyesRollRightTex" OutName="eyes_roll_right" Format="ci8" Width="64" Height="32" Offset="0x1800" TlutOffset="0x5200" />
|
||||
<Texture Name="gLinkZoraEyesRollLeftTex" OutName="eyes_roll_left" Format="ci8" Width="64" Height="32" Offset="0x2000" TlutOffset="0x5200" />
|
||||
<Texture Name="gLinkZoraEyesRollUpTex" OutName="eyes_roll_up" Format="ci8" Width="64" Height="32" Offset="0x2800" TlutOffset="0x5200" />
|
||||
<Texture Name="gLinkZoraEyesRollDownTex" OutName="eyes_roll_down" Format="ci8" Width="64" Height="32" Offset="0x3000" TlutOffset="0x5200" />
|
||||
<Texture Name="object_link_zora_Tex_003800" OutName="tex_003800" Format="ci8" Width="64" Height="32" Offset="0x3800" TlutOffset="0x5200" />
|
||||
|
||||
<Texture Name="gLinkZoraMouthClosedTex" OutName="mouth_closed" Format="ci8" Width="32" Height="32" Offset="0x4000" TlutOffset="0x5200" />
|
||||
<Texture Name="object_link_zora_Tex_004400" OutName="tex_004400" Format="ci8" Width="32" Height="32" Offset="0x4400" TlutOffset="0x5200" />
|
||||
<Texture Name="gLinkZoraMouthAngryTex" OutName="mouth_angry" Format="ci8" Width="32" Height="32" Offset="0x4800" TlutOffset="0x5200" />
|
||||
<Texture Name="gLinkZoraMouthHappyTex" OutName="mouth_happy" Format="ci8" Width="32" Height="32" Offset="0x4C00" TlutOffset="0x5200" />
|
||||
|
||||
<Texture Name="object_link_zora_TLUT_005000" OutName="tlut_005000" Format="rgba16" Width="16" Height="16" Offset="0x5000" />
|
||||
<Texture Name="object_link_zora_Tex_005200" OutName="tex_005200" Format="rgba16" Width="16" Height="16" Offset="0x5200" />
|
||||
<Texture Name="gLinkZoraSkinTLUT" OutName="skin_tlut" Format="rgba16" Width="16" Height="16" Offset="0x5200" />
|
||||
|
||||
<Texture Name="object_link_zora_Tex_005400" OutName="tex_005400" Format="ci8" Width="32" Height="32" Offset="0x5400" />
|
||||
<Texture Name="object_link_zora_Tex_005800" OutName="tex_005800" Format="ci8" Width="16" Height="16" Offset="0x5800" />
|
||||
<Texture Name="object_link_zora_Tex_005900" OutName="tex_005900" Format="ci8" Width="16" Height="16" Offset="0x5900" />
|
||||
@@ -15,24 +29,26 @@
|
||||
<Texture Name="object_link_zora_Tex_006100" OutName="tex_006100" Format="ci8" Width="8" Height="16" Offset="0x6100" />
|
||||
<Texture Name="object_link_zora_Tex_006180" OutName="tex_006180" Format="ci8" Width="8" Height="8" Offset="0x6180" />
|
||||
<Texture Name="object_link_zora_Tex_0061C0" OutName="tex_0061C0" Format="ci8" Width="16" Height="16" Offset="0x61C0" />
|
||||
<DList Name="object_link_zora_DL_009E00" Offset="0x9E00" />
|
||||
<DList Name="object_link_zora_DL_00A108" Offset="0xA108" />
|
||||
<DList Name="object_link_zora_DL_00A370" Offset="0xA370" />
|
||||
<DList Name="object_link_zora_DL_00A4A0" Offset="0xA4A0" />
|
||||
<DList Name="object_link_zora_DL_00A7A8" Offset="0xA7A8" />
|
||||
<DList Name="object_link_zora_DL_00AA10" Offset="0xAA10" />
|
||||
<DList Name="object_link_zora_DL_00AB40" Offset="0xAB40" />
|
||||
<DList Name="object_link_zora_DL_00AD38" Offset="0xAD38" />
|
||||
<DList Name="object_link_zora_DL_00ADF0" Offset="0xADF0" />
|
||||
<DList Name="object_link_zora_DL_00B170" Offset="0xB170" />
|
||||
<DList Name="object_link_zora_DL_00B630" Offset="0xB630" />
|
||||
<DList Name="object_link_zora_DL_00B768" Offset="0xB768" />
|
||||
<DList Name="object_link_zora_DL_00B820" Offset="0xB820" />
|
||||
<DList Name="object_link_zora_DL_00B990" Offset="0xB990" />
|
||||
<DList Name="object_link_zora_DL_00BBE0" Offset="0xBBE0" />
|
||||
<DList Name="object_link_zora_DL_00BEE8" Offset="0xBEE8" />
|
||||
<DList Name="object_link_zora_DL_00C020" Offset="0xC020" />
|
||||
<DList Name="object_link_zora_DL_00C270" Offset="0xC270" />
|
||||
|
||||
<DList Name="gLinkZoraRightThighDL" Offset="0x9E00" />
|
||||
<DList Name="gLinkZoraRightShinDL" Offset="0xA108" />
|
||||
<DList Name="gLinkZoraRightFootDL" Offset="0xA370" />
|
||||
<DList Name="gLinkZoraLeftThighDL" Offset="0xA4A0" />
|
||||
<DList Name="gLinkZoraLeftShinDL" Offset="0xA7A8" />
|
||||
<DList Name="gLinkZoraLeftFootDL" Offset="0xAA10" />
|
||||
<DList Name="gLinkZoraWaistDL" Offset="0xAB40" />
|
||||
<DList Name="gLinkZoraCollarDL" Offset="0xAD38" />
|
||||
<DList Name="gLinkZoraTorsoDL" Offset="0xADF0" />
|
||||
<DList Name="gLinkZoraHeadDL" Offset="0xB170" />
|
||||
<DList Name="gLinkZoraHatDL" Offset="0xB630" />
|
||||
<DList Name="gLinkZoraSheathDL" Offset="0xB768" />
|
||||
<DList Name="gLinkZoraRightShoulderDL" Offset="0xB820" />
|
||||
<DList Name="gLinkZoraRightForearmDL" Offset="0xB990" />
|
||||
<DList Name="gLinkZoraRightHandClosedDL" Offset="0xBBE0" />
|
||||
<DList Name="gLinkZoraLeftShoulderDL" Offset="0xBEE8" />
|
||||
<DList Name="gLinkZoraLeftForearmDL" Offset="0xC020" />
|
||||
<DList Name="gLinkZoraLeftHandClosedDL" Offset="0xC270" />
|
||||
|
||||
<Texture Name="object_link_zora_TLUT_00C578" OutName="tlut_00C578" Format="rgba16" Width="16" Height="16" Offset="0xC578" />
|
||||
<Texture Name="object_link_zora_Tex_00C778" OutName="tex_00C778" Format="ci8" Width="16" Height="32" Offset="0xC778" />
|
||||
<Texture Name="object_link_zora_Tex_00C978" OutName="tex_00C978" Format="ci8" Width="16" Height="16" Offset="0xC978" />
|
||||
@@ -48,13 +64,13 @@
|
||||
<Texture Name="object_link_zora_Tex_00ECF8" OutName="tex_00ECF8" Format="rgba16" Width="16" Height="16" Offset="0xECF8" />
|
||||
<Texture Name="object_link_zora_Tex_00EEF8" OutName="tex_00EEF8" Format="rgba16" Width="16" Height="32" Offset="0xEEF8" />
|
||||
<Texture Name="object_link_zora_Tex_00F2F8" OutName="tex_00F2F8" Format="rgba16" Width="16" Height="32" Offset="0xF2F8" />
|
||||
<DList Name="object_link_zora_DL_00FBB8" Offset="0xFBB8" />
|
||||
<DList Name="object_link_zora_DL_00FDF0" Offset="0xFDF0" />
|
||||
<DList Name="gLinkZoraRightHandOpenDL" Offset="0xFBB8" />
|
||||
<DList Name="gLinkZoraLeftHandOpenDL" Offset="0xFDF0" />
|
||||
<Texture Name="object_link_zora_Tex_010028" OutName="tex_010028" Format="rgba16" Width="16" Height="16" Offset="0x10028" />
|
||||
<Texture Name="object_link_zora_Tex_010228" OutName="tex_010228" Format="rgba16" Width="16" Height="32" Offset="0x10228" />
|
||||
<DList Name="object_link_zora_DL_010868" Offset="0x10868" />
|
||||
<DList Name="object_link_zora_DL_010978" Offset="0x10978" />
|
||||
<DList Name="object_link_zora_DL_010D08" Offset="0x10D08" />
|
||||
<DList Name="gLinkZoraLeftHandHoldBottleDL" Offset="0x10D08" />
|
||||
<DList Name="object_link_zora_DL_0110A8" Offset="0x110A8" />
|
||||
|
||||
<Array Name="object_link_zora_Vtx_011210" Count="80" Offset="0x011210">
|
||||
@@ -68,29 +84,31 @@
|
||||
<DList Name="object_link_zora_DL_011A58" Offset="0x11A58" />
|
||||
<Texture Name="object_link_zora_Tex_011A60" OutName="tex_011A60" Format="i8" Width="64" Height="32" Offset="0x11A60" />
|
||||
<Texture Name="object_link_zora_Tex_012260" OutName="tex_012260" Format="i8" Width="32" Height="64" Offset="0x12260" />
|
||||
|
||||
<TextureAnimation Name="object_link_zora_Matanimheader_012A68" Offset="0x12A68" />
|
||||
<TextureAnimation Name="object_link_zora_Matanimheader_012A80" Offset="0x12A80" />
|
||||
<Limb Name="object_link_zora_Lodlimb_012A90" Type="LOD" EnumName="OBJECT_LINK_ZORA_LIMB_01" Offset="0x12A90" />
|
||||
<Limb Name="object_link_zora_Lodlimb_012AA0" Type="LOD" EnumName="OBJECT_LINK_ZORA_LIMB_02" Offset="0x12AA0" />
|
||||
<Limb Name="object_link_zora_Lodlimb_012AB0" Type="LOD" EnumName="OBJECT_LINK_ZORA_LIMB_03" Offset="0x12AB0" />
|
||||
<Limb Name="object_link_zora_Lodlimb_012AC0" Type="LOD" EnumName="OBJECT_LINK_ZORA_LIMB_04" Offset="0x12AC0" />
|
||||
<Limb Name="object_link_zora_Lodlimb_012AD0" Type="LOD" EnumName="OBJECT_LINK_ZORA_LIMB_05" Offset="0x12AD0" />
|
||||
<Limb Name="object_link_zora_Lodlimb_012AE0" Type="LOD" EnumName="OBJECT_LINK_ZORA_LIMB_06" Offset="0x12AE0" />
|
||||
<Limb Name="object_link_zora_Lodlimb_012AF0" Type="LOD" EnumName="OBJECT_LINK_ZORA_LIMB_07" Offset="0x12AF0" />
|
||||
<Limb Name="object_link_zora_Lodlimb_012B00" Type="LOD" EnumName="OBJECT_LINK_ZORA_LIMB_08" Offset="0x12B00" />
|
||||
<Limb Name="object_link_zora_Lodlimb_012B10" Type="LOD" EnumName="OBJECT_LINK_ZORA_LIMB_09" Offset="0x12B10" />
|
||||
<Limb Name="object_link_zora_Lodlimb_012B20" Type="LOD" EnumName="OBJECT_LINK_ZORA_LIMB_0A" Offset="0x12B20" />
|
||||
<Limb Name="object_link_zora_Lodlimb_012B30" Type="LOD" EnumName="OBJECT_LINK_ZORA_LIMB_0B" Offset="0x12B30" />
|
||||
<Limb Name="object_link_zora_Lodlimb_012B40" Type="LOD" EnumName="OBJECT_LINK_ZORA_LIMB_0C" Offset="0x12B40" />
|
||||
<Limb Name="object_link_zora_Lodlimb_012B50" Type="LOD" EnumName="OBJECT_LINK_ZORA_LIMB_0D" Offset="0x12B50" />
|
||||
<Limb Name="object_link_zora_Lodlimb_012B60" Type="LOD" EnumName="OBJECT_LINK_ZORA_LIMB_0E" Offset="0x12B60" />
|
||||
<Limb Name="object_link_zora_Lodlimb_012B70" Type="LOD" EnumName="OBJECT_LINK_ZORA_LIMB_0F" Offset="0x12B70" />
|
||||
<Limb Name="object_link_zora_Lodlimb_012B80" Type="LOD" EnumName="OBJECT_LINK_ZORA_LIMB_10" Offset="0x12B80" />
|
||||
<Limb Name="object_link_zora_Lodlimb_012B90" Type="LOD" EnumName="OBJECT_LINK_ZORA_LIMB_11" Offset="0x12B90" />
|
||||
<Limb Name="object_link_zora_Lodlimb_012BA0" Type="LOD" EnumName="OBJECT_LINK_ZORA_LIMB_12" Offset="0x12BA0" />
|
||||
<Limb Name="object_link_zora_Lodlimb_012BB0" Type="LOD" EnumName="OBJECT_LINK_ZORA_LIMB_13" Offset="0x12BB0" />
|
||||
<Limb Name="object_link_zora_Lodlimb_012BC0" Type="LOD" EnumName="OBJECT_LINK_ZORA_LIMB_14" Offset="0x12BC0" />
|
||||
<Limb Name="object_link_zora_Lodlimb_012BD0" Type="LOD" EnumName="OBJECT_LINK_ZORA_LIMB_15" Offset="0x12BD0" />
|
||||
<Skeleton Name="object_link_zora_Skel_012C34" Type="Flex" LimbType="Standard" LimbNone="OBJECT_LINK_ZORA_LIMB_NONE" LimbMax="OBJECT_LINK_ZORA_LIMB_MAX" EnumName="ObjectLinkZoraLimb" Offset="0x12C34" />
|
||||
|
||||
<Limb Name="gLinkZoraRootLimb" Type="LOD" EnumName="LINK_ZORA_LIMB_ROOT" Offset="0x12A90" />
|
||||
<Limb Name="gLinkZoraWaistLimb" Type="LOD" EnumName="LINK_ZORA_LIMB_WAIST" Offset="0x12AA0" />
|
||||
<Limb Name="gLinkZoraLowerRootLimb" Type="LOD" EnumName="LINK_ZORA_LIMB_LOWER_ROOT" Offset="0x12AB0" />
|
||||
<Limb Name="gLinkZoraRightThighLimb" Type="LOD" EnumName="LINK_ZORA_LIMB_RIGHT_THIGH" Offset="0x12AC0" />
|
||||
<Limb Name="gLinkZoraRightShinLimb" Type="LOD" EnumName="LINK_ZORA_LIMB_RIGHT_SHIN" Offset="0x12AD0" />
|
||||
<Limb Name="gLinkZoraRightFootLimb" Type="LOD" EnumName="LINK_ZORA_LIMB_RIGHT_FOOT" Offset="0x12AE0" />
|
||||
<Limb Name="gLinkZoraLeftThighLimb" Type="LOD" EnumName="LINK_ZORA_LIMB_LEFT_THIGH" Offset="0x12AF0" />
|
||||
<Limb Name="gLinkZoraLeftShinLimb" Type="LOD" EnumName="LINK_ZORA_LIMB_LEFT_SHIN" Offset="0x12B00" />
|
||||
<Limb Name="gLinkZoraLeftFootLimb" Type="LOD" EnumName="LINK_ZORA_LIMB_LEFT_FOOT" Offset="0x12B10" />
|
||||
<Limb Name="gLinkZoraUpperRootLimb" Type="LOD" EnumName="LINK_ZORA_LIMB_UPPER_ROOT" Offset="0x12B20" />
|
||||
<Limb Name="gLinkZoraHeadLimb" Type="LOD" EnumName="LINK_ZORA_LIMB_HEAD" Offset="0x12B30" />
|
||||
<Limb Name="gLinkZoraHatLimb" Type="LOD" EnumName="LINK_ZORA_LIMB_HAT" Offset="0x12B40" />
|
||||
<Limb Name="gLinkZoraCollarLimb" Type="LOD" EnumName="LINK_ZORA_LIMB_COLLAR" Offset="0x12B50" />
|
||||
<Limb Name="gLinkZoraLeftShoulderLimb" Type="LOD" EnumName="LINK_ZORA_LIMB_LEFT_SHOULDER" Offset="0x12B60" />
|
||||
<Limb Name="gLinkZoraLeftForearmLimb" Type="LOD" EnumName="LINK_ZORA_LIMB_LEFT_FOREARM" Offset="0x12B70" />
|
||||
<Limb Name="gLinkZoraLeftHandLimb" Type="LOD" EnumName="LINK_ZORA_LIMB_LEFT_HAND" Offset="0x12B80" />
|
||||
<Limb Name="gLinkZoraRightShoulderLimb" Type="LOD" EnumName="LINK_ZORA_LIMB_RIGHT_SHOULDER" Offset="0x12B90" />
|
||||
<Limb Name="gLinkZoraRightForearmLimb" Type="LOD" EnumName="LINK_ZORA_LIMB_RIGHT_FOREARM" Offset="0x12BA0" />
|
||||
<Limb Name="gLinkZoraRightHandLimb" Type="LOD" EnumName="LINK_ZORA_LIMB_RIGHT_HAND" Offset="0x12BB0" />
|
||||
<Limb Name="gLinkZoraSheathLimb" Type="LOD" EnumName="LINK_ZORA_LIMB_SHEATH" Offset="0x12BC0" />
|
||||
<Limb Name="gLinkZoraTorsoLimb" Type="LOD" EnumName="LINK_ZORA_LIMB_TORSO" Offset="0x12BD0" />
|
||||
<Skeleton Name="gLinkZoraSkel" Type="Flex" LimbType="LOD" LimbNone="LINK_ZORA_LIMB_NONE" LimbMax="LINK_ZORA_LIMB_MAX" EnumName="LinkZoraLimb" Offset="0x12C34" />
|
||||
</File>
|
||||
</Root>
|
||||
|
||||
+12
-12
@@ -1800,15 +1800,15 @@ s32 func_80123448(PlayState* play);
|
||||
s32 Player_IsGoronOrDeku(Player* player);
|
||||
s32 func_801234D4(PlayState* play);
|
||||
s32 func_80123590(PlayState* play, Actor* actor);
|
||||
s32 func_8012364C(PlayState* play, Player* player, s32 arg2);
|
||||
ItemId func_8012364C(PlayState* play, Player* player, s32 arg2);
|
||||
s32 func_80123810(PlayState* play);
|
||||
s32 Player_ActionToModelGroup(Player* player, s32 actionParam);
|
||||
void func_801239AC(Player* player);
|
||||
void Player_SetModels(Player* player, s32 modelGroup);
|
||||
void Player_SetModelGroup(Player* player, s32 modelGroup);
|
||||
PlayerModelGroup Player_ActionToModelGroup(Player* player, PlayerActionParam actionParam);
|
||||
void Player_SetModelsForHoldingShield(Player* player);
|
||||
void Player_SetModels(Player* player, PlayerModelGroup modelGroup);
|
||||
void Player_SetModelGroup(Player* player, PlayerModelGroup modelGroup);
|
||||
void func_80123C58(Player* player);
|
||||
void Player_SetEquipmentData(PlayState* play, Player* player);
|
||||
void func_80123D50(PlayState* play, Player* player, s32 itemId, s32 actionParam);
|
||||
void func_80123D50(PlayState* play, Player* player, ItemId itemId, PlayerActionParam actionParam);
|
||||
void func_80123DA4(Player* player);
|
||||
void func_80123DC0(Player* player);
|
||||
void func_80123E90(PlayState* play, Actor* actor);
|
||||
@@ -1821,21 +1821,21 @@ s32 Player_HasMirrorShieldEquipped(PlayState* play);
|
||||
s32 Player_IsHoldingMirrorShield(PlayState* play);
|
||||
s32 Player_IsHoldingHookshot(Player* player);
|
||||
s32 func_801240DC(Player* player);
|
||||
s32 func_80124110(Player* player, s32 actionParam);
|
||||
s32 func_80124110(Player* player, PlayerActionParam actionParam);
|
||||
s32 func_80124148(Player* player);
|
||||
s32 Player_ActionToMeleeWeapon(s32 actionParam);
|
||||
s32 Player_ActionToMeleeWeapon(PlayerActionParam actionParam);
|
||||
s32 Player_GetMeleeWeaponHeld(Player* player);
|
||||
s32 Player_IsHoldingTwoHandedWeapon(Player* player);
|
||||
s32 Player_ActionToBottle(Player* player, s32 actionParam);
|
||||
s32 Player_ActionToBottle(Player* player, PlayerActionParam actionParam);
|
||||
s32 Player_GetBottleHeld(Player* Player);
|
||||
s32 Player_ActionToExplosive(Player* player, s32 actionParam);
|
||||
s32 Player_ActionToExplosive(Player* player, PlayerActionParam actionParam);
|
||||
s32 Player_GetExplosiveHeld(Player* player);
|
||||
s32 func_80124278(Actor* actor, s32 actionParam);
|
||||
s32 Player_ActionToSword(Actor* actor, PlayerActionParam actionParam);
|
||||
s32 func_801242B4(Player* player);
|
||||
s32 Player_GetEnvTimerType(PlayState* play);
|
||||
void func_80124420(Player* player);
|
||||
void func_80124618(struct_80124618 arg0[], f32 curFrame, Vec3f* arg2);
|
||||
void func_801246F4(PlayState* play, void** skeleton, Vec3s* jointTable, s32 dListCount, s32 lod, s32 tunic, s32 boots, s32 face, OverrideLimbDrawFlex overrideLimbDraw, PostLimbDrawFlex postLimbDraw, Actor* actor);
|
||||
void Player_DrawImpl(PlayState* play, void** skeleton, Vec3s* jointTable, s32 dListCount, s32 lod, PlayerTransformation playerForm, s32 boots, s32 face, OverrideLimbDrawFlex overrideLimbDraw, PostLimbDrawFlex postLimbDraw, Actor* actor);
|
||||
void func_80125318(Vec3f* arg0, Vec3s* arg1);
|
||||
void Player_DrawZoraShield(PlayState* play, Player* player);
|
||||
void func_80125500(PlayState* play, Player* player, s32 limbIndex, Vec3f* pos, Vec3s* rot);
|
||||
|
||||
+9
-150
@@ -1,5 +1,5 @@
|
||||
#ifndef _VARIABLES_H_
|
||||
#define _VARIABLES_H_
|
||||
#ifndef VARIABLES_H
|
||||
#define VARIABLES_H
|
||||
|
||||
#include "z64.h"
|
||||
#include "segment_symbols.h"
|
||||
@@ -412,7 +412,6 @@ extern EffectSsOverlay gParticleOverlayTable[39];
|
||||
extern f32 actorMovementScale;
|
||||
extern TargetRangeParams gTargetRanges[];
|
||||
extern s16 D_801AED48[8];
|
||||
// extern UNK_TYPE4 D_801AED58;
|
||||
extern Color_RGBA8 actorDefaultHitColor;
|
||||
// extern UNK_TYPE1 D_801AED8C;
|
||||
// extern UNK_TYPE4 D_801AED98;
|
||||
@@ -773,141 +772,12 @@ extern UNK_PTR D_801BF5C0;
|
||||
// extern UNK_TYPE1 D_801BFD94;
|
||||
// extern UNK_TYPE2 D_801BFD98;
|
||||
|
||||
// extern UNK_TYPE1 D_801BFDD0;
|
||||
// extern UNK_TYPE1 D_801BFE00;
|
||||
// extern UNK_TYPE1 D_801BFE14;
|
||||
// extern UNK_TYPE2 D_801BFF34;
|
||||
// extern UNK_TYPE1 D_801BFF90;
|
||||
extern u8 gPlayerModelTypes[][5];
|
||||
// extern UNK_TYPE1 D_801BFFFC;
|
||||
// extern UNK_TYPE1 D_801C0024;
|
||||
// extern UNK_TYPE1 D_801C0034;
|
||||
// extern UNK_TYPE1 D_801C005C;
|
||||
// extern UNK_TYPE1 D_801C0084;
|
||||
// extern UNK_TYPE1 D_801C00AC;
|
||||
// extern UNK_TYPE1 D_801C00BC;
|
||||
// extern UNK_TYPE1 D_801C00D4;
|
||||
// extern UNK_TYPE1 D_801C00EC;
|
||||
// extern UNK_TYPE1 D_801C0114;
|
||||
// extern UNK_TYPE1 D_801C013C;
|
||||
// extern UNK_TYPE1 D_801C0164;
|
||||
// extern UNK_TYPE1 D_801C018C;
|
||||
// extern UNK_TYPE1 D_801C01A4;
|
||||
// extern UNK_TYPE1 D_801C01CC;
|
||||
// extern UNK_TYPE1 D_801C01F4;
|
||||
// extern UNK_TYPE1 D_801C021C;
|
||||
// extern UNK_TYPE1 D_801C0244;
|
||||
// extern UNK_TYPE1 D_801C026C;
|
||||
// extern UNK_TYPE1 D_801C0294;
|
||||
// extern UNK_TYPE1 D_801C02A8;
|
||||
// extern UNK_TYPE1 D_801C02BC;
|
||||
// extern UNK_TYPE1 D_801C02D0;
|
||||
// extern UNK_TYPE1 D_801C02E4;
|
||||
// extern UNK_TYPE1 D_801C0340;
|
||||
// extern UNK_TYPE1 D_801C0368;
|
||||
// extern UNK_TYPE1 D_801C03A0;
|
||||
// extern UNK_TYPE1 D_801C03C0;
|
||||
// extern UNK_TYPE1 D_801C03E0;
|
||||
// extern UNK_TYPE1 D_801C0410;
|
||||
// extern UNK_TYPE1 D_801C0428;
|
||||
// extern UNK_TYPE1 D_801C0460;
|
||||
// extern UNK_TYPE1 D_801C0490;
|
||||
// extern UNK_TYPE1 D_801C0510;
|
||||
// extern UNK_TYPE1 D_801C0538;
|
||||
// extern UNK_TYPE1 D_801C0560;
|
||||
// extern UNK_TYPE1 D_801C0580;
|
||||
// extern UNK_TYPE1 D_801C05A8;
|
||||
// extern UNK_TYPE1 D_801C05C8;
|
||||
// extern UNK_TYPE1 D_801C05D8;
|
||||
// extern UNK_TYPE1 D_801C05F0;
|
||||
// extern UNK_TYPE1 D_801C0608;
|
||||
// extern UNK_TYPE1 D_801C0628;
|
||||
// extern UNK_TYPE1 D_801C0678;
|
||||
// extern UNK_TYPE1 D_801C0698;
|
||||
// extern UNK_TYPE1 D_801C06B8;
|
||||
// extern UNK_TYPE1 D_801C06E0;
|
||||
// extern UNK_TYPE1 D_801C06F8;
|
||||
// extern UNK_TYPE1 D_801C0718;
|
||||
// extern UNK_TYPE1 D_801C0730;
|
||||
// extern UNK_TYPE1 D_801C0740;
|
||||
// extern UNK_TYPE1 D_801C0750;
|
||||
// extern UNK_TYPE1 D_801C0778;
|
||||
// extern UNK_TYPE1 D_801C0784;
|
||||
// extern UNK_TYPE1 D_801C07AC;
|
||||
// extern UNK_TYPE1 D_801C07C0;
|
||||
// extern UNK_TYPE1 D_801C07F0;
|
||||
// extern UNK_TYPE1 D_801C0820;
|
||||
// extern UNK_TYPE1 D_801C0838;
|
||||
extern Gfx D_801C0850[];
|
||||
// extern UNK_TYPE1 D_801C0860;
|
||||
extern UNK_PTR D_801C0870;
|
||||
// extern UNK_TYPE1 D_801C0890;
|
||||
// extern UNK_TYPE1 D_801C08A0;
|
||||
// extern UNK_TYPE1 D_801C08C0;
|
||||
// extern UNK_TYPE1 D_801C08FC;
|
||||
// extern UNK_TYPE1 D_801C0910;
|
||||
// extern UNK_TYPE1 D_801C0924;
|
||||
// extern UNK_TYPE1 D_801C0938;
|
||||
// extern UNK_TYPE1 D_801C094C;
|
||||
// extern UNK_TYPE4 D_801C0958;
|
||||
extern UNK_PTR D_801C095C;
|
||||
// extern UNK_TYPE1 D_801C0964;
|
||||
// extern UNK_TYPE1 D_801C096C;
|
||||
// extern UNK_TYPE1 D_801C0970;
|
||||
// extern UNK_TYPE4 D_801C0994;
|
||||
// extern UNK_TYPE1 D_801C09B8;
|
||||
// extern UNK_TYPE1 D_801C09DC;
|
||||
// extern UNK_TYPE1 D_801C0A00;
|
||||
// extern UNK_TYPE1 D_801C0A24;
|
||||
// extern UNK_TYPE1 D_801C0A48;
|
||||
// extern UNK_TYPE1 D_801C0A6C;
|
||||
// extern UNK_TYPE1 D_801C0A90;
|
||||
// extern UNK_TYPE1 D_801C0AB4;
|
||||
// extern UNK_TYPE1 D_801C0ABC;
|
||||
// extern UNK_TYPE1 D_801C0AC4;
|
||||
// extern UNK_TYPE1 D_801C0ADC;
|
||||
extern UNK_PTR D_801C0AF4;
|
||||
extern UNK_PTR D_801C0AFC;
|
||||
extern UNK_PTR D_801C0B04;
|
||||
extern UNK_PTR D_801C0B0C;
|
||||
// extern UNK_TYPE1 D_801C0B14;
|
||||
// extern UNK_TYPE1 D_801C0B1C;
|
||||
// extern UNK_TYPE1 D_801C0B20;
|
||||
// extern UNK_TYPE1 D_801C0B90;
|
||||
// extern UNK_TYPE4 D_801C0BA8;
|
||||
// extern UNK_TYPE1 D_801C0BB4;
|
||||
// extern UNK_TYPE1 D_801C0BC0;
|
||||
// extern UNK_TYPE1 D_801C0BD0;
|
||||
// extern UNK_TYPE4 D_801C0BE0;
|
||||
// extern UNK_TYPE4 D_801C0BEC;
|
||||
// extern UNK_TYPE1 D_801C0BF8;
|
||||
// extern UNK_TYPE1 D_801C0BFC;
|
||||
// extern UNK_TYPE1 D_801C0C00;
|
||||
// extern UNK_TYPE4 D_801C0C0C;
|
||||
// extern UNK_TYPE1 D_801C0C30;
|
||||
// extern UNK_TYPE1 D_801C0C54;
|
||||
// extern UNK_TYPE1 D_801C0CA8;
|
||||
// extern UNK_TYPE4 D_801C0CE8;
|
||||
// extern UNK_TYPE1 D_801C0D24;
|
||||
// extern UNK_TYPE1 D_801C0D60;
|
||||
// extern UNK_TYPE1 D_801C0D6C;
|
||||
// extern UNK_TYPE1 D_801C0D78;
|
||||
// extern UNK_TYPE4 D_801C0D94;
|
||||
// extern UNK_TYPE4 D_801C0D98;
|
||||
// extern UNK_TYPE4 D_801C0D9C;
|
||||
// extern UNK_TYPE4 D_801C0DA0;
|
||||
// extern UNK_TYPE1 D_801C0DA8;
|
||||
// extern UNK_TYPE1 D_801C0DD8;
|
||||
// extern UNK_TYPE1 D_801C0DE4;
|
||||
// extern UNK_TYPE4 D_801C0DF0;
|
||||
// extern UNK_TYPE1 D_801C0E04;
|
||||
// extern UNK_TYPE4 D_801C0E2C;
|
||||
// extern UNK_TYPE4 D_801C0E40;
|
||||
// extern UNK_TYPE1 D_801C0E7C;
|
||||
// extern UNK_TYPE1 D_801C0E94;
|
||||
// extern UNK_TYPE1 D_801C0EA0;
|
||||
// extern UNK_TYPE1 D_801C0EAC;
|
||||
// extern UNK_TYPE1 D_801C0EB8;
|
||||
extern FlexSkeletonHeader* gPlayerSkeletons[PLAYER_FORM_MAX];
|
||||
extern PlayerModelIndices gPlayerModelTypes[];
|
||||
extern struct_80124618 D_801C03A0[];
|
||||
extern struct_80124618 D_801C0490[];
|
||||
extern Gfx gCullBackDList[];
|
||||
extern Gfx gCullFrontDList[];
|
||||
|
||||
extern Gfx sSetupDL[438];
|
||||
extern Gfx sFillSetupDL[12];
|
||||
@@ -2750,18 +2620,7 @@ extern s16 D_801F4E7A;
|
||||
// extern UNK_TYPE1 D_801F57B4;
|
||||
// extern UNK_TYPE1 D_801F5834;
|
||||
// extern NmiBuff* gNMIBuffer;
|
||||
// extern UNK_TYPE1 sPostmanTimerInput;
|
||||
// extern UNK_TYPE1 D_801F58B0;
|
||||
// extern UNK_TYPE1 D_801F59AC;
|
||||
// extern UNK_TYPE1 D_801F59B0;
|
||||
// extern UNK_TYPE1 D_801F59C8;
|
||||
// extern UNK_TYPE1 D_801F59D0;
|
||||
// extern UNK_TYPE1 D_801F59DC;
|
||||
// extern UNK_TYPE1 D_801F59E0;
|
||||
// extern UNK_TYPE1 D_801F59E4;
|
||||
// extern UNK_TYPE1 D_801F59E8;
|
||||
// extern UNK_TYPE1 D_801F59F4;
|
||||
// extern UNK_TYPE1 D_801F59F8;
|
||||
|
||||
// extern UNK_TYPE1 sSkyboxDrawMatrix;
|
||||
// extern UNK_TYPE1 D_801F6AF0;
|
||||
// extern UNK_TYPE1 D_801F6AF2;
|
||||
|
||||
+3
-3
@@ -724,7 +724,7 @@ typedef struct {
|
||||
#define TRANS_TRIGGER_START 20 // start transition (exiting an area)
|
||||
#define TRANS_TRIGGER_END -20 // transition is ending (arriving in a new area)
|
||||
|
||||
typedef enum {
|
||||
typedef enum TransitionMode {
|
||||
/* 0 */ TRANS_MODE_OFF,
|
||||
/* 1 */ TRANS_MODE_01,
|
||||
/* 2 */ TRANS_MODE_02,
|
||||
@@ -745,7 +745,7 @@ typedef enum {
|
||||
/* 17 */ TRANS_MODE_17
|
||||
} TransitionMode;
|
||||
|
||||
typedef enum {
|
||||
typedef enum TransitionType {
|
||||
/* 0 */ TRANS_TYPE_00,
|
||||
/* 1 */ TRANS_TYPE_01,
|
||||
/* 2 */ TRANS_TYPE_02,
|
||||
@@ -1048,7 +1048,7 @@ struct PlayState {
|
||||
/* 0x18788 */ void (*talkWithPlayer)(struct PlayState* play, Actor* actor);
|
||||
/* 0x1878C */ void (*unk_1878C)(struct PlayState* play);
|
||||
/* 0x18790 */ void (*unk_18790)(struct PlayState* play, s16 arg1, Actor* actor);
|
||||
/* 0x18794 */ s32 (*unk_18794)(struct PlayState* play, Player* player, s32 arg2, s32 arg3);
|
||||
/* 0x18794 */ s32 (*unk_18794)(struct PlayState* play, Player* player, s32 itemId, s32 arg3);
|
||||
/* 0x18798 */ s32 (*setPlayerTalkAnim)(struct PlayState* play, void* talkAnim, s32 arg2);
|
||||
/* 0x1879C */ s16 playerActorCsIds[10];
|
||||
/* 0x187B0 */ MtxF viewProjectionMtxF;
|
||||
|
||||
@@ -160,7 +160,8 @@ typedef struct MessageContext {
|
||||
/* 0x120A4 */ s16 unk120A4[6];
|
||||
/* 0x120B0 */ u8 unk120B0;
|
||||
/* 0x120B1 */ u8 unk120B1;
|
||||
/* 0x120B2 */ u8 unk120B2[0xC];
|
||||
/* 0x120B2 */ u8 unk120B2[0xA];
|
||||
/* 0x120BC */ u16 unk_120BC;
|
||||
/* 0x120BE */ s16 unk120BE;
|
||||
/* 0x120C0 */ s16 unk120C0;
|
||||
/* 0x120C2 */ s16 unk120C2;
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
#ifndef _Z64OBJECT_H_
|
||||
#define _Z64OBJECT_H_
|
||||
#ifndef Z64OBJECT_H
|
||||
#define Z64OBJECT_H
|
||||
|
||||
#define OBJECT_SPACE_SIZE_DEFAULT 1413120
|
||||
#define OBJECT_SPACE_SIZE_CLOCK_TOWN 1566720
|
||||
|
||||
+147
-12
@@ -97,7 +97,8 @@ typedef enum PlayerActionParam {
|
||||
/* 0x0E */ PLAYER_AP_BOMB,
|
||||
/* 0x0F */ PLAYER_AP_POWDER_KEG,
|
||||
/* 0x10 */ PLAYER_AP_BOMBCHU,
|
||||
/* 0x12 */ PLAYER_AP_NUT = 0x12,
|
||||
/* 0x11 */ PLAYER_AP_11,
|
||||
/* 0x12 */ PLAYER_AP_NUT,
|
||||
/* 0x13 */ PLAYER_AP_PICTO_BOX,
|
||||
/* 0x14 */ PLAYER_AP_OCARINA,
|
||||
/* 0x15 */ PLAYER_AP_BOTTLE,
|
||||
@@ -107,7 +108,8 @@ typedef enum PlayerActionParam {
|
||||
/* 0x19 */ PLAYER_AP_BOTTLE_ZORA_EGG,
|
||||
/* 0x1A */ PLAYER_AP_BOTTLE_DEKU_PRINCESS,
|
||||
/* 0x1B */ PLAYER_AP_BOTTLE_GOLD_DUST,
|
||||
/* 0x1D */ PLAYER_AP_BOTTLE_SEAHORSE = 0x1D,
|
||||
/* 0x1C */ PLAYER_AP_BOTTLE_1C,
|
||||
/* 0x1D */ PLAYER_AP_BOTTLE_SEAHORSE,
|
||||
/* 0x1E */ PLAYER_AP_BOTTLE_MUSHROOM,
|
||||
/* 0x1F */ PLAYER_AP_BOTTLE_HYLIAN_LOACH,
|
||||
/* 0x20 */ PLAYER_AP_BOTTLE_BUG,
|
||||
@@ -128,9 +130,15 @@ typedef enum PlayerActionParam {
|
||||
/* 0x2F */ PLAYER_AP_DEED_SWAMP,
|
||||
/* 0x30 */ PLAYER_AP_DEED_MOUNTAIN,
|
||||
/* 0x31 */ PLAYER_AP_DEED_OCEAN,
|
||||
/* 0x33 */ PLAYER_AP_LETTER_MAMA = 0x33,
|
||||
/* 0x36 */ PLAYER_AP_PENDANT_OF_MEMORIES = 0x36,
|
||||
/* 0x3A */ PLAYER_AP_MASK_TRUTH = 0x3A,
|
||||
/* 0x32 */ PLAYER_AP_32,
|
||||
/* 0x33 */ PLAYER_AP_LETTER_MAMA,
|
||||
/* 0x34 */ PLAYER_AP_34,
|
||||
/* 0x35 */ PLAYER_AP_35,
|
||||
/* 0x36 */ PLAYER_AP_PENDANT_OF_MEMORIES,
|
||||
/* 0x37 */ PLAYER_AP_37,
|
||||
/* 0x38 */ PLAYER_AP_38,
|
||||
/* 0x39 */ PLAYER_AP_39,
|
||||
/* 0x3A */ PLAYER_AP_MASK_TRUTH,
|
||||
/* 0x3B */ PLAYER_AP_MASK_KAFEIS_MASK,
|
||||
/* 0x3C */ PLAYER_AP_MASK_ALL_NIGHT,
|
||||
/* 0x3D */ PLAYER_AP_MASK_BUNNY,
|
||||
@@ -155,7 +163,7 @@ typedef enum PlayerActionParam {
|
||||
/* 0x50 */ PLAYER_AP_MASK_ZORA,
|
||||
/* 0x51 */ PLAYER_AP_MASK_DEKU,
|
||||
/* 0x52 */ PLAYER_AP_LENS,
|
||||
/* 0xFD */ PLAYER_AP_MAX = 0xFD
|
||||
/* 0x53 */ PLAYER_AP_MAX
|
||||
} PlayerActionParam;
|
||||
|
||||
typedef enum {
|
||||
@@ -196,6 +204,134 @@ typedef enum {
|
||||
/* 34 */ PLAYER_MWA_MAX
|
||||
} PlayerMeleeWeaponAnimation;
|
||||
|
||||
typedef enum PlayerAnimType {
|
||||
/* 0 */ PLAYER_ANIMTYPE_0,
|
||||
/* 1 */ PLAYER_ANIMTYPE_1,
|
||||
/* 2 */ PLAYER_ANIMTYPE_2,
|
||||
/* 3 */ PLAYER_ANIMTYPE_3,
|
||||
/* 4 */ PLAYER_ANIMTYPE_4,
|
||||
/* 5 */ PLAYER_ANIMTYPE_5,
|
||||
/* 6 */ PLAYER_ANIMTYPE_MAX
|
||||
} PlayerAnimType;
|
||||
|
||||
typedef enum PlayerModelType {
|
||||
// left hand
|
||||
/* 0 */ PLAYER_MODELTYPE_LH_OPEN,
|
||||
/* 1 */ PLAYER_MODELTYPE_LH_CLOSED,
|
||||
/* 2 */ PLAYER_MODELTYPE_LH_ONE_HAND_SWORD,
|
||||
/* 3 */ PLAYER_MODELTYPE_LH_TWO_HAND_SWORD,
|
||||
/* 4 */ PLAYER_MODELTYPE_LH_4,
|
||||
/* 5 */ PLAYER_MODELTYPE_LH_BOTTLE,
|
||||
// right hand
|
||||
/* 6 */ PLAYER_MODELTYPE_RH_OPEN,
|
||||
/* 7 */ PLAYER_MODELTYPE_RH_CLOSED,
|
||||
/* 8 */ PLAYER_MODELTYPE_RH_SHIELD,
|
||||
/* 9 */ PLAYER_MODELTYPE_RH_BOW,
|
||||
/* 10 */ PLAYER_MODELTYPE_RH_INSTRUMENT,
|
||||
/* 11 */ PLAYER_MODELTYPE_RH_HOOKSHOT,
|
||||
// sheath
|
||||
/* 12 */ PLAYER_MODELTYPE_SHEATH_12,
|
||||
/* 13 */ PLAYER_MODELTYPE_SHEATH_13,
|
||||
/* 14 */ PLAYER_MODELTYPE_SHEATH_14,
|
||||
/* 15 */ PLAYER_MODELTYPE_SHEATH_15,
|
||||
// waist
|
||||
/* 16 */ PLAYER_MODELTYPE_WAIST,
|
||||
/* 17 */ PLAYER_MODELTYPE_17, // NULL?
|
||||
/* 18 */ PLAYER_MODELTYPE_MAX
|
||||
} PlayerModelType;
|
||||
|
||||
typedef struct PlayerModelIndices {
|
||||
/* 0x0 */ u8 modelAnimType; // PlayerAnimType enum
|
||||
/* 0x1 */ u8 leftHandType; // PlayerModelType enum
|
||||
/* 0x2 */ u8 rightHandType; // PlayerModelType enum
|
||||
/* 0x3 */ u8 sheathType; // PlayerModelType enum
|
||||
/* 0x4 */ u8 waistType; // PlayerModelType enum
|
||||
} PlayerModelIndices; // size = 0x5
|
||||
|
||||
typedef enum PlayerModelGroup {
|
||||
/* 0 */ PLAYER_MODELGROUP_0,
|
||||
/* 1 */ PLAYER_MODELGROUP_1,
|
||||
/* 2 */ PLAYER_MODELGROUP_ONE_HAND_SWORD,
|
||||
/* 3 */ PLAYER_MODELGROUP_DEFAULT, // non-specific models, for items that don't have particular link models
|
||||
/* 4 */ PLAYER_MODELGROUP_4,
|
||||
/* 5 */ PLAYER_MODELGROUP_TWO_HAND_SWORD,
|
||||
/* 6 */ PLAYER_MODELGROUP_BOW,
|
||||
/* 7 */ PLAYER_MODELGROUP_EXPLOSIVES,
|
||||
/* 8 */ PLAYER_MODELGROUP_8,
|
||||
/* 9 */ PLAYER_MODELGROUP_HOOKSHOT,
|
||||
/* 10 */ PLAYER_MODELGROUP_STICK,
|
||||
/* 11 */ PLAYER_MODELGROUP_INSTRUMENT,
|
||||
/* 12 */ PLAYER_MODELGROUP_BOTTLE,
|
||||
/* 13 */ PLAYER_MODELGROUP_13,
|
||||
/* 14 */ PLAYER_MODELGROUP_ZORA_FINS,
|
||||
/* 15 */ PLAYER_MODELGROUP_MAX
|
||||
} PlayerModelGroup;
|
||||
|
||||
typedef enum {
|
||||
/* 0 */ PLAYER_EYES_OPEN,
|
||||
/* 1 */ PLAYER_EYES_HALF,
|
||||
/* 2 */ PLAYER_EYES_CLOSED,
|
||||
/* 3 */ PLAYER_EYES_ROLL_RIGHT,
|
||||
/* 4 */ PLAYER_EYES_ROLL_LEFT,
|
||||
/* 5 */ PLAYER_EYES_ROLL_UP,
|
||||
/* 6 */ PLAYER_EYES_ROLL_DOWN,
|
||||
/* 7 */ PLAYER_EYES_7,
|
||||
/* 8 */ PLAYER_EYES_MAX
|
||||
} PlayerEyeIndex;
|
||||
|
||||
typedef enum {
|
||||
/* 0 */ PLAYER_MOUTH_CLOSED,
|
||||
/* 1 */ PLAYER_MOUTH_TEETH,
|
||||
/* 2 */ PLAYER_MOUTH_ANGRY,
|
||||
/* 3 */ PLAYER_MOUTH_HAPPY,
|
||||
/* 4 */ PLAYER_MOUTH_MAX
|
||||
} PlayerMouthIndex;
|
||||
|
||||
typedef enum {
|
||||
/* 0 */ PLAYER_FACE_0,
|
||||
/* 1 */ PLAYER_FACE_1,
|
||||
/* 2 */ PLAYER_FACE_2,
|
||||
/* 3 */ PLAYER_FACE_3,
|
||||
/* 4 */ PLAYER_FACE_4,
|
||||
/* 5 */ PLAYER_FACE_5,
|
||||
/* 6 */ PLAYER_FACE_6,
|
||||
/* 7 */ PLAYER_FACE_7,
|
||||
/* 8 */ PLAYER_FACE_8,
|
||||
/* 9 */ PLAYER_FACE_9,
|
||||
/* 10 */ PLAYER_FACE_10,
|
||||
/* 11 */ PLAYER_FACE_11,
|
||||
/* 12 */ PLAYER_FACE_12,
|
||||
/* 13 */ PLAYER_FACE_13,
|
||||
/* 14 */ PLAYER_FACE_14,
|
||||
/* 15 */ PLAYER_FACE_15
|
||||
} PlayerFacialExpression;
|
||||
|
||||
typedef enum {
|
||||
/* 0x00 */ PLAYER_LIMB_NONE,
|
||||
/* 0x01 */ PLAYER_LIMB_ROOT,
|
||||
/* 0x02 */ PLAYER_LIMB_WAIST,
|
||||
/* 0x03 */ PLAYER_LIMB_LOWER_ROOT,
|
||||
/* 0x04 */ PLAYER_LIMB_RIGHT_THIGH,
|
||||
/* 0x05 */ PLAYER_LIMB_RIGHT_SHIN,
|
||||
/* 0x06 */ PLAYER_LIMB_RIGHT_FOOT,
|
||||
/* 0x07 */ PLAYER_LIMB_LEFT_THIGH,
|
||||
/* 0x08 */ PLAYER_LIMB_LEFT_SHIN,
|
||||
/* 0x09 */ PLAYER_LIMB_LEFT_FOOT,
|
||||
/* 0x0A */ PLAYER_LIMB_UPPER_ROOT,
|
||||
/* 0x0B */ PLAYER_LIMB_HEAD,
|
||||
/* 0x0C */ PLAYER_LIMB_HAT,
|
||||
/* 0x0D */ PLAYER_LIMB_COLLAR,
|
||||
/* 0x0E */ PLAYER_LIMB_LEFT_SHOULDER,
|
||||
/* 0x0F */ PLAYER_LIMB_LEFT_FOREARM,
|
||||
/* 0x10 */ PLAYER_LIMB_LEFT_HAND,
|
||||
/* 0x11 */ PLAYER_LIMB_RIGHT_SHOULDER,
|
||||
/* 0x12 */ PLAYER_LIMB_RIGHT_FOREARM,
|
||||
/* 0x13 */ PLAYER_LIMB_RIGHT_HAND,
|
||||
/* 0x14 */ PLAYER_LIMB_SHEATH,
|
||||
/* 0x15 */ PLAYER_LIMB_TORSO,
|
||||
/* 0x16 */ PLAYER_LIMB_MAX
|
||||
} PlayerLimb;
|
||||
|
||||
typedef struct {
|
||||
/* 0x00 */ f32 unk_00;
|
||||
/* 0x04 */ f32 unk_04;
|
||||
@@ -245,7 +381,6 @@ typedef void (*PlayerFuncD58)(struct PlayState*, struct Player*);
|
||||
typedef struct {
|
||||
/* 0x00 */ u8 unk_00;
|
||||
/* 0x01 */ u8 alpha;
|
||||
/* 0x02 */ char unk_02[2]; // probably alignment padding
|
||||
/* 0x04 */ MtxF mf;
|
||||
} struct_80122D44_arg1_unk_04; // size = 0x44
|
||||
|
||||
@@ -420,7 +555,7 @@ typedef struct struct_80122744_arg1 {
|
||||
#define PLAYER_STATE3_400 (1 << 10)
|
||||
//
|
||||
#define PLAYER_STATE3_800 (1 << 11)
|
||||
//
|
||||
// being curled?
|
||||
#define PLAYER_STATE3_1000 (1 << 12)
|
||||
//
|
||||
#define PLAYER_STATE3_2000 (1 << 13)
|
||||
@@ -467,15 +602,15 @@ typedef struct Player {
|
||||
/* 0x144 */ s8 currentShield;
|
||||
/* 0x145 */ s8 currentBoots;
|
||||
/* 0x146 */ s8 heldItemButton;
|
||||
/* 0x147 */ s8 itemActionParam;
|
||||
/* 0x148 */ u8 heldItemId;
|
||||
/* 0x147 */ s8 itemActionParam; // PlayerActionParam enum
|
||||
/* 0x148 */ u8 heldItemId; // ItemId enum
|
||||
/* 0x149 */ s8 prevBoots;
|
||||
/* 0x14A */ s8 heldItemActionParam;
|
||||
/* 0x14B */ u8 transformation;
|
||||
/* 0x14C */ u8 modelGroup;
|
||||
/* 0x14C */ u8 modelGroup; // PlayerModelGroup enum
|
||||
/* 0x14D */ u8 nextModelGroup;
|
||||
/* 0x14E */ s8 unk_14E;
|
||||
/* 0x14F */ u8 modelAnimType;
|
||||
/* 0x14F */ u8 modelAnimType; // PlayerAnimType enum
|
||||
/* 0x150 */ u8 leftHandType;
|
||||
/* 0x151 */ u8 rightHandType;
|
||||
/* 0x152 */ u8 sheathType;
|
||||
|
||||
@@ -504,8 +504,6 @@ beginseg
|
||||
include "build/src/code/z_path.o"
|
||||
include "build/src/code/z_pause.o"
|
||||
include "build/src/code/z_player_lib.o"
|
||||
include "build/data/code/z_player_lib.data.o"
|
||||
include "build/data/code/z_player_lib.bss.o"
|
||||
include "build/src/code/z_prenmi.o"
|
||||
include "build/src/code/z_quake.o"
|
||||
include "build/src/code/z_rcp.o"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
#include "prevent_bss_reordering.h"
|
||||
#include "global.h"
|
||||
|
||||
u8 D_80096B20 = 1;
|
||||
|
||||
+56
-25
@@ -172,7 +172,7 @@ void ActorShadow_DrawFeet(Actor* actor, Lights* mapper, PlayState* play) {
|
||||
u8 shadowAlpha = actor->shape.shadowAlpha;
|
||||
f32 alphaRatio;
|
||||
|
||||
if ((actor->id == ACTOR_PLAYER) && (((Player*)actor)->stateFlags3 & 0x8000)) {
|
||||
if ((actor->id == ACTOR_PLAYER) && (((Player*)actor)->stateFlags3 & PLAYER_STATE3_8000)) {
|
||||
f32 prevScaleZ = actor->scale.z;
|
||||
|
||||
actor->scale.z += 0.03f * fabsf(Math_CosS(((Player*)actor)->unk_AAA));
|
||||
@@ -469,7 +469,8 @@ void Actor_TargetContextInit(TargetContext* targetCtx, Actor* actor, PlayState*
|
||||
void Actor_DrawZTarget(TargetContext* targetCtx, PlayState* play) {
|
||||
Player* player = GET_PLAYER(play);
|
||||
|
||||
if (!(player->stateFlags1 & 0x300006C2)) {
|
||||
if (!(player->stateFlags1 & (PLAYER_STATE1_2 | PLAYER_STATE1_40 | PLAYER_STATE1_80 | PLAYER_STATE1_200 |
|
||||
PLAYER_STATE1_400 | PLAYER_STATE1_10000000 | PLAYER_STATE1_20000000))) {
|
||||
Actor* actor = targetCtx->targetedActor;
|
||||
|
||||
OPEN_DISPS(play->state.gfxCtx);
|
||||
@@ -519,7 +520,7 @@ void Actor_DrawZTarget(TargetContext* targetCtx, PlayState* play) {
|
||||
|
||||
Target_SetPos(targetCtx, targetCtx->unk4C, projectedPos.x, projectedPos.y, projectedPos.z);
|
||||
|
||||
if ((!(player->stateFlags1 & 0x40)) || (actor != player->unk_730)) {
|
||||
if ((!(player->stateFlags1 & PLAYER_STATE1_40)) || (actor != player->unk_730)) {
|
||||
OVERLAY_DISP = Gfx_CallSetupDL(OVERLAY_DISP, 0x39);
|
||||
|
||||
for (spB0 = 0, spAC = targetCtx->unk4C; spB0 < spB8; spB0++, spAC = (spAC + 1) % 3) {
|
||||
@@ -1291,7 +1292,7 @@ void func_800B6F20(PlayState* play, Input* input, f32 magnitude, s16 baseYaw) {
|
||||
f32 Player_GetHeight(Player* player) {
|
||||
f32 extraHeight;
|
||||
|
||||
if (player->stateFlags1 & 0x800000) {
|
||||
if (player->stateFlags1 & PLAYER_STATE1_800000) {
|
||||
extraHeight = 32.0f;
|
||||
} else {
|
||||
extraHeight = 0.0f;
|
||||
@@ -1302,8 +1303,7 @@ f32 Player_GetHeight(Player* player) {
|
||||
case PLAYER_FORM_FIERCE_DEITY:
|
||||
return extraHeight + 124.0f;
|
||||
case PLAYER_FORM_GORON:
|
||||
// (player->stateFlags3 & 0x1000): being curled?
|
||||
return extraHeight + ((player->stateFlags3 & 0x1000) ? 34.0f : 80.0f);
|
||||
return extraHeight + ((player->stateFlags3 & PLAYER_STATE3_1000) ? 34.0f : 80.0f);
|
||||
case PLAYER_FORM_ZORA:
|
||||
return extraHeight + 68.0f;
|
||||
case PLAYER_FORM_DEKU:
|
||||
@@ -1314,9 +1314,9 @@ f32 Player_GetHeight(Player* player) {
|
||||
}
|
||||
|
||||
f32 Player_GetRunSpeedLimit(Player* player) {
|
||||
if (player->stateFlags1 & 0x800000) {
|
||||
if (player->stateFlags1 & PLAYER_STATE1_800000) {
|
||||
return 15.0f;
|
||||
} else if (player->stateFlags1 & 0x8000000) {
|
||||
} else if (player->stateFlags1 & PLAYER_STATE1_8000000) {
|
||||
return (R_RUN_SPEED_LIMIT / 100.0f) * 0.6f;
|
||||
} else {
|
||||
return R_RUN_SPEED_LIMIT / 100.0f;
|
||||
@@ -1324,7 +1324,7 @@ f32 Player_GetRunSpeedLimit(Player* player) {
|
||||
}
|
||||
|
||||
s32 func_800B7118(Player* player) {
|
||||
return player->stateFlags1 & 0x8;
|
||||
return player->stateFlags1 & PLAYER_STATE1_8;
|
||||
}
|
||||
|
||||
s32 func_800B7128(Player* player) {
|
||||
@@ -1334,7 +1334,7 @@ s32 func_800B7128(Player* player) {
|
||||
s32 func_800B715C(PlayState* play) {
|
||||
Player* player = GET_PLAYER(play);
|
||||
|
||||
return player->stateFlags2 & 0x8;
|
||||
return player->stateFlags2 & PLAYER_STATE2_8;
|
||||
}
|
||||
|
||||
void Actor_SetCameraHorseSetting(PlayState* play, Player* player) {
|
||||
@@ -1349,12 +1349,12 @@ void Actor_SetCameraHorseSetting(PlayState* play, Player* player) {
|
||||
|
||||
void Actor_MountHorse(PlayState* play, Player* player, Actor* horse) {
|
||||
player->rideActor = horse;
|
||||
player->stateFlags1 |= 0x800000;
|
||||
player->stateFlags1 |= PLAYER_STATE1_800000;
|
||||
horse->child = &player->actor;
|
||||
}
|
||||
|
||||
s32 func_800B7200(Player* player) {
|
||||
return (player->stateFlags1 & 0x20000080) || (player->csMode != 0);
|
||||
return (player->stateFlags1 & (PLAYER_STATE1_20000000 | PLAYER_STATE1_80)) || (player->csMode != 0);
|
||||
}
|
||||
|
||||
void func_800B722C(GameState* gameState, Player* player) {
|
||||
@@ -1999,13 +1999,16 @@ s32 Actor_HasParent(Actor* actor, PlayState* play) {
|
||||
s32 Actor_PickUp(Actor* actor, PlayState* play, s32 getItemId, f32 xzRange, f32 yRange) {
|
||||
Player* player = GET_PLAYER(play);
|
||||
|
||||
if (!(player->stateFlags1 & 0x3C7080) && Player_GetExplosiveHeld(player) < 0) {
|
||||
if (!(player->stateFlags1 &
|
||||
(PLAYER_STATE1_80 | PLAYER_STATE1_1000 | PLAYER_STATE1_2000 | PLAYER_STATE1_4000 | PLAYER_STATE1_40000 |
|
||||
PLAYER_STATE1_80000 | PLAYER_STATE1_100000 | PLAYER_STATE1_200000)) &&
|
||||
Player_GetExplosiveHeld(player) < 0) {
|
||||
if ((actor->xzDistToPlayer <= xzRange) && (fabsf(actor->playerHeightRel) <= fabsf(yRange))) {
|
||||
if ((getItemId == GI_MASK_CIRCUS_LEADER || getItemId == GI_PENDANT_OF_MEMORIES ||
|
||||
getItemId == GI_DEED_LAND ||
|
||||
((player->heldActor != NULL || actor == player->targetActor) &&
|
||||
(getItemId > GI_NONE && getItemId < GI_MAX))) ||
|
||||
!(player->stateFlags1 & 0x20000800)) {
|
||||
!(player->stateFlags1 & (PLAYER_STATE1_800 | PLAYER_STATE1_20000000))) {
|
||||
s16 yawDiff = actor->yawTowardsPlayer - player->actor.shape.rot.y;
|
||||
s32 absYawDiff = ABS_ALT(yawDiff);
|
||||
|
||||
@@ -2081,7 +2084,9 @@ s32 Actor_HasRider(PlayState* play, Actor* horse) {
|
||||
s32 Actor_SetRideActor(PlayState* play, Actor* horse, s32 mountSide) {
|
||||
Player* player = GET_PLAYER(play);
|
||||
|
||||
if (!(player->stateFlags1 & 0x003C7880)) {
|
||||
if (!(player->stateFlags1 &
|
||||
(PLAYER_STATE1_80 | PLAYER_STATE1_800 | PLAYER_STATE1_1000 | PLAYER_STATE1_2000 | PLAYER_STATE1_4000 |
|
||||
PLAYER_STATE1_40000 | PLAYER_STATE1_80000 | PLAYER_STATE1_100000 | PLAYER_STATE1_200000))) {
|
||||
player->rideActor = horse;
|
||||
player->mountSide = mountSide;
|
||||
ActorCutscene_SetIntentToPlay(0x7C);
|
||||
@@ -2353,7 +2358,7 @@ Actor* Actor_UpdateActor(UpdateActor_Params* params) {
|
||||
if (((params->unk_08) && !(actor->flags & params->unk_08)) ||
|
||||
((tmp = (params->unk_08 == 0)) &&
|
||||
(!(actor->flags & ACTOR_FLAG_100000) ||
|
||||
((actor->category == ACTORCAT_EXPLOSIVES) && (params->player->stateFlags1 & 0x200))) &&
|
||||
((actor->category == ACTORCAT_EXPLOSIVES) && (params->player->stateFlags1 & PLAYER_STATE1_200))) &&
|
||||
(params->unkC != 0) && (actor != params->unk10) && ((actor != params->player->heldActor)) &&
|
||||
(actor->parent != ¶ms->player->actor))) {
|
||||
CollisionCheck_ResetDamage(&actor->colChkInfo);
|
||||
@@ -2395,9 +2400,35 @@ Actor* Actor_UpdateActor(UpdateActor_Params* params) {
|
||||
return nextActor;
|
||||
}
|
||||
|
||||
u32 D_801AED58[] = {
|
||||
0x100002C2, 0x100002C2, 0x00000200, 0x100006C2, 0x00000282, 0x300002C2,
|
||||
0x10000282, 0x00000002, 0x300002C2, 0x100006C2, 0x00000002, 0x100002C2,
|
||||
u32 D_801AED58[ACTORCAT_MAX] = {
|
||||
/* ACTORCAT_SWITCH */
|
||||
PLAYER_STATE1_2 | PLAYER_STATE1_40 | PLAYER_STATE1_80 | PLAYER_STATE1_200 | PLAYER_STATE1_10000000,
|
||||
/* ACTORCAT_BG */
|
||||
PLAYER_STATE1_2 | PLAYER_STATE1_40 | PLAYER_STATE1_80 | PLAYER_STATE1_200 | PLAYER_STATE1_10000000,
|
||||
/* ACTORCAT_PLAYER */
|
||||
PLAYER_STATE1_200,
|
||||
/* ACTORCAT_EXPLOSIVES */
|
||||
PLAYER_STATE1_2 | PLAYER_STATE1_40 | PLAYER_STATE1_80 | PLAYER_STATE1_200 | PLAYER_STATE1_400 |
|
||||
PLAYER_STATE1_10000000,
|
||||
/* ACTORCAT_NPC */
|
||||
PLAYER_STATE1_2 | PLAYER_STATE1_80 | PLAYER_STATE1_200,
|
||||
/* ACTORCAT_ENEMY */
|
||||
PLAYER_STATE1_2 | PLAYER_STATE1_40 | PLAYER_STATE1_80 | PLAYER_STATE1_200 | PLAYER_STATE1_10000000 |
|
||||
PLAYER_STATE1_20000000,
|
||||
/* ACTORCAT_PROP */
|
||||
PLAYER_STATE1_2 | PLAYER_STATE1_80 | PLAYER_STATE1_200 | PLAYER_STATE1_10000000,
|
||||
/* ACTORCAT_ITEMACTION */
|
||||
PLAYER_STATE1_2,
|
||||
/* ACTORCAT_MISC */
|
||||
PLAYER_STATE1_2 | PLAYER_STATE1_40 | PLAYER_STATE1_80 | PLAYER_STATE1_200 | PLAYER_STATE1_10000000 |
|
||||
PLAYER_STATE1_20000000,
|
||||
/* ACTORCAT_BOSS */
|
||||
PLAYER_STATE1_2 | PLAYER_STATE1_40 | PLAYER_STATE1_80 | PLAYER_STATE1_200 | PLAYER_STATE1_400 |
|
||||
PLAYER_STATE1_10000000,
|
||||
/* ACTORCAT_DOOR */
|
||||
PLAYER_STATE1_2,
|
||||
/* ACTORCAT_CHEST */
|
||||
PLAYER_STATE1_2 | PLAYER_STATE1_40 | PLAYER_STATE1_80 | PLAYER_STATE1_200 | PLAYER_STATE1_10000000,
|
||||
};
|
||||
|
||||
void Actor_UpdateAll(PlayState* play, ActorContext* actorCtx) {
|
||||
@@ -2427,13 +2458,13 @@ void Actor_UpdateAll(PlayState* play, ActorContext* actorCtx) {
|
||||
|
||||
tmp = D_801AED58;
|
||||
|
||||
if (player->stateFlags2 & 0x8000000) {
|
||||
if (player->stateFlags2 & PLAYER_STATE2_8000000) {
|
||||
params.unk_08 = 0x2000000;
|
||||
} else {
|
||||
params.unk_08 = 0;
|
||||
}
|
||||
|
||||
if ((player->stateFlags1 & 0x40) && ((player->actor.textId & 0xFF00) != 0x1900)) {
|
||||
if ((player->stateFlags1 & PLAYER_STATE1_40) && ((player->actor.textId & 0xFF00) != 0x1900)) {
|
||||
params.unk10 = player->targetActor;
|
||||
} else {
|
||||
params.unk10 = NULL;
|
||||
@@ -2486,7 +2517,7 @@ void Actor_UpdateAll(PlayState* play, ActorContext* actorCtx) {
|
||||
}
|
||||
}
|
||||
|
||||
if (!(player->stateFlags1 & 2)) {
|
||||
if (!(player->stateFlags1 & PLAYER_STATE1_2)) {
|
||||
func_800B5814(&actorCtx->targetContext, player, actor, &play->state);
|
||||
}
|
||||
|
||||
@@ -2835,7 +2866,7 @@ void Actor_DrawAll(PlayState* play, ActorContext* actorCtx) {
|
||||
|
||||
if (play->actorCtx.lensActive) {
|
||||
Math_StepToC(&play->actorCtx.lensMaskSize, LENS_MASK_ACTIVE_SIZE, 20);
|
||||
if (GET_PLAYER(play)->stateFlags2 & 0x8000000) {
|
||||
if (GET_PLAYER(play)->stateFlags2 & PLAYER_STATE2_8000000) {
|
||||
Actor_DeactivateLens(play);
|
||||
}
|
||||
} else {
|
||||
@@ -3658,7 +3689,7 @@ s16 Actor_TestFloorInDirection(Actor* actor, PlayState* play, f32 distance, s16
|
||||
s32 Actor_IsTargeted(PlayState* play, Actor* actor) {
|
||||
Player* player = GET_PLAYER(play);
|
||||
|
||||
if ((player->stateFlags3 & 0x80000000) && actor->isTargeted) {
|
||||
if ((player->stateFlags3 & PLAYER_STATE3_80000000) && actor->isTargeted) {
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -3671,7 +3702,7 @@ s32 Actor_IsTargeted(PlayState* play, Actor* actor) {
|
||||
s32 Actor_OtherIsTargeted(PlayState* play, Actor* actor) {
|
||||
Player* player = GET_PLAYER(play);
|
||||
|
||||
if ((player->stateFlags3 & 0x80000000) && !actor->isTargeted) {
|
||||
if ((player->stateFlags3 & PLAYER_STATE3_80000000) && !actor->isTargeted) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#include "prevent_bss_reordering.h"
|
||||
#include "global.h"
|
||||
|
||||
Vec3f D_801EDE00;
|
||||
|
||||
+3
-2
@@ -1,3 +1,4 @@
|
||||
#include "prevent_bss_reordering.h"
|
||||
#include "global.h"
|
||||
#include "z64quake.h"
|
||||
#include "z64rumble.h"
|
||||
@@ -270,10 +271,10 @@ void Cutscene_Command_Misc(PlayState* play, CutsceneContext* csCtx, CsCmdBase* c
|
||||
gSaveContext.save.playerForm = PLAYER_FORM_DEKU;
|
||||
break;
|
||||
case 0x17:
|
||||
player->stateFlags2 |= 0x4000000;
|
||||
player->stateFlags2 |= PLAYER_STATE2_4000000;
|
||||
break;
|
||||
case 0x18:
|
||||
player->stateFlags2 &= ~0x4000000;
|
||||
player->stateFlags2 &= ~PLAYER_STATE2_4000000;
|
||||
break;
|
||||
case 0x19:
|
||||
sCutsceneStoredPlayerForm = gSaveContext.save.playerForm;
|
||||
|
||||
@@ -487,7 +487,7 @@ void EnItem00_Update(Actor* thisx, PlayState* play) {
|
||||
EnItem00* this = THIS;
|
||||
s32 pad;
|
||||
Player* player = GET_PLAYER(play);
|
||||
s32 sp38 = player->stateFlags3 & 0x1000;
|
||||
s32 sp38 = player->stateFlags3 & PLAYER_STATE3_1000;
|
||||
s32 getItemId = GI_NONE;
|
||||
s32 params;
|
||||
|
||||
|
||||
@@ -79,7 +79,7 @@ void KaleidoSetup_Update(PlayState* play) {
|
||||
if (!Play_InCsMode(play) || ((msgCtx->msgMode != 0) && (msgCtx->currentTextId == 0xFF))) {
|
||||
if ((play->unk_1887C < 2) && (gSaveContext.magicState != MAGIC_STATE_STEP_CAPACITY) &&
|
||||
(gSaveContext.magicState != MAGIC_STATE_FILL)) {
|
||||
if (!(gSaveContext.eventInf[1] & 0x80) && !(player->stateFlags1 & 0x20)) {
|
||||
if (!(gSaveContext.eventInf[1] & 0x80) && !(player->stateFlags1 & PLAYER_STATE1_20)) {
|
||||
if (!(play->actorCtx.flags & ACTORCTX_FLAG_1) &&
|
||||
!(play->actorCtx.flags & ACTORCTX_FLAG_2)) {
|
||||
if ((play->actorCtx.unk268 == 0) && CHECK_BTN_ALL(input->press.button, BTN_START)) {
|
||||
|
||||
+1252
-104
File diff suppressed because it is too large
Load Diff
@@ -2,7 +2,7 @@
|
||||
* File: z_shrink_window.c
|
||||
* Description: Draws black top/bottom/side borders on the viewing window (e.g. Z-targeting, talking to NPC)
|
||||
*/
|
||||
#include "prevent_bss_reordering.h"
|
||||
|
||||
#include "global.h"
|
||||
#include "z64shrink_window.h"
|
||||
|
||||
|
||||
@@ -107,9 +107,10 @@ void ArmsHook_DetachHookFromActor(ArmsHook* this) {
|
||||
|
||||
s32 ArmsHook_CheckForCancel(ArmsHook* this) {
|
||||
Player* player = (Player*)this->actor.parent;
|
||||
|
||||
if (Player_IsHoldingHookshot(player)) {
|
||||
if ((player->heldItemActionParam != player->itemActionParam) || ((player->actor.flags & ACTOR_FLAG_100)) ||
|
||||
((player->stateFlags1 & 0x4000080))) {
|
||||
if ((player->heldItemActionParam != player->itemActionParam) || (player->actor.flags & ACTOR_FLAG_100) ||
|
||||
(player->stateFlags1 & (PLAYER_STATE1_80 | PLAYER_STATE1_4000000))) {
|
||||
this->timer = 0;
|
||||
ArmsHook_DetachHookFromActor(this);
|
||||
Math_Vec3f_Copy(&this->actor.world.pos, &player->rightHandWorld.pos);
|
||||
@@ -143,7 +144,7 @@ void ArmsHook_Shoot(ArmsHook* this, PlayState* play) {
|
||||
if ((touchedActor->update != NULL) && (touchedActor->flags & (ACTOR_FLAG_200 | ACTOR_FLAG_400))) {
|
||||
if (this->collider.info.atHitInfo->bumperFlags & BUMP_HOOKABLE) {
|
||||
ArmsHook_AttachHookToActor(this, touchedActor);
|
||||
if ((touchedActor->flags & ACTOR_FLAG_400) == ACTOR_FLAG_400) {
|
||||
if (CHECK_FLAG_ALL(touchedActor->flags, ACTOR_FLAG_400)) {
|
||||
func_808C1154(this);
|
||||
}
|
||||
}
|
||||
@@ -155,28 +156,25 @@ void ArmsHook_Shoot(ArmsHook* this, PlayState* play) {
|
||||
}
|
||||
|
||||
if (DECR(this->timer) == 0) {
|
||||
Actor* grabbed;
|
||||
Actor* grabbed = this->grabbed;
|
||||
Vec3f bodyDistDiffVec;
|
||||
Vec3f newPos;
|
||||
f32 bodyDistDiff;
|
||||
f32 phi_f16;
|
||||
s32 pad;
|
||||
|
||||
grabbed = this->grabbed;
|
||||
if (grabbed != NULL) {
|
||||
if ((grabbed->update == NULL) || !CHECK_FLAG_ALL(grabbed->flags, ACTOR_FLAG_2000)) {
|
||||
grabbed = NULL;
|
||||
this->grabbed = NULL;
|
||||
} else {
|
||||
if (this->actor.child != NULL) {
|
||||
f32 sp94 = Actor_DistanceBetweenActors(&this->actor, grabbed);
|
||||
f32 sp90 = sqrtf(SQXYZ(this->unk1FC));
|
||||
} else if (this->actor.child != NULL) {
|
||||
f32 sp94 = Actor_DistanceBetweenActors(&this->actor, grabbed);
|
||||
f32 sp90 = sqrtf(SQXYZ(this->unk1FC));
|
||||
|
||||
Math_Vec3f_Diff(&grabbed->world.pos, &this->unk1FC, &this->actor.world.pos);
|
||||
if (50.0f < (sp94 - sp90)) {
|
||||
ArmsHook_DetachHookFromActor(this);
|
||||
grabbed = NULL;
|
||||
}
|
||||
Math_Vec3f_Diff(&grabbed->world.pos, &this->unk1FC, &this->actor.world.pos);
|
||||
if (50.0f < (sp94 - sp90)) {
|
||||
ArmsHook_DetachHookFromActor(this);
|
||||
grabbed = NULL;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -257,11 +255,10 @@ void ArmsHook_Shoot(ArmsHook* this, PlayState* play) {
|
||||
this->actor.world.pos.z += 10.0f * nz;
|
||||
this->timer = 1;
|
||||
if (SurfaceType_IsHookshotSurface(&play->colCtx, poly, bgId)) {
|
||||
{
|
||||
DynaPolyActor* dynaPolyActor;
|
||||
if (bgId != BGCHECK_SCENE && (dynaPolyActor = DynaPoly_GetActor(&play->colCtx, bgId)) != NULL) {
|
||||
ArmsHook_AttachHookToActor(this, &dynaPolyActor->actor);
|
||||
}
|
||||
DynaPolyActor* dynaPolyActor;
|
||||
|
||||
if ((bgId != BGCHECK_SCENE) && (dynaPolyActor = DynaPoly_GetActor(&play->colCtx, bgId)) != NULL) {
|
||||
ArmsHook_AttachHookToActor(this, &dynaPolyActor->actor);
|
||||
}
|
||||
func_808C1154(this);
|
||||
Audio_PlaySfxAtPos(&this->actor.projectedPos, NA_SE_IT_HOOKSHOT_STICK_OBJ);
|
||||
@@ -269,12 +266,11 @@ void ArmsHook_Shoot(ArmsHook* this, PlayState* play) {
|
||||
CollisionCheck_SpawnShieldParticlesMetal(play, &this->actor.world.pos);
|
||||
Audio_PlaySfxAtPos(&this->actor.projectedPos, NA_SE_IT_HOOKSHOT_REFLECT);
|
||||
}
|
||||
} else {
|
||||
if (CHECK_BTN_ANY(CONTROLLER1(&play->state)->press.button,
|
||||
BTN_A | BTN_B | BTN_R | BTN_CUP | BTN_CLEFT | BTN_CRIGHT | BTN_CDOWN)) {
|
||||
s32 pad;
|
||||
this->timer = 1;
|
||||
}
|
||||
} else if (CHECK_BTN_ANY(CONTROLLER1(&play->state)->press.button,
|
||||
BTN_A | BTN_B | BTN_R | BTN_CUP | BTN_CLEFT | BTN_CRIGHT | BTN_CDOWN)) {
|
||||
s32 pad;
|
||||
|
||||
this->timer = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -286,19 +282,19 @@ void ArmsHook_Update(Actor* thisx, PlayState* play) {
|
||||
this->unk1EC = this->unk1E0;
|
||||
}
|
||||
|
||||
static Vec3f D_808C1C10 = { 0.0f, 0.0f, 0.0f };
|
||||
static Vec3f D_808C1C1C = { 0.0f, 0.0f, 900.0f };
|
||||
static Vec3f D_808C1C28 = { 0.0f, 500.0f, -3000.0f };
|
||||
static Vec3f D_808C1C34 = { 0.0f, -500.0f, -3000.0f };
|
||||
static Vec3f D_808C1C40 = { 0.0f, 500.0f, 0.0f };
|
||||
static Vec3f D_808C1C4C = { 0.0f, -500.0f, 0.0f };
|
||||
Vec3f D_808C1C10 = { 0.0f, 0.0f, 0.0f };
|
||||
Vec3f D_808C1C1C = { 0.0f, 0.0f, 900.0f };
|
||||
Vec3f D_808C1C28 = { 0.0f, 500.0f, -3000.0f };
|
||||
Vec3f D_808C1C34 = { 0.0f, -500.0f, -3000.0f };
|
||||
Vec3f D_808C1C40 = { 0.0f, 500.0f, 0.0f };
|
||||
Vec3f D_808C1C4C = { 0.0f, -500.0f, 0.0f };
|
||||
|
||||
void ArmsHook_Draw(Actor* thisx, PlayState* play) {
|
||||
ArmsHook* this = THIS;
|
||||
f32 f0;
|
||||
Player* player = GET_PLAYER(play);
|
||||
|
||||
if (player->actor.draw != NULL && player->rightHandType == 0xB) {
|
||||
if ((player->actor.draw != NULL) && (player->rightHandType == PLAYER_MODELTYPE_RH_HOOKSHOT)) {
|
||||
Vec3f sp68;
|
||||
Vec3f sp5C;
|
||||
Vec3f sp50;
|
||||
@@ -311,13 +307,13 @@ void ArmsHook_Draw(Actor* thisx, PlayState* play) {
|
||||
Matrix_MultVec3f(&D_808C1C10, &this->unk1E0);
|
||||
Matrix_MultVec3f(&D_808C1C28, &sp5C);
|
||||
Matrix_MultVec3f(&D_808C1C34, &sp50);
|
||||
this->unk_1C4.active = false;
|
||||
this->weaponInfo.active = false;
|
||||
} else {
|
||||
Matrix_MultVec3f(&D_808C1C1C, &this->unk1E0);
|
||||
Matrix_MultVec3f(&D_808C1C40, &sp5C);
|
||||
Matrix_MultVec3f(&D_808C1C4C, &sp50);
|
||||
}
|
||||
func_80126440(play, &this->collider, &this->unk_1C4, &sp5C, &sp50);
|
||||
func_80126440(play, &this->collider, &this->weaponInfo, &sp5C, &sp50);
|
||||
func_8012C28C(play->state.gfxCtx);
|
||||
func_80122868(play, player);
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ typedef void (*ArmsHookActionFunc)(struct ArmsHook*, PlayState*);
|
||||
typedef struct ArmsHook {
|
||||
/* 0x000 */ Actor actor;
|
||||
/* 0x144 */ ColliderQuad collider;
|
||||
/* 0x1C4 */ WeaponInfo unk_1C4;
|
||||
/* 0x1C4 */ WeaponInfo weaponInfo;
|
||||
/* 0x1E0 */ Vec3f unk1E0;
|
||||
/* 0x1EC */ Vec3f unk1EC;
|
||||
/* 0x1F8 */ Actor* grabbed;
|
||||
|
||||
@@ -390,7 +390,7 @@ void func_80A2A32C(BgDblueMovebg* this, PlayState* play) {
|
||||
this->unk_172 |= 8;
|
||||
this->actionFunc = func_80A2A444;
|
||||
} else {
|
||||
player->stateFlags2 &= ~0x10;
|
||||
player->stateFlags2 &= ~PLAYER_STATE2_10;
|
||||
this->dyna.pushForce = 0.0f;
|
||||
}
|
||||
}
|
||||
@@ -410,7 +410,7 @@ void func_80A2A444(BgDblueMovebg* this, PlayState* play) {
|
||||
this->dyna.actor.shape.rot.y =
|
||||
(s32)((this->unk_18C + temp_v0) * 0.1f * (0x10000 / 360.0f)) + this->dyna.actor.home.rot.y;
|
||||
|
||||
if ((player->stateFlags2 & 0x10) && (this->unk_184 > 0.0f)) {
|
||||
if ((player->stateFlags2 & PLAYER_STATE2_10) && (this->unk_184 > 0.0f)) {
|
||||
player->actor.world.pos.x =
|
||||
(Math_SinS(this->dyna.actor.shape.rot.y - this->unk_18E) * this->unk_184) + this->dyna.actor.home.pos.x;
|
||||
player->actor.world.pos.z =
|
||||
@@ -420,7 +420,7 @@ void func_80A2A444(BgDblueMovebg* this, PlayState* play) {
|
||||
}
|
||||
|
||||
if (sp20) {
|
||||
player->stateFlags2 &= ~0x10;
|
||||
player->stateFlags2 &= ~PLAYER_STATE2_10;
|
||||
this->dyna.pushForce = 0.0f;
|
||||
Flags_SetSwitch(play, this->unk_1C0);
|
||||
Actor_PlaySfxAtPos(&this->dyna.actor, NA_SE_EV_STONEDOOR_STOP);
|
||||
@@ -498,7 +498,7 @@ void func_80A2A7F8(BgDblueMovebg* this, PlayState* play) {
|
||||
this->dyna.actor.shape.rot.y =
|
||||
(s32)((this->unk_18C + sp26) * 0.1f * (0x10000 / 360.0f)) + this->dyna.actor.home.rot.y;
|
||||
|
||||
if ((player->stateFlags2 & 0x10) && (this->unk_184 > 0.0f)) {
|
||||
if ((player->stateFlags2 & PLAYER_STATE2_10) && (this->unk_184 > 0.0f)) {
|
||||
player->actor.world.pos.x =
|
||||
(Math_SinS(this->dyna.actor.shape.rot.y - this->unk_18E) * this->unk_184) + this->dyna.actor.home.pos.x;
|
||||
player->actor.world.pos.z =
|
||||
@@ -516,8 +516,8 @@ void func_80A2A7F8(BgDblueMovebg* this, PlayState* play) {
|
||||
Flags_UnsetSwitch(play, this->unk_1C0);
|
||||
}
|
||||
|
||||
player->stateFlags1 |= 0x20;
|
||||
player->stateFlags2 &= ~0x10;
|
||||
player->stateFlags1 |= PLAYER_STATE1_20;
|
||||
player->stateFlags2 &= ~PLAYER_STATE2_10;
|
||||
this->dyna.pushForce = 0.0f;
|
||||
|
||||
this->unk_18C = (this->unk_18C + sp26 + 3600) % 3600;
|
||||
@@ -565,12 +565,12 @@ void func_80A2AAB8(BgDblueMovebg* this, PlayState* play) {
|
||||
|
||||
if (this->unk_1D0 == 1) {
|
||||
this->dyna.pushForce = 0.0f;
|
||||
player->stateFlags1 |= 0x20;
|
||||
player->stateFlags2 &= ~0x10;
|
||||
player->stateFlags1 |= PLAYER_STATE1_20;
|
||||
player->stateFlags2 &= ~PLAYER_STATE2_10;
|
||||
}
|
||||
|
||||
if (this->unk_1D0 <= 0) {
|
||||
player->stateFlags1 &= ~0x20;
|
||||
player->stateFlags1 &= ~PLAYER_STATE1_20;
|
||||
this->actionFunc = func_80A2A714;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -240,7 +240,7 @@ void func_80B7F0D0(BgIkanaBlock* this, PlayState* play) {
|
||||
if ((sp24 != 2) && (this->unk_17A & (0x8 | 0x4 | 0x2 | 0x1))) {
|
||||
Player* player = GET_PLAYER(play);
|
||||
|
||||
player->stateFlags2 &= ~0x10;
|
||||
player->stateFlags2 &= ~PLAYER_STATE2_10;
|
||||
this->dyna.pushForce = 0.0f;
|
||||
}
|
||||
|
||||
@@ -297,7 +297,7 @@ void func_80B7F290(BgIkanaBlock* this, PlayState* play) {
|
||||
Actor_PlaySfxAtPos(&this->dyna.actor, NA_SE_EV_BLOCK_BOUND);
|
||||
}
|
||||
|
||||
player->stateFlags2 &= ~0x10;
|
||||
player->stateFlags2 &= ~PLAYER_STATE2_10;
|
||||
this->dyna.pushForce = 0.0f;
|
||||
|
||||
if (func_80B7EDC4(this, play)) {
|
||||
|
||||
@@ -226,7 +226,8 @@ void BgIkninSusceil_Update(Actor* thisx, PlayState* play) {
|
||||
BgIkninSusceil* this = THIS;
|
||||
Player* player = GET_PLAYER(play);
|
||||
|
||||
if ((this->unk168 == 0) && (this->unk166 > 0) && (player->stateFlags3 & 0x100) && (player->unk_B48 > 1000.0f)) {
|
||||
if ((this->unk168 == 0) && (this->unk166 > 0) && (player->stateFlags3 & PLAYER_STATE3_100) &&
|
||||
(player->unk_B48 > 1000.0f)) {
|
||||
this->unk168 = 2;
|
||||
if ((func_80C0A95C(this, play) != 0) && (this->actionFunc != func_80C0AE5C)) {
|
||||
func_800B8E58(player, NA_SE_PL_BODY_HIT);
|
||||
@@ -242,7 +243,7 @@ void BgIkninSusceil_Update(Actor* thisx, PlayState* play) {
|
||||
|
||||
if ((this->dyna.actor.home.pos.y + 70.0f) < this->dyna.actor.world.pos.y) {
|
||||
this->unk166 = 0;
|
||||
} else if (player->stateFlags3 & 0x100) {
|
||||
} else if (player->stateFlags3 & PLAYER_STATE3_100) {
|
||||
this->unk166 = 3;
|
||||
} else {
|
||||
if (this->unk166 > 0) {
|
||||
|
||||
@@ -215,11 +215,11 @@ void func_80953F9C(BgIngate* this, PlayState* play) {
|
||||
if (ActorCutscene_GetCurrentIndex() != this->unk16E) {
|
||||
if (ActorCutscene_GetCurrentIndex() != -1) {
|
||||
Camera_ChangeSetting(mainCam, CAM_SET_NORMAL0);
|
||||
player->stateFlags1 |= 0x20;
|
||||
player->stateFlags1 |= PLAYER_STATE1_20;
|
||||
play->actorCtx.flags &= ~ACTORCTX_FLAG_2;
|
||||
} else {
|
||||
Camera_ChangeSetting(mainCam, CAM_SET_BOAT_CRUISE);
|
||||
player->stateFlags1 &= ~0x20;
|
||||
player->stateFlags1 &= ~PLAYER_STATE1_20;
|
||||
}
|
||||
}
|
||||
this->unk16E = ActorCutscene_GetCurrentIndex();
|
||||
|
||||
@@ -260,7 +260,7 @@ void func_80B700C0(BgKin2Shelf* this, PlayState* play) {
|
||||
} else {
|
||||
Player* player = GET_PLAYER(play);
|
||||
|
||||
player->stateFlags2 &= ~0x10;
|
||||
player->stateFlags2 &= ~PLAYER_STATE2_10;
|
||||
this->dyna.pushForce = 0.0f;
|
||||
}
|
||||
} else {
|
||||
@@ -292,7 +292,7 @@ void func_80B70230(BgKin2Shelf* this, PlayState* play) {
|
||||
Player* player = GET_PLAYER(play);
|
||||
|
||||
this->unk_160 = 1.0f;
|
||||
player->stateFlags2 &= ~0x10;
|
||||
player->stateFlags2 &= ~PLAYER_STATE2_10;
|
||||
this->dyna.pushForce = 0.0f;
|
||||
|
||||
if (this->unk_164 & 8) {
|
||||
@@ -339,7 +339,7 @@ void func_80B704B4(BgKin2Shelf* this, PlayState* play) {
|
||||
Player* player = GET_PLAYER(play);
|
||||
|
||||
this->unk_160 = 1.0f;
|
||||
player->stateFlags2 &= ~0x10;
|
||||
player->stateFlags2 &= ~PLAYER_STATE2_10;
|
||||
this->dyna.pushForce = 0.0f;
|
||||
|
||||
if (this->unk_164 & 4) {
|
||||
|
||||
@@ -311,7 +311,7 @@ void func_809CE4C8(BgSpdweb* this, PlayState* play) {
|
||||
this->unk_164 = temp_f12;
|
||||
this->unk_162 = 12;
|
||||
if (sp3A > 50) {
|
||||
player->stateFlags1 |= 0x20;
|
||||
player->stateFlags1 |= PLAYER_STATE1_20;
|
||||
this->unk_161 = 1;
|
||||
}
|
||||
} else if (player->actor.speedXZ != 0.0f) {
|
||||
@@ -332,7 +332,7 @@ void func_809CE4C8(BgSpdweb* this, PlayState* play) {
|
||||
player->actor.velocity.y = this->unk_164 * 0.7f;
|
||||
player->unk_B68 = (SQ(this->unk_164) * 0.15f) + this->dyna.actor.world.pos.y;
|
||||
this->unk_161 = 0;
|
||||
player->stateFlags1 &= ~0x20;
|
||||
player->stateFlags1 &= ~PLAYER_STATE1_20;
|
||||
}
|
||||
} else if (this->unk_162 == 11) {
|
||||
if (this->unk_164 > 3.0f) {
|
||||
|
||||
@@ -67,7 +67,8 @@ void BgTobira01_Open(BgTobira01* this, PlayState* play) {
|
||||
this->timer2 = 180;
|
||||
}
|
||||
|
||||
if (!(player->stateFlags1 & 0x40) && (gSaveContext.save.weekEventReg[88] & 0x40) && (DECR(this->timer2) == 0)) {
|
||||
if (!(player->stateFlags1 & PLAYER_STATE1_40) && (gSaveContext.save.weekEventReg[88] & 0x40) &&
|
||||
(DECR(this->timer2) == 0)) {
|
||||
gSaveContext.save.weekEventReg[88] &= (u8)~0x40;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1632,7 +1632,7 @@ void func_809DD934(Boss02* this, PlayState* play) {
|
||||
|
||||
switch (this->unk_1D18) {
|
||||
case 0:
|
||||
if (player->stateFlags1 & 0x100) {
|
||||
if (player->stateFlags1 & PLAYER_STATE1_100) {
|
||||
Cutscene_Start(play, &play->csCtx);
|
||||
this->subCamId = Play_CreateSubCamera(play);
|
||||
Play_ChangeCameraStatus(play, CAM_ID_MAIN, CAM_STATUS_WAIT);
|
||||
@@ -1755,7 +1755,7 @@ void func_809DD934(Boss02* this, PlayState* play) {
|
||||
this->subCamId = SUB_CAM_ID_DONE;
|
||||
Cutscene_End(play, &play->csCtx);
|
||||
this->actor.flags |= ACTOR_FLAG_1;
|
||||
player->stateFlags1 &= ~0x100;
|
||||
player->stateFlags1 &= ~PLAYER_STATE1_100;
|
||||
this->unk_1D70 = 0.01f;
|
||||
func_80165690();
|
||||
break;
|
||||
|
||||
@@ -252,7 +252,7 @@ void func_809EC568(Boss04* this, PlayState* play) {
|
||||
case 0:
|
||||
this->unk_2C8 = 50;
|
||||
this->unk_2D0 = 2000.0f;
|
||||
if ((player->stateFlags1 & 0x100000) && (this->actor.projectedPos.z > 0.0f) &&
|
||||
if ((player->stateFlags1 & PLAYER_STATE1_100000) && (this->actor.projectedPos.z > 0.0f) &&
|
||||
(fabsf(this->actor.projectedPos.x) < 300.0f) && (fabsf(this->actor.projectedPos.y) < 300.0f)) {
|
||||
if ((this->unk_704 >= 15) && (ActorCutscene_GetCurrentIndex() == -1)) {
|
||||
Actor* boss;
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
* Description: Igos du Ikana window - curtains and ray effects
|
||||
*/
|
||||
|
||||
#include "prevent_bss_reordering.h"
|
||||
#include "z_boss_06.h"
|
||||
#include "z64shrink_window.h"
|
||||
#include "overlays/actors/ovl_En_Knight/z_en_knight.h"
|
||||
@@ -29,11 +28,11 @@ void func_809F2E34(Boss06* this, PlayState* play);
|
||||
void func_809F2ED0(Boss06* this, PlayState* play);
|
||||
void func_809F2EE8(Boss06* this, PlayState* play);
|
||||
|
||||
static Vec3f D_809F4370[128];
|
||||
static EnKnight* D_809F4970;
|
||||
static s32 D_809F4974;
|
||||
static s32 D_809F4978;
|
||||
static s32 D_809F497C;
|
||||
Vec3f D_809F4370[128];
|
||||
EnKnight* D_809F4970;
|
||||
s32 D_809F4974;
|
||||
s32 D_809F4978;
|
||||
s32 D_809F497C;
|
||||
|
||||
static DamageTable sDamageTable = {
|
||||
/* Deku Nut */ DMG_ENTRY(0, 0xF),
|
||||
@@ -102,7 +101,7 @@ static ColliderCylinderInit sCylinderInit = {
|
||||
{ 90, 140, 10, { 0, 0, 0 } },
|
||||
};
|
||||
|
||||
static Vec3f D_809F40EC[] = {
|
||||
Vec3f D_809F40EC[] = {
|
||||
{ 1081.0f, 235.0f, 3224.0f },
|
||||
{ 676.0f, 235.0f, 3224.0f },
|
||||
};
|
||||
|
||||
@@ -164,7 +164,7 @@ void func_80AA8698(DmChar01* this, PlayState* play) {
|
||||
return;
|
||||
}
|
||||
|
||||
if ((player->stateFlags2 & 0x8000000) && (player2->actor.world.pos.x > -40.0f) &&
|
||||
if ((player->stateFlags2 & PLAYER_STATE2_8000000) && (player2->actor.world.pos.x > -40.0f) &&
|
||||
(player2->actor.world.pos.x < 40.0f) && (player2->actor.world.pos.z > 1000.0f) &&
|
||||
(player2->actor.world.pos.z < 1078.0f)) {
|
||||
if (!D_80AAAAB4) {
|
||||
|
||||
@@ -1272,7 +1272,7 @@ void DmStk_ClockTower_DeflectHit(DmStk* this, PlayState* play) {
|
||||
this->deflectCount++;
|
||||
if (this->deflectCount >= 3) {
|
||||
this->deflectCount = 0;
|
||||
if (!(player->stateFlags2 & 0x8000000)) {
|
||||
if (!(player->stateFlags2 & PLAYER_STATE2_8000000)) {
|
||||
// That won't do you any good
|
||||
Message_StartTextbox(play, 0x2013, &this->actor);
|
||||
}
|
||||
@@ -1720,7 +1720,7 @@ void DmStk_ClockTower_IdleWithOcarina(DmStk* this, PlayState* play) {
|
||||
this->tatlMessageTimer++;
|
||||
if (this->tatlMessageTimer > 800) {
|
||||
this->tatlMessageTimer = 0;
|
||||
if (!(player->stateFlags2 & 0x8000000)) {
|
||||
if (!(player->stateFlags2 & PLAYER_STATE2_8000000)) {
|
||||
// Why are you just standing around?
|
||||
Message_StartTextbox(play, 0x2014, &this->actor);
|
||||
}
|
||||
|
||||
@@ -131,7 +131,8 @@ void DoorAna_WaitOpen(DoorAna* this, PlayState* play) {
|
||||
|
||||
if (Math_StepToF(&this->actor.scale.x, 0.01f, 0.001f)) {
|
||||
if ((this->actor.targetMode != 0) && (play->transitionTrigger == TRANS_TRIGGER_OFF) &&
|
||||
(play->transitionMode == TRANS_MODE_OFF) && (player->stateFlags1 & 0x80000000) && (player->unk_AE7 == 0)) {
|
||||
(play->transitionMode == TRANS_MODE_OFF) && (player->stateFlags1 & PLAYER_STATE1_80000000) &&
|
||||
(player->unk_AE7 == 0)) {
|
||||
|
||||
if (grottoType == DOORANA_TYPE_VISIBLE_SCENE_EXIT) {
|
||||
s32 exitIndex = DOORANA_GET_EXIT_INDEX(&this->actor);
|
||||
@@ -157,10 +158,10 @@ void DoorAna_WaitOpen(DoorAna* this, PlayState* play) {
|
||||
|
||||
DoorAna_SetupAction(this, DoorAna_GrabLink);
|
||||
|
||||
} else if (!Play_InCsMode(play) && !(player->stateFlags1 & 0x08800000) &&
|
||||
} else if (!Play_InCsMode(play) && !(player->stateFlags1 & (PLAYER_STATE1_8000000 | PLAYER_STATE1_800000)) &&
|
||||
(this->actor.xzDistToPlayer <= 20.0f) && (this->actor.playerHeightRel >= -50.0f) &&
|
||||
(this->actor.playerHeightRel <= 15.0f)) {
|
||||
player->stateFlags1 |= 0x80000000;
|
||||
player->stateFlags1 |= PLAYER_STATE1_80000000;
|
||||
this->actor.targetMode = 1;
|
||||
|
||||
} else {
|
||||
|
||||
@@ -566,7 +566,7 @@ void func_808A1884(DoorShutter* this, PlayState* play) {
|
||||
this->unk_15C = 0;
|
||||
this->actor.velocity.y = 0.0f;
|
||||
|
||||
if (DoorShutter_SetupDoor(this, play) && !(player->stateFlags1 & 0x800)) {
|
||||
if (DoorShutter_SetupDoor(this, play) && !(player->stateFlags1 & PLAYER_STATE1_800)) {
|
||||
DoorShutter_SetupAction(this, func_808A1C50);
|
||||
if (ActorCutscene_GetCurrentIndex() == 0x7D) {
|
||||
func_801226E0(play, ((void)0, gSaveContext.respawn[RESPAWN_MODE_DOWN].data));
|
||||
@@ -633,7 +633,8 @@ void DoorShutter_Update(Actor* thisx, PlayState* play) {
|
||||
DoorShutter* this = THIS;
|
||||
Player* player = GET_PLAYER(play);
|
||||
|
||||
if (!(player->stateFlags1 & 0x100004C0) || (this->actionFunc == DoorShutter_SetupType)) {
|
||||
if (!(player->stateFlags1 & (PLAYER_STATE1_40 | PLAYER_STATE1_80 | PLAYER_STATE1_400 | PLAYER_STATE1_10000000)) ||
|
||||
(this->actionFunc == DoorShutter_SetupType)) {
|
||||
this->actionFunc(this, play);
|
||||
|
||||
if (this->unk_163 == 7) {
|
||||
|
||||
@@ -290,7 +290,7 @@ void DoorSpiral_Wait(DoorSpiral* this, PlayState* play) {
|
||||
void DoorSpiral_PlayerClimb(DoorSpiral* this, PlayState* play) {
|
||||
Player* player = GET_PLAYER(play);
|
||||
|
||||
if (!(player->stateFlags1 & 0x20000000)) {
|
||||
if (!(player->stateFlags1 & PLAYER_STATE1_20000000)) {
|
||||
DoorSpiral_SetupAction(this, DoorSpiral_WaitForObject);
|
||||
this->shouldClimb = 0;
|
||||
}
|
||||
@@ -301,7 +301,8 @@ void DoorSpiral_Update(Actor* thisx, PlayState* play) {
|
||||
s32 pad;
|
||||
Player* player = GET_PLAYER(play);
|
||||
|
||||
if ((!(player->stateFlags1 & 0x100004C0)) || (this->actionFunc == DoorSpiral_WaitForObject)) {
|
||||
if (!(player->stateFlags1 & (PLAYER_STATE1_40 | PLAYER_STATE1_80 | PLAYER_STATE1_400 | PLAYER_STATE1_10000000)) ||
|
||||
(this->actionFunc == DoorSpiral_WaitForObject)) {
|
||||
this->actionFunc(this, play);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -171,7 +171,7 @@ void func_80919230(EffDust* this, PlayState* play) {
|
||||
s32 i;
|
||||
s32 j;
|
||||
|
||||
if (parent == NULL || parent->update == NULL || !(player->stateFlags1 & 0x1000)) {
|
||||
if (parent == NULL || parent->update == NULL || !(player->stateFlags1 & PLAYER_STATE1_1000)) {
|
||||
if (this->life != 0) {
|
||||
this->life--;
|
||||
} else {
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
* Description: Wave Created by Turtle Awakening
|
||||
*/
|
||||
|
||||
#include "prevent_bss_reordering.h"
|
||||
#include "z_eff_kamejima_wave.h"
|
||||
#include "objects/object_kamejima/object_kamejima.h"
|
||||
|
||||
|
||||
@@ -307,7 +307,7 @@ s32 func_80BD3198(EnAh* this, PlayState* play) {
|
||||
Player* player = GET_PLAYER(play);
|
||||
u16 temp = play->msgCtx.currentTextId;
|
||||
|
||||
if (player->stateFlags1 & 0x40) {
|
||||
if (player->stateFlags1 & PLAYER_STATE1_40) {
|
||||
if (this->unk_2DA != temp) {
|
||||
if (temp == 0x2954) {
|
||||
this->unk_18C = func_80BD3118;
|
||||
|
||||
@@ -575,7 +575,7 @@ s32 func_80BDF064(EnAl* this, PlayState* play) {
|
||||
Actor* sp1C = func_80BDE1A0(this, play, 4, 0xA4);
|
||||
Actor* temp_v0 = func_80BDE1A0(this, play, 4, 0x234);
|
||||
|
||||
if (player->stateFlags1 & 0x40) {
|
||||
if (player->stateFlags1 & PLAYER_STATE1_40) {
|
||||
this->unk_4C2 |= 0x400;
|
||||
if (this->unk_4C4 != sp22) {
|
||||
switch (sp22) {
|
||||
|
||||
@@ -489,7 +489,7 @@ void func_809C1EC8(EnAob01* this, PlayState* play) {
|
||||
func_809C10B0(this, 3);
|
||||
SubS_FillLimbRotTables(play, this->unk_2F8, this->unk_318, ARRAY_COUNT(this->unk_2F8));
|
||||
func_809C165C(this, play);
|
||||
if (player->stateFlags1 & 0x20) {
|
||||
if (player->stateFlags1 & PLAYER_STATE1_20) {
|
||||
func_809C1124();
|
||||
}
|
||||
}
|
||||
@@ -876,7 +876,7 @@ void func_809C2F34(EnAob01* this, PlayState* play) {
|
||||
player->actor.world.pos.z = 1464.0f;
|
||||
player->actor.shape.rot.y = player->actor.world.rot.y;
|
||||
player->actor.draw = NULL;
|
||||
player->stateFlags1 |= 0x20;
|
||||
player->stateFlags1 |= PLAYER_STATE1_20;
|
||||
this->actor.world.pos.x = -4308.0f;
|
||||
this->actor.world.pos.z = 1620.0f;
|
||||
this->actor.prevPos = this->actor.world.pos;
|
||||
|
||||
@@ -381,7 +381,7 @@ void EnBigokuta_PlayDeathCutscene(EnBigokuta* this, PlayState* play) {
|
||||
func_800B724C(play, &this->picto.actor, 7);
|
||||
} else {
|
||||
player = GET_PLAYER(play);
|
||||
player->stateFlags1 |= 0x20;
|
||||
player->stateFlags1 |= PLAYER_STATE1_20;
|
||||
}
|
||||
|
||||
if (this->drawDmgEffType == ACTOR_DRAW_DMGEFF_FROZEN_NO_SFX) {
|
||||
@@ -458,7 +458,7 @@ void EnBigokuta_PlayDeathEffects(EnBigokuta* this, PlayState* play) {
|
||||
} else {
|
||||
Player* player = GET_PLAYER(play);
|
||||
|
||||
player->stateFlags1 &= ~0x20;
|
||||
player->stateFlags1 &= ~PLAYER_STATE1_20;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -728,7 +728,7 @@ void EnBigslime_SetMinislimeBreakLocation(EnBigslime* this) {
|
||||
void EnBigslime_SetPlayerParams(EnBigslime* this, PlayState* play) {
|
||||
Player* player = GET_PLAYER(play);
|
||||
|
||||
if (player->stateFlags2 & 0x80) {
|
||||
if (player->stateFlags2 & PLAYER_STATE2_80) {
|
||||
player->actor.parent = NULL;
|
||||
player->unk_AE8 = 100;
|
||||
func_800B8D98(play, &this->actor, 10.0f, this->actor.world.rot.y, 10.0f);
|
||||
@@ -1709,7 +1709,7 @@ void EnBigslime_WindupThrowPlayer(EnBigslime* this, PlayState* play) {
|
||||
|
||||
scale = 0.5f - cos_rad(-this->windupPunchTimer * (M_PI / 5)) * 0.5f;
|
||||
if (this->windupPunchTimer == -5) {
|
||||
if (player->stateFlags2 & 0x80) {
|
||||
if (player->stateFlags2 & PLAYER_STATE2_80) {
|
||||
player->actor.parent = NULL;
|
||||
player->unk_AE8 = 100;
|
||||
}
|
||||
|
||||
@@ -433,7 +433,7 @@ void EnBom_Update(Actor* thisx, PlayState* play) {
|
||||
s32 pad;
|
||||
Player* player = GET_PLAYER(play);
|
||||
|
||||
if (player->stateFlags1 & 2) {
|
||||
if (player->stateFlags1 & PLAYER_STATE1_2) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -163,7 +163,7 @@ void func_808AEAE0(EnBombf* this, PlayState* play) {
|
||||
player->heldActor = NULL;
|
||||
player->interactRangeActor = NULL;
|
||||
this->actor.parent = NULL;
|
||||
player->stateFlags1 &= ~0x800;
|
||||
player->stateFlags1 &= ~PLAYER_STATE1_800;
|
||||
}
|
||||
} else if ((this->colliderCylinder.base.acFlags & AC_HIT) &&
|
||||
((this->colliderCylinder.info.acHitInfo->toucher.dmgFlags & 0x13828) ||
|
||||
@@ -200,7 +200,7 @@ void func_808AEAE0(EnBombf* this, PlayState* play) {
|
||||
player->heldActor = NULL;
|
||||
player->interactRangeActor = NULL;
|
||||
this->actor.parent = NULL;
|
||||
player->stateFlags1 &= ~0x800;
|
||||
player->stateFlags1 &= ~PLAYER_STATE1_800;
|
||||
this->actor.world.pos = this->actor.home.pos;
|
||||
}
|
||||
}
|
||||
@@ -217,7 +217,7 @@ void func_808AEAE0(EnBombf* this, PlayState* play) {
|
||||
player->heldActor = NULL;
|
||||
player->interactRangeActor = NULL;
|
||||
this->actor.parent = NULL;
|
||||
player->stateFlags1 &= ~0x800;
|
||||
player->stateFlags1 &= ~PLAYER_STATE1_800;
|
||||
this->actor.world.pos = this->actor.home.pos;
|
||||
}
|
||||
}
|
||||
@@ -299,11 +299,11 @@ void func_808AEFD4(EnBombf* this, PlayState* play) {
|
||||
if (this->timer == 0) {
|
||||
Player* player = GET_PLAYER(play);
|
||||
|
||||
if ((player->stateFlags1 & 0x800) && (&this->actor == player->heldActor)) {
|
||||
if ((player->stateFlags1 & PLAYER_STATE1_800) && (&this->actor == player->heldActor)) {
|
||||
player->actor.child = NULL;
|
||||
player->heldActor = NULL;
|
||||
player->interactRangeActor = NULL;
|
||||
player->stateFlags1 &= ~0x800;
|
||||
player->stateFlags1 &= ~PLAYER_STATE1_800;
|
||||
}
|
||||
Actor_Kill(&this->actor);
|
||||
}
|
||||
|
||||
@@ -471,7 +471,7 @@ void func_80BFF03C(EnBomjima* this, PlayState* play) {
|
||||
} else if (!ActorCutscene_GetCanPlayNext(this->cutscenes[0])) {
|
||||
ActorCutscene_SetIntentToPlay(this->cutscenes[0]);
|
||||
} else {
|
||||
player->stateFlags1 &= ~0x20;
|
||||
player->stateFlags1 &= ~PLAYER_STATE1_20;
|
||||
gSaveContext.save.weekEventReg[83] &= (u8)~4;
|
||||
this->actor.world.rot.y = Camera_GetCamDirYaw(GET_ACTIVE_CAM(play));
|
||||
this->unk_2DC = Camera_GetCamDirYaw(GET_ACTIVE_CAM(play));
|
||||
@@ -935,8 +935,8 @@ void func_80C00284(EnBomjima* this, PlayState* play) {
|
||||
if ((this->action == EN_BOMJIMA_ACTION_4) || (this->unk_2CA == 1) ||
|
||||
((this->unk_2CA == 3) && (this->unk_2C8 >= 2))) {
|
||||
this->unk_28E = 0;
|
||||
if (player->stateFlags1 & 0x20) {
|
||||
player->stateFlags1 &= ~0x20;
|
||||
if (player->stateFlags1 & PLAYER_STATE1_20) {
|
||||
player->stateFlags1 &= ~PLAYER_STATE1_20;
|
||||
}
|
||||
|
||||
if ((this->bombal == 0) || (this->bombal->actor.update == NULL) ||
|
||||
|
||||
@@ -333,7 +333,7 @@ void func_80C014E4(EnBomjimb* this, PlayState* play) {
|
||||
break;
|
||||
}
|
||||
|
||||
if (player->stateFlags3 != 0x1000000) {
|
||||
if (player->stateFlags3 != PLAYER_STATE3_1000000) {
|
||||
phi_f0 = 200.0f;
|
||||
|
||||
abs = ABS_ALT(BINANG_SUB(this->actor.yawTowardsPlayer, this->actor.world.rot.y));
|
||||
@@ -538,7 +538,7 @@ void func_80C0217C(EnBomjimb* this, PlayState* play) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (player->stateFlags3 == 0x1000000) {
|
||||
if (player->stateFlags3 == PLAYER_STATE3_1000000) {
|
||||
Math_SmoothStepToS(&this->actor.world.rot.y, this->actor.yawTowardsPlayer, 1, 3000, 0);
|
||||
func_80C01494(this);
|
||||
return;
|
||||
@@ -631,7 +631,7 @@ void func_80C02570(EnBomjimb* this, PlayState* play) {
|
||||
this->unk_2D6 = BINANG_ROT180(this->actor.yawTowardsPlayer);
|
||||
func_80C0113C(this, 19, 2.0f);
|
||||
this->actionFunc = func_80C0217C;
|
||||
} else if ((player->stateFlags3 == 0x1000000) || (this->actor.xzDistToPlayer > 410.0f)) {
|
||||
} else if ((player->stateFlags3 == PLAYER_STATE3_1000000) || (this->actor.xzDistToPlayer > 410.0f)) {
|
||||
Math_SmoothStepToS(&this->actor.world.rot.y, this->actor.yawTowardsPlayer, 1, 3000, 0);
|
||||
func_80C01494(this);
|
||||
}
|
||||
@@ -666,7 +666,7 @@ void func_80C02740(EnBomjimb* this, PlayState* play) {
|
||||
if ((player->transformation != PLAYER_FORM_DEKU) && (player->transformation != PLAYER_FORM_HUMAN)) {
|
||||
func_80C0113C(this, 17, 1.0f);
|
||||
Message_StartTextbox(play, 0x72E, &this->actor);
|
||||
player->stateFlags1 |= 0x10000000;
|
||||
player->stateFlags1 |= PLAYER_STATE1_10000000;
|
||||
player->actor.freezeTimer = 3;
|
||||
func_80C012E0(this);
|
||||
this->unk_2CA = 9;
|
||||
@@ -678,7 +678,7 @@ void func_80C02740(EnBomjimb* this, PlayState* play) {
|
||||
((player->transformation == PLAYER_FORM_HUMAN) && !(gSaveContext.save.weekEventReg[85] & 2))) {
|
||||
func_80C0113C(this, 17, 1.0f);
|
||||
Message_StartTextbox(play, 0x72E, &this->actor);
|
||||
player->stateFlags1 |= 0x10000000;
|
||||
player->stateFlags1 |= PLAYER_STATE1_10000000;
|
||||
player->actor.freezeTimer = 3;
|
||||
func_80C012E0(this);
|
||||
this->unk_2CA = 9;
|
||||
@@ -726,7 +726,7 @@ void func_80C02740(EnBomjimb* this, PlayState* play) {
|
||||
if (!Play_InCsMode(play)) {
|
||||
Player* player = GET_PLAYER(play);
|
||||
|
||||
player->stateFlags1 |= 0x10000000;
|
||||
player->stateFlags1 |= PLAYER_STATE1_10000000;
|
||||
player->actor.freezeTimer = 3;
|
||||
}
|
||||
this->unk_2CA = 8;
|
||||
@@ -765,7 +765,7 @@ void func_80C02A14(EnBomjimb* this, PlayState* play) {
|
||||
func_80C02CA4(this, play);
|
||||
} else {
|
||||
if (this->unk_2CA == 8) {
|
||||
player->stateFlags1 &= ~0x10000000;
|
||||
player->stateFlags1 &= ~PLAYER_STATE1_10000000;
|
||||
}
|
||||
func_80C01FD4(this);
|
||||
}
|
||||
@@ -781,7 +781,7 @@ void func_80C02BCC(EnBomjimb* this, PlayState* play) {
|
||||
if ((Message_GetState(&play->msgCtx) == TEXT_STATE_5) && Message_ShouldAdvance(play)) {
|
||||
func_801477B4(play);
|
||||
this->unk_2C0 = 1;
|
||||
player->stateFlags1 &= ~0x10000000;
|
||||
player->stateFlags1 &= ~PLAYER_STATE1_10000000;
|
||||
}
|
||||
} else if (this->actor.xzDistToPlayer > 200.0f) {
|
||||
func_80C01494(this);
|
||||
|
||||
@@ -155,10 +155,10 @@ void EnBoom_Destroy(Actor* thisx, PlayState* play) {
|
||||
temp->child = NULL;
|
||||
} else {
|
||||
player->boomerangActor = NULL;
|
||||
player->stateFlags1 &= ~0x2000000;
|
||||
player->stateFlags1 &= ~PLAYER_STATE1_2000000;
|
||||
}
|
||||
}
|
||||
player->stateFlags3 |= 0x800000;
|
||||
player->stateFlags3 |= PLAYER_STATE3_800000;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -286,7 +286,7 @@ void EnBoom_Update(Actor* thisx, PlayState* play) {
|
||||
Player* player = GET_PLAYER(play);
|
||||
Actor* actor;
|
||||
|
||||
if (!(player->stateFlags1 & 0x20000000)) {
|
||||
if (!(player->stateFlags1 & PLAYER_STATE1_20000000)) {
|
||||
this->actionFunc(this, play);
|
||||
|
||||
if (((actor = this->actor.child) != NULL) || ((actor = this->actor.parent) != NULL)) {
|
||||
|
||||
@@ -415,7 +415,7 @@ void func_80B3EEDC(EnDai* this, PlayState* play) {
|
||||
(play->msgCtx.lastPlayedSong == OCARINA_SONG_GORON_LULLABY)) {
|
||||
func_80B3E5DC(this, 1);
|
||||
this->actionFunc = func_80B3EE8C;
|
||||
} else if (!(player->stateFlags2 & 0x08000000)) {
|
||||
} else if (!(player->stateFlags2 & PLAYER_STATE2_8000000)) {
|
||||
func_80B3E96C(this, play);
|
||||
this->unk_A6C = 0;
|
||||
} else if (this->unk_A6C == 0) {
|
||||
@@ -557,7 +557,7 @@ void EnDai_Update(Actor* thisx, PlayState* play) {
|
||||
func_80B3E460(this);
|
||||
} else {
|
||||
this->actionFunc(this, play);
|
||||
if (!(player->stateFlags2 & 0x8000000)) {
|
||||
if (!(player->stateFlags2 & PLAYER_STATE2_8000000)) {
|
||||
SkelAnime_Update(&this->skelAnime);
|
||||
func_80B3E834(this);
|
||||
if (!(this->unk_1CE & 0x200)) {
|
||||
|
||||
@@ -547,7 +547,7 @@ s32 EnDg_FindFollowerForBremenMask(PlayState* play) {
|
||||
void EnDg_CheckForBremenMaskMarch(EnDg* this, PlayState* play) {
|
||||
Player* player = GET_PLAYER(play);
|
||||
|
||||
if (player->stateFlags3 & 0x20000000) { // bremen mask march
|
||||
if (player->stateFlags3 & PLAYER_STATE3_20000000) {
|
||||
if (sBremenMaskFollowerIndex == ENDG_INDEX_NO_BREMEN_MASK_FOLLOWER) {
|
||||
EnDg_FindFollowerForBremenMask(play);
|
||||
}
|
||||
@@ -865,7 +865,7 @@ void EnDg_SitNextToPlayer(EnDg* this, PlayState* play) {
|
||||
Math_ApproachS(&this->actor.shape.rot.y, this->actor.yawTowardsPlayer, 4, 0xC00);
|
||||
this->actor.world.rot.y = this->actor.shape.rot.y;
|
||||
} else {
|
||||
if (player->stateFlags3 & 0x20000000) { // bremen mask march
|
||||
if (player->stateFlags3 & PLAYER_STATE3_20000000) {
|
||||
EnDg_ChangeAnim(&this->skelAnime, sAnimationInfo, DOG_ANIM_WALK);
|
||||
} else {
|
||||
EnDg_ChangeAnim(&this->skelAnime, sAnimationInfo, DOG_ANIM_RUN);
|
||||
@@ -992,7 +992,7 @@ void EnDg_ApproachPlayer(EnDg* this, PlayState* play) {
|
||||
if (this->actor.xzDistToPlayer < 40.0f) {
|
||||
EnDg_ChangeAnim(&this->skelAnime, sAnimationInfo, DOG_ANIM_SIT_DOWN);
|
||||
this->actionFunc = EnDg_SitNextToPlayer;
|
||||
} else if (player->stateFlags3 & 0x20000000) { // bremen mask march
|
||||
} else if (player->stateFlags3 & PLAYER_STATE3_20000000) {
|
||||
if ((this->actor.xzDistToPlayer > 40.0f) && (player->linearVelocity == 0.0f)) {
|
||||
Math_ApproachF(&this->actor.speedXZ, 1.5f, 0.2f, 1.0f);
|
||||
} else {
|
||||
@@ -1340,7 +1340,7 @@ void EnDg_Update(Actor* thisx, PlayState* play) {
|
||||
Vec3f floorRot = { 0.0f, 0.0f, 0.0f };
|
||||
|
||||
this->selectedDogIndex = sSelectedRacetrackDogInfo.index;
|
||||
if (!(player->stateFlags1 & 0x20) || (play->sceneId != SCENE_CLOCKTOWER)) {
|
||||
if (!(player->stateFlags1 & PLAYER_STATE1_20) || (play->sceneId != SCENE_CLOCKTOWER)) {
|
||||
if (EnDg_ShouldReactToNonHumanPlayer(this, play)) {
|
||||
EnDg_ChooseActionForForm(this, play);
|
||||
} else if (this->behavior != DOG_BEHAVIOR_DEFAULT) {
|
||||
|
||||
@@ -260,7 +260,7 @@ s32 func_80A52B68(EnDnq* this, PlayState* play) {
|
||||
Player* player = GET_PLAYER(play);
|
||||
u16 temp = play->msgCtx.currentTextId;
|
||||
|
||||
if ((player->stateFlags1 & 0x40) && (player->targetActor == &this->picto.actor)) {
|
||||
if ((player->stateFlags1 & PLAYER_STATE1_40) && (player->targetActor == &this->picto.actor)) {
|
||||
switch (temp) {
|
||||
case 0x89B:
|
||||
func_80A5257C(this, 18);
|
||||
|
||||
@@ -398,7 +398,7 @@ void func_8092D1B8(EnDns* this, PlayState* play) {
|
||||
|
||||
if (!ENDNS_GET_4000(&this->actor) || (this->unk_2D2 != 0)) {
|
||||
if (!(gSaveContext.save.weekEventReg[23] & 0x20) && !(gSaveContext.eventInf[1] & 0x20) && func_8092CC68(play)) {
|
||||
player->stateFlags1 |= 0x20;
|
||||
player->stateFlags1 |= PLAYER_STATE1_20;
|
||||
this->unk_2C6 |= 0x100;
|
||||
SubS_UpdateFlags(&this->unk_2C6, 4, 7);
|
||||
play_sound(NA_SE_SY_FOUND);
|
||||
|
||||
@@ -587,7 +587,7 @@ void func_80877500(EnDodongo* this, PlayState* play) {
|
||||
Math_ScaledStepToS(&this->actor.world.rot.y, this->actor.yawTowardsPlayer, 0x1F4);
|
||||
if (this->actor.xzDistToPlayer < (100.0f * this->unk_334)) {
|
||||
if ((ABS_ALT(temp_v1) < 0x1388) && (this->actor.playerHeightRel < 60.0f) &&
|
||||
!(player->stateFlags1 & 0x800000)) {
|
||||
!(player->stateFlags1 & PLAYER_STATE1_800000)) {
|
||||
func_808777A8(this);
|
||||
}
|
||||
}
|
||||
@@ -823,7 +823,7 @@ void func_80878424(EnDodongo* this, PlayState* play) {
|
||||
|
||||
this->timer++;
|
||||
if (SkelAnime_Update(&this->skelAnime)) {
|
||||
if (!(player->stateFlags1 & 0x800000) && (Player_GetMask(play) != PLAYER_MASK_STONE)) {
|
||||
if (!(player->stateFlags1 & PLAYER_STATE1_800000) && (Player_GetMask(play) != PLAYER_MASK_STONE)) {
|
||||
this->collider1.base.atFlags &= ~AT_ON;
|
||||
func_808777A8(this);
|
||||
} else {
|
||||
|
||||
@@ -480,7 +480,7 @@ void func_80866B20(EnDoor* this, PlayState* play) {
|
||||
if (this->unk_1A1 != 0) {
|
||||
this->actionFunc = func_80867144;
|
||||
Animation_PlayOnceSetSpeed(&this->skelAnime, sAnimations[this->animIndex],
|
||||
(player->stateFlags1 & 0x8000000) ? 0.75f : 1.5f);
|
||||
(player->stateFlags1 & PLAYER_STATE1_8000000) ? 0.75f : 1.5f);
|
||||
if (this->unk_1A6 != 0) {
|
||||
gSaveContext.save.inventory.dungeonKeys[gSaveContext.mapIndex]--;
|
||||
Flags_SetSwitch(play, this->switchFlag);
|
||||
|
||||
@@ -612,13 +612,13 @@ void EnDragon_Attack(EnDragon* this, PlayState* play) {
|
||||
}
|
||||
|
||||
if (((this->state != DEEP_PYTHON_ATTACK_STATE_START) && (this->endFrame <= currentFrame)) ||
|
||||
(!(player->stateFlags2 & 0x80)) || ((this->collider.elements[0].info.bumperFlags & BUMP_HIT)) ||
|
||||
(!(player->stateFlags2 & PLAYER_STATE2_80)) || ((this->collider.elements[0].info.bumperFlags & BUMP_HIT)) ||
|
||||
(this->collider.elements[1].info.bumperFlags & BUMP_HIT) ||
|
||||
(this->collider.elements[2].info.bumperFlags & BUMP_HIT)) {
|
||||
player->actor.parent = NULL;
|
||||
this->grabWaitTimer = 30;
|
||||
ActorCutscene_Stop(this->grabCutsceneIndex);
|
||||
if (player->stateFlags2 & 0x80) {
|
||||
if (player->stateFlags2 & PLAYER_STATE2_80) {
|
||||
player->unk_AE8 = 100;
|
||||
}
|
||||
|
||||
|
||||
@@ -844,13 +844,13 @@ void func_8088E60C(EnElf* this, PlayState* play) {
|
||||
s16 glowLightRadius;
|
||||
Player* player = GET_PLAYER(play);
|
||||
|
||||
if (player->stateFlags1 & 0x400) {
|
||||
if (player->stateFlags1 & PLAYER_STATE1_400) {
|
||||
glowLightRadius = 200;
|
||||
} else {
|
||||
glowLightRadius = 100;
|
||||
}
|
||||
|
||||
if ((this->unk_244 == 6) || (player->stateFlags1 & 2) || (this->fairyFlags & 0x8000)) {
|
||||
if ((this->unk_244 == 6) || (player->stateFlags1 & PLAYER_STATE1_2) || (this->fairyFlags & 0x8000)) {
|
||||
glowLightRadius = 0;
|
||||
}
|
||||
|
||||
@@ -967,7 +967,7 @@ void func_8088E850(EnElf* this, PlayState* play) {
|
||||
|
||||
default:
|
||||
arrowPointedActor = play->actorCtx.targetContext.arrowPointedActor;
|
||||
if ((player->stateFlags1 & 0x40) && (player->targetActor != NULL)) {
|
||||
if ((player->stateFlags1 & PLAYER_STATE1_40) && (player->targetActor != NULL)) {
|
||||
Math_Vec3f_Copy(&nextPos, &player->targetActor->focus.pos);
|
||||
} else {
|
||||
Math_Vec3f_Copy(&nextPos, &play->actorCtx.targetContext.unk0);
|
||||
@@ -1133,13 +1133,13 @@ void func_8088F214(EnElf* this, PlayState* play) {
|
||||
func_800B9010(&this->actor, NA_SE_EV_BELL_ANGER - SFX_FLAG);
|
||||
} else {
|
||||
arrowPointedActor = play->actorCtx.targetContext.arrowPointedActor;
|
||||
if (player->stateFlags1 & 0x400) {
|
||||
if (player->stateFlags1 & PLAYER_STATE1_400) {
|
||||
sp34 = 10;
|
||||
this->unk_25C = 100;
|
||||
} else if ((arrowPointedActor == NULL) || (arrowPointedActor->category == 4)) {
|
||||
if (arrowPointedActor != NULL) {
|
||||
this->unk_25C = 100;
|
||||
player->stateFlags2 |= 0x100000;
|
||||
player->stateFlags2 |= PLAYER_STATE2_100000;
|
||||
sp34 = 0;
|
||||
} else {
|
||||
switch (this->unk_244) {
|
||||
@@ -1147,7 +1147,7 @@ void func_8088F214(EnElf* this, PlayState* play) {
|
||||
if (this->unk_25C != 0) {
|
||||
this->unk_25C--;
|
||||
sp34 = 0;
|
||||
} else if (!(player->stateFlags1 & 0x40)) {
|
||||
} else if (!(player->stateFlags1 & PLAYER_STATE1_40)) {
|
||||
if (this->unk_269 == 0) {
|
||||
Actor_PlaySfxAtPos(&this->actor, NA_SE_EV_NAVY_VANISH);
|
||||
}
|
||||
@@ -1163,7 +1163,7 @@ void func_8088F214(EnElf* this, PlayState* play) {
|
||||
this->unk_24A--;
|
||||
sp34 = 5;
|
||||
} else {
|
||||
player->stateFlags2 |= 0x100000;
|
||||
player->stateFlags2 |= PLAYER_STATE2_100000;
|
||||
sp34 = 0;
|
||||
}
|
||||
} else {
|
||||
@@ -1195,7 +1195,7 @@ void func_8088F214(EnElf* this, PlayState* play) {
|
||||
|
||||
switch (sp34) {
|
||||
case 0:
|
||||
if (!(player->stateFlags2 & 0x100000)) {
|
||||
if (!(player->stateFlags2 & PLAYER_STATE2_100000)) {
|
||||
sp34 = 5;
|
||||
if (this->unk_269 == 0) {
|
||||
Actor_PlaySfxAtPos(&this->actor, NA_SE_EV_NAVY_VANISH);
|
||||
@@ -1204,25 +1204,25 @@ void func_8088F214(EnElf* this, PlayState* play) {
|
||||
break;
|
||||
|
||||
case 6:
|
||||
if (player->stateFlags2 & 0x100000) {
|
||||
if (player->stateFlags2 & PLAYER_STATE2_100000) {
|
||||
sp34 = 9;
|
||||
this->unk_25C = 0x2A;
|
||||
if (this->unk_269 == 0) {
|
||||
Actor_PlaySfxAtPos(&this->actor, NA_SE_EV_BELL_DASH_NORMAL);
|
||||
}
|
||||
} else if (player->stateFlags1 & 0x40) {
|
||||
player->stateFlags2 |= 0x100000;
|
||||
} else if (player->stateFlags1 & PLAYER_STATE1_40) {
|
||||
player->stateFlags2 |= PLAYER_STATE2_100000;
|
||||
sp34 = 0;
|
||||
this->unk_25C = 0;
|
||||
}
|
||||
break;
|
||||
|
||||
case 5:
|
||||
player->stateFlags2 &= ~0x100000;
|
||||
player->stateFlags2 &= ~PLAYER_STATE2_100000;
|
||||
break;
|
||||
|
||||
default:
|
||||
player->stateFlags2 |= 0x100000;
|
||||
player->stateFlags2 |= PLAYER_STATE2_100000;
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -1578,7 +1578,7 @@ void EnElf_Draw(Actor* thisx, PlayState* play) {
|
||||
if (!(this->fairyFlags & 8) &&
|
||||
(!Cutscene_CheckActorAction(play, 201) ||
|
||||
(play->csCtx.actorActions[Cutscene_GetActorActionIndex(play, 201)]->action != 6)) &&
|
||||
(!(player->stateFlags1 & 0x100000) || (kREG(90) < this->actor.projectedPos.z))) {
|
||||
(!(player->stateFlags1 & PLAYER_STATE1_100000) || (kREG(90) < this->actor.projectedPos.z))) {
|
||||
Gfx* dListHead = GRAPH_ALLOC(play->state.gfxCtx, sizeof(Gfx) * 4);
|
||||
f32 alphaScale;
|
||||
s32 envAlpha;
|
||||
|
||||
@@ -483,11 +483,11 @@ void func_80A3A610(EnElfgrp* this, PlayState* play) {
|
||||
|
||||
if (this->unk_144 > 0) {
|
||||
player->actor.freezeTimer = 100;
|
||||
player->stateFlags1 |= 0x20000000;
|
||||
player->stateFlags1 |= PLAYER_STATE1_20000000;
|
||||
Actor_PlaySfxAtPos(&this->actor, NA_SE_EV_FAIRY_GROUP_HEAL - SFX_FLAG);
|
||||
} else {
|
||||
player->actor.freezeTimer = 0;
|
||||
player->stateFlags1 &= ~0x20000000;
|
||||
player->stateFlags1 &= ~PLAYER_STATE1_20000000;
|
||||
this->actionFunc = func_80A3A600;
|
||||
this->unk_14A |= 8;
|
||||
}
|
||||
@@ -499,7 +499,7 @@ void func_80A3A6F4(EnElfgrp* this, PlayState* play) {
|
||||
|
||||
if (Actor_TextboxIsClosing(&this->actor, play)) {
|
||||
player->actor.freezeTimer = 100;
|
||||
player->stateFlags1 |= 0x20000000;
|
||||
player->stateFlags1 |= PLAYER_STATE1_20000000;
|
||||
this->unk_144 = func_80A39FBC(play);
|
||||
this->actionFunc = func_80A3A610;
|
||||
this->unk_14A &= ~8;
|
||||
@@ -510,7 +510,7 @@ void func_80A3A77C(EnElfgrp* this, PlayState* play) {
|
||||
Player* player = GET_PLAYER(play);
|
||||
|
||||
player->actor.freezeTimer = 100;
|
||||
player->stateFlags1 |= 0x20000000;
|
||||
player->stateFlags1 |= PLAYER_STATE1_20000000;
|
||||
if (Actor_TextboxIsClosing(&this->actor, play)) {
|
||||
this->unk_144 = func_80A39FBC(play);
|
||||
this->actionFunc = func_80A3A610;
|
||||
@@ -558,7 +558,7 @@ void func_80A3A8F8(EnElfgrp* this, PlayState* play) {
|
||||
if (gSaveContext.save.playerForm == PLAYER_FORM_DEKU) {
|
||||
this->actor.flags &= ~ACTOR_FLAG_10000;
|
||||
player->actor.freezeTimer = 100;
|
||||
player->stateFlags1 |= 0x20000000;
|
||||
player->stateFlags1 |= PLAYER_STATE1_20000000;
|
||||
Message_StartTextbox(play, this->actor.textId, &this->actor);
|
||||
this->actionFunc = func_80A3A77C;
|
||||
gSaveContext.save.weekEventReg[9] |= this->unk_146;
|
||||
|
||||
@@ -425,10 +425,10 @@ void EnElforg_ClockTownFairyCollected(EnElforg* this, PlayState* play) {
|
||||
|
||||
EnElforg_CirclePlayer(this, play);
|
||||
player->actor.freezeTimer = 100;
|
||||
player->stateFlags1 |= 0x20000000;
|
||||
player->stateFlags1 |= PLAYER_STATE1_20000000;
|
||||
if (Actor_TextboxIsClosing(&this->actor, play)) {
|
||||
player->actor.freezeTimer = 0;
|
||||
player->stateFlags1 &= ~0x20000000;
|
||||
player->stateFlags1 &= ~PLAYER_STATE1_20000000;
|
||||
Actor_Kill(&this->actor);
|
||||
gSaveContext.save.weekEventReg[8] |= 0x80;
|
||||
ActorCutscene_Stop(0x7C);
|
||||
@@ -481,7 +481,7 @@ void EnElforg_FreeFloating(EnElforg* this, PlayState* play) {
|
||||
|
||||
if (STRAY_FAIRY_TYPE(&this->actor) == STRAY_FAIRY_TYPE_CLOCK_TOWN) {
|
||||
player->actor.freezeTimer = 100;
|
||||
player->stateFlags1 |= 0x20000000;
|
||||
player->stateFlags1 |= PLAYER_STATE1_20000000;
|
||||
// Bring me back to North Clock Town!
|
||||
Message_StartTextbox(play, 0x579, NULL);
|
||||
this->actionFunc = EnElforg_ClockTownFairyCollected;
|
||||
|
||||
@@ -2151,7 +2151,7 @@ void EnFishing_UpdateLure(EnFishing* this, PlayState* play) {
|
||||
|
||||
Math_ApproachF(&D_809101C0, 195.0f, 1.0f, 1.0f);
|
||||
|
||||
if (player->stateFlags1 & 0x8000000) {
|
||||
if (player->stateFlags1 & PLAYER_STATE1_8000000) {
|
||||
D_80917204 = 0;
|
||||
player->unk_B28 = 0;
|
||||
}
|
||||
|
||||
@@ -745,7 +745,7 @@ void func_808D22C8(EnFloormas* this, PlayState* play) {
|
||||
|
||||
Math_Vec3f_Sum(&player->actor.world.pos, &this->actor.home.pos, &this->actor.world.pos);
|
||||
|
||||
if (!(player->stateFlags2 & 0x80) || (player->invincibilityTimer < 0)) {
|
||||
if (!(player->stateFlags2 & PLAYER_STATE2_80) || (player->invincibilityTimer < 0)) {
|
||||
EnFloormas* parent = (EnFloormas*)this->actor.parent;
|
||||
EnFloormas* child = (EnFloormas*)this->actor.child;
|
||||
|
||||
|
||||
@@ -410,7 +410,7 @@ void func_80962340(EnFu* this, PlayState* play) {
|
||||
this->unk_552 = 0x2889;
|
||||
}
|
||||
this->actor.flags &= ~ACTOR_FLAG_10000;
|
||||
player->stateFlags1 &= ~0x20;
|
||||
player->stateFlags1 &= ~PLAYER_STATE1_20;
|
||||
this->unk_54A = 1;
|
||||
} else {
|
||||
Message_StartTextbox(play, 0x283C, &this->actor);
|
||||
@@ -535,7 +535,7 @@ void func_80962660(EnFu* this, PlayState* play) {
|
||||
gSaveContext.save.weekEventReg[63] |= 1;
|
||||
gSaveContext.save.weekEventReg[63] &= (u8)~2;
|
||||
func_801477B4(play);
|
||||
player->stateFlags1 |= 0x20;
|
||||
player->stateFlags1 |= PLAYER_STATE1_20;
|
||||
this->unk_53C = 0;
|
||||
Actor_ChangeAnimationByInfo(&this->skelAnime, sAnimationInfo, 3);
|
||||
func_801A2BB8(NA_BGM_TIMED_MINI_GAME);
|
||||
@@ -644,7 +644,7 @@ void func_80962A10(EnFu* this, PlayState* play) {
|
||||
}
|
||||
|
||||
play_sound(NA_SE_SY_FOUND);
|
||||
player->stateFlags1 &= ~0x20;
|
||||
player->stateFlags1 &= ~PLAYER_STATE1_20;
|
||||
Interface_StartTimer(TIMER_ID_MINIGAME_2, 60);
|
||||
if (this->unk_546 == 1) {
|
||||
func_809616E0(this, play);
|
||||
@@ -680,8 +680,8 @@ void func_80962BCC(EnFu* this, PlayState* play) {
|
||||
}
|
||||
|
||||
play_sound(NA_SE_SY_FOUND);
|
||||
player->stateFlags1 &= ~0x20;
|
||||
player->stateFlags3 |= 0x400000;
|
||||
player->stateFlags1 &= ~PLAYER_STATE1_20;
|
||||
player->stateFlags3 |= PLAYER_STATE3_400000;
|
||||
Interface_StartTimer(TIMER_ID_MINIGAME_2, 60);
|
||||
|
||||
if (this->unk_546 == 1) {
|
||||
@@ -711,8 +711,8 @@ void func_80962D60(EnFu* this, PlayState* play) {
|
||||
}
|
||||
|
||||
play_sound(NA_SE_SY_FOUND);
|
||||
player->stateFlags1 &= ~0x20;
|
||||
player->stateFlags3 |= 0x400000;
|
||||
player->stateFlags1 &= ~PLAYER_STATE1_20;
|
||||
player->stateFlags3 |= PLAYER_STATE3_400000;
|
||||
Interface_StartTimer(TIMER_ID_MINIGAME_2, 60);
|
||||
|
||||
if (this->unk_546 == 1) {
|
||||
@@ -748,7 +748,7 @@ void func_80962F4C(EnFu* this, PlayState* play) {
|
||||
switch (this->unk_542) {
|
||||
case 0:
|
||||
if (gSaveContext.save.playerForm == PLAYER_FORM_HUMAN) {
|
||||
player->stateFlags3 |= 0x400;
|
||||
player->stateFlags3 |= PLAYER_STATE3_400;
|
||||
}
|
||||
break;
|
||||
|
||||
@@ -778,9 +778,9 @@ void func_80962F4C(EnFu* this, PlayState* play) {
|
||||
if ((!DynaPolyActor_IsInRidingRotatingState((DynaPolyActor*)this->actor.child) &&
|
||||
(player->actor.bgCheckFlags & 1)) ||
|
||||
(gSaveContext.timerCurTimes[TIMER_ID_MINIGAME_2] <= SECONDS_TO_TIMER(0)) || (this->unk_548 == this->unk_54C)) {
|
||||
player->stateFlags3 &= ~0x400000;
|
||||
player->stateFlags3 &= ~PLAYER_STATE3_400000;
|
||||
func_80961E88(play);
|
||||
player->stateFlags1 |= 0x20;
|
||||
player->stateFlags1 |= PLAYER_STATE1_20;
|
||||
if (this->unk_548 < this->unk_54C) {
|
||||
if (gSaveContext.timerCurTimes[TIMER_ID_MINIGAME_2] == SECONDS_TO_TIMER(0)) {
|
||||
Message_StartTextbox(play, 0x2885, &this->actor);
|
||||
@@ -932,7 +932,7 @@ void func_80963630(EnFu* this, PlayState* play) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
player->stateFlags1 &= ~0x20;
|
||||
player->stateFlags1 &= ~PLAYER_STATE1_20;
|
||||
} else {
|
||||
this->actor.child->freezeTimer = 10;
|
||||
func_800B85E0(&this->actor, play, 500.0f, PLAYER_AP_MINUS1);
|
||||
@@ -1174,7 +1174,7 @@ void func_80963F88(EnFu* this, PlayState* play) {
|
||||
void func_80963FF8(EnFu* this, PlayState* play) {
|
||||
Player* player = GET_PLAYER(play);
|
||||
|
||||
if (player->stateFlags1 & 0x100000) {
|
||||
if (player->stateFlags1 & PLAYER_STATE1_100000) {
|
||||
play->actorCtx.unk268 = 1;
|
||||
play->actorCtx.unk_26C.press.button = 0x8000;
|
||||
} else {
|
||||
|
||||
@@ -390,11 +390,11 @@ void func_80B359DC(EnGg* this, PlayState* play) {
|
||||
|
||||
if (this->actor.xzDistToPlayer < 200.0f) {
|
||||
if (this->unk_306 == 0) {
|
||||
if (player->stateFlags2 & 0x8000000) {
|
||||
if (player->stateFlags2 & PLAYER_STATE2_8000000) {
|
||||
this->unk_306 = 1;
|
||||
play_sound(NA_SE_SY_TRE_BOX_APPEAR);
|
||||
}
|
||||
} else if (!(player->stateFlags2 & 0x8000000)) {
|
||||
} else if (!(player->stateFlags2 & PLAYER_STATE2_8000000)) {
|
||||
this->unk_306 = 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -247,11 +247,11 @@ s32 func_80B50854(EnGk* this, PlayState* play) {
|
||||
Player* player = GET_PLAYER(play);
|
||||
|
||||
if (!(this->unk_1E4 & 0x40)) {
|
||||
if (player->stateFlags2 & 0x8000000) {
|
||||
if (player->stateFlags2 & PLAYER_STATE2_8000000) {
|
||||
this->unk_1E4 |= 0x40;
|
||||
play_sound(NA_SE_SY_TRE_BOX_APPEAR);
|
||||
}
|
||||
} else if (!(player->stateFlags2 & 0x8000000)) {
|
||||
} else if (!(player->stateFlags2 & PLAYER_STATE2_8000000)) {
|
||||
this->unk_1E4 &= ~0x40;
|
||||
}
|
||||
|
||||
|
||||
@@ -892,7 +892,7 @@ s32 func_8094F53C(EnGm* this, PlayState* play) {
|
||||
Actor* al = func_8094DEE0(this, play, ACTORCAT_NPC, ACTOR_EN_AL);
|
||||
Actor* toto = func_8094DEE0(this, play, ACTORCAT_NPC, ACTOR_EN_TOTO);
|
||||
|
||||
if (player->stateFlags1 & 0x440) {
|
||||
if (player->stateFlags1 & (PLAYER_STATE1_40 | PLAYER_STATE1_400)) {
|
||||
this->unk_3A4 |= 0x400;
|
||||
if (this->unk_3A6 != sp32) {
|
||||
switch (sp32) {
|
||||
@@ -1412,7 +1412,7 @@ s32 func_80950690(EnGm* this, PlayState* play) {
|
||||
al = func_8094DEE0(this, play, ACTORCAT_NPC, ACTOR_EN_AL);
|
||||
toto = func_8094DEE0(this, play, ACTORCAT_NPC, ACTOR_EN_TOTO);
|
||||
if ((al != NULL) && (al->update != NULL) && (toto != NULL) && (toto->update != NULL) &&
|
||||
!(player->stateFlags1 & 0x40)) {
|
||||
!(player->stateFlags1 & PLAYER_STATE1_40)) {
|
||||
if (DECR(this->unk_3B8) == 0) {
|
||||
if (al == this->unk_268) {
|
||||
this->unk_268 = toto;
|
||||
|
||||
@@ -525,7 +525,7 @@ void func_80A1213C(EnGo* this, PlayState* play) {
|
||||
s32 func_80A121F4(PlayState* play) {
|
||||
Player* player = GET_PLAYER(play);
|
||||
|
||||
if ((player->transformation == PLAYER_FORM_GORON) && (player->stateFlags3 & 0x2000000)) {
|
||||
if ((player->transformation == PLAYER_FORM_GORON) && (player->stateFlags3 & PLAYER_STATE3_2000000)) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
@@ -637,7 +637,7 @@ void func_80A12660(EnGo* this, PlayState* play) {
|
||||
void func_80A126BC(EnGo* this, PlayState* play) {
|
||||
Player* player = GET_PLAYER(play);
|
||||
|
||||
if (!(player->stateFlags2 & 0x4000)) {
|
||||
if (!(player->stateFlags2 & PLAYER_STATE2_4000)) {
|
||||
if (this->unk_3C6 != 0) {
|
||||
this->unk_3C6--;
|
||||
}
|
||||
@@ -830,7 +830,7 @@ s32 func_80A12E80(EnGo* this, PlayState* play) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (player->stateFlags1 & 0x40) {
|
||||
if (player->stateFlags1 & PLAYER_STATE1_40) {
|
||||
if (this->unk_392 != temp) {
|
||||
switch (temp) {
|
||||
case 0xE1A:
|
||||
|
||||
@@ -1134,7 +1134,7 @@ void func_80941A10(EnGoroiwa* this, PlayState* play) {
|
||||
s32 pad2;
|
||||
|
||||
if (!func_8094156C(this, play)) {
|
||||
if ((this->collider.base.atFlags & AT_HIT) && !(player->stateFlags3 & 0x80000)) {
|
||||
if ((this->collider.base.atFlags & AT_HIT) && !(player->stateFlags3 & PLAYER_STATE3_80000)) {
|
||||
s32 sp34 = this->actor.home.rot.z & 3;
|
||||
|
||||
if (sp34 == 2) {
|
||||
@@ -1264,7 +1264,7 @@ void func_80941FA4(EnGoroiwa* this, PlayState* play) {
|
||||
Player* player = GET_PLAYER(play);
|
||||
|
||||
if (func_8094156C(this, play) == 0) {
|
||||
if ((this->collider.base.atFlags & AT_HIT) && !(player->stateFlags3 & 0x80000)) {
|
||||
if ((this->collider.base.atFlags & AT_HIT) && !(player->stateFlags3 & PLAYER_STATE3_80000)) {
|
||||
func_800B8D50(play, &this->actor, 2.0f, this->actor.yawTowardsPlayer, 0.0f, 0);
|
||||
func_800B8E58(player, NA_SE_PL_BODY_HIT);
|
||||
if (((this->actor.home.rot.z & 3) == 1) || ((this->actor.home.rot.z & 3) == 2)) {
|
||||
@@ -1292,7 +1292,7 @@ void func_809420F0(EnGoroiwa* this, PlayState* play) {
|
||||
Player* player = GET_PLAYER(play);
|
||||
|
||||
if (func_8094156C(this, play) == 0) {
|
||||
if ((this->collider.base.atFlags & AT_HIT) && !(player->stateFlags3 & 0x80000)) {
|
||||
if ((this->collider.base.atFlags & AT_HIT) && !(player->stateFlags3 & PLAYER_STATE3_80000)) {
|
||||
func_800B8D50(play, &this->actor, 2.0f, this->actor.yawTowardsPlayer, 0.0f, 0);
|
||||
func_800B8E58(player, NA_SE_PL_BODY_HIT);
|
||||
if (((this->actor.home.rot.z & 3) == 1) || ((this->actor.home.rot.z & 3) == 2)) {
|
||||
@@ -1434,7 +1434,8 @@ void EnGoroiwa_Update(Actor* thisx, PlayState* play) {
|
||||
u32 temp_v0_2;
|
||||
CollisionPoly* tmp;
|
||||
|
||||
if (!(player->stateFlags1 & (0x30000000 | 0x80 | 0x40))) {
|
||||
if (!(player->stateFlags1 &
|
||||
(PLAYER_STATE1_40 | PLAYER_STATE1_80 | PLAYER_STATE1_10000000 | PLAYER_STATE1_20000000))) {
|
||||
if (this->unk_1CC > 0) {
|
||||
this->unk_1CC--;
|
||||
}
|
||||
@@ -1515,7 +1516,7 @@ void EnGoroiwa_Update(Actor* thisx, PlayState* play) {
|
||||
func_8093E938(this);
|
||||
|
||||
if ((this->unk_1E5 & 1) && (this->unk_1CC <= 0) &&
|
||||
(!(player->stateFlags3 & 0x2000000) || (player->transformation != PLAYER_FORM_GORON) ||
|
||||
(!(player->stateFlags3 & PLAYER_STATE3_2000000) || (player->transformation != PLAYER_FORM_GORON) ||
|
||||
((params != ENGOROIWA_C000_1) && (params != ENGOROIWA_C000_2)))) {
|
||||
CollisionCheck_SetAT(play, &play->colChkCtx, &this->collider.base);
|
||||
} else {
|
||||
|
||||
@@ -276,7 +276,8 @@ void func_80B22500(EnHakurock* this, PlayState* play) {
|
||||
(this->collider.base.oc->params == EN_HAKUROCK_TYPE_UNK_2))) {
|
||||
func_80B21EA4(this, 3);
|
||||
func_80B21FFC(this);
|
||||
} else if ((&player->actor == this->collider.base.oc) && ((player->stateFlags3 & 0x81000) != 0) &&
|
||||
} else if ((&player->actor == this->collider.base.oc) &&
|
||||
(player->stateFlags3 & (PLAYER_STATE3_1000 | PLAYER_STATE3_80000)) &&
|
||||
(player->linearVelocity > 8.0f)) {
|
||||
player->unk_B08[0] = player->linearVelocity = -5.0f;
|
||||
player->unk_B08[1] += (player->linearVelocity * 0.05f);
|
||||
|
||||
@@ -175,7 +175,7 @@ void func_80BCF4AC(EnHg* this, PlayState* play) {
|
||||
s32 pad;
|
||||
|
||||
this->actor.speedXZ = 1.6f;
|
||||
if (!(player->stateFlags2 & 0x08000000) && Message_GetState(&play->msgCtx) == TEXT_STATE_NONE) {
|
||||
if (!(player->stateFlags2 & PLAYER_STATE2_8000000) && Message_GetState(&play->msgCtx) == TEXT_STATE_NONE) {
|
||||
if (((this->skelAnime.curFrame > 9.0f) && (this->skelAnime.curFrame < 16.0f)) ||
|
||||
((this->skelAnime.curFrame > 44.0f) && (this->skelAnime.curFrame < 51.0f))) {
|
||||
Actor_MoveWithGravity(&this->actor);
|
||||
@@ -348,7 +348,7 @@ void func_80BCFC0C(EnHg* this, PlayState* play) {
|
||||
Player* player = GET_PLAYER(play);
|
||||
|
||||
if (this->actor.colChkInfo.health == 1 && !(fabsf(this->actor.playerHeightRel) >= 80.0f)) {
|
||||
if (player->stateFlags2 & 0x08000000) {
|
||||
if (player->stateFlags2 & PLAYER_STATE2_8000000) {
|
||||
if (!D_80BD00C8) {
|
||||
play_sound(NA_SE_SY_TRE_BOX_APPEAR);
|
||||
}
|
||||
|
||||
@@ -147,7 +147,7 @@ void func_80BDB2B8(EnHiddenNuts* this, PlayState* play) {
|
||||
|
||||
Actor_PlaySfxAtPos(&this->actor, NA_SE_EN_NEMURI_SLEEP - SFX_FLAG);
|
||||
|
||||
if (player->stateFlags2 & 0x8000000) {
|
||||
if (player->stateFlags2 & PLAYER_STATE2_8000000) {
|
||||
if (this->unk_20A == 0) {
|
||||
play_sound(NA_SE_SY_TRE_BOX_APPEAR);
|
||||
this->unk_20A = 1;
|
||||
|
||||
@@ -310,7 +310,7 @@ void EnHoll_Update(Actor* thisx, PlayState* play) {
|
||||
Player* player = GET_PLAYER(play);
|
||||
|
||||
if ((play->transitionTrigger == TRANS_TRIGGER_OFF) && (play->transitionMode == TRANS_MODE_OFF) &&
|
||||
!(player->stateFlags1 & 0x200)) {
|
||||
!(player->stateFlags1 & PLAYER_STATE1_200)) {
|
||||
this->actionFunc(this, play);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -169,7 +169,7 @@ s32 func_808F8EB0(EnHorseGameCheck* this, PlayState* play) {
|
||||
}
|
||||
|
||||
D_801BDA9C = 0;
|
||||
if (player->stateFlags1 & 0x800000) {
|
||||
if (player->stateFlags1 & PLAYER_STATE1_800000) {
|
||||
D_801BDAA0 = 1;
|
||||
}
|
||||
play->nextEntrance = ENTRANCE(GORMAN_TRACK, 2);
|
||||
|
||||
@@ -469,7 +469,7 @@ s32 func_80BF1B40(EnIg* this, PlayState* play) {
|
||||
u16 temp = play->msgCtx.currentTextId;
|
||||
s32 pad;
|
||||
|
||||
if (player->stateFlags1 & 0xC40) {
|
||||
if (player->stateFlags1 & (PLAYER_STATE1_40 | PLAYER_STATE1_400 | PLAYER_STATE1_800)) {
|
||||
this->unk_3D0 |= 0x400;
|
||||
if (this->unk_3D2 != temp) {
|
||||
if ((this->unk_3FC == 2) || (this->unk_3FC == 3)) {
|
||||
|
||||
@@ -189,7 +189,7 @@ void func_80C13BB8(EnJgameTsn* this, PlayState* play) {
|
||||
func_800B8614(&this->actor, play, 80.0f);
|
||||
}
|
||||
|
||||
if ((player->actor.bgCheckFlags & 1) && !(player->stateFlags1 & 0x2000) && (this->unk_2FE == 0) &&
|
||||
if ((player->actor.bgCheckFlags & 1) && !(player->stateFlags1 & PLAYER_STATE1_2000) && (this->unk_2FE == 0) &&
|
||||
(gSaveContext.save.playerForm == PLAYER_FORM_HUMAN) && func_80C149B0(play, &this->unk_1F8)) {
|
||||
this->unk_2FE = 1;
|
||||
func_80C13E6C(this);
|
||||
@@ -282,7 +282,7 @@ void func_80C14044(EnJgameTsn* this, PlayState* play) {
|
||||
void func_80C1410C(EnJgameTsn* this, PlayState* play) {
|
||||
Player* player = GET_PLAYER(play);
|
||||
|
||||
player->stateFlags1 |= 0x20;
|
||||
player->stateFlags1 |= PLAYER_STATE1_20;
|
||||
func_801A2BB8(0x25);
|
||||
play->interfaceCtx.unk_280 = 1;
|
||||
func_80112AFC(play);
|
||||
@@ -296,7 +296,7 @@ void func_80C1418C(EnJgameTsn* this, PlayState* play) {
|
||||
|
||||
if (play->interfaceCtx.unk_280 == 8) {
|
||||
func_80C141DC(this);
|
||||
player->stateFlags1 &= ~0x20;
|
||||
player->stateFlags1 &= ~PLAYER_STATE1_20;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -338,7 +338,7 @@ void func_80C14230(EnJgameTsn* this, PlayState* play) {
|
||||
Actor_ChangeAnimationByInfo(&this->skelAnime, sAnimationInfo, 2);
|
||||
Message_StartTextbox(play, 0x109F, &this->actor);
|
||||
this->unk_300 = 0x109F;
|
||||
player->stateFlags1 |= 0x20;
|
||||
player->stateFlags1 |= PLAYER_STATE1_20;
|
||||
*this->unk_208[this->unk_218] &= ~OBJLUPYGAMELIFT_IGNITE_FIRE;
|
||||
func_801A2C20();
|
||||
func_80C14030(this);
|
||||
@@ -346,7 +346,7 @@ void func_80C14230(EnJgameTsn* this, PlayState* play) {
|
||||
Actor_ChangeAnimationByInfo(&this->skelAnime, sAnimationInfo, 2);
|
||||
Message_StartTextbox(play, 0x10A0, &this->actor);
|
||||
this->unk_300 = 0x10A0;
|
||||
player->stateFlags1 |= 0x20;
|
||||
player->stateFlags1 |= PLAYER_STATE1_20;
|
||||
*this->unk_208[this->unk_218] &= ~OBJLUPYGAMELIFT_IGNITE_FIRE;
|
||||
func_801A2C20();
|
||||
func_80C14030(this);
|
||||
@@ -355,7 +355,7 @@ void func_80C14230(EnJgameTsn* this, PlayState* play) {
|
||||
if (gSaveContext.timerCurTimes[TIMER_ID_MINIGAME_2] == SECONDS_TO_TIMER(0)) {
|
||||
Message_StartTextbox(play, 0x10A1, &this->actor);
|
||||
this->unk_300 = 0x10A1;
|
||||
player->stateFlags1 |= 0x20;
|
||||
player->stateFlags1 |= PLAYER_STATE1_20;
|
||||
*this->unk_208[this->unk_218] &= ~OBJLUPYGAMELIFT_IGNITE_FIRE;
|
||||
func_801A2C20();
|
||||
func_80C14030(this);
|
||||
|
||||
@@ -308,12 +308,12 @@ void EnKakasi_TimeSkipDialogue(EnKakasi* this, PlayState* play) {
|
||||
this->picto.actor.textId = 0x1653;
|
||||
gSaveContext.save.weekEventReg[83] &= (u8)~1;
|
||||
this->talkState = TEXT_STATE_5;
|
||||
player->stateFlags1 |= 0x20;
|
||||
player->stateFlags1 |= PLAYER_STATE1_20;
|
||||
this->picto.actor.flags |= ACTOR_FLAG_10000;
|
||||
}
|
||||
|
||||
if (Actor_ProcessTalkRequest(&this->picto.actor, &play->state)) {
|
||||
player->stateFlags1 &= ~0x20;
|
||||
player->stateFlags1 &= ~PLAYER_STATE1_20;
|
||||
this->unkState196 = 2;
|
||||
this->picto.actor.flags &= ~ACTOR_FLAG_10000;
|
||||
this->actionFunc = EnKakasi_RegularDialogue;
|
||||
|
||||
@@ -197,7 +197,7 @@ void func_80AD70EC(EnKame* this, PlayState* play) {
|
||||
this->unk_2A0 = 40;
|
||||
}
|
||||
|
||||
if ((Player_GetMask(play) != PLAYER_MASK_STONE) && !(player->stateFlags1 & 0x800000) &&
|
||||
if ((Player_GetMask(play) != PLAYER_MASK_STONE) && !(player->stateFlags1 & PLAYER_STATE1_800000) &&
|
||||
(this->actor.xzDistToPlayer < 240.0f)) {
|
||||
func_80AD73A8(this);
|
||||
} else if (SkelAnime_Update(&this->skelAnime1)) {
|
||||
@@ -218,7 +218,7 @@ void func_80AD71B4(EnKame* this) {
|
||||
void func_80AD7254(EnKame* this, PlayState* play) {
|
||||
Player* player = GET_PLAYER(play);
|
||||
|
||||
if ((Player_GetMask(play) != PLAYER_MASK_STONE) && !(player->stateFlags1 & 0x800000) &&
|
||||
if ((Player_GetMask(play) != PLAYER_MASK_STONE) && !(player->stateFlags1 & PLAYER_STATE1_800000) &&
|
||||
(this->actor.xzDistToPlayer < 240.0f)) {
|
||||
func_80AD73A8(this);
|
||||
return;
|
||||
@@ -257,7 +257,7 @@ void func_80AD7424(EnKame* this, PlayState* play) {
|
||||
Player* player = GET_PLAYER(play);
|
||||
|
||||
if (SkelAnime_Update(&this->skelAnime1)) {
|
||||
if ((Player_GetMask(play) != PLAYER_MASK_STONE) && !(player->stateFlags1 & 0x800000) &&
|
||||
if ((Player_GetMask(play) != PLAYER_MASK_STONE) && !(player->stateFlags1 & PLAYER_STATE1_800000) &&
|
||||
((this->unk_29E == 0) || (this->actor.xzDistToPlayer < 120.0f))) {
|
||||
func_80AD76CC(this);
|
||||
} else {
|
||||
|
||||
@@ -281,7 +281,7 @@ void func_80B269A4(EnKendoJs* this, PlayState* play) {
|
||||
|
||||
case 0x2719:
|
||||
func_801477B4(play);
|
||||
player->stateFlags1 |= 0x20;
|
||||
player->stateFlags1 |= PLAYER_STATE1_20;
|
||||
func_80B2701C(this);
|
||||
break;
|
||||
|
||||
@@ -298,7 +298,7 @@ void func_80B269A4(EnKendoJs* this, PlayState* play) {
|
||||
case 0x273B:
|
||||
func_801477B4(play);
|
||||
func_80112AFC(play);
|
||||
player->stateFlags1 |= 0x20;
|
||||
player->stateFlags1 |= PLAYER_STATE1_20;
|
||||
func_80B273D0(this);
|
||||
break;
|
||||
|
||||
@@ -337,7 +337,7 @@ void func_80B26AFC(EnKendoJs* this, PlayState* play) {
|
||||
gSaveContext.minigameState = 3;
|
||||
}
|
||||
|
||||
player->stateFlags1 &= ~0x20;
|
||||
player->stateFlags1 &= ~PLAYER_STATE1_20;
|
||||
func_80B26538(this);
|
||||
}
|
||||
|
||||
@@ -358,18 +358,18 @@ s32 func_80B26BF8(EnKendoJs* this, PlayState* play) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
if ((player->meleeWeaponState != 0) || (player->stateFlags3 & 0x8000000) ||
|
||||
(player->stateFlags2 & 0x80000)) {
|
||||
if ((player->meleeWeaponState != 0) || (player->stateFlags3 & PLAYER_STATE3_8000000) ||
|
||||
(player->stateFlags2 & PLAYER_STATE2_80000)) {
|
||||
return 1;
|
||||
}
|
||||
break;
|
||||
|
||||
case 1:
|
||||
if ((player->stateFlags3 & 0x8000000)) {
|
||||
if ((player->stateFlags3 & PLAYER_STATE3_8000000)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
if ((player->meleeWeaponState != 0) || (player->stateFlags2 & 0x80000)) {
|
||||
if ((player->meleeWeaponState != 0) || (player->stateFlags2 & PLAYER_STATE2_80000)) {
|
||||
return 1;
|
||||
}
|
||||
break;
|
||||
@@ -379,8 +379,8 @@ s32 func_80B26BF8(EnKendoJs* this, PlayState* play) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
if ((player->meleeWeaponState != 0) || (player->stateFlags3 & 0x8000000) ||
|
||||
(player->stateFlags2 & 0x80000)) {
|
||||
if ((player->meleeWeaponState != 0) || (player->stateFlags3 & PLAYER_STATE3_8000000) ||
|
||||
(player->stateFlags2 & PLAYER_STATE2_80000)) {
|
||||
return 1;
|
||||
}
|
||||
this->unk_28E = 0;
|
||||
@@ -393,7 +393,8 @@ s32 func_80B26BF8(EnKendoJs* this, PlayState* play) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
if ((this->unk_28E == 1) || (player->stateFlags3 & 0x8000000) || (player->stateFlags2 & 0x80000)) {
|
||||
if ((this->unk_28E == 1) || (player->stateFlags3 & PLAYER_STATE3_8000000) ||
|
||||
(player->stateFlags2 & PLAYER_STATE2_80000)) {
|
||||
this->unk_28E = 0;
|
||||
return 1;
|
||||
}
|
||||
@@ -406,7 +407,8 @@ s32 func_80B26BF8(EnKendoJs* this, PlayState* play) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
if ((this->unk_28E == 1) || (player->stateFlags3 & 0x8000000) || (player->stateFlags2 & 0x80000)) {
|
||||
if ((this->unk_28E == 1) || (player->stateFlags3 & PLAYER_STATE3_8000000) ||
|
||||
(player->stateFlags2 & PLAYER_STATE2_80000)) {
|
||||
this->unk_28E = 0;
|
||||
return 1;
|
||||
}
|
||||
@@ -418,7 +420,8 @@ s32 func_80B26BF8(EnKendoJs* this, PlayState* play) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
if ((this->unk_28E == 1) || (player->stateFlags3 & 0x8000000) || (player->stateFlags2 & 0x80000)) {
|
||||
if ((this->unk_28E == 1) || (player->stateFlags3 & PLAYER_STATE3_8000000) ||
|
||||
(player->stateFlags2 & PLAYER_STATE2_80000)) {
|
||||
this->unk_28E = 0;
|
||||
return 1;
|
||||
}
|
||||
@@ -431,7 +434,8 @@ s32 func_80B26BF8(EnKendoJs* this, PlayState* play) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
if ((this->unk_28E == 1) || (player->stateFlags3 & 0x8000000) || (player->stateFlags2 & 0x80000)) {
|
||||
if ((this->unk_28E == 1) || (player->stateFlags3 & PLAYER_STATE3_8000000) ||
|
||||
(player->stateFlags2 & PLAYER_STATE2_80000)) {
|
||||
this->unk_28E = 0;
|
||||
return 1;
|
||||
}
|
||||
@@ -488,7 +492,7 @@ void func_80B27030(EnKendoJs* this, PlayState* play) {
|
||||
this->actor.flags |= ACTOR_FLAG_10000;
|
||||
if (Actor_ProcessTalkRequest(&this->actor, &play->state)) {
|
||||
this->actor.flags &= ~ACTOR_FLAG_10000;
|
||||
player->stateFlags1 &= ~0x20;
|
||||
player->stateFlags1 &= ~PLAYER_STATE1_20;
|
||||
func_80B279F0(this, play, 0);
|
||||
Message_StartTextbox(play, 0x271A, &this->actor);
|
||||
this->unk_288 = 0x271A;
|
||||
@@ -520,7 +524,7 @@ void func_80B27188(EnKendoJs* this, PlayState* play) {
|
||||
}
|
||||
this->unk_286 = 2;
|
||||
func_801477B4(play);
|
||||
player->stateFlags1 &= ~0x20;
|
||||
player->stateFlags1 &= ~PLAYER_STATE1_20;
|
||||
}
|
||||
} else if (this->unk_286 == 2) {
|
||||
this->unk_286 = 1;
|
||||
@@ -531,14 +535,14 @@ void func_80B27188(EnKendoJs* this, PlayState* play) {
|
||||
case 0:
|
||||
this->unk_286 = 0;
|
||||
Actor_PlaySfxAtPos(&this->actor, NA_SE_SY_TRE_BOX_APPEAR);
|
||||
player->stateFlags1 |= 0x20;
|
||||
player->stateFlags1 |= PLAYER_STATE1_20;
|
||||
func_80B26EB4(this, play);
|
||||
break;
|
||||
|
||||
case 1:
|
||||
Actor_PlaySfxAtPos(&this->actor, NA_SE_SY_ERROR);
|
||||
this->unk_286 = 0;
|
||||
player->stateFlags1 |= 0x20;
|
||||
player->stateFlags1 |= PLAYER_STATE1_20;
|
||||
Message_StartTextbox(play, 0x2729, &this->actor);
|
||||
this->unk_288 = 0x2729;
|
||||
Actor_ChangeAnimationByInfo(&this->skelAnime, sAnimationInfo, 2);
|
||||
@@ -583,7 +587,7 @@ void func_80B2740C(EnKendoJs* this, PlayState* play) {
|
||||
|
||||
if (func_80B278C4(play, sp18)) {
|
||||
this->unk_28C = 0;
|
||||
player->stateFlags1 &= ~0x20;
|
||||
player->stateFlags1 &= ~PLAYER_STATE1_20;
|
||||
this->actionFunc = func_80B274BC;
|
||||
}
|
||||
}
|
||||
@@ -600,7 +604,7 @@ void func_80B274BC(EnKendoJs* this, PlayState* play) {
|
||||
Message_StartTextbox(play, 0x272E, &this->actor);
|
||||
this->unk_288 = 0x272E;
|
||||
}
|
||||
player->stateFlags1 |= 0x20;
|
||||
player->stateFlags1 |= PLAYER_STATE1_20;
|
||||
gSaveContext.save.weekEventReg[82] &= (u8)~8;
|
||||
func_80B26AE8(this);
|
||||
return;
|
||||
@@ -623,7 +627,7 @@ void func_80B274BC(EnKendoJs* this, PlayState* play) {
|
||||
(player->meleeWeaponAnimation == PLAYER_MWA_JUMPSLASH_FINISH)) {
|
||||
play->interfaceCtx.unk_25C = 3;
|
||||
if (gSaveContext.minigameScore >= 27) {
|
||||
player->stateFlags1 |= 0x20;
|
||||
player->stateFlags1 |= PLAYER_STATE1_20;
|
||||
}
|
||||
} else if (player->meleeWeaponAnimation == PLAYER_MWA_STAB_1H) {
|
||||
play->interfaceCtx.unk_25C = 2;
|
||||
@@ -668,7 +672,7 @@ void func_80B27774(EnKendoJs* this, PlayState* play) {
|
||||
this->unk_288 = 0x2730;
|
||||
}
|
||||
func_80B26AE8(this);
|
||||
player->stateFlags1 &= ~0x20;
|
||||
player->stateFlags1 &= ~PLAYER_STATE1_20;
|
||||
} else {
|
||||
func_800B85E0(&this->actor, play, 1000.0f, -1);
|
||||
}
|
||||
|
||||
@@ -1149,10 +1149,10 @@ void func_80B43074(EnKgy* this, PlayState* play) {
|
||||
gSPMatrix(gfx, Matrix_NewMtx(play->state.gfxCtx), G_MTX_NOPUSH | G_MTX_LOAD | G_MTX_MODELVIEW);
|
||||
|
||||
if (func_80B40D8C(play)) {
|
||||
gSPDisplayList(&gfx[1], gameplay_keep_DL_001D00);
|
||||
gSPDisplayList(&gfx[1], gRazorSwordHandleDL);
|
||||
gSPDisplayList(&gfx[2], object_kgy_DL_00F180);
|
||||
} else {
|
||||
gSPDisplayList(&gfx[1], gameplay_keep_DL_0021A8);
|
||||
gSPDisplayList(&gfx[1], gKokiriSwordHandleDL);
|
||||
gSPDisplayList(&gfx[2], object_kgy_DL_00E8F0);
|
||||
}
|
||||
POLY_OPA_DISP = &gfx[3];
|
||||
|
||||
@@ -44,14 +44,14 @@ void func_80A5E6F0(Actor* thisx, PlayState* play);
|
||||
void func_80A5E9B4(Actor* thisx, PlayState* play);
|
||||
void func_80A5EA48(Actor* thisx, PlayState* play);
|
||||
|
||||
static EnKusa2UnkBssStruct D_80A5F1C0;
|
||||
static u32 D_80A60900;
|
||||
static MtxF D_80A60908[8];
|
||||
static s16 D_80A60B08;
|
||||
static s16 D_80A60B0A;
|
||||
static s16 D_80A60B0C;
|
||||
static s16 D_80A60B0E;
|
||||
static s16 D_80A60B10;
|
||||
EnKusa2UnkBssStruct D_80A5F1C0;
|
||||
u32 D_80A60900;
|
||||
MtxF D_80A60908[8];
|
||||
s16 D_80A60B08;
|
||||
s16 D_80A60B0A;
|
||||
s16 D_80A60B0C;
|
||||
s16 D_80A60B0E;
|
||||
s16 D_80A60B10;
|
||||
|
||||
const ActorInit En_Kusa2_InitVars = {
|
||||
ACTOR_EN_KUSA2,
|
||||
@@ -85,11 +85,11 @@ static ColliderCylinderInit sCylinderInit = {
|
||||
{ 6, 44, 0, { 0, 0, 0 } },
|
||||
};
|
||||
|
||||
static u8 D_80A5EAEC = 1;
|
||||
static s16 D_80A5EAF0 = 0;
|
||||
static Vec3s D_80A5EAF4 = { 0, 0, 0 };
|
||||
static Vec3s D_80A5EAFC = { 0, 0, 0 };
|
||||
static Vec3s D_80A5EB04 = { 0, 0, 0 };
|
||||
u8 D_80A5EAEC = 1;
|
||||
s16 D_80A5EAF0 = 0;
|
||||
Vec3s D_80A5EAF4 = { 0, 0, 0 };
|
||||
Vec3s D_80A5EAFC = { 0, 0, 0 };
|
||||
Vec3s D_80A5EB04 = { 0, 0, 0 };
|
||||
|
||||
void func_80A5B160(EnKusa2* this, PlayState* play) {
|
||||
s32 i;
|
||||
|
||||
@@ -355,7 +355,7 @@ void EnLookNuts_Update(Actor* thisx, PlayState* play) {
|
||||
if ((this->isPlayerDetected == true) || (this->actor.xzDistToPlayer < 20.0f)) {
|
||||
Player* player = GET_PLAYER(play);
|
||||
|
||||
if (!(player->stateFlags3 & 0x100) && !Play_InCsMode(play)) {
|
||||
if (!(player->stateFlags3 & PLAYER_STATE3_100) && !Play_InCsMode(play)) {
|
||||
Math_Vec3f_Copy(&this->headRotTarget, &gZeroVec3f);
|
||||
this->state = PALACE_GUARD_RUNNING_TO_PLAYER;
|
||||
play_sound(NA_SE_SY_FOUND);
|
||||
|
||||
@@ -347,7 +347,7 @@ void EnMa4_Wait(EnMa4* this, PlayState* play) {
|
||||
EnMa4_StartDialogue(this, play);
|
||||
EnMa4_SetupDialogueHandler(this);
|
||||
} else if (this->type != MA4_TYPE_ALIENS_WON || ABS_ALT(yaw) < 0x4000) {
|
||||
if (!(player->stateFlags1 & 0x800000)) {
|
||||
if (!(player->stateFlags1 & PLAYER_STATE1_800000)) {
|
||||
func_800B8614(&this->actor, play, 100.0f);
|
||||
}
|
||||
}
|
||||
@@ -596,7 +596,7 @@ void EnMa4_ChooseNextDialogue(EnMa4* this, PlayState* play) {
|
||||
this->textId = 0x334C;
|
||||
} else {
|
||||
func_801477B4(play);
|
||||
player->stateFlags1 |= 0x20;
|
||||
player->stateFlags1 |= PLAYER_STATE1_20;
|
||||
EnMa4_SetupBeginEponasSongCs(this);
|
||||
EnMa4_BeginEponasSongCs(this, play);
|
||||
}
|
||||
@@ -692,7 +692,7 @@ void EnMa4_InitHorsebackGame(EnMa4* this, PlayState* play) {
|
||||
Interface_StartTimer(TIMER_ID_MINIGAME_2, 0);
|
||||
gSaveContext.save.weekEventReg[8] |= 1;
|
||||
func_80112AFC(play);
|
||||
player->stateFlags1 |= 0x20;
|
||||
player->stateFlags1 |= PLAYER_STATE1_20;
|
||||
this->actionFunc = EnMa4_SetupHorsebackGameWait;
|
||||
}
|
||||
|
||||
@@ -701,7 +701,7 @@ void EnMa4_SetupHorsebackGameWait(EnMa4* this, PlayState* play) {
|
||||
|
||||
if (play->interfaceCtx.unk_280 == 8) {
|
||||
this->actionFunc = EnMa4_HorsebackGameWait;
|
||||
player->stateFlags1 &= ~0x20;
|
||||
player->stateFlags1 &= ~PLAYER_STATE1_20;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -709,7 +709,7 @@ void EnMa4_HorsebackGameWait(EnMa4* this, PlayState* play) {
|
||||
static s16 D_80AC0258 = 0;
|
||||
Player* player = GET_PLAYER(play);
|
||||
|
||||
player->stateFlags3 |= 0x400;
|
||||
player->stateFlags3 |= PLAYER_STATE3_400;
|
||||
EnMa4_HorsebackGameCheckPlayerInteractions(this, play);
|
||||
|
||||
if (this->poppedBalloonCounter != D_80AC0258) {
|
||||
@@ -736,7 +736,7 @@ void EnMa4_HorsebackGameEnd(EnMa4* this, PlayState* play) {
|
||||
static s32 sFrameCounter = 0;
|
||||
Player* player = GET_PLAYER(play);
|
||||
|
||||
if (player->stateFlags1 & 0x100000) {
|
||||
if (player->stateFlags1 & PLAYER_STATE1_100000) {
|
||||
play->actorCtx.unk268 = 1;
|
||||
play->actorCtx.unk_26C.press.button = BTN_A;
|
||||
} else {
|
||||
@@ -827,7 +827,7 @@ void EnMa4_EponasSongCs(EnMa4* this, PlayState* play) {
|
||||
} else {
|
||||
Player* player = GET_PLAYER(play);
|
||||
|
||||
player->stateFlags1 |= 0x20;
|
||||
player->stateFlags1 |= PLAYER_STATE1_20;
|
||||
func_800B85E0(&this->actor, play, 200.0f, PLAYER_AP_MINUS1);
|
||||
D_80AC0260 = 99;
|
||||
this->hasBow = true;
|
||||
@@ -844,7 +844,7 @@ void EnMa4_EndEponasSongCs(EnMa4* this, PlayState* play) {
|
||||
|
||||
this->actor.flags |= ACTOR_FLAG_10000;
|
||||
if (Actor_ProcessTalkRequest(&this->actor, &play->state) != 0) {
|
||||
player->stateFlags1 &= ~0x20;
|
||||
player->stateFlags1 &= ~PLAYER_STATE1_20;
|
||||
Message_StartTextbox(play, 0x334C, &this->actor);
|
||||
this->textId = 0x334C;
|
||||
this->actor.flags &= ~ACTOR_FLAG_10000;
|
||||
|
||||
@@ -341,7 +341,7 @@ void func_80A6F9DC(EnMm3* this, PlayState* play) {
|
||||
if (this->unk_2B4 == 0x2790) {
|
||||
Player* player = GET_PLAYER(play);
|
||||
|
||||
player->stateFlags1 |= 0x20;
|
||||
player->stateFlags1 |= PLAYER_STATE1_20;
|
||||
if (Player_GetMask(play) == PLAYER_MASK_BUNNY) {
|
||||
Interface_StartPostmanTimer(0, POSTMAN_MINIGAME_BUNNY_HOOD_ON);
|
||||
} else {
|
||||
@@ -383,7 +383,7 @@ void func_80A6FBFC(EnMm3* this, PlayState* play) {
|
||||
Player* player = GET_PLAYER(play);
|
||||
|
||||
if (gSaveContext.timerStates[TIMER_ID_POSTMAN] == TIMER_STATE_POSTMAN_END) {
|
||||
player->stateFlags1 &= ~0x20;
|
||||
player->stateFlags1 &= ~PLAYER_STATE1_20;
|
||||
this->actor.flags |= ACTOR_FLAG_10000;
|
||||
if (gSaveContext.timerCurTimes[TIMER_ID_POSTMAN] > SECONDS_TO_TIMER(15)) {
|
||||
gSaveContext.timerCurTimes[TIMER_ID_POSTMAN] = SECONDS_TO_TIMER(15);
|
||||
@@ -445,7 +445,7 @@ void func_80A6FEEC(EnMm3* this, PlayState* play) {
|
||||
Player* player = GET_PLAYER(play);
|
||||
|
||||
if (Actor_ProcessTalkRequest(&this->actor, &play->state)) {
|
||||
player->stateFlags1 &= ~0x20;
|
||||
player->stateFlags1 &= ~PLAYER_STATE1_20;
|
||||
Message_StartTextbox(play, 0x2794, &this->actor);
|
||||
this->unk_2B4 = 0x2794;
|
||||
func_80151BB4(play, 0xB);
|
||||
|
||||
@@ -318,7 +318,7 @@ void EnMttag_RaceStart(EnMttag* this, PlayState* play) {
|
||||
play->interfaceCtx.unk_280 = 1;
|
||||
Audio_QueueSeqCmd(NA_BGM_GORON_RACE | 0x8000);
|
||||
play->envCtx.unk_E4 = 0xFE;
|
||||
player->stateFlags1 &= ~0x20;
|
||||
player->stateFlags1 &= ~PLAYER_STATE1_20;
|
||||
} else if ((this->timer < 60) && (play->interfaceCtx.unk_280 == 8)) {
|
||||
this->timer = 0;
|
||||
gSaveContext.eventInf[1] |= 1;
|
||||
@@ -480,7 +480,7 @@ void EnMttag_Init(Actor* thisx, PlayState* play) {
|
||||
|
||||
if (gSaveContext.save.entrance == ENTRANCE(GORON_RACETRACK, 1)) {
|
||||
player = GET_PLAYER(play);
|
||||
player->stateFlags1 |= 0x20;
|
||||
player->stateFlags1 |= PLAYER_STATE1_20;
|
||||
this->raceInitialized = false;
|
||||
this->timer = 100;
|
||||
|
||||
|
||||
@@ -97,7 +97,8 @@ void EnNutsball_Update(Actor* thisx, PlayState* play2) {
|
||||
s32 bgId;
|
||||
CollisionPoly* poly;
|
||||
|
||||
if (!(player->stateFlags1 & 0x300000C0)) {
|
||||
if (!(player->stateFlags1 &
|
||||
(PLAYER_STATE1_40 | PLAYER_STATE1_80 | PLAYER_STATE1_10000000 | PLAYER_STATE1_20000000))) {
|
||||
this->timer--;
|
||||
if (this->timer < 0) {
|
||||
this->actor.velocity.y += this->actor.gravity;
|
||||
|
||||
@@ -147,7 +147,7 @@ s32 EnNwc_PlayerReleasedBremanMarch(EnNwc* this, PlayState* play) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (player->stateFlags3 & 0x20000000) { // breman mask march
|
||||
if (player->stateFlags3 & PLAYER_STATE3_20000000) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -165,8 +165,7 @@ s32 EnNwc_IsFound(EnNwc* this, PlayState* play) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (player->stateFlags3 & 0x20000000 && // breman mask march
|
||||
this->actor.xzDistToPlayer < 100.0f) {
|
||||
if ((player->stateFlags3 & PLAYER_STATE3_20000000) && this->actor.xzDistToPlayer < 100.0f) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@@ -306,7 +306,7 @@ void EnOssan_EndInteraction(PlayState* play, EnOssan* this) {
|
||||
this->drawCursor = 0;
|
||||
this->stickLeftPrompt.isEnabled = false;
|
||||
this->stickRightPrompt.isEnabled = false;
|
||||
player->stateFlags2 &= ~0x20000000;
|
||||
player->stateFlags2 &= ~PLAYER_STATE2_20000000;
|
||||
play->interfaceCtx.unk_222 = 0;
|
||||
play->interfaceCtx.unk_224 = 0;
|
||||
if (this->cutsceneState == ENOSSAN_CUTSCENESTATE_PLAYING) {
|
||||
@@ -366,7 +366,7 @@ void EnOssan_Idle(EnOssan* this, PlayState* play) {
|
||||
|
||||
SubS_FillLimbRotTables(play, this->limbRotTableY, this->limbRotTableZ, ARRAY_COUNT(this->limbRotTableY));
|
||||
if (Actor_ProcessTalkRequest(&this->actor, &play->state)) {
|
||||
player->stateFlags2 |= 0x20000000;
|
||||
player->stateFlags2 |= PLAYER_STATE2_20000000;
|
||||
EnOssan_SetupAction(this, EnOssan_BeginInteraction);
|
||||
if (this->cutsceneState == ENOSSAN_CUTSCENESTATE_STOPPED) {
|
||||
if (ActorCutscene_GetCurrentIndex() == 0x7C) {
|
||||
@@ -984,7 +984,7 @@ void EnOssan_SetupBuyItemWithFanfare(PlayState* play, EnOssan* this) {
|
||||
Actor_PickUp(&this->actor, play, this->items[this->cursorIndex]->getItemId, 300.0f, 300.0f);
|
||||
play->msgCtx.msgMode = 0x43;
|
||||
play->msgCtx.stateTimer = 4;
|
||||
player->stateFlags2 &= ~0x20000000;
|
||||
player->stateFlags2 &= ~PLAYER_STATE2_20000000;
|
||||
Interface_SetHudVisibility(HUD_VISIBILITY_ALL);
|
||||
this->drawCursor = 0;
|
||||
EnOssan_SetupAction(this, EnOssan_BuyItemWithFanfare);
|
||||
@@ -1129,7 +1129,7 @@ void EnOssan_ContinueShopping(EnOssan* this, PlayState* play) {
|
||||
case 0:
|
||||
func_8019F208();
|
||||
player->actor.shape.rot.y = BINANG_ROT180(player->actor.shape.rot.y);
|
||||
player->stateFlags2 |= 0x20000000;
|
||||
player->stateFlags2 |= PLAYER_STATE2_20000000;
|
||||
Message_StartTextbox(play, this->textId, &this->actor);
|
||||
EnOssan_SetupStartShopping(play, this, true);
|
||||
func_800B85E0(&this->actor, play, 100.0f, PLAYER_AP_MINUS1);
|
||||
@@ -1147,7 +1147,7 @@ void EnOssan_ContinueShopping(EnOssan* this, PlayState* play) {
|
||||
item = this->items[this->cursorIndex];
|
||||
item->restockFunc(play, item);
|
||||
player->actor.shape.rot.y = BINANG_ROT180(player->actor.shape.rot.y);
|
||||
player->stateFlags2 |= 0x20000000;
|
||||
player->stateFlags2 |= PLAYER_STATE2_20000000;
|
||||
Message_StartTextbox(play, this->textId, &this->actor);
|
||||
EnOssan_SetupStartShopping(play, this, true);
|
||||
func_800B85E0(&this->actor, play, 100.0f, PLAYER_AP_MINUS1);
|
||||
@@ -1160,7 +1160,7 @@ void EnOssan_ItemPurchased(EnOssan* this, PlayState* play) {
|
||||
if (this->cutsceneState == ENOSSAN_CUTSCENESTATE_STOPPED) {
|
||||
if (ActorCutscene_GetCanPlayNext(this->cutscene)) {
|
||||
ActorCutscene_StartAndSetFlag(this->cutscene, &this->actor);
|
||||
player->stateFlags2 |= 0x20000000;
|
||||
player->stateFlags2 |= PLAYER_STATE2_20000000;
|
||||
EnOssan_SetupAction(this, EnOssan_ContinueShopping);
|
||||
this->cutsceneState = ENOSSAN_CUTSCENESTATE_PLAYING;
|
||||
} else {
|
||||
|
||||
@@ -629,7 +629,7 @@ void func_80B5CCA0(EnOt* this, PlayState* play) {
|
||||
if (SubS_StartActorCutscene(&this->actor, this->cutscenes[0], 0x7C, SUBS_CUTSCENE_NORMAL)) {
|
||||
Player* player = GET_PLAYER(play);
|
||||
|
||||
player->stateFlags2 |= 0x20000000;
|
||||
player->stateFlags2 |= PLAYER_STATE2_20000000;
|
||||
func_80B5CCF4(this, play);
|
||||
}
|
||||
}
|
||||
@@ -666,7 +666,7 @@ void func_80B5CD40(EnOt* this, PlayState* play) {
|
||||
if (Message_ShouldAdvance(play) && (play->msgCtx.currentTextId == 0x1069)) {
|
||||
this->unk_32C |= 4;
|
||||
ActorCutscene_Stop(this->cutscenes[0]);
|
||||
player->stateFlags2 &= ~0x20000000;
|
||||
player->stateFlags2 &= ~PLAYER_STATE2_20000000;
|
||||
func_80B5CE6C(this, play);
|
||||
}
|
||||
break;
|
||||
|
||||
@@ -478,7 +478,7 @@ void func_8095B3DC(EnOwl* this, PlayState* play) {
|
||||
void func_8095B480(EnOwl* this, PlayState* play) {
|
||||
Player* player = GET_PLAYER(play);
|
||||
|
||||
if (player->stateFlags3 & 0x10000000) {
|
||||
if (player->stateFlags3 & PLAYER_STATE3_10000000) {
|
||||
this->actor.textId = 0xBF1;
|
||||
EnOwl_ChangeMode(this, func_8095BF58, func_8095C484, &this->skelAnime2, &object_owl_Anim_00CDB0, 0.0f);
|
||||
this->eyeTexIndex = 0;
|
||||
@@ -1066,7 +1066,7 @@ void func_8095CCF4(Actor* thisx, PlayState* play) {
|
||||
EnOwl* this = THIS;
|
||||
Player* player = GET_PLAYER(play);
|
||||
|
||||
if (player->stateFlags3 & 0x10000000) {
|
||||
if (player->stateFlags3 & PLAYER_STATE3_10000000) {
|
||||
Actor_Kill(&this->actor);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -1170,7 +1170,7 @@ s32 func_80AF8DD4(EnPm* this, PlayState* play) {
|
||||
u16 textId = play->msgCtx.currentTextId;
|
||||
s32 pad;
|
||||
|
||||
if (player->stateFlags1 & (0x400 | 0x40)) {
|
||||
if (player->stateFlags1 & (PLAYER_STATE1_40 | PLAYER_STATE1_400)) {
|
||||
this->unk_356 |= 0x400;
|
||||
if (this->unk_358 != textId) {
|
||||
if ((this->unk_384 == 0) || (this->unk_384 == 1)) {
|
||||
|
||||
@@ -262,7 +262,7 @@ void func_80A32740(EnPr* this, PlayState* play) {
|
||||
if (this->unk_2C8 < sqrtf(SQ(this->actor.world.pos.x - this->actor.home.pos.x) +
|
||||
SQ(this->actor.world.pos.z - this->actor.home.pos.z))) {
|
||||
func_80A32854(this);
|
||||
} else if ((this->unk_20E == 0) && (player->stateFlags1 & 0x8000000)) {
|
||||
} else if ((this->unk_20E == 0) && (player->stateFlags1 & PLAYER_STATE1_8000000)) {
|
||||
if (sqrtf(SQ(player->actor.world.pos.x - this->actor.home.pos.x) +
|
||||
SQ(player->actor.world.pos.z - this->actor.home.pos.z)) < this->unk_2C8) {
|
||||
func_80A32AF8(this);
|
||||
@@ -298,7 +298,7 @@ void func_80A3295C(EnPr* this) {
|
||||
void func_80A32984(EnPr* this, PlayState* play) {
|
||||
Player* player = GET_PLAYER(play);
|
||||
|
||||
if ((player->stateFlags1 & 0x8000000) && (this->unk_20E == 0)) {
|
||||
if ((player->stateFlags1 & PLAYER_STATE1_8000000) && (this->unk_20E == 0)) {
|
||||
this->unk_22C = this->actor.world.rot.y;
|
||||
func_80A32AF8(this);
|
||||
} else if (!func_80A325E4(this)) {
|
||||
@@ -348,7 +348,7 @@ void func_80A32B20(EnPr* this, PlayState* play) {
|
||||
this->unk_2B8 = D_80A338C0[(void)0, gSaveContext.save.playerForm] + player->actor.world.pos.y;
|
||||
func_80A324E0(this, play);
|
||||
|
||||
if (!(player->stateFlags1 & 0x8000000)) {
|
||||
if (!(player->stateFlags1 & PLAYER_STATE1_8000000)) {
|
||||
this->skelAnime.playSpeed = 1.0f;
|
||||
this->actor.speedXZ = 1.0f;
|
||||
func_80A32854(this);
|
||||
@@ -375,7 +375,7 @@ void func_80A32CDC(EnPr* this) {
|
||||
void func_80A32D28(EnPr* this, PlayState* play) {
|
||||
Player* player = GET_PLAYER(play);
|
||||
|
||||
if (!(player->stateFlags1 & 0x8000000)) {
|
||||
if (!(player->stateFlags1 & PLAYER_STATE1_8000000)) {
|
||||
this->skelAnime.playSpeed = 1.0f;
|
||||
this->actor.speedXZ = 1.0f;
|
||||
func_80A32854(this);
|
||||
@@ -463,7 +463,7 @@ void func_80A33098(EnPr* this, PlayState* play) {
|
||||
this->actor.focus.pos.z, 0, 0, 0, CLEAR_TAG_LARGE_LIGHT_RAYS);
|
||||
}
|
||||
|
||||
if ((player->stateFlags1 & 0x8000000) && (this->actor.colChkInfo.damageEffect == 5)) {
|
||||
if ((player->stateFlags1 & PLAYER_STATE1_8000000) && (this->actor.colChkInfo.damageEffect == 5)) {
|
||||
this->drawDmgEffAlpha = 40;
|
||||
this->drawDmgEffType = ACTOR_DRAW_DMGEFF_ELECTRIC_SPARKS_MEDIUM;
|
||||
}
|
||||
|
||||
@@ -206,7 +206,7 @@ s32 func_80A7429C(EnPr2* this, PlayState* play) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!(player->stateFlags1 & 0x8000000)) {
|
||||
if (!(player->stateFlags1 & PLAYER_STATE1_8000000)) {
|
||||
return false;
|
||||
} else {
|
||||
return true;
|
||||
@@ -356,7 +356,7 @@ void func_80A748E8(EnPr2* this, PlayState* play) {
|
||||
temp_f12 = player->actor.world.pos.z - this->unk_228.z;
|
||||
sqrtXZ = sqrtf(SQ(temp_f2) + SQ(temp_f12));
|
||||
|
||||
if (sp48 && (player->stateFlags1 & 0x8000000) && (sqrtXZ < this->unk_208)) {
|
||||
if (sp48 && (player->stateFlags1 & PLAYER_STATE1_8000000) && (sqrtXZ < this->unk_208)) {
|
||||
sp4C = true;
|
||||
func_80A74DEC(this, play);
|
||||
}
|
||||
@@ -446,7 +446,7 @@ void func_80A74E90(EnPr2* this, PlayState* play) {
|
||||
WaterBox* sp40;
|
||||
|
||||
Math_ApproachF(&this->unk_204, 0.02f, 0.1f, 0.005f);
|
||||
if ((this->unk_1D8 == 0) || !(player->stateFlags1 & 0x8000000) || (this->unk_1E0 == 0)) {
|
||||
if ((this->unk_1D8 == 0) || !(player->stateFlags1 & PLAYER_STATE1_8000000) || (this->unk_1E0 == 0)) {
|
||||
func_80A74888(this);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -234,7 +234,7 @@ void func_80A763E8(EnPrz* this, PlayState* play) {
|
||||
return;
|
||||
}
|
||||
|
||||
if ((player->stateFlags1 & 0x8000000) && (this->unk_1F2 == 0)) {
|
||||
if ((player->stateFlags1 & PLAYER_STATE1_8000000) && (this->unk_1F2 == 0)) {
|
||||
func_80A76748(this);
|
||||
return;
|
||||
}
|
||||
@@ -291,7 +291,7 @@ void func_80A76634(EnPrz* this, PlayState* play) {
|
||||
if (func_80A762C0(this, play) != 0) {
|
||||
this->unk_1E4 += 0x1500;
|
||||
this->unk_1E4 += (s16)Rand_ZeroFloat(5000.0f);
|
||||
} else if ((player->stateFlags1 & 0x8000000) && (player->actor.floorHeight < 30.0f)) {
|
||||
} else if ((player->stateFlags1 & PLAYER_STATE1_8000000) && (player->actor.floorHeight < 30.0f)) {
|
||||
this->actionFunc = func_80A763E8;
|
||||
} else {
|
||||
this->unk_1EE = 10;
|
||||
@@ -325,7 +325,7 @@ void func_80A767A8(EnPrz* this, PlayState* play) {
|
||||
distXZ = sqrtf(SQ(player->actor.world.pos.x - this->actor.parent->home.pos.x) +
|
||||
SQ(player->actor.world.pos.z - this->actor.parent->home.pos.z));
|
||||
|
||||
if (!(player->stateFlags1 & 0x8000000) || (pr->unk_2C8 < distXZ)) {
|
||||
if (!(player->stateFlags1 & PLAYER_STATE1_8000000) || (pr->unk_2C8 < distXZ)) {
|
||||
this->unk_1F2 = 100;
|
||||
this->skelAnime.playSpeed = 1.0f;
|
||||
func_80A76388(this);
|
||||
|
||||
@@ -310,7 +310,7 @@ void EnRaf_Idle(EnRaf* this, PlayState* play) {
|
||||
if (this->timer == 0) {
|
||||
if ((player->transformation != PLAYER_FORM_DEKU) &&
|
||||
(this->dyna.actor.xzDistToPlayer < (BREG(48) + 80.0f) && (player->invincibilityTimer == 0) &&
|
||||
DynaPolyActor_IsInRidingMovingState(&this->dyna) && !(player->stateFlags1 & 0x8000000) &&
|
||||
DynaPolyActor_IsInRidingMovingState(&this->dyna) && !(player->stateFlags1 & PLAYER_STATE1_8000000) &&
|
||||
play->grabPlayer(play, player))) {
|
||||
player->actor.parent = &this->dyna.actor;
|
||||
this->grabTarget = EN_RAF_GRAB_TARGET_PLAYER;
|
||||
@@ -372,7 +372,7 @@ void EnRaf_Grab(EnRaf* this, PlayState* play) {
|
||||
Player* player = GET_PLAYER(play);
|
||||
f32 curFrame = this->skelAnime.curFrame;
|
||||
|
||||
if ((this->grabTarget != EN_RAF_GRAB_TARGET_EXPLOSIVE) && (player->stateFlags2 & 0x80) &&
|
||||
if ((this->grabTarget != EN_RAF_GRAB_TARGET_EXPLOSIVE) && (player->stateFlags2 & PLAYER_STATE2_80) &&
|
||||
(&this->dyna.actor == player->actor.parent)) {
|
||||
Math_ApproachF(&player->actor.world.pos.x, this->dyna.actor.world.pos.x, 0.3f, 10.0f);
|
||||
Math_ApproachF(&player->actor.world.pos.y, this->dyna.actor.world.pos.y, 0.3f, 10.0f);
|
||||
@@ -414,7 +414,7 @@ void EnRaf_Chew(EnRaf* this, PlayState* play) {
|
||||
targetChewScale = (BREG(51) / 100.0f) + 0.2f;
|
||||
Math_ApproachF(&this->chewScale, targetChewScale, 0.2f, 0.03f);
|
||||
|
||||
if ((player->stateFlags2 & 0x80) && (this->grabTarget != EN_RAF_GRAB_TARGET_EXPLOSIVE) &&
|
||||
if ((player->stateFlags2 & PLAYER_STATE2_80) && (this->grabTarget != EN_RAF_GRAB_TARGET_EXPLOSIVE) &&
|
||||
(&this->dyna.actor == player->actor.parent)) {
|
||||
Math_ApproachF(&player->actor.world.pos.x, this->dyna.actor.world.pos.x, 0.3f, 10.0f);
|
||||
Math_ApproachF(&player->actor.world.pos.y, this->dyna.actor.world.pos.y, 0.3f, 10.0f);
|
||||
@@ -432,7 +432,7 @@ void EnRaf_Chew(EnRaf* this, PlayState* play) {
|
||||
play->damagePlayer(play, -2);
|
||||
func_800B8E58((Player*)this, player->ageProperties->unk_92 + NA_SE_VO_LI_DAMAGE_S);
|
||||
CollisionCheck_GreenBlood(play, NULL, &player->actor.world.pos);
|
||||
if ((this->chewCount > (BREG(53) + 5)) || !(player->stateFlags2 & 0x80)) {
|
||||
if ((this->chewCount > (BREG(53) + 5)) || !(player->stateFlags2 & PLAYER_STATE2_80)) {
|
||||
player->actor.freezeTimer = 10;
|
||||
EnRaf_SetupThrow(this, play);
|
||||
return;
|
||||
|
||||
@@ -438,7 +438,7 @@ void EnRailgibud_Grab(EnRailgibud* this, PlayState* play) {
|
||||
if (Animation_OnFrame(&this->skelAnime, this->skelAnime.endFrame) && (inPositionToAttack == true)) {
|
||||
this->grabState = EN_RAILGIBUD_GRAB_ATTACK;
|
||||
Actor_ChangeAnimationByInfo(&this->skelAnime, sAnimationInfo, EN_RAILGIBUD_ANIM_GRAB_ATTACK);
|
||||
} else if (!(player->stateFlags2 & 0x80)) {
|
||||
} else if (!(player->stateFlags2 & PLAYER_STATE2_80)) {
|
||||
Actor_ChangeAnimationByInfo(&this->skelAnime, sAnimationInfo, EN_RAILGIBUD_ANIM_GRAB_END);
|
||||
this->actor.flags |= ACTOR_FLAG_1;
|
||||
this->grabState = EN_RAILGIBUD_GRAB_RELEASE;
|
||||
@@ -463,9 +463,9 @@ void EnRailgibud_Grab(EnRailgibud* this, PlayState* play) {
|
||||
Actor_PlaySfxAtPos(&this->actor, NA_SE_EN_REDEAD_ATTACK);
|
||||
}
|
||||
|
||||
if (!(player->stateFlags2 & 0x80) || (player->unk_B62 != 0)) {
|
||||
if ((player->unk_B62 != 0) && (player->stateFlags2 & 0x80)) {
|
||||
player->stateFlags2 &= ~0x80;
|
||||
if (!(player->stateFlags2 & PLAYER_STATE2_80) || (player->unk_B62 != 0)) {
|
||||
if ((player->unk_B62 != 0) && (player->stateFlags2 & PLAYER_STATE2_80)) {
|
||||
player->stateFlags2 &= ~PLAYER_STATE2_80;
|
||||
player->unk_AE8 = 100;
|
||||
}
|
||||
|
||||
@@ -750,9 +750,10 @@ s32 EnRailgibud_PlayerInRangeWithCorrectState(EnRailgibud* this, PlayState* play
|
||||
return false;
|
||||
}
|
||||
|
||||
if ((Actor_DistanceToPoint(&player->actor, &this->actor.home.pos) < 100.0f) &&
|
||||
!(player->stateFlags1 & (0x200000 | 0x80000 | 0x40000 | 0x4000 | 0x2000 | 0x80)) &&
|
||||
!(player->stateFlags2 & (0x4000 | 0x80))) {
|
||||
if (Actor_DistanceToPoint(&player->actor, &this->actor.home.pos) < 100.0f &&
|
||||
!(player->stateFlags1 & (PLAYER_STATE1_80 | PLAYER_STATE1_2000 | PLAYER_STATE1_4000 | PLAYER_STATE1_40000 |
|
||||
PLAYER_STATE1_80000 | PLAYER_STATE1_200000)) &&
|
||||
!(player->stateFlags2 & (PLAYER_STATE2_80 | PLAYER_STATE2_4000))) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@@ -654,8 +654,9 @@ void EnRd_WalkToPlayer(EnRd* this, PlayState* play) {
|
||||
}
|
||||
|
||||
if ((ABS_ALT(yaw) < 0x1554) && (Actor_DistanceBetweenActors(&this->actor, &player->actor) <= 150.0f)) {
|
||||
if (!(player->stateFlags1 & (0x200000 | 0x80000 | 0x40000 | 0x4000 | 0x2000 | 0x80)) &&
|
||||
!(player->stateFlags2 & (0x4000 | 0x80))) {
|
||||
if (!(player->stateFlags1 & (PLAYER_STATE1_80 | PLAYER_STATE1_2000 | PLAYER_STATE1_4000 | PLAYER_STATE1_40000 |
|
||||
PLAYER_STATE1_80000 | PLAYER_STATE1_200000)) &&
|
||||
!(player->stateFlags2 & (PLAYER_STATE2_80 | PLAYER_STATE2_4000))) {
|
||||
if (this->playerStunWaitTimer == 0) {
|
||||
if (!(this->flags & EN_RD_FLAG_CANNOT_FREEZE_PLAYER)) {
|
||||
player->actor.freezeTimer = 40;
|
||||
@@ -838,9 +839,9 @@ void EnRd_Grab(EnRd* this, PlayState* play) {
|
||||
Math_SmoothStepToS(&this->upperBodyYRotation, 0, 1, 1500, 0);
|
||||
|
||||
case EN_RD_GRAB_ATTACK:
|
||||
if (!(player->stateFlags2 & 0x80) || (player->unk_B62 != 0)) {
|
||||
if ((player->unk_B62 != 0) && (player->stateFlags2 & 0x80)) {
|
||||
player->stateFlags2 &= ~0x80;
|
||||
if (!(player->stateFlags2 & PLAYER_STATE2_80) || (player->unk_B62 != 0)) {
|
||||
if ((player->unk_B62 != 0) && (player->stateFlags2 & PLAYER_STATE2_80)) {
|
||||
player->stateFlags2 &= ~PLAYER_STATE2_80;
|
||||
player->unk_AE8 = 100;
|
||||
}
|
||||
Animation_Change(&this->skelAnime, &gGibdoRedeadGrabEndAnim, 0.5f, 0.0f,
|
||||
|
||||
@@ -564,8 +564,9 @@ void func_80BF4AB8(EnRg* this, PlayState* play) {
|
||||
} while (phi_s0 != NULL);
|
||||
}
|
||||
|
||||
if ((phi_s0 == NULL) && (D_80BF5C10 == 0) && (this->unk_326 == 0) && (player->stateFlags3 & 0x80000) &&
|
||||
(player->invincibilityTimer == 0) && func_80BF4220(this, play, &player->actor)) {
|
||||
if ((phi_s0 == NULL) && (D_80BF5C10 == 0) && (this->unk_326 == 0) &&
|
||||
(player->stateFlags3 & PLAYER_STATE3_80000) && (player->invincibilityTimer == 0) &&
|
||||
func_80BF4220(this, play, &player->actor)) {
|
||||
this->unk_18C = &player->actor;
|
||||
this->unk_310 |= 0x800;
|
||||
D_80BF5C10 = 1;
|
||||
@@ -586,7 +587,7 @@ void func_80BF4AB8(EnRg* this, PlayState* play) {
|
||||
this->unk_320 = CLAMP_MAX(this->unk_320, 0x190);
|
||||
} else if (this->collider2.base.at->id == ACTOR_PLAYER) {
|
||||
this->unk_326 = 0x28;
|
||||
if (player->stateFlags3 & 0x1000) {
|
||||
if (player->stateFlags3 & PLAYER_STATE3_1000) {
|
||||
player->linearVelocity *= 0.5f;
|
||||
player->unk_B08[0] = player->linearVelocity;
|
||||
player->unk_B08[1] += player->linearVelocity * 0.05f;
|
||||
|
||||
@@ -296,7 +296,7 @@ void func_808FA4F4(EnRr* this, PlayState* play) {
|
||||
f32 sp30;
|
||||
f32 sp2C;
|
||||
|
||||
if (player->stateFlags2 & 0x80) {
|
||||
if (player->stateFlags2 & PLAYER_STATE2_80) {
|
||||
player->actor.parent = NULL;
|
||||
player->unk_AE8 = 100;
|
||||
this->actor.flags |= ACTOR_FLAG_1;
|
||||
@@ -571,7 +571,8 @@ void func_808FAF94(EnRr* this, PlayState* play) {
|
||||
|
||||
Math_SmoothStepToS(&this->actor.shape.rot.y, this->actor.yawTowardsPlayer, 10, 500, 0);
|
||||
this->actor.world.rot.y = this->actor.shape.rot.y;
|
||||
if ((this->unk_1E6 == 0) && !(player->stateFlags2 & 0x80) && (Player_GetMask(play) != PLAYER_MASK_STONE) &&
|
||||
if ((this->unk_1E6 == 0) && !(player->stateFlags2 & PLAYER_STATE2_80) &&
|
||||
(Player_GetMask(play) != PLAYER_MASK_STONE) &&
|
||||
(this->actor.xzDistToPlayer < (8421.053f * this->actor.scale.x))) {
|
||||
func_808FA260(this);
|
||||
} else if ((this->actor.xzDistToPlayer < 400.0f) && (this->actor.speedXZ == 0.0f)) {
|
||||
@@ -812,7 +813,7 @@ void EnRr_Update(Actor* thisx, PlayState* play) {
|
||||
if (this->unk_1FC > 0) {
|
||||
Player* player = GET_PLAYER(play);
|
||||
|
||||
if (!(player->stateFlags2 & 0x80)) {
|
||||
if (!(player->stateFlags2 & PLAYER_STATE2_80)) {
|
||||
this->unk_1FC--;
|
||||
if (this->unk_1FC == 0) {
|
||||
this->collider1.base.ocFlags1 |= OC1_TYPE_PLAYER;
|
||||
|
||||
@@ -240,7 +240,7 @@ s32 EnRuppecrow_CanSpawnBlueRupees(PlayState* play) {
|
||||
case PLAYER_FORM_ZORA:
|
||||
return false;
|
||||
case PLAYER_FORM_HUMAN:
|
||||
if (player->stateFlags1 & 0x800000) {
|
||||
if (player->stateFlags1 & PLAYER_STATE1_800000) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
@@ -268,7 +268,7 @@ void EnRuppecrow_SpawnRupee(EnRuppecrow* this, PlayState* play) {
|
||||
EnItem00* rupee;
|
||||
s16 rupeeIndex = this->rupeeIndex;
|
||||
|
||||
if (!(player->stateFlags3 & 0x1000)) {
|
||||
if (!(player->stateFlags3 & PLAYER_STATE3_1000)) {
|
||||
xOffset = (this->rupeeIndex & 1) ? 10.0f : -10.0f;
|
||||
} else {
|
||||
xOffset = 0.0f;
|
||||
@@ -407,7 +407,7 @@ void EnRuppecrow_UpdateSpeed(EnRuppecrow* this, PlayState* play) {
|
||||
this->speedModifier = 7.0f;
|
||||
break;
|
||||
case PLAYER_FORM_GORON:
|
||||
if (player->stateFlags3 & 0x1000) { // Goron Link is curled
|
||||
if (player->stateFlags3 & PLAYER_STATE3_1000) { // Goron Link is curled
|
||||
this->speedModifier = 19.0f;
|
||||
} else {
|
||||
this->speedModifier = 7.0f;
|
||||
@@ -417,7 +417,7 @@ void EnRuppecrow_UpdateSpeed(EnRuppecrow* this, PlayState* play) {
|
||||
this->speedModifier = 7.0f;
|
||||
break;
|
||||
case PLAYER_FORM_HUMAN:
|
||||
if (player->stateFlags1 & 0x800000) {
|
||||
if (player->stateFlags1 & PLAYER_STATE1_800000) {
|
||||
this->speedModifier = 16.0f;
|
||||
} else {
|
||||
this->speedModifier = 7.0f;
|
||||
@@ -507,7 +507,7 @@ void EnRuppecrow_HandleSong(EnRuppecrow* this, PlayState* play) {
|
||||
this->actionFunc = EnRuppecrow_HandleSongCutscene;
|
||||
}
|
||||
|
||||
if (player->stateFlags2 & 0x8000000) {
|
||||
if (player->stateFlags2 & PLAYER_STATE2_8000000) {
|
||||
Math_ApproachF(&this->actor.speedXZ, 0.0f, 0.1f, 1.0f);
|
||||
} else {
|
||||
Math_ApproachF(&this->actor.speedXZ, 6.0f, 0.1f, 0.1f);
|
||||
|
||||
@@ -377,7 +377,7 @@ void EnSb_Update(Actor* thisx, PlayState* play) {
|
||||
this->actionFunc(this, play);
|
||||
Actor_UpdateBgCheckInfo(play, &this->actor, 20.0f, 25.0f, 20.0f, 5);
|
||||
EnSb_UpdateDamage(this, play);
|
||||
if (player->stateFlags1 & 0x8000000) {
|
||||
if (player->stateFlags1 & PLAYER_STATE1_8000000) {
|
||||
Collider_UpdateCylinder(&this->actor, &this->collider);
|
||||
if (this->vulnerableTimer == 0) {
|
||||
CollisionCheck_SetAT(play, &play->colChkCtx, &this->collider.base);
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user