Difference between revisions of "Remove Unit from Party"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
 
Line 12: Line 12:
 
== Return Locations ==
 
== Return Locations ==
  
  00059c0c: [[Add Unit to Party/Store Unit's Party Data]]
+
  '''ATTACK.OUT'''
  0013415c: 001340ac
+
801c36d8 - [[Load Scenario Conditionals]]
  001c4850: 001c4740
+
  001c48b4: ^^
+
'''BATTLE.BIN'''
  001c4e4c: 001c4c78
+
8013415c - [[Dismiss Unit Event Instruction]]
  001c6834: 001c60a0
+
 +
'''SCUS_942.21'''
 +
80059c0c - [[Add Unit to Party/Store Unit's Party Data]]
 +
   
 +
  '''REQUIRE.OUT'''
 +
  801c4850 - [[Post-battle (0x1c4740)]]
 +
  801c48b4 - [[Post-battle (0x1c4740)]]
 +
801c4e4c - [[001c4c78 - 001c4ec0]]
 +
801c6834 - [[Post-battle party full unit join selection]]
 +
 +
'''WORLD.BIN'''
 +
800e87d4 - [[000e8724 - 000e87f4]]
 +
801209a0 - [[Dismiss unit (by formation index) (with checks)]]
 +
801384f8 - [[00138268 - 001385a0]]
 +
  801387a8 - [[001386d0 - 00138830]]
 +
80138a14 - [[001388f4 - 00138a70]]

Latest revision as of 09:10, 22 February 2023

Remove Unit from Party
00059fe0: 00042200 sll r4,r4,0x08		ID * 256
00059fe4: 340200ff ori r2,r0,0x00ff		r2 = FF
00059fe8: 3c018005 lui r1,0x8005
00059fec: 00240821 addu r1,r1,r4
00059ff0: a0227f75 sb r2,0x7f75(r1)		Store Unit's Party ID = FF
00059ff4: 03e00008 jr r31
00059ff8: 00000000 nop


Return Locations

ATTACK.OUT
801c36d8 - Load Scenario Conditionals

BATTLE.BIN
8013415c - Dismiss Unit Event Instruction

SCUS_942.21
80059c0c - Add Unit to Party/Store Unit's Party Data

REQUIRE.OUT
801c4850 - Post-battle (0x1c4740)
801c48b4 - Post-battle (0x1c4740)
801c4e4c - 001c4c78 - 001c4ec0
801c6834 - Post-battle party full unit join selection

WORLD.BIN
800e87d4 - 000e8724 - 000e87f4
801209a0 - Dismiss unit (by formation index) (with checks)
801384f8 - 00138268 - 001385a0
801387a8 - 001386d0 - 00138830
80138a14 - 001388f4 - 00138a70