Go to the source code of this file.
Macros | |
#define | BTL_AREA(id, jpName) |
#define | BTL_AREA_DMA(id, jpName) |
#define | BTL_AREA_AUX(id, jpName) |
Functions | |
void | reset_battle_status (void) |
void | load_battle_section (void) |
void | load_battle (s32 battleID) |
void | set_battle_stage (s32 stageID) |
void | set_battle_formation (Battle *battle) |
void | setup_demo_player (void) |
void | load_demo_battle (u32 index) |
Variables | |
BSS StageListRow * | gCurrentStagePtr |
BSS s32 | gBattleState |
BSS BattleStatus | gBattleStatus |
BSS s32 | gLastDrawBattleState |
BSS s32 | gDefeatedBattleSubstate |
BSS s32 | gBattleSubState |
BSS s32 | gDefeatedBattleState |
BSS s32 | gCurrentBattleID |
BSS s32 | gCurrentStageID |
BSS Battle * | gOverrideBattlePtr |
BSS Battle * | gCurrentBattlePtr |
BattleArea | gBattleAreas [] |
#define BTL_AREA | ( | id, | |
jpName ) |
Definition at line 22 of file battle.c.
#define BTL_AREA_DMA | ( | id, | |
jpName ) |
Definition at line 32 of file battle.c.
#define BTL_AREA_AUX | ( | id, | |
jpName ) |
Definition at line 43 of file battle.c.
void reset_battle_status | ( | void | ) |
Definition at line 99 of file battle.c.
Referenced by load_demo_battle(), load_map_by_IDs(), state_step_demo(), state_step_intro(), and state_step_startup().
void load_battle_section | ( | void | ) |
Definition at line 111 of file battle.c.
Referenced by state_step_battle().
void load_battle | ( | s32 | battleID | ) |
Definition at line 129 of file battle.c.
Referenced by load_demo_battle(), and update_encounters_pre_battle().
void set_battle_stage | ( | s32 | stageID | ) |
Definition at line 137 of file battle.c.
Referenced by load_demo_battle(), and update_encounters_pre_battle().
void set_battle_formation | ( | Battle * | battle | ) |
Definition at line 141 of file battle.c.
Referenced by update_encounters_pre_battle().
void setup_demo_player | ( | void | ) |
Definition at line 145 of file battle.c.
Referenced by load_demo_battle().
void load_demo_battle | ( | u32 | index | ) |
Definition at line 190 of file battle.c.
Referenced by state_step_demo().
BSS StageListRow* gCurrentStagePtr |
Definition at line 9 of file battle.c.
Referenced by btl_state_update_end_battle(), btl_state_update_end_demo_battle(), btl_state_update_normal_start(), load_battle_section(), and reset_battle_status().
BSS s32 gBattleState |
Definition at line 10 of file battle.c.
Referenced by btl_check_player_defeated(), btl_draw_ui(), btl_render_actors(), btl_set_state(), btl_state_update_end_battle(), btl_state_update_end_demo_battle(), btl_update(), load_battle(), and reset_battle_status().
BSS BattleStatus gBattleStatus |
Definition at line 11 of file battle.c.
Referenced by action_command_free(), action_command_init_status(), action_command_update(), adjust_action_command_difficulty(), appendGfx_npc_actor(), appendGfx_partner_actor_reflection(), appendGfx_player_actor(), appendGfx_player_actor_reflection(), btl_are_all_enemies_defeated(), btl_cam_move(), btl_cam_use_preset_impl(), btl_check_can_change_partner(), btl_delete_actor(), btl_draw_enemy_health_bars(), btl_draw_upgrade_windows(), btl_init_menu_boots(), btl_init_menu_hammer(), btl_init_menu_items(), btl_init_menu_partner(), btl_main_menu_draw(), btl_main_menu_update(), btl_menu_show_switch_to_peach(), btl_menu_show_switch_to_twink(), btl_merlee_on_first_strike(), btl_merlee_on_start_turn(), btl_render_actors(), btl_restore_world_cameras(), btl_set_player_idle_anims(), btl_set_state(), btl_state_draw_celebration(), btl_state_draw_end_battle(), btl_state_draw_select_target(), btl_state_update_9(), btl_state_update_begin_partner_turn(), btl_state_update_begin_player_turn(), btl_state_update_begin_turn(), btl_state_update_celebration(), btl_state_update_change_partner(), btl_state_update_defeat(), btl_state_update_defend(), btl_state_update_end_battle(), btl_state_update_end_demo_battle(), btl_state_update_end_partner_turn(), btl_state_update_end_player_turn(), btl_state_update_end_training_battle(), btl_state_update_end_turn(), btl_state_update_enemy_move(), btl_state_update_enemy_striking_first(), btl_state_update_first_strike(), btl_state_update_next_enemy(), btl_state_update_normal_start(), btl_state_update_partner_menu(), btl_state_update_partner_move(), btl_state_update_partner_striking_first(), btl_state_update_peach_menu(), btl_state_update_player_menu(), btl_state_update_player_move(), btl_state_update_prepare_menu(), btl_state_update_run_away(), btl_state_update_select_target(), btl_state_update_switch_to_partner(), btl_state_update_switch_to_player(), btl_state_update_twink_menu(), btl_state_update_victory(), btl_submenu_moves_update(), btl_update(), btl_update_ko_status(), btl_update_message_popup(), btl_update_starpoints_display(), btl_update_strats_menu(), calc_enemy_damage_target(), calc_enemy_test_target(), calc_item_check_hit(), calc_item_damage_enemy(), calc_partner_damage_enemy(), calc_partner_test_enemy(), calc_player_damage_enemy(), calc_player_test_enemy(), can_switch_to_partner(), can_switch_to_player(), check_block_input(), count_power_plus(), count_targets(), create_actor(), create_target_list(), deduct_current_move_fp(), disable_partner_blur(), disable_player_blur(), dispatch_damage_event_actor(), dispatch_damage_event_partner(), dispatch_damage_event_player(), dispatch_damage_tick_event_player(), dispatch_event_partner(), dispatch_event_partner_continue_turn(), dispatch_event_player(), dispatch_event_player_continue_turn(), draw(), draw_content_level_up_textbox(), enable_partner_blur(), enable_player_blur(), force_disable_partner_blur(), force_disable_player_blur(), force_disable_player_blur_immediately(), get_actor(), get_cam_subject_properties(), get_flash_damage_intensity(), get_player_anim_for_status(), get_stick_input_radial(), hide_foreground_models(), hide_foreground_models_unchecked(), inflict_status(), initialize_battle(), is_actor_health_bar_visible(), is_actortype_health_bar_visible(), load_partner_actor(), load_player_actor(), load_tattle_flags(), player_team_is_ability_active(), remove_player_buffs(), render_with_player_debuff_palettes(), reset_actor_turn_info(), reset_partner_blur(), reset_player_blur(), save_tattle_flags(), show_action_rating(), show_damage_fx(), show_foreground_models(), show_foreground_models_unchecked(), show_immune_bonk(), try_inflict_status(), update(), update_action_ratings(), update_camera_no_interp(), update_enemy_shadows(), update_health_bars(), update_hero_shadows(), update_nonplayer_actor_shadows(), and update_player_actor_shadow().
BSS s32 gLastDrawBattleState |
Definition at line 12 of file battle.c.
Referenced by btl_draw_ui(), btl_state_update_end_battle(), btl_state_update_end_demo_battle(), load_battle(), load_battle_section(), and reset_battle_status().
BSS s32 gDefeatedBattleSubstate |
Definition at line 13 of file battle.c.
Referenced by btl_check_player_defeated().
BSS s32 gBattleSubState |
Definition at line 14 of file battle.c.
Referenced by btl_check_player_defeated(), btl_set_state(), btl_state_draw_celebration(), btl_state_draw_partner_menu(), btl_state_draw_peach_menu(), btl_state_draw_player_menu(), btl_state_draw_twink_menu(), btl_state_update_9(), btl_state_update_begin_partner_turn(), btl_state_update_begin_player_turn(), btl_state_update_begin_turn(), btl_state_update_celebration(), btl_state_update_change_partner(), btl_state_update_defeat(), btl_state_update_defend(), btl_state_update_end_battle(), btl_state_update_end_demo_battle(), btl_state_update_end_partner_turn(), btl_state_update_end_player_turn(), btl_state_update_end_training_battle(), btl_state_update_end_turn(), btl_state_update_enemy_move(), btl_state_update_enemy_striking_first(), btl_state_update_first_strike(), btl_state_update_next_enemy(), btl_state_update_normal_start(), btl_state_update_partner_menu(), btl_state_update_partner_move(), btl_state_update_partner_striking_first(), btl_state_update_peach_menu(), btl_state_update_player_menu(), btl_state_update_player_move(), btl_state_update_prepare_menu(), btl_state_update_run_away(), btl_state_update_select_target(), btl_state_update_switch_to_partner(), btl_state_update_switch_to_player(), btl_state_update_twink_menu(), btl_state_update_victory(), draw_content_level_up_textbox(), load_battle(), and reset_battle_status().
BSS s32 gDefeatedBattleState |
Definition at line 15 of file battle.c.
Referenced by btl_check_player_defeated().
BSS s32 gCurrentBattleID |
Definition at line 16 of file battle.c.
Referenced by btl_state_update_normal_start(), load_battle(), load_battle_section(), reset_battle_status(), and state_step_battle().
BSS s32 gCurrentStageID |
Definition at line 17 of file battle.c.
Referenced by btl_state_update_normal_start(), load_battle_section(), reset_battle_status(), and set_battle_stage().
Definition at line 18 of file battle.c.
Referenced by btl_state_update_normal_start(), reset_battle_status(), and set_battle_formation().
Definition at line 19 of file battle.c.
Referenced by btl_state_update_end_battle(), btl_state_update_end_demo_battle(), btl_state_update_normal_start(), load_battle_section(), and reset_battle_status().
BattleArea gBattleAreas[] |