Difference between revisions of "Enable/disable acting status"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
m
m
 
Line 1: Line 1:
 
  '''BATTLE.BIN''' :  - Enable/disable_acting_status
 
  '''BATTLE.BIN''' :  - Enable/disable_acting_status
 
  ------------------------------------------------------------------------------------------
 
  ------------------------------------------------------------------------------------------
  Parameter : r4 = Pointer to unit battle data (801908cc)
+
  Parameter : r4 = Acting unit's data pointer
  Return : r2 = 0x01 if unit ID = 0xff (do not exist)
+
  Return : Nothing
 
  ------------------------------------------------------------------------------------------
 
  ------------------------------------------------------------------------------------------
  00183de0: 27bdffe8 addiu r29,r29,-0x0018     |
+
  00183de0: 27bdffe8 addiu r29,r29,-0x0018
  00183de4: afbf0010 sw r31,0x0010(r29)       |
+
  00183de4: afbf0010 sw r31,0x0010(r29)
 
  00183de8: 0c0179ea jal 0x0005e7a8            |{{f/jal|Status_infliction/removal%3F|Status_infliction/removal%3F}}
 
  00183de8: 0c0179ea jal 0x0005e7a8            |{{f/jal|Status_infliction/removal%3F|Status_infliction/removal%3F}}
 
  00183dec: 00002821 addu r5,r0,r0            |{{f/std|Remove everything}}
 
  00183dec: 00002821 addu r5,r0,r0            |{{f/std|Remove everything}}
  00183df0: 8fbf0010 lw r31,0x0010(r29)       |
+
  00183df0: 8fbf0010 lw r31,0x0010(r29)
  00183df4: 27bd0018 addiu r29,r29,0x0018     |
+
  00183df4: 27bd0018 addiu r29,r29,0x0018
 
  00183df8: 03e00008 jr r31
 
  00183df8: 03e00008 jr r31
 
  00183dfc: 00000000 nop
 
  00183dfc: 00000000 nop

Latest revision as of 06:06, 28 April 2024

BATTLE.BIN :  - Enable/disable_acting_status
------------------------------------------------------------------------------------------
Parameter : r4 = Acting unit's data pointer
Return : Nothing
------------------------------------------------------------------------------------------
00183de0: 27bdffe8 addiu r29,r29,-0x0018
00183de4: afbf0010 sw r31,0x0010(r29)
00183de8: 0c0179ea jal 0x0005e7a8            |-->Status_infliction/removal%3F
00183dec: 00002821 addu r5,r0,r0             |Remove everything
00183df0: 8fbf0010 lw r31,0x0010(r29)
00183df4: 27bd0018 addiu r29,r29,0x0018
00183df8: 03e00008 jr r31
00183dfc: 00000000 nop

Return locations

BATTLE.BIN
 00075194: Decide_what_to_do_based_on_skillset/ability_selections?
 00075500: Set_move/act_based_on_skillset
 0017c440: Call_Attack_Preparation_(AT_list_preview)