Difference between revisions of "0x692bc"
Jump to navigation
Jump to search
(Created page with " # WalkTo Animation inner routine for Mounted units? # Parameters: # r4 = (UnitMiscData) Unit misc data pointer 800692bc: 27bdffe8 addiu r29,r29,-0x0018...") |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 12: | Line 12: | ||
800692d8: 00000000 nop | 800692d8: 00000000 nop | ||
800692dc: 92040131 lbu r4,0x0131(r16) # UnitMiscData.MountRiderID | 800692dc: 92040131 lbu r4,0x0131(r16) # UnitMiscData.MountRiderID | ||
− | 800692e0: 0c01e9b9 jal 0x8007a6e4 # | + | 800692e0: 0c01e9b9 jal 0x8007a6e4 # [[Get Unit Misc Data Pointer]] (UnitMiscData.MountRiderID) |
800692e4: 00000000 nop | 800692e4: 00000000 nop | ||
800692e8: 92040004 lbu r4,0x0004(r16) | 800692e8: 92040004 lbu r4,0x0004(r16) | ||
Line 35: | Line 35: | ||
80069334: 03e00008 jr r31 | 80069334: 03e00008 jr r31 | ||
80069338: 00000000 nop | 80069338: 00000000 nop | ||
+ | |||
+ | ==< [[BATTLE.BIN Routines]]== | ||
+ | <div style="float:left;">< [[Set some data for Mounted Units]]</div><div style="float:right;">[[0006933c - 000693f0]] ></div> |
Latest revision as of 20:42, 22 December 2024
# WalkTo Animation inner routine for Mounted units? # Parameters: # r4 = (UnitMiscData) Unit misc data pointer 800692bc: 27bdffe8 addiu r29,r29,-0x0018 800692c0: afb00010 sw r16,0x0010(r29) 800692c4: 00808021 addu r16,r4,r0 # UnitMiscData 800692c8: afbf0014 sw r31,0x0014(r29) 800692cc: 92030130 lbu r3,0x0130(r16) # UnitMiscData.MountRiderValue 800692d0: 34020001 ori r2,r0,0x0001 # 1 800692d4: 14620014 bne r3,r2,0x80069328 # if (UnitMiscData.MountRiderValue != 1), return 800692d8: 00000000 nop 800692dc: 92040131 lbu r4,0x0131(r16) # UnitMiscData.MountRiderID 800692e0: 0c01e9b9 jal 0x8007a6e4 # Get Unit Misc Data Pointer (UnitMiscData.MountRiderID) 800692e4: 00000000 nop 800692e8: 92040004 lbu r4,0x0004(r16) 800692ec: 8e030140 lw r3,0x0140(r16) 800692f0: 2405fffd addiu r5,r0,-0x0003 800692f4: a200011e sb r0,0x011e(r16) 800692f8: a2000130 sb r0,0x0130(r16) 800692fc: a2000131 sb r0,0x0131(r16) 80069300: 00651824 and r3,r3,r5 80069304: ae030140 sw r3,0x0140(r16) 80069308: 0c01a38c jal 0x80068e30 8006930c: 00408021 addu r16,r2,r0 80069310: 12000005 beq r16,r0,0x80069328 80069314: 00000000 nop 80069318: 92040004 lbu r4,0x0004(r16) 8006931c: a2000130 sb r0,0x0130(r16) 80069320: 0c01a38c jal 0x80068e30 80069324: a2000131 sb r0,0x0131(r16) 80069328: 8fbf0014 lw r31,0x0014(r29) 8006932c: 8fb00010 lw r16,0x0010(r29) 80069330: 27bd0018 addiu r29,r29,0x0018 80069334: 03e00008 jr r31 80069338: 00000000 nop