Enable/disable acting status

From Final Fantasy Hacktics Wiki
Revision as of 06:04, 28 April 2024 by Orkney (talk | contribs)
Jump to navigation Jump to search
BATTLE.BIN :  - Enable/disable_acting_status
------------------------------------------------------------------------------------------
Parameter : r4 = Pointer to unit battle data (801908cc)
Return : r2 = 0x01 if unit ID = 0xff (do not exist)
------------------------------------------------------------------------------------------
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)