Difference between revisions of "Update Unit Display via Unit ID"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Navigation; Unknown or no return location)
m
Line 1: Line 1:
 +
#Parameters:
 +
  #r4 = Unit ID
 +
 
  00068e58: 27bdffe8 addiu r29,r29,0xffe8
 
  00068e58: 27bdffe8 addiu r29,r29,0xffe8
 
  00068e5c: afbf0010 sw r31,0x0010(r29)
 
  00068e5c: afbf0010 sw r31,0x0010(r29)
  00068e60: 0c01e9c9 jal 0x0007a724              [[Find Misc Unit Data Pointer (checking for specific unit)?]]
+
  00068e60: 0c01e9c9 jal 0x0007a724              [[Get Unit Misc Data Pointer from Unit ID]]
 
  00068e64: 3084ffff andi r4,r4,0xffff
 
  00068e64: 3084ffff andi r4,r4,0xffff
 
  00068e68: 0c01a342 jal 0x00068d08              [[Status/sprite transformation/animation display setting]]
 
  00068e68: 0c01a342 jal 0x00068d08              [[Status/sprite transformation/animation display setting]]
Line 11: Line 14:
  
 
==Return locations==
 
==Return locations==
Unknown/None
 
 
==< [[BATTLE.BIN Routines]]==
 
<div style="float:left;">< [[Update Status/Sprite/Animation Display By Unit Misc ID]] | [[Jump to 68d08]]</div><div style="float:right;">[[Special Status Flag Enabling?]] ></div>
 

Revision as of 07:42, 12 May 2025

#Parameters:
  #r4 = Unit ID

00068e58: 27bdffe8 addiu r29,r29,0xffe8
00068e5c: afbf0010 sw r31,0x0010(r29)
00068e60: 0c01e9c9 jal 0x0007a724               Get Unit Misc Data Pointer from Unit ID
00068e64: 3084ffff andi r4,r4,0xffff
00068e68: 0c01a342 jal 0x00068d08               Status/sprite transformation/animation display setting
00068e6c: 00402021 addu r4,r2,r0
00068e70: 8fbf0010 lw r31,0x0010(r29)
00068e74: 27bd0018 addiu r29,r29,0x0018
00068e78: 03e00008 jr r31
00068e7c: 00000000 nop

Return locations