papermario/ver/us/asm/nonmatchings/16F740
eldexterr cb1bc0c312
BattleStatus (0x436) added (from common_structs.h) (#427)
* Update common_structs.h

This ones are actually flags used by Power Rush and Mega Rush, I dunno if they're used for something else tho.

But if you enter in Danger State (2-5HP) and you have equipped Power Rush dangerFlags will be 0x02 not 0x01.

* BattleStatus(0x172-0x177)

Added missing notes from BattleStatus(0x172) & (0x174)

* Update common_structs.h

0x174 declaration is fixed, and now uses currentTurnEnemy instead of currentTurnActor

* BattleStatus  (0x436) added (common_structs.h)

This is defined every time an actor is created with ~Func:create_actor (802653A4, 193C84), at ~Func:create_actor(0x908)

It retrieves the ID two lines before by using function 80047608 and will get the next available index.

* hudElementDataIndex fixed, and I renamed some status functions

HudElementDataIndex now uses the proper name and it has the name change on all files.

Also I changed the names for the following functions to:

remove_status_1 > remove_status_debuff
remove_status_2 > remove_status_static
remove_status_3 > remove_status_transparent

remove_status_4 seems to still be a mystery, maybe is for a unused status?
2021-09-25 08:15:45 +09:00
..
btl_merlee_on_first_strike.s Mass function rename from Star Rod + a couple funcs (#298) 2021-06-30 11:27:12 +09:00
btl_merlee_on_start_turn.s Mass function rename from Star Rod + a couple funcs (#298) 2021-06-30 11:27:12 +09:00
btl_state_draw_end_battle.s Mass function rename from Star Rod + a couple funcs (#298) 2021-06-30 11:27:12 +09:00
btl_state_update_begin_partner_turn.s Miscellaneoush Decomp 323 (#323) 2021-07-19 20:49:30 +09:00
btl_state_update_begin_player_turn.s BattleStatus (0x436) added (from common_structs.h) (#427) 2021-09-25 08:15:45 +09:00
btl_state_update_begin_turn.s Miscellaneoush Decomp 323 (#323) 2021-07-19 20:49:30 +09:00
btl_state_update_change_partner.s Miscellaneoush Decomp 323 (#323) 2021-07-19 20:49:30 +09:00
btl_state_update_defeat.s BattleStatus (0x436) added (from common_structs.h) (#427) 2021-09-25 08:15:45 +09:00
btl_state_update_end_battle.s Miscellaneoush Decomp 323 (#323) 2021-07-19 20:49:30 +09:00
btl_state_update_end_demo_battle.s Miscellaneoush Decomp 323 (#323) 2021-07-19 20:49:30 +09:00
btl_state_update_end_player_turn.s Miscellaneoush Decomp 323 (#323) 2021-07-19 20:49:30 +09:00
btl_state_update_end_training_battle.s Miscellaneoush Decomp 323 (#323) 2021-07-19 20:49:30 +09:00
btl_state_update_end_turn.s Miscellaneoush Decomp 323 (#323) 2021-07-19 20:49:30 +09:00
btl_state_update_enemy_move.s Miscellaneoush Decomp 323 (#323) 2021-07-19 20:49:30 +09:00
btl_state_update_enemy_striking_first.s Miscellaneoush Decomp 323 (#323) 2021-07-19 20:49:30 +09:00
btl_state_update_first_strike.s Miscellaneoush Decomp 323 (#323) 2021-07-19 20:49:30 +09:00
btl_state_update_next_enemy.s Miscellaneoush Decomp 323 (#323) 2021-07-19 20:49:30 +09:00
btl_state_update_normal_start.s Miscellaneoush Decomp 323 (#323) 2021-07-19 20:49:30 +09:00
btl_state_update_partner_move.s Miscellaneoush Decomp 323 (#323) 2021-07-19 20:49:30 +09:00
btl_state_update_partner_striking_first.s Miscellaneoush Decomp 323 (#323) 2021-07-19 20:49:30 +09:00
btl_state_update_player_move.s Miscellaneoush Decomp 323 (#323) 2021-07-19 20:49:30 +09:00
btl_state_update_run_away.s Miscellaneoush Decomp 323 (#323) 2021-07-19 20:49:30 +09:00
btl_state_update_victory.s Miscellaneoush Decomp 323 (#323) 2021-07-19 20:49:30 +09:00
func_80242FE0.s BattleStatus (0x436) added (from common_structs.h) (#427) 2021-09-25 08:15:45 +09:00