Store some movement coordinate data
Jump to navigation
Jump to search
00081b88: 27bdffe0 addiu r29,r29,0xffe0 00081b8c: afb00018 sw r16,0x0018(r29) 00081b90: 00808021 addu r16,r4,r0 r16 = Unit's Misc Data Pointer 00081b94: afbf001c sw r31,0x001c(r29) 00081b98: 8e020180 lw r2,0x0180(r16) load ?? death on chocobo byte? 00081b9c: 00000000 nop 00081ba0: 10400019 beq r2,r0,0x00081c08 Branch if ? = 0 00081ba4: 00000000 nop 00081ba8: 0c01a4af jal 0x000692bc Set Animation/Facing for Mounted Units 00081bac: 00000000 nop 00081bb0: 92020184 lbu r2,0x0184(r16) load X coordinate to move to? 00081bb4: 92030188 lbu r3,0x0188(r16) load Y coordinate to move to? 00081bb8: 92050186 lbu r5,0x0186(r16) load map level? 00081bbc: 02002021 addu r4,r16,r0 00081bc0: a202007c sb r2,0x007c(r16) store X 00081bc4: a203007d sb r3,0x007d(r16) Store Y 00081bc8: 0c0206c3 jal 0x00081b0c Store some coordinate data 00081bcc: a205007e sb r5,0x007e(r16) Store Map Level 00081bd0: 8e020134 lw r2,0x0134(r16) load stats 00081bd4: 86030070 lh r3,0x0070(r16) load facing 00081bd8: 9205007c lbu r5,0x007c(r16) X coordinate 00081bdc: 9206007d lbu r6,0x007d(r16) Y coordinate 00081be0: 9207007e lbu r7,0x007e(r16) Map Level 00081be4: 9044018a lbu r4,0x018a(r2) load unit ID 00081be8: 04610003 bgez r3,0x00081bf8 branch if valid? 00081bec: 00031282 srl r2,r3,0x0a 00081bf0: 246303ff addiu r3,r3,0x03ff 00081bf4: 00031282 srl r2,r3,0x0a 00081bf8: 304200ff andi r2,r2,0x00ff 00081bfc: 0c05ff77 jal 0x0017fddc Set Rider/Mount's X/Y Data 00081c00: afa20010 sw r2,0x0010(r29) store modified facing? 00081c04: ae000180 sw r0,0x0180(r16) clear ?? 00081c08: 8fbf001c lw r31,0x001c(r29) 00081c0c: 8fb00018 lw r16,0x0018(r29) 00081c10: 27bd0020 addiu r29,r29,0x0020 00081c14: 03e00008 jr r31 00081c18: 00000000 nop