0008d5c8 - 0008d64c

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search

0008d5c8: 27bdffe8 addiu r29,r29,0xffe8
0008d5cc: 00041100 sll r2,r4,0x04
0008d5d0: 00441023 subu r2,r2,r4
0008d5d4: 000210c0 sll r2,r2,0x03
0008d5d8: 00441023 subu r2,r2,r4
0008d5dc: 00021080 sll r2,r2,0x02
0008d5e0: 00441021 addu r2,r2,r4
0008d5e4: 00021980 sll r3,r2,0x06
0008d5e8: 00621823 subu r3,r3,r2
0008d5ec: afb00010 sw r16,0x0010(r29)
0008d5f0: 00648021 addu r16,r3,r4
0008d5f4: afbf0014 sw r31,0x0014(r29)
0008d5f8: 3c01800a lui r1,0x800a
0008d5fc: 00300821 addu r1,r1,r16
0008d600: 8c2377c4 lw r3,0x77c4(r1)			Load unit ID to animate
0008d604: 340200ff ori r2,r0,0x00ff
0008d608: 1462000c bne r3,r2,0x0008d63c		branch if none
0008d60c: 00001021 addu r2,r0,r0
0008d610: 3c04800a lui r4,0x800a
0008d614: 248477d0 addiu r4,r4,0x77d0
0008d618: 24851158 addiu r5,r4,0x1158
0008d61c: 02042021 addu r4,r16,r4
0008d620: 0c00923f jal 0x000248fc
0008d624: 02052821 addu r5,r16,r5
0008d628: 340200fe ori r2,r0,0x00fe
0008d62c: 3c01800a lui r1,0x800a
0008d630: 00300821 addu r1,r1,r16
0008d634: ac2277c4 sw r2,0x77c4(r1)
0008d638: 34020001 ori r2,r0,0x0001
0008d63c: 8fbf0014 lw r31,0x0014(r29)
0008d640: 8fb00010 lw r16,0x0010(r29)
0008d644: 27bd0018 addiu r29,r29,0x0018
0008d648: 03e00008 jr r31
0008d64c: 00000000 nop