00069f14 - 0006a07c

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
00069f14: 27bdffd8 addiu r29,r29,0xffd8
00069f18: afb00010 sw r16,0x0010(r29)
00069f1c: 00808021 addu r16,r4,r0
00069f20: afb40020 sw r20,0x0020(r29)
00069f24: 00a0a021 addu r20,r5,r0
00069f28: afbf0024 sw r31,0x0024(r29)
00069f2c: afb3001c sw r19,0x001c(r29)
00069f30: afb20018 sw r18,0x0018(r29)
00069f34: 0c01a4af jal 0x000692bc
00069f38: afb10014 sw r17,0x0014(r29)
00069f3c: 9202011c lbu r2,0x011c(r16)
00069f40: 92130097 lbu r19,0x0097(r16)
00069f44: 00021982 srl r3,r2,0x06
00069f48: 34020001 ori r2,r0,0x0001
00069f4c: 10620018 beq r3,r2,0x00069fb0
00069f50: 2612011c addiu r18,r16,0x011c
00069f54: 28620002 slti r2,r3,0x0002
00069f58: 10400005 beq r2,r0,0x00069f70
00069f5c: 00000000 nop
00069f60: 1060000a beq r3,r0,0x00069f8c
00069f64: 3402002f ori r2,r0,0x002f
00069f68: 0801a808 j 0x0006a020
00069f6c: 02002021 addu r4,r16,r0
00069f70: 34020002 ori r2,r0,0x0002
00069f74: 10620018 beq r3,r2,0x00069fd8
00069f78: 34020003 ori r2,r0,0x0003
00069f7c: 1062001f beq r3,r2,0x00069ffc
00069f80: 34020033 ori r2,r0,0x0033
00069f84: 0801a808 j 0x0006a020
00069f88: 02002021 addu r4,r16,r0
00069f8c: 34110c00 ori r17,r0,0x0c00
00069f90: 9203007c lbu r3,0x007c(r16)
00069f94: a202007f sb r2,0x007f(r16)
00069f98: 9202011c lbu r2,0x011c(r16)
00069f9c: 24630001 addiu r3,r3,0x0001
00069fa0: 30420003 andi r2,r2,0x0003
00069fa4: 00621821 addu r3,r3,r2
00069fa8: 0801a807 j 0x0006a01c
00069fac: a2030080 sb r3,0x0080(r16)
00069fb0: 34110400 ori r17,r0,0x0400
00069fb4: 9203007c lbu r3,0x007c(r16)
00069fb8: 34020037 ori r2,r0,0x0037
00069fbc: a202007f sb r2,0x007f(r16)
00069fc0: 9202011c lbu r2,0x011c(r16)
00069fc4: 246300ff addiu r3,r3,0x00ff
00069fc8: 30420003 andi r2,r2,0x0003
00069fcc: 00621823 subu r3,r3,r2
00069fd0: 0801a807 j 0x0006a01c
00069fd4: a2030080 sb r3,0x0080(r16)
00069fd8: 00008821 addu r17,r0,r0
00069fdc: 9203007d lbu r3,0x007d(r16)
00069fe0: 3402002b ori r2,r0,0x002b
00069fe4: a202007f sb r2,0x007f(r16)
00069fe8: 9202011c lbu r2,0x011c(r16)
00069fec: 246300ff addiu r3,r3,0x00ff
00069ff0: 30420003 andi r2,r2,0x0003
00069ff4: 0801a806 j 0x0006a018
00069ff8: 00621823 subu r3,r3,r2
00069ffc: 34110800 ori r17,r0,0x0800
0006a000: 9203007d lbu r3,0x007d(r16)
0006a004: a202007f sb r2,0x007f(r16)
0006a008: 9202011c lbu r2,0x011c(r16)
0006a00c: 24630001 addiu r3,r3,0x0001
0006a010: 30420003 andi r2,r2,0x0003
0006a014: 00621821 addu r3,r3,r2
0006a018: a2030081 sb r3,0x0081(r16)
0006a01c: 02002021 addu r4,r16,r0
0006a020: 0c020b7e jal 0x00082df8
0006a024: a6110070 sh r17,0x0070(r16)
0006a028: 02002021 addu r4,r16,r0
0006a02c: 02402821 addu r5,r18,r0
0006a030: 02803021 addu r6,r20,r0
0006a034: 0c01a6fe jal 0x00069bf8
0006a038: 02603821 addu r7,r19,r0
0006a03c: 8e050038 lw r5,0x0038(r16)
0006a040: 0c01a77f jal 0x00069dfc
0006a044: 02002021 addu r4,r16,r0
0006a048: 92420000 lbu r2,0x0000(r18)
0006a04c: 00000000 nop
0006a050: 00021142 srl r2,r2,0x05
0006a054: 30420001 andi r2,r2,0x0001
0006a058: a2020082 sb r2,0x0082(r16)
0006a05c: 8fbf0024 lw r31,0x0024(r29)
0006a060: 8fb40020 lw r20,0x0020(r29)
0006a064: 8fb3001c lw r19,0x001c(r29)
0006a068: 8fb20018 lw r18,0x0018(r29)
0006a06c: 8fb10014 lw r17,0x0014(r29)
0006a070: 8fb00010 lw r16,0x0010(r29)
0006a074: 27bd0028 addiu r29,r29,0x0028
0006a078: 03e00008 jr r31
0006a07c: 00000000 nop

Return locations

Battle.bin
0006d158: 0006d060 - 0006d19c
0006d310: 0006d288 - 0006d340

< BATTLE.BIN Routines

< Transfer Palette and store 0x7F in misc data
0006a080 - 0006a208 >