Update Status/Sprite/Animation Display By Unit Misc ID

From Final Fantasy Hacktics Wiki
Revision as of 22:47, 21 April 2022 by Glain (talk | contribs) (Created page with " # ROUTINE: UPDATE STATUS/SPRITE/ANIMATION DISPLAY BY UNIT MISC ID # Parameters: # r4 = (unitMiscID) Unit misc ID 80068e30: 27bdffe8 addiu r29,r29,-0x0018 8006...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
#   ROUTINE: UPDATE STATUS/SPRITE/ANIMATION DISPLAY BY UNIT MISC ID
#   Parameters:
#       r4 = (unitMiscID) Unit misc ID

80068e30: 27bdffe8 addiu r29,r29,-0x0018
80068e34: afbf0010 sw r31,0x0010(r29)
80068e38: 0c01e9b9 jal 0x8007a6e4                   #   miscUnit = Get Unit Misc Data Pointer (unitMiscID);
80068e3c: 3084ffff andi r4,r4,0xffff
80068e40: 0c01a342 jal 0x80068d08                   #   Status/sprite transformation/animation display setting (miscUnit);
80068e44: 00402021 addu r4,r2,r0
80068e48: 8fbf0010 lw r31,0x0010(r29)
80068e4c: 27bd0018 addiu r29,r29,0x0018
80068e50: 03e00008 jr r31
80068e54: 00000000 nop