Difference between revisions of "Sort target list"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with "<font face='Courier New'> 0018ed7c: 00001821 addu r3,r0,r0 0018ed80: 308400ff andi r4,r4,0x00ff 0018ed84: 3c068019 lui r6,0x8019 0018ed88: 24c63877 addiu r6,r6,0x3877 0...")
 
Line 32: Line 32:
 
  0018edf0: 03e00008 jr r31
 
  0018edf0: 03e00008 jr r31
 
  0018edf4: 00000000 nop
 
  0018edf4: 00000000 nop
 +
'''Return Locations
 +
0018ba44: [[Set some data for current attack]]
 
</font>
 
</font>

Revision as of 15:45, 22 September 2016

0018ed7c: 00001821 addu r3,r0,r0
0018ed80: 308400ff andi r4,r4,0x00ff
0018ed84: 3c068019 lui r6,0x8019
0018ed88: 24c63877 addiu r6,r6,0x3877
0018ed8c: 340500ff ori r5,r0,0x00ff
0018ed90: 3c018019 lui r1,0x8019
0018ed94: 00230821 addu r1,r1,r3
0018ed98: 90223868 lbu r2,0x3868(r1)
0018ed9c: 00000000 nop
0018eda0: 1444000f bne r2,r4,0x0018ede0			branch if target not hit by ability
0018eda4: 2862000f slti r2,r3,0x000f			set if counter in bounds
0018eda8: 1040000b beq r2,r0,0x0018edd8			branch if not
0018edac: 00000000 nop
0018edb0: 3c018019 lui r1,0x8019
0018edb4: 00230821 addu r1,r1,r3
0018edb8: 90223869 lbu r2,0x3869(r1)
0018edbc: 3c018019 lui r1,0x8019
0018edc0: 00230821 addu r1,r1,r3
0018edc4: a0223868 sb r2,0x3868(r1)				sort target list
0018edc8: 24630001 addiu r3,r3,0x0001
0018edcc: 2862000f slti r2,r3,0x000f
0018edd0: 1440fff7 bne r2,r0,0x0018edb0
0018edd4: 00000000 nop
0018edd8: 08063b7c j 0x0018edf0					jump to end
0018eddc: a0c50000 sb r5,0x0000(r6)				store 0xff
0018ede0: 24630001 addiu r3,r3,0x0001
0018ede4: 28620010 slti r2,r3,0x0010
0018ede8: 1440ffe9 bne r2,r0,0x0018ed90
0018edec: 00000000 nop
0018edf0: 03e00008 jr r31
0018edf4: 00000000 nop

Return Locations

0018ba44: Set some data for current attack