Difference between revisions of "Increment AT List ID"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Return locations and navigation)
m (Formatting)
 
Line 18: Line 18:
 
  '''Battle.bin'''
 
  '''Battle.bin'''
 
  00068738: [[AT List Check if Unit is Charging Ability]]
 
  00068738: [[AT List Check if Unit is Charging Ability]]
  00068748: Same routine as above
+
  00068748
  
==Navigation==
+
==< [[BATTLE.BIN Routines]]==
[[BATTLE.BIN Routines]]
+
<div style="float:left;">< [[Highlight units based on Team 2]]</div><div style="float:right;">[[AT List Check if Unit is Charging Ability]] ></div>
 
 
< [[Highlight units based on Team 2]] | [[AT List Check if Unit is Charging Ability]] >
 

Latest revision as of 12:43, 7 April 2023

Increment AT List ID

0006867c: 3c028009 lui r2,0x8009
00068680: 8c426100 lw r2,0x6100(r2)		Load AT List ID
00068684: 00000000 nop
00068688: 24420001 addiu r2,r2,0x0001		ID += 1
0006868c: 3c018009 lui r1,0x8009
00068690: ac226100 sw r2,0x6100(r1)		Store new AT List ID
00068694: 28420028 slti r2,r2,0x0028
00068698: 14400003 bne r2,r0,0x 000686a8		Branch if ID < 40
0006869c: 00000000 nop
000686a0: 3c018009 lui r1,0x8009
000686a4: ac206100 sw r0,0x6100(r1)		Store ID = 0
000686a8: 03e00008 jr r31
000686ac: 00000000 nop

Return locations

Battle.bin
00068738: AT List Check if Unit is Charging Ability
00068748

< BATTLE.BIN Routines

< Highlight units based on Team 2
AT List Check if Unit is Charging Ability >