Difference between revisions of "Highlight units based on Team 2"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with "<font face='Courier New'> 00068634: 27bdffe8 addiu r29,r29,0xffe8 00068638: afb00010 sw r16,0x0010(r29) 0006863c: 00008021 addu r16,r0,r0 00068640: afbf0014 sw r31,0x001...")
 
m (Formatting)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<font face='Courier New'>
 
 
 
  00068634: 27bdffe8 addiu r29,r29,0xffe8
 
  00068634: 27bdffe8 addiu r29,r29,0xffe8
 
  00068638: afb00010 sw r16,0x0010(r29)
 
  00068638: afb00010 sw r16,0x0010(r29)
Line 18: Line 16:
 
  00068670: 27bd0018 addiu r29,r29,0x0018
 
  00068670: 27bd0018 addiu r29,r29,0x0018
 
  00068674: 03e00008 jr r31
 
  00068674: 03e00008 jr r31
  `00068678: 00000000 nop
+
  00068678: 00000000 nop
</font>
+
 
 +
==Return locations==
 +
'''Battle.bin'''
 +
00071380: 0007134c - 0007139c [[Highlight units based on team]]
 +
0007441c: 00074308 - 0007446c [[Select Target Tile]]
 +
 
 +
==< [[BATTLE.BIN Routines]]==
 +
<div style="float:left;">< [[Palette modification based on team]]</div><div style="float:right;">[[Increment AT List ID]] ></div>

Latest revision as of 12:42, 7 April 2023

00068634: 27bdffe8 addiu r29,r29,0xffe8
00068638: afb00010 sw r16,0x0010(r29)
0006863c: 00008021 addu r16,r0,r0
00068640: afbf0014 sw r31,0x0014(r29)
00068644: 0c01e9b9 jal 0x0007a6e4			find current unit Misc ID
00068648: 3204ffff andi r4,r16,0xffff
0006864c: 00402021 addu r4,r2,r0
00068650: 0c01a14d jal 0x00068534			palette modification based on team
00068654: 34050004 ori r5,r0,0x0004
00068658: 26100001 addiu r16,r16,0x0001
0006865c: 2a020010 slti r2,r16,0x0010
00068660: 1440fff8 bne r2,r0,0x00068644		do for all units
00068664: 00000000 nop
00068668: 8fbf0014 lw r31,0x0014(r29)
0006866c: 8fb00010 lw r16,0x0010(r29)
00068670: 27bd0018 addiu r29,r29,0x0018
00068674: 03e00008 jr r31
00068678: 00000000 nop

Return locations

Battle.bin
00071380: 0007134c - 0007139c	Highlight units based on team
0007441c: 00074308 - 0007446c	Select Target Tile

< BATTLE.BIN Routines

< Palette modification based on team
Increment AT List ID >