Clear Party
Jump to navigation
Jump to search
# ROUTINE: CLEAR PARTY # Sets all party slots to blank (Base class = 0xFF). 20 slots total. 80059ac8: 340300ff ori r3,r0,0x00ff # 0xFF 80059acc: 34021300 ori r2,r0,0x1300 # offset = 0x1300; 80059ad0: 3c018005 lui r1,0x8005 # do { 80059ad4: 00220821 addu r1,r1,r2 80059ad8: a0237f75 sb r3,0x7f75(r1) # *(unitArray + offset).BaseClass = 0xFF; 80059adc: 2442ff00 addiu r2,r2,-0x0100 # offset = offset - sizeof(Unit); // 256 bytes per unit 80059ae0: 0441fffb bgez r2,0x80059ad0 # } while (offset >= 0); 80059ae4: 00000000 nop 80059ae8: 03e00008 jr r31 # return; 80059aec: 00000000 nop
Return Locations
80042994: 00042930 - 00042a0c 80042ac4: 00042ab0 - 00042b18