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

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
m
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<font face='Courier New'>
+
Duplicated here: [[Update Status/Sprite/Animation Display By Unit Misc ID]]
 +
 +
#Parameters:
 +
  #r4 = Unit Misc ID
 
   
 
   
 
  00068e30: 27bdffe8 addiu r29,r29,0xffe8
 
  00068e30: 27bdffe8 addiu r29,r29,0xffe8
 
  00068e34: afbf0010 sw r31,0x0010(r29)
 
  00068e34: afbf0010 sw r31,0x0010(r29)
  00068e38: 0c01e9b9 jal 0x0007a6e4              [[Find Current Misc Unit Data Pointer (external ID)?]]
+
  00068e38: 0c01e9b9 jal 0x0007a6e4              #[[Get Unit Misc Data Pointer from Unit Misc ID]]
  00068e3c: 3084ffff andi r4,r4,0xffff
+
  00068e3c: 3084ffff andi r4,r4,0xffff           #r4 = Unit Misc ID?
  00068e40: 0c01a342 jal 0x00068d08              [[Status/sprite transformation/animation display setting]]
+
  00068e40: 0c01a342 jal 0x00068d08              #[[Status/sprite transformation/animation display setting]]
 
  00068e44: 00402021 addu r4,r2,r0
 
  00068e44: 00402021 addu r4,r2,r0
 
  00068e48: 8fbf0010 lw r31,0x0010(r29)
 
  00068e48: 8fbf0010 lw r31,0x0010(r29)
Line 11: Line 14:
 
  00068e50: 03e00008 jr r31
 
  00068e50: 03e00008 jr r31
 
  00068e54: 00000000 nop
 
  00068e54: 00000000 nop
</font>
 

Latest revision as of 07:58, 12 May 2025

Duplicated here: Update Status/Sprite/Animation Display By Unit Misc ID

#Parameters:
  #r4 = Unit Misc ID

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