Difference between revisions of "Auto Battle Handling"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
<font face='Courier New'>
 
<font face='Courier New'>
 
Auto Battle Handling <font face='Courier New'>
 
Auto Battle Handling <font face='Courier New'>
 
+
Auto Battle Handling <font face='Courier New'>
  00197f14: 27bdffe8 addiu r29,r29,0xffe8
+
 
  00197f18: 3c03801a lui r3,0x801a
+
  00197f14: 27bdffe8 addiu r29,r29,0xffe8
  00197f1c: 90630d7a lbu r3,0x0d7a(r3)
+
  00197f18: 3c03801a lui r3,0x801a
  00197f20: 3402000e ori r2,r0,0x000e
+
  00197f1c: 90630d7a lbu r3,0x0d7a(r3)
  00197f24: 10620013 beq r3,r2,0x00197f74
+
  00197f20: 3402000e ori r2,r0,0x000e
  00197f28: afbf0010 sw r31,0x0010(r29)
+
  00197f24: 10620013 beq r3,r2,0x00197f74
  00197f2c: 2862000f slti r2,r3,0x000f
+
  00197f28: afbf0010 sw r31,0x0010(r29)
  00197f30: 10400005 beq r2,r0,0x00197f48
+
  00197f2c: 2862000f slti r2,r3,0x000f
  00197f34: 3402000c ori r2,r0,0x000c
+
  00197f30: 10400005 beq r2,r0,0x00197f48
  00197f38: 1062000a beq r3,r2,0x00197f64
+
  00197f34: 3402000c ori r2,r0,0x000c
  00197f3c: 00001021 addu r2,r0,r0
+
  00197f38: 1062000a beq r3,r2,0x00197f64
  00197f40: 08065ff9 j 0x00197fe4
+
  00197f3c: 00001021 addu r2,r0,r0
  00197f44: 00000000 nop
+
  00197f40: 08065ff9 j 0x00197fe4
 
+
  00197f44: 00000000 nop
  00197f48: 34020010 ori r2,r0,0x0010
+
 
  00197f4c: 10620014 beq r3,r2,0x00197fa0
+
  00197f48: 34020010 ori r2,r0,0x0010
  00197f50: 34020011 ori r2,r0,0x0011
+
  00197f4c: 10620014 beq r3,r2,0x00197fa0
  00197f54: 1062001d beq r3,r2,0x00197fcc
+
  00197f50: 34020011 ori r2,r0,0x0011
  00197f58: 00001021 addu r2,r0,r0
+
  00197f54: 1062001d beq r3,r2,0x00197fcc
  00197f5c: 08065ff9 j 0x00197fe4
+
  00197f58: 00001021 addu r2,r0,r0
  00197f60: 00000000 nop
+
  00197f5c: 08065ff9 j 0x00197fe4
 
+
  00197f60: 00000000 nop
  00197f64: 0c065ffd jal 0x00197ff4 [[Choose Target and Set a bunch of stuff]]
+
 
  00197f68: 00000000 nop
+
  00197f64: 0c065ffd jal 0x00197ff4 [[Choose Target and Set a bunch of stuff]]
  00197f6c: 08065ff6 j 0x00197fd8
+
  00197f68: 00000000 nop
  00197f70: 2403ffff addiu r3,r0,0xffff
+
  00197f6c: 08065ff6 j 0x00197fd8
 
+
  00197f70: 2403ffff addiu r3,r0,0xffff
  00197f74: 0c06613b jal 0x001984ec [[001984ec - 00198818]]
+
 
  00197f78: 00000000 nop
+
  00197f74: 0c06613b jal 0x001984ec [[001984ec - 00198818]]
  00197f7c: 00401821 addu r3,r2,r0
+
  00197f78: 00000000 nop
  00197f80: 2402ffff addiu r2,r0,0xffff
+
  00197f7c: 00401821 addu r3,r2,r0
  00197f84: 10620017 beq r3,r2,0x00197fe4
+
  00197f80: 2402ffff addiu r2,r0,0xffff
  00197f88: 00000000 nop
+
  00197f84: 10620017 beq r3,r2,0x00197fe4
  00197f8c: 2402fffe addiu r2,r0,0xfffe
+
  00197f88: 00000000 nop
  00197f90: 1062000e beq r3,r2,0x00197fcc
+
  00197f8c: 2402fffe addiu r2,r0,0xfffe
  00197f94: 34020001 ori r2,r0,0x0001
+
  00197f90: 1062000e beq r3,r2,0x00197fcc
  00197f98: 08065ff9 j 0x00197fe4
+
  00197f94: 34020001 ori r2,r0,0x0001
  00197f9c: 00000000 nop
+
  00197f98: 08065ff9 j 0x00197fe4
 
+
  00197f9c: 00000000 nop
  00197fa0: 0c06637c jal 0x00198df0 [[00198df0 - 00198e5c]]
+
 
  00197fa4: 00000000 nop
+
  00197fa0: 0c06637c jal 0x00198df0 [[00198df0 - 00198e5c]]
  00197fa8: 00401821 addu r3,r2,r0
+
  00197fa4: 00000000 nop
  00197fac: 2402ffff addiu r2,r0,0xffff
+
  00197fa8: 00401821 addu r3,r2,r0
  00197fb0: 1062000c beq r3,r2,0x00197fe4
+
  00197fac: 2402ffff addiu r2,r0,0xffff
  00197fb4: 00000000 nop
+
  00197fb0: 1062000c beq r3,r2,0x00197fe4
  00197fb8: 2402fffe addiu r2,r0,0xfffe
