Store attack animation flags and facing 1

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search

00082b1c: 27bdffe8 addiu r29,r29,0xffe8
00082b20: 00803021 addu r6,r4,r0			r6 = unit misc data
00082b24: afbf0010 sw r31,0x0010(r29)
00082b28: 94c20138 lhu r2,0x0138(r6)		load used ability
00082b2c: 00000000 nop
00082b30: 00021840 sll r3,r2,0x01
00082b34: 00621821 addu r3,r3,r2			used ability*3
00082b38: 3c018009 lui r1,0x8009
00082b3c: 00230821 addu r1,r1,r3
00082b40: 90223e10 lbu r2,0x3e10(r1)		load animation flag 1?
00082b44: 00000000 nop
00082b48: 00021040 sll r2,r2,0x01			animation flag 1 * 2
00082b4c: 3c018009 lui r1,0x8009
00082b50: 00220821 addu r1,r1,r2
00082b54: 90243de8 lbu r4,0x3de8(r1)		load other animation flag
00082b58: 00000000 nop
00082b5c: 10800004 beq r4,r0,0x00082b70		branch if = 0
00082b60: 00000000 nop
00082b64: 84c50070 lh r5,0x0070(r6)			load current faceing direction
00082b68: 0c02065e jal 0x00081978			Store unit animation and facing
00082b6c: 00000000 nop
00082b70: 8fbf0010 lw r31,0x0010(r29)
00082b74: 27bd0018 addiu r29,r29,0x0018
00082b78: 03e00008 jr r31
00082b7c: 00000000 nop