Go to the source code of this file.
Functions | |
s32 | evt_execute_next_command (Evt *script) |
void | sort_scripts (void) |
void | find_script_labels (Evt *script) |
void | clear_script_list (void) |
void | init_script_list (void) |
void | suspend_frozen_scripts (Evt *script) |
Evt * | start_script (EvtScript *source, s32 priority, s32 flags) |
Evt * | start_script_in_group (EvtScript *source, u8 priority, u8 flags, u8 groupFlags) |
Evt * | start_child_script (Evt *parentScript, EvtScript *source, s32 flags) |
Evt * | func_802C39F8 (Evt *parentScript, Bytecode *nextLine, s32 newState) |
Evt * | func_802C3C10 (Evt *script, Bytecode *line, s32 arg2) |
Evt * | restart_script (Evt *script) |
void | update_scripts (void) |
void | func_802C3EE4 (void) |
void | kill_script (Evt *instanceToKill) |
void | kill_script_by_ID (s32 id) |
void | kill_all_scripts (void) |
s32 | does_script_exist (s32 id) |
s32 | does_script_exist_by_ref (Evt *script) |
void | set_script_priority (Evt *script, s32 priority) |
void | set_script_timescale (Evt *script, f32 timescale) |
void | set_global_timespace (f32 timeScale) |
f32 | get_global_timespace (void) |
void | set_script_group (Evt *script, s32 groupFlags) |
Trigger * | bind_trigger (EvtScript *script, s32 flags, s32 triggerFlagIndex, s32 triggerVar0, s32 triggerVar1, s32 priority, s32 arg6) |
Trigger * | bind_trigger_1 (EvtScript *script, s32 flags, s32 triggerFlagIndex, s32 triggerVar0, s32 triggerVar1, s32 priority) |
void | suspend_group_script (Evt *script, s32 groupFlags) |
void | resume_group_script (Evt *script, s32 groupFlags) |
s32 | suspend_all_script (s32 id) |
s32 | resume_all_script (s32 id) |
void | suspend_group_script_index (s32 id, s32 groupFlags) |
void | resume_group_script_index (s32 id, s32 groupFlags) |
void | suspend_all_group (s32 groupFlags) |
s32 | resume_all_group (s32 groupFlags) |
void | suspend_group_others (Evt *script, s32 groupFlags) |
void | resume_group_others (Evt *script, s32 groupFlags) |
Evt * | get_script_by_index (s32 index) |
Evt * | get_script_by_id (s32 id) |
void | set_script_flags (Evt *script, s32 flags) |
void | clear_script_flags (Evt *script, s32 flags) |
s32 evt_execute_next_command | ( | Evt * | script | ) |
Definition at line 1351 of file evt.c.
Referenced by update_scripts().
void sort_scripts | ( | void | ) |
Definition at line 71 of file script_list.c.
Referenced by update_scripts().
void find_script_labels | ( | Evt * | script | ) |
Definition at line 115 of file script_list.c.
Referenced by func_802C39F8(), func_802C3C10(), restart_script(), start_child_script(), start_script(), and start_script_in_group().
void clear_script_list | ( | void | ) |
Definition at line 149 of file script_list.c.
Referenced by load_demo_battle(), load_engine_data(), load_map_by_IDs(), state_init_demo(), state_init_logos(), state_init_title_screen(), state_step_battle(), state_step_demo(), state_step_intro(), state_step_pause(), and state_step_startup().
void init_script_list | ( | void | ) |
Definition at line 182 of file script_list.c.
Referenced by state_step_end_battle(), and state_step_unpause().
void suspend_frozen_scripts | ( | Evt * | script | ) |
Definition at line 201 of file script_list.c.
Referenced by func_802C39F8(), func_802C3C10(), restart_script(), start_child_script(), start_script(), and start_script_in_group().
Definition at line 217 of file script_list.c.
Referenced by _use_partner_ability(), bind_enemy_ai(), bind_enemy_aux(), bind_enemy_interact(), btl_cam_use_preset_impl(), 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_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_move(), btl_state_update_partner_striking_first(), btl_state_update_player_move(), btl_state_update_run_away(), btl_state_update_victory(), calc_enemy_damage_target(), calc_item_damage_enemy(), calc_partner_damage_enemy(), calc_player_damage_enemy(), create_actor(), create_encounters(), dispatch_event_actor(), dispatch_event_partner(), dispatch_event_partner_continue_turn(), dispatch_event_player(), dispatch_event_player_continue_turn(), entity_Chest_adjust_camera(), entity_Chest_reset_camera(), evt_trigger_on_activate_exec_script(), evt_trigger_on_activate_lock(), FireBarAI_Callback(), func_80048E34(), load_partner_actor(), partner_handle_after_battle(), shop_owner_begin_speech(), shop_owner_buy_dialog(), shop_owner_continue_speech(), shop_owner_continue_speech_with_quantity(), shop_owner_end_speech(), shop_owner_reset_speech(), start_battle(), start_rumble_type(), update_encounters_neutral(), update_encounters_post_battle(), update_entities(), and use_consumable().
Definition at line 284 of file script_list.c.
Referenced by evt_handle_exec1(), evt_handle_exec1_get_id(), evt_handle_thread(), exec_ShakeCam1(), exec_ShakeCamX(), load_map_by_IDs(), and update_encounters_post_battle().
Definition at line 350 of file script_list.c.
Referenced by evt_handle_exec_wait().
Definition at line 419 of file script_list.c.
Referenced by evt_handle_child_thread().
Definition at line 486 of file script_list.c.
Definition at line 527 of file script_list.c.
Referenced by btl_cam_move(), and evt_handle_jump().
void update_scripts | ( | void | ) |
Definition at line 550 of file script_list.c.
Referenced by step_game_loop().
void func_802C3EE4 | ( | void | ) |
Definition at line 596 of file script_list.c.
Referenced by gfx_draw_frame().
void kill_script | ( | Evt * | instanceToKill | ) |
Definition at line 609 of file script_list.c.
Referenced by evt_handle_end_child_thread(), evt_handle_end_thread(), evt_handle_return(), func_802C3C10(), kill_all_scripts(), kill_script(), and kill_script_by_ID().
void kill_script_by_ID | ( | s32 | id | ) |
Definition at line 663 of file script_list.c.
Referenced by _use_partner_ability(), bind_enemy_ai(), bind_enemy_aux(), bind_enemy_interact(), btl_cam_use_preset_impl(), btl_delete_actor(), btl_delete_player_actor(), btl_state_update_celebration(), dispatch_event_actor(), dispatch_event_partner(), dispatch_event_partner_continue_turn(), dispatch_event_player(), dispatch_event_player_continue_turn(), evt_handle_kill(), func_80048E34(), kill_enemy(), partner_handle_after_battle(), partner_handle_before_battle(), partner_kill_ability_script(), start_rumble_type(), and update_encounters_pre_battle().
void kill_all_scripts | ( | void | ) |
Definition at line 675 of file script_list.c.
Referenced by btl_state_update_end_battle(), and btl_state_update_end_demo_battle().
s32 does_script_exist | ( | s32 | id | ) |
Definition at line 687 of file script_list.c.
Referenced by _use_partner_ability(), 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_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_move(), btl_state_update_partner_striking_first(), btl_state_update_player_move(), btl_state_update_run_away(), btl_state_update_victory(), create_encounters(), evt_handle_does_script_exist(), evt_trigger_on_activate_exec_script(), evt_trigger_on_activate_lock(), partner_handle_after_battle(), partner_handle_before_battle(), partner_kill_ability_script(), partner_resume_ability_script(), partner_suspend_ability_script(), state_step_change_map(), state_step_enter_world(), state_step_game_over(), state_step_intro(), update_encounters_conversation(), update_encounters_post_battle(), update_entities(), and update_item_entity_collectable().
s32 does_script_exist_by_ref | ( | Evt * | script | ) |
Definition at line 700 of file script_list.c.
void set_script_priority | ( | Evt * | script, |
s32 | priority ) |
Definition at line 711 of file script_list.c.
Referenced by evt_handle_set_priority().
void set_script_timescale | ( | Evt * | script, |
f32 | timescale ) |
Definition at line 715 of file script_list.c.
Referenced by evt_handle_set_timescale().
void set_global_timespace | ( | f32 | timeScale | ) |
Definition at line 719 of file script_list.c.
f32 get_global_timespace | ( | void | ) |
Definition at line 723 of file script_list.c.
void set_script_group | ( | Evt * | script, |
s32 | groupFlags ) |
Definition at line 727 of file script_list.c.
Referenced by evt_handle_set_group().
Trigger * bind_trigger | ( | EvtScript * | script, |
s32 | flags, | ||
s32 | triggerFlagIndex, | ||
s32 | triggerVar0, | ||
s32 | triggerVar1, | ||
s32 | priority, | ||
s32 | arg6 ) |
Definition at line 731 of file script_list.c.
Referenced by bind_trigger_1().
Trigger * bind_trigger_1 | ( | EvtScript * | script, |
s32 | flags, | ||
s32 | triggerFlagIndex, | ||
s32 | triggerVar0, | ||
s32 | triggerVar1, | ||
s32 | priority ) |
Definition at line 751 of file script_list.c.
void suspend_group_script | ( | Evt * | script, |
s32 | groupFlags ) |
Definition at line 756 of file script_list.c.
Referenced by resume_group_script(), suspend_all_group(), suspend_all_script(), suspend_group_others(), suspend_group_script(), and suspend_group_script_index().
void resume_group_script | ( | Evt * | script, |
s32 | groupFlags ) |
Definition at line 777 of file script_list.c.
Referenced by resume_all_group(), resume_all_script(), resume_group_others(), resume_group_script(), and resume_group_script_index().
s32 suspend_all_script | ( | s32 | id | ) |
Definition at line 798 of file script_list.c.
Referenced by evt_handle_suspend(), partner_suspend_ability_script(), start_battle(), update_encounters_neutral(), and update_encounters_pre_battle().
s32 resume_all_script | ( | s32 | id | ) |
Definition at line 810 of file script_list.c.
Referenced by evt_handle_resume(), partner_resume_ability_script(), update_encounters_conversation(), and update_encounters_post_battle().
void suspend_group_script_index | ( | s32 | id, |
s32 | groupFlags ) |
Definition at line 822 of file script_list.c.
void resume_group_script_index | ( | s32 | id, |
s32 | groupFlags ) |
Definition at line 834 of file script_list.c.
void suspend_all_group | ( | s32 | groupFlags | ) |
Definition at line 846 of file script_list.c.
Referenced by evt_handle_suspend_all(), set_time_freeze_mode(), suspend_frozen_scripts(), update_encounters_neutral(), and update_encounters_pre_battle().
s32 resume_all_group | ( | s32 | groupFlags | ) |
Definition at line 858 of file script_list.c.
Referenced by create_encounters(), evt_handle_resume_all(), set_time_freeze_mode(), start_battle(), update_encounters_conversation(), update_encounters_post_battle(), and update_item_entity_collectable().
void suspend_group_others | ( | Evt * | script, |
s32 | groupFlags ) |
Definition at line 870 of file script_list.c.
Referenced by evt_handle_suspend_others().
void resume_group_others | ( | Evt * | script, |
s32 | groupFlags ) |
Definition at line 882 of file script_list.c.
Referenced by evt_handle_resume_others().
Evt * get_script_by_index | ( | s32 | index | ) |
Definition at line 894 of file script_list.c.
Referenced by dispatch_event_actor(), and func_802C73B8().
Evt * get_script_by_id | ( | s32 | id | ) |
Definition at line 898 of file script_list.c.
Referenced by update_encounters_neutral().
void set_script_flags | ( | Evt * | script, |
s32 | flags ) |
Definition at line 913 of file script_list.c.
Referenced by set_script_flags(), and update_encounters_neutral().
void clear_script_flags | ( | Evt * | script, |
s32 | flags ) |
Definition at line 931 of file script_list.c.
Referenced by clear_script_flags(), and update_encounters_neutral().
s32 UniqueScriptCounter = 1 |
Definition at line 4 of file script_list.c.
Referenced by func_802C39F8(), start_child_script(), start_script(), and start_script_in_group().
s32 IsUpdatingScripts = FALSE |
Definition at line 5 of file script_list.c.
Referenced by clear_script_list(), func_802C39F8(), init_script_list(), start_child_script(), start_script(), start_script_in_group(), and update_scripts().
f32 GlobalTimeRate = 1.0f |
Definition at line 6 of file script_list.c.
Referenced by func_802C39F8(), func_802C3C10(), get_global_timespace(), restart_script(), set_global_timespace(), set_script_timescale(), start_child_script(), start_script(), and start_script_in_group().
BSS u32* gMapFlags |
Definition at line 9 of file script_list.c.
Referenced by clear_script_list(), evt_get_float_variable(), evt_get_variable(), evt_handle_print_debug_var(), evt_set_float_variable(), evt_set_variable(), and init_script_list().
BSS s32* gMapVars |
Definition at line 10 of file script_list.c.
Referenced by clear_script_list(), evt_get_float_variable(), evt_get_variable(), evt_handle_print_debug_var(), evt_set_float_variable(), evt_set_variable(), and init_script_list().
BSS s32 gNumScripts |
Definition at line 11 of file script_list.c.
Referenced by clear_script_list(), func_802C39F8(), init_script_list(), kill_script(), start_child_script(), start_script(), and start_script_in_group().
BSS ScriptList gWorldScriptList |
Definition at line 12 of file script_list.c.
Referenced by clear_script_list(), and init_script_list().
BSS ScriptList gBattleScriptList |
Definition at line 13 of file script_list.c.
Referenced by clear_script_list(), and init_script_list().
BSS ScriptList* gCurrentScriptListPtr |
Definition at line 14 of file script_list.c.
Referenced by clear_script_list(), does_script_exist_by_ref(), func_802C39F8(), func_802C3EE4(), get_script_by_id(), get_script_by_index(), init_script_list(), kill_script(), sort_scripts(), start_child_script(), start_script(), and start_script_in_group().
BSS s32 gScriptIndexList[MAX_SCRIPTS] |
Definition at line 15 of file script_list.c.
Referenced by func_802C39F8(), func_802C3EE4(), sort_scripts(), start_child_script(), start_script(), start_script_in_group(), and update_scripts().
BSS s32 gScriptIdList[MAX_SCRIPTS] |
Definition at line 16 of file script_list.c.
Referenced by func_802C39F8(), func_802C3EE4(), sort_scripts(), start_child_script(), start_script(), start_script_in_group(), and update_scripts().
BSS s32 gScriptListCount |
Definition at line 17 of file script_list.c.
Referenced by clear_script_list(), func_802C39F8(), func_802C3EE4(), sort_scripts(), start_child_script(), start_script(), start_script_in_group(), and update_scripts().
BSS char evtDebugPrintBuffer[0x100] |
Definition at line 20 of file script_list.c.
Referenced by evt_handle_print_debug_var().
Definition at line 23 of file script_list.c.
Referenced by get_lava_reset_pos().
BSS s32 LastSafeFloor |
Definition at line 24 of file script_list.c.
Referenced by get_lava_reset_pos().
BSS AnimatedModelList gBattleMeshAnimationList |
Definition at line 27 of file script_list.c.
Referenced by init_model_animators(), and reset_model_animators().
BSS AnimatedModelList gWorldMeshAnimationList |
Definition at line 28 of file script_list.c.
Referenced by init_model_animators(), and reset_model_animators().
BSS AnimatedModelList* gCurrentMeshAnimationListPtr |
Definition at line 29 of file script_list.c.
Referenced by init_model_animators(), and reset_model_animators().
BSS s32 wExtraPartnerID |
Definition at line 32 of file script_list.c.
BSS s32 wExtraPartnerNpcID |
Definition at line 33 of file script_list.c.
BSS s32 ShowMessageScreenOffsetX |
Definition at line 36 of file script_list.c.
Referenced by _show_message().
BSS s32 ShowMessageScreenOffsetY |
Definition at line 37 of file script_list.c.
Referenced by _show_message().
BSS MessagePrintState* gCurrentPrintContext |
Definition at line 38 of file script_list.c.
Referenced by _show_message(), and cancel_current_message().
BSS MessagePrintState* D_802DB268 |
Definition at line 39 of file script_list.c.
BSS s32 D_802DB264 |
Definition at line 40 of file script_list.c.
Referenced by _show_message().
Definition at line 43 of file script_list.c.
BSS u16 PlayerImgFXFlags |
Definition at line 44 of file script_list.c.
BSS VirtualEntityList bBattleVirtualEntityList |
Definition at line 45 of file script_list.c.
Referenced by clear_virtual_entity_list(), and init_virtual_entity_list().
BSS VirtualEntityList wWorldVirtualEntityList |
Definition at line 46 of file script_list.c.
Referenced by clear_virtual_entity_list(), and init_virtual_entity_list().
BSS VirtualEntityList* gCurrentVirtualEntityListPtr |
Definition at line 47 of file script_list.c.
Referenced by ALT_virtual_entity_create(), clear_virtual_entity_list(), init_virtual_entity_list(), virtual_entity_create(), virtual_entity_create_at_index(), virtual_entity_delete_by_ref(), virtual_entity_get_by_index(), virtual_entity_list_render_UI(), virtual_entity_list_render_world(), and virtual_entity_list_update().
BSS MusicEvent* MusicEventList |
Definition at line 50 of file script_list.c.
Definition at line 51 of file script_list.c.
BSS s32 RunningMusicEventIDs[10] |
Definition at line 52 of file script_list.c.
Definition at line 55 of file script_list.c.
BSS u32 gWorldMapFlags[MAX_MAPFLAGS] |
Definition at line 58 of file script_list.c.
Referenced by clear_script_list(), and init_script_list().
BSS u32 gBattleMapFlags[MAX_MAPFLAGS] |
Definition at line 59 of file script_list.c.
Referenced by clear_script_list(), and init_script_list().
BSS u32 gWorldMapVars[MAX_MAPVARS] |
Definition at line 61 of file script_list.c.
Referenced by clear_script_list(), and init_script_list().
BSS u32 gBattleMapVars[MAX_MAPVARS] |
Definition at line 62 of file script_list.c.
Referenced by clear_script_list(), and init_script_list().
BSS PushBlockGrid* wPushBlockGrids[8] |
Definition at line 64 of file script_list.c.
BSS s32 DoorModelsSwingCW[3] |
Definition at line 66 of file script_list.c.
BSS s32 DoorModelsSwingCCW[3] |
Definition at line 67 of file script_list.c.