Go to the source code of this file.
Macros | |
#define | CHECK_DEFENSE(element) |
Functions | |
s32 | get_npc_anim_for_status (AnimID *, s32) |
void | create_target_list (Actor *actor, b32 targetHomePos) |
void | set_actor_pal_adjustment (Actor *actor, s32 palAdjust) |
void | create_current_pos_target_list (Actor *actor) |
void | create_home_target_list (Actor *actor) |
s32 | func_80263064 (Actor *actor, Actor *targetActor, b32 unused) |
s32 | func_80263230 (Actor *actor, Actor *targetActor) |
s32 | func_8026324C (Actor *actor, Actor *targetActor) |
void | btl_check_can_change_partner (void) |
void | btl_init_menu_items (void) |
s32 | btl_are_all_enemies_defeated (void) |
s32 | btl_check_enemies_defeated (void) |
s32 | btl_check_player_defeated (void) |
void | btl_init_menu_boots (void) |
void | btl_init_menu_hammer (void) |
void | btl_init_menu_partner (void) |
s32 | count_power_plus (s32 damageType) |
void | deduct_current_move_fp (void) |
void | reset_actor_turn_info (void) |
void | set_actor_anim (s32 actorID, s32 partID, AnimID animID) |
void | set_actor_anim_by_ref (Actor *actor, ActorPart *part, AnimID anim) |
void | set_actor_anim_rate (s32 actorID, s32 partID, f32 rate) |
void | set_actor_yaw (s32 actorID, s32 yaw) |
void | set_part_yaw (s32 actorID, s32 partID, s32 value) |
void | set_part_flag_bits (s32 actorID, s32 partID, s32 flags) |
void | clear_part_flag_bits (s32 actorID, s32 partID, s32 flags) |
void | add_xz_vec3f (Vec3f *vector, f32 speed, f32 angleDeg) |
void | add_xz_vec3f_copy1 (Vec3f *vector, f32 speed, f32 angleDeg) |
void | add_xz_vec3f_copy2 (Vec3f *vector, f32 speed, f32 angleDeg) |
void | play_movement_dust_effects (s32 var0, f32 xPos, f32 yPos, f32 zPos, f32 angleDeg) |
ActorPart * | get_actor_part (Actor *actor, s32 partID) |
void | load_player_actor (void) |
void | load_partner_actor (void) |
Actor * | create_actor (Formation formation) |
s32 | get_player_anim_for_status (s32 statusKey) |
s32 | lookup_defense (s32 *defenseTable, s32 elementKey) |
s32 | lookup_status_chance (s32 *statusTable, s32 statusKey) |
s32 | lookup_status_duration_mod (s32 *statusTable, s32 statusKey) |
s32 | inflict_status (Actor *target, s32 statusTypeKey, s32 duration) |
s32 | inflict_partner_ko (Actor *target, s32 statusTypeKey, s32 duration) |
s32 | get_defense (Actor *actor, s32 *defenseTable, s32 elementFlags) |
void | show_primary_damage_popup (f32 posX, f32 posY, f32 posZ, s32 damageAmt, b32 angle) |
void | show_next_damage_popup (f32 posX, f32 posY, f32 posZ, s32 damageAmt, b32 angle) |
void | update_damage_popups (void) |
void | show_damage_fx (Actor *actor, f32 x, f32 y, f32 z, s32 damage) |
void | show_action_rating (s32 rating, Actor *actor, f32 x, f32 y, f32 z) |
void | func_80266970 (Actor *target) |
void | update_action_ratings (void) |
void | show_actor_health_bar (Actor *target) |
void | hide_actor_health_bar (Actor *target) |
void | update_health_bars (void) |
s32 | try_inflict_status (Actor *actor, s32 statusTypeKey, s32 statusKey) |
s32 | inflict_status_set_duration (Actor *actor, s32 statusTypeKey, s32 statusDurationKey, s32 duration) |
void | set_part_pal_adjustment (ActorPart *part, s32 palAdjust) |
void | clear_part_pal_adjustment (ActorPart *part) |
void | clear_actor_static_pal_adjustments (Actor *actor) |
void | set_part_glow_pal (ActorPart *part, s32 glowState) |
void | set_actor_glow_pal (Actor *actor, s32 glowState) |
void | clear_part_glow_pal (ActorPart *part) |
void | clear_actor_glow_pal (Actor *actor) |
void | set_part_flash_mode (ActorPart *part, s32 flashState) |
void | set_actor_flash_mode (Actor *actor, s32 flashState) |
void | clear_part_flash_mode (ActorPart *part) |
void | clear_actor_flash_mode (Actor *actor) |
void | add_part_decoration (ActorPart *part, s32 decorationIndex, s32 decorationType) |
void | add_actor_decoration (Actor *actor, s32 decorationIndex, s32 decorationType) |
void | remove_part_decoration (ActorPart *part, s32 decorationIndex) |
void | remove_actor_decoration (Actor *actor, s32 decorationIndex) |
s32 | player_team_is_ability_active (Actor *actor, s32 ability) |
void | create_part_shadow (s32 actorID, s32 partID) |
void | remove_part_shadow (s32 actorID, s32 partID) |
void | create_part_shadow_by_ref (UNK_TYPE arg0, ActorPart *part) |
void | remove_player_buffs (s32 buffs) |
void | btl_update_ko_status (void) |
void | btl_appendGfx_prim_quad (u8 r, u8 g, u8 b, u8 a, u16 left, u16 top, u16 right, u16 bottom) |
void | btl_draw_prim_quad (u8 r, u8 g, u8 b, u8 a, u16 left, u16 top, u16 arg6, u16 arg7) |
void | reset_all_actor_sounds (Actor *actor) |
void | hide_foreground_models_unchecked (void) |
void | show_foreground_models_unchecked (void) |
void | hide_foreground_models (void) |
void | show_foreground_models (void) |
void | start_rumble_type (u32 type) |
#define CHECK_DEFENSE | ( | element | ) |
s32 get_npc_anim_for_status | ( | AnimID * | animations, |
s32 | statusKey ) |
Definition at line 1944 of file 190B20.c.
Referenced by appendGfx_npc_actor(), create_actor(), load_partner_actor(), and load_player_actor().
Definition at line 56 of file 190B20.c.
Referenced by create_current_pos_target_list(), and create_home_target_list().
void set_actor_pal_adjustment | ( | Actor * | actor, |
s32 | palAdjust ) |
Definition at line 2607 of file 190B20.c.
Referenced by appendGfx_npc_actor(), appendGfx_player_actor(), and inflict_status().
void create_current_pos_target_list | ( | Actor * | actor | ) |
Definition at line 472 of file 190B20.c.
Referenced by btl_init_menu_boots(), btl_init_menu_hammer(), btl_init_menu_items(), btl_init_menu_partner(), btl_state_update_partner_striking_first(), btl_state_update_player_menu(), btl_state_update_select_target(), and count_targets().
void create_home_target_list | ( | Actor * | actor | ) |
Definition at line 480 of file 190B20.c.
Referenced by func_80263230(), and func_8026324C().
Definition at line 558 of file 190B20.c.
Referenced by btl_state_update_first_strike(), and dispatch_damage_event_actor().
void btl_check_can_change_partner | ( | void | ) |
Definition at line 566 of file 190B20.c.
Referenced by btl_state_update_partner_menu(), and btl_state_update_player_menu().
void btl_init_menu_items | ( | void | ) |
Definition at line 601 of file 190B20.c.
Referenced by btl_state_update_partner_menu(), and btl_state_update_player_menu().
s32 btl_are_all_enemies_defeated | ( | void | ) |
Definition at line 636 of file 190B20.c.
Referenced by btl_check_enemies_defeated(), and btl_state_update_partner_move().
s32 btl_check_enemies_defeated | ( | void | ) |
Definition at line 653 of file 190B20.c.
Referenced by btl_state_update_9(), btl_state_update_begin_partner_turn(), btl_state_update_begin_player_turn(), btl_state_update_begin_turn(), btl_state_update_end_partner_turn(), btl_state_update_end_player_turn(), btl_state_update_enemy_move(), btl_state_update_enemy_striking_first(), btl_state_update_first_strike(), and btl_state_update_partner_striking_first().
s32 btl_check_player_defeated | ( | void | ) |
Definition at line 661 of file 190B20.c.
Referenced by btl_state_update_9(), btl_state_update_begin_partner_turn(), btl_state_update_begin_player_turn(), btl_state_update_enemy_move(), btl_state_update_enemy_striking_first(), btl_state_update_first_strike(), btl_state_update_partner_move(), btl_state_update_partner_striking_first(), and btl_state_update_player_move().
void btl_init_menu_boots | ( | void | ) |
Definition at line 671 of file 190B20.c.
Referenced by btl_state_update_player_menu().
void btl_init_menu_hammer | ( | void | ) |
Definition at line 765 of file 190B20.c.
Referenced by btl_state_update_player_menu().
void btl_init_menu_partner | ( | void | ) |
Definition at line 857 of file 190B20.c.
Referenced by btl_state_update_partner_menu().
s32 count_power_plus | ( | s32 | damageType | ) |
Definition at line 939 of file 190B20.c.
Referenced by calc_player_damage_enemy().
void deduct_current_move_fp | ( | void | ) |
Definition at line 961 of file 190B20.c.
Referenced by btl_state_update_change_partner(), and btl_state_update_partner_move().
void reset_actor_turn_info | ( | void | ) |
Definition at line 978 of file 190B20.c.
Referenced by btl_state_update_9(), btl_state_update_begin_partner_turn(), btl_state_update_begin_player_turn(), btl_state_update_enemy_move(), btl_state_update_enemy_striking_first(), btl_state_update_first_strike(), btl_state_update_partner_move(), btl_state_update_partner_striking_first(), btl_state_update_player_move(), btl_state_update_switch_to_partner(), and btl_state_update_switch_to_player().
void set_actor_anim | ( | s32 | actorID, |
s32 | partID, | ||
AnimID | animID ) |
Definition at line 1005 of file 190B20.c.
Referenced by btl_set_player_idle_anims(), btl_state_update_celebration(), btl_state_update_partner_menu(), btl_state_update_peach_menu(), btl_state_update_player_menu(), and btl_state_update_twink_menu().
Definition at line 1047 of file 190B20.c.
void set_actor_anim_rate | ( | s32 | actorID, |
s32 | partID, | ||
f32 | rate ) |
Definition at line 1068 of file 190B20.c.
void set_actor_yaw | ( | s32 | actorID, |
s32 | yaw ) |
void set_part_yaw | ( | s32 | actorID, |
s32 | partID, | ||
s32 | value ) |
void set_part_flag_bits | ( | s32 | actorID, |
s32 | partID, | ||
s32 | flags ) |
Definition at line 1099 of file 190B20.c.
void clear_part_flag_bits | ( | s32 | actorID, |
s32 | partID, | ||
s32 | flags ) |
void add_xz_vec3f | ( | Vec3f * | vector, |
f32 | speed, | ||
f32 | angleDeg ) |
void add_xz_vec3f_copy1 | ( | Vec3f * | vector, |
f32 | speed, | ||
f32 | angleDeg ) |
void add_xz_vec3f_copy2 | ( | Vec3f * | vector, |
f32 | speed, | ||
f32 | angleDeg ) |
void play_movement_dust_effects | ( | s32 | var0, |
f32 | xPos, | ||
f32 | yPos, | ||
f32 | zPos, | ||
f32 | angleDeg ) |
Definition at line 1166 of file 190B20.c.
Definition at line 1191 of file 190B20.c.
Referenced by btl_state_draw_select_target(), btl_state_update_select_target(), 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(), clear_part_flag_bits(), create_part_shadow(), create_target_list(), get_cam_subject_properties(), remove_part_shadow(), set_actor_anim(), set_actor_anim_rate(), set_goal_pos_to_part(), set_part_absolute_position(), set_part_flag_bits(), set_part_goal_to_actor_part(), and set_part_yaw().
void load_player_actor | ( | void | ) |
Definition at line 1208 of file 190B20.c.
Referenced by btl_state_update_normal_start().
void load_partner_actor | ( | void | ) |
Definition at line 1422 of file 190B20.c.
Referenced by btl_state_update_change_partner(), and btl_state_update_normal_start().
Definition at line 1676 of file 190B20.c.
Referenced by btl_state_update_normal_start().
s32 get_player_anim_for_status | ( | s32 | statusKey | ) |
Definition at line 1965 of file 190B20.c.
Referenced by appendGfx_player_actor(), and btl_state_update_player_menu().
s32 lookup_defense | ( | s32 * | defenseTable, |
s32 | elementKey ) |
Definition at line 2027 of file 190B20.c.
Referenced by get_defense().
s32 lookup_status_chance | ( | s32 * | statusTable, |
s32 | statusKey ) |
Definition at line 2046 of file 190B20.c.
Referenced by inflict_status_set_duration(), and try_inflict_status().
s32 lookup_status_duration_mod | ( | s32 * | statusTable, |
s32 | statusKey ) |
Definition at line 2065 of file 190B20.c.
Referenced by try_inflict_status().
s32 inflict_status | ( | Actor * | target, |
s32 | statusTypeKey, | ||
s32 | duration ) |
Definition at line 2084 of file 190B20.c.
Referenced by calc_item_damage_enemy(), dispatch_damage_event_partner(), inflict_partner_ko(), inflict_status_set_duration(), and try_inflict_status().
s32 inflict_partner_ko | ( | Actor * | target, |
s32 | statusTypeKey, | ||
s32 | duration ) |
Definition at line 2203 of file 190B20.c.
Referenced by calc_enemy_damage_target().
s32 get_defense | ( | Actor * | actor, |
s32 * | defenseTable, | ||
s32 | elementFlags ) |
Definition at line 2219 of file 190B20.c.
Referenced by calc_enemy_damage_target(), calc_item_damage_enemy(), calc_partner_damage_enemy(), and calc_player_damage_enemy().
void show_primary_damage_popup | ( | f32 | posX, |
f32 | posY, | ||
f32 | posZ, | ||
s32 | damageAmt, | ||
b32 | angle ) |
Definition at line 2269 of file 190B20.c.
Referenced by calc_enemy_damage_target(), calc_item_damage_enemy(), calc_partner_damage_enemy(), and calc_player_damage_enemy().
void show_next_damage_popup | ( | f32 | posX, |
f32 | posY, | ||
f32 | posZ, | ||
s32 | damageAmt, | ||
b32 | angle ) |
Definition at line 2295 of file 190B20.c.
Referenced by calc_enemy_damage_target(), calc_item_damage_enemy(), calc_partner_damage_enemy(), calc_player_damage_enemy(), dispatch_damage_event_actor(), dispatch_damage_event_partner(), and dispatch_damage_event_player().
void update_damage_popups | ( | void | ) |
Definition at line 2320 of file 190B20.c.
Referenced by btl_update().
void show_damage_fx | ( | Actor * | actor, |
f32 | x, | ||
f32 | y, | ||
f32 | z, | ||
s32 | damage ) |
Definition at line 2334 of file 190B20.c.
Referenced by calc_enemy_damage_target(), calc_item_damage_enemy(), calc_partner_damage_enemy(), calc_player_damage_enemy(), dispatch_damage_event_actor(), dispatch_damage_event_partner(), and dispatch_damage_event_player().
void show_action_rating | ( | s32 | rating, |
Actor * | actor, | ||
f32 | x, | ||
f32 | y, | ||
f32 | z ) |
Definition at line 2360 of file 190B20.c.
Referenced by calc_enemy_damage_target(), calc_item_damage_enemy(), calc_partner_damage_enemy(), and calc_player_damage_enemy().
void func_80266970 | ( | Actor * | target | ) |
Definition at line 2439 of file 190B20.c.
Referenced by calc_enemy_damage_target(), calc_item_damage_enemy(), calc_partner_damage_enemy(), and calc_player_damage_enemy().
void update_action_ratings | ( | void | ) |
Definition at line 2443 of file 190B20.c.
Referenced by btl_update().
void show_actor_health_bar | ( | Actor * | target | ) |
Definition at line 2505 of file 190B20.c.
Referenced by calc_enemy_damage_target(), calc_item_damage_enemy(), calc_partner_damage_enemy(), and calc_player_damage_enemy().
void hide_actor_health_bar | ( | Actor * | target | ) |
Definition at line 2510 of file 190B20.c.
void update_health_bars | ( | void | ) |
Definition at line 2515 of file 190B20.c.
Referenced by btl_update().
s32 try_inflict_status | ( | Actor * | actor, |
s32 | statusTypeKey, | ||
s32 | statusKey ) |
Definition at line 2532 of file 190B20.c.
Referenced by calc_enemy_damage_target().
s32 inflict_status_set_duration | ( | Actor * | actor, |
s32 | statusTypeKey, | ||
s32 | statusDurationKey, | ||
s32 | duration ) |
Definition at line 2581 of file 190B20.c.
Referenced by btl_state_update_normal_start(), and try_inflict_status().
void set_part_pal_adjustment | ( | ActorPart * | part, |
s32 | palAdjust ) |
Definition at line 2595 of file 190B20.c.
Referenced by set_actor_pal_adjustment().
void clear_part_pal_adjustment | ( | ActorPart * | part | ) |
Definition at line 2618 of file 190B20.c.
Referenced by calc_enemy_damage_target(), calc_partner_damage_enemy(), and calc_player_damage_enemy().
void clear_actor_static_pal_adjustments | ( | Actor * | actor | ) |
Definition at line 2624 of file 190B20.c.
void set_part_glow_pal | ( | ActorPart * | part, |
s32 | glowState ) |
Definition at line 2642 of file 190B20.c.
Referenced by set_actor_glow_pal().
void set_actor_glow_pal | ( | Actor * | actor, |
s32 | glowState ) |
Definition at line 2654 of file 190B20.c.
Referenced by appendGfx_npc_actor(), appendGfx_player_actor(), and btl_delete_actor().
void clear_part_glow_pal | ( | ActorPart * | part | ) |
void clear_actor_glow_pal | ( | Actor * | actor | ) |
Definition at line 2671 of file 190B20.c.
void set_part_flash_mode | ( | ActorPart * | part, |
s32 | flashState ) |
Definition at line 2684 of file 190B20.c.
Referenced by set_actor_flash_mode().
void set_actor_flash_mode | ( | Actor * | actor, |
s32 | flashState ) |
Definition at line 2696 of file 190B20.c.
Referenced by calc_enemy_damage_target(), calc_item_damage_enemy(), calc_partner_damage_enemy(), calc_player_damage_enemy(), dispatch_damage_event_actor(), dispatch_damage_event_partner(), and dispatch_damage_event_player().
void clear_part_flash_mode | ( | ActorPart * | part | ) |
void clear_actor_flash_mode | ( | Actor * | actor | ) |
Definition at line 2714 of file 190B20.c.
void add_part_decoration | ( | ActorPart * | part, |
s32 | decorationIndex, | ||
s32 | decorationType ) |
Definition at line 2727 of file 190B20.c.
Referenced by add_actor_decoration().
void add_actor_decoration | ( | Actor * | actor, |
s32 | decorationIndex, | ||
s32 | decorationType ) |
Definition at line 2739 of file 190B20.c.
void remove_part_decoration | ( | ActorPart * | part, |
s32 | decorationIndex ) |
Definition at line 2750 of file 190B20.c.
Referenced by remove_actor_decoration().
void remove_actor_decoration | ( | Actor * | actor, |
s32 | decorationIndex ) |
Definition at line 2754 of file 190B20.c.
Referenced by btl_delete_actor(), and btl_delete_player_actor().
s32 player_team_is_ability_active | ( | Actor * | actor, |
s32 | ability ) |
Definition at line 2765 of file 190B20.c.
Referenced by appendGfx_player_actor(), btl_init_menu_boots(), btl_init_menu_hammer(), btl_init_menu_partner(), btl_state_update_change_partner(), btl_state_update_partner_menu(), btl_state_update_player_menu(), calc_enemy_damage_target(), calc_enemy_test_target(), calc_partner_test_enemy(), calc_player_damage_enemy(), calc_player_test_enemy(), and deduct_current_move_fp().
void create_part_shadow | ( | s32 | actorID, |
s32 | partID ) |
Definition at line 2785 of file 190B20.c.
void remove_part_shadow | ( | s32 | actorID, |
s32 | partID ) |
Definition at line 2800 of file 190B20.c.
void remove_player_buffs | ( | s32 | buffs | ) |
Definition at line 2806 of file 190B20.c.
void btl_update_ko_status | ( | void | ) |
Definition at line 2869 of file 190B20.c.
Referenced by btl_state_update_enemy_move(), btl_state_update_partner_move(), and btl_state_update_player_move().
void btl_appendGfx_prim_quad | ( | u8 | r, |
u8 | g, | ||
u8 | b, | ||
u8 | a, | ||
u16 | left, | ||
u16 | top, | ||
u16 | right, | ||
u16 | bottom ) |
Definition at line 2911 of file 190B20.c.
Referenced by btl_draw_prim_quad().
void btl_draw_prim_quad | ( | u8 | r, |
u8 | g, | ||
u8 | b, | ||
u8 | a, | ||
u16 | left, | ||
u16 | top, | ||
u16 | arg6, | ||
u16 | arg7 ) |
Definition at line 2931 of file 190B20.c.
Referenced by btl_draw_enemy_health_bars(), and btl_main_menu_draw().
void reset_all_actor_sounds | ( | Actor * | actor | ) |
Definition at line 2938 of file 190B20.c.
Referenced by btl_state_update_enemy_move(), btl_state_update_partner_move(), and btl_state_update_player_move().
void hide_foreground_models_unchecked | ( | void | ) |
Definition at line 2963 of file 190B20.c.
Referenced by tattle_cam_pre_render().
void show_foreground_models_unchecked | ( | void | ) |
Definition at line 2978 of file 190B20.c.
Referenced by tattle_cam_post_render().
void hide_foreground_models | ( | void | ) |
Definition at line 2993 of file 190B20.c.
void show_foreground_models | ( | void | ) |
Definition at line 3011 of file 190B20.c.
void start_rumble_type | ( | u32 | type | ) |
Definition at line 3098 of file 190B20.c.
f32 D_802938A4 = 0.0f |
Definition at line 9 of file 190B20.c.
Referenced by play_movement_dust_effects().
s16 D_802938A8 = 4 |
Definition at line 11 of file 190B20.c.
Referenced by play_movement_dust_effects().
EffectInstance* gDamageCountEffects[] |
Definition at line 13 of file 190B20.c.
Referenced by show_next_damage_popup(), show_primary_damage_popup(), and update_damage_popups().
s32 gDamageCountTimers[] |
Definition at line 22 of file 190B20.c.
Referenced by show_next_damage_popup(), show_primary_damage_popup(), and update_damage_popups().
Gfx D_80293970[] |
Definition at line 31 of file 190B20.c.
Referenced by btl_appendGfx_prim_quad().
s32 bCurRumbleScript = 0 |
Definition at line 44 of file 190B20.c.
Referenced by start_rumble_type().
|
extern |
Definition at line 128 of file actors.c.
Referenced by load_player_actor().
|
extern |
Definition at line 133 of file actors.c.
Referenced by load_player_actor().
|
extern |
Definition at line 158 of file actors.c.
Referenced by load_player_actor().
|
extern |
Definition at line 177 of file actors.c.
Referenced by load_player_actor().
|
extern |
Definition at line 26 of file partner_dma.c.
Referenced by load_partner_actor().
EvtScript EVS_BattleRumble_Long |
Definition at line 3030 of file 190B20.c.
Referenced by start_rumble_type().
EvtScript EVS_BattleRumble_HitMin |
EvtScript EVS_BattleRumble_HitLight |
EvtScript EVS_BattleRumble_HitHeavy |
EvtScript EVS_BattleRumble_HitExtreme |
EvtScript EVS_BattleRumble_HitMax |
EvtScript EVS_BattleRumble_PlayerMin |
EvtScript EVS_BattleRumble_PlayerLight |
EvtScript EVS_BattleRumble_PlayerHeavy |
EvtScript EVS_BattleRumble_PlayerExtreme |