+
  00197fb4: 00000000 nop
  00197fbc: 1062ffed beq r3,r2,0x00197f74
+
  00197fb8: 2402fffe addiu r2,r0,0xfffe
  00197fc0: 34020001 ori r2,r0,0x0001
+
  00197fbc: 1062ffed beq r3,r2,0x00197f74
  00197fc4: 08065ff9 j 0x00197fe4
+
  00197fc0: 34020001 ori r2,r0,0x0001
  00197fc8: 00000000 nop
+
  00197fc4: 08065ff9 j 0x00197fe4
 
+
  00197fc8: 00000000 nop
  00197fcc: 0c066398 jal 0x00198e60 [[00198e60 - 00199058]]
+
 
  00197fd0: 00000000 nop
+
  00197fcc: 0c066398 jal 0x00198e60 [[00198e60 - 00199058]]
  00197fd4: 2403ffff addiu r3,r0,0xffff
+
  00197fd0: 00000000 nop
  00197fd8: 14430002 bne r2,r3,0x00197fe4
+
  00197fd4: 2403ffff addiu r3,r0,0xffff
  00197fdc: 34020001 ori r2,r0,0x0001
+
  00197fd8: 14430002 bne r2,r3,0x00197fe4
  00197fe0: 2402ffff addiu r2,r0,0xffff
+
  00197fdc: 34020001 ori r2,r0,0x0001
  00197fe4: 8fbf0010 lw r31,0x0010(r29)
+
  00197fe0: 2402ffff addiu r2,r0,0xffff
  00197fe8: 27bd0018 addiu r29,r29,0x0018
+
  00197fe4: 8fbf0010 lw r31,0x0010(r29)
  00197fec: 03e00008 jr r31
+
  00197fe8: 27bd0018 addiu r29,r29,0x0018
  00197ff0: 00000000 nop
+
  00197fec: 03e00008 jr r31
</font></font>
+
  00197ff0: 00000000 nop
 +
  </font></font></font>

Revision as of 13:52, 24 May 2015

Auto Battle Handling

Auto Battle Handling 
  
  00197f14: 27bdffe8 addiu r29,r29,0xffe8
  00197f18: 3c03801a lui r3,0x801a
  00197f1c: 90630d7a lbu r3,0x0d7a(r3)
  00197f20: 3402000e ori r2,r0,0x000e
  00197f24: 10620013 beq r3,r2,0x00197f74
  00197f28: afbf0010 sw r31,0x0010(r29)
  00197f2c: 2862000f slti r2,r3,0x000f
  00197f30: 10400005 beq r2,r0,0x00197f48
  00197f34: 3402000c ori r2,r0,0x000c
  00197f38: 1062000a beq r3,r2,0x00197f64
  00197f3c: 00001021 addu r2,r0,r0
  00197f40: 08065ff9 j 0x00197fe4
  00197f44: 00000000 nop
  
  00197f48: 34020010 ori r2,r0,0x0010
  00197f4c: 10620014 beq r3,r2,0x00197fa0
  00197f50: 34020011 ori r2,r0,0x0011
  00197f54: 1062001d beq r3,r2,0x00197fcc
  00197f58: 00001021 addu r2,r0,r0
  00197f5c: 08065ff9 j 0x00197fe4
  00197f60: 00000000 nop
  
  00197f64: 0c065ffd jal 0x00197ff4			Choose Target and Set a bunch of stuff
  00197f68: 00000000 nop
  00197f6c: 08065ff6 j 0x00197fd8
  00197f70: 2403ffff addiu r3,r0,0xffff
  
  00197f74: 0c06613b jal 0x001984ec			001984ec - 00198818
  00197f78: 00000000 nop
  00197f7c: 00401821 addu r3,r2,r0
  00197f80: 2402ffff addiu r2,r0,0xffff
  00197f84: 10620017 beq r3,r2,0x00197fe4
  00197f88: 00000000 nop
  00197f8c: 2402fffe addiu r2,r0,0xfffe
  00197f90: 1062000e beq r3,r2,0x00197fcc
  00197f94: 34020001 ori r2,r0,0x0001
  00197f98: 08065ff9 j 0x00197fe4
  00197f9c: 00000000 nop
  
  00197fa0: 0c06637c jal 0x00198df0			00198df0 - 00198e5c
  00197fa4: 00000000 nop
  00197fa8: 00401821 addu r3,r2,r0
  00197fac: 2402ffff addiu r2,r0,0xffff
  00197fb0: 1062000c beq r3,r2,0x00197fe4
  00197fb4: 00000000 nop
  00197fb8: 2402fffe addiu r2,r0,0xfffe
  00197fbc: 1062ffed beq r3,r2,0x00197f74
  00197fc0: 34020001 ori r2,r0,0x0001
  00197fc4: 08065ff9 j 0x00197fe4
  00197fc8: 00000000 nop
  
  00197fcc: 0c066398 jal 0x00198e60			00198e60 - 00199058
  00197fd0: 00000000 nop
  00197fd4: 2403ffff addiu r3,r0,0xffff
  00197fd8: 14430002 bne r2,r3,0x00197fe4
  00197fdc: 34020001 ori r2,r0,0x0001
  00197fe0: 2402ffff addiu r2,r0,0xffff
  00197fe4: 8fbf0010 lw r31,0x0010(r29)
  00197fe8: 27bd0018 addiu r29,r29,0x0018
  00197fec: 03e00008 jr r31
  00197ff0: 00000000 nop