Go to the source code of this file.
Data Structures | |
struct | UseItemStruct |
struct UseItemStruct |
Data Fields | ||
---|---|---|
u8 * | dmaStart | |
u8 * | dmaEnd | |
EvtScript * | main | |
s32 | unk_0C |
s32 partner_is_idle | ( | Npc * | partner | ) |
Definition at line 529 of file partners.c.
s32 world_partner_can_open_menus_default | ( | Npc * | partner | ) |
Definition at line 533 of file partners.c.
void _use_partner_ability | ( | void | ) |
Definition at line 625 of file partners.c.
Referenced by partner_reset_data(), and partner_use_ability().
void partner_flying_follow_player | ( | Npc * | partner | ) |
Definition at line 1859 of file partners.c.
Referenced by partner_flying_update_motion().
void partner_move_to_goal | ( | Npc * | partner, |
s32 | isFlying ) |
Definition at line 2522 of file partners.c.
Referenced by partner_flying_follow_player(), and partner_walking_follow_player().
s32 use_consumable | ( | s32 | invSlot | ) |
Definition at line 479 of file partners.c.
Referenced by check_input_open_menus().
void remove_consumable | ( | void | ) |
Definition at line 490 of file partners.c.
s32 func_800EA4B0 | ( | s32 | collisionID | ) |
Definition at line 497 of file partners.c.
Referenced by partner_walking_follow_player().
s32 func_800EA52C | ( | s32 | partnerID | ) |
Definition at line 537 of file partners.c.
s32 partner_is_flying | ( | void | ) |
Definition at line 572 of file partners.c.
void func_800EA5B8 | ( | Npc * | partner | ) |
Definition at line 576 of file partners.c.
Referenced by partner_flying_enable(), and partner_walking_enable().
void create_partner_npc | ( | void | ) |
Definition at line 581 of file partners.c.
Referenced by _use_partner_ability(), and partner_reset_data().
void partner_free_npc | ( | void | ) |
void switch_to_partner | ( | s32 | partnerID | ) |
Definition at line 906 of file partners.c.
Referenced by check_input_open_menus().
void partner_init_after_battle | ( | s32 | partnerID | ) |
Definition at line 926 of file partners.c.
Referenced by state_step_end_battle().
void func_800EB2A4 | ( | s32 | partnerID | ) |
Definition at line 949 of file partners.c.
s32 partner_use_ability | ( | void | ) |
Definition at line 964 of file partners.c.
Referenced by check_input_use_partner(), post_battle(), post_battle(), post_battle(), post_battle(), and post_battle().
s32 partner_can_open_world_menus | ( | void | ) |
Definition at line 983 of file partners.c.
Referenced by can_open_world_menu(), and should_cancel_open_world_menu().
s32 partner_can_use_ability | ( | void | ) |
Definition at line 993 of file partners.c.
void partner_reset_data | ( | void | ) |
Definition at line 1000 of file partners.c.
Referenced by load_map_by_IDs().
void partner_initialize_data | ( | void | ) |
Definition at line 1032 of file partners.c.
Referenced by state_step_startup().
s32 partner_test_enemy_collision | ( | Npc * | enemy | ) |
Definition at line 1051 of file partners.c.
Referenced by update_encounters_neutral().
EvtScript * partner_get_enter_map_script | ( | void | ) |
Definition at line 1058 of file partners.c.
void partner_handle_before_battle | ( | void | ) |
Definition at line 1067 of file partners.c.
Referenced by update_encounters_pre_battle().
void partner_handle_after_battle | ( | void | ) |
Definition at line 1081 of file partners.c.
Referenced by update_encounters_post_battle().
void partner_kill_ability_script | ( | void | ) |
Definition at line 1109 of file partners.c.
void partner_suspend_ability_script | ( | void | ) |
Definition at line 1117 of file partners.c.
void partner_resume_ability_script | ( | void | ) |
Definition at line 1125 of file partners.c.
void partner_walking_enable | ( | Npc * | partner, |
s32 | val ) |
Definition at line 1133 of file partners.c.
Referenced by enable_partner_ai().
void partner_walking_update_player_tracking | ( | Npc * | partner | ) |
Definition at line 1175 of file partners.c.
void partner_walking_update_motion | ( | Npc * | partner | ) |
Definition at line 1202 of file partners.c.
void partner_walking_follow_player | ( | Npc * | partner | ) |
Definition at line 1231 of file partners.c.
Referenced by partner_walking_update_motion().
void partner_flying_enable | ( | Npc * | partner, |
s32 | val ) |
Definition at line 1706 of file partners.c.
Referenced by enable_partner_ai().
void partner_flying_update_player_tracking | ( | Npc * | partner | ) |
Definition at line 1751 of file partners.c.
void partner_flying_update_motion | ( | Npc * | partner | ) |
Definition at line 1777 of file partners.c.
s32 partner_init_put_away | ( | Npc * | partner | ) |
Definition at line 2178 of file partners.c.
s32 partner_put_away | ( | Npc * | partner | ) |
Definition at line 2185 of file partners.c.
s32 partner_init_get_out | ( | Npc * | npc | ) |
Definition at line 2252 of file partners.c.
s32 partner_get_out | ( | Npc * | partner | ) |
Definition at line 2259 of file partners.c.
void func_800EF300 | ( | void | ) |
Definition at line 2382 of file partners.c.
Referenced by action_update_use_spinning_flower(), entity_CymbalPlant_idle(), and func_802BC050_E2E980().
void func_800EF314 | ( | void | ) |
Definition at line 2386 of file partners.c.
void enable_partner_ai | ( | void | ) |
Definition at line 2390 of file partners.c.
Referenced by action_update_use_spinning_flower(), entity_CymbalPlant_idle(), and func_802BC32C_E2EC5C().
void partner_set_tether_distance | ( | f32 | dist | ) |
Definition at line 2401 of file partners.c.
void partner_reset_tether_distance | ( | void | ) |
Definition at line 2405 of file partners.c.
Referenced by check_for_interactables(), and interact_inspect_dismiss().
void partner_set_goal_pos | ( | s32 | x, |
s32 | z ) |
Definition at line 2409 of file partners.c.
Referenced by func_800EF414().
void func_800EF3D4 | ( | s32 | arg0 | ) |
Definition at line 2414 of file partners.c.
Referenced by check_for_interactables(), entity_HiddenPanel_idle(), interact_inspect_dismiss(), update_encounters_conversation(), and update_encounters_neutral().
void func_800EF3E4 | ( | void | ) |
Definition at line 2418 of file partners.c.
Referenced by entity_Chest_idle().
void func_800EF414 | ( | s32 | posX, |
s32 | posZ ) |
Definition at line 2425 of file partners.c.
void func_800EF43C | ( | void | ) |
Definition at line 2430 of file partners.c.
void partner_clear_player_tracking | ( | Npc * | partner | ) |
Definition at line 2436 of file partners.c.
Referenced by enable_partner_ai(), end_outta_sight_cleanup(), partner_flying_follow_player(), partner_get_out(), partner_walking_follow_player(), post_battle(), post_battle(), pre_battle(), pre_battle(), pre_battle(), pre_battle(), pre_battle(), pre_battle(), pre_battle(), pre_battle(), try_cancel_tweester(), try_cancel_tweester(), try_cancel_tweester(), try_cancel_tweester(), try_cancel_tweester(), try_cancel_tweester(), try_cancel_tweester(), try_cancel_tweester(), and try_cancel_tweester().
s32 partner_force_player_flip_done | ( | void | ) |
Definition at line 2454 of file partners.c.
void partner_enable_input | ( | void | ) |
Definition at line 2480 of file partners.c.
Referenced by check_input_open_menus(), SentinelAI_GrabPlayer(), update_encounters_conversation(), update_encounters_post_battle(), and update_item_entity_pickup().
void partner_disable_input | ( | void | ) |
Definition at line 2489 of file partners.c.
Referenced by check_input_open_menus(), SentinelAI_Descend(), start_battle(), update_encounters_neutral(), and update_item_entity_pickup().
void partner_do_player_collision | ( | Npc * | partner | ) |
Definition at line 2495 of file partners.c.
Referenced by partner_flying_update_motion(), and partner_walking_update_motion().
PartnerStatus gPartnerStatus |
Definition at line 42 of file partners.c.
Referenced by _use_partner_ability(), action_update_ride(), basic_ai_check_player_dist(), can_open_menus(), can_open_menus(), can_open_world_menu(), can_trigger_loading_zone(), can_use_ability(), check_conversation_trigger(), check_input_hammer(), check_input_open_menus(), check_player_action_debug(), CleftAI_CanSeePlayer(), ClubbaNappingAI_Sleep(), end_outta_sight_cleanup(), entity_CymbalPlant_idle(), entity_small_switch_idle(), entity_Tweester_idle(), get_movement_from_input(), get_overriding_player_anim(), is_player_dismounted(), ispy_notification_update(), MagikoopaAI_CanShootSpell(), MeleeHitbox_CanSeePlayer(), npc_do_other_npc_collision(), npc_surface_spawn_snow_fx(), partner_disable_input(), partner_enable_input(), partner_flying_update_motion(), partner_handle_after_battle(), partner_init_after_battle(), partner_initialize_data(), partner_is_idle(), partner_reset_data(), partner_use_ability(), partner_walking_update_motion(), phys_adjust_cam_on_landing(), phys_can_player_interact(), phys_main_collision_below(), phys_update_action_state(), player_handle_floor_collider_type(), post_battle(), post_battle(), post_battle(), post_battle(), pre_battle(), pre_battle(), pre_battle(), pre_battle(), pre_battle(), pre_battle(), pre_battle(), pre_battle(), ProjectileHitbox_GetUsableProjectileID(), reset_outta_sight_alpha_on_menu_close(), SentinelAI_Descend(), SentinelAI_GrabPlayer(), set_action_state(), should_cancel_open_world_menu(), should_cancel_pulse_stone(), sync_held_position(), test_item_player_collision(), update_camera_lead_amount(), update_encounters_neutral(), update_encounters_post_battle(), update_player_blink(), update_riding_physics(), and update_riding_physics().
Npc* wPartnerNpc |
Definition at line 43 of file partners.c.
Referenced by _use_partner_ability(), action_update_use_tweester(), ClubbaNappingAI_Sleep(), create_partner_npc(), enable_partner_ai(), npc_do_player_collision(), partner_can_open_world_menus(), partner_can_use_ability(), partner_handle_after_battle(), partner_handle_before_battle(), partner_reset_data(), partner_test_enemy_collision(), partner_use_ability(), and sync_held_position().
BSS s32 PartnerCommandState |
Definition at line 45 of file partners.c.
Referenced by _use_partner_ability().
BSS PlayerPathElement gPlayerMoveHistory[40] |
Definition at line 46 of file partners.c.
Referenced by partner_clear_player_tracking(), partner_flying_enable(), partner_flying_follow_player(), partner_flying_update_player_tracking(), partner_walking_enable(), partner_walking_follow_player(), and partner_walking_update_player_tracking().
BSS s32 gPlayerMoveHistoryIndex |
Definition at line 47 of file partners.c.
Referenced by partner_flying_enable(), partner_flying_follow_player(), partner_flying_update_player_tracking(), partner_walking_enable(), partner_walking_follow_player(), and partner_walking_update_player_tracking().
BSS s32 D_8010CFBC |
Definition at line 48 of file partners.c.
Referenced by partner_flying_enable(), partner_flying_follow_player(), partner_flying_update_player_tracking(), partner_walking_enable(), partner_walking_follow_player(), and partner_walking_update_player_tracking().
BSS f32 wPartnerTetherDistance |
Definition at line 49 of file partners.c.
Referenced by partner_flying_enable(), partner_flying_follow_player(), partner_reset_tether_distance(), partner_set_tether_distance(), partner_walking_enable(), and partner_walking_follow_player().
BSS s32 D_8010CFC4 |
Definition at line 50 of file partners.c.
Referenced by _use_partner_ability(), partner_flying_enable(), partner_initialize_data(), and partner_walking_enable().
BSS s16 wPartnerFollowState |
Definition at line 51 of file partners.c.
Referenced by enable_partner_ai(), func_800EF300(), func_800EF314(), func_800EF3E4(), func_800EF414(), func_800EF43C(), partner_flying_enable(), partner_flying_follow_player(), partner_flying_update_motion(), partner_get_out(), partner_init_get_out(), partner_init_put_away(), partner_put_away(), partner_walking_enable(), partner_walking_follow_player(), and partner_walking_update_motion().
BSS s16 D_8010CFCA |
Definition at line 52 of file partners.c.
Referenced by func_800EF3D4(), func_800EF3E4(), func_800EF43C(), partner_flying_enable(), partner_flying_follow_player(), partner_walking_enable(), and partner_walking_follow_player().
BSS s16 D_8010CFCC |
Definition at line 53 of file partners.c.
Referenced by partner_flying_enable(), and partner_walking_enable().
BSS s16 D_8010CFCE |
Definition at line 54 of file partners.c.
Referenced by func_800EF3E4(), func_800EF43C(), partner_flying_enable(), partner_flying_follow_player(), partner_move_to_goal(), partner_walking_enable(), and partner_walking_follow_player().
BSS s32 wPartnerNpcIndex |
Definition at line 55 of file partners.c.
Referenced by create_partner_npc(), and partner_free_npc().
Definition at line 56 of file partners.c.
Referenced by _use_partner_ability(), and partner_handle_after_battle().
BSS s32 wCurrentPartnerId |
Definition at line 57 of file partners.c.
Referenced by _use_partner_ability(), create_partner_npc(), func_800EB2A4(), partner_flying_enable(), partner_flying_follow_player(), partner_get_out(), partner_handle_after_battle(), partner_handle_before_battle(), partner_init_after_battle(), partner_initialize_data(), partner_move_to_goal(), partner_put_away(), partner_reset_data(), partner_resume_ability_script(), partner_suspend_ability_script(), partner_test_enemy_collision(), partner_use_ability(), partner_walking_enable(), partner_walking_follow_player(), and switch_to_partner().
BSS s32 wPartnerCurrentScriptID |
Definition at line 58 of file partners.c.
Referenced by _use_partner_ability(), partner_handle_after_battle(), partner_handle_before_battle(), partner_kill_ability_script(), partner_resume_ability_script(), and partner_suspend_ability_script().
BSS s32 D_8010CFE0 |
Definition at line 59 of file partners.c.
Referenced by _use_partner_ability(), func_800EB2A4(), partner_init_after_battle(), partner_initialize_data(), partner_reset_data(), partner_use_ability(), and switch_to_partner().
BSS s32 NextPartnerID |
Definition at line 60 of file partners.c.
Referenced by _use_partner_ability(), func_800EB2A4(), partner_init_after_battle(), and switch_to_partner().
BSS s32 NextPartnerCommand |
Definition at line 61 of file partners.c.
Referenced by _use_partner_ability(), func_800EB2A4(), partner_handle_after_battle(), partner_init_after_battle(), partner_initialize_data(), partner_kill_ability_script(), partner_reset_data(), partner_use_ability(), and switch_to_partner().
BSS WorldPartner* wPartner |
Definition at line 62 of file partners.c.
Referenced by _use_partner_ability(), create_partner_npc(), enable_partner_ai(), partner_can_open_world_menus(), partner_can_use_ability(), partner_get_enter_map_script(), partner_get_out(), partner_handle_after_battle(), partner_handle_before_battle(), partner_initialize_data(), partner_is_flying(), partner_reset_data(), partner_test_enemy_collision(), and partner_use_ability().
|
extern |
Definition at line 1942 of file global_hud_scripts.c.
|
extern |
Definition at line 1946 of file global_hud_scripts.c.
|
extern |
Definition at line 1950 of file global_hud_scripts.c.
|
extern |
Definition at line 1954 of file global_hud_scripts.c.
|
extern |
Definition at line 1958 of file global_hud_scripts.c.
|
extern |
Definition at line 1966 of file global_hud_scripts.c.
|
extern |
Definition at line 1970 of file global_hud_scripts.c.
|
extern |
Definition at line 1974 of file global_hud_scripts.c.
|
extern |
Definition at line 1962 of file global_hud_scripts.c.
|
extern |
Definition at line 1982 of file global_hud_scripts.c.
|
extern |
Definition at line 1944 of file global_hud_scripts.c.
|
extern |
Definition at line 1948 of file global_hud_scripts.c.
|
extern |
Definition at line 1952 of file global_hud_scripts.c.
|
extern |
Definition at line 1956 of file global_hud_scripts.c.
|
extern |
Definition at line 1960 of file global_hud_scripts.c.
|
extern |
Definition at line 1968 of file global_hud_scripts.c.
|
extern |
Definition at line 1972 of file global_hud_scripts.c.
|
extern |
Definition at line 1976 of file global_hud_scripts.c.
|
extern |
Definition at line 1964 of file global_hud_scripts.c.
|
extern |
Definition at line 1984 of file global_hud_scripts.c.
|
extern |
Definition at line 1994 of file global_hud_scripts.c.
|
extern |
Definition at line 1996 of file global_hud_scripts.c.
|
extern |
Definition at line 1998 of file global_hud_scripts.c.
|
extern |
Definition at line 2000 of file global_hud_scripts.c.
|
extern |
Definition at line 2002 of file global_hud_scripts.c.
|
extern |
Definition at line 2004 of file global_hud_scripts.c.
|
extern |
Definition at line 2006 of file global_hud_scripts.c.
|
extern |
Definition at line 2008 of file global_hud_scripts.c.
|
extern |
Definition at line 2010 of file global_hud_scripts.c.
|
extern |
Definition at line 2012 of file global_hud_scripts.c.
|
extern |
Definition at line 1990 of file global_hud_scripts.c.
|
extern |
Definition at line 1992 of file global_hud_scripts.c.
|
extern |
Definition at line 2045 of file global_hud_scripts.c.
|
extern |
Definition at line 2047 of file global_hud_scripts.c.
|
extern |
Definition at line 2049 of file global_hud_scripts.c.
|
extern |
Definition at line 2051 of file global_hud_scripts.c.
|
extern |
Definition at line 2053 of file global_hud_scripts.c.
|
extern |
Definition at line 2055 of file global_hud_scripts.c.
|
extern |
Definition at line 2057 of file global_hud_scripts.c.
|
extern |
Definition at line 2029 of file global_hud_scripts.c.
|
extern |
Definition at line 2031 of file global_hud_scripts.c.
|
extern |
Definition at line 2033 of file global_hud_scripts.c.
|
extern |
Definition at line 2035 of file global_hud_scripts.c.
|
extern |
Definition at line 2037 of file global_hud_scripts.c.
|
extern |
Definition at line 2039 of file global_hud_scripts.c.
|
extern |
Definition at line 2041 of file global_hud_scripts.c.
|
extern |
Definition at line 154 of file world_use_item.c.
HudScript* wPartnerHudScripts[] |
Definition at line 130 of file partners.c.
Referenced by setup_partner_popup().
HudScript* wDisabledPartnerHudScripts[] |
Definition at line 136 of file partners.c.
Referenced by setup_partner_popup().
HudScript* DigitHudScripts[] |
Definition at line 142 of file partners.c.
Referenced by status_bar_draw_number(), and status_bar_draw_stat().
HudScript* TimesHudScript = &HES_StatusTimes |
Definition at line 146 of file partners.c.
Referenced by status_bar_draw_number().
HudScript* SlashHudScript = &HES_StatusSlash |
Definition at line 147 of file partners.c.
Referenced by status_bar_draw_stat().
HudScript* SPIncrementHudScripts[] |
Definition at line 148 of file partners.c.
Referenced by update_status_bar().
HudScript* SPStarHudScripts[] |
Definition at line 152 of file partners.c.
Referenced by update_status_bar().
s32 StatusBarSPIncrementOffsets[] = { -1, 1, 2, 4, 5, 7, 8, 0, 0, 0 } |
Definition at line 156 of file partners.c.
Referenced by update_status_bar().
s32 D_800F8020 = 0 |
Definition at line 158 of file partners.c.
Referenced by partner_flying_update_motion().
s32 wPartnerMoveGoalX = 0 |
Definition at line 159 of file partners.c.
Referenced by partner_move_to_goal(), and partner_set_goal_pos().
s32 wPartnerMoveGoalZ = 0 |
Definition at line 160 of file partners.c.
Referenced by partner_move_to_goal(), and partner_set_goal_pos().
s32 wPartnerMoveTime = 0 |
Definition at line 161 of file partners.c.
Referenced by func_800EF3E4(), partner_flying_enable(), partner_flying_follow_player(), partner_move_to_goal(), partner_walking_enable(), and partner_walking_follow_player().
f32 wPartnerMoveSpeed = 0.0f |
Definition at line 162 of file partners.c.
Referenced by partner_flying_follow_player(), partner_move_to_goal(), and partner_walking_follow_player().
f32 D_800F8034 = 0.0f |
Definition at line 163 of file partners.c.
Referenced by partner_flying_follow_player(), partner_move_to_goal(), and partner_walking_follow_player().
s16 D_800F8038 = 0 |
Definition at line 164 of file partners.c.
s16 D_800F803A = 0 |
Definition at line 165 of file partners.c.
Referenced by partner_flying_follow_player(), and partner_walking_follow_player().
WorldPartner wPartners[] |
Definition at line 167 of file partners.c.
Referenced by create_partner_npc().
f32 wSavedPartnerPosX = 0 |
Definition at line 339 of file partners.c.
Referenced by _use_partner_ability(), partner_clear_player_tracking(), partner_flying_enable(), partner_flying_follow_player(), partner_flying_update_motion(), partner_init_after_battle(), partner_initialize_data(), partner_put_away(), partner_reset_data(), partner_walking_enable(), partner_walking_update_motion(), and switch_to_partner().
f32 wSavedPartnerPosY = 0 |
Definition at line 340 of file partners.c.
Referenced by _use_partner_ability(), partner_clear_player_tracking(), partner_flying_enable(), partner_flying_follow_player(), partner_flying_update_motion(), partner_init_after_battle(), partner_initialize_data(), partner_put_away(), partner_reset_data(), partner_walking_enable(), partner_walking_update_motion(), and switch_to_partner().
f32 wSavedPartnerPosZ = 0 |
Definition at line 341 of file partners.c.
Referenced by _use_partner_ability(), partner_clear_player_tracking(), partner_flying_enable(), partner_flying_follow_player(), partner_flying_update_motion(), partner_init_after_battle(), partner_initialize_data(), partner_put_away(), partner_reset_data(), partner_walking_enable(), partner_walking_update_motion(), and switch_to_partner().
PartnerAnimations gPartnerAnimations[] |
Definition at line 343 of file partners.c.
Referenced by _use_partner_ability(), partner_flying_enable(), partner_flying_follow_player(), partner_get_out(), partner_move_to_goal(), partner_put_away(), partner_walking_enable(), partner_walking_follow_player(), and set_npc_animation().
UseItemStruct UseItemDmaArgs |
Definition at line 470 of file partners.c.
Referenced by use_consumable().
BSS s32 D_8010CD20 |
Definition at line 477 of file partners.c.
Referenced by remove_consumable(), and use_consumable().
f32 D_800F84F8 = 0.0f |
Definition at line 495 of file partners.c.
Referenced by partner_flying_update_motion().