Set Animation Based On Unit Mounted State From Unit Misc ID

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

8008be04: 27bdffe8 addiu r29,r29,-0x0018
8008be08: afbf0010 sw r31,0x0010(r29)
8008be0c: 0c01e9b9 jal 0x8007a6e4                   #   miscUnit = Get Unit Misc Data Pointer (unitMiscID);
8008be10: 3084ffff andi r4,r4,0xffff
8008be14: 0c020b54 jal 0x80082d50                   #   Set Animation Based On Unit Mounted State (miscUnit);
8008be18: 00402021 addu r4,r2,r0
8008be1c: 8fbf0010 lw r31,0x0010(r29)
8008be20: 27bd0018 addiu r29,r29,0x0018
8008be24: 03e00008 jr r31
8008be28: 00000000 nop