Set Animation Based On Unit Status From Unit Misc ID

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
#   ROUTINE: SET ANIMATION BASED ON UNIT STATUS FROM UNIT MISC ID
#       Parameters:
#           r4 = (unitMiscID) Unit Misc ID

8008be54: 27bdffe8 addiu r29,r29,-0x0018
8008be58: afbf0010 sw r31,0x0010(r29)
8008be5c: 0c01e9b9 jal 0x8007a6e4                   #   miscUnit = Get Unit Misc Data Pointer (unitMiscID);
8008be60: 3084ffff andi r4,r4,0xffff
8008be64: 0c020bbb jal 0x80082eec                   #   Set Animation Based On Unit Status (miscUnit);
8008be68: 00402021 addu r4,r2,r0
8008be6c: 8fbf0010 lw r31,0x0010(r29)
8008be70: 27bd0018 addiu r29,r29,0x0018
8008be74: 03e00008 jr r31
8008be78: 00000000 nop