Difference between revisions of "Transfer Unit's X/Y/Map Level"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Return locations and navigation)
m (Formatting)
 
Line 16: Line 16:
 
==Return locations==
 
==Return locations==
 
  '''Battle.bin'''
 
  '''Battle.bin'''
  0006847c: 00068418 - 00068490 ([[X/Y Data Gathering for Attacks?]])
+
  0006847c: 00068418 - 00068490 [[X/Y Data Gathering for Attacks?]]
  0006871c: 000686b0 - 00068764 ([[AT List Check if Unit is Charging Ability]])
+
  0006871c: 000686b0 - 00068764 [[AT List Check if Unit is Charging Ability]]
  0006bcbc: 0006bbfc - 0006bce0 ([[Store Coordinate,Mount,Animation Data]])
+
  0006bcbc: 0006bbfc - 0006bce0 [[? 0x6bbfc]] | [[Store Coordinate,Mount,Animation Data]]
  0006e6e0: 0006e6b0 - 0006e7c4 ([[Free Cursor Selection Routine]])
+
  0006e6e0: 0006e6b0 - 0006e7c4 [[Free Cursor Selection Routine]]
  00070fe8: 00070e6c - 00071004 ([[In between turn events]])
+
  00070fe8: 00070e6c - 00071004 [[In between turn events]]
  0007178c: 0007171c - 000717c8 ([[Get next acting unit?]])
+
  0007178c: 0007171c - 000717c8 [[Get next acting unit?]]
 
  00071cbc: [[00071c8c - 00071ce8]]
 
  00071cbc: [[00071c8c - 00071ce8]]
 
  00071e38: [[00071de8 - 00071e64]]
 
  00071e38: [[00071de8 - 00071e64]]
  00071eb8: 00071e68 - 00071ee4 ([[Post Movement Display]])
+
  00071eb8: 00071e68 - 00071ee4 [[Post Movement Display]]
 
  00072b20: [[00072b14 - 00072b4c]]
 
  00072b20: [[00072b14 - 00072b4c]]
 
  000735e8: [[000734cc - 00073634]]
 
  000735e8: [[000734cc - 00073634]]
Line 32: Line 32:
 
  00075ab4: [[00075910 - 00075c30]]
 
  00075ab4: [[00075910 - 00075c30]]
 
  00077dd0: [[00077ca4 - 00077e18]]
 
  00077dd0: [[00077ca4 - 00077e18]]
  00077e00: (same as above)
+
  00077e00
 
  00078080: [[00078030 - 0007809c]]
 
  00078080: [[00078030 - 0007809c]]
 
  0008e218: [[0008e1f8 - 0008e230]]
 
  0008e218: [[0008e1f8 - 0008e230]]
  
==Navigation==
+
==< [[BATTLE.BIN Routines]]==
[[BATTLE.BIN Routines]]
 
  
< [[Store AT list ID = 0]] | [[X/Y Data Gathering for Attacks?]] >
+
<div style="float:left;">< [[Store AT list ID = 0]]</div><div style="float:right;">[[X/Y Data Gathering for Attacks?]] ></div>

Latest revision as of 12:21, 7 April 2023

Transfer Unit's X/Y/Map Level
000683e4: 1080000a beq r4,r0,0x00068410		Branch if Pointer doesn't exist
000683e8: 00000000 nop
000683ec: 9082007c lbu r2,0x007c(r4)		Load Unit's X Coordinate
000683f0: 3c018009 lui r1,0x8009
000683f4: ac2261b4 sw r2,0x61b4(r1)		Store Unit's X Coordinate
000683f8: 9082007d lbu r2,0x007d(r4)		Load Unit's Y Coordinate
000683fc: 3c018009 lui r1,0x8009
00068400: ac2261bc sw r2,0x61bc(r1)		Store Unit's Y Coordinate
00068404: 9082007e lbu r2,0x007e(r4)		Load Unit's Map Level
00068408: 3c018009 lui r1,0x8009
0006840c: ac2261b8 sw r2,0x61b8(r1)		Store Unit's Map Level
00068410: 03e00008 jr r31
00068414: 00000000 nop

Return locations

Battle.bin
0006847c: 00068418 - 00068490	X/Y Data Gathering for Attacks?
0006871c: 000686b0 - 00068764	AT List Check if Unit is Charging Ability
0006bcbc: 0006bbfc - 0006bce0	? 0x6bbfc | Store Coordinate,Mount,Animation Data
0006e6e0: 0006e6b0 - 0006e7c4	Free Cursor Selection Routine
00070fe8: 00070e6c - 00071004	In between turn events
0007178c: 0007171c - 000717c8	Get next acting unit?
00071cbc: 00071c8c - 00071ce8
00071e38: 00071de8 - 00071e64
00071eb8: 00071e68 - 00071ee4	Post Movement Display
00072b20: 00072b14 - 00072b4c
000735e8: 000734cc - 00073634
000736a0: 00073638 - 000736d0
00074a78: 00074a3c - 00074abc
00074cf0: 00074bf8 - 00074dcc
00075ab4: 00075910 - 00075c30
00077dd0: 00077ca4 - 00077e18
00077e00
00078080: 00078030 - 0007809c
0008e218: 0008e1f8 - 0008e230

< BATTLE.BIN Routines

< Store AT list ID = 0
X/Y Data Gathering for Attacks? >