diff --git a/asm/melee/ft/chara/ftSamus/ftSs_SpecialLw_1.s b/asm/melee/ft/chara/ftSamus/ftSs_SpecialLw_1.s deleted file mode 100644 index b541de76e5..0000000000 --- a/asm/melee/ft/chara/ftSamus/ftSs_SpecialLw_1.s +++ /dev/null @@ -1,671 +0,0 @@ -.include "macros.inc" -.file "ftSs_SpecialLw_1.c" - -# 0x00000000 - 0x000008F8 -.text -.balign 4 - -.fn ftSs_SpecialLw_8012ADF0, global -/* 00000000 00000040 7C 08 02 A6 */ mflr r0 -/* 00000004 00000044 90 01 00 04 */ stw r0, 0x4(r1) -/* 00000008 00000048 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 0000000C 0000004C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 00000010 00000050 93 C1 00 28 */ stw r30, 0x28(r1) -/* 00000014 00000054 93 A1 00 24 */ stw r29, 0x24(r1) -/* 00000018 00000058 7C 7D 1B 78 */ mr r29, r3 -/* 0000001C 0000005C 83 E3 00 2C */ lwz r31, 0x2c(r3) -/* 00000020 00000060 88 7F 22 10 */ lbz r3, 0x2210(r31) -/* 00000024 00000064 83 DF 02 D4 */ lwz r30, 0x2d4(r31) -/* 00000028 00000068 54 60 CF FF */ extrwi. r0, r3, 1, 24 -/* 0000002C 0000006C 41 82 00 18 */ beq .L_00000044 -/* 00000030 00000070 38 00 00 00 */ li r0, 0x0 -/* 00000034 00000074 50 03 3E 30 */ rlwimi r3, r0, 7, 24, 24 -/* 00000038 00000078 98 7F 22 10 */ stb r3, 0x2210(r31) -/* 0000003C 0000007C 38 00 00 01 */ li r0, 0x1 -/* 00000040 00000080 48 00 00 08 */ b .L_00000048 -.L_00000044: -/* 00000044 00000084 38 00 00 00 */ li r0, 0x0 -.L_00000048: -/* 00000048 00000088 2C 00 00 00 */ cmpwi r0, 0x0 -/* 0000004C 0000008C 41 82 00 64 */ beq .L_000000B0 -/* 00000050 00000090 80 7F 05 E8 */ lwz r3, 0x5e8(r31) -/* 00000054 00000094 38 A1 00 14 */ addi r5, r1, 0x14 -/* 00000058 00000098 38 80 00 00 */ li r4, 0x0 -/* 0000005C 0000009C 80 63 00 00 */ lwz r3, 0x0(r3) -/* 00000060 000000A0 48 00 00 01 */ bl lb_8000B1CC -/* 00000064 000000A4 C0 5E 00 74 */ lfs f2, 0x74(r30) -/* 00000068 000000A8 7F A3 EB 78 */ mr r3, r29 -/* 0000006C 000000AC C0 3F 00 2C */ lfs f1, 0x2c(r31) -/* 00000070 000000B0 38 81 00 14 */ addi r4, r1, 0x14 -/* 00000074 000000B4 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 00000078 000000B8 EC 02 00 7A */ fmadds f0, f2, f1, f0 -/* 0000007C 000000BC D0 01 00 14 */ stfs f0, 0x14(r1) -/* 00000080 000000C0 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 00000084 000000C4 C0 1E 00 78 */ lfs f0, 0x78(r30) -/* 00000088 000000C8 EC 01 00 2A */ fadds f0, f1, f0 -/* 0000008C 000000CC D0 01 00 18 */ stfs f0, 0x18(r1) -/* 00000090 000000D0 C0 21 00 1C */ lfs f1, 0x1c(r1) -/* 00000094 000000D4 C0 1E 00 7C */ lfs f0, 0x7c(r30) -/* 00000098 000000D8 EC 01 00 2A */ fadds f0, f1, f0 -/* 0000009C 000000DC D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 000000A0 000000E0 C0 3F 00 2C */ lfs f1, 0x2c(r31) -/* 000000A4 000000E4 48 00 00 01 */ bl it_802B4AC8 -/* 000000A8 000000E8 38 00 00 00 */ li r0, 0x0 -/* 000000AC 000000EC 90 1F 21 BC */ stw r0, 0x21bc(r31) -.L_000000B0: -/* 000000B0 000000F0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 000000B4 000000F4 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 000000B8 000000F8 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 000000BC 000000FC 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 000000C0 00000100 38 21 00 30 */ addi r1, r1, 0x30 -/* 000000C4 00000104 7C 08 03 A6 */ mtlr r0 -/* 000000C8 00000108 4E 80 00 20 */ blr -.endfn ftSs_SpecialLw_8012ADF0 - -.fn ftSs_SpecialLw_8012AEBC, global -/* 000000CC 0000010C 7C 08 02 A6 */ mflr r0 -/* 000000D0 00000110 38 80 00 02 */ li r4, 0x2 -/* 000000D4 00000114 90 01 00 04 */ stw r0, 0x4(r1) -/* 000000D8 00000118 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 000000DC 0000011C 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 000000E0 00000120 83 E3 00 2C */ lwz r31, 0x2c(r3) -/* 000000E4 00000124 48 00 00 01 */ bl ftColl_8007B0C0 -/* 000000E8 00000128 38 00 00 02 */ li r0, 0x2 -/* 000000EC 0000012C C0 20 00 00 */ lfs f1, "@227"@sda21(r0) -/* 000000F0 00000130 90 01 00 10 */ stw r0, 0x10(r1) -/* 000000F4 00000134 38 60 00 01 */ li r3, 0x1 -/* 000000F8 00000138 38 00 00 00 */ li r0, 0x0 -/* 000000FC 0000013C C0 00 00 00 */ lfs f0, "@228"@sda21(r0) -/* 00000100 00000140 90 61 00 14 */ stw r3, 0x14(r1) -/* 00000104 00000144 7F E3 FB 78 */ mr r3, r31 -/* 00000108 00000148 90 01 00 18 */ stw r0, 0x18(r1) -/* 0000010C 0000014C 38 9F 11 A0 */ addi r4, r31, 0x11a0 -/* 00000110 00000150 38 A1 00 10 */ addi r5, r1, 0x10 -/* 00000114 00000154 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 00000118 00000158 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 0000011C 0000015C D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 00000120 00000160 D0 21 00 30 */ stfs f1, 0x30(r1) -/* 00000124 00000164 D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 00000128 00000168 D0 21 00 28 */ stfs f1, 0x28(r1) -/* 0000012C 0000016C D0 01 00 34 */ stfs f0, 0x34(r1) -/* 00000130 00000170 48 00 00 01 */ bl ftColl_8007B5AC -/* 00000134 00000174 80 01 00 44 */ lwz r0, 0x44(r1) -/* 00000138 00000178 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 0000013C 0000017C 38 21 00 40 */ addi r1, r1, 0x40 -/* 00000140 00000180 7C 08 03 A6 */ mtlr r0 -/* 00000144 00000184 4E 80 00 20 */ blr -.endfn ftSs_SpecialLw_8012AEBC - -.fn ftSs_SpecialLw_8012AF38, global -/* 00000148 00000188 7C 08 02 A6 */ mflr r0 -/* 0000014C 0000018C 38 80 00 00 */ li r4, 0x0 -/* 00000150 00000190 90 01 00 04 */ stw r0, 0x4(r1) -/* 00000154 00000194 94 21 FF F8 */ stwu r1, -0x8(r1) -/* 00000158 00000198 48 00 00 01 */ bl ftColl_8007B0C0 -/* 0000015C 0000019C 80 01 00 0C */ lwz r0, 0xc(r1) -/* 00000160 000001A0 38 21 00 08 */ addi r1, r1, 0x8 -/* 00000164 000001A4 7C 08 03 A6 */ mtlr r0 -/* 00000168 000001A8 4E 80 00 20 */ blr -.endfn ftSs_SpecialLw_8012AF38 - -.fn ftSs_SpecialLw_Enter, global -/* 0000016C 000001AC 7C 08 02 A6 */ mflr r0 -/* 00000170 000001B0 90 01 00 04 */ stw r0, 0x4(r1) -/* 00000174 000001B4 94 21 FF D8 */ stwu r1, -0x28(r1) -/* 00000178 000001B8 93 E1 00 24 */ stw r31, 0x24(r1) -/* 0000017C 000001BC 93 C1 00 20 */ stw r30, 0x20(r1) -/* 00000180 000001C0 7C 7E 1B 78 */ mr r30, r3 -/* 00000184 000001C4 83 E3 00 2C */ lwz r31, 0x2c(r3) -/* 00000188 000001C8 80 7F 02 D4 */ lwz r3, 0x2d4(r31) -/* 0000018C 000001CC C0 3F 00 EC */ lfs f1, 0xec(r31) -/* 00000190 000001D0 C0 03 00 6C */ lfs f0, 0x6c(r3) -/* 00000194 000001D4 EC 01 00 32 */ fmuls f0, f1, f0 -/* 00000198 000001D8 D0 1F 00 EC */ stfs f0, 0xec(r31) -/* 0000019C 000001DC 80 1F 00 10 */ lwz r0, 0x10(r31) -/* 000001A0 000001E0 2C 00 00 28 */ cmpwi r0, 0x28 -/* 000001A4 000001E4 40 82 00 80 */ bne .L_00000224 -/* 000001A8 000001E8 C0 20 00 00 */ lfs f1, "@228"@sda21(r0) -/* 000001AC 000001EC 7F C3 F3 78 */ mr r3, r30 -/* 000001B0 000001F0 C0 40 00 00 */ lfs f2, "@246"@sda21(r0) -/* 000001B4 000001F4 38 80 01 63 */ li r4, 0x163 -/* 000001B8 000001F8 C0 60 00 00 */ lfs f3, "@227"@sda21(r0) -/* 000001BC 000001FC 38 A0 00 00 */ li r5, 0x0 -/* 000001C0 00000200 38 C0 00 00 */ li r6, 0x0 -/* 000001C4 00000204 48 00 00 01 */ bl Fighter_ChangeMotionState -/* 000001C8 00000208 80 9E 00 2C */ lwz r4, 0x2c(r30) -/* 000001CC 0000020C 38 60 00 00 */ li r3, 0x0 -/* 000001D0 00000210 90 64 22 08 */ stw r3, 0x2208(r4) -/* 000001D4 00000214 90 64 22 04 */ stw r3, 0x2204(r4) -/* 000001D8 00000218 90 64 22 00 */ stw r3, 0x2200(r4) -/* 000001DC 0000021C 88 04 22 10 */ lbz r0, 0x2210(r4) -/* 000001E0 00000220 50 60 3E 30 */ rlwimi r0, r3, 7, 24, 24 -/* 000001E4 00000224 98 04 22 10 */ stb r0, 0x2210(r4) -/* 000001E8 00000228 90 64 23 40 */ stw r3, 0x2340(r4) -/* 000001EC 0000022C C0 20 00 00 */ lfs f1, "@228"@sda21(r0) -/* 000001F0 00000230 C0 04 08 94 */ lfs f0, 0x894(r4) -/* 000001F4 00000234 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 000001F8 00000238 40 82 00 0C */ bne .L_00000204 -/* 000001FC 0000023C 38 00 00 01 */ li r0, 0x1 -/* 00000200 00000240 90 04 22 04 */ stw r0, 0x2204(r4) -.L_00000204: -/* 00000204 00000244 3C 60 00 00 */ lis r3, ftSs_SpecialLw_8012ADF0@ha -/* 00000208 00000248 38 03 00 00 */ addi r0, r3, ftSs_SpecialLw_8012ADF0@l -/* 0000020C 0000024C 90 04 21 BC */ stw r0, 0x21bc(r4) -/* 00000210 00000250 38 00 00 02 */ li r0, 0x2 -/* 00000214 00000254 38 7E 00 00 */ addi r3, r30, 0x0 -/* 00000218 00000258 90 1F 22 04 */ stw r0, 0x2204(r31) -/* 0000021C 0000025C 48 00 00 01 */ bl ftSs_SpecialLw_8012B5F0 -/* 00000220 00000260 48 00 00 74 */ b .L_00000294 -.L_00000224: -/* 00000224 00000264 C0 20 00 00 */ lfs f1, "@227"@sda21(r0) -/* 00000228 00000268 7F C3 F3 78 */ mr r3, r30 -/* 0000022C 0000026C C0 40 00 00 */ lfs f2, "@246"@sda21(r0) -/* 00000230 00000270 38 80 01 63 */ li r4, 0x163 -/* 00000234 00000274 FC 60 08 90 */ fmr f3, f1 -/* 00000238 00000278 38 A0 00 00 */ li r5, 0x0 -/* 0000023C 0000027C 38 C0 00 00 */ li r6, 0x0 -/* 00000240 00000280 48 00 00 01 */ bl Fighter_ChangeMotionState -/* 00000244 00000284 7F C3 F3 78 */ mr r3, r30 -/* 00000248 00000288 48 00 00 01 */ bl ftAnim_8006EBA4 -/* 0000024C 0000028C 80 9E 00 2C */ lwz r4, 0x2c(r30) -/* 00000250 00000290 38 60 00 00 */ li r3, 0x0 -/* 00000254 00000294 90 64 22 08 */ stw r3, 0x2208(r4) -/* 00000258 00000298 90 64 22 04 */ stw r3, 0x2204(r4) -/* 0000025C 0000029C 90 64 22 00 */ stw r3, 0x2200(r4) -/* 00000260 000002A0 88 04 22 10 */ lbz r0, 0x2210(r4) -/* 00000264 000002A4 50 60 3E 30 */ rlwimi r0, r3, 7, 24, 24 -/* 00000268 000002A8 98 04 22 10 */ stb r0, 0x2210(r4) -/* 0000026C 000002AC 90 64 23 40 */ stw r3, 0x2340(r4) -/* 00000270 000002B0 C0 20 00 00 */ lfs f1, "@228"@sda21(r0) -/* 00000274 000002B4 C0 04 08 94 */ lfs f0, 0x894(r4) -/* 00000278 000002B8 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 0000027C 000002BC 40 82 00 0C */ bne .L_00000288 -/* 00000280 000002C0 38 00 00 01 */ li r0, 0x1 -/* 00000284 000002C4 90 04 22 04 */ stw r0, 0x2204(r4) -.L_00000288: -/* 00000288 000002C8 3C 60 00 00 */ lis r3, ftSs_SpecialLw_8012ADF0@ha -/* 0000028C 000002CC 38 03 00 00 */ addi r0, r3, ftSs_SpecialLw_8012ADF0@l -/* 00000290 000002D0 90 04 21 BC */ stw r0, 0x21bc(r4) -.L_00000294: -/* 00000294 000002D4 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 00000298 000002D8 83 E1 00 24 */ lwz r31, 0x24(r1) -/* 0000029C 000002DC 83 C1 00 20 */ lwz r30, 0x20(r1) -/* 000002A0 000002E0 38 21 00 28 */ addi r1, r1, 0x28 -/* 000002A4 000002E4 7C 08 03 A6 */ mtlr r0 -/* 000002A8 000002E8 4E 80 00 20 */ blr -.endfn ftSs_SpecialLw_Enter - -.fn ftSs_SpecialAirLw_Enter, global -/* 000002AC 000002EC 7C 08 02 A6 */ mflr r0 -/* 000002B0 000002F0 38 80 01 64 */ li r4, 0x164 -/* 000002B4 000002F4 90 01 00 04 */ stw r0, 0x4(r1) -/* 000002B8 000002F8 38 A0 00 00 */ li r5, 0x0 -/* 000002BC 000002FC 38 C0 00 00 */ li r6, 0x0 -/* 000002C0 00000300 94 21 FF D8 */ stwu r1, -0x28(r1) -/* 000002C4 00000304 93 E1 00 24 */ stw r31, 0x24(r1) -/* 000002C8 00000308 7C 7F 1B 78 */ mr r31, r3 -/* 000002CC 0000030C 80 E3 00 2C */ lwz r7, 0x2c(r3) -/* 000002D0 00000310 81 07 02 D4 */ lwz r8, 0x2d4(r7) -/* 000002D4 00000314 C0 27 00 80 */ lfs f1, 0x80(r7) -/* 000002D8 00000318 C0 08 00 70 */ lfs f0, 0x70(r8) -/* 000002DC 0000031C EC 01 00 32 */ fmuls f0, f1, f0 -/* 000002E0 00000320 D0 07 00 80 */ stfs f0, 0x80(r7) -/* 000002E4 00000324 C0 08 00 58 */ lfs f0, 0x58(r8) -/* 000002E8 00000328 D0 07 00 84 */ stfs f0, 0x84(r7) -/* 000002EC 0000032C C0 20 00 00 */ lfs f1, "@227"@sda21(r0) -/* 000002F0 00000330 C0 40 00 00 */ lfs f2, "@246"@sda21(r0) -/* 000002F4 00000334 FC 60 08 90 */ fmr f3, f1 -/* 000002F8 00000338 48 00 00 01 */ bl Fighter_ChangeMotionState -/* 000002FC 0000033C 7F E3 FB 78 */ mr r3, r31 -/* 00000300 00000340 48 00 00 01 */ bl ftAnim_8006EBA4 -/* 00000304 00000344 80 9F 00 2C */ lwz r4, 0x2c(r31) -/* 00000308 00000348 38 60 00 00 */ li r3, 0x0 -/* 0000030C 0000034C 90 64 22 08 */ stw r3, 0x2208(r4) -/* 00000310 00000350 90 64 22 04 */ stw r3, 0x2204(r4) -/* 00000314 00000354 90 64 22 00 */ stw r3, 0x2200(r4) -/* 00000318 00000358 88 04 22 10 */ lbz r0, 0x2210(r4) -/* 0000031C 0000035C 50 60 3E 30 */ rlwimi r0, r3, 7, 24, 24 -/* 00000320 00000360 98 04 22 10 */ stb r0, 0x2210(r4) -/* 00000324 00000364 90 64 23 40 */ stw r3, 0x2340(r4) -/* 00000328 00000368 C0 20 00 00 */ lfs f1, "@228"@sda21(r0) -/* 0000032C 0000036C C0 04 08 94 */ lfs f0, 0x894(r4) -/* 00000330 00000370 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 00000334 00000374 40 82 00 0C */ bne .L_00000340 -/* 00000338 00000378 38 00 00 01 */ li r0, 0x1 -/* 0000033C 0000037C 90 04 22 04 */ stw r0, 0x2204(r4) -.L_00000340: -/* 00000340 00000380 3C 60 00 00 */ lis r3, ftSs_SpecialLw_8012ADF0@ha -/* 00000344 00000384 38 03 00 00 */ addi r0, r3, ftSs_SpecialLw_8012ADF0@l -/* 00000348 00000388 90 04 21 BC */ stw r0, 0x21bc(r4) -/* 0000034C 0000038C 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 00000350 00000390 83 E1 00 24 */ lwz r31, 0x24(r1) -/* 00000354 00000394 38 21 00 28 */ addi r1, r1, 0x28 -/* 00000358 00000398 7C 08 03 A6 */ mtlr r0 -/* 0000035C 0000039C 4E 80 00 20 */ blr -.endfn ftSs_SpecialAirLw_Enter - -.fn ftSs_SpecialLwBomb_Anim, global -/* 00000360 000003A0 7C 08 02 A6 */ mflr r0 -/* 00000364 000003A4 90 01 00 04 */ stw r0, 0x4(r1) -/* 00000368 000003A8 94 21 FF A8 */ stwu r1, -0x58(r1) -/* 0000036C 000003AC 93 E1 00 54 */ stw r31, 0x54(r1) -/* 00000370 000003B0 93 C1 00 50 */ stw r30, 0x50(r1) -/* 00000374 000003B4 93 A1 00 4C */ stw r29, 0x4c(r1) -/* 00000378 000003B8 7C 7D 1B 78 */ mr r29, r3 -/* 0000037C 000003BC 83 C3 00 2C */ lwz r30, 0x2c(r3) -/* 00000380 000003C0 80 1E 22 04 */ lwz r0, 0x2204(r30) -/* 00000384 000003C4 28 00 00 01 */ cmplwi r0, 0x1 -/* 00000388 000003C8 40 82 00 18 */ bne .L_000003A0 -/* 0000038C 000003CC 38 00 00 02 */ li r0, 0x2 -/* 00000390 000003D0 90 1E 22 04 */ stw r0, 0x2204(r30) -/* 00000394 000003D4 7F A3 EB 78 */ mr r3, r29 -/* 00000398 000003D8 48 00 00 01 */ bl ftSs_SpecialLw_8012B5F0 -/* 0000039C 000003DC 48 00 00 BC */ b .L_00000458 -.L_000003A0: -/* 000003A0 000003E0 80 1E 22 00 */ lwz r0, 0x2200(r30) -/* 000003A4 000003E4 28 00 00 00 */ cmplwi r0, 0x0 -/* 000003A8 000003E8 41 82 00 6C */ beq .L_00000414 -/* 000003AC 000003EC 80 1E 23 40 */ lwz r0, 0x2340(r30) -/* 000003B0 000003F0 2C 00 00 00 */ cmpwi r0, 0x0 -/* 000003B4 000003F4 40 82 00 60 */ bne .L_00000414 -/* 000003B8 000003F8 38 7D 00 00 */ addi r3, r29, 0x0 -/* 000003BC 000003FC 38 80 00 02 */ li r4, 0x2 -/* 000003C0 00000400 48 00 00 01 */ bl ftColl_8007B0C0 -/* 000003C4 00000404 38 00 00 02 */ li r0, 0x2 -/* 000003C8 00000408 C0 20 00 00 */ lfs f1, "@227"@sda21(r0) -/* 000003CC 0000040C 90 01 00 20 */ stw r0, 0x20(r1) -/* 000003D0 00000410 3B E0 00 01 */ li r31, 0x1 -/* 000003D4 00000414 38 00 00 00 */ li r0, 0x0 -/* 000003D8 00000418 C0 00 00 00 */ lfs f0, "@228"@sda21(r0) -/* 000003DC 0000041C 93 E1 00 24 */ stw r31, 0x24(r1) -/* 000003E0 00000420 7F C3 F3 78 */ mr r3, r30 -/* 000003E4 00000424 90 01 00 28 */ stw r0, 0x28(r1) -/* 000003E8 00000428 38 9E 11 A0 */ addi r4, r30, 0x11a0 -/* 000003EC 0000042C 38 A1 00 20 */ addi r5, r1, 0x20 -/* 000003F0 00000430 D0 21 00 34 */ stfs f1, 0x34(r1) -/* 000003F4 00000434 D0 21 00 30 */ stfs f1, 0x30(r1) -/* 000003F8 00000438 D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 000003FC 0000043C D0 21 00 40 */ stfs f1, 0x40(r1) -/* 00000400 00000440 D0 21 00 3C */ stfs f1, 0x3c(r1) -/* 00000404 00000444 D0 21 00 38 */ stfs f1, 0x38(r1) -/* 00000408 00000448 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 0000040C 0000044C 48 00 00 01 */ bl ftColl_8007B5AC -/* 00000410 00000450 93 FE 23 40 */ stw r31, 0x2340(r30) -.L_00000414: -/* 00000414 00000454 80 1E 22 00 */ lwz r0, 0x2200(r30) -/* 00000418 00000458 28 00 00 00 */ cmplwi r0, 0x0 -/* 0000041C 0000045C 40 82 00 24 */ bne .L_00000440 -/* 00000420 00000460 80 1E 23 40 */ lwz r0, 0x2340(r30) -/* 00000424 00000464 2C 00 00 00 */ cmpwi r0, 0x0 -/* 00000428 00000468 41 82 00 18 */ beq .L_00000440 -/* 0000042C 0000046C 38 7D 00 00 */ addi r3, r29, 0x0 -/* 00000430 00000470 38 80 00 00 */ li r4, 0x0 -/* 00000434 00000474 48 00 00 01 */ bl ftColl_8007B0C0 -/* 00000438 00000478 38 00 00 00 */ li r0, 0x0 -/* 0000043C 0000047C 90 1E 23 40 */ stw r0, 0x2340(r30) -.L_00000440: -/* 00000440 00000480 7F A3 EB 78 */ mr r3, r29 -/* 00000444 00000484 48 00 00 01 */ bl ftAnim_IsFramesRemaining -/* 00000448 00000488 2C 03 00 00 */ cmpwi r3, 0x0 -/* 0000044C 0000048C 40 82 00 0C */ bne .L_00000458 -/* 00000450 00000490 7F A3 EB 78 */ mr r3, r29 -/* 00000454 00000494 48 00 00 01 */ bl ft_8008A2BC -.L_00000458: -/* 00000458 00000498 80 01 00 5C */ lwz r0, 0x5c(r1) -/* 0000045C 0000049C 83 E1 00 54 */ lwz r31, 0x54(r1) -/* 00000460 000004A0 83 C1 00 50 */ lwz r30, 0x50(r1) -/* 00000464 000004A4 83 A1 00 4C */ lwz r29, 0x4c(r1) -/* 00000468 000004A8 38 21 00 58 */ addi r1, r1, 0x58 -/* 0000046C 000004AC 7C 08 03 A6 */ mtlr r0 -/* 00000470 000004B0 4E 80 00 20 */ blr -.endfn ftSs_SpecialLwBomb_Anim - -.fn ftSs_SpecialAirLwBomb_Anim, global -/* 00000474 000004B4 7C 08 02 A6 */ mflr r0 -/* 00000478 000004B8 90 01 00 04 */ stw r0, 0x4(r1) -/* 0000047C 000004BC 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 00000480 000004C0 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 00000484 000004C4 93 C1 00 58 */ stw r30, 0x58(r1) -/* 00000488 000004C8 93 A1 00 54 */ stw r29, 0x54(r1) -/* 0000048C 000004CC 7C 7D 1B 78 */ mr r29, r3 -/* 00000490 000004D0 83 C3 00 2C */ lwz r30, 0x2c(r3) -/* 00000494 000004D4 80 1E 22 00 */ lwz r0, 0x2200(r30) -/* 00000498 000004D8 28 00 00 00 */ cmplwi r0, 0x0 -/* 0000049C 000004DC 41 82 00 6C */ beq .L_00000508 -/* 000004A0 000004E0 80 1E 23 40 */ lwz r0, 0x2340(r30) -/* 000004A4 000004E4 2C 00 00 00 */ cmpwi r0, 0x0 -/* 000004A8 000004E8 40 82 00 60 */ bne .L_00000508 -/* 000004AC 000004EC 38 7D 00 00 */ addi r3, r29, 0x0 -/* 000004B0 000004F0 38 80 00 02 */ li r4, 0x2 -/* 000004B4 000004F4 48 00 00 01 */ bl ftColl_8007B0C0 -/* 000004B8 000004F8 38 00 00 02 */ li r0, 0x2 -/* 000004BC 000004FC C0 20 00 00 */ lfs f1, "@227"@sda21(r0) -/* 000004C0 00000500 90 01 00 20 */ stw r0, 0x20(r1) -/* 000004C4 00000504 3B E0 00 01 */ li r31, 0x1 -/* 000004C8 00000508 38 00 00 00 */ li r0, 0x0 -/* 000004CC 0000050C C0 00 00 00 */ lfs f0, "@228"@sda21(r0) -/* 000004D0 00000510 93 E1 00 24 */ stw r31, 0x24(r1) -/* 000004D4 00000514 7F C3 F3 78 */ mr r3, r30 -/* 000004D8 00000518 90 01 00 28 */ stw r0, 0x28(r1) -/* 000004DC 0000051C 38 9E 11 A0 */ addi r4, r30, 0x11a0 -/* 000004E0 00000520 38 A1 00 20 */ addi r5, r1, 0x20 -/* 000004E4 00000524 D0 21 00 34 */ stfs f1, 0x34(r1) -/* 000004E8 00000528 D0 21 00 30 */ stfs f1, 0x30(r1) -/* 000004EC 0000052C D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 000004F0 00000530 D0 21 00 40 */ stfs f1, 0x40(r1) -/* 000004F4 00000534 D0 21 00 3C */ stfs f1, 0x3c(r1) -/* 000004F8 00000538 D0 21 00 38 */ stfs f1, 0x38(r1) -/* 000004FC 0000053C D0 01 00 44 */ stfs f0, 0x44(r1) -/* 00000500 00000540 48 00 00 01 */ bl ftColl_8007B5AC -/* 00000504 00000544 93 FE 23 40 */ stw r31, 0x2340(r30) -.L_00000508: -/* 00000508 00000548 80 1E 22 00 */ lwz r0, 0x2200(r30) -/* 0000050C 0000054C 28 00 00 00 */ cmplwi r0, 0x0 -/* 00000510 00000550 40 82 00 24 */ bne .L_00000534 -/* 00000514 00000554 80 1E 23 40 */ lwz r0, 0x2340(r30) -/* 00000518 00000558 2C 00 00 00 */ cmpwi r0, 0x0 -/* 0000051C 0000055C 41 82 00 18 */ beq .L_00000534 -/* 00000520 00000560 38 7D 00 00 */ addi r3, r29, 0x0 -/* 00000524 00000564 38 80 00 00 */ li r4, 0x0 -/* 00000528 00000568 48 00 00 01 */ bl ftColl_8007B0C0 -/* 0000052C 0000056C 38 00 00 00 */ li r0, 0x0 -/* 00000530 00000570 90 1E 23 40 */ stw r0, 0x2340(r30) -.L_00000534: -/* 00000534 00000574 7F A3 EB 78 */ mr r3, r29 -/* 00000538 00000578 48 00 00 01 */ bl ftAnim_IsFramesRemaining -/* 0000053C 0000057C 2C 03 00 00 */ cmpwi r3, 0x0 -/* 00000540 00000580 40 82 00 0C */ bne .L_0000054C -/* 00000544 00000584 7F A3 EB 78 */ mr r3, r29 -/* 00000548 00000588 48 00 00 01 */ bl ftCo_800CC730 -.L_0000054C: -/* 0000054C 0000058C 80 01 00 64 */ lwz r0, 0x64(r1) -/* 00000550 00000590 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 00000554 00000594 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 00000558 00000598 83 A1 00 54 */ lwz r29, 0x54(r1) -/* 0000055C 0000059C 38 21 00 60 */ addi r1, r1, 0x60 -/* 00000560 000005A0 7C 08 03 A6 */ mtlr r0 -/* 00000564 000005A4 4E 80 00 20 */ blr -.endfn ftSs_SpecialAirLwBomb_Anim - -.fn ftSs_SpecialLwBomb_IASA, global -/* 00000568 000005A8 7C 08 02 A6 */ mflr r0 -/* 0000056C 000005AC 90 01 00 04 */ stw r0, 0x4(r1) -/* 00000570 000005B0 94 21 FF F8 */ stwu r1, -0x8(r1) -/* 00000574 000005B4 80 83 00 2C */ lwz r4, 0x2c(r3) -/* 00000578 000005B8 80 04 22 08 */ lwz r0, 0x2208(r4) -/* 0000057C 000005BC 80 A4 02 D4 */ lwz r5, 0x2d4(r4) -/* 00000580 000005C0 28 00 00 00 */ cmplwi r0, 0x0 -/* 00000584 000005C4 41 82 00 20 */ beq .L_000005A4 -/* 00000588 000005C8 C0 24 06 24 */ lfs f1, 0x624(r4) -/* 0000058C 000005CC C0 05 00 80 */ lfs f0, 0x80(r5) -/* 00000590 000005D0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 00000594 000005D4 40 80 00 10 */ bge .L_000005A4 -/* 00000598 000005D8 38 00 00 00 */ li r0, 0x0 -/* 0000059C 000005DC 90 04 22 08 */ stw r0, 0x2208(r4) -/* 000005A0 000005E0 48 00 00 01 */ bl ftCo_800D638C -.L_000005A4: -/* 000005A4 000005E4 80 01 00 0C */ lwz r0, 0xc(r1) -/* 000005A8 000005E8 38 21 00 08 */ addi r1, r1, 0x8 -/* 000005AC 000005EC 7C 08 03 A6 */ mtlr r0 -/* 000005B0 000005F0 4E 80 00 20 */ blr -.endfn ftSs_SpecialLwBomb_IASA - -.fn ftSs_SpecialAirLwBomb_IASA, global -/* 000005B4 000005F4 4E 80 00 20 */ blr -.endfn ftSs_SpecialAirLwBomb_IASA - -.fn ftSs_SpecialLwBomb_Phys, global -/* 000005B8 000005F8 7C 08 02 A6 */ mflr r0 -/* 000005BC 000005FC 90 01 00 04 */ stw r0, 0x4(r1) -/* 000005C0 00000600 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 000005C4 00000604 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 000005C8 00000608 7C 7F 1B 78 */ mr r31, r3 -/* 000005CC 0000060C 80 63 00 2C */ lwz r3, 0x2c(r3) -/* 000005D0 00000610 80 03 22 00 */ lwz r0, 0x2200(r3) -/* 000005D4 00000614 38 A3 01 10 */ addi r5, r3, 0x110 -/* 000005D8 00000618 80 83 02 D4 */ lwz r4, 0x2d4(r3) -/* 000005DC 0000061C 28 00 00 00 */ cmplwi r0, 0x0 -/* 000005E0 00000620 41 82 00 30 */ beq .L_00000610 -/* 000005E4 00000624 C0 45 00 00 */ lfs f2, 0x0(r5) -/* 000005E8 00000628 C0 24 00 64 */ lfs f1, 0x64(r4) -/* 000005EC 0000062C C0 65 00 08 */ lfs f3, 0x8(r5) -/* 000005F0 00000630 C0 04 00 5C */ lfs f0, 0x5c(r4) -/* 000005F4 00000634 EC 42 00 72 */ fmuls f2, f2, f1 -/* 000005F8 00000638 C0 20 00 00 */ lfs f1, "@227"@sda21(r0) -/* 000005FC 0000063C EC 63 00 32 */ fmuls f3, f3, f0 -/* 00000600 00000640 48 00 00 01 */ bl ftCommon_8007CADC -/* 00000604 00000644 7F E3 FB 78 */ mr r3, r31 -/* 00000608 00000648 48 00 00 01 */ bl ftCommon_8007CB74 -/* 0000060C 0000064C 48 00 00 0C */ b .L_00000618 -.L_00000610: -/* 00000610 00000650 7F E3 FB 78 */ mr r3, r31 -/* 00000614 00000654 48 00 00 01 */ bl ft_80084F3C -.L_00000618: -/* 00000618 00000658 80 01 00 24 */ lwz r0, 0x24(r1) -/* 0000061C 0000065C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 00000620 00000660 38 21 00 20 */ addi r1, r1, 0x20 -/* 00000624 00000664 7C 08 03 A6 */ mtlr r0 -/* 00000628 00000668 4E 80 00 20 */ blr -.endfn ftSs_SpecialLwBomb_Phys - -.fn ftSs_SpecialAirLwBomb_Phys, global -/* 0000062C 0000066C 7C 08 02 A6 */ mflr r0 -/* 00000630 00000670 90 01 00 04 */ stw r0, 0x4(r1) -/* 00000634 00000674 94 21 FF D8 */ stwu r1, -0x28(r1) -/* 00000638 00000678 93 E1 00 24 */ stw r31, 0x24(r1) -/* 0000063C 0000067C 93 C1 00 20 */ stw r30, 0x20(r1) -/* 00000640 00000680 93 A1 00 1C */ stw r29, 0x1c(r1) -/* 00000644 00000684 83 E3 00 2C */ lwz r31, 0x2c(r3) -/* 00000648 00000688 83 DF 02 D4 */ lwz r30, 0x2d4(r31) -/* 0000064C 0000068C 38 7F 00 00 */ addi r3, r31, 0x0 -/* 00000650 00000690 3B BF 01 10 */ addi r29, r31, 0x110 -/* 00000654 00000694 48 00 00 01 */ bl ftCommon_8007D4B8 -/* 00000658 00000698 C0 5D 00 64 */ lfs f2, 0x64(r29) -/* 0000065C 0000069C 7F E3 FB 78 */ mr r3, r31 -/* 00000660 000006A0 C0 3E 00 68 */ lfs f1, 0x68(r30) -/* 00000664 000006A4 C0 7D 00 6C */ lfs f3, 0x6c(r29) -/* 00000668 000006A8 C0 1E 00 60 */ lfs f0, 0x60(r30) -/* 0000066C 000006AC EC 42 00 72 */ fmuls f2, f2, f1 -/* 00000670 000006B0 C0 20 00 00 */ lfs f1, "@227"@sda21(r0) -/* 00000674 000006B4 EC 63 00 32 */ fmuls f3, f3, f0 -/* 00000678 000006B8 48 00 00 01 */ bl ftCommon_8007D3A8 -/* 0000067C 000006BC 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 00000680 000006C0 83 E1 00 24 */ lwz r31, 0x24(r1) -/* 00000684 000006C4 83 C1 00 20 */ lwz r30, 0x20(r1) -/* 00000688 000006C8 83 A1 00 1C */ lwz r29, 0x1c(r1) -/* 0000068C 000006CC 38 21 00 28 */ addi r1, r1, 0x28 -/* 00000690 000006D0 7C 08 03 A6 */ mtlr r0 -/* 00000694 000006D4 4E 80 00 20 */ blr -.endfn ftSs_SpecialAirLwBomb_Phys - -.fn ftSs_SpecialLwBomb_Coll, global -/* 00000698 000006D8 7C 08 02 A6 */ mflr r0 -/* 0000069C 000006DC 90 01 00 04 */ stw r0, 0x4(r1) -/* 000006A0 000006E0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 000006A4 000006E4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 000006A8 000006E8 7C 7F 1B 78 */ mr r31, r3 -/* 000006AC 000006EC 80 63 00 2C */ lwz r3, 0x2c(r3) -/* 000006B0 000006F0 80 03 22 00 */ lwz r0, 0x2200(r3) -/* 000006B4 000006F4 80 83 02 D4 */ lwz r4, 0x2d4(r3) -/* 000006B8 000006F8 28 00 00 00 */ cmplwi r0, 0x0 -/* 000006BC 000006FC 41 82 00 24 */ beq .L_000006E0 -/* 000006C0 00000700 38 7F 00 00 */ addi r3, r31, 0x0 -/* 000006C4 00000704 38 84 00 84 */ addi r4, r4, 0x84 -/* 000006C8 00000708 48 00 00 01 */ bl ft_80082888 -/* 000006CC 0000070C 2C 03 00 00 */ cmpwi r3, 0x0 -/* 000006D0 00000710 40 82 00 28 */ bne .L_000006F8 -/* 000006D4 00000714 7F E3 FB 78 */ mr r3, r31 -/* 000006D8 00000718 48 00 00 01 */ bl ftSs_SpecialLw_8012B570 -/* 000006DC 0000071C 48 00 00 1C */ b .L_000006F8 -.L_000006E0: -/* 000006E0 00000720 7F E3 FB 78 */ mr r3, r31 -/* 000006E4 00000724 48 00 00 01 */ bl ft_800827A0 -/* 000006E8 00000728 2C 03 00 00 */ cmpwi r3, 0x0 -/* 000006EC 0000072C 40 82 00 0C */ bne .L_000006F8 -/* 000006F0 00000730 7F E3 FB 78 */ mr r3, r31 -/* 000006F4 00000734 48 00 00 01 */ bl ftSs_SpecialLw_8012B570 -.L_000006F8: -/* 000006F8 00000738 80 01 00 24 */ lwz r0, 0x24(r1) -/* 000006FC 0000073C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 00000700 00000740 38 21 00 20 */ addi r1, r1, 0x20 -/* 00000704 00000744 7C 08 03 A6 */ mtlr r0 -/* 00000708 00000748 4E 80 00 20 */ blr -.endfn ftSs_SpecialLwBomb_Coll - -.fn ftSs_SpecialAirLwBomb_Coll, global -/* 0000070C 0000074C 7C 08 02 A6 */ mflr r0 -/* 00000710 00000750 90 01 00 04 */ stw r0, 0x4(r1) -/* 00000714 00000754 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 00000718 00000758 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 0000071C 0000075C 7C 7F 1B 78 */ mr r31, r3 -/* 00000720 00000760 80 63 00 2C */ lwz r3, 0x2c(r3) -/* 00000724 00000764 80 03 22 00 */ lwz r0, 0x2200(r3) -/* 00000728 00000768 80 83 02 D4 */ lwz r4, 0x2d4(r3) -/* 0000072C 0000076C 28 00 00 00 */ cmplwi r0, 0x0 -/* 00000730 00000770 41 82 00 24 */ beq .L_00000754 -/* 00000734 00000774 38 7F 00 00 */ addi r3, r31, 0x0 -/* 00000738 00000778 38 84 00 84 */ addi r4, r4, 0x84 -/* 0000073C 0000077C 48 00 00 01 */ bl ft_800824A0 -/* 00000740 00000780 2C 03 00 00 */ cmpwi r3, 0x0 -/* 00000744 00000784 41 82 00 28 */ beq .L_0000076C -/* 00000748 00000788 7F E3 FB 78 */ mr r3, r31 -/* 0000074C 0000078C 48 00 00 01 */ bl ftSs_SpecialLw_8012B668 -/* 00000750 00000790 48 00 00 1C */ b .L_0000076C -.L_00000754: -/* 00000754 00000794 7F E3 FB 78 */ mr r3, r31 -/* 00000758 00000798 48 00 00 01 */ bl ft_80081D0C -/* 0000075C 0000079C 2C 03 00 00 */ cmpwi r3, 0x0 -/* 00000760 000007A0 41 82 00 0C */ beq .L_0000076C -/* 00000764 000007A4 7F E3 FB 78 */ mr r3, r31 -/* 00000768 000007A8 48 00 00 01 */ bl ftSs_SpecialLw_8012B668 -.L_0000076C: -/* 0000076C 000007AC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 00000770 000007B0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 00000774 000007B4 38 21 00 20 */ addi r1, r1, 0x20 -/* 00000778 000007B8 7C 08 03 A6 */ mtlr r0 -/* 0000077C 000007BC 4E 80 00 20 */ blr -.endfn ftSs_SpecialAirLwBomb_Coll - -.fn ftSs_SpecialLw_8012B570, global -/* 00000780 000007C0 7C 08 02 A6 */ mflr r0 -/* 00000784 000007C4 90 01 00 04 */ stw r0, 0x4(r1) -/* 00000788 000007C8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 0000078C 000007CC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 00000790 000007D0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 00000794 000007D4 7C 7E 1B 78 */ mr r30, r3 -/* 00000798 000007D8 83 E3 00 2C */ lwz r31, 0x2c(r3) -/* 0000079C 000007DC 7F E3 FB 78 */ mr r3, r31 -/* 000007A0 000007E0 48 00 00 01 */ bl ftCommon_8007D5D4 -/* 000007A4 000007E4 3C 80 0C 4C */ lis r4, 0xc4c -/* 000007A8 000007E8 C0 3F 08 94 */ lfs f1, 0x894(r31) -/* 000007AC 000007EC C0 40 00 00 */ lfs f2, "@246"@sda21(r0) -/* 000007B0 000007F0 7F C3 F3 78 */ mr r3, r30 -/* 000007B4 000007F4 C0 60 00 00 */ lfs f3, "@227"@sda21(r0) -/* 000007B8 000007F8 38 A4 50 9C */ addi r5, r4, 0x509c -/* 000007BC 000007FC 38 80 01 64 */ li r4, 0x164 -/* 000007C0 00000800 38 C0 00 00 */ li r6, 0x0 -/* 000007C4 00000804 48 00 00 01 */ bl Fighter_ChangeMotionState -/* 000007C8 00000808 80 BE 00 2C */ lwz r5, 0x2c(r30) -/* 000007CC 0000080C 38 00 00 02 */ li r0, 0x2 -/* 000007D0 00000810 3C 60 00 00 */ lis r3, ftSs_SpecialLw_8012ADF0@ha -/* 000007D4 00000814 90 05 22 04 */ stw r0, 0x2204(r5) -/* 000007D8 00000818 38 80 00 00 */ li r4, 0x0 -/* 000007DC 0000081C 38 03 00 00 */ addi r0, r3, ftSs_SpecialLw_8012ADF0@l -/* 000007E0 00000820 90 85 23 40 */ stw r4, 0x2340(r5) -/* 000007E4 00000824 90 05 21 BC */ stw r0, 0x21bc(r5) -/* 000007E8 00000828 80 01 00 24 */ lwz r0, 0x24(r1) -/* 000007EC 0000082C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 000007F0 00000830 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 000007F4 00000834 38 21 00 20 */ addi r1, r1, 0x20 -/* 000007F8 00000838 7C 08 03 A6 */ mtlr r0 -/* 000007FC 0000083C 4E 80 00 20 */ blr -.endfn ftSs_SpecialLw_8012B570 - -.fn ftSs_SpecialLw_8012B5F0, global -/* 00000800 00000840 7C 08 02 A6 */ mflr r0 -/* 00000804 00000844 90 01 00 04 */ stw r0, 0x4(r1) -/* 00000808 00000848 94 21 FF D8 */ stwu r1, -0x28(r1) -/* 0000080C 0000084C 93 E1 00 24 */ stw r31, 0x24(r1) -/* 00000810 00000850 93 C1 00 20 */ stw r30, 0x20(r1) -/* 00000814 00000854 7C 7E 1B 78 */ mr r30, r3 -/* 00000818 00000858 83 E3 00 2C */ lwz r31, 0x2c(r3) -/* 0000081C 0000085C 80 9F 02 D4 */ lwz r4, 0x2d4(r31) -/* 00000820 00000860 7F E3 FB 78 */ mr r3, r31 -/* 00000824 00000864 C0 04 00 54 */ lfs f0, 0x54(r4) -/* 00000828 00000868 D0 1F 00 84 */ stfs f0, 0x84(r31) -/* 0000082C 0000086C 48 00 00 01 */ bl ftCommon_8007D5D4 -/* 00000830 00000870 3C 80 0C 4C */ lis r4, 0xc4c -/* 00000834 00000874 C0 3F 08 94 */ lfs f1, 0x894(r31) -/* 00000838 00000878 C0 40 00 00 */ lfs f2, "@246"@sda21(r0) -/* 0000083C 0000087C 7F C3 F3 78 */ mr r3, r30 -/* 00000840 00000880 C0 60 00 00 */ lfs f3, "@227"@sda21(r0) -/* 00000844 00000884 38 A4 50 9C */ addi r5, r4, 0x509c -/* 00000848 00000888 38 80 01 64 */ li r4, 0x164 -/* 0000084C 0000088C 38 C0 00 00 */ li r6, 0x0 -/* 00000850 00000890 48 00 00 01 */ bl Fighter_ChangeMotionState -/* 00000854 00000894 3C 60 00 00 */ lis r3, ftSs_SpecialLw_8012ADF0@ha -/* 00000858 00000898 38 03 00 00 */ addi r0, r3, ftSs_SpecialLw_8012ADF0@l -/* 0000085C 0000089C 90 1F 21 BC */ stw r0, 0x21bc(r31) -/* 00000860 000008A0 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 00000864 000008A4 83 E1 00 24 */ lwz r31, 0x24(r1) -/* 00000868 000008A8 83 C1 00 20 */ lwz r30, 0x20(r1) -/* 0000086C 000008AC 38 21 00 28 */ addi r1, r1, 0x28 -/* 00000870 000008B0 7C 08 03 A6 */ mtlr r0 -/* 00000874 000008B4 4E 80 00 20 */ blr -.endfn ftSs_SpecialLw_8012B5F0 - -.fn ftSs_SpecialLw_8012B668, global -/* 00000878 000008B8 7C 08 02 A6 */ mflr r0 -/* 0000087C 000008BC 90 01 00 04 */ stw r0, 0x4(r1) -/* 00000880 000008C0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 00000884 000008C4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 00000888 000008C8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 0000088C 000008CC 7C 7E 1B 78 */ mr r30, r3 -/* 00000890 000008D0 83 E3 00 2C */ lwz r31, 0x2c(r3) -/* 00000894 000008D4 7F E3 FB 78 */ mr r3, r31 -/* 00000898 000008D8 48 00 00 01 */ bl ftCommon_8007D7FC -/* 0000089C 000008DC 3C 80 0C 4C */ lis r4, 0xc4c -/* 000008A0 000008E0 C0 3F 08 94 */ lfs f1, 0x894(r31) -/* 000008A4 000008E4 C0 40 00 00 */ lfs f2, "@246"@sda21(r0) -/* 000008A8 000008E8 7F C3 F3 78 */ mr r3, r30 -/* 000008AC 000008EC C0 60 00 00 */ lfs f3, "@227"@sda21(r0) -/* 000008B0 000008F0 38 A4 50 9C */ addi r5, r4, 0x509c -/* 000008B4 000008F4 38 80 01 63 */ li r4, 0x163 -/* 000008B8 000008F8 38 C0 00 00 */ li r6, 0x0 -/* 000008BC 000008FC 48 00 00 01 */ bl Fighter_ChangeMotionState -/* 000008C0 00000900 80 BE 00 2C */ lwz r5, 0x2c(r30) -/* 000008C4 00000904 38 00 00 02 */ li r0, 0x2 -/* 000008C8 00000908 3C 60 00 00 */ lis r3, ftSs_SpecialLw_8012ADF0@ha -/* 000008CC 0000090C 90 05 22 04 */ stw r0, 0x2204(r5) -/* 000008D0 00000910 38 80 00 00 */ li r4, 0x0 -/* 000008D4 00000914 38 03 00 00 */ addi r0, r3, ftSs_SpecialLw_8012ADF0@l -/* 000008D8 00000918 90 85 23 40 */ stw r4, 0x2340(r5) -/* 000008DC 0000091C 90 05 21 BC */ stw r0, 0x21bc(r5) -/* 000008E0 00000920 80 01 00 24 */ lwz r0, 0x24(r1) -/* 000008E4 00000924 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 000008E8 00000928 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 000008EC 0000092C 38 21 00 20 */ addi r1, r1, 0x20 -/* 000008F0 00000930 7C 08 03 A6 */ mtlr r0 -/* 000008F4 00000934 4E 80 00 20 */ blr -.endfn ftSs_SpecialLw_8012B668 - -# 0x00000000 - 0x00000010 -.section .sdata2, "a" -.balign 8 - -.obj "@227", local - .4byte 0x00000000 -.endobj "@227" - -.obj "@228", local - .4byte 0x40400000 -.endobj "@228" - -.obj "@246", local - .4byte 0x3F800000 -.endobj "@246" - -.obj gap_11_804D9A14_sdata2, global -.hidden gap_11_804D9A14_sdata2 - .4byte 0x00000000 -.endobj gap_11_804D9A14_sdata2 diff --git a/configure.py b/configure.py index 0cf6d2add2..7354384b76 100755 --- a/configure.py +++ b/configure.py @@ -616,7 +616,7 @@ def RuntimeLib(lib_name: str, objects: Objects) -> LibDict: Object(Matching, "melee/ft/chara/ftSamus/ftSs_SpecialN.c"), Object(Matching, "melee/ft/chara/ftSamus/ftSs_SpecialS.c"), Object(Matching, "melee/ft/chara/ftSamus/ftSs_SpecialHi.c"), - Object(NonMatching, "melee/ft/chara/ftSamus/ftSs_SpecialLw_1.c"), + Object(Matching, "melee/ft/chara/ftSamus/ftSs_SpecialLw_1.c"), # Yoshi Object(NonMatching, "melee/ft/chara/ftYoshi/ftYs_Init.c"), Object(NonMatching, "melee/ft/chara/ftYoshi/ftYs_Guard.c"), diff --git a/obj_files.mk b/obj_files.mk index 0a2c675a76..27e511922b 100644 --- a/obj_files.mk +++ b/obj_files.mk @@ -306,7 +306,7 @@ TEXT_O_FILES +=\ $(BUILD_DIR)/src/melee/ft/chara/ftSamus/ftSs_SpecialN.c.o\ $(BUILD_DIR)/src/melee/ft/chara/ftSamus/ftSs_SpecialS.c.o\ $(BUILD_DIR)/src/melee/ft/chara/ftSamus/ftSs_SpecialHi.c.o\ - $(BUILD_DIR)/asm/melee/ft/chara/ftSamus/ftSs_SpecialLw_1.s.o\ + $(BUILD_DIR)/src/melee/ft/chara/ftSamus/ftSs_SpecialLw_1.c.o\ TEXT_O_FILES +=\ $(BUILD_DIR)/asm/melee/ft/chara/ftYoshi/ftYs_Init.s.o\ diff --git a/src/melee/ft/chara/ftSamus/ftSs_SpecialLw_1.c b/src/melee/ft/chara/ftSamus/ftSs_SpecialLw_1.c index b542713d48..27afed8263 100644 --- a/src/melee/ft/chara/ftSamus/ftSs_SpecialLw_1.c +++ b/src/melee/ft/chara/ftSamus/ftSs_SpecialLw_1.c @@ -112,23 +112,28 @@ void ftSs_SpecialAirLw_Enter(HSD_GObj* gobj) ftSamus_SpecialLw_StartAction_inner(gobj); } -inline void checkStateVar1(HSD_GObj* gobj) +inline static setSamusBits(Fighter* fp, int val) { - Fighter* fp = gobj->user_data; + fp->mv.ss.unk6.x0 = val; +} + +inline static void checkStateVar1(HSD_GObj* gobj) +{ + Fighter* fp = GET_FIGHTER(gobj); if ((fp->cmd_vars[0]) && (!fp->mv.ss.unk6.x0)) { ftSs_SpecialLw_8012AEBC(gobj); - fp->mv.ss.unk6.x0 = 1; + setSamusBits(fp, 1); } if ((!fp->cmd_vars[0]) && (fp->mv.ss.unk6.x0)) { - ftColl_8007B0C0(gobj, 0); - fp->mv.ss.unk6.x0 = 0; + ftColl_8007B0C0((Fighter_GObj*) gobj, 0); + setSamusBits(fp, 0); } } void ftSs_SpecialLwBomb_Anim(HSD_GObj* gobj) { - Fighter* fp = gobj->user_data; + Fighter* fp = GET_FIGHTER(gobj); if (fp->cmd_vars[1] == 1) { fp->cmd_vars[1] = 2; @@ -138,13 +143,14 @@ void ftSs_SpecialLwBomb_Anim(HSD_GObj* gobj) checkStateVar1(gobj); - if (!ftAnim_IsFramesRemaining(gobj)) { - ft_8008A2BC(gobj); + if (!ftAnim_IsFramesRemaining((Fighter_GObj*) gobj)) { + ft_8008A2BC((Fighter_GObj*) gobj); } } void ftSs_SpecialAirLwBomb_Anim(HSD_GObj* gobj) { + Fighter* fp = GET_FIGHTER(gobj); checkStateVar1(gobj); if (!ftAnim_IsFramesRemaining(gobj)) { ftCo_800CC730(gobj); @@ -198,10 +204,7 @@ void ftSs_SpecialLwBomb_Coll(HSD_GObj* gobj) u8 _[8]; if (fp->cmd_vars[0]) { - /// @todo Remove cast - if (!ft_80082888(gobj, - (ftCollisionBox*) &samus_attr->height_attributes)) - { + if (!ft_80082888(gobj, &samus_attr->height_attributes)) { ftSs_SpecialLw_8012B570(gobj); } } else if (!ft_800827A0(gobj)) { @@ -217,10 +220,7 @@ void ftSs_SpecialAirLwBomb_Coll(HSD_GObj* gobj) u8 _[8]; if (fp->cmd_vars[0]) { - /// @todo Remove cast - if (ft_800824A0(gobj, - (ftCollisionBox*) &samus_attr->height_attributes)) - { + if (ft_800824A0(gobj, &samus_attr->height_attributes)) { ftSs_SpecialLw_8012B668(gobj); } } else if (ft_80081D0C(gobj)) {