Difference between revisions of "Update Unit Display via Unit ID"
Jump to navigation
Jump to search
(Navigation; Unknown or no return location) |
RetroTypes (talk | contribs) m |
||
(2 intermediate revisions by the same user not shown) | |||
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 [[ | + | 00068e60: 0c01e9c9 jal 0x0007a724 #[[Get Unit Misc Data Pointer from Unit ID]] |
− | 00068e64: 3084ffff andi r4,r4,0xffff | + | 00068e64: 3084ffff andi r4,r4,0xffff #r4 = Unit ID |
− | 00068e68: 0c01a342 jal 0x00068d08 [[Status/sprite transformation/animation display setting]] | + | 00068e68: 0c01a342 jal 0x00068d08 #[[Status/sprite transformation/animation display setting]] |
00068e6c: 00402021 addu r4,r2,r0 | 00068e6c: 00402021 addu r4,r2,r0 | ||
00068e70: 8fbf0010 lw r31,0x0010(r29) | 00068e70: 8fbf0010 lw r31,0x0010(r29) | ||
Line 11: | Line 14: | ||
==Return locations== | ==Return locations== | ||
− | |||
− | |||
− | |||
− |
Latest revision as of 07:44, 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 #r4 = Unit ID 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