0006a080 - 0006a208
Jump to navigation
Jump to search
0006a080: 27bdffe0 addiu r29,r29,0xffe0 0006a084: afb00010 sw r16,0x0010(r29) 0006a088: 00808021 addu r16,r4,r0 0006a08c: afbf001c sw r31,0x001c(r29) 0006a090: afb20018 sw r18,0x0018(r29) 0006a094: 0c01a495 jal 0x00069254 Set some data for Mounted Units 0006a098: afb10014 sw r17,0x0014(r29) 0006a09c: 9202011c lbu r2,0x011c(r16) 0006a0a0: 00000000 nop 0006a0a4: 00021982 srl r3,r2,0x06 0006a0a8: 34020001 ori r2,r0,0x0001 0006a0ac: 10620018 beq r3,r2,0x0006a110 0006a0b0: 2612011c addiu r18,r16,0x011c 0006a0b4: 28620002 slti r2,r3,0x0002 0006a0b8: 10400005 beq r2,r0,0x0006a0d0 0006a0bc: 00000000 nop 0006a0c0: 1060000a beq r3,r0,0x0006a0ec 0006a0c4: 34020024 ori r2,r0,0x0024 0006a0c8: 0801a860 j 0x0006a180 0006a0cc: 34040012 ori r4,r0,0x0012 0006a0d0: 34020002 ori r2,r0,0x0002 0006a0d4: 10620018 beq r3,r2,0x0006a138 0006a0d8: 34020003 ori r2,r0,0x0003 0006a0dc: 1062001f beq r3,r2,0x0006a15c 0006a0e0: 34020026 ori r2,r0,0x0026 0006a0e4: 0801a860 j 0x0006a180 0006a0e8: 34040012 ori r4,r0,0x0012 0006a0ec: 34110c00 ori r17,r0,0x0c00 0006a0f0: 9203007c lbu r3,0x007c(r16) 0006a0f4: a202007f sb r2,0x007f(r16) 0006a0f8: 9202011c lbu r2,0x011c(r16) 0006a0fc: 24630001 addiu r3,r3,0x0001 0006a100: 30420003 andi r2,r2,0x0003 0006a104: 00621821 addu r3,r3,r2 0006a108: 0801a85f j 0x0006a17c 0006a10c: a2030080 sb r3,0x0080(r16) 0006a110: 34110400 ori r17,r0,0x0400 0006a114: 9203007c lbu r3,0x007c(r16) 0006a118: 34020028 ori r2,r0,0x0028 0006a11c: a202007f sb r2,0x007f(r16) 0006a120: 9202011c lbu r2,0x011c(r16) 0006a124: 246300ff addiu r3,r3,0x00ff 0006a128: 30420003 andi r2,r2,0x0003 0006a12c: 00621823 subu r3,r3,r2 0006a130: 0801a85f j 0x0006a17c 0006a134: a2030080 sb r3,0x0080(r16) 0006a138: 00008821 addu r17,r0,r0 0006a13c: 9203007d lbu r3,0x007d(r16) 0006a140: 34020022 ori r2,r0,0x0022 0006a144: a202007f sb r2,0x007f(r16) 0006a148: 9202011c lbu r2,0x011c(r16) 0006a14c: 246300ff addiu r3,r3,0x00ff 0006a150: 30420003 andi r2,r2,0x0003 0006a154: 0801a85e j 0x0006a178 0006a158: 00621823 subu r3,r3,r2 0006a15c: 34110800 ori r17,r0,0x0800 0006a160: 9203007d lbu r3,0x007d(r16) 0006a164: a202007f sb r2,0x007f(r16) 0006a168: 9202011c lbu r2,0x011c(r16) 0006a16c: 24630001 addiu r3,r3,0x0001 0006a170: 30420003 andi r2,r2,0x0003 0006a174: 00621821 addu r3,r3,r2 0006a178: a2030081 sb r3,0x0081(r16) 0006a17c: 34040012 ori r4,r0,0x0012 0006a180: 02202821 addu r5,r17,r0 0006a184: 0c02065e jal 0x00081978 Store unit animation and facing value 0006a188: 02003021 addu r6,r16,r0 0006a18c: 92030130 lbu r3,0x0130(r16) 0006a190: 34020002 ori r2,r0,0x0002 0006a194: 1462000b bne r3,r2,0x0006a1c4 0006a198: 02002021 addu r4,r16,r0 0006a19c: 92040131 lbu r4,0x0131(r16) 0006a1a0: 0c01e9b9 jal 0x0007a6e4 Get Unit Misc Data Pointer | Find Current Misc Unit Data Pointer (external ID)? 0006a1a4: 00000000 nop 0006a1a8: 10400005 beq r2,r0,0x0006a1c0 0006a1ac: 00000000 nop 0006a1b0: 34040032 ori r4,r0,0x0032 0006a1b4: 86050070 lh r5,0x0070(r16) 0006a1b8: 0c02065e jal 0x00081978 Store unit animation and facing value 0006a1bc: 00403021 addu r6,r2,r0 0006a1c0: 02002021 addu r4,r16,r0 0006a1c4: 2605009c addiu r5,r16,0x009c 0006a1c8: 0c01a536 jal 0x000694d8 000694d8 - 00069740 0006a1cc: 02403021 addu r6,r18,r0 0006a1d0: 8e050038 lw r5,0x0038(r16) 0006a1d4: 0c01a77f jal 0x00069dfc 00069dfc - 00069e64 0006a1d8: 02002021 addu r4,r16,r0 0006a1dc: 92420000 lbu r2,0x0000(r18) 0006a1e0: 00000000 nop 0006a1e4: 00021142 srl r2,r2,0x05 0006a1e8: 30420001 andi r2,r2,0x0001 0006a1ec: a2020082 sb r2,0x0082(r16) 0006a1f0: 8fbf001c lw r31,0x001c(r29) 0006a1f4: 8fb20018 lw r18,0x0018(r29) 0006a1f8: 8fb10014 lw r17,0x0014(r29) 0006a1fc: 8fb00010 lw r16,0x0010(r29) 0006a200: 27bd0020 addiu r29,r29,0x0020 0006a204: 03e00008 jr r31 0006a208: 00000000 nop
Return locations
Battle.bin 0006a088: 0006a018 - 0006a0a8