Set attack animation flags and facing 2
Jump to navigation
Jump to search
00082b80: 27bdffe0 addiu r29,r29,0xffe0 00082b84: afb00010 sw r16,0x0010(r29) 00082b88: 00808021 addu r16,r4,r0 00082b8c: afbf0018 sw r31,0x0018(r29) 00082b90: afb10014 sw r17,0x0014(r29) 00082b94: 96020138 lhu r2,0x0138(r16) 00082b98: 00000000 nop 00082b9c: 00021840 sll r3,r2,0x01 00082ba0: 00621821 addu r3,r3,r2 00082ba4: 3c018009 lui r1,0x8009 00082ba8: 00230821 addu r1,r1,r3 00082bac: 90223e10 lbu r2,0x3e10(r1) load animation flags 1 00082bb0: 00000000 nop 00082bb4: 00021040 sll r2,r2,0x01 00082bb8: 3c018009 lui r1,0x8009 00082bbc: 00220821 addu r1,r1,r2 00082bc0: 90313de9 lbu r17,0x3de9(r1) load 2nd other animation flag 00082bc4: 00000000 nop 00082bc8: 1220000b beq r17,r0,0x00082bf8 00082bcc: 00000000 nop 00082bd0: 0c0209e3 jal 0x0008278c 00082bd4: 00000000 nop 00082bd8: 304200ff andi r2,r2,0x00ff 00082bdc: 2c420002 sltiu r2,r2,0x0002 00082be0: 10400002 beq r2,r0,0x00082bec 00082be4: 34040009 ori r4,r0,0x0009 00082be8: 02202021 addu r4,r17,r0 00082bec: 86050070 lh r5,0x0070(r16) 00082bf0: 0c02065e jal 0x00081978 Store unit animation and facing 00082bf4: 02003021 addu r6,r16,r0 00082bf8: 8fbf0018 lw r31,0x0018(r29) 00082bfc: 8fb10014 lw r17,0x0014(r29) 00082c00: 8fb00010 lw r16,0x0010(r29) 00082c04: 27bd0020 addiu r29,r29,0x0020 00082c08: 03e00008 jr r31 00082c0c: 00000000 nop