diff --git a/asm/non_matchings/overlays/actors/ovl_Bg_Haka_Water/BgHakaWater_Destroy.s b/asm/non_matchings/overlays/actors/ovl_Bg_Haka_Water/BgHakaWater_Destroy.s deleted file mode 100644 index 8b34a3cc43..0000000000 --- a/asm/non_matchings/overlays/actors/ovl_Bg_Haka_Water/BgHakaWater_Destroy.s +++ /dev/null @@ -1,4 +0,0 @@ -glabel BgHakaWater_Destroy -/* 00088 80881D88 AFA40000 */ sw $a0, 0x0000($sp) -/* 0008C 80881D8C 03E00008 */ jr $ra -/* 00090 80881D90 AFA50004 */ sw $a1, 0x0004($sp) diff --git a/asm/non_matchings/overlays/actors/ovl_Bg_Haka_Water/BgHakaWater_Draw.s b/asm/non_matchings/overlays/actors/ovl_Bg_Haka_Water/BgHakaWater_Draw.s deleted file mode 100644 index 7972c6b4a9..0000000000 --- a/asm/non_matchings/overlays/actors/ovl_Bg_Haka_Water/BgHakaWater_Draw.s +++ /dev/null @@ -1,279 +0,0 @@ -.rdata -glabel D_808824C0 - .asciz "../z_bg_haka_water.c" - .balign 4 - -glabel D_808824D8 - .asciz "../z_bg_haka_water.c" - .balign 4 - -glabel D_808824F0 - .asciz "../z_bg_haka_water.c" - .balign 4 - -glabel D_80882508 - .asciz "../z_bg_haka_water.c" - .balign 4 - -.late_rodata -glabel D_80882520 - .float 0.765 -glabel D_80882524 - .float 0.1 -glabel D_80882528 - .float 5.1 - -.text -glabel BgHakaWater_Draw -/* 003C4 808820C4 27BDFF70 */ addiu $sp, $sp, 0xFF70 ## $sp = FFFFFF70 -/* 003C8 808820C8 AFBF003C */ sw $ra, 0x003C($sp) -/* 003CC 808820CC AFB00038 */ sw $s0, 0x0038($sp) -/* 003D0 808820D0 AFA40090 */ sw $a0, 0x0090($sp) -/* 003D4 808820D4 AFA50094 */ sw $a1, 0x0094($sp) -/* 003D8 808820D8 8CA50000 */ lw $a1, 0x0000($a1) ## 00000000 -/* 003DC 808820DC 3C068088 */ lui $a2, %hi(D_808824C0) ## $a2 = 80880000 -/* 003E0 808820E0 24C624C0 */ addiu $a2, $a2, %lo(D_808824C0) ## $a2 = 808824C0 -/* 003E4 808820E4 27A4006C */ addiu $a0, $sp, 0x006C ## $a0 = FFFFFFDC -/* 003E8 808820E8 2407011F */ addiu $a3, $zero, 0x011F ## $a3 = 0000011F -/* 003EC 808820EC 0C031AB1 */ jal Graph_OpenDisps -/* 003F0 808820F0 00A08025 */ or $s0, $a1, $zero ## $s0 = 00000000 -/* 003F4 808820F4 8FAF0094 */ lw $t7, 0x0094($sp) -/* 003F8 808820F8 0C024F61 */ jal func_80093D84 -/* 003FC 808820FC 8DE40000 */ lw $a0, 0x0000($t7) ## 00000000 -/* 00400 80882100 8FA20090 */ lw $v0, 0x0090($sp) -/* 00404 80882104 3C014348 */ lui $at, 0x4348 ## $at = 43480000 -/* 00408 80882108 00002825 */ or $a1, $zero, $zero ## $a1 = 00000000 -/* 0040C 8088210C 90580150 */ lbu $t8, 0x0150($v0) ## 00000150 -/* 00410 80882110 53000006 */ beql $t8, $zero, .L8088212C -/* 00414 80882114 C448000C */ lwc1 $f8, 0x000C($v0) ## 0000000C -/* 00418 80882118 C4440028 */ lwc1 $f4, 0x0028($v0) ## 00000028 -/* 0041C 8088211C C446000C */ lwc1 $f6, 0x000C($v0) ## 0000000C -/* 00420 80882120 10000006 */ beq $zero, $zero, .L8088213C -/* 00424 80882124 46062001 */ sub.s $f0, $f4, $f6 -/* 00428 80882128 C448000C */ lwc1 $f8, 0x000C($v0) ## 0000000C -.L8088212C: -/* 0042C 8088212C 44815000 */ mtc1 $at, $f10 ## $f10 = 200.00 -/* 00430 80882130 C4520028 */ lwc1 $f18, 0x0028($v0) ## 00000028 -/* 00434 80882134 460A4401 */ sub.s $f16, $f8, $f10 -/* 00438 80882138 46109001 */ sub.s $f0, $f18, $f16 -.L8088213C: -/* 0043C 8088213C 8E0302D0 */ lw $v1, 0x02D0($s0) ## 000002D0 -/* 00440 80882140 3C0AFA00 */ lui $t2, 0xFA00 ## $t2 = FA000000 -/* 00444 80882144 3C018088 */ lui $at, %hi(D_80882520) ## $at = 80880000 -/* 00448 80882148 24790008 */ addiu $t9, $v1, 0x0008 ## $t9 = 00000008 -/* 0044C 8088214C AE1902D0 */ sw $t9, 0x02D0($s0) ## 000002D0 -/* 00450 80882150 AC6A0000 */ sw $t2, 0x0000($v1) ## 00000000 -/* 00454 80882154 C4242520 */ lwc1 $f4, %lo(D_80882520)($at) -/* 00458 80882158 240C0001 */ addiu $t4, $zero, 0x0001 ## $t4 = 00000001 -/* 0045C 8088215C 3C19DB06 */ lui $t9, 0xDB06 ## $t9 = DB060000 -/* 00460 80882160 46002182 */ mul.s $f6, $f4, $f0 -/* 00464 80882164 3C014F00 */ lui $at, 0x4F00 ## $at = 4F000000 -/* 00468 80882168 37390020 */ ori $t9, $t9, 0x0020 ## $t9 = DB060020 -/* 0046C 8088216C 240A0020 */ addiu $t2, $zero, 0x0020 ## $t2 = 00000020 -/* 00470 80882170 444BF800 */ cfc1 $t3, $31 -/* 00474 80882174 44CCF800 */ ctc1 $t4, $31 -/* 00478 80882178 00000000 */ nop -/* 0047C 8088217C 46003224 */ cvt.w.s $f8, $f6 -/* 00480 80882180 444CF800 */ cfc1 $t4, $31 -/* 00484 80882184 00000000 */ nop -/* 00488 80882188 318C0078 */ andi $t4, $t4, 0x0078 ## $t4 = 00000000 -/* 0048C 8088218C 51800013 */ beql $t4, $zero, .L808821DC -/* 00490 80882190 440C4000 */ mfc1 $t4, $f8 -/* 00494 80882194 44814000 */ mtc1 $at, $f8 ## $f8 = 2147483648.00 -/* 00498 80882198 240C0001 */ addiu $t4, $zero, 0x0001 ## $t4 = 00000001 -/* 0049C 8088219C 46083201 */ sub.s $f8, $f6, $f8 -/* 004A0 808821A0 44CCF800 */ ctc1 $t4, $31 -/* 004A4 808821A4 00000000 */ nop -/* 004A8 808821A8 46004224 */ cvt.w.s $f8, $f8 -/* 004AC 808821AC 444CF800 */ cfc1 $t4, $31 -/* 004B0 808821B0 00000000 */ nop -/* 004B4 808821B4 318C0078 */ andi $t4, $t4, 0x0078 ## $t4 = 00000000 -/* 004B8 808821B8 15800005 */ bne $t4, $zero, .L808821D0 -/* 004BC 808821BC 00000000 */ nop -/* 004C0 808821C0 440C4000 */ mfc1 $t4, $f8 -/* 004C4 808821C4 3C018000 */ lui $at, 0x8000 ## $at = 80000000 -/* 004C8 808821C8 10000007 */ beq $zero, $zero, .L808821E8 -/* 004CC 808821CC 01816025 */ or $t4, $t4, $at ## $t4 = 80000000 -.L808821D0: -/* 004D0 808821D0 10000005 */ beq $zero, $zero, .L808821E8 -/* 004D4 808821D4 240CFFFF */ addiu $t4, $zero, 0xFFFF ## $t4 = FFFFFFFF -/* 004D8 808821D8 440C4000 */ mfc1 $t4, $f8 -.L808821DC: -/* 004DC 808821DC 00000000 */ nop -/* 004E0 808821E0 0580FFFB */ bltz $t4, .L808821D0 -/* 004E4 808821E4 00000000 */ nop -.L808821E8: -/* 004E8 808821E8 01806825 */ or $t5, $t4, $zero ## $t5 = FFFFFFFF -/* 004EC 808821EC 31AE00FF */ andi $t6, $t5, 0x00FF ## $t6 = 000000FF -/* 004F0 808821F0 2401FF00 */ addiu $at, $zero, 0xFF00 ## $at = FFFFFF00 -/* 004F4 808821F4 01C17825 */ or $t7, $t6, $at ## $t7 = FFFFFFFF -/* 004F8 808821F8 AC6F0004 */ sw $t7, 0x0004($v1) ## 00000004 -/* 004FC 808821FC 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0 -/* 00500 80882200 8FA90094 */ lw $t1, 0x0094($sp) -/* 00504 80882204 3C030001 */ lui $v1, 0x0001 ## $v1 = 00010000 -/* 00508 80882208 24580008 */ addiu $t8, $v0, 0x0008 ## $t8 = 00000008 -/* 0050C 8088220C AE1802D0 */ sw $t8, 0x02D0($s0) ## 000002D0 -/* 00510 80882210 AC590000 */ sw $t9, 0x0000($v0) ## 00000000 -/* 00514 80882214 00691821 */ addu $v1, $v1, $t1 -/* 00518 80882218 8C631DE4 */ lw $v1, 0x1DE4($v1) ## 00011DE4 -/* 0051C 8088221C 8D240000 */ lw $a0, 0x0000($t1) ## 00000000 -/* 00520 80882220 44CBF800 */ ctc1 $t3, $31 -/* 00524 80882224 00036823 */ subu $t5, $zero, $v1 -/* 00528 80882228 31AE007F */ andi $t6, $t5, 0x007F ## $t6 = 0000007F -/* 0052C 8088222C 240B0020 */ addiu $t3, $zero, 0x0020 ## $t3 = 00000020 -/* 00530 80882230 24180020 */ addiu $t8, $zero, 0x0020 ## $t8 = 00000020 -/* 00534 80882234 240F0020 */ addiu $t7, $zero, 0x0020 ## $t7 = 00000020 -/* 00538 80882238 240C0001 */ addiu $t4, $zero, 0x0001 ## $t4 = 00000001 -/* 0053C 8088223C 3066007F */ andi $a2, $v1, 0x007F ## $a2 = 00000000 -/* 00540 80882240 00C03825 */ or $a3, $a2, $zero ## $a3 = 00000000 -/* 00544 80882244 AFAC0018 */ sw $t4, 0x0018($sp) -/* 00548 80882248 AFAF0024 */ sw $t7, 0x0024($sp) -/* 0054C 8088224C AFB80028 */ sw $t8, 0x0028($sp) -/* 00550 80882250 AFAB0014 */ sw $t3, 0x0014($sp) -/* 00554 80882254 AFAE0020 */ sw $t6, 0x0020($sp) -/* 00558 80882258 E7A00084 */ swc1 $f0, 0x0084($sp) -/* 0055C 8088225C AFA0001C */ sw $zero, 0x001C($sp) -/* 00560 80882260 AFAA0010 */ sw $t2, 0x0010($sp) -/* 00564 80882264 0C0253D0 */ jal Gfx_TwoTexScroll -/* 00568 80882268 AFA20064 */ sw $v0, 0x0064($sp) -/* 0056C 8088226C 8FA80064 */ lw $t0, 0x0064($sp) -/* 00570 80882270 C7A00084 */ lwc1 $f0, 0x0084($sp) -/* 00574 80882274 3C0ADA38 */ lui $t2, 0xDA38 ## $t2 = DA380000 -/* 00578 80882278 AD020004 */ sw $v0, 0x0004($t0) ## 00000004 -/* 0057C 8088227C 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0 -/* 00580 80882280 354A0003 */ ori $t2, $t2, 0x0003 ## $t2 = DA380003 -/* 00584 80882284 3C058088 */ lui $a1, %hi(D_808824D8) ## $a1 = 80880000 -/* 00588 80882288 24590008 */ addiu $t9, $v0, 0x0008 ## $t9 = 00000008 -/* 0058C 8088228C AE1902D0 */ sw $t9, 0x02D0($s0) ## 000002D0 -/* 00590 80882290 AC4A0000 */ sw $t2, 0x0000($v0) ## 00000000 -/* 00594 80882294 8FAB0094 */ lw $t3, 0x0094($sp) -/* 00598 80882298 24A524D8 */ addiu $a1, $a1, %lo(D_808824D8) ## $a1 = 808824D8 -/* 0059C 8088229C 24060138 */ addiu $a2, $zero, 0x0138 ## $a2 = 00000138 -/* 005A0 808822A0 8D640000 */ lw $a0, 0x0000($t3) ## 00000000 -/* 005A4 808822A4 E7A00084 */ swc1 $f0, 0x0084($sp) -/* 005A8 808822A8 0C0346A2 */ jal Matrix_NewMtx -/* 005AC 808822AC AFA20060 */ sw $v0, 0x0060($sp) -/* 005B0 808822B0 8FA30060 */ lw $v1, 0x0060($sp) -/* 005B4 808822B4 C7A00084 */ lwc1 $f0, 0x0084($sp) -/* 005B8 808822B8 3C0E0600 */ lui $t6, 0x0600 ## $t6 = 06000000 -/* 005BC 808822BC AC620004 */ sw $v0, 0x0004($v1) ## 00000004 -/* 005C0 808822C0 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0 -/* 005C4 808822C4 25CE1E50 */ addiu $t6, $t6, 0x1E50 ## $t6 = 06001E50 -/* 005C8 808822C8 3C0DDE00 */ lui $t5, 0xDE00 ## $t5 = DE000000 -/* 005CC 808822CC 244C0008 */ addiu $t4, $v0, 0x0008 ## $t4 = 00000008 -/* 005D0 808822D0 AE0C02D0 */ sw $t4, 0x02D0($s0) ## 000002D0 -/* 005D4 808822D4 3C0142B8 */ lui $at, 0x42B8 ## $at = 42B80000 -/* 005D8 808822D8 44817000 */ mtc1 $at, $f14 ## $f14 = 92.00 -/* 005DC 808822DC 44806000 */ mtc1 $zero, $f12 ## $f12 = 0.00 -/* 005E0 808822E0 AC4E0004 */ sw $t6, 0x0004($v0) ## 00000004 -/* 005E4 808822E4 AC4D0000 */ sw $t5, 0x0000($v0) ## 00000000 -/* 005E8 808822E8 3C06C4D2 */ lui $a2, 0xC4D2 ## $a2 = C4D20000 -/* 005EC 808822EC 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000 -/* 005F0 808822F0 0C034261 */ jal Matrix_Translate -/* 005F4 808822F4 E7A00084 */ swc1 $f0, 0x0084($sp) -/* 005F8 808822F8 3C018088 */ lui $at, %hi(D_80882524) ## $at = 80880000 -/* 005FC 808822FC C42C2524 */ lwc1 $f12, %lo(D_80882524)($at) -/* 00600 80882300 24070001 */ addiu $a3, $zero, 0x0001 ## $a3 = 00000001 -/* 00604 80882304 44066000 */ mfc1 $a2, $f12 -/* 00608 80882308 0C0342A3 */ jal Matrix_Scale -/* 0060C 8088230C 46006386 */ mov.s $f14, $f12 -/* 00610 80882310 3C01432A */ lui $at, 0x432A ## $at = 432A0000 -/* 00614 80882314 C7A00084 */ lwc1 $f0, 0x0084($sp) -/* 00618 80882318 44815000 */ mtc1 $at, $f10 ## $f10 = 170.00 -/* 0061C 8088231C 44801000 */ mtc1 $zero, $f2 ## $f2 = 0.00 -/* 00620 80882320 3C058088 */ lui $a1, %hi(D_808824F0) ## $a1 = 80880000 -/* 00624 80882324 460A0001 */ sub.s $f0, $f0, $f10 -/* 00628 80882328 24A524F0 */ addiu $a1, $a1, %lo(D_808824F0) ## $a1 = 808824F0 -/* 0062C 8088232C 4602003C */ c.lt.s $f0, $f2 -/* 00630 80882330 00000000 */ nop -/* 00634 80882334 45020003 */ bc1fl .L80882344 -/* 00638 80882338 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0 -/* 0063C 8088233C 46001006 */ mov.s $f0, $f2 -/* 00640 80882340 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0 -.L80882344: -/* 00644 80882344 3C18E700 */ lui $t8, 0xE700 ## $t8 = E7000000 -/* 00648 80882348 3C0AFA00 */ lui $t2, 0xFA00 ## $t2 = FA000000 -/* 0064C 8088234C 244F0008 */ addiu $t7, $v0, 0x0008 ## $t7 = 00000008 -/* 00650 80882350 AE0F02D0 */ sw $t7, 0x02D0($s0) ## 000002D0 -/* 00654 80882354 AC400004 */ sw $zero, 0x0004($v0) ## 00000004 -/* 00658 80882358 AC580000 */ sw $t8, 0x0000($v0) ## 00000000 -/* 0065C 8088235C 8E0302D0 */ lw $v1, 0x02D0($s0) ## 000002D0 -/* 00660 80882360 3C018088 */ lui $at, %hi(D_80882528) ## $at = 80880000 -/* 00664 80882364 240C0001 */ addiu $t4, $zero, 0x0001 ## $t4 = 00000001 -/* 00668 80882368 24790008 */ addiu $t9, $v1, 0x0008 ## $t9 = 00000008 -/* 0066C 8088236C AE1902D0 */ sw $t9, 0x02D0($s0) ## 000002D0 -/* 00670 80882370 AC6A0000 */ sw $t2, 0x0000($v1) ## 00000000 -/* 00674 80882374 C4322528 */ lwc1 $f18, %lo(D_80882528)($at) -/* 00678 80882378 3C014F00 */ lui $at, 0x4F00 ## $at = 4F000000 -/* 0067C 8088237C 46009402 */ mul.s $f16, $f18, $f0 -/* 00680 80882380 444BF800 */ cfc1 $t3, $31 -/* 00684 80882384 44CCF800 */ ctc1 $t4, $31 -/* 00688 80882388 00000000 */ nop -/* 0068C 8088238C 46008124 */ cvt.w.s $f4, $f16 -/* 00690 80882390 444CF800 */ cfc1 $t4, $31 -/* 00694 80882394 00000000 */ nop -/* 00698 80882398 318C0078 */ andi $t4, $t4, 0x0078 ## $t4 = 00000000 -/* 0069C 8088239C 51800013 */ beql $t4, $zero, .L808823EC -/* 006A0 808823A0 440C2000 */ mfc1 $t4, $f4 -/* 006A4 808823A4 44812000 */ mtc1 $at, $f4 ## $f4 = 2147483648.00 -/* 006A8 808823A8 240C0001 */ addiu $t4, $zero, 0x0001 ## $t4 = 00000001 -/* 006AC 808823AC 46048101 */ sub.s $f4, $f16, $f4 -/* 006B0 808823B0 44CCF800 */ ctc1 $t4, $31 -/* 006B4 808823B4 00000000 */ nop -/* 006B8 808823B8 46002124 */ cvt.w.s $f4, $f4 -/* 006BC 808823BC 444CF800 */ cfc1 $t4, $31 -/* 006C0 808823C0 00000000 */ nop -/* 006C4 808823C4 318C0078 */ andi $t4, $t4, 0x0078 ## $t4 = 00000000 -/* 006C8 808823C8 15800005 */ bne $t4, $zero, .L808823E0 -/* 006CC 808823CC 00000000 */ nop -/* 006D0 808823D0 440C2000 */ mfc1 $t4, $f4 -/* 006D4 808823D4 3C018000 */ lui $at, 0x8000 ## $at = 80000000 -/* 006D8 808823D8 10000007 */ beq $zero, $zero, .L808823F8 -/* 006DC 808823DC 01816025 */ or $t4, $t4, $at ## $t4 = 80000000 -.L808823E0: -/* 006E0 808823E0 10000005 */ beq $zero, $zero, .L808823F8 -/* 006E4 808823E4 240CFFFF */ addiu $t4, $zero, 0xFFFF ## $t4 = FFFFFFFF -/* 006E8 808823E8 440C2000 */ mfc1 $t4, $f4 -.L808823EC: -/* 006EC 808823EC 00000000 */ nop -/* 006F0 808823F0 0580FFFB */ bltz $t4, .L808823E0 -/* 006F4 808823F4 00000000 */ nop -.L808823F8: -/* 006F8 808823F8 318E00FF */ andi $t6, $t4, 0x00FF ## $t6 = 000000FF -/* 006FC 808823FC 2401FF00 */ addiu $at, $zero, 0xFF00 ## $at = FFFFFF00 -/* 00700 80882400 01C17825 */ or $t7, $t6, $at ## $t7 = FFFFFFFF -/* 00704 80882404 AC6F0004 */ sw $t7, 0x0004($v1) ## 00000004 -/* 00708 80882408 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0 -/* 0070C 8088240C 3C19DA38 */ lui $t9, 0xDA38 ## $t9 = DA380000 -/* 00710 80882410 37390003 */ ori $t9, $t9, 0x0003 ## $t9 = DA380003 -/* 00714 80882414 24580008 */ addiu $t8, $v0, 0x0008 ## $t8 = 00000008 -/* 00718 80882418 AE1802D0 */ sw $t8, 0x02D0($s0) ## 000002D0 -/* 0071C 8088241C AC590000 */ sw $t9, 0x0000($v0) ## 00000000 -/* 00720 80882420 8FAA0094 */ lw $t2, 0x0094($sp) -/* 00724 80882424 44CBF800 */ ctc1 $t3, $31 -/* 00728 80882428 24060148 */ addiu $a2, $zero, 0x0148 ## $a2 = 00000148 -/* 0072C 8088242C 8D440000 */ lw $a0, 0x0000($t2) ## FA000000 -/* 00730 80882430 0C0346A2 */ jal Matrix_NewMtx -/* 00734 80882434 AFA20050 */ sw $v0, 0x0050($sp) -/* 00738 80882438 8FA30050 */ lw $v1, 0x0050($sp) -/* 0073C 8088243C 3C0D0600 */ lui $t5, 0x0600 ## $t5 = 06000000 -/* 00740 80882440 25AD2010 */ addiu $t5, $t5, 0x2010 ## $t5 = 06002010 -/* 00744 80882444 AC620004 */ sw $v0, 0x0004($v1) ## 00000004 -/* 00748 80882448 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0 -/* 0074C 8088244C 3C0CDE00 */ lui $t4, 0xDE00 ## $t4 = DE000000 -/* 00750 80882450 3C068088 */ lui $a2, %hi(D_80882508) ## $a2 = 80880000 -/* 00754 80882454 244B0008 */ addiu $t3, $v0, 0x0008 ## $t3 = 00000008 -/* 00758 80882458 AE0B02D0 */ sw $t3, 0x02D0($s0) ## 000002D0 -/* 0075C 8088245C AC4D0004 */ sw $t5, 0x0004($v0) ## 00000004 -/* 00760 80882460 AC4C0000 */ sw $t4, 0x0000($v0) ## 00000000 -/* 00764 80882464 8FAE0094 */ lw $t6, 0x0094($sp) -/* 00768 80882468 24C62508 */ addiu $a2, $a2, %lo(D_80882508) ## $a2 = 80882508 -/* 0076C 8088246C 27A4006C */ addiu $a0, $sp, 0x006C ## $a0 = FFFFFFDC -/* 00770 80882470 2407014C */ addiu $a3, $zero, 0x014C ## $a3 = 0000014C -/* 00774 80882474 0C031AD5 */ jal Graph_CloseDisps -/* 00778 80882478 8DC50000 */ lw $a1, 0x0000($t6) ## 00000000 -/* 0077C 8088247C 8FBF003C */ lw $ra, 0x003C($sp) -/* 00780 80882480 8FB00038 */ lw $s0, 0x0038($sp) -/* 00784 80882484 27BD0090 */ addiu $sp, $sp, 0x0090 ## $sp = 00000000 -/* 00788 80882488 03E00008 */ jr $ra -/* 0078C 8088248C 00000000 */ nop diff --git a/asm/non_matchings/overlays/actors/ovl_Bg_Haka_Water/BgHakaWater_Init.s b/asm/non_matchings/overlays/actors/ovl_Bg_Haka_Water/BgHakaWater_Init.s deleted file mode 100644 index 0ace405b4a..0000000000 --- a/asm/non_matchings/overlays/actors/ovl_Bg_Haka_Water/BgHakaWater_Init.s +++ /dev/null @@ -1,39 +0,0 @@ -glabel BgHakaWater_Init -/* 00000 80881D00 27BDFFE0 */ addiu $sp, $sp, 0xFFE0 ## $sp = FFFFFFE0 -/* 00004 80881D04 AFA50024 */ sw $a1, 0x0024($sp) -/* 00008 80881D08 AFBF001C */ sw $ra, 0x001C($sp) -/* 0000C 80881D0C AFB00018 */ sw $s0, 0x0018($sp) -/* 00010 80881D10 3C058088 */ lui $a1, %hi(D_808824B0) ## $a1 = 80880000 -/* 00014 80881D14 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000 -/* 00018 80881D18 0C01E037 */ jal Actor_ProcessInitChain - -/* 0001C 80881D1C 24A524B0 */ addiu $a1, $a1, %lo(D_808824B0) ## $a1 = 808824B0 -/* 00020 80881D20 8FA40024 */ lw $a0, 0x0024($sp) -/* 00024 80881D24 0C00B2D0 */ jal Flags_GetSwitch - -/* 00028 80881D28 8605001C */ lh $a1, 0x001C($s0) ## 0000001C -/* 0002C 80881D2C 1040000B */ beq $v0, $zero, .L80881D5C -/* 00030 80881D30 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000 -/* 00034 80881D34 3C014348 */ lui $at, 0x4348 ## $at = 43480000 -/* 00038 80881D38 44813000 */ mtc1 $at, $f6 ## $f6 = 200.00 -/* 0003C 80881D3C C604000C */ lwc1 $f4, 0x000C($s0) ## 0000000C -/* 00040 80881D40 240E0001 */ addiu $t6, $zero, 0x0001 ## $t6 = 00000001 -/* 00044 80881D44 A20E0150 */ sb $t6, 0x0150($s0) ## 00000150 -/* 00048 80881D48 46062201 */ sub.s $f8, $f4, $f6 -/* 0004C 80881D4C E608000C */ swc1 $f8, 0x000C($s0) ## 0000000C -/* 00050 80881D50 C60A000C */ lwc1 $f10, 0x000C($s0) ## 0000000C -/* 00054 80881D54 10000002 */ beq $zero, $zero, .L80881D60 -/* 00058 80881D58 E60A0028 */ swc1 $f10, 0x0028($s0) ## 00000028 -.L80881D5C: -/* 0005C 80881D5C A2000150 */ sb $zero, 0x0150($s0) ## 00000150 -.L80881D60: -/* 00060 80881D60 0C220765 */ jal func_80881D94 -/* 00064 80881D64 8FA50024 */ lw $a1, 0x0024($sp) -/* 00068 80881D68 3C0F8088 */ lui $t7, %hi(func_80881EDC) ## $t7 = 80880000 -/* 0006C 80881D6C 25EF1EDC */ addiu $t7, $t7, %lo(func_80881EDC) ## $t7 = 80881EDC -/* 00070 80881D70 AE0F014C */ sw $t7, 0x014C($s0) ## 0000014C -/* 00074 80881D74 8FBF001C */ lw $ra, 0x001C($sp) -/* 00078 80881D78 8FB00018 */ lw $s0, 0x0018($sp) -/* 0007C 80881D7C 27BD0020 */ addiu $sp, $sp, 0x0020 ## $sp = 00000000 -/* 00080 80881D80 03E00008 */ jr $ra -/* 00084 80881D84 00000000 */ nop diff --git a/asm/non_matchings/overlays/actors/ovl_Bg_Haka_Water/BgHakaWater_Update.s b/asm/non_matchings/overlays/actors/ovl_Bg_Haka_Water/BgHakaWater_Update.s deleted file mode 100644 index 3337ae926e..0000000000 --- a/asm/non_matchings/overlays/actors/ovl_Bg_Haka_Water/BgHakaWater_Update.s +++ /dev/null @@ -1,10 +0,0 @@ -glabel BgHakaWater_Update -/* 003A0 808820A0 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8 -/* 003A4 808820A4 AFBF0014 */ sw $ra, 0x0014($sp) -/* 003A8 808820A8 8C99014C */ lw $t9, 0x014C($a0) ## 0000014C -/* 003AC 808820AC 0320F809 */ jalr $ra, $t9 -/* 003B0 808820B0 00000000 */ nop -/* 003B4 808820B4 8FBF0014 */ lw $ra, 0x0014($sp) -/* 003B8 808820B8 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000 -/* 003BC 808820BC 03E00008 */ jr $ra -/* 003C0 808820C0 00000000 */ nop diff --git a/asm/non_matchings/overlays/actors/ovl_Bg_Haka_Water/func_80881D94.s b/asm/non_matchings/overlays/actors/ovl_Bg_Haka_Water/func_80881D94.s deleted file mode 100644 index 83733b2f69..0000000000 --- a/asm/non_matchings/overlays/actors/ovl_Bg_Haka_Water/func_80881D94.s +++ /dev/null @@ -1,85 +0,0 @@ -glabel func_80881D94 -/* 00094 80881D94 C4840028 */ lwc1 $f4, 0x0028($a0) ## 00000028 -/* 00098 80881D98 8CA907C0 */ lw $t1, 0x07C0($a1) ## 000007C0 -/* 0009C 80881D9C 24030010 */ addiu $v1, $zero, 0x0010 ## $v1 = 00000010 -/* 000A0 80881DA0 4600218D */ trunc.w.s $f6, $f4 -/* 000A4 80881DA4 8D2A0028 */ lw $t2, 0x0028($t1) ## 00000028 -/* 000A8 80881DA8 24020090 */ addiu $v0, $zero, 0x0090 ## $v0 = 00000090 -/* 000AC 80881DAC 44193000 */ mfc1 $t9, $f6 -/* 000B0 80881DB0 00000000 */ nop -/* 000B4 80881DB4 2728FFF8 */ addiu $t0, $t9, 0xFFF8 ## $t0 = FFFFFFF8 -/* 000B8 80881DB8 A5480002 */ sh $t0, 0x0002($t2) ## 00000002 -/* 000BC 80881DBC C4920028 */ lwc1 $f18, 0x0028($a0) ## 00000028 -/* 000C0 80881DC0 8CB807C0 */ lw $t8, 0x07C0($a1) ## 000007C0 -/* 000C4 80881DC4 2442FFC0 */ addiu $v0, $v0, 0xFFC0 ## $v0 = 00000050 -/* 000C8 80881DC8 4600948D */ trunc.w.s $f18, $f18 -/* 000CC 80881DCC 8F190028 */ lw $t9, 0x0028($t8) ## 00000028 -/* 000D0 80881DD0 440E9000 */ mfc1 $t6, $f18 -/* 000D4 80881DD4 03234821 */ addu $t1, $t9, $v1 -/* 000D8 80881DD8 10620023 */ beq $v1, $v0, .L80881E68 -/* 000DC 80881DDC 25CFFFF8 */ addiu $t7, $t6, 0xFFF8 ## $t7 = FFFFFFF8 -.L80881DE0: -/* 000E0 80881DE0 A52F0002 */ sh $t7, 0x0002($t1) ## 00000002 -/* 000E4 80881DE4 C4920028 */ lwc1 $f18, 0x0028($a0) ## 00000028 -/* 000E8 80881DE8 8CAE07C0 */ lw $t6, 0x07C0($a1) ## 000007C0 -/* 000EC 80881DEC 4600948D */ trunc.w.s $f18, $f18 -/* 000F0 80881DF0 8DD80028 */ lw $t8, 0x0028($t6) ## 00000028 -/* 000F4 80881DF4 440C9000 */ mfc1 $t4, $f18 -/* 000F8 80881DF8 0303C821 */ addu $t9, $t8, $v1 -/* 000FC 80881DFC 258DFFF8 */ addiu $t5, $t4, 0xFFF8 ## $t5 = FFFFFFF8 -/* 00100 80881E00 A72D0012 */ sh $t5, 0x0012($t9) ## 00000012 -/* 00104 80881E04 C4920028 */ lwc1 $f18, 0x0028($a0) ## 00000028 -/* 00108 80881E08 8CAC07C0 */ lw $t4, 0x07C0($a1) ## 000007C0 -/* 0010C 80881E0C 4600948D */ trunc.w.s $f18, $f18 -/* 00110 80881E10 8D8E0028 */ lw $t6, 0x0028($t4) ## 00000028 -/* 00114 80881E14 440A9000 */ mfc1 $t2, $f18 -/* 00118 80881E18 01C3C021 */ addu $t8, $t6, $v1 -/* 0011C 80881E1C 254BFFF8 */ addiu $t3, $t2, 0xFFF8 ## $t3 = FFFFFFF8 -/* 00120 80881E20 A70B0022 */ sh $t3, 0x0022($t8) ## 00000022 -/* 00124 80881E24 C4920028 */ lwc1 $f18, 0x0028($a0) ## 00000028 -/* 00128 80881E28 8CAA07C0 */ lw $t2, 0x07C0($a1) ## 000007C0 -/* 0012C 80881E2C 4600948D */ trunc.w.s $f18, $f18 -/* 00130 80881E30 8D4C0028 */ lw $t4, 0x0028($t2) ## 00000028 -/* 00134 80881E34 44099000 */ mfc1 $t1, $f18 -/* 00138 80881E38 01837021 */ addu $t6, $t4, $v1 -/* 0013C 80881E3C 24630040 */ addiu $v1, $v1, 0x0040 ## $v1 = 00000050 -/* 00140 80881E40 2528FFF8 */ addiu $t0, $t1, 0xFFF8 ## $t0 = FFFFFFF8 -/* 00144 80881E44 A5C80032 */ sh $t0, 0x0032($t6) ## 00000032 -/* 00148 80881E48 C4920028 */ lwc1 $f18, 0x0028($a0) ## 00000028 -/* 0014C 80881E4C 8CB807C0 */ lw $t8, 0x07C0($a1) ## 000007C0 -/* 00150 80881E50 4600948D */ trunc.w.s $f18, $f18 -/* 00154 80881E54 8F190028 */ lw $t9, 0x0028($t8) ## 00000028 -/* 00158 80881E58 440E9000 */ mfc1 $t6, $f18 -/* 0015C 80881E5C 03234821 */ addu $t1, $t9, $v1 -/* 00160 80881E60 1462FFDF */ bne $v1, $v0, .L80881DE0 -/* 00164 80881E64 25CFFFF8 */ addiu $t7, $t6, 0xFFF8 ## $t7 = FFFFFFF8 -.L80881E68: -/* 00168 80881E68 A52F0002 */ sh $t7, 0x0002($t1) ## 00000002 -/* 0016C 80881E6C C4920028 */ lwc1 $f18, 0x0028($a0) ## 00000028 -/* 00170 80881E70 8CAE07C0 */ lw $t6, 0x07C0($a1) ## 000007C0 -/* 00174 80881E74 24420040 */ addiu $v0, $v0, 0x0040 ## $v0 = 00000090 -/* 00178 80881E78 4600948D */ trunc.w.s $f18, $f18 -/* 0017C 80881E7C 8DD80028 */ lw $t8, 0x0028($t6) ## 00000028 -/* 00180 80881E80 440C9000 */ mfc1 $t4, $f18 -/* 00184 80881E84 0303C821 */ addu $t9, $t8, $v1 -/* 00188 80881E88 258DFFF8 */ addiu $t5, $t4, 0xFFF8 ## $t5 = FFFFFFF8 -/* 0018C 80881E8C A72D0012 */ sh $t5, 0x0012($t9) ## 00000012 -/* 00190 80881E90 C4920028 */ lwc1 $f18, 0x0028($a0) ## 00000028 -/* 00194 80881E94 8CAC07C0 */ lw $t4, 0x07C0($a1) ## 000007C0 -/* 00198 80881E98 4600948D */ trunc.w.s $f18, $f18 -/* 0019C 80881E9C 8D8E0028 */ lw $t6, 0x0028($t4) ## 00000028 -/* 001A0 80881EA0 440A9000 */ mfc1 $t2, $f18 -/* 001A4 80881EA4 01C3C021 */ addu $t8, $t6, $v1 -/* 001A8 80881EA8 254BFFF8 */ addiu $t3, $t2, 0xFFF8 ## $t3 = FFFFFFF8 -/* 001AC 80881EAC A70B0022 */ sh $t3, 0x0022($t8) ## 00000022 -/* 001B0 80881EB0 C4920028 */ lwc1 $f18, 0x0028($a0) ## 00000028 -/* 001B4 80881EB4 8CAA07C0 */ lw $t2, 0x07C0($a1) ## 000007C0 -/* 001B8 80881EB8 4600948D */ trunc.w.s $f18, $f18 -/* 001BC 80881EBC 8D4C0028 */ lw $t4, 0x0028($t2) ## 00000028 -/* 001C0 80881EC0 44099000 */ mfc1 $t1, $f18 -/* 001C4 80881EC4 01837021 */ addu $t6, $t4, $v1 -/* 001C8 80881EC8 24630040 */ addiu $v1, $v1, 0x0040 ## $v1 = 00000090 -/* 001CC 80881ECC 2528FFF8 */ addiu $t0, $t1, 0xFFF8 ## $t0 = FFFFFFF8 -/* 001D0 80881ED0 A5C80032 */ sh $t0, 0x0032($t6) ## 00000032 -/* 001D4 80881ED4 03E00008 */ jr $ra -/* 001D8 80881ED8 00000000 */ nop diff --git a/asm/non_matchings/overlays/actors/ovl_Bg_Haka_Water/func_80881EDC.s b/asm/non_matchings/overlays/actors/ovl_Bg_Haka_Water/func_80881EDC.s deleted file mode 100644 index 1f61586521..0000000000 --- a/asm/non_matchings/overlays/actors/ovl_Bg_Haka_Water/func_80881EDC.s +++ /dev/null @@ -1,55 +0,0 @@ -glabel func_80881EDC -/* 001DC 80881EDC 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8 -/* 001E0 80881EE0 AFBF0014 */ sw $ra, 0x0014($sp) -/* 001E4 80881EE4 AFA5001C */ sw $a1, 0x001C($sp) -/* 001E8 80881EE8 90820150 */ lbu $v0, 0x0150($a0) ## 00000150 -/* 001EC 80881EEC 00803025 */ or $a2, $a0, $zero ## $a2 = 00000000 -/* 001F0 80881EF0 00A02025 */ or $a0, $a1, $zero ## $a0 = 00000000 -/* 001F4 80881EF4 14400007 */ bne $v0, $zero, .L80881F14 -/* 001F8 80881EF8 00000000 */ nop -/* 001FC 80881EFC 84C5001C */ lh $a1, 0x001C($a2) ## 0000001C -/* 00200 80881F00 0C00B2D0 */ jal Flags_GetSwitch - -/* 00204 80881F04 AFA60018 */ sw $a2, 0x0018($sp) -/* 00208 80881F08 14400009 */ bne $v0, $zero, .L80881F30 -/* 0020C 80881F0C 8FA60018 */ lw $a2, 0x0018($sp) -/* 00210 80881F10 90C20150 */ lbu $v0, 0x0150($a2) ## 00000150 -.L80881F14: -/* 00214 80881F14 1040001C */ beq $v0, $zero, .L80881F88 -/* 00218 80881F18 8FA4001C */ lw $a0, 0x001C($sp) -/* 0021C 80881F1C 84C5001C */ lh $a1, 0x001C($a2) ## 0000001C -/* 00220 80881F20 0C00B2D0 */ jal Flags_GetSwitch - -/* 00224 80881F24 AFA60018 */ sw $a2, 0x0018($sp) -/* 00228 80881F28 14400017 */ bne $v0, $zero, .L80881F88 -/* 0022C 80881F2C 8FA60018 */ lw $a2, 0x0018($sp) -.L80881F30: -/* 00230 80881F30 90CE0150 */ lbu $t6, 0x0150($a2) ## 00000150 -/* 00234 80881F34 3C198088 */ lui $t9, %hi(func_80881F98) ## $t9 = 80880000 -/* 00238 80881F38 3C014348 */ lui $at, 0x4348 ## $at = 43480000 -/* 0023C 80881F3C 11C0000B */ beq $t6, $zero, .L80881F6C -/* 00240 80881F40 27391F98 */ addiu $t9, $t9, %lo(func_80881F98) ## $t9 = 80881F98 -/* 00244 80881F44 3C014348 */ lui $at, 0x4348 ## $at = 43480000 -/* 00248 80881F48 44813000 */ mtc1 $at, $f6 ## $f6 = 200.00 -/* 0024C 80881F4C C4C4000C */ lwc1 $f4, 0x000C($a2) ## 0000000C -/* 00250 80881F50 3C0F8088 */ lui $t7, %hi(BgHakaWater_Draw) ## $t7 = 80880000 -/* 00254 80881F54 25EF20C4 */ addiu $t7, $t7, %lo(BgHakaWater_Draw) ## $t7 = 808820C4 -/* 00258 80881F58 46062200 */ add.s $f8, $f4, $f6 -/* 0025C 80881F5C A0C00150 */ sb $zero, 0x0150($a2) ## 00000150 -/* 00260 80881F60 ACCF0134 */ sw $t7, 0x0134($a2) ## 00000134 -/* 00264 80881F64 10000007 */ beq $zero, $zero, .L80881F84 -/* 00268 80881F68 E4C8000C */ swc1 $f8, 0x000C($a2) ## 0000000C -.L80881F6C: -/* 0026C 80881F6C C4CA000C */ lwc1 $f10, 0x000C($a2) ## 0000000C -/* 00270 80881F70 44818000 */ mtc1 $at, $f16 ## $f16 = 200.00 -/* 00274 80881F74 24180001 */ addiu $t8, $zero, 0x0001 ## $t8 = 00000001 -/* 00278 80881F78 A0D80150 */ sb $t8, 0x0150($a2) ## 00000150 -/* 0027C 80881F7C 46105481 */ sub.s $f18, $f10, $f16 -/* 00280 80881F80 E4D2000C */ swc1 $f18, 0x000C($a2) ## 0000000C -.L80881F84: -/* 00284 80881F84 ACD9014C */ sw $t9, 0x014C($a2) ## 0000014C -.L80881F88: -/* 00288 80881F88 8FBF0014 */ lw $ra, 0x0014($sp) -/* 0028C 80881F8C 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000 -/* 00290 80881F90 03E00008 */ jr $ra -/* 00294 80881F94 00000000 */ nop diff --git a/asm/non_matchings/overlays/actors/ovl_Bg_Haka_Water/func_80881F98.s b/asm/non_matchings/overlays/actors/ovl_Bg_Haka_Water/func_80881F98.s deleted file mode 100644 index fbddf5ce12..0000000000 --- a/asm/non_matchings/overlays/actors/ovl_Bg_Haka_Water/func_80881F98.s +++ /dev/null @@ -1,77 +0,0 @@ -glabel func_80881F98 -/* 00298 80881F98 27BDFFE0 */ addiu $sp, $sp, 0xFFE0 ## $sp = FFFFFFE0 -/* 0029C 80881F9C AFBF001C */ sw $ra, 0x001C($sp) -/* 002A0 80881FA0 AFB00018 */ sw $s0, 0x0018($sp) -/* 002A4 80881FA4 AFA50024 */ sw $a1, 0x0024($sp) -/* 002A8 80881FA8 908E0150 */ lbu $t6, 0x0150($a0) ## 00000150 -/* 002AC 80881FAC 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000 -/* 002B0 80881FB0 00A02025 */ or $a0, $a1, $zero ## $a0 = 00000000 -/* 002B4 80881FB4 55C0000D */ bnel $t6, $zero, .L80881FEC -/* 002B8 80881FB8 92180150 */ lbu $t8, 0x0150($s0) ## 00000150 -/* 002BC 80881FBC 0C00B2D0 */ jal Flags_GetSwitch - -/* 002C0 80881FC0 8605001C */ lh $a1, 0x001C($s0) ## 0000001C -/* 002C4 80881FC4 10400008 */ beq $v0, $zero, .L80881FE8 -/* 002C8 80881FC8 3C014348 */ lui $at, 0x4348 ## $at = 43480000 -/* 002CC 80881FCC C604000C */ lwc1 $f4, 0x000C($s0) ## 0000000C -/* 002D0 80881FD0 44813000 */ mtc1 $at, $f6 ## $f6 = 200.00 -/* 002D4 80881FD4 240F0001 */ addiu $t7, $zero, 0x0001 ## $t7 = 00000001 -/* 002D8 80881FD8 A20F0150 */ sb $t7, 0x0150($s0) ## 00000150 -/* 002DC 80881FDC 46062201 */ sub.s $f8, $f4, $f6 -/* 002E0 80881FE0 1000000E */ beq $zero, $zero, .L8088201C -/* 002E4 80881FE4 E608000C */ swc1 $f8, 0x000C($s0) ## 0000000C -.L80881FE8: -/* 002E8 80881FE8 92180150 */ lbu $t8, 0x0150($s0) ## 00000150 -.L80881FEC: -/* 002EC 80881FEC 8FA40024 */ lw $a0, 0x0024($sp) -/* 002F0 80881FF0 5300000B */ beql $t8, $zero, .L80882020 -/* 002F4 80881FF4 C604000C */ lwc1 $f4, 0x000C($s0) ## 0000000C -/* 002F8 80881FF8 0C00B2D0 */ jal Flags_GetSwitch - -/* 002FC 80881FFC 8605001C */ lh $a1, 0x001C($s0) ## 0000001C -/* 00300 80882000 14400006 */ bne $v0, $zero, .L8088201C -/* 00304 80882004 3C014348 */ lui $at, 0x4348 ## $at = 43480000 -/* 00308 80882008 C60A000C */ lwc1 $f10, 0x000C($s0) ## 0000000C -/* 0030C 8088200C 44818000 */ mtc1 $at, $f16 ## $f16 = 200.00 -/* 00310 80882010 A2000150 */ sb $zero, 0x0150($s0) ## 00000150 -/* 00314 80882014 46105480 */ add.s $f18, $f10, $f16 -/* 00318 80882018 E612000C */ swc1 $f18, 0x000C($s0) ## 0000000C -.L8088201C: -/* 0031C 8088201C C604000C */ lwc1 $f4, 0x000C($s0) ## 0000000C -.L80882020: -/* 00320 80882020 C6060028 */ lwc1 $f6, 0x0028($s0) ## 00000028 -/* 00324 80882024 2405205E */ addiu $a1, $zero, 0x205E ## $a1 = 0000205E -/* 00328 80882028 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000 -/* 0032C 8088202C 4606203C */ c.lt.s $f4, $f6 -/* 00330 80882030 00000000 */ nop -/* 00334 80882034 45000005 */ bc1f .L8088204C -/* 00338 80882038 00000000 */ nop -/* 0033C 8088203C 0C00BE52 */ jal func_8002F948 -/* 00340 80882040 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000 -/* 00344 80882044 10000004 */ beq $zero, $zero, .L80882058 -/* 00348 80882048 26040028 */ addiu $a0, $s0, 0x0028 ## $a0 = 00000028 -.L8088204C: -/* 0034C 8088204C 0C00BE52 */ jal func_8002F948 -/* 00350 80882050 2405205E */ addiu $a1, $zero, 0x205E ## $a1 = 0000205E -/* 00354 80882054 26040028 */ addiu $a0, $s0, 0x0028 ## $a0 = 00000028 -.L80882058: -/* 00358 80882058 8E05000C */ lw $a1, 0x000C($s0) ## 0000000C -/* 0035C 8088205C 0C01DE80 */ jal Math_ApproxF - -/* 00360 80882060 3C063F00 */ lui $a2, 0x3F00 ## $a2 = 3F000000 -/* 00364 80882064 10400007 */ beq $v0, $zero, .L80882084 -/* 00368 80882068 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000 -/* 0036C 8088206C 92080150 */ lbu $t0, 0x0150($s0) ## 00000150 -/* 00370 80882070 3C198088 */ lui $t9, %hi(func_80881EDC) ## $t9 = 80880000 -/* 00374 80882074 27391EDC */ addiu $t9, $t9, %lo(func_80881EDC) ## $t9 = 80881EDC -/* 00378 80882078 11000002 */ beq $t0, $zero, .L80882084 -/* 0037C 8088207C AE19014C */ sw $t9, 0x014C($s0) ## 0000014C -/* 00380 80882080 AE000134 */ sw $zero, 0x0134($s0) ## 00000134 -.L80882084: -/* 00384 80882084 0C220765 */ jal func_80881D94 -/* 00388 80882088 8FA50024 */ lw $a1, 0x0024($sp) -/* 0038C 8088208C 8FBF001C */ lw $ra, 0x001C($sp) -/* 00390 80882090 8FB00018 */ lw $s0, 0x0018($sp) -/* 00394 80882094 27BD0020 */ addiu $sp, $sp, 0x0020 ## $sp = 00000000 -/* 00398 80882098 03E00008 */ jr $ra -/* 0039C 8088209C 00000000 */ nop diff --git a/asm/non_matchings/overlays/actors/ovl_Bg_Hidan_Dalm/BgHidanDalm_Destroy.s b/asm/non_matchings/overlays/actors/ovl_Bg_Hidan_Dalm/BgHidanDalm_Destroy.s deleted file mode 100644 index 04c26efabc..0000000000 --- a/asm/non_matchings/overlays/actors/ovl_Bg_Hidan_Dalm/BgHidanDalm_Destroy.s +++ /dev/null @@ -1,20 +0,0 @@ -glabel BgHidanDalm_Destroy -/* 000E4 80885F04 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8 -/* 000E8 80885F08 AFA40018 */ sw $a0, 0x0018($sp) -/* 000EC 80885F0C 8FAE0018 */ lw $t6, 0x0018($sp) -/* 000F0 80885F10 AFBF0014 */ sw $ra, 0x0014($sp) -/* 000F4 80885F14 00A03825 */ or $a3, $a1, $zero ## $a3 = 00000000 -/* 000F8 80885F18 00A02025 */ or $a0, $a1, $zero ## $a0 = 00000000 -/* 000FC 80885F1C 8DC6014C */ lw $a2, 0x014C($t6) ## 0000014C -/* 00100 80885F20 AFA7001C */ sw $a3, 0x001C($sp) -/* 00104 80885F24 0C00FB56 */ jal DynaPolyInfo_Free - ## DynaPolyInfo_delReserve -/* 00108 80885F28 24A50810 */ addiu $a1, $a1, 0x0810 ## $a1 = 00000810 -/* 0010C 80885F2C 8FA50018 */ lw $a1, 0x0018($sp) -/* 00110 80885F30 8FA4001C */ lw $a0, 0x001C($sp) -/* 00114 80885F34 0C017232 */ jal Collider_DestroyTris -/* 00118 80885F38 24A5016C */ addiu $a1, $a1, 0x016C ## $a1 = 0000016C -/* 0011C 80885F3C 8FBF0014 */ lw $ra, 0x0014($sp) -/* 00120 80885F40 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000 -/* 00124 80885F44 03E00008 */ jr $ra -/* 00128 80885F48 00000000 */ nop diff --git a/asm/non_matchings/overlays/actors/ovl_Bg_Hidan_Dalm/BgHidanDalm_Draw.s b/asm/non_matchings/overlays/actors/ovl_Bg_Hidan_Dalm/BgHidanDalm_Draw.s deleted file mode 100644 index 451077c3c7..0000000000 --- a/asm/non_matchings/overlays/actors/ovl_Bg_Hidan_Dalm/BgHidanDalm_Draw.s +++ /dev/null @@ -1,37 +0,0 @@ -glabel BgHidanDalm_Draw -/* 005E4 80886404 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8 -/* 005E8 80886408 AFBF0014 */ sw $ra, 0x0014($sp) -/* 005EC 8088640C 848E001C */ lh $t6, 0x001C($a0) ## 0000001C -/* 005F0 80886410 00803025 */ or $a2, $a0, $zero ## $a2 = 00000000 -/* 005F4 80886414 00A03825 */ or $a3, $a1, $zero ## $a3 = 00000000 -/* 005F8 80886418 15C00008 */ bne $t6, $zero, .L8088643C -/* 005FC 8088641C 00E02025 */ or $a0, $a3, $zero ## $a0 = 00000000 -/* 00600 80886420 00A02025 */ or $a0, $a1, $zero ## $a0 = 00000000 -/* 00604 80886424 3C050601 */ lui $a1, 0x0601 ## $a1 = 06010000 -/* 00608 80886428 24A5BBF0 */ addiu $a1, $a1, 0xBBF0 ## $a1 = 0600BBF0 -/* 0060C 8088642C 0C00D498 */ jal Gfx_DrawDListOpa - -/* 00610 80886430 AFA60018 */ sw $a2, 0x0018($sp) -/* 00614 80886434 10000006 */ beq $zero, $zero, .L80886450 -/* 00618 80886438 8FA60018 */ lw $a2, 0x0018($sp) -.L8088643C: -/* 0061C 8088643C 3C050601 */ lui $a1, 0x0601 ## $a1 = 06010000 -/* 00620 80886440 24A5BDF0 */ addiu $a1, $a1, 0xBDF0 ## $a1 = 0600BDF0 -/* 00624 80886444 0C00D498 */ jal Gfx_DrawDListOpa - -/* 00628 80886448 AFA60018 */ sw $a2, 0x0018($sp) -/* 0062C 8088644C 8FA60018 */ lw $a2, 0x0018($sp) -.L80886450: -/* 00630 80886450 8CD80164 */ lw $t8, 0x0164($a2) ## 00000164 -/* 00634 80886454 3C0F8088 */ lui $t7, %hi(func_80885F4C) ## $t7 = 80880000 -/* 00638 80886458 25EF5F4C */ addiu $t7, $t7, %lo(func_80885F4C) ## $t7 = 80885F4C -/* 0063C 8088645C 55F80004 */ bnel $t7, $t8, .L80886470 -/* 00640 80886460 8FBF0014 */ lw $ra, 0x0014($sp) -/* 00644 80886464 0C2218B6 */ jal func_808862D8 -/* 00648 80886468 00C02025 */ or $a0, $a2, $zero ## $a0 = 00000000 -/* 0064C 8088646C 8FBF0014 */ lw $ra, 0x0014($sp) -.L80886470: -/* 00650 80886470 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000 -/* 00654 80886474 03E00008 */ jr $ra -/* 00658 80886478 00000000 */ nop -/* 0065C 8088647C 00000000 */ nop diff --git a/asm/non_matchings/overlays/actors/ovl_Bg_Hidan_Dalm/BgHidanDalm_Init.s b/asm/non_matchings/overlays/actors/ovl_Bg_Hidan_Dalm/BgHidanDalm_Init.s deleted file mode 100644 index 9b0bb5ca20..0000000000 --- a/asm/non_matchings/overlays/actors/ovl_Bg_Hidan_Dalm/BgHidanDalm_Init.s +++ /dev/null @@ -1,66 +0,0 @@ -glabel BgHidanDalm_Init -/* 00000 80885E20 27BDFFC8 */ addiu $sp, $sp, 0xFFC8 ## $sp = FFFFFFC8 -/* 00004 80885E24 AFB10020 */ sw $s1, 0x0020($sp) -/* 00008 80885E28 00A08825 */ or $s1, $a1, $zero ## $s1 = 00000000 -/* 0000C 80885E2C AFBF0024 */ sw $ra, 0x0024($sp) -/* 00010 80885E30 AFB0001C */ sw $s0, 0x001C($sp) -/* 00014 80885E34 3C058088 */ lui $a1, %hi(D_808865A0) ## $a1 = 80880000 -/* 00018 80885E38 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000 -/* 0001C 80885E3C AFA0002C */ sw $zero, 0x002C($sp) -/* 00020 80885E40 0C01E037 */ jal Actor_ProcessInitChain - -/* 00024 80885E44 24A565A0 */ addiu $a1, $a1, %lo(D_808865A0) ## $a1 = 808865A0 -/* 00028 80885E48 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000 -/* 0002C 80885E4C 0C010D20 */ jal DynaPolyInfo_SetActorMove - -/* 00030 80885E50 00002825 */ or $a1, $zero, $zero ## $a1 = 00000000 -/* 00034 80885E54 3C040601 */ lui $a0, 0x0601 ## $a0 = 06010000 -/* 00038 80885E58 2484DA10 */ addiu $a0, $a0, 0xDA10 ## $a0 = 0600DA10 -/* 0003C 80885E5C 0C010620 */ jal DynaPolyInfo_Alloc - -/* 00040 80885E60 27A5002C */ addiu $a1, $sp, 0x002C ## $a1 = FFFFFFF4 -/* 00044 80885E64 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000 -/* 00048 80885E68 26250810 */ addiu $a1, $s1, 0x0810 ## $a1 = 00000810 -/* 0004C 80885E6C 02003025 */ or $a2, $s0, $zero ## $a2 = 00000000 -/* 00050 80885E70 0C00FA9D */ jal DynaPolyInfo_RegisterActor - ## DynaPolyInfo_setActor -/* 00054 80885E74 8FA7002C */ lw $a3, 0x002C($sp) -/* 00058 80885E78 AE02014C */ sw $v0, 0x014C($s0) ## 0000014C -/* 0005C 80885E7C 2605016C */ addiu $a1, $s0, 0x016C ## $a1 = 0000016C -/* 00060 80885E80 AFA50028 */ sw $a1, 0x0028($sp) -/* 00064 80885E84 0C0171F8 */ jal Collider_InitTris -/* 00068 80885E88 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000 -/* 0006C 80885E8C 3C078088 */ lui $a3, %hi(D_80886590) ## $a3 = 80880000 -/* 00070 80885E90 260E018C */ addiu $t6, $s0, 0x018C ## $t6 = 0000018C -/* 00074 80885E94 8FA50028 */ lw $a1, 0x0028($sp) -/* 00078 80885E98 AFAE0010 */ sw $t6, 0x0010($sp) -/* 0007C 80885E9C 24E76590 */ addiu $a3, $a3, %lo(D_80886590) ## $a3 = 80886590 -/* 00080 80885EA0 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000 -/* 00084 80885EA4 0C0172EB */ jal Collider_SetTris -/* 00088 80885EA8 02003025 */ or $a2, $s0, $zero ## $a2 = 00000000 -/* 0008C 80885EAC 860F001C */ lh $t7, 0x001C($s0) ## 0000001C -/* 00090 80885EB0 8608001C */ lh $t0, 0x001C($s0) ## 0000001C -/* 00094 80885EB4 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000 -/* 00098 80885EB8 000FCA03 */ sra $t9, $t7, 8 -/* 0009C 80885EBC 310900FF */ andi $t1, $t0, 0x00FF ## $t1 = 00000000 -/* 000A0 80885EC0 A2190168 */ sb $t9, 0x0168($s0) ## 00000168 -/* 000A4 80885EC4 A609001C */ sh $t1, 0x001C($s0) ## 0000001C -/* 000A8 80885EC8 0C00B2D0 */ jal Flags_GetSwitch - -/* 000AC 80885ECC 332500FF */ andi $a1, $t9, 0x00FF ## $a1 = 00000000 -/* 000B0 80885ED0 10400005 */ beq $v0, $zero, .L80885EE8 -/* 000B4 80885ED4 3C0A8088 */ lui $t2, %hi(func_80885F4C) ## $t2 = 80880000 -/* 000B8 80885ED8 0C00B55C */ jal Actor_Kill - -/* 000BC 80885EDC 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000 -/* 000C0 80885EE0 10000004 */ beq $zero, $zero, .L80885EF4 -/* 000C4 80885EE4 8FBF0024 */ lw $ra, 0x0024($sp) -.L80885EE8: -/* 000C8 80885EE8 254A5F4C */ addiu $t2, $t2, %lo(func_80885F4C) ## $t2 = 00005F4C -/* 000CC 80885EEC AE0A0164 */ sw $t2, 0x0164($s0) ## 00000164 -/* 000D0 80885EF0 8FBF0024 */ lw $ra, 0x0024($sp) -.L80885EF4: -/* 000D4 80885EF4 8FB0001C */ lw $s0, 0x001C($sp) -/* 000D8 80885EF8 8FB10020 */ lw $s1, 0x0020($sp) -/* 000DC 80885EFC 03E00008 */ jr $ra -/* 000E0 80885F00 27BD0038 */ addiu $sp, $sp, 0x0038 ## $sp = 00000000 diff --git a/asm/non_matchings/overlays/actors/ovl_Bg_Hidan_Dalm/BgHidanDalm_Update.s b/asm/non_matchings/overlays/actors/ovl_Bg_Hidan_Dalm/BgHidanDalm_Update.s deleted file mode 100644 index 71012329c1..0000000000 --- a/asm/non_matchings/overlays/actors/ovl_Bg_Hidan_Dalm/BgHidanDalm_Update.s +++ /dev/null @@ -1,25 +0,0 @@ -glabel BgHidanDalm_Update -/* 0045C 8088627C 27BDFFE0 */ addiu $sp, $sp, 0xFFE0 ## $sp = FFFFFFE0 -/* 00460 80886280 AFBF001C */ sw $ra, 0x001C($sp) -/* 00464 80886284 AFA50024 */ sw $a1, 0x0024($sp) -/* 00468 80886288 AFA40020 */ sw $a0, 0x0020($sp) -/* 0046C 8088628C 8C990164 */ lw $t9, 0x0164($a0) ## 00000164 -/* 00470 80886290 0320F809 */ jalr $ra, $t9 -/* 00474 80886294 00000000 */ nop -/* 00478 80886298 0C00B638 */ jal Actor_MoveForward - -/* 0047C 8088629C 8FA40020 */ lw $a0, 0x0020($sp) -/* 00480 808862A0 3C014200 */ lui $at, 0x4200 ## $at = 42000000 -/* 00484 808862A4 44812000 */ mtc1 $at, $f4 ## $f4 = 32.00 -/* 00488 808862A8 240E0005 */ addiu $t6, $zero, 0x0005 ## $t6 = 00000005 -/* 0048C 808862AC AFAE0014 */ sw $t6, 0x0014($sp) -/* 00490 808862B0 8FA40024 */ lw $a0, 0x0024($sp) -/* 00494 808862B4 8FA50020 */ lw $a1, 0x0020($sp) -/* 00498 808862B8 3C064120 */ lui $a2, 0x4120 ## $a2 = 41200000 -/* 0049C 808862BC 3C074170 */ lui $a3, 0x4170 ## $a3 = 41700000 -/* 004A0 808862C0 0C00B92D */ jal func_8002E4B4 -/* 004A4 808862C4 E7A40010 */ swc1 $f4, 0x0010($sp) -/* 004A8 808862C8 8FBF001C */ lw $ra, 0x001C($sp) -/* 004AC 808862CC 27BD0020 */ addiu $sp, $sp, 0x0020 ## $sp = 00000000 -/* 004B0 808862D0 03E00008 */ jr $ra -/* 004B4 808862D4 00000000 */ nop diff --git a/asm/non_matchings/overlays/actors/ovl_Bg_Hidan_Dalm/func_80885F4C.s b/asm/non_matchings/overlays/actors/ovl_Bg_Hidan_Dalm/func_80885F4C.s deleted file mode 100644 index 14bd7738d6..0000000000 --- a/asm/non_matchings/overlays/actors/ovl_Bg_Hidan_Dalm/func_80885F4C.s +++ /dev/null @@ -1,109 +0,0 @@ -glabel func_80885F4C -/* 0012C 80885F4C 27BDFFD8 */ addiu $sp, $sp, 0xFFD8 ## $sp = FFFFFFD8 -/* 00130 80885F50 AFBF001C */ sw $ra, 0x001C($sp) -/* 00134 80885F54 AFB10018 */ sw $s1, 0x0018($sp) -/* 00138 80885F58 AFB00014 */ sw $s0, 0x0014($sp) -/* 0013C 80885F5C 908E017D */ lbu $t6, 0x017D($a0) ## 0000017D -/* 00140 80885F60 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000 -/* 00144 80885F64 00A08825 */ or $s1, $a1, $zero ## $s1 = 00000000 -/* 00148 80885F68 31CF0002 */ andi $t7, $t6, 0x0002 ## $t7 = 00000000 -/* 0014C 80885F6C 11E0004C */ beq $t7, $zero, .L808860A0 -/* 00150 80885F70 8CA31C44 */ lw $v1, 0x1C44($a1) ## 00001C44 -/* 00154 80885F74 00A02025 */ or $a0, $a1, $zero ## $a0 = 00000000 -/* 00158 80885F78 0C023A62 */ jal func_8008E988 -/* 0015C 80885F7C AFA30024 */ sw $v1, 0x0024($sp) -/* 00160 80885F80 14400047 */ bne $v0, $zero, .L808860A0 -/* 00164 80885F84 8FA30024 */ lw $v1, 0x0024($sp) -/* 00168 80885F88 80620842 */ lb $v0, 0x0842($v1) ## 00000842 -/* 0016C 80885F8C 24010016 */ addiu $at, $zero, 0x0016 ## $at = 00000016 -/* 00170 80885F90 10410003 */ beq $v0, $at, .L80885FA0 -/* 00174 80885F94 24010017 */ addiu $at, $zero, 0x0017 ## $at = 00000017 -/* 00178 80885F98 54410042 */ bnel $v0, $at, .L808860A4 -/* 0017C 80885F9C 3C010001 */ lui $at, 0x0001 ## $at = 00010000 -.L80885FA0: -/* 00180 80885FA0 9218017D */ lbu $t8, 0x017D($s0) ## 0000017D -/* 00184 80885FA4 8E020188 */ lw $v0, 0x0188($s0) ## 00000188 -/* 00188 80885FA8 3319FFFD */ andi $t9, $t8, 0xFFFD ## $t9 = 00000000 -/* 0018C 80885FAC A219017D */ sb $t9, 0x017D($s0) ## 0000017D -/* 00190 80885FB0 90480016 */ lbu $t0, 0x0016($v0) ## 00000016 -/* 00194 80885FB4 31090002 */ andi $t1, $t0, 0x0002 ## $t1 = 00000000 -/* 00198 80885FB8 55200006 */ bnel $t1, $zero, .L80885FD4 -/* 0019C 80885FBC 860C0032 */ lh $t4, 0x0032($s0) ## 00000032 -/* 001A0 80885FC0 904A0072 */ lbu $t2, 0x0072($v0) ## 00000072 -/* 001A4 80885FC4 314B0002 */ andi $t3, $t2, 0x0002 ## $t3 = 00000000 -/* 001A8 80885FC8 51600006 */ beql $t3, $zero, .L80885FE4 -/* 001AC 80885FCC 860E0032 */ lh $t6, 0x0032($s0) ## 00000032 -/* 001B0 80885FD0 860C0032 */ lh $t4, 0x0032($s0) ## 00000032 -.L80885FD4: -/* 001B4 80885FD4 258DC000 */ addiu $t5, $t4, 0xC000 ## $t5 = FFFFC000 -/* 001B8 80885FD8 10000004 */ beq $zero, $zero, .L80885FEC -/* 001BC 80885FDC A60D0032 */ sh $t5, 0x0032($s0) ## 00000032 -/* 001C0 80885FE0 860E0032 */ lh $t6, 0x0032($s0) ## 00000032 -.L80885FE4: -/* 001C4 80885FE4 25CF4000 */ addiu $t7, $t6, 0x4000 ## $t7 = 00004000 -/* 001C8 80885FE8 A60F0032 */ sh $t7, 0x0032($s0) ## 00000032 -.L80885FEC: -/* 001CC 80885FEC 0C01DE1C */ jal Math_Sins - ## sins? -/* 001D0 80885FF0 86040032 */ lh $a0, 0x0032($s0) ## 00000032 -/* 001D4 80885FF4 3C014202 */ lui $at, 0x4202 ## $at = 42020000 -/* 001D8 80885FF8 44813000 */ mtc1 $at, $f6 ## $f6 = 32.50 -/* 001DC 80885FFC C6040024 */ lwc1 $f4, 0x0024($s0) ## 00000024 -/* 001E0 80886000 86040032 */ lh $a0, 0x0032($s0) ## 00000032 -/* 001E4 80886004 46003202 */ mul.s $f8, $f6, $f0 -/* 001E8 80886008 46082280 */ add.s $f10, $f4, $f8 -/* 001EC 8088600C 0C01DE0D */ jal Math_Coss - ## coss? -/* 001F0 80886010 E60A0024 */ swc1 $f10, 0x0024($s0) ## 00000024 -/* 001F4 80886014 3C014202 */ lui $at, 0x4202 ## $at = 42020000 -/* 001F8 80886018 44819000 */ mtc1 $at, $f18 ## $f18 = 32.50 -/* 001FC 8088601C C610002C */ lwc1 $f16, 0x002C($s0) ## 0000002C -/* 00200 80886020 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000 -/* 00204 80886024 46009182 */ mul.s $f6, $f18, $f0 -/* 00208 80886028 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000 -/* 0020C 8088602C 24060008 */ addiu $a2, $zero, 0x0008 ## $a2 = 00000008 -/* 00210 80886030 46068100 */ add.s $f4, $f16, $f6 -/* 00214 80886034 0C00B7D5 */ jal func_8002DF54 -/* 00218 80886038 E604002C */ swc1 $f4, 0x002C($s0) ## 0000002C -/* 0021C 8088603C 96090088 */ lhu $t1, 0x0088($s0) ## 00000088 -/* 00220 80886040 8E180004 */ lw $t8, 0x0004($s0) ## 00000004 -/* 00224 80886044 3C014120 */ lui $at, 0x4120 ## $at = 41200000 -/* 00228 80886048 312BFFFD */ andi $t3, $t1, 0xFFFD ## $t3 = 00000000 -/* 0022C 8088604C 44814000 */ mtc1 $at, $f8 ## $f8 = 10.00 -/* 00230 80886050 3C088088 */ lui $t0, %hi(func_808860CC) ## $t0 = 80880000 -/* 00234 80886054 250860CC */ addiu $t0, $t0, %lo(func_808860CC) ## $t0 = 808860CC -/* 00238 80886058 A60B0088 */ sh $t3, 0x0088($s0) ## 00000088 -/* 0023C 8088605C 316CFFF7 */ andi $t4, $t3, 0xFFF7 ## $t4 = 00000000 -/* 00240 80886060 37190010 */ ori $t9, $t8, 0x0010 ## $t9 = 00000010 -/* 00244 80886064 AE190004 */ sw $t9, 0x0004($s0) ## 00000004 -/* 00248 80886068 AE080164 */ sw $t0, 0x0164($s0) ## 00000164 -/* 0024C 8088606C A60C0088 */ sh $t4, 0x0088($s0) ## 00000088 -/* 00250 80886070 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000 -/* 00254 80886074 92050168 */ lbu $a1, 0x0168($s0) ## 00000168 -/* 00258 80886078 0C00B2DD */ jal Flags_SetSwitch - -/* 0025C 8088607C E6080068 */ swc1 $f8, 0x0068($s0) ## 00000068 -/* 00260 80886080 8E241C44 */ lw $a0, 0x1C44($s1) ## 00001C44 -/* 00264 80886084 0C00BDF7 */ jal func_8002F7DC -/* 00268 80886088 2405180A */ addiu $a1, $zero, 0x180A ## $a1 = 0000180A -/* 0026C 8088608C 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000 -/* 00270 80886090 0C00BE0A */ jal Audio_PlayActorSound2 - -/* 00274 80886094 240528B7 */ addiu $a1, $zero, 0x28B7 ## $a1 = 000028B7 -/* 00278 80886098 10000008 */ beq $zero, $zero, .L808860BC -/* 0027C 8088609C 8FBF001C */ lw $ra, 0x001C($sp) -.L808860A0: -/* 00280 808860A0 3C010001 */ lui $at, 0x0001 ## $at = 00010000 -.L808860A4: -/* 00284 808860A4 34211E60 */ ori $at, $at, 0x1E60 ## $at = 00011E60 -/* 00288 808860A8 02212821 */ addu $a1, $s1, $at -/* 0028C 808860AC 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000 -/* 00290 808860B0 0C01767D */ jal CollisionCheck_SetAC - ## CollisionCheck_setAC -/* 00294 808860B4 2606016C */ addiu $a2, $s0, 0x016C ## $a2 = 0000016C -/* 00298 808860B8 8FBF001C */ lw $ra, 0x001C($sp) -.L808860BC: -/* 0029C 808860BC 8FB00014 */ lw $s0, 0x0014($sp) -/* 002A0 808860C0 8FB10018 */ lw $s1, 0x0018($sp) -/* 002A4 808860C4 03E00008 */ jr $ra -/* 002A8 808860C8 27BD0028 */ addiu $sp, $sp, 0x0028 ## $sp = 00000000 diff --git a/asm/non_matchings/overlays/actors/ovl_Bg_Hidan_Dalm/func_808860CC.s b/asm/non_matchings/overlays/actors/ovl_Bg_Hidan_Dalm/func_808860CC.s deleted file mode 100644 index 725c5deb01..0000000000 --- a/asm/non_matchings/overlays/actors/ovl_Bg_Hidan_Dalm/func_808860CC.s +++ /dev/null @@ -1,118 +0,0 @@ -glabel func_808860CC -/* 002AC 808860CC 27BDFF88 */ addiu $sp, $sp, 0xFF88 ## $sp = FFFFFF88 -/* 002B0 808860D0 AFB70050 */ sw $s7, 0x0050($sp) -/* 002B4 808860D4 AFB10038 */ sw $s1, 0x0038($sp) -/* 002B8 808860D8 00808825 */ or $s1, $a0, $zero ## $s1 = 00000000 -/* 002BC 808860DC 00A0B825 */ or $s7, $a1, $zero ## $s7 = 00000000 -/* 002C0 808860E0 AFBF0054 */ sw $ra, 0x0054($sp) -/* 002C4 808860E4 3C063B83 */ lui $a2, 0x3B83 ## $a2 = 3B830000 -/* 002C8 808860E8 AFB6004C */ sw $s6, 0x004C($sp) -/* 002CC 808860EC AFB50048 */ sw $s5, 0x0048($sp) -/* 002D0 808860F0 AFB40044 */ sw $s4, 0x0044($sp) -/* 002D4 808860F4 AFB30040 */ sw $s3, 0x0040($sp) -/* 002D8 808860F8 AFB2003C */ sw $s2, 0x003C($sp) -/* 002DC 808860FC AFB00034 */ sw $s0, 0x0034($sp) -/* 002E0 80886100 F7BA0028 */ sdc1 $f26, 0x0028($sp) -/* 002E4 80886104 F7B80020 */ sdc1 $f24, 0x0020($sp) -/* 002E8 80886108 F7B60018 */ sdc1 $f22, 0x0018($sp) -/* 002EC 8088610C F7B40010 */ sdc1 $f20, 0x0010($sp) -/* 002F0 80886110 34C6126F */ ori $a2, $a2, 0x126F ## $a2 = 3B83126F -/* 002F4 80886114 24050000 */ addiu $a1, $zero, 0x0000 ## $a1 = 00000000 -/* 002F8 80886118 0C01DE80 */ jal Math_ApproxF - -/* 002FC 8088611C 24840050 */ addiu $a0, $a0, 0x0050 ## $a0 = 00000050 -/* 00300 80886120 10400006 */ beq $v0, $zero, .L8088613C -/* 00304 80886124 02E02025 */ or $a0, $s7, $zero ## $a0 = 00000000 -/* 00308 80886128 02202825 */ or $a1, $s1, $zero ## $a1 = 00000000 -/* 0030C 8088612C 0C00B7D5 */ jal func_8002DF54 -/* 00310 80886130 24060007 */ addiu $a2, $zero, 0x0007 ## $a2 = 00000007 -/* 00314 80886134 0C00B55C */ jal Actor_Kill - -/* 00318 80886138 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000 -.L8088613C: -/* 0031C 8088613C C6340050 */ lwc1 $f20, 0x0050($s1) ## 00000050 -/* 00320 80886140 C6240024 */ lwc1 $f4, 0x0024($s1) ## 00000024 -/* 00324 80886144 3C014320 */ lui $at, 0x4320 ## $at = 43200000 -/* 00328 80886148 E6340058 */ swc1 $f20, 0x0058($s1) ## 00000058 -/* 0032C 8088614C E6340054 */ swc1 $f20, 0x0054($s1) ## 00000054 -/* 00330 80886150 E7A4005C */ swc1 $f4, 0x005C($sp) -/* 00334 80886154 C6260050 */ lwc1 $f6, 0x0050($s1) ## 00000050 -/* 00338 80886158 44814000 */ mtc1 $at, $f8 ## $f8 = 160.00 -/* 0033C 8088615C C6300028 */ lwc1 $f16, 0x0028($s1) ## 00000028 -/* 00340 80886160 3C013FC0 */ lui $at, 0x3FC0 ## $at = 3FC00000 -/* 00344 80886164 46083282 */ mul.s $f10, $f6, $f8 -/* 00348 80886168 4481D000 */ mtc1 $at, $f26 ## $f26 = 1.50 -/* 0034C 8088616C 3C013F00 */ lui $at, 0x3F00 ## $at = 3F000000 -/* 00350 80886170 4481C000 */ mtc1 $at, $f24 ## $f24 = 0.50 -/* 00354 80886174 3C0140A0 */ lui $at, 0x40A0 ## $at = 40A00000 -/* 00358 80886178 3C158088 */ lui $s5, %hi(D_808865A8) ## $s5 = 80880000 -/* 0035C 8088617C 4481B000 */ mtc1 $at, $f22 ## $f22 = 5.00 -/* 00360 80886180 460A8480 */ add.s $f18, $f16, $f10 -/* 00364 80886184 26B565A8 */ addiu $s5, $s5, %lo(D_808865A8) ## $s5 = 808865A8 -/* 00368 80886188 00008025 */ or $s0, $zero, $zero ## $s0 = 00000000 -/* 0036C 8088618C 24160004 */ addiu $s6, $zero, 0x0004 ## $s6 = 00000004 -/* 00370 80886190 E7B20060 */ swc1 $f18, 0x0060($sp) -/* 00374 80886194 C624002C */ lwc1 $f4, 0x002C($s1) ## 0000002C -/* 00378 80886198 27B40068 */ addiu $s4, $sp, 0x0068 ## $s4 = FFFFFFF0 -/* 0037C 8088619C 27B3005C */ addiu $s3, $sp, 0x005C ## $s3 = FFFFFFE4 -/* 00380 808861A0 34128000 */ ori $s2, $zero, 0x8000 ## $s2 = 00008000 -/* 00384 808861A4 E7A40064 */ swc1 $f4, 0x0064($sp) -/* 00388 808861A8 862E0032 */ lh $t6, 0x0032($s1) ## 00000032 -.L808861AC: -/* 0038C 808861AC 01D22021 */ addu $a0, $t6, $s2 -/* 00390 808861B0 00042400 */ sll $a0, $a0, 16 -/* 00394 808861B4 0C01DE1C */ jal Math_Sins - ## sins? -/* 00398 808861B8 00042403 */ sra $a0, $a0, 16 -/* 0039C 808861BC 0C03F66B */ jal Math_Rand_ZeroOne - ## Rand.Next() float -/* 003A0 808861C0 46000506 */ mov.s $f20, $f0 -/* 003A4 808861C4 46180181 */ sub.s $f6, $f0, $f24 -/* 003A8 808861C8 46163202 */ mul.s $f8, $f6, $f22 -/* 003AC 808861CC 00000000 */ nop -/* 003B0 808861D0 4614B402 */ mul.s $f16, $f22, $f20 -/* 003B4 808861D4 46104280 */ add.s $f10, $f8, $f16 -/* 003B8 808861D8 E7AA0068 */ swc1 $f10, 0x0068($sp) -/* 003BC 808861DC 862F0032 */ lh $t7, 0x0032($s1) ## 00000032 -/* 003C0 808861E0 01F22021 */ addu $a0, $t7, $s2 -/* 003C4 808861E4 00042400 */ sll $a0, $a0, 16 -/* 003C8 808861E8 0C01DE0D */ jal Math_Coss - ## coss? -/* 003CC 808861EC 00042403 */ sra $a0, $a0, 16 -/* 003D0 808861F0 0C03F66B */ jal Math_Rand_ZeroOne - ## Rand.Next() float -/* 003D4 808861F4 46000506 */ mov.s $f20, $f0 -/* 003D8 808861F8 46180481 */ sub.s $f18, $f0, $f24 -/* 003DC 808861FC 46169102 */ mul.s $f4, $f18, $f22 -/* 003E0 80886200 00000000 */ nop -/* 003E4 80886204 4614B182 */ mul.s $f6, $f22, $f20 -/* 003E8 80886208 46062200 */ add.s $f8, $f4, $f6 -/* 003EC 8088620C 0C03F66B */ jal Math_Rand_ZeroOne - ## Rand.Next() float -/* 003F0 80886210 E7A80070 */ swc1 $f8, 0x0070($sp) -/* 003F4 80886214 46180401 */ sub.s $f16, $f0, $f24 -/* 003F8 80886218 02E02025 */ or $a0, $s7, $zero ## $a0 = 00000000 -/* 003FC 8088621C 02602825 */ or $a1, $s3, $zero ## $a1 = FFFFFFE4 -/* 00400 80886220 02803025 */ or $a2, $s4, $zero ## $a2 = FFFFFFF0 -/* 00404 80886224 461A8282 */ mul.s $f10, $f16, $f26 -/* 00408 80886228 02A03825 */ or $a3, $s5, $zero ## $a3 = 808865A8 -/* 0040C 8088622C 0C00A2C6 */ jal func_80028B18 -/* 00410 80886230 E7AA006C */ swc1 $f10, 0x006C($sp) -/* 00414 80886234 26100001 */ addiu $s0, $s0, 0x0001 ## $s0 = 00000001 -/* 00418 80886238 5616FFDC */ bnel $s0, $s6, .L808861AC -/* 0041C 8088623C 862E0032 */ lh $t6, 0x0032($s1) ## 00000032 -/* 00420 80886240 8FBF0054 */ lw $ra, 0x0054($sp) -/* 00424 80886244 D7B40010 */ ldc1 $f20, 0x0010($sp) -/* 00428 80886248 D7B60018 */ ldc1 $f22, 0x0018($sp) -/* 0042C 8088624C D7B80020 */ ldc1 $f24, 0x0020($sp) -/* 00430 80886250 D7BA0028 */ ldc1 $f26, 0x0028($sp) -/* 00434 80886254 8FB00034 */ lw $s0, 0x0034($sp) -/* 00438 80886258 8FB10038 */ lw $s1, 0x0038($sp) -/* 0043C 8088625C 8FB2003C */ lw $s2, 0x003C($sp) -/* 00440 80886260 8FB30040 */ lw $s3, 0x0040($sp) -/* 00444 80886264 8FB40044 */ lw $s4, 0x0044($sp) -/* 00448 80886268 8FB50048 */ lw $s5, 0x0048($sp) -/* 0044C 8088626C 8FB6004C */ lw $s6, 0x004C($sp) -/* 00450 80886270 8FB70050 */ lw $s7, 0x0050($sp) -/* 00454 80886274 03E00008 */ jr $ra -/* 00458 80886278 27BD0078 */ addiu $sp, $sp, 0x0078 ## $sp = 00000000 diff --git a/asm/non_matchings/overlays/actors/ovl_Bg_Hidan_Dalm/func_808862D8.s b/asm/non_matchings/overlays/actors/ovl_Bg_Hidan_Dalm/func_808862D8.s deleted file mode 100644 index 0d7cb7051b..0000000000 --- a/asm/non_matchings/overlays/actors/ovl_Bg_Hidan_Dalm/func_808862D8.s +++ /dev/null @@ -1,76 +0,0 @@ -glabel func_808862D8 -/* 004B8 808862D8 27BDFFA8 */ addiu $sp, $sp, 0xFFA8 ## $sp = FFFFFFA8 -/* 004BC 808862DC AFB30028 */ sw $s3, 0x0028($sp) -/* 004C0 808862E0 AFA40058 */ sw $a0, 0x0058($sp) -/* 004C4 808862E4 27B30034 */ addiu $s3, $sp, 0x0034 ## $s3 = FFFFFFDC -/* 004C8 808862E8 AFBF002C */ sw $ra, 0x002C($sp) -/* 004CC 808862EC 3C048088 */ lui $a0, %hi(D_808864B8) ## $a0 = 80880000 -/* 004D0 808862F0 AFB20024 */ sw $s2, 0x0024($sp) -/* 004D4 808862F4 AFB10020 */ sw $s1, 0x0020($sp) -/* 004D8 808862F8 AFB0001C */ sw $s0, 0x001C($sp) -/* 004DC 808862FC 248464B8 */ addiu $a0, $a0, %lo(D_808864B8) ## $a0 = 808864B8 -/* 004E0 80886300 0C0346BD */ jal Matrix_MultVec3f -/* 004E4 80886304 02602825 */ or $a1, $s3, $zero ## $a1 = FFFFFFDC -/* 004E8 80886308 27B10040 */ addiu $s1, $sp, 0x0040 ## $s1 = FFFFFFE8 -/* 004EC 8088630C 3C048088 */ lui $a0, %hi(D_808864C4) ## $a0 = 80880000 -/* 004F0 80886310 248464C4 */ addiu $a0, $a0, %lo(D_808864C4) ## $a0 = 808864C4 -/* 004F4 80886314 0C0346BD */ jal Matrix_MultVec3f -/* 004F8 80886318 02202825 */ or $a1, $s1, $zero ## $a1 = FFFFFFE8 -/* 004FC 8088631C 27B2004C */ addiu $s2, $sp, 0x004C ## $s2 = FFFFFFF4 -/* 00500 80886320 3C048088 */ lui $a0, %hi(D_808864D0) ## $a0 = 80880000 -/* 00504 80886324 248464D0 */ addiu $a0, $a0, %lo(D_808864D0) ## $a0 = 808864D0 -/* 00508 80886328 0C0346BD */ jal Matrix_MultVec3f -/* 0050C 8088632C 02402825 */ or $a1, $s2, $zero ## $a1 = FFFFFFF4 -/* 00510 80886330 8FB00058 */ lw $s0, 0x0058($sp) -/* 00514 80886334 00002825 */ or $a1, $zero, $zero ## $a1 = 00000000 -/* 00518 80886338 02603025 */ or $a2, $s3, $zero ## $a2 = FFFFFFDC -/* 0051C 8088633C 2610016C */ addiu $s0, $s0, 0x016C ## $s0 = 0000016C -/* 00520 80886340 02002025 */ or $a0, $s0, $zero ## $a0 = 0000016C -/* 00524 80886344 02203825 */ or $a3, $s1, $zero ## $a3 = FFFFFFE8 -/* 00528 80886348 0C0189E8 */ jal func_800627A0 -/* 0052C 8088634C AFB20010 */ sw $s2, 0x0010($sp) -/* 00530 80886350 3C048088 */ lui $a0, %hi(D_8088650C) ## $a0 = 80880000 -/* 00534 80886354 2484650C */ addiu $a0, $a0, %lo(D_8088650C) ## $a0 = 8088650C -/* 00538 80886358 0C0346BD */ jal Matrix_MultVec3f -/* 0053C 8088635C 02202825 */ or $a1, $s1, $zero ## $a1 = FFFFFFE8 -/* 00540 80886360 02002025 */ or $a0, $s0, $zero ## $a0 = 0000016C -/* 00544 80886364 24050001 */ addiu $a1, $zero, 0x0001 ## $a1 = 00000001 -/* 00548 80886368 02603025 */ or $a2, $s3, $zero ## $a2 = FFFFFFDC -/* 0054C 8088636C 02403825 */ or $a3, $s2, $zero ## $a3 = FFFFFFF4 -/* 00550 80886370 0C0189E8 */ jal func_800627A0 -/* 00554 80886374 AFB10010 */ sw $s1, 0x0010($sp) -/* 00558 80886378 3C048088 */ lui $a0, %hi(D_80886530) ## $a0 = 80880000 -/* 0055C 8088637C 24846530 */ addiu $a0, $a0, %lo(D_80886530) ## $a0 = 80886530 -/* 00560 80886380 0C0346BD */ jal Matrix_MultVec3f -/* 00564 80886384 02602825 */ or $a1, $s3, $zero ## $a1 = FFFFFFDC -/* 00568 80886388 3C048088 */ lui $a0, %hi(D_8088653C) ## $a0 = 80880000 -/* 0056C 8088638C 2484653C */ addiu $a0, $a0, %lo(D_8088653C) ## $a0 = 8088653C -/* 00570 80886390 0C0346BD */ jal Matrix_MultVec3f -/* 00574 80886394 02202825 */ or $a1, $s1, $zero ## $a1 = FFFFFFE8 -/* 00578 80886398 3C048088 */ lui $a0, %hi(D_80886548) ## $a0 = 80880000 -/* 0057C 8088639C 24846548 */ addiu $a0, $a0, %lo(D_80886548) ## $a0 = 80886548 -/* 00580 808863A0 0C0346BD */ jal Matrix_MultVec3f -/* 00584 808863A4 02402825 */ or $a1, $s2, $zero ## $a1 = FFFFFFF4 -/* 00588 808863A8 02002025 */ or $a0, $s0, $zero ## $a0 = 0000016C -/* 0058C 808863AC 24050002 */ addiu $a1, $zero, 0x0002 ## $a1 = 00000002 -/* 00590 808863B0 02603025 */ or $a2, $s3, $zero ## $a2 = FFFFFFDC -/* 00594 808863B4 02203825 */ or $a3, $s1, $zero ## $a3 = FFFFFFE8 -/* 00598 808863B8 0C0189E8 */ jal func_800627A0 -/* 0059C 808863BC AFB20010 */ sw $s2, 0x0010($sp) -/* 005A0 808863C0 3C048088 */ lui $a0, %hi(D_80886578) ## $a0 = 80880000 -/* 005A4 808863C4 24846578 */ addiu $a0, $a0, %lo(D_80886578) ## $a0 = 80886578 -/* 005A8 808863C8 0C0346BD */ jal Matrix_MultVec3f -/* 005AC 808863CC 02402825 */ or $a1, $s2, $zero ## $a1 = FFFFFFF4 -/* 005B0 808863D0 02002025 */ or $a0, $s0, $zero ## $a0 = 0000016C -/* 005B4 808863D4 24050003 */ addiu $a1, $zero, 0x0003 ## $a1 = 00000003 -/* 005B8 808863D8 02603025 */ or $a2, $s3, $zero ## $a2 = FFFFFFDC -/* 005BC 808863DC 02403825 */ or $a3, $s2, $zero ## $a3 = FFFFFFF4 -/* 005C0 808863E0 0C0189E8 */ jal func_800627A0 -/* 005C4 808863E4 AFB10010 */ sw $s1, 0x0010($sp) -/* 005C8 808863E8 8FBF002C */ lw $ra, 0x002C($sp) -/* 005CC 808863EC 8FB0001C */ lw $s0, 0x001C($sp) -/* 005D0 808863F0 8FB10020 */ lw $s1, 0x0020($sp) -/* 005D4 808863F4 8FB20024 */ lw $s2, 0x0024($sp) -/* 005D8 808863F8 8FB30028 */ lw $s3, 0x0028($sp) -/* 005DC 808863FC 03E00008 */ jr $ra -/* 005E0 80886400 27BD0058 */ addiu $sp, $sp, 0x0058 ## $sp = 00000000 diff --git a/data/overlays/actors/z_bg_haka_water.data.s b/data/overlays/actors/z_bg_haka_water.data.s deleted file mode 100644 index 0449616902..0000000000 --- a/data/overlays/actors/z_bg_haka_water.data.s +++ /dev/null @@ -1,20 +0,0 @@ -.include "macro.inc" - - # assembler directives - .set noat # allow manual use of $at - .set noreorder # don't insert nops after branches - .set gp=64 # allow use of 64-bit general purpose registers - -.section .data - -.balign 16 - -glabel Bg_Haka_Water_InitVars - .word 0x00D70600, 0x00000030, 0x008D0000, 0x00000154 -.word BgHakaWater_Init -.word BgHakaWater_Destroy -.word BgHakaWater_Update -.word BgHakaWater_Draw -glabel D_808824B0 - .word 0x48500064, 0x00000000, 0x00000000, 0x00000000 - diff --git a/data/overlays/actors/z_bg_haka_water.reloc.s b/data/overlays/actors/z_bg_haka_water.reloc.s deleted file mode 100644 index bb6f3fbadb..0000000000 --- a/data/overlays/actors/z_bg_haka_water.reloc.s +++ /dev/null @@ -1,13 +0,0 @@ -.include "macro.inc" - - # assembler directives - .set noat # allow manual use of $at - .set noreorder # don't insert nops after branches - .set gp=64 # allow use of 64-bit general purpose registers - -.section .rodata - -.balign 16 - -glabel D_80882530 - .incbin "baserom/ovl_Bg_Haka_Water", 0x830, 0x00000090 diff --git a/data/overlays/actors/z_bg_hidan_dalm.data.s b/data/overlays/actors/z_bg_hidan_dalm.data.s deleted file mode 100644 index c432413ba1..0000000000 --- a/data/overlays/actors/z_bg_hidan_dalm.data.s +++ /dev/null @@ -1,43 +0,0 @@ -.include "macro.inc" - - # assembler directives - .set noat # allow manual use of $at - .set noreorder # don't insert nops after branches - .set gp=64 # allow use of 64-bit general purpose registers - -.section .data - -.balign 16 - -glabel Bg_Hidan_Dalm_InitVars - .word 0x00400100, 0x00000000, 0x002C0000, 0x000002FC -.word BgHidanDalm_Init -.word BgHidanDalm_Destroy -.word BgHidanDalm_Update -.word BgHidanDalm_Draw -glabel D_808864A0 - .word 0x00000000, 0x00000000, 0x00000000, 0x00000040, 0x00000000, 0x00790000 -glabel D_808864B8 - .word 0x43988000, 0x00000000, 0xC3960000 -glabel D_808864C4 - .word 0x43988000, 0x44160000, 0xC3960000 -glabel D_808864D0 - .word 0x43988000, 0x44160000, 0x43960000, 0x00000000, 0x00000000, 0x00000000, 0x00000040, 0x00000000, 0x00790000, 0x43988000, 0x00000000, 0xC3960000, 0x43988000, 0x44160000, 0x43960000 -glabel D_8088650C - .word 0x43988000, 0x00000000, 0x43960000, 0x00000000, 0x00000000, 0x00000000, 0x00000040, 0x00000000, 0x00790000 -glabel D_80886530 - .word 0xC3988000, 0x00000000, 0xC3960000 -glabel D_8088653C - .word 0xC3988000, 0x44160000, 0x43960000 -glabel D_80886548 - .word 0xC3988000, 0x44160000, 0xC3960000, 0x00000000, 0x00000000, 0x00000000, 0x00000040, 0x00000000, 0x00790000, 0xC3988000, 0x00000000, 0xC3960000 -glabel D_80886578 - .word 0xC3988000, 0x00000000, 0x43960000, 0xC3988000, 0x44160000, 0x43960000 -glabel D_80886590 - .word 0x0A000900, 0x20020000, 0x00000004 -.word D_808864A0 -glabel D_808865A0 - .word 0xC8500064, 0x386CFF38 -glabel D_808865A8 - .word 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - diff --git a/data/overlays/actors/z_bg_hidan_dalm.reloc.s b/data/overlays/actors/z_bg_hidan_dalm.reloc.s deleted file mode 100644 index bfb2b337c2..0000000000 --- a/data/overlays/actors/z_bg_hidan_dalm.reloc.s +++ /dev/null @@ -1,13 +0,0 @@ -.include "macro.inc" - - # assembler directives - .set noat # allow manual use of $at - .set noreorder # don't insert nops after branches - .set gp=64 # allow use of 64-bit general purpose registers - -.section .rodata - -.balign 16 - -glabel D_808865C0 - .incbin "baserom/ovl_Bg_Hidan_Dalm", 0x7A0, 0x000000A0 diff --git a/include/functions.h b/include/functions.h index b61c7de9cb..d4ba56391b 100644 --- a/include/functions.h +++ b/include/functions.h @@ -219,7 +219,7 @@ void func_800287AC(GlobalContext* globalCtx, Vec3f* pos, Vec3f* velocity, Vec3f* s16 life); void func_80028990(GlobalContext* globalCtx, f32 randScale, Vec3f* srcPos); void func_80028A54(GlobalContext* globalCtx, f32 randScale, Vec3f* srcPos); -// ? func_80028B18(?); +UNK_TYPE func_80028B18(GlobalContext* globalCtx, Vec3f*, Vec3f*, Vec3f*); void func_80028B74(GlobalContext*, Vec3f*, UNK_PTR, UNK_PTR, Color_RGB8*, Color_RGB8*); // ? func_80028BB0(?); // ? func_80028CEC(?); diff --git a/spec b/spec index 53cba47ad0..3ae65e6d52 100644 --- a/spec +++ b/spec @@ -810,8 +810,7 @@ endseg beginseg name "ovl_Bg_Haka_Water" include "build/src/overlays/actors/ovl_Bg_Haka_Water/z_bg_haka_water.o" - include "build/data/overlays/actors/z_bg_haka_water.data.o" - include "build/data/overlays/actors/z_bg_haka_water.reloc.o" + include "build/src/overlays/actors/ovl_Bg_Haka_Water/ovl_Bg_Haka_Water_reloc.o" endseg beginseg @@ -837,8 +836,7 @@ endseg beginseg name "ovl_Bg_Hidan_Dalm" include "build/src/overlays/actors/ovl_Bg_Hidan_Dalm/z_bg_hidan_dalm.o" - include "build/data/overlays/actors/z_bg_hidan_dalm.data.o" - include "build/data/overlays/actors/z_bg_hidan_dalm.reloc.o" + include "build/src/overlays/actors/ovl_Bg_Hidan_Dalm/ovl_Bg_Hidan_Dalm_reloc.o" endseg beginseg diff --git a/src/overlays/actors/ovl_Bg_Haka_Water/z_bg_haka_water.c b/src/overlays/actors/ovl_Bg_Haka_Water/z_bg_haka_water.c index a461fd8297..7c88954fc4 100644 --- a/src/overlays/actors/ovl_Bg_Haka_Water/z_bg_haka_water.c +++ b/src/overlays/actors/ovl_Bg_Haka_Water/z_bg_haka_water.c @@ -15,11 +15,10 @@ void BgHakaWater_Destroy(Actor* thisx, GlobalContext* globalCtx); void BgHakaWater_Update(Actor* thisx, GlobalContext* globalCtx); void BgHakaWater_Draw(Actor* thisx, GlobalContext* globalCtx); -// ? func_80881D94(BgHakaWater* this, GlobalContext* globalCtx) // not entirely sure on this one -void func_80881EDC(BgHakaWater* this, GlobalContext* globalCtx); -void func_80881F98(BgHakaWater* this, GlobalContext* globalCtx); +void func_80881D94(BgHakaWater* this, GlobalContext* globalCtx); +void BgHakaWater_Wait(BgHakaWater* this, GlobalContext* globalCtx); +void BgHakaWater_ChangeWaterLevel(BgHakaWater* this, GlobalContext* globalCtx); -/* const ActorInit Bg_Haka_Water_InitVars = { ACTOR_BG_HAKA_WATER, ACTORTYPE_PROP, @@ -31,18 +30,125 @@ const ActorInit Bg_Haka_Water_InitVars = { (ActorFunc)BgHakaWater_Update, (ActorFunc)BgHakaWater_Draw, }; -*/ -#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Bg_Haka_Water/BgHakaWater_Init.s") +static InitChainEntry sInitChain[] = { + ICHAIN_VEC3F_DIV1000(scale, 100, ICHAIN_STOP), +}; -#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Bg_Haka_Water/BgHakaWater_Destroy.s") +extern Gfx D_06001E50[]; +extern Gfx D_06002010[]; -#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Bg_Haka_Water/func_80881D94.s") +void BgHakaWater_Init(Actor* thisx, GlobalContext* globalCtx) { + BgHakaWater* this = THIS; -#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Bg_Haka_Water/func_80881EDC.s") + Actor_ProcessInitChain(&this->actor, sInitChain); + if (Flags_GetSwitch(globalCtx, this->actor.params)) { + this->isLowered = true; + this->actor.initPosRot.pos.y -= 200.0f; + this->actor.posRot.pos.y = this->actor.initPosRot.pos.y; + } else { + this->isLowered = false; + } + func_80881D94(this, globalCtx); + this->actionFunc = BgHakaWater_Wait; +} -#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Bg_Haka_Water/func_80881F98.s") +void BgHakaWater_Destroy(Actor* thisx, GlobalContext* globalCtx) { +} -#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Bg_Haka_Water/BgHakaWater_Update.s") +void func_80881D94(BgHakaWater* this, GlobalContext* globalCtx) { + s32 i; -#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Bg_Haka_Water/BgHakaWater_Draw.s") + for (i = 0; i < 9; i++) { + globalCtx->colCtx.stat.colHeader->waterBoxes[i].unk_02 = (s16)this->actor.posRot.pos.y - 8; + } +} + +void BgHakaWater_Wait(BgHakaWater* this, GlobalContext* globalCtx) { + if ((!this->isLowered && Flags_GetSwitch(globalCtx, this->actor.params)) || + (this->isLowered && !Flags_GetSwitch(globalCtx, this->actor.params))) { + if (this->isLowered) { + this->isLowered = false; + this->actor.draw = BgHakaWater_Draw; + this->actor.initPosRot.pos.y += 200.0f; + } else { + this->isLowered = true; + this->actor.initPosRot.pos.y -= 200.0f; + } + this->actionFunc = BgHakaWater_ChangeWaterLevel; + } +} + +void BgHakaWater_ChangeWaterLevel(BgHakaWater* this, GlobalContext* globalCtx) { + if (!this->isLowered && Flags_GetSwitch(globalCtx, this->actor.params)) { + this->isLowered = true; + this->actor.initPosRot.pos.y -= 200.0f; + } else if (this->isLowered && !Flags_GetSwitch(globalCtx, this->actor.params)) { + this->isLowered = false; + this->actor.initPosRot.pos.y += 200.0f; + } + + if (this->actor.initPosRot.pos.y < this->actor.posRot.pos.y) { + func_8002F948(&this->actor, NA_SE_EV_WATER_LEVEL_DOWN - SFX_FLAG); + } else { + func_8002F948(&this->actor, NA_SE_EV_WATER_LEVEL_DOWN - SFX_FLAG); + } + + if (Math_ApproxF(&this->actor.posRot.pos.y, this->actor.initPosRot.pos.y, 0.5f) != 0) { + this->actionFunc = BgHakaWater_Wait; + if (this->isLowered) { + this->actor.draw = NULL; + } + } + func_80881D94(this, globalCtx); +} + +void BgHakaWater_Update(Actor* thisx, GlobalContext* globalCtx) { + BgHakaWater* this = THIS; + + this->actionFunc(this, globalCtx); +} + +void BgHakaWater_Draw(Actor* thisx, GlobalContext* globalCtx) { + BgHakaWater* this = THIS; + s32 pad; + f32 temp; + s32 pad2; + GraphicsContext* gfxCtx; + Gfx* dispRefs[4]; + + gfxCtx = globalCtx->state.gfxCtx; + Graph_OpenDisps(dispRefs, globalCtx->state.gfxCtx, "../z_bg_haka_water.c", 287); + func_80093D84(globalCtx->state.gfxCtx); + + if (this->isLowered) { + temp = this->actor.posRot.pos.y - this->actor.initPosRot.pos.y; + } else { + temp = this->actor.posRot.pos.y - (this->actor.initPosRot.pos.y - 200.0f); + } + + gDPSetPrimColor(gfxCtx->polyXlu.p++, 0, 0, 255, 255, 255, (u8)(0.765f * temp)); + gSPSegment(gfxCtx->polyXlu.p++, 0x08, + Gfx_TwoTexScroll(globalCtx->state.gfxCtx, 0, globalCtx->gameplayFrames % 128, + globalCtx->gameplayFrames % 128, 32, 32, 1, 0, (0 - globalCtx->gameplayFrames) % 128, + 32, 32)); + + gSPMatrix(gfxCtx->polyXlu.p++, Matrix_NewMtx(globalCtx->state.gfxCtx, "../z_bg_haka_water.c", 312), + G_MTX_NOPUSH | G_MTX_LOAD | G_MTX_MODELVIEW); + gSPDisplayList(gfxCtx->polyXlu.p++, D_06001E50); + + Matrix_Translate(0.0f, 92.0f, -1680.0f, MTXMODE_NEW); + Matrix_Scale(0.1f, 0.1f, 0.1f, MTXMODE_APPLY); + temp -= 170.0f; + if (temp < 0.0f) { + temp = 0.0f; + } + + gDPPipeSync(gfxCtx->polyXlu.p++); + gDPSetPrimColor(gfxCtx->polyXlu.p++, 0, 0, 255, 255, 255, (u8)(5.1f * temp)); + gSPMatrix(gfxCtx->polyXlu.p++, Matrix_NewMtx(globalCtx->state.gfxCtx, "../z_bg_haka_water.c", 328), + G_MTX_NOPUSH | G_MTX_LOAD | G_MTX_MODELVIEW); + gSPDisplayList(gfxCtx->polyXlu.p++, D_06002010); + + Graph_CloseDisps(dispRefs, globalCtx->state.gfxCtx, "../z_bg_haka_water.c", 332); +} diff --git a/src/overlays/actors/ovl_Bg_Haka_Water/z_bg_haka_water.h b/src/overlays/actors/ovl_Bg_Haka_Water/z_bg_haka_water.h index d2a5c23401..1bab8032b8 100644 --- a/src/overlays/actors/ovl_Bg_Haka_Water/z_bg_haka_water.h +++ b/src/overlays/actors/ovl_Bg_Haka_Water/z_bg_haka_water.h @@ -11,7 +11,7 @@ typedef void (*BgHakaWaterActionFunc)(struct BgHakaWater*, GlobalContext*); typedef struct BgHakaWater { /* 0x0000 */ Actor actor; /* 0x014C */ BgHakaWaterActionFunc actionFunc; - /* 0x0150 */ char unk_150[0x4]; + /* 0x0150 */ u8 isLowered; } BgHakaWater; // size = 0x0154 extern const ActorInit Bg_Haka_Water_InitVars; diff --git a/src/overlays/actors/ovl_Bg_Hidan_Dalm/z_bg_hidan_dalm.c b/src/overlays/actors/ovl_Bg_Hidan_Dalm/z_bg_hidan_dalm.c index 95fad0ade1..7918129625 100644 --- a/src/overlays/actors/ovl_Bg_Hidan_Dalm/z_bg_hidan_dalm.c +++ b/src/overlays/actors/ovl_Bg_Hidan_Dalm/z_bg_hidan_dalm.c @@ -9,7 +9,9 @@ void BgHidanDalm_Destroy(Actor* thisx, GlobalContext* globalCtx); void BgHidanDalm_Update(Actor* thisx, GlobalContext* globalCtx); void BgHidanDalm_Draw(Actor* thisx, GlobalContext* globalCtx); -/* +void BgHidanDalm_WaitInteraction(BgHidanDalm* this, GlobalContext* globalCtx); +void BgHidanDalm_Shrink(BgHidanDalm* this, GlobalContext* globalCtx); + const ActorInit Bg_Hidan_Dalm_InitVars = { ACTOR_BG_HIDAN_DALM, ACTORTYPE_BG, @@ -21,17 +23,164 @@ const ActorInit Bg_Hidan_Dalm_InitVars = { (ActorFunc)BgHidanDalm_Update, (ActorFunc)BgHidanDalm_Draw, }; -*/ -#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Bg_Hidan_Dalm/BgHidanDalm_Init.s") -#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Bg_Hidan_Dalm/BgHidanDalm_Destroy.s") +static ColliderTrisItemInit sTrisItemInit[4] = { + { + { 0x00, { 0x00000000, 0x00, 0x00 }, { 0x00000040, 0x00, 0x00 }, 0x00, 0x79, 0x00 }, + { { { 305.0f, 0.0f, -300.0f }, { 305.0f, 600.0f, -300.0f }, { 305.0f, 600.0f, 300.0f } } }, + }, + { + { 0x00, { 0x00000000, 0x00, 0x00 }, { 0x00000040, 0x00, 0x00 }, 0x00, 0x79, 0x00 }, + { { { 305.0f, 0.0f, -300.0f }, { 305.0f, 600.0f, 300.0f }, { 305.0f, 0.0f, 300.0f } } }, + }, + { + { 0x00, { 0x00000000, 0x00, 0x00 }, { 0x00000040, 0x00, 0x00 }, 0x00, 0x79, 0x00 }, + { { { -305.0f, 0.0f, -300.0f }, { -305.0f, 600.0f, 300.0f }, { -305.0f, 600.0f, -300.0f } } }, + }, + { + { 0x00, { 0x00000000, 0x00, 0x00 }, { 0x00000040, 0x00, 0x00 }, 0x00, 0x79, 0x00 }, + { { { -305.0f, 0.0f, -300.0f }, { -305.0f, 0.0f, 300.0f }, { -305.0f, 600.0f, 300.0f } } }, + }, +}; -#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Bg_Hidan_Dalm/func_80885F4C.s") +ColliderTrisInit D_80886590 = { + { COLTYPE_UNK10, 0x00, 0x09, 0x00, 0x20, COLSHAPE_TRIS }, + 4, + sTrisItemInit, +}; -#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Bg_Hidan_Dalm/func_808860CC.s") +InitChainEntry D_808865A0[] = { + ICHAIN_VEC3F_DIV1000(scale, 100, ICHAIN_CONTINUE), + ICHAIN_F32_DIV1000(gravity, 65336, ICHAIN_STOP), +}; -#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Bg_Hidan_Dalm/BgHidanDalm_Update.s") +extern Gfx D_0600BBF0[]; +extern Gfx D_0600BDF0[]; +extern UNK_TYPE D_0600DA10; -#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Bg_Hidan_Dalm/func_808862D8.s") +void BgHidanDalm_Init(Actor* thisx, GlobalContext* globalCtx) { + BgHidanDalm* this = THIS; + s32 pad; + u32 dynaUnk; -#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Bg_Hidan_Dalm/BgHidanDalm_Draw.s") + dynaUnk = 0; + Actor_ProcessInitChain(thisx, D_808865A0); + DynaPolyInfo_SetActorMove(&this->dyna, DPM_UNK); + DynaPolyInfo_Alloc(&D_0600DA10, &dynaUnk); + this->dyna.dynaPolyId = DynaPolyInfo_RegisterActor(globalCtx, &globalCtx->colCtx.dyna, thisx, dynaUnk); + Collider_InitTris(globalCtx, &this->collider); + Collider_SetTris(globalCtx, &this->collider, thisx, &D_80886590, this->colliderItems); + + this->switchFlag = (thisx->params >> 8) & 0xFF; + thisx->params &= 0xFF; + if (Flags_GetSwitch(globalCtx, this->switchFlag)) { + Actor_Kill(thisx); + } else { + this->actionFunc = BgHidanDalm_WaitInteraction; + } +} + +void BgHidanDalm_Destroy(Actor* thisx, GlobalContext* globalCtx) { + BgHidanDalm* this = THIS; + + DynaPolyInfo_Free(globalCtx, &globalCtx->colCtx.dyna, this->dyna.dynaPolyId); + Collider_DestroyTris(globalCtx, &this->collider); +} + +void BgHidanDalm_WaitInteraction(BgHidanDalm* this, GlobalContext* globalCtx) { + Player* player = PLAYER; + + if ((this->collider.base.acFlags & 2) && !func_8008E988(globalCtx) && + (player->swordAnimation == 22 || player->swordAnimation == 23)) { + this->collider.base.acFlags &= ~2; + if (this->collider.list[0].body.bumperFlags & 2 || this->collider.list[1].body.bumperFlags & 2) { + this->dyna.actor.posRot.rot.y -= 0x4000; + } else { + this->dyna.actor.posRot.rot.y += 0x4000; + } + this->dyna.actor.posRot.pos.x += 32.5f * Math_Sins(this->dyna.actor.posRot.rot.y); + this->dyna.actor.posRot.pos.z += 32.5f * Math_Coss(this->dyna.actor.posRot.rot.y); + + func_8002DF54(globalCtx, &this->dyna.actor, 8); + this->dyna.actor.flags |= 0x10; + this->actionFunc = BgHidanDalm_Shrink; + this->dyna.actor.bgCheckFlags &= ~2; + this->dyna.actor.bgCheckFlags &= ~8; + this->dyna.actor.speedXZ = 10.0f; + Flags_SetSwitch(globalCtx, this->switchFlag); + func_8002F7DC(&PLAYER->actor, NA_SE_IT_HAMMER_HIT); + Audio_PlayActorSound2(&this->dyna.actor, NA_SE_EV_DARUMA_VANISH); + } else { + CollisionCheck_SetAC(globalCtx, &globalCtx->colChkCtx, &this->collider.base); + } +} + +void BgHidanDalm_Shrink(BgHidanDalm* this, GlobalContext* globalCtx) { + static Vec3f accel = { 0, 0, 0 }; + s32 i; + Vec3f velocity; + Vec3f pos; + + if (Math_ApproxF(&this->dyna.actor.scale.x, 0.0f, 0.004f)) { + func_8002DF54(globalCtx, &this->dyna.actor, 7); + Actor_Kill(&this->dyna.actor); + } + + this->dyna.actor.scale.y = this->dyna.actor.scale.z = this->dyna.actor.scale.x; + + pos.x = this->dyna.actor.posRot.pos.x; + pos.y = this->dyna.actor.posRot.pos.y + this->dyna.actor.scale.x * 160.0f; + pos.z = this->dyna.actor.posRot.pos.z; + + for (i = 0; i < 4; i++) { + velocity.x = 5.0f * Math_Sins(this->dyna.actor.posRot.rot.y + 0x8000) + (Math_Rand_ZeroOne() - 0.5f) * 5.0f; + velocity.z = 5.0f * Math_Coss(this->dyna.actor.posRot.rot.y + 0x8000) + (Math_Rand_ZeroOne() - 0.5f) * 5.0f; + velocity.y = (Math_Rand_ZeroOne() - 0.5f) * 1.5f; + func_80028B18(globalCtx, &pos, &velocity, &accel); + } +} + +void BgHidanDalm_Update(Actor* thisx, GlobalContext* globalCtx) { + BgHidanDalm* this = THIS; + + this->actionFunc(this, globalCtx); + Actor_MoveForward(&this->dyna.actor); + func_8002E4B4(globalCtx, &this->dyna.actor, 10.0f, 15.0f, 32.0f, 5); +} + +/** + * Update vertices of collider tris based on the current matrix + */ +void BgHidanDalm_UpdateCollider(BgHidanDalm* this) { + Vec3f pos2; + Vec3f pos1; + Vec3f pos0; + + Matrix_MultVec3f(&sTrisItemInit[0].dim.vtx[0], &pos0); + Matrix_MultVec3f(&sTrisItemInit[0].dim.vtx[1], &pos1); + Matrix_MultVec3f(&sTrisItemInit[0].dim.vtx[2], &pos2); + func_800627A0(&this->collider, 0, &pos0, &pos1, &pos2); + Matrix_MultVec3f(&sTrisItemInit[1].dim.vtx[2], &pos1); + func_800627A0(&this->collider, 1, &pos0, &pos2, &pos1); + + Matrix_MultVec3f(&sTrisItemInit[2].dim.vtx[0], &pos0); + Matrix_MultVec3f(&sTrisItemInit[2].dim.vtx[1], &pos1); + Matrix_MultVec3f(&sTrisItemInit[2].dim.vtx[2], &pos2); + func_800627A0(&this->collider, 2, &pos0, &pos1, &pos2); + Matrix_MultVec3f(&sTrisItemInit[3].dim.vtx[1], &pos2); + func_800627A0(&this->collider, 3, &pos0, &pos2, &pos1); +} + +void BgHidanDalm_Draw(Actor* thisx, GlobalContext* globalCtx) { + BgHidanDalm* this = THIS; + + if (this->dyna.actor.params == 0) { + Gfx_DrawDListOpa(globalCtx, D_0600BBF0); + } else { + Gfx_DrawDListOpa(globalCtx, D_0600BDF0); + } + + if (this->actionFunc == BgHidanDalm_WaitInteraction) { + BgHidanDalm_UpdateCollider(this); + } +} diff --git a/src/overlays/actors/ovl_Bg_Hidan_Dalm/z_bg_hidan_dalm.h b/src/overlays/actors/ovl_Bg_Hidan_Dalm/z_bg_hidan_dalm.h index f6dbd09618..c4c7e0790d 100644 --- a/src/overlays/actors/ovl_Bg_Hidan_Dalm/z_bg_hidan_dalm.h +++ b/src/overlays/actors/ovl_Bg_Hidan_Dalm/z_bg_hidan_dalm.h @@ -6,9 +6,14 @@ struct BgHidanDalm; +typedef void (*BgHidanDalmActionFunc)(struct BgHidanDalm*, GlobalContext*); + typedef struct BgHidanDalm { - /* 0x0000 */ Actor actor; - /* 0x014C */ char unk_14C[0x1B0]; + /* 0x0000 */ DynaPolyActor dyna; + /* 0x0164 */ BgHidanDalmActionFunc actionFunc; + /* 0x0168 */ u8 switchFlag; + /* 0x016C */ ColliderTris collider; + /* 0x018C */ ColliderTrisItem colliderItems[4]; } BgHidanDalm; // size = 0x02FC extern const ActorInit Bg_Hidan_Dalm_InitVars; diff --git a/undefined_syms.txt b/undefined_syms.txt index d49dae1f07..87f8366908 100644 --- a/undefined_syms.txt +++ b/undefined_syms.txt @@ -206,6 +206,11 @@ D_06005A20 = 0x06005A20; D_06000360 = 0x06000360; D_06000180 = 0x06000180; +// z_bg_hidan_dalm +D_0600BBF0 = 0x0600BBF0; +D_0600BDF0 = 0x0600BDF0; +D_0600DA10 = 0x0600DA10; + // z_bg_hidan_fslift D_0600B630 = 0x0600B630; D_0600E1E8 = 0x0600E1E8; @@ -892,6 +897,10 @@ D_0200F870 = 0x0200F870; D_060011B8 = 0x060011B8; D_06001040 = 0x06001040; +// z_bg_haka_water +D_06001E50 = 0x06001E50; +D_06002010 = 0x06002010; + // z_en_yukabyun D_06000A60 = 0x06000A60; D_06000970 = 0x06000970;