From 560be7c106e78370d0a41f4014ae26b9cb519857 Mon Sep 17 00:00:00 2001 From: Kermalis <29823718+Kermalis@users.noreply.github.com> Date: Mon, 1 Dec 2025 23:43:07 -0500 Subject: [PATCH] SCRIPT_TYPE enum --- include/structs/str_ground_script.h | 41 +- src/code_803B050.c | 2 +- src/data/ground/ground_data_a01p01_station.h | 24 +- src/data/ground/ground_data_a01p02_station.h | 10 +- src/data/ground/ground_data_a02p01_station.h | 6 +- src/data/ground/ground_data_a02p02_station.h | 6 +- src/data/ground/ground_data_a02p03_station.h | 8 +- src/data/ground/ground_data_a02p04_station.h | 8 +- src/data/ground/ground_data_a03p01_station.h | 8 +- src/data/ground/ground_data_a03p02_station.h | 6 +- src/data/ground/ground_data_a03p03_station.h | 8 +- src/data/ground/ground_data_a04p01_station.h | 18 +- src/data/ground/ground_data_a04p02_station.h | 6 +- src/data/ground/ground_data_a04p03_station.h | 10 +- src/data/ground/ground_data_a04p04_station.h | 6 +- src/data/ground/ground_data_a05p01_station.h | 8 +- src/data/ground/ground_data_a05p02_station.h | 6 +- src/data/ground/ground_data_a05p03_station.h | 6 +- src/data/ground/ground_data_b01p01a_station.h | 194 ++--- src/data/ground/ground_data_b01p02a_station.h | 114 +-- src/data/ground/ground_data_d01p01_station.h | 10 +- src/data/ground/ground_data_d01p02_station.h | 6 +- src/data/ground/ground_data_d02p01_station.h | 10 +- src/data/ground/ground_data_d02p02_station.h | 6 +- src/data/ground/ground_data_d03p01_station.h | 8 +- src/data/ground/ground_data_d03p02_station.h | 6 +- src/data/ground/ground_data_d04p01_station.h | 8 +- src/data/ground/ground_data_d04p02_station.h | 6 +- src/data/ground/ground_data_d05p01_station.h | 6 +- src/data/ground/ground_data_d05p02_station.h | 6 +- src/data/ground/ground_data_d06p01_station.h | 8 +- src/data/ground/ground_data_d06p02_station.h | 10 +- src/data/ground/ground_data_d06p03_station.h | 6 +- src/data/ground/ground_data_d07p01_station.h | 8 +- src/data/ground/ground_data_d07p02_station.h | 8 +- src/data/ground/ground_data_d08p01_station.h | 18 +- src/data/ground/ground_data_d08p02_station.h | 6 +- src/data/ground/ground_data_d09p01_station.h | 18 +- src/data/ground/ground_data_d09p02_station.h | 10 +- src/data/ground/ground_data_d09p03_station.h | 6 +- src/data/ground/ground_data_d10p01_station.h | 20 +- src/data/ground/ground_data_d10p02_station.h | 12 +- src/data/ground/ground_data_d10p03_station.h | 6 +- src/data/ground/ground_data_d11p01_station.h | 20 +- src/data/ground/ground_data_d11p02_station.h | 12 +- src/data/ground/ground_data_d11p03_station.h | 10 +- src/data/ground/ground_data_d12p01_station.h | 8 +- src/data/ground/ground_data_d12p02_station.h | 10 +- src/data/ground/ground_data_d12p04_station.h | 6 +- src/data/ground/ground_data_d13p01_station.h | 10 +- src/data/ground/ground_data_d13p02_station.h | 10 +- src/data/ground/ground_data_d13p03_station.h | 10 +- src/data/ground/ground_data_d14p01_station.h | 6 +- src/data/ground/ground_data_d15p01_station.h | 6 +- src/data/ground/ground_data_d16p01_station.h | 6 +- src/data/ground/ground_data_d17p01_station.h | 6 +- src/data/ground/ground_data_d18p01_station.h | 6 +- src/data/ground/ground_data_d19p01_station.h | 6 +- src/data/ground/ground_data_d20p01_station.h | 6 +- src/data/ground/ground_data_d21p01_station.h | 6 +- src/data/ground/ground_data_d22p01_station.h | 6 +- src/data/ground/ground_data_d23p01_station.h | 6 +- src/data/ground/ground_data_d24p01_station.h | 8 +- src/data/ground/ground_data_d24p02_station.h | 6 +- src/data/ground/ground_data_d25p01_station.h | 6 +- src/data/ground/ground_data_h01p01_station.h | 4 +- src/data/ground/ground_data_h01p02_station.h | 4 +- src/data/ground/ground_data_h01p03_station.h | 4 +- src/data/ground/ground_data_h02p01_station.h | 4 +- src/data/ground/ground_data_h02p02_station.h | 4 +- src/data/ground/ground_data_h02p03_station.h | 4 +- src/data/ground/ground_data_h03p01_station.h | 4 +- src/data/ground/ground_data_h04p01_station.h | 4 +- src/data/ground/ground_data_h04p02_station.h | 4 +- src/data/ground/ground_data_h05p01_station.h | 4 +- src/data/ground/ground_data_h05p02_station.h | 4 +- src/data/ground/ground_data_h06p01_station.h | 4 +- src/data/ground/ground_data_h06p02_station.h | 4 +- src/data/ground/ground_data_h06p03_station.h | 4 +- src/data/ground/ground_data_h06p04_station.h | 4 +- src/data/ground/ground_data_h06p05_station.h | 4 +- src/data/ground/ground_data_h06p06_station.h | 4 +- src/data/ground/ground_data_h07p01_station.h | 4 +- src/data/ground/ground_data_h07p02_station.h | 4 +- src/data/ground/ground_data_h07p03_station.h | 4 +- src/data/ground/ground_data_h07p04_station.h | 4 +- src/data/ground/ground_data_h07p05_station.h | 4 +- src/data/ground/ground_data_h07p06_station.h | 8 +- src/data/ground/ground_data_h07p07_station.h | 8 +- src/data/ground/ground_data_h07p08_station.h | 4 +- src/data/ground/ground_data_h08p01_station.h | 4 +- src/data/ground/ground_data_h09p01_station.h | 4 +- src/data/ground/ground_data_h09p02_station.h | 4 +- src/data/ground/ground_data_h10p01_station.h | 4 +- src/data/ground/ground_data_h10p02_station.h | 4 +- src/data/ground/ground_data_h11p01_station.h | 4 +- src/data/ground/ground_data_h12p01_station.h | 4 +- src/data/ground/ground_data_h13p01_station.h | 4 +- src/data/ground/ground_data_h13p02_station.h | 4 +- src/data/ground/ground_data_h13p03_station.h | 4 +- src/data/ground/ground_data_h13p04_station.h | 4 +- src/data/ground/ground_data_h14p01_station.h | 4 +- src/data/ground/ground_data_h15p01_station.h | 4 +- src/data/ground/ground_data_h16p01_station.h | 4 +- src/data/ground/ground_data_h17p01_station.h | 4 +- src/data/ground/ground_data_h18p01_station.h | 4 +- src/data/ground/ground_data_h19p01_station.h | 4 +- src/data/ground/ground_data_h20p01_station.h | 4 +- src/data/ground/ground_data_h21p01_station.h | 4 +- src/data/ground/ground_data_h21p02_station.h | 4 +- src/data/ground/ground_data_h22p01_station.h | 4 +- src/data/ground/ground_data_h23p01_station.h | 4 +- src/data/ground/ground_data_h24p01_station.h | 4 +- src/data/ground/ground_data_h25p01_station.h | 4 +- src/data/ground/ground_data_h26p01_station.h | 4 +- src/data/ground/ground_data_h27p01_station.h | 4 +- src/data/ground/ground_data_h28p01_station.h | 4 +- src/data/ground/ground_data_h28p02_station.h | 4 +- src/data/ground/ground_data_h29p01_station.h | 6 +- src/data/ground/ground_data_h29p02_station.h | 4 +- src/data/ground/ground_data_h29p03_station.h | 4 +- src/data/ground/ground_data_h29p04_station.h | 4 +- src/data/ground/ground_data_s01_station.h | 6 +- src/data/ground/ground_data_s02_station.h | 10 +- src/data/ground/ground_data_s03_station.h | 6 +- src/data/ground/ground_data_s04_station.h | 6 +- src/data/ground/ground_data_s05_station.h | 6 +- src/data/ground/ground_data_s06_station.h | 6 +- src/data/ground/ground_data_t00p01_station.h | 10 +- src/data/ground/ground_data_t01p01_station.h | 118 +-- src/data/ground/ground_data_t01p02a_station.h | 66 +- src/data/ground/ground_data_t01p03_station.h | 74 +- src/data/ground/ground_data_t01p04_station.h | 16 +- src/data/ground/ground_data_t01p05_station.h | 22 +- src/data/ground/ground_data_t01p06_station.h | 6 +- src/data/ground/ground_data_t01p07_station.h | 10 +- src/data/ground/ground_event_data.h | 817 +++++++++--------- src/ground_effect.c | 2 +- src/ground_event.c | 10 +- src/ground_script.c | 2 +- 140 files changed, 1176 insertions(+), 1134 deletions(-) diff --git a/include/structs/str_ground_script.h b/include/structs/str_ground_script.h index defe50bb5..9582fa965 100644 --- a/include/structs/str_ground_script.h +++ b/include/structs/str_ground_script.h @@ -26,6 +26,45 @@ enum ESC_RetID ESC_RET_04, }; +enum ScriptRefType +{ + // Unused? + // Sets GroundEvent Unk8 to 0x20 + SCRIPT_TYPE_00, + // Seems to be "enter" scripts. + // Sets GroundEvent Unk8 to 0x60 + SCRIPT_TYPE_01, + // Seems to be "exit" (GETOUT) scripts. + // Sets GroundEvent Unk8 to 0x60 + SCRIPT_TYPE_02, + // Unused? + // Sets GroundEvent Unk8 to 0x20 + SCRIPT_TYPE_03, + // Seems to be related to speaking. + // Sets GroundEvent Unk8 to 0x20 + SCRIPT_TYPE_04, + // Sets GroundEvent Unk8 to 0x20 + SCRIPT_TYPE_05, + // Unused? + // Sets GroundEvent Unk8 to 0x20 + SCRIPT_TYPE_06, + // Sets GroundEvent Unk8 to 0x20 + SCRIPT_TYPE_07, + // Sets GroundEvent Unk8 to 0x20 + SCRIPT_TYPE_08, + // Seems to be for emote/looking effects. + // Sets GroundEvent Unk8 to 0x20 + SCRIPT_TYPE_09, + // Seems to be debug scripts that are only used from a debug menu. + // Sets GroundEvent Unk8 to 0x20 + SCRIPT_TYPE_10, + // Seems to indicate sub-scenarios beginning/continuing/ending. + // Sets GroundEvent Unk8 to 0x20 + SCRIPT_TYPE_11, + // Sets GroundEvent Unk8 to 0x20 + SCRIPT_TYPE_12, +}; + // size: 0x10 typedef struct ScriptCommand { @@ -154,7 +193,7 @@ typedef struct GroundMapAction typedef struct ScriptRef { /* 0x0 */ s16 id; // See enum "ScriptID" - /* 0x2 */ s16 type; + /* 0x2 */ s16 type; // See enum "ScriptRefType" /* 0x4 */ const u8 *name; /* 0x8 */ const ScriptCommand *script; } ScriptRef; diff --git a/src/code_803B050.c b/src/code_803B050.c index 99e20a0c7..7c9726e8a 100644 --- a/src/code_803B050.c +++ b/src/code_803B050.c @@ -144,7 +144,7 @@ bool8 sub_803B050(void) for (i = 0, max = NUM_SCRIPT_IDS - 1; i <= max; i = (s16)(i + 1)) { const ScriptRef *info = &gFunctionScriptTable[i]; - if (info->type == 10) { + if (info->type == SCRIPT_TYPE_10) { gUnknown_203B3FC->scriptIDs[count++] = i; } } diff --git a/src/data/ground/ground_data_a01p01_station.h b/src/data/ground/ground_data_a01p01_station.h index a629f284f..04c9cb1e0 100644 --- a/src/data/ground/ground_data_a01p01_station.h +++ b/src/data/ground/ground_data_a01p01_station.h @@ -13,7 +13,7 @@ static const struct ScriptCommand s_gs162_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs162_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs162_g0_s0_station_sref_script }; /* 0x820fd9c */ +static const ScriptRef s_gs162_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs162_g0_s0_station_sref_script }; /* 0x820fd9c */ static const struct ScriptCommand s_gs162_g1_s0_station_sref_script[] = { /* 0x820fda8 */ DEBUGINFO_O(19), @@ -28,7 +28,7 @@ static const struct ScriptCommand s_gs162_g1_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs162_g1_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs162_g1_s0_station_sref_script }; /* 0x820fe48 */ +static const ScriptRef s_gs162_g1_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs162_g1_s0_station_sref_script }; /* 0x820fe48 */ static const struct ScriptCommand s_gs162_g1_s0_lives0_dlg0[] = { /* 0x820fe54 */ DEBUGINFO_O(34), @@ -72,7 +72,7 @@ static const struct ScriptCommand s_gs162_g2_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs162_g2_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs162_g2_s0_station_sref_script }; /* 0x8210144 */ +static const ScriptRef s_gs162_g2_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs162_g2_s0_station_sref_script }; /* 0x8210144 */ static const struct ScriptCommand s_gs162_g2_s0_eff0_script[] = { /* 0x8210150 */ DEBUGINFO_O(78), @@ -130,7 +130,7 @@ static const struct ScriptCommand s_gs162_g3_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs162_g3_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs162_g3_s0_station_sref_script }; /* 0x821055c */ +static const ScriptRef s_gs162_g3_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs162_g3_s0_station_sref_script }; /* 0x821055c */ static const struct ScriptCommand s_gs162_g3_s0_lives0_dlg0[] = { /* 0x8210568 */ DEBUGINFO_O(136), @@ -239,7 +239,7 @@ static const struct ScriptCommand s_gs162_g4_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs162_g4_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs162_g4_s0_station_sref_script }; /* 0x8210c5c */ +static const ScriptRef s_gs162_g4_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs162_g4_s0_station_sref_script }; /* 0x8210c5c */ static const struct ScriptCommand s_gs162_g4_s0_lives0_dlg0[] = { /* 0x8210c68 */ DEBUGINFO_O(245), @@ -386,7 +386,7 @@ static const struct ScriptCommand s_gs162_g5_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs162_g5_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs162_g5_s0_station_sref_script }; /* 0x82116ac */ +static const ScriptRef s_gs162_g5_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs162_g5_s0_station_sref_script }; /* 0x82116ac */ static const struct ScriptCommand s_gs162_g5_s0_lives0_dlg0[] = { /* 0x82116b8 */ DEBUGINFO_O(392), @@ -423,7 +423,7 @@ static const struct ScriptCommand s_gs162_g6_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs162_g6_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs162_g6_s0_station_sref_script }; /* 0x8211894 */ +static const ScriptRef s_gs162_g6_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs162_g6_s0_station_sref_script }; /* 0x8211894 */ static const struct ScriptCommand s_gs162_g6_s0_lives0_dlg0[] = { /* 0x82118a0 */ DEBUGINFO_O(429), @@ -682,7 +682,7 @@ static const struct ScriptCommand s_gs162_g7_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs162_g7_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs162_g7_s0_station_sref_script }; /* 0x8212e64 */ +static const ScriptRef s_gs162_g7_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs162_g7_s0_station_sref_script }; /* 0x8212e64 */ static const struct ScriptCommand s_gs162_g7_s0_lives0_dlg0[] = { /* 0x8212e70 */ DEBUGINFO_O(688), @@ -722,7 +722,7 @@ static const struct ScriptCommand s_gs162_g8_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs162_g8_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs162_g8_s0_station_sref_script }; /* 0x8213030 */ +static const ScriptRef s_gs162_g8_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs162_g8_s0_station_sref_script }; /* 0x8213030 */ static const struct ScriptCommand s_gs162_g8_s0_lives0_dlg0[] = { /* 0x821303c */ DEBUGINFO_O(728), @@ -987,7 +987,7 @@ static const struct ScriptCommand s_gs162_g9_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs162_g9_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs162_g9_s0_station_sref_script }; /* 0x8214520 */ +static const ScriptRef s_gs162_g9_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs162_g9_s0_station_sref_script }; /* 0x8214520 */ static const struct ScriptCommand s_gs162_g9_s0_lives0_dlg0[] = { /* 0x821452c */ DEBUGINFO_O(993), @@ -1243,7 +1243,7 @@ static const struct ScriptCommand s_gs162_g10_s0_station_sref_script[] = { /* 0x RET, }; -static const struct ScriptRef s_gs162_g10_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs162_g10_s0_station_sref_script }; /* 0x8215d98 */ +static const ScriptRef s_gs162_g10_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs162_g10_s0_station_sref_script }; /* 0x8215d98 */ static const struct ScriptCommand s_gs162_g10_s0_lives0_dlg0[] = { /* 0x8215da4 */ DEBUGINFO_O(1249), @@ -1404,7 +1404,7 @@ static const struct GroundEffectData s_gs162_g10_s0_effs[] = { /* 0x82160a8 */ /* 0 */ { 0, 0, 1, 1, { 30, 19, CPOS_HALFTILE, CPOS_HALFTILE }, NULL }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x82160b4 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x82160b4 */ &s_gs162_g0_s0_station_sref, &s_gs162_g1_s0_station_sref, &s_gs162_g2_s0_station_sref, diff --git a/src/data/ground/ground_data_a01p02_station.h b/src/data/ground/ground_data_a01p02_station.h index 547f7351c..22ecb6843 100644 --- a/src/data/ground/ground_data_a01p02_station.h +++ b/src/data/ground/ground_data_a01p02_station.h @@ -13,7 +13,7 @@ static const struct ScriptCommand s_gs163_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs163_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs163_g0_s0_station_sref_script }; /* 0x8216440 */ +static const ScriptRef s_gs163_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs163_g0_s0_station_sref_script }; /* 0x8216440 */ static const struct ScriptCommand s_gs163_g1_s0_station_sref_script[] = { /* 0x821644c */ DEBUGINFO_O(19), @@ -34,7 +34,7 @@ static const struct ScriptCommand s_gs163_g1_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs163_g1_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs163_g1_s0_station_sref_script }; /* 0x8216588 */ +static const ScriptRef s_gs163_g1_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs163_g1_s0_station_sref_script }; /* 0x8216588 */ static const struct ScriptCommand s_gs163_g1_s0_lives0_dlg0[] = { /* 0x8216594 */ @@ -64,7 +64,7 @@ static const struct ScriptCommand s_gs163_g2_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs163_g2_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs163_g2_s0_station_sref_script }; /* 0x821674c */ +static const ScriptRef s_gs163_g2_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs163_g2_s0_station_sref_script }; /* 0x821674c */ static const struct ScriptCommand s_gs163_g2_s0_lives0_dlg0[] = { /* 0x8216758 */ DEBUGINFO_O(70), @@ -99,7 +99,7 @@ static const struct ScriptCommand s_gs163_g3_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs163_g3_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs163_g3_s0_station_sref_script }; /* 0x8216948 */ +static const ScriptRef s_gs163_g3_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs163_g3_s0_station_sref_script }; /* 0x8216948 */ static const struct ScriptCommand s_gs163_g3_s0_lives0_dlg0[] = { /* 0x8216954 */ DEBUGINFO_O(105), @@ -299,7 +299,7 @@ static const struct GroundEffectData s_gs163_g3_s0_effs[] = { /* 0x8218048 */ /* 0 */ { 0, 0, 1, 1, { 30, 19, CPOS_HALFTILE, CPOS_HALFTILE }, NULL }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x8218054 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x8218054 */ &s_gs163_g0_s0_station_sref, &s_gs163_g1_s0_station_sref, &s_gs163_g2_s0_station_sref, diff --git a/src/data/ground/ground_data_a02p01_station.h b/src/data/ground/ground_data_a02p01_station.h index d153a0abc..b28d288d7 100644 --- a/src/data/ground/ground_data_a02p01_station.h +++ b/src/data/ground/ground_data_a02p01_station.h @@ -15,7 +15,7 @@ static const struct ScriptCommand s_gs164_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs164_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs164_g0_s0_station_sref_script }; /* 0x82181ac */ +static const ScriptRef s_gs164_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs164_g0_s0_station_sref_script }; /* 0x82181ac */ static const struct ScriptCommand s_gs164_g1_s0_station_sref_script[] = { /* 0x82181b8 */ DEBUGINFO_O(21), @@ -37,7 +37,7 @@ static const struct ScriptCommand s_gs164_g1_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs164_g1_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs164_g1_s0_station_sref_script }; /* 0x8218330 */ +static const ScriptRef s_gs164_g1_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs164_g1_s0_station_sref_script }; /* 0x8218330 */ static const struct ScriptCommand s_gs164_g1_s0_lives0_dlg0[] = { /* 0x821833c */ @@ -81,7 +81,7 @@ static const struct GroundEffectData s_gs164_g1_s0_effs[] = { /* 0x8218508 */ /* 0 */ { 0, 0, 1, 1, { 40, 20, 0, CPOS_HALFTILE }, NULL }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x8218514 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x8218514 */ &s_gs164_g0_s0_station_sref, &s_gs164_g1_s0_station_sref, }; diff --git a/src/data/ground/ground_data_a02p02_station.h b/src/data/ground/ground_data_a02p02_station.h index d9285d081..f43e8c76d 100644 --- a/src/data/ground/ground_data_a02p02_station.h +++ b/src/data/ground/ground_data_a02p02_station.h @@ -15,7 +15,7 @@ static const struct ScriptCommand s_gs165_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs165_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs165_g0_s0_station_sref_script }; /* 0x821860c */ +static const ScriptRef s_gs165_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs165_g0_s0_station_sref_script }; /* 0x821860c */ static const struct ScriptCommand s_gs165_g1_s0_station_sref_script[] = { /* 0x8218618 */ DEBUGINFO_O(21), @@ -44,7 +44,7 @@ static const struct ScriptCommand s_gs165_g1_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs165_g1_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs165_g1_s0_station_sref_script }; /* 0x8218828 */ +static const ScriptRef s_gs165_g1_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs165_g1_s0_station_sref_script }; /* 0x8218828 */ @@ -101,7 +101,7 @@ static const struct GroundEffectData s_gs165_g1_s0_effs[] = { /* 0x8218b24 */ /* 0 */ { 0, 0, 1, 1, { 16, 11, CPOS_HALFTILE, CPOS_HALFTILE }, NULL }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x8218b30 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x8218b30 */ &s_gs165_g0_s0_station_sref, &s_gs165_g1_s0_station_sref, }; diff --git a/src/data/ground/ground_data_a02p03_station.h b/src/data/ground/ground_data_a02p03_station.h index caf998c55..ce1495b3e 100644 --- a/src/data/ground/ground_data_a02p03_station.h +++ b/src/data/ground/ground_data_a02p03_station.h @@ -15,7 +15,7 @@ static const struct ScriptCommand s_gs166_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs166_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs166_g0_s0_station_sref_script }; /* 0x8218c28 */ +static const ScriptRef s_gs166_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs166_g0_s0_station_sref_script }; /* 0x8218c28 */ static const struct ScriptCommand s_gs166_g1_s0_station_sref_script[] = { /* 0x8218c34 */ DEBUGINFO_O(21), @@ -27,7 +27,7 @@ static const struct ScriptCommand s_gs166_g1_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs166_g1_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs166_g1_s0_station_sref_script }; /* 0x8218ca4 */ +static const ScriptRef s_gs166_g1_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs166_g1_s0_station_sref_script }; /* 0x8218ca4 */ static const struct ScriptCommand s_gs166_g1_s0_lives0_dlg0[] = { /* 0x8218cb0 */ DEBUGINFO_O(33), @@ -95,7 +95,7 @@ static const struct ScriptCommand s_gs166_g2_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs166_g2_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs166_g2_s0_station_sref_script }; /* 0x8219150 */ +static const ScriptRef s_gs166_g2_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs166_g2_s0_station_sref_script }; /* 0x8219150 */ static const struct ScriptCommand s_gs166_g2_s0_lives0_dlg0[] = { /* 0x821915c */ @@ -194,7 +194,7 @@ static const struct GroundEffectData s_gs166_g2_s0_effs[] = { /* 0x82196b8 */ /* 0 */ { 0, 0, 1, 1, { 30, 28, 0, CPOS_HALFTILE }, NULL }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x82196c4 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x82196c4 */ &s_gs166_g0_s0_station_sref, &s_gs166_g1_s0_station_sref, &s_gs166_g2_s0_station_sref, diff --git a/src/data/ground/ground_data_a02p04_station.h b/src/data/ground/ground_data_a02p04_station.h index d3e30e71a..6fff7cf3b 100644 --- a/src/data/ground/ground_data_a02p04_station.h +++ b/src/data/ground/ground_data_a02p04_station.h @@ -18,7 +18,7 @@ static const struct ScriptCommand s_gs167_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs167_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs167_g0_s0_station_sref_script }; /* 0x82197f0 */ +static const ScriptRef s_gs167_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs167_g0_s0_station_sref_script }; /* 0x82197f0 */ static const struct ScriptCommand s_gs167_g1_s0_station_sref_script[] = { /* 0x82197fc */ DEBUGINFO_O(24), @@ -30,7 +30,7 @@ static const struct ScriptCommand s_gs167_g1_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs167_g1_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs167_g1_s0_station_sref_script }; /* 0x821986c */ +static const ScriptRef s_gs167_g1_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs167_g1_s0_station_sref_script }; /* 0x821986c */ static const struct ScriptCommand s_gs167_g2_s0_station_sref_script[] = { /* 0x8219878 */ DEBUGINFO_O(36), @@ -59,7 +59,7 @@ static const struct ScriptCommand s_gs167_g2_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs167_g2_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs167_g2_s0_station_sref_script }; /* 0x8219b4c */ +static const ScriptRef s_gs167_g2_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs167_g2_s0_station_sref_script }; /* 0x8219b4c */ static const struct ScriptCommand s_gs167_g2_s0_eff0_script[] = { /* 0x8219b58 */ @@ -332,7 +332,7 @@ static const struct GroundEffectData s_gs167_g2_s0_effs[] = { /* 0x821b940 */ /* 0 */ { 0, 0, 1, 1, { 16, 8, CPOS_HALFTILE, CPOS_HALFTILE }, s_gs167_g2_s0_eff0_script }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x821b94c */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x821b94c */ &s_gs167_g0_s0_station_sref, &s_gs167_g1_s0_station_sref, &s_gs167_g2_s0_station_sref, diff --git a/src/data/ground/ground_data_a03p01_station.h b/src/data/ground/ground_data_a03p01_station.h index 0f7a430d7..b47fec5d2 100644 --- a/src/data/ground/ground_data_a03p01_station.h +++ b/src/data/ground/ground_data_a03p01_station.h @@ -13,7 +13,7 @@ static const struct ScriptCommand s_gs168_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs168_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs168_g0_s0_station_sref_script }; /* 0x821ba90 */ +static const ScriptRef s_gs168_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs168_g0_s0_station_sref_script }; /* 0x821ba90 */ static const struct ScriptCommand s_gs168_g1_s0_station_sref_script[] = { /* 0x821ba9c */ DEBUGINFO_O(19), @@ -27,7 +27,7 @@ static const struct ScriptCommand s_gs168_g1_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs168_g1_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs168_g1_s0_station_sref_script }; /* 0x821bb2c */ +static const ScriptRef s_gs168_g1_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs168_g1_s0_station_sref_script }; /* 0x821bb2c */ static const struct ScriptCommand s_gs168_g1_s0_eff0_script[] = { /* 0x821bb38 */ DEBUGINFO_O(33), @@ -223,7 +223,7 @@ static const struct ScriptCommand s_gs168_g2_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs168_g2_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs168_g2_s0_station_sref_script }; /* 0x821ca10 */ +static const ScriptRef s_gs168_g2_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs168_g2_s0_station_sref_script }; /* 0x821ca10 */ static const struct ScriptCommand s_gs168_g2_s0_lives0_dlg0[] = { /* 0x821ca1c */ DEBUGINFO_O(229), @@ -307,7 +307,7 @@ static const struct GroundEffectData s_gs168_g2_s0_effs[] = { /* 0x821cddc */ /* 0 */ { 0, 0, 1, 1, { 79, 24, 0, CPOS_HALFTILE }, NULL }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x821cde8 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x821cde8 */ &s_gs168_g0_s0_station_sref, &s_gs168_g1_s0_station_sref, &s_gs168_g2_s0_station_sref, diff --git a/src/data/ground/ground_data_a03p02_station.h b/src/data/ground/ground_data_a03p02_station.h index e7de50f63..93d136168 100644 --- a/src/data/ground/ground_data_a03p02_station.h +++ b/src/data/ground/ground_data_a03p02_station.h @@ -13,7 +13,7 @@ static const struct ScriptCommand s_gs169_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs169_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs169_g0_s0_station_sref_script }; /* 0x821cf0c */ +static const ScriptRef s_gs169_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs169_g0_s0_station_sref_script }; /* 0x821cf0c */ static const struct ScriptCommand s_gs169_g1_s0_station_sref_script[] = { /* 0x821cf18 */ DEBUGINFO_O(19), @@ -26,7 +26,7 @@ static const struct ScriptCommand s_gs169_g1_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs169_g1_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs169_g1_s0_station_sref_script }; /* 0x821cf98 */ +static const ScriptRef s_gs169_g1_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs169_g1_s0_station_sref_script }; /* 0x821cf98 */ static const struct ScriptCommand s_gs169_g1_s0_lives0_dlg0[] = { /* 0x821cfa4 */ DEBUGINFO_O(32), @@ -66,7 +66,7 @@ static const struct GroundEffectData s_gs169_g1_s0_effs[] = { /* 0x821d154 */ /* 0 */ { 0, 0, 1, 1, { 17, 18, 0, CPOS_HALFTILE }, NULL }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x821d160 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x821d160 */ &s_gs169_g0_s0_station_sref, &s_gs169_g1_s0_station_sref, }; diff --git a/src/data/ground/ground_data_a03p03_station.h b/src/data/ground/ground_data_a03p03_station.h index 68c5bd7d1..8dbb3ffee 100644 --- a/src/data/ground/ground_data_a03p03_station.h +++ b/src/data/ground/ground_data_a03p03_station.h @@ -13,7 +13,7 @@ static const struct ScriptCommand s_gs170_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs170_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs170_g0_s0_station_sref_script }; /* 0x821d250 */ +static const ScriptRef s_gs170_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs170_g0_s0_station_sref_script }; /* 0x821d250 */ static const struct ScriptCommand s_gs170_g1_s0_station_sref_script[] = { /* 0x821d25c */ DEBUGINFO_O(19), @@ -27,7 +27,7 @@ static const struct ScriptCommand s_gs170_g1_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs170_g1_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs170_g1_s0_station_sref_script }; /* 0x821d2ec */ +static const ScriptRef s_gs170_g1_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs170_g1_s0_station_sref_script }; /* 0x821d2ec */ static const struct ScriptCommand s_gs170_g1_s0_lives0_dlg0[] = { /* 0x821d2f8 */ DEBUGINFO_O(33), @@ -278,7 +278,7 @@ static const struct ScriptCommand s_gs170_g2_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs170_g2_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs170_g2_s0_station_sref_script }; /* 0x821ee58 */ +static const ScriptRef s_gs170_g2_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs170_g2_s0_station_sref_script }; /* 0x821ee58 */ static const struct ScriptCommand s_gs170_g2_s0_lives0_dlg0[] = { /* 0x821ee64 */ DEBUGINFO_O(284), @@ -453,7 +453,7 @@ static const struct GroundEffectData s_gs170_g2_s0_effs[] = { /* 0x821f8d0 */ /* 0 */ { 0, 0, 1, 1, { 103, 15, 0, CPOS_HALFTILE }, NULL }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x821f8dc */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x821f8dc */ &s_gs170_g0_s0_station_sref, &s_gs170_g1_s0_station_sref, &s_gs170_g2_s0_station_sref, diff --git a/src/data/ground/ground_data_a04p01_station.h b/src/data/ground/ground_data_a04p01_station.h index acfb039dd..15da12e97 100644 --- a/src/data/ground/ground_data_a04p01_station.h +++ b/src/data/ground/ground_data_a04p01_station.h @@ -24,7 +24,7 @@ static const struct ScriptCommand s_gs171_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs171_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs171_g0_s0_station_sref_script }; /* 0x821fa28 */ +static const ScriptRef s_gs171_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs171_g0_s0_station_sref_script }; /* 0x821fa28 */ static const struct ScriptCommand s_gs171_g1_s0_station_sref_script[] = { /* 0x821fa34 */ DEBUGINFO_O(30), @@ -37,7 +37,7 @@ static const struct ScriptCommand s_gs171_g1_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs171_g1_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs171_g1_s0_station_sref_script }; /* 0x821fab4 */ +static const ScriptRef s_gs171_g1_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs171_g1_s0_station_sref_script }; /* 0x821fab4 */ static const struct ScriptCommand s_gs171_g1_s0_eff0_script[] = { /* 0x821fac0 */ DEBUGINFO_O(43), @@ -81,7 +81,7 @@ static const struct ScriptCommand s_gs171_g2_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs171_g2_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs171_g2_s0_station_sref_script }; /* 0x821fd38 */ +static const ScriptRef s_gs171_g2_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs171_g2_s0_station_sref_script }; /* 0x821fd38 */ static const struct ScriptCommand s_gs171_g2_s0_eff0_script[] = { /* 0x821fd44 */ DEBUGINFO_O(87), @@ -130,7 +130,7 @@ static const struct ScriptCommand s_gs171_g3_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs171_g3_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs171_g3_s0_station_sref_script }; /* 0x82200a4 */ +static const ScriptRef s_gs171_g3_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs171_g3_s0_station_sref_script }; /* 0x82200a4 */ static const struct ScriptCommand s_gs171_g3_s0_lives0_dlg0[] = { /* 0x82200b0 */ DEBUGINFO_O(136), @@ -390,7 +390,7 @@ static const struct ScriptCommand s_gs171_g4_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs171_g4_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs171_g4_s0_station_sref_script }; /* 0x82213f0 */ +static const ScriptRef s_gs171_g4_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs171_g4_s0_station_sref_script }; /* 0x82213f0 */ static const struct ScriptCommand s_gs171_g4_s0_lives0_dlg0[] = { /* 0x82213fc */ DEBUGINFO_O(396), @@ -578,7 +578,7 @@ static const struct ScriptCommand s_gs171_g5_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs171_g5_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs171_g5_s0_station_sref_script }; /* 0x8221e34 */ +static const ScriptRef s_gs171_g5_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs171_g5_s0_station_sref_script }; /* 0x8221e34 */ static const struct ScriptCommand s_gs171_g5_s0_eff0_script[] = { /* 0x8221e40 */ DEBUGINFO_O(584), @@ -1064,7 +1064,7 @@ static const struct ScriptCommand s_gs171_g6_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs171_g6_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs171_g6_s0_station_sref_script }; /* 0x8223c34 */ +static const ScriptRef s_gs171_g6_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs171_g6_s0_station_sref_script }; /* 0x8223c34 */ static const struct ScriptCommand s_gs171_g6_s0_eff0_script[] = { /* 0x8223c40 */ DEBUGINFO_O(1070), @@ -2108,7 +2108,7 @@ static const struct ScriptCommand s_gs171_g7_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs171_g7_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs171_g7_s0_station_sref_script }; /* 0x8227f48 */ +static const ScriptRef s_gs171_g7_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs171_g7_s0_station_sref_script }; /* 0x8227f48 */ static const struct ScriptCommand s_gs171_g7_s0_lives0_dlg0[] = { /* 0x8227f54 */ DEBUGINFO_O(2114), @@ -2595,7 +2595,7 @@ static const struct GroundEffectData s_gs171_g7_s0_effs[] = { /* 0x8229674 */ /* 0 */ { 0, 0, 1, 1, { 20, 42, CPOS_HALFTILE, CPOS_HALFTILE }, NULL }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x8229680 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x8229680 */ &s_gs171_g0_s0_station_sref, &s_gs171_g1_s0_station_sref, &s_gs171_g2_s0_station_sref, diff --git a/src/data/ground/ground_data_a04p02_station.h b/src/data/ground/ground_data_a04p02_station.h index f2387d6a3..388e2aabe 100644 --- a/src/data/ground/ground_data_a04p02_station.h +++ b/src/data/ground/ground_data_a04p02_station.h @@ -13,7 +13,7 @@ static const struct ScriptCommand s_gs172_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs172_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs172_g0_s0_station_sref_script }; /* 0x8229920 */ +static const ScriptRef s_gs172_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs172_g0_s0_station_sref_script }; /* 0x8229920 */ static const struct ScriptCommand s_gs172_g1_s0_station_sref_script[] = { /* 0x822992c */ DEBUGINFO_O(19), @@ -31,7 +31,7 @@ static const struct ScriptCommand s_gs172_g1_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs172_g1_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs172_g1_s0_station_sref_script }; /* 0x8229a20 */ +static const ScriptRef s_gs172_g1_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs172_g1_s0_station_sref_script }; /* 0x8229a20 */ static const struct ScriptCommand s_gs172_g1_s0_eff0_script[] = { /* 0x8229a2c */ @@ -48,7 +48,7 @@ static const struct GroundEffectData s_gs172_g1_s0_effs[] = { /* 0x8229a9c */ /* 0 */ { 0, 0, 1, 1, { 18, 19, 0, CPOS_HALFTILE }, s_gs172_g1_s0_eff0_script }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x8229aa8 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x8229aa8 */ &s_gs172_g0_s0_station_sref, &s_gs172_g1_s0_station_sref, }; diff --git a/src/data/ground/ground_data_a04p03_station.h b/src/data/ground/ground_data_a04p03_station.h index fe5616c6b..4aa60cc6b 100644 --- a/src/data/ground/ground_data_a04p03_station.h +++ b/src/data/ground/ground_data_a04p03_station.h @@ -14,7 +14,7 @@ static const struct ScriptCommand s_gs173_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs173_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs173_g0_s0_station_sref_script }; /* 0x8229b98 */ +static const ScriptRef s_gs173_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs173_g0_s0_station_sref_script }; /* 0x8229b98 */ static const struct ScriptCommand s_gs173_g1_s0_station_sref_script[] = { /* 0x8229ba4 */ DEBUGINFO_O(20), @@ -32,7 +32,7 @@ static const struct ScriptCommand s_gs173_g1_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs173_g1_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs173_g1_s0_station_sref_script }; /* 0x8229c74 */ +static const ScriptRef s_gs173_g1_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs173_g1_s0_station_sref_script }; /* 0x8229c74 */ static const struct ScriptCommand s_gs173_g1_s0_eff0_script[] = { /* 0x8229c80 */ DEBUGINFO_O(38), @@ -57,7 +57,7 @@ static const struct ScriptCommand s_gs173_g2_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs173_g2_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs173_g2_s0_station_sref_script }; /* 0x8229d90 */ +static const ScriptRef s_gs173_g2_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs173_g2_s0_station_sref_script }; /* 0x8229d90 */ static const struct ScriptCommand s_gs173_g2_s0_eff0_script[] = { /* 0x8229d9c */ DEBUGINFO_O(63), @@ -92,7 +92,7 @@ static const struct ScriptCommand s_gs173_g3_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs173_g3_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs173_g3_s0_station_sref_script }; /* 0x8229f4c */ +static const ScriptRef s_gs173_g3_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs173_g3_s0_station_sref_script }; /* 0x8229f4c */ static const struct ScriptCommand s_gs173_g3_s0_eff0_script[] = { /* 0x8229f58 */ DEBUGINFO_O(98), @@ -124,7 +124,7 @@ static const struct GroundEffectData s_gs173_g3_s0_effs[] = { /* 0x822a020 */ /* 1 */ { 3, 0, 1, 1, { 18, 33, 0, CPOS_HALFTILE }, s_gs173_g3_s0_eff1_script }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x822a038 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x822a038 */ &s_gs173_g0_s0_station_sref, &s_gs173_g1_s0_station_sref, &s_gs173_g2_s0_station_sref, diff --git a/src/data/ground/ground_data_a04p04_station.h b/src/data/ground/ground_data_a04p04_station.h index 7ef0f2ffd..34a72ed4a 100644 --- a/src/data/ground/ground_data_a04p04_station.h +++ b/src/data/ground/ground_data_a04p04_station.h @@ -13,7 +13,7 @@ static const struct ScriptCommand s_gs174_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs174_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs174_g0_s0_station_sref_script }; /* 0x822a190 */ +static const ScriptRef s_gs174_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs174_g0_s0_station_sref_script }; /* 0x822a190 */ static const struct ScriptCommand s_gs174_g1_s0_station_sref_script[] = { /* 0x822a19c */ DEBUGINFO_O(19), @@ -29,7 +29,7 @@ static const struct ScriptCommand s_gs174_g1_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs174_g1_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs174_g1_s0_station_sref_script }; /* 0x822a24c */ +static const ScriptRef s_gs174_g1_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs174_g1_s0_station_sref_script }; /* 0x822a24c */ static const struct ScriptCommand s_gs174_g1_s0_lives0_dlg0[] = { /* 0x822a258 */ DEBUGINFO_O(35), @@ -194,7 +194,7 @@ static const struct GroundEffectData s_gs174_g1_s0_effs[] = { /* 0x822aec8 */ /* 0 */ { 0, 0, 1, 1, { 20, 12, 0, CPOS_HALFTILE }, NULL }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x822aed4 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x822aed4 */ &s_gs174_g0_s0_station_sref, &s_gs174_g1_s0_station_sref, }; diff --git a/src/data/ground/ground_data_a05p01_station.h b/src/data/ground/ground_data_a05p01_station.h index 74222cab6..fe50f20de 100644 --- a/src/data/ground/ground_data_a05p01_station.h +++ b/src/data/ground/ground_data_a05p01_station.h @@ -12,7 +12,7 @@ static const struct ScriptCommand s_gs175_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs175_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs175_g0_s0_station_sref_script }; /* 0x822afdc */ +static const ScriptRef s_gs175_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs175_g0_s0_station_sref_script }; /* 0x822afdc */ static const struct ScriptCommand s_gs175_g1_s0_station_sref_script[] = { /* 0x822afe8 */ DEBUGINFO_O(18), @@ -33,7 +33,7 @@ static const struct ScriptCommand s_gs175_g1_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs175_g1_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs175_g1_s0_station_sref_script }; /* 0x822b0e8 */ +static const ScriptRef s_gs175_g1_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs175_g1_s0_station_sref_script }; /* 0x822b0e8 */ static const struct ScriptCommand s_gs175_g1_s0_eff1_script[] = { /* 0x822b0f4 */ DEBUGINFO_O(39), @@ -76,7 +76,7 @@ static const struct ScriptCommand s_gs175_g2_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs175_g2_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs175_g2_s0_station_sref_script }; /* 0x822b3c4 */ +static const ScriptRef s_gs175_g2_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs175_g2_s0_station_sref_script }; /* 0x822b3c4 */ static const struct ScriptCommand s_gs175_g2_s0_eff1_script[] = { /* 0x822b3d0 */ DEBUGINFO_O(82), @@ -111,7 +111,7 @@ static const struct GroundEffectData s_gs175_g2_s0_effs[] = { /* 0x822b59c */ /* 1 */ { 3, 4, 2, 1, { 22, 15, CPOS_HALFTILE, CPOS_HALFTILE }, s_gs175_g2_s0_eff1_script }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x822b5b4 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x822b5b4 */ &s_gs175_g0_s0_station_sref, &s_gs175_g1_s0_station_sref, &s_gs175_g2_s0_station_sref, diff --git a/src/data/ground/ground_data_a05p02_station.h b/src/data/ground/ground_data_a05p02_station.h index 5214ca911..7f40a45c3 100644 --- a/src/data/ground/ground_data_a05p02_station.h +++ b/src/data/ground/ground_data_a05p02_station.h @@ -13,7 +13,7 @@ static const struct ScriptCommand s_gs176_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs176_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs176_g0_s0_station_sref_script }; /* 0x822b6d8 */ +static const ScriptRef s_gs176_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs176_g0_s0_station_sref_script }; /* 0x822b6d8 */ static const struct ScriptCommand s_gs176_g1_s0_station_sref_script[] = { /* 0x822b6e4 */ DEBUGINFO_O(19), @@ -88,7 +88,7 @@ static const struct ScriptCommand s_gs176_g1_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs176_g1_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs176_g1_s0_station_sref_script }; /* 0x822bb44 */ +static const ScriptRef s_gs176_g1_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs176_g1_s0_station_sref_script }; /* 0x822bb44 */ static const struct ScriptCommand s_gs176_g1_s0_eff1_script[] = { /* 0x822bb50 */ DEBUGINFO_O(94), @@ -118,7 +118,7 @@ static const struct GroundEffectData s_gs176_g1_s0_effs[] = { /* 0x822bd4c */ /* 1 */ { 3, 4, 2, 1, { 22, 15, CPOS_HALFTILE, CPOS_HALFTILE }, s_gs176_g1_s0_eff1_script }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x822bd64 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x822bd64 */ &s_gs176_g0_s0_station_sref, &s_gs176_g1_s0_station_sref, }; diff --git a/src/data/ground/ground_data_a05p03_station.h b/src/data/ground/ground_data_a05p03_station.h index b0ef76edb..f0b556d39 100644 --- a/src/data/ground/ground_data_a05p03_station.h +++ b/src/data/ground/ground_data_a05p03_station.h @@ -13,7 +13,7 @@ static const struct ScriptCommand s_gs177_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs177_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs177_g0_s0_station_sref_script }; /* 0x822be54 */ +static const ScriptRef s_gs177_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs177_g0_s0_station_sref_script }; /* 0x822be54 */ static const struct ScriptCommand s_gs177_g1_s0_station_sref_script[] = { /* 0x822be60 */ DEBUGINFO_O(19), @@ -54,12 +54,12 @@ static const struct ScriptCommand s_gs177_g1_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs177_g1_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs177_g1_s0_station_sref_script }; /* 0x822c1ac */ +static const ScriptRef s_gs177_g1_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs177_g1_s0_station_sref_script }; /* 0x822c1ac */ static const struct GroundEffectData s_gs177_g1_s0_effs[] = { /* 0x822c1b8 */ /* 0 */ { 0, 0, 1, 1, { 21, 15, CPOS_HALFTILE, CPOS_HALFTILE }, NULL }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x822c1c4 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x822c1c4 */ &s_gs177_g0_s0_station_sref, &s_gs177_g1_s0_station_sref, }; diff --git a/src/data/ground/ground_data_b01p01a_station.h b/src/data/ground/ground_data_b01p01a_station.h index 345dbd818..d701505cf 100644 --- a/src/data/ground/ground_data_b01p01a_station.h +++ b/src/data/ground/ground_data_b01p01a_station.h @@ -282,7 +282,7 @@ static const struct ScriptCommand s_gs9_g0_s0_station_sref_script[] = { /* 0x819 RET, }; -static const struct ScriptRef s_gs9_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs9_g0_s0_station_sref_script }; /* 0x819bec8 */ +static const ScriptRef s_gs9_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs9_g0_s0_station_sref_script }; /* 0x819bec8 */ static const struct ScriptCommand s_gs9_g0_s0_evt0_sref_script[] = { /* 0x819bed4 */ @@ -295,7 +295,7 @@ static const struct ScriptCommand s_gs9_g0_s0_evt0_sref_script[] = { /* 0x819bed HALT, }; -static const struct ScriptRef s_gs9_g0_s0_evt0_sref = { GETOUT_NORMAL, 2, NULL, s_gs9_g0_s0_evt0_sref_script }; /* 0x819bf44 */ +static const ScriptRef s_gs9_g0_s0_evt0_sref = { GETOUT_NORMAL, SCRIPT_TYPE_02, NULL, s_gs9_g0_s0_evt0_sref_script }; /* 0x819bf44 */ static const struct ScriptCommand s_gs9_g0_s0_evt1_sref_script[] = { /* 0x819bf50 */ DEBUGINFO_O(442), @@ -329,7 +329,7 @@ static const struct ScriptCommand s_gs9_g0_s0_evt1_sref_script[] = { /* 0x819bf5 RET, }; -static const struct ScriptRef s_gs9_g0_s0_evt1_sref = { GETOUT_NORMAL, 2, NULL, s_gs9_g0_s0_evt1_sref_script }; /* 0x819c174 */ +static const ScriptRef s_gs9_g0_s0_evt1_sref = { GETOUT_NORMAL, SCRIPT_TYPE_02, NULL, s_gs9_g0_s0_evt1_sref_script }; /* 0x819c174 */ static const struct ScriptCommand s_gs9_g0_s0_evt2_sref_script[] = { /* 0x819c180 */ DEBUGINFO_O(476), @@ -361,7 +361,7 @@ static const struct ScriptCommand s_gs9_g0_s0_evt2_sref_script[] = { /* 0x819c18 HALT, }; -static const struct ScriptRef s_gs9_g0_s0_evt2_sref = { GETOUT_NORMAL, 2, NULL, s_gs9_g0_s0_evt2_sref_script }; /* 0x819c330 */ +static const ScriptRef s_gs9_g0_s0_evt2_sref = { GETOUT_NORMAL, SCRIPT_TYPE_02, NULL, s_gs9_g0_s0_evt2_sref_script }; /* 0x819c330 */ static const struct ScriptCommand s_gs9_g0_s0_evt3_sref_script[] = { /* 0x819c33c */ @@ -370,7 +370,7 @@ static const struct ScriptCommand s_gs9_g0_s0_evt3_sref_script[] = { /* 0x819c33 HALT, }; -static const struct ScriptRef s_gs9_g0_s0_evt3_sref = { GETOUT_NORMAL, 2, NULL, s_gs9_g0_s0_evt3_sref_script }; /* 0x819c36c */ +static const ScriptRef s_gs9_g0_s0_evt3_sref = { GETOUT_NORMAL, SCRIPT_TYPE_02, NULL, s_gs9_g0_s0_evt3_sref_script }; /* 0x819c36c */ static const struct ScriptCommand s_gs9_g0_s0_obj0_dlg2[] = { /* 0x819c378 */ DEBUGINFO_O(517), @@ -865,7 +865,7 @@ static const struct ScriptCommand s_gs9_g1_s0_station_sref_script[] = { /* 0x819 RET_DIRECT, }; -static const struct ScriptRef s_gs9_g1_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs9_g1_s0_station_sref_script }; /* 0x819e758 */ +static const ScriptRef s_gs9_g1_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs9_g1_s0_station_sref_script }; /* 0x819e758 */ @@ -905,7 +905,7 @@ static const struct ScriptCommand s_gs9_g2_s0_station_sref_script[] = { /* 0x819 RET_DIRECT, }; -static const struct ScriptRef s_gs9_g2_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs9_g2_s0_station_sref_script }; /* 0x819e8b4 */ +static const ScriptRef s_gs9_g2_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs9_g2_s0_station_sref_script }; /* 0x819e8b4 */ static const struct ScriptCommand s_gs9_g2_s0_eff0_script[] = { /* 0x819e8c0 */ DEBUGINFO_O(1052), @@ -968,7 +968,7 @@ static const struct ScriptCommand s_gs9_g3_s0_station_sref_script[] = { /* 0x819 RET, }; -static const struct ScriptRef s_gs9_g3_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs9_g3_s0_station_sref_script }; /* 0x819ebb4 */ +static const ScriptRef s_gs9_g3_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs9_g3_s0_station_sref_script }; /* 0x819ebb4 */ static const struct ScriptCommand s_gs9_g4_s0_station_sref_script[] = { /* 0x819ebc0 */ DEBUGINFO_O(1115), @@ -1023,7 +1023,7 @@ static const struct ScriptCommand s_gs9_g4_s0_station_sref_script[] = { /* 0x819 RET_DIRECT, }; -static const struct ScriptRef s_gs9_g4_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs9_g4_s0_station_sref_script }; /* 0x819eee0 */ +static const ScriptRef s_gs9_g4_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs9_g4_s0_station_sref_script }; /* 0x819eee0 */ @@ -1057,7 +1057,7 @@ static const struct ScriptCommand s_gs9_g5_s0_station_sref_script[] = { /* 0x819 RET, }; -static const struct ScriptRef s_gs9_g5_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs9_g5_s0_station_sref_script }; /* 0x819f03c */ +static const ScriptRef s_gs9_g5_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs9_g5_s0_station_sref_script }; /* 0x819f03c */ static const struct ScriptCommand s_gs9_g5_s0_lives0_dlg0[] = { /* 0x819f048 */ DEBUGINFO_O(1204), @@ -1114,7 +1114,7 @@ static const struct ScriptCommand s_gs9_g6_s0_station_sref_script[] = { /* 0x819 RET, }; -static const struct ScriptRef s_gs9_g6_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs9_g6_s0_station_sref_script }; /* 0x819f39c */ +static const ScriptRef s_gs9_g6_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs9_g6_s0_station_sref_script }; /* 0x819f39c */ static const struct ScriptCommand s_gs9_g6_s1_lives0_dlg0[] = { /* 0x819f3a8 */ @@ -1179,7 +1179,7 @@ static const struct ScriptCommand s_gs9_g7_s0_station_sref_script[] = { /* 0x819 RET, }; -static const struct ScriptRef s_gs9_g7_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs9_g7_s0_station_sref_script }; /* 0x819f7b8 */ +static const ScriptRef s_gs9_g7_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs9_g7_s0_station_sref_script }; /* 0x819f7b8 */ static const struct ScriptCommand s_gs9_g7_s0_lives0_dlg0[] = { /* 0x819f7c4 */ DEBUGINFO_O(1326), @@ -1223,7 +1223,7 @@ static const struct ScriptCommand s_gs9_g8_s0_station_sref_script[] = { /* 0x819 RET, }; -static const struct ScriptRef s_gs9_g8_s0_station_sref = { EVENT_WAKEUP, 7, NULL, s_gs9_g8_s0_station_sref_script }; /* 0x819f9a4 */ +static const ScriptRef s_gs9_g8_s0_station_sref = { EVENT_WAKEUP, SCRIPT_TYPE_07, NULL, s_gs9_g8_s0_station_sref_script }; /* 0x819f9a4 */ static const struct ScriptCommand s_gs9_g8_s0_lives0_dlg0[] = { /* 0x819f9b0 */ DEBUGINFO_O(1370), @@ -1417,7 +1417,7 @@ static const struct ScriptCommand s_gs9_g17_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g17_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs9_g17_s0_station_sref_script }; /* 0x81a0500 */ +static const ScriptRef s_gs9_g17_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs9_g17_s0_station_sref_script }; /* 0x81a0500 */ static const struct ScriptCommand s_gs9_g17_s0_eff0_script[] = { /* 0x81a050c - PART 1 0:18:58-0:19:03 - Possibly the camera scroll? WAIT timing seems to match */ @@ -1695,7 +1695,7 @@ static const struct ScriptCommand s_gs9_g18_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g18_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs9_g18_s0_station_sref_script }; /* 0x81a2390 */ +static const ScriptRef s_gs9_g18_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs9_g18_s0_station_sref_script }; /* 0x81a2390 */ static const struct ScriptCommand s_gs9_g18_s0_eff0_script[] = { /* 0x81a239c */ DEBUGINFO_O(1842), @@ -2016,7 +2016,7 @@ static const struct ScriptCommand s_gs9_g19_s0_station_sref_script[] = { /* 0x81 RET_DIRECT, }; -static const struct ScriptRef s_gs9_g19_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs9_g19_s0_station_sref_script }; /* 0x81a40e0 */ +static const ScriptRef s_gs9_g19_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs9_g19_s0_station_sref_script }; /* 0x81a40e0 */ static const struct ScriptCommand s_gs9_g19_s0_lives0_dlg0[] = { /* 0x81a40ec */ DEBUGINFO_O(2163), @@ -2061,7 +2061,7 @@ static const struct ScriptCommand s_gs9_g19_s0_evt0_sref_script[] = { /* 0x81a43 HALT, }; -static const struct ScriptRef s_gs9_g19_s0_evt0_sref = { GETOUT_NORMAL, 2, NULL, s_gs9_g19_s0_evt0_sref_script }; /* 0x81a4380 */ +static const ScriptRef s_gs9_g19_s0_evt0_sref = { GETOUT_NORMAL, SCRIPT_TYPE_02, NULL, s_gs9_g19_s0_evt0_sref_script }; /* 0x81a4380 */ static const struct ScriptCommand s_gs9_g19_s1_station_sref_script[] = { /* 0x81a438c */ DEBUGINFO_O(2208), @@ -2072,7 +2072,7 @@ static const struct ScriptCommand s_gs9_g19_s1_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g19_s1_station_sref = { EVENT_WAKEUP, 7, NULL, s_gs9_g19_s1_station_sref_script }; /* 0x81a43ec */ +static const ScriptRef s_gs9_g19_s1_station_sref = { EVENT_WAKEUP, SCRIPT_TYPE_07, NULL, s_gs9_g19_s1_station_sref_script }; /* 0x81a43ec */ static const struct ScriptCommand s_gs9_g19_s1_lives0_dlg0[] = { /* 0x81a43f8 */ DEBUGINFO_O(2219), @@ -2131,7 +2131,7 @@ static const struct ScriptCommand s_gs9_g20_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g20_s0_station_sref = { EVENT_WAKEUP, 7, NULL, s_gs9_g20_s0_station_sref_script }; /* 0x81a484c */ +static const ScriptRef s_gs9_g20_s0_station_sref = { EVENT_WAKEUP, SCRIPT_TYPE_07, NULL, s_gs9_g20_s0_station_sref_script }; /* 0x81a484c */ static const struct ScriptCommand s_gs9_g20_s0_eff0_script[] = { /* 0x81a4858 */ DEBUGINFO_O(2278), @@ -2277,7 +2277,7 @@ static const struct ScriptCommand s_gs9_g21_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g21_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs9_g21_s0_station_sref_script }; /* 0x81a536c */ +static const ScriptRef s_gs9_g21_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs9_g21_s0_station_sref_script }; /* 0x81a536c */ static const struct ScriptCommand s_gs9_g21_s0_lives0_dlg0[] = { /* 0x81a5378 */ DEBUGINFO_O(2424), @@ -2325,7 +2325,7 @@ static const struct ScriptCommand s_gs9_g22_s0_station_sref_script[] = { /* 0x81 RET_DIRECT, }; -static const struct ScriptRef s_gs9_g22_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs9_g22_s0_station_sref_script }; /* 0x81a566c */ +static const ScriptRef s_gs9_g22_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs9_g22_s0_station_sref_script }; /* 0x81a566c */ static const struct ScriptCommand s_gs9_g22_s1_station_sref_script[] = { /* 0x81a5678 */ DEBUGINFO_O(2472), @@ -2333,7 +2333,7 @@ static const struct ScriptCommand s_gs9_g22_s1_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g22_s1_station_sref = { EVENT_WAKEUP, 7, NULL, s_gs9_g22_s1_station_sref_script }; /* 0x81a56a8 */ +static const ScriptRef s_gs9_g22_s1_station_sref = { EVENT_WAKEUP, SCRIPT_TYPE_07, NULL, s_gs9_g22_s1_station_sref_script }; /* 0x81a56a8 */ static const struct ScriptCommand s_gs9_g22_s1_lives0_dlg0[] = { /* 0x81a56b4 */ DEBUGINFO_O(2480), @@ -2390,7 +2390,7 @@ static const struct ScriptCommand s_gs9_g22_s2_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g22_s2_station_sref = { EVENT_WAKEUP, 7, NULL, s_gs9_g22_s2_station_sref_script }; /* 0x81a5a70 */ +static const ScriptRef s_gs9_g22_s2_station_sref = { EVENT_WAKEUP, SCRIPT_TYPE_07, NULL, s_gs9_g22_s2_station_sref_script }; /* 0x81a5a70 */ static const struct ScriptCommand s_gs9_g22_s2_lives0_dlg0[] = { /* 0x81a5a7c */ DEBUGINFO_O(2537), @@ -2454,7 +2454,7 @@ static const struct ScriptCommand s_gs9_g23_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g23_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs9_g23_s0_station_sref_script }; /* 0x81a5dcc */ +static const ScriptRef s_gs9_g23_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs9_g23_s0_station_sref_script }; /* 0x81a5dcc */ static const struct ScriptCommand s_gs9_g23_s0_lives0_dlg0[] = { /* 0x81a5dd8 */ DEBUGINFO_O(2601), @@ -2506,7 +2506,7 @@ static const struct ScriptCommand s_gs9_g24_s0_station_sref_script[] = { /* 0x81 RET_DIRECT, }; -static const struct ScriptRef s_gs9_g24_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs9_g24_s0_station_sref_script }; /* 0x81a6378 */ +static const ScriptRef s_gs9_g24_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs9_g24_s0_station_sref_script }; /* 0x81a6378 */ static const struct ScriptCommand s_gs9_g24_s0_obj0_dlg2[] = { /* 0x81a6384 */ DEBUGINFO_O(2653), @@ -2533,7 +2533,7 @@ static const struct ScriptCommand s_gs9_g24_s0_evt0_sref_script[] = { /* 0x81a64 HALT, }; -static const struct ScriptRef s_gs9_g24_s0_evt0_sref = { GETOUT_NORMAL, 2, NULL, s_gs9_g24_s0_evt0_sref_script }; /* 0x81a64e4 */ +static const ScriptRef s_gs9_g24_s0_evt0_sref = { GETOUT_NORMAL, SCRIPT_TYPE_02, NULL, s_gs9_g24_s0_evt0_sref_script }; /* 0x81a64e4 */ static const struct ScriptCommand s_gs9_g24_s1_station_sref_script[] = { /* 0x81a64f0 */ DEBUGINFO_O(2680), @@ -2544,7 +2544,7 @@ static const struct ScriptCommand s_gs9_g24_s1_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g24_s1_station_sref = { EVENT_WAKEUP, 7, NULL, s_gs9_g24_s1_station_sref_script }; /* 0x81a6550 */ +static const ScriptRef s_gs9_g24_s1_station_sref = { EVENT_WAKEUP, SCRIPT_TYPE_07, NULL, s_gs9_g24_s1_station_sref_script }; /* 0x81a6550 */ static const struct ScriptCommand s_gs9_g24_s1_lives0_dlg0[] = { /* 0x81a655c */ DEBUGINFO_O(2691), @@ -2568,7 +2568,7 @@ static const struct ScriptCommand s_gs9_g25_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g25_s0_station_sref = { EVENT_WAKEUP, 7, NULL, s_gs9_g25_s0_station_sref_script }; /* 0x81a6684 */ +static const ScriptRef s_gs9_g25_s0_station_sref = { EVENT_WAKEUP, SCRIPT_TYPE_07, NULL, s_gs9_g25_s0_station_sref_script }; /* 0x81a6684 */ static const struct ScriptCommand s_gs9_g25_s0_eff0_script[] = { /* 0x81a6690 */ DEBUGINFO_O(2715), @@ -2689,7 +2689,7 @@ static const struct ScriptCommand s_gs9_g26_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g26_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs9_g26_s0_station_sref_script }; /* 0x81a7134 */ +static const ScriptRef s_gs9_g26_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs9_g26_s0_station_sref_script }; /* 0x81a7134 */ static const struct ScriptCommand s_gs9_g26_s0_lives0_dlg0[] = { /* 0x81a7140 */ DEBUGINFO_O(2836), @@ -2805,7 +2805,7 @@ static const struct ScriptCommand s_gs9_g27_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g27_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs9_g27_s0_station_sref_script }; /* 0x81a7904 */ +static const ScriptRef s_gs9_g27_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs9_g27_s0_station_sref_script }; /* 0x81a7904 */ static const struct ScriptCommand s_gs9_g27_s0_lives0_dlg0[] = { /* 0x81a7910 */ DEBUGINFO_O(2952), @@ -2854,7 +2854,7 @@ static const struct ScriptCommand s_gs9_g28_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g28_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs9_g28_s0_station_sref_script }; /* 0x81a7bf4 */ +static const ScriptRef s_gs9_g28_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs9_g28_s0_station_sref_script }; /* 0x81a7bf4 */ static const struct ScriptCommand s_gs9_g28_s0_eff0_script[] = { /* 0x81a7c00 */ DEBUGINFO_O(3001), @@ -3521,7 +3521,7 @@ static const struct ScriptCommand s_gs9_g29_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g29_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs9_g29_s0_station_sref_script }; /* 0x81ab6c8 */ +static const ScriptRef s_gs9_g29_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs9_g29_s0_station_sref_script }; /* 0x81ab6c8 */ static const struct ScriptCommand s_gs9_g29_s0_lives0_dlg0[] = { /* 0x81ab6d4 */ DEBUGINFO_O(3668), @@ -3712,7 +3712,7 @@ static const struct ScriptCommand s_gs9_g30_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g30_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs9_g30_s0_station_sref_script }; /* 0x81acc48 */ +static const ScriptRef s_gs9_g30_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs9_g30_s0_station_sref_script }; /* 0x81acc48 */ static const struct ScriptCommand s_gs9_g30_s0_eff0_script[] = { /* 0x81acc54 */ DEBUGINFO_O(3859), @@ -4165,7 +4165,7 @@ static const struct ScriptCommand s_gs9_g31_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g31_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs9_g31_s0_station_sref_script }; /* 0x81aed3c */ +static const ScriptRef s_gs9_g31_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs9_g31_s0_station_sref_script }; /* 0x81aed3c */ static const struct ScriptCommand s_gs9_g31_s0_eff0_script[] = { /* 0x81aed48 */ DEBUGINFO_O(4312), @@ -4526,7 +4526,7 @@ static const struct ScriptCommand s_gs9_g32_s0_station_sref_script[] = { /* 0x81 RET_DIRECT, }; -static const struct ScriptRef s_gs9_g32_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs9_g32_s0_station_sref_script }; /* 0x81b07dc */ +static const ScriptRef s_gs9_g32_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs9_g32_s0_station_sref_script }; /* 0x81b07dc */ static const struct ScriptCommand s_gs9_g32_s0_lives0_dlg0[] = { /* 0x81b07e8 */ DEBUGINFO_O(4673), @@ -4561,7 +4561,7 @@ static const struct ScriptCommand s_gs9_g33_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g33_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs9_g33_s0_station_sref_script }; /* 0x81b09f4 */ +static const ScriptRef s_gs9_g33_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs9_g33_s0_station_sref_script }; /* 0x81b09f4 */ static const struct ScriptCommand s_gs9_g33_s0_lives0_dlg0[] = { /* 0x81b0a00 */ DEBUGINFO_O(4708), @@ -4604,7 +4604,7 @@ static const struct ScriptCommand s_gs9_g34_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g34_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs9_g34_s0_station_sref_script }; /* 0x81b0c8c */ +static const ScriptRef s_gs9_g34_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs9_g34_s0_station_sref_script }; /* 0x81b0c8c */ static const struct ScriptCommand s_gs9_g34_s0_lives0_dlg0[] = { /* 0x81b0c98 */ DEBUGINFO_O(4751), @@ -4920,7 +4920,7 @@ static const struct ScriptCommand s_gs9_g35_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g35_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs9_g35_s0_station_sref_script }; /* 0x81b2534 */ +static const ScriptRef s_gs9_g35_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs9_g35_s0_station_sref_script }; /* 0x81b2534 */ static const struct ScriptCommand s_gs9_g35_s0_lives0_dlg0[] = { /* 0x81b2540 */ DEBUGINFO_O(5067), @@ -5010,7 +5010,7 @@ static const struct ScriptCommand s_gs9_g36_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g36_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs9_g36_s0_station_sref_script }; /* 0x81b2aa4 */ +static const ScriptRef s_gs9_g36_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs9_g36_s0_station_sref_script }; /* 0x81b2aa4 */ static const struct ScriptCommand s_gs9_g36_s0_lives0_dlg0[] = { /* 0x81b2ab0 */ DEBUGINFO_O(5157), @@ -5170,7 +5170,7 @@ static const struct ScriptCommand s_gs9_g37_s0_station_sref_script[] = { /* 0x81 RET_DIRECT, }; -static const struct ScriptRef s_gs9_g37_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs9_g37_s0_station_sref_script }; /* 0x81b38d0 */ +static const ScriptRef s_gs9_g37_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs9_g37_s0_station_sref_script }; /* 0x81b38d0 */ static const struct ScriptCommand s_gs9_g37_s0_lives0_dlg0[] = { /* 0x81b38dc */ DEBUGINFO_O(5317), @@ -5204,7 +5204,7 @@ static const struct ScriptCommand s_gs9_g38_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g38_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs9_g38_s0_station_sref_script }; /* 0x81b3ac0 */ +static const ScriptRef s_gs9_g38_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs9_g38_s0_station_sref_script }; /* 0x81b3ac0 */ static const struct ScriptCommand s_gs9_g38_s0_lives0_dlg0[] = { /* 0x81b3acc */ DEBUGINFO_O(5351), @@ -5246,7 +5246,7 @@ static const struct ScriptCommand s_gs9_g39_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g39_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs9_g39_s0_station_sref_script }; /* 0x81b3d24 */ +static const ScriptRef s_gs9_g39_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs9_g39_s0_station_sref_script }; /* 0x81b3d24 */ static const struct ScriptCommand s_gs9_g39_s0_eff0_script[] = { /* 0x81b3d30 */ DEBUGINFO_O(5393), @@ -5693,7 +5693,7 @@ static const struct ScriptCommand s_gs9_g40_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g40_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs9_g40_s0_station_sref_script }; /* 0x81b6030 */ +static const ScriptRef s_gs9_g40_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs9_g40_s0_station_sref_script }; /* 0x81b6030 */ static const struct ScriptCommand s_gs9_g40_s0_lives0_dlg0[] = { /* 0x81b603c */ DEBUGINFO_O(5840), @@ -5741,7 +5741,7 @@ static const struct ScriptCommand s_gs9_g41_s0_station_sref_script[] = { /* 0x81 RET_DIRECT, }; -static const struct ScriptRef s_gs9_g41_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs9_g41_s0_station_sref_script }; /* 0x81b6548 */ +static const ScriptRef s_gs9_g41_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs9_g41_s0_station_sref_script }; /* 0x81b6548 */ static const struct ScriptCommand s_gs9_g42_s0_station_sref_script[] = { /* 0x81b6554 */ DEBUGINFO_O(5888), @@ -5759,7 +5759,7 @@ static const struct ScriptCommand s_gs9_g42_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g42_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs9_g42_s0_station_sref_script }; /* 0x81b6624 */ +static const ScriptRef s_gs9_g42_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs9_g42_s0_station_sref_script }; /* 0x81b6624 */ static const struct ScriptCommand s_gs9_g42_s0_lives0_dlg0[] = { /* 0x81b6630 */ DEBUGINFO_O(5906), @@ -5804,7 +5804,7 @@ static const struct ScriptCommand s_gs9_g43_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g43_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs9_g43_s0_station_sref_script }; /* 0x81b6880 */ +static const ScriptRef s_gs9_g43_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs9_g43_s0_station_sref_script }; /* 0x81b6880 */ static const struct ScriptCommand s_gs9_g43_s0_eff0_script[] = { /* 0x81b688c */ DEBUGINFO_O(5951), @@ -5978,7 +5978,7 @@ static const struct ScriptCommand s_gs9_g44_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g44_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs9_g44_s0_station_sref_script }; /* 0x81b78b4 */ +static const ScriptRef s_gs9_g44_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs9_g44_s0_station_sref_script }; /* 0x81b78b4 */ static const struct ScriptCommand s_gs9_g44_s0_lives0_dlg0[] = { /* 0x81b78c0 */ DEBUGINFO_O(6125), @@ -6024,7 +6024,7 @@ static const struct ScriptCommand s_gs9_g45_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g45_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs9_g45_s0_station_sref_script }; /* 0x81b7b44 */ +static const ScriptRef s_gs9_g45_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs9_g45_s0_station_sref_script }; /* 0x81b7b44 */ static const struct ScriptCommand s_gs9_g45_s0_lives0_dlg0[] = { /* 0x81b7b50 */ DEBUGINFO_O(6171), @@ -6446,7 +6446,7 @@ static const struct ScriptCommand s_gs9_g46_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g46_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs9_g46_s0_station_sref_script }; /* 0x81ba658 */ +static const ScriptRef s_gs9_g46_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs9_g46_s0_station_sref_script }; /* 0x81ba658 */ static const struct ScriptCommand s_gs9_g46_s0_lives0_dlg0[] = { /* 0x81ba664 */ DEBUGINFO_O(6593), @@ -6562,7 +6562,7 @@ static const struct ScriptCommand s_gs9_g47_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g47_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs9_g47_s0_station_sref_script }; /* 0x81bb148 */ +static const ScriptRef s_gs9_g47_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs9_g47_s0_station_sref_script }; /* 0x81bb148 */ static const struct ScriptCommand s_gs9_g47_s0_lives0_dlg0[] = { /* 0x81bb154 */ DEBUGINFO_O(6709), @@ -6629,7 +6629,7 @@ static const struct ScriptCommand s_gs9_g48_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g48_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs9_g48_s0_station_sref_script }; /* 0x81bb620 */ +static const ScriptRef s_gs9_g48_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs9_g48_s0_station_sref_script }; /* 0x81bb620 */ static const struct ScriptCommand s_gs9_g48_s0_eff0_script[] = { /* 0x81bb62c */ DEBUGINFO_O(6776), @@ -7202,7 +7202,7 @@ static const struct ScriptCommand s_gs9_g49_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g49_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs9_g49_s0_station_sref_script }; /* 0x81bea5c */ +static const ScriptRef s_gs9_g49_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs9_g49_s0_station_sref_script }; /* 0x81bea5c */ static const struct ScriptCommand s_gs9_g49_s0_lives0_dlg0[] = { /* 0x81bea68 */ @@ -7261,7 +7261,7 @@ static const struct ScriptCommand s_gs9_g50_s0_station_sref_script[] = { /* 0x81 RET_DIRECT, }; -static const struct ScriptRef s_gs9_g50_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs9_g50_s0_station_sref_script }; /* 0x81beebc */ +static const ScriptRef s_gs9_g50_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs9_g50_s0_station_sref_script }; /* 0x81beebc */ static const struct ScriptCommand s_gs9_g50_s0_lives0_dlg0[] = { /* 0x81beec8 */ DEBUGINFO_O(7408), @@ -7303,7 +7303,7 @@ static const struct ScriptCommand s_gs9_g50_s1_evt0_sref_script[] = { /* 0x81bf0 RET, }; -static const struct ScriptRef s_gs9_g50_s1_evt0_sref = { NORMAL_EVENT, 7, NULL, s_gs9_g50_s1_evt0_sref_script }; /* 0x81bf110 */ +static const ScriptRef s_gs9_g50_s1_evt0_sref = { NORMAL_EVENT, SCRIPT_TYPE_07, NULL, s_gs9_g50_s1_evt0_sref_script }; /* 0x81bf110 */ static const struct ScriptCommand s_gs9_g50_s2_station_sref_script[] = { /* 0x81bf11c */ DEBUGINFO_O(7450), @@ -7314,7 +7314,7 @@ static const struct ScriptCommand s_gs9_g50_s2_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g50_s2_station_sref = { EVENT_WAKEUP, 7, NULL, s_gs9_g50_s2_station_sref_script }; /* 0x81bf17c */ +static const ScriptRef s_gs9_g50_s2_station_sref = { EVENT_WAKEUP, SCRIPT_TYPE_07, NULL, s_gs9_g50_s2_station_sref_script }; /* 0x81bf17c */ static const struct ScriptCommand s_gs9_g50_s2_lives0_dlg0[] = { /* 0x81bf188 */ DEBUGINFO_O(7461), @@ -7378,7 +7378,7 @@ static const struct ScriptCommand s_gs9_g50_s3_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g50_s3_station_sref = { EVENT_WAKEUP, 7, NULL, s_gs9_g50_s3_station_sref_script }; /* 0x81bf63c */ +static const ScriptRef s_gs9_g50_s3_station_sref = { EVENT_WAKEUP, SCRIPT_TYPE_07, NULL, s_gs9_g50_s3_station_sref_script }; /* 0x81bf63c */ static const struct ScriptCommand s_gs9_g50_s3_lives0_dlg0[] = { /* 0x81bf648 */ DEBUGINFO_O(7525), @@ -7411,7 +7411,7 @@ static const struct ScriptCommand s_gs9_g51_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g51_s0_station_sref = { EVENT_WAKEUP, 7, NULL, s_gs9_g51_s0_station_sref_script }; /* 0x81bf7c8 */ +static const ScriptRef s_gs9_g51_s0_station_sref = { EVENT_WAKEUP, SCRIPT_TYPE_07, NULL, s_gs9_g51_s0_station_sref_script }; /* 0x81bf7c8 */ static const struct ScriptCommand s_gs9_g51_s0_lives0_dlg0[] = { /* 0x81bf7d4 */ DEBUGINFO_O(7558), @@ -7481,7 +7481,7 @@ static const struct ScriptCommand s_gs9_g52_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g52_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs9_g52_s0_station_sref_script }; /* 0x81bff64 */ +static const ScriptRef s_gs9_g52_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs9_g52_s0_station_sref_script }; /* 0x81bff64 */ static const struct ScriptCommand s_gs9_g52_s0_lives0_dlg0[] = { /* 0x81bff70 */ DEBUGINFO_O(7628), @@ -7542,7 +7542,7 @@ static const struct ScriptCommand s_gs9_g53_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g53_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs9_g53_s0_station_sref_script }; /* 0x81c01f0 */ +static const ScriptRef s_gs9_g53_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs9_g53_s0_station_sref_script }; /* 0x81c01f0 */ static const struct ScriptCommand s_gs9_g53_s0_eff0_script[] = { /* 0x81c01fc */ DEBUGINFO_O(7689), @@ -8055,7 +8055,7 @@ static const struct ScriptCommand s_gs9_g55_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g55_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs9_g55_s0_station_sref_script }; /* 0x81c23b4 */ +static const ScriptRef s_gs9_g55_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs9_g55_s0_station_sref_script }; /* 0x81c23b4 */ static const struct ScriptCommand s_gs9_g55_s0_lives0_dlg0[] = { /* 0x81c23c0 */ DEBUGINFO_O(8202), @@ -8167,7 +8167,7 @@ static const struct ScriptCommand s_gs9_g56_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g56_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs9_g56_s0_station_sref_script }; /* 0x81c2b58 */ +static const ScriptRef s_gs9_g56_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs9_g56_s0_station_sref_script }; /* 0x81c2b58 */ static const struct ScriptCommand s_gs9_g57_s0_station_sref_script[] = { /* 0x81c2b64 */ DEBUGINFO_O(8314), @@ -8186,7 +8186,7 @@ static const struct ScriptCommand s_gs9_g57_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g57_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs9_g57_s0_station_sref_script }; /* 0x81c2c44 */ +static const ScriptRef s_gs9_g57_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs9_g57_s0_station_sref_script }; /* 0x81c2c44 */ static const struct ScriptCommand s_gs9_g57_s0_lives0_dlg0[] = { /* 0x81c2c50 */ DEBUGINFO_O(8333), @@ -8275,7 +8275,7 @@ static const struct ScriptCommand s_gs9_g58_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g58_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs9_g58_s0_station_sref_script }; /* 0x81c372c */ +static const ScriptRef s_gs9_g58_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs9_g58_s0_station_sref_script }; /* 0x81c372c */ static const struct ScriptCommand s_gs9_g58_s0_eff0_script[] = { /* 0x81c3738 */ DEBUGINFO_O(8422), @@ -8419,7 +8419,7 @@ static const struct ScriptCommand s_gs9_g59_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g59_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs9_g59_s0_station_sref_script }; /* 0x81c40f4 */ +static const ScriptRef s_gs9_g59_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs9_g59_s0_station_sref_script }; /* 0x81c40f4 */ static const struct ScriptCommand s_gs9_g59_s0_lives0_dlg0[] = { /* 0x81c4100 */ DEBUGINFO_O(8566), @@ -8473,7 +8473,7 @@ static const struct ScriptCommand s_gs9_g60_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g60_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs9_g60_s0_station_sref_script }; /* 0x81c458c */ +static const ScriptRef s_gs9_g60_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs9_g60_s0_station_sref_script }; /* 0x81c458c */ static const struct ScriptCommand s_gs9_g60_s0_eff0_script[] = { /* 0x81c4598 */ DEBUGINFO_O(8620), @@ -8525,7 +8525,7 @@ static const struct ScriptCommand s_gs9_g61_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g61_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs9_g61_s0_station_sref_script }; /* 0x81c4a34 */ +static const ScriptRef s_gs9_g61_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs9_g61_s0_station_sref_script }; /* 0x81c4a34 */ static const struct ScriptCommand s_gs9_g61_s0_lives0_dlg0[] = { /* 0x81c4a40 */ DEBUGINFO_O(8672), @@ -8575,7 +8575,7 @@ static const struct ScriptCommand s_gs9_g61_s1_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g61_s1_station_sref = { EVENT_WAKEUP, 7, NULL, s_gs9_g61_s1_station_sref_script }; /* 0x81c4da8 */ +static const ScriptRef s_gs9_g61_s1_station_sref = { EVENT_WAKEUP, SCRIPT_TYPE_07, NULL, s_gs9_g61_s1_station_sref_script }; /* 0x81c4da8 */ static const struct ScriptCommand s_gs9_g61_s1_lives0_dlg0[] = { /* 0x81c4db4 */ DEBUGINFO_O(8722), @@ -8616,7 +8616,7 @@ static const struct ScriptCommand s_gs9_g62_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g62_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs9_g62_s0_station_sref_script }; /* 0x81c4f94 */ +static const ScriptRef s_gs9_g62_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs9_g62_s0_station_sref_script }; /* 0x81c4f94 */ static const struct ScriptCommand s_gs9_g62_s0_eff0_script[] = { /* 0x81c4fa0 */ DEBUGINFO_O(8763), @@ -8719,7 +8719,7 @@ static const struct ScriptCommand s_gs9_g63_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g63_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs9_g63_s0_station_sref_script }; /* 0x81c56a8 */ +static const ScriptRef s_gs9_g63_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs9_g63_s0_station_sref_script }; /* 0x81c56a8 */ static const struct ScriptCommand s_gs9_g63_s0_lives0_dlg0[] = { /* 0x81c56b4 */ DEBUGINFO_O(8866), @@ -8762,7 +8762,7 @@ static const struct ScriptCommand s_gs9_g64_s0_station_sref_script[] = { /* 0x81 RET_DIRECT, }; -static const struct ScriptRef s_gs9_g64_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs9_g64_s0_station_sref_script }; /* 0x81c5ad4 */ +static const ScriptRef s_gs9_g64_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs9_g64_s0_station_sref_script }; /* 0x81c5ad4 */ static const struct ScriptCommand s_gs9_g64_s1_station_sref_script[] = { /* 0x81c5ae0 */ DEBUGINFO_O(8909), @@ -8772,7 +8772,7 @@ static const struct ScriptCommand s_gs9_g64_s1_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g64_s1_station_sref = { EVENT_WAKEUP, 7, NULL, s_gs9_g64_s1_station_sref_script }; /* 0x81c5b30 */ +static const ScriptRef s_gs9_g64_s1_station_sref = { EVENT_WAKEUP, SCRIPT_TYPE_07, NULL, s_gs9_g64_s1_station_sref_script }; /* 0x81c5b30 */ static const struct ScriptCommand s_gs9_g64_s1_lives0_dlg0[] = { /* 0x81c5b3c */ DEBUGINFO_O(8919), @@ -8802,7 +8802,7 @@ static const struct ScriptCommand s_gs9_g65_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g65_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs9_g65_s0_station_sref_script }; /* 0x81c5cc8 */ +static const ScriptRef s_gs9_g65_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs9_g65_s0_station_sref_script }; /* 0x81c5cc8 */ static const struct ScriptCommand s_gs9_g65_s0_lives0_dlg0[] = { /* 0x81c5cd4 */ DEBUGINFO_O(8949), @@ -8844,7 +8844,7 @@ static const struct ScriptCommand s_gs9_g66_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g66_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs9_g66_s0_station_sref_script }; /* 0x81c5f74 */ +static const ScriptRef s_gs9_g66_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs9_g66_s0_station_sref_script }; /* 0x81c5f74 */ static const struct ScriptCommand s_gs9_g67_s0_station_sref_script[] = { /* 0x81c5f80 */ DEBUGINFO_O(8991), @@ -8862,7 +8862,7 @@ static const struct ScriptCommand s_gs9_g67_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g67_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs9_g67_s0_station_sref_script }; /* 0x81c6050 */ +static const ScriptRef s_gs9_g67_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs9_g67_s0_station_sref_script }; /* 0x81c6050 */ static const struct ScriptCommand s_gs9_g67_s0_lives0_dlg0[] = { /* 0x81c605c */ DEBUGINFO_O(9009), @@ -8919,7 +8919,7 @@ static const struct ScriptCommand s_gs9_g68_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g68_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs9_g68_s0_station_sref_script }; /* 0x81c6514 */ +static const ScriptRef s_gs9_g68_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs9_g68_s0_station_sref_script }; /* 0x81c6514 */ static const struct ScriptCommand s_gs9_g68_s0_eff0_script[] = { /* 0x81c6520 */ DEBUGINFO_O(9066), @@ -9413,7 +9413,7 @@ static const struct ScriptCommand s_gs9_g69_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g69_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs9_g69_s0_station_sref_script }; /* 0x81c80b0 */ +static const ScriptRef s_gs9_g69_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs9_g69_s0_station_sref_script }; /* 0x81c80b0 */ static const struct ScriptCommand s_gs9_g69_s0_eff0_script[] = { /* 0x81c80bc */ DEBUGINFO_O(9560), @@ -9559,7 +9559,7 @@ static const struct ScriptCommand s_gs9_g70_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g70_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs9_g70_s0_station_sref_script }; /* 0x81c8914 */ +static const ScriptRef s_gs9_g70_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs9_g70_s0_station_sref_script }; /* 0x81c8914 */ static const struct ScriptCommand s_gs9_g71_s0_station_sref_script[] = { /* 0x81c8920 */ DEBUGINFO_O(9706), @@ -9571,7 +9571,7 @@ static const struct ScriptCommand s_gs9_g71_s0_station_sref_script[] = { /* 0x81 HALT, }; -static const struct ScriptRef s_gs9_g71_s0_station_sref = { EVENT_WAKEUP, 7, NULL, s_gs9_g71_s0_station_sref_script }; /* 0x81c8990 */ +static const ScriptRef s_gs9_g71_s0_station_sref = { EVENT_WAKEUP, SCRIPT_TYPE_07, NULL, s_gs9_g71_s0_station_sref_script }; /* 0x81c8990 */ static const struct ScriptCommand s_gs9_g71_s0_lives0_dlg0[] = { /* 0x81c899c */ DEBUGINFO_O(9718), @@ -9624,7 +9624,7 @@ static const struct ScriptCommand s_gs9_g72_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g72_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs9_g72_s0_station_sref_script }; /* 0x81c8d84 */ +static const ScriptRef s_gs9_g72_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs9_g72_s0_station_sref_script }; /* 0x81c8d84 */ static const struct ScriptCommand s_gs9_g72_s0_lives0_dlg0[] = { /* 0x81c8d90 */ DEBUGINFO_O(9771), @@ -9768,7 +9768,7 @@ static const struct ScriptCommand s_gs9_g73_s0_evt0_sref_script[] = { /* 0x81ca5 HALT, }; -static const struct ScriptRef s_gs9_g73_s0_evt0_sref = { GETOUT_NORMAL, 2, NULL, s_gs9_g73_s0_evt0_sref_script }; /* 0x81ca5b0 */ +static const ScriptRef s_gs9_g73_s0_evt0_sref = { GETOUT_NORMAL, SCRIPT_TYPE_02, NULL, s_gs9_g73_s0_evt0_sref_script }; /* 0x81ca5b0 */ static const struct ScriptCommand s_gs9_g74_s0_station_sref_script[] = { /* 0x81ca5bc */ DEBUGINFO_O(9915), @@ -9779,7 +9779,7 @@ static const struct ScriptCommand s_gs9_g74_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g74_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs9_g74_s0_station_sref_script }; /* 0x81ca61c */ +static const ScriptRef s_gs9_g74_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs9_g74_s0_station_sref_script }; /* 0x81ca61c */ static const struct ScriptCommand s_gs9_g74_s0_eff0_script[] = { /* 0x81ca628 */ DEBUGINFO_O(9926), @@ -10021,7 +10021,7 @@ static const struct ScriptCommand s_gs9_g75_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g75_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs9_g75_s0_station_sref_script }; /* 0x81cb7f8 */ +static const ScriptRef s_gs9_g75_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs9_g75_s0_station_sref_script }; /* 0x81cb7f8 */ static const struct ScriptCommand s_gs9_g75_s0_eff0_script[] = { /* 0x81cb804 */ DEBUGINFO_O(10168), @@ -11047,7 +11047,7 @@ static const struct ScriptCommand s_gs9_g76_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g76_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs9_g76_s0_station_sref_script }; /* 0x81d0340 */ +static const ScriptRef s_gs9_g76_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs9_g76_s0_station_sref_script }; /* 0x81d0340 */ static const struct ScriptCommand s_gs9_g76_s0_eff0_script[] = { /* 0x81d034c */ @@ -11411,7 +11411,7 @@ static const struct ScriptCommand s_gs9_g77_s0_station_sref_script[] = { /* 0x81 RET_DIRECT, }; -static const struct ScriptRef s_gs9_g77_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs9_g77_s0_station_sref_script }; /* 0x81d1bb8 */ +static const ScriptRef s_gs9_g77_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs9_g77_s0_station_sref_script }; /* 0x81d1bb8 */ static const struct ScriptCommand s_gs9_g77_s0_lives0_dlg0[] = { /* 0x81d1bc4 */ DEBUGINFO_O(11558), @@ -11536,7 +11536,7 @@ static const struct ScriptCommand s_gs9_g77_s1_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g77_s1_station_sref = { EVENT_WAKEUP, 7, NULL, s_gs9_g77_s1_station_sref_script }; /* 0x81d22f0 */ +static const ScriptRef s_gs9_g77_s1_station_sref = { EVENT_WAKEUP, SCRIPT_TYPE_07, NULL, s_gs9_g77_s1_station_sref_script }; /* 0x81d22f0 */ static const struct ScriptCommand s_gs9_g77_s1_eff0_script[] = { /* 0x81d22fc */ DEBUGINFO_O(11683), @@ -11890,7 +11890,7 @@ static const struct ScriptCommand s_gs9_g78_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g78_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs9_g78_s0_station_sref_script }; /* 0x81d3b78 */ +static const ScriptRef s_gs9_g78_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs9_g78_s0_station_sref_script }; /* 0x81d3b78 */ @@ -12377,7 +12377,7 @@ static const struct ScriptCommand s_gs9_g79_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g79_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs9_g79_s0_station_sref_script }; /* 0x81d5c34 */ +static const ScriptRef s_gs9_g79_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs9_g79_s0_station_sref_script }; /* 0x81d5c34 */ static const struct ScriptCommand s_gs9_g79_s0_eff0_script[] = { /* 0x81d5c40 */ DEBUGINFO_O(12524), @@ -12956,7 +12956,7 @@ static const struct ScriptCommand s_gs9_g81_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g81_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs9_g81_s0_station_sref_script }; /* 0x81d87cc */ +static const ScriptRef s_gs9_g81_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs9_g81_s0_station_sref_script }; /* 0x81d87cc */ static const struct ScriptCommand s_gs9_g81_s0_lives0_dlg0[] = { /* 0x81d87d8 */ DEBUGINFO_O(13103), @@ -13282,7 +13282,7 @@ static const struct ScriptCommand s_gs9_g82_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g82_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs9_g82_s0_station_sref_script }; /* 0x81da284 */ +static const ScriptRef s_gs9_g82_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs9_g82_s0_station_sref_script }; /* 0x81da284 */ static const struct ScriptCommand s_gs9_g83_s0_station_sref_script[] = { /* 0x81da290 */ DEBUGINFO_O(13429), @@ -13295,7 +13295,7 @@ static const struct ScriptCommand s_gs9_g83_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g83_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs9_g83_s0_station_sref_script }; /* 0x81da310 */ +static const ScriptRef s_gs9_g83_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs9_g83_s0_station_sref_script }; /* 0x81da310 */ static const struct ScriptCommand s_gs9_g83_s0_eff1_script[] = { /* 0x81da31c */ DEBUGINFO_O(13442), @@ -13393,7 +13393,7 @@ static const struct ScriptCommand s_gs9_g84_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g84_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs9_g84_s0_station_sref_script }; /* 0x81da9bc */ +static const ScriptRef s_gs9_g84_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs9_g84_s0_station_sref_script }; /* 0x81da9bc */ static const struct ScriptCommand s_gs9_g84_s0_lives0_dlg0[] = { /* 0x81da9c8 */ DEBUGINFO_O(13540), @@ -13567,7 +13567,7 @@ static const struct ScriptCommand s_gs9_g85_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g85_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs9_g85_s0_station_sref_script }; /* 0x81db734 */ +static const ScriptRef s_gs9_g85_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs9_g85_s0_station_sref_script }; /* 0x81db734 */ static const struct ScriptCommand s_gs9_g85_s0_lives0_dlg0[] = { /* 0x81db740 */ DEBUGINFO_O(13714), @@ -13644,7 +13644,7 @@ static const struct ScriptCommand s_gs9_g86_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g86_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs9_g86_s0_station_sref_script }; /* 0x81dbc08 */ +static const ScriptRef s_gs9_g86_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs9_g86_s0_station_sref_script }; /* 0x81dbc08 */ static const struct ScriptCommand s_gs9_g86_s0_lives0_dlg0[] = { /* 0x81dbc14 */ DEBUGINFO_O(13791), @@ -13771,7 +13771,7 @@ static const struct ScriptCommand s_gs9_g88_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g88_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs9_g88_s0_station_sref_script }; /* 0x81dc6b8 */ +static const ScriptRef s_gs9_g88_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs9_g88_s0_station_sref_script }; /* 0x81dc6b8 */ static const struct ScriptCommand s_gs9_g88_s0_lives0_dlg0[] = { /* 0x81dc6c4 */ DEBUGINFO_O(13918), @@ -13827,7 +13827,7 @@ static const struct ScriptCommand s_gs9_g89_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g89_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs9_g89_s0_station_sref_script }; /* 0x81dca3c */ +static const ScriptRef s_gs9_g89_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs9_g89_s0_station_sref_script }; /* 0x81dca3c */ static const struct ScriptCommand s_gs9_g89_s0_lives0_dlg0[] = { /* 0x81dca48 */ DEBUGINFO_O(13974), @@ -13959,7 +13959,7 @@ static const struct ScriptCommand s_gs9_g91_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs9_g91_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs9_g91_s0_station_sref_script }; /* 0x81dd404 */ +static const ScriptRef s_gs9_g91_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs9_g91_s0_station_sref_script }; /* 0x81dd404 */ static const struct ScriptCommand s_gs9_g91_s0_lives0_dlg0[] = { /* 0x81dd410 */ DEBUGINFO_O(14106), @@ -15619,7 +15619,7 @@ static const struct GroundEventData s_gs9_g73_s0_evts[] = { /* 0x81dfa6c */ /* 0 */ { 15, 3, 0, 0, { 27, 39, 0, 0 }, &s_gs9_g73_s0_evt0_sref }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x81dfa78 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x81dfa78 */ &s_gs9_g0_s0_station_sref, &s_gs9_g1_s0_station_sref, &s_gs9_g2_s0_station_sref, diff --git a/src/data/ground/ground_data_b01p02a_station.h b/src/data/ground/ground_data_b01p02a_station.h index 91c632c66..8668c1898 100644 --- a/src/data/ground/ground_data_b01p02a_station.h +++ b/src/data/ground/ground_data_b01p02a_station.h @@ -79,7 +79,7 @@ static const struct ScriptCommand s_gs12_g0_s0_station_sref_script[] = { /* 0x81 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs12_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs12_g0_s0_station_sref_script }; /* 0x81e1da4 */ +static const ScriptRef s_gs12_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs12_g0_s0_station_sref_script }; /* 0x81e1da4 */ static const struct ScriptCommand s_gs12_g0_s0_evt0_sref_script[] = { /* 0x81e1db0 */ DEBUGINFO_O(85), @@ -87,7 +87,7 @@ static const struct ScriptCommand s_gs12_g0_s0_evt0_sref_script[] = { /* 0x81e1d HALT, }; -static const struct ScriptRef s_gs12_g0_s0_evt0_sref = { GETOUT_NORMAL, 2, NULL, s_gs12_g0_s0_evt0_sref_script }; /* 0x81e1de0 */ +static const ScriptRef s_gs12_g0_s0_evt0_sref = { GETOUT_NORMAL, SCRIPT_TYPE_02, NULL, s_gs12_g0_s0_evt0_sref_script }; /* 0x81e1de0 */ static const struct ScriptCommand s_gs12_g0_s0_evt1_sref_script[] = { /* 0x81e1dec */ DEBUGINFO_O(93), @@ -105,7 +105,7 @@ static const struct ScriptCommand s_gs12_g0_s0_evt1_sref_script[] = { /* 0x81e1d JUMP_SCRIPT(END_TALK), }; -static const struct ScriptRef s_gs12_g0_s0_evt1_sref = { NORMAL_EVENT, 7, NULL, s_gs12_g0_s0_evt1_sref_script }; /* 0x81e1ee4 */ +static const ScriptRef s_gs12_g0_s0_evt1_sref = { NORMAL_EVENT, SCRIPT_TYPE_07, NULL, s_gs12_g0_s0_evt1_sref_script }; /* 0x81e1ee4 */ static const struct ScriptCommand s_gs12_g0_s0_obj0_dlg0[] = { /* 0x81e1ef0 */ DEBUGINFO_O(111), @@ -179,7 +179,7 @@ static const struct ScriptCommand s_gs12_g1_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs12_g1_s0_station_sref = { EVENT_WAKEUP, 7, NULL, s_gs12_g1_s0_station_sref_script }; /* 0x81e2220 */ +static const ScriptRef s_gs12_g1_s0_station_sref = { EVENT_WAKEUP, SCRIPT_TYPE_07, NULL, s_gs12_g1_s0_station_sref_script }; /* 0x81e2220 */ static const struct ScriptCommand s_gs12_g1_s0_lives0_dlg0[] = { /* 0x81e222c */ DEBUGINFO_O(185), @@ -204,7 +204,7 @@ static const struct ScriptCommand s_gs12_g1_s1_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs12_g1_s1_station_sref = { EVENT_STATION , 7, NULL, s_gs12_g1_s1_station_sref_script }; /* 0x81e230c */ +static const ScriptRef s_gs12_g1_s1_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs12_g1_s1_station_sref_script }; /* 0x81e230c */ static const struct ScriptCommand s_gs12_g1_s1_lives0_dlg0[] = { /* 0x81e2318 */ DEBUGINFO_O(210), @@ -233,7 +233,7 @@ static const struct ScriptCommand s_gs12_g2_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs12_g2_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs12_g2_s0_station_sref_script }; /* 0x81e2438 */ +static const ScriptRef s_gs12_g2_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs12_g2_s0_station_sref_script }; /* 0x81e2438 */ static const struct ScriptCommand s_gs12_g2_s0_lives0_dlg0[] = { /* 0x81e2444 */ DEBUGINFO_O(239), @@ -267,7 +267,7 @@ static const struct ScriptCommand s_gs12_g3_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs12_g3_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs12_g3_s0_station_sref_script }; /* 0x81e25fc */ +static const ScriptRef s_gs12_g3_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs12_g3_s0_station_sref_script }; /* 0x81e25fc */ static const struct ScriptCommand s_gs12_g3_s0_lives0_dlg0[] = { /* 0x81e2608 */ DEBUGINFO_O(273), @@ -296,7 +296,7 @@ static const struct ScriptCommand s_gs12_g4_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs12_g4_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs12_g4_s0_station_sref_script }; /* 0x81e2758 */ +static const ScriptRef s_gs12_g4_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs12_g4_s0_station_sref_script }; /* 0x81e2758 */ static const struct ScriptCommand s_gs12_g4_s0_lives0_dlg0[] = { /* 0x81e2764 */ DEBUGINFO_O(302), @@ -321,7 +321,7 @@ static const struct ScriptCommand s_gs12_g5_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs12_g5_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs12_g5_s0_station_sref_script }; /* 0x81e2874 */ +static const ScriptRef s_gs12_g5_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs12_g5_s0_station_sref_script }; /* 0x81e2874 */ static const struct ScriptCommand s_gs12_g6_s0_station_sref_script[] = { /* 0x81e2880 */ DEBUGINFO_O(327), @@ -346,7 +346,7 @@ static const struct ScriptCommand s_gs12_g6_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs12_g6_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs12_g6_s0_station_sref_script }; /* 0x81e29c0 */ +static const ScriptRef s_gs12_g6_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs12_g6_s0_station_sref_script }; /* 0x81e29c0 */ static const struct ScriptCommand s_gs12_g6_s0_lives0_dlg0[] = { /* 0x81e29cc */ DEBUGINFO_O(352), @@ -374,7 +374,7 @@ static const struct ScriptCommand s_gs12_g7_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs12_g7_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs12_g7_s0_station_sref_script }; /* 0x81e2b0c */ +static const ScriptRef s_gs12_g7_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs12_g7_s0_station_sref_script }; /* 0x81e2b0c */ static const struct ScriptCommand s_gs12_g7_s0_lives0_dlg0[] = { /* 0x81e2b18 */ DEBUGINFO_O(380), @@ -403,7 +403,7 @@ static const struct ScriptCommand s_gs12_g8_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs12_g8_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs12_g8_s0_station_sref_script }; /* 0x81e2c68 */ +static const ScriptRef s_gs12_g8_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs12_g8_s0_station_sref_script }; /* 0x81e2c68 */ static const struct ScriptCommand s_gs12_g8_s0_lives0_dlg0[] = { /* 0x81e2c74 */ DEBUGINFO_O(409), @@ -441,7 +441,7 @@ static const struct ScriptCommand s_gs12_g9_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs12_g9_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs12_g9_s0_station_sref_script }; /* 0x81e2e54 */ +static const ScriptRef s_gs12_g9_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs12_g9_s0_station_sref_script }; /* 0x81e2e54 */ static const struct ScriptCommand s_gs12_g9_s0_eff0_script[] = { /* 0x81e2e60 */ DEBUGINFO_O(447), @@ -871,7 +871,7 @@ static const struct ScriptCommand s_gs12_g10_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs12_g10_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs12_g10_s0_station_sref_script }; /* 0x81e5070 */ +static const ScriptRef s_gs12_g10_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs12_g10_s0_station_sref_script }; /* 0x81e5070 */ static const struct ScriptCommand s_gs12_g10_s0_lives0_dlg0[] = { /* 0x81e507c */ @@ -937,7 +937,7 @@ static const struct ScriptCommand s_gs12_g11_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs12_g11_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs12_g11_s0_station_sref_script }; /* 0x81e551c */ +static const ScriptRef s_gs12_g11_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs12_g11_s0_station_sref_script }; /* 0x81e551c */ static const struct ScriptCommand s_gs12_g11_s0_lives0_dlg0[] = { /* 0x81e5528 */ @@ -989,7 +989,7 @@ static const struct ScriptCommand s_gs12_g12_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs12_g12_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs12_g12_s0_station_sref_script }; /* 0x81e5878 */ +static const ScriptRef s_gs12_g12_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs12_g12_s0_station_sref_script }; /* 0x81e5878 */ static const struct ScriptCommand s_gs12_g12_s0_lives0_dlg0[] = { /* 0x81e5884 */ DEBUGINFO_O(995), @@ -1133,7 +1133,7 @@ static const struct ScriptCommand s_gs12_g13_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs12_g13_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs12_g13_s0_station_sref_script }; /* 0x81e6574 */ +static const ScriptRef s_gs12_g13_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs12_g13_s0_station_sref_script }; /* 0x81e6574 */ static const struct ScriptCommand s_gs12_g13_s0_lives0_dlg0[] = { /* 0x81e6580 */ DEBUGINFO_O(1139), @@ -1233,7 +1233,7 @@ static const struct ScriptCommand s_gs12_g14_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs12_g14_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs12_g14_s0_station_sref_script }; /* 0x81e6fc0 */ +static const ScriptRef s_gs12_g14_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs12_g14_s0_station_sref_script }; /* 0x81e6fc0 */ static const struct ScriptCommand s_gs12_g14_s0_lives0_dlg0[] = { /* 0x81e6fcc */ DEBUGINFO_O(1239), @@ -1309,7 +1309,7 @@ static const struct ScriptCommand s_gs12_g15_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs12_g15_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs12_g15_s0_station_sref_script }; /* 0x81e7554 */ +static const ScriptRef s_gs12_g15_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs12_g15_s0_station_sref_script }; /* 0x81e7554 */ static const struct ScriptCommand s_gs12_g15_s0_lives0_dlg0[] = { /* 0x81e7560 - PART 1 0:22:30-0:22:53 - Player */ @@ -1344,7 +1344,7 @@ static const struct ScriptCommand s_gs12_g16_s0_station_sref_script[] = { /* 0x8 RET_DIRECT, }; -static const struct ScriptRef s_gs12_g16_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs12_g16_s0_station_sref_script }; /* 0x81e77f4 */ +static const ScriptRef s_gs12_g16_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs12_g16_s0_station_sref_script }; /* 0x81e77f4 */ static const struct ScriptCommand s_gs12_g16_s0_evt0_sref_script[] = { /* 0x81e7800 - Likely door event/nearby trigger */ DEBUGINFO_O(1350), @@ -1357,7 +1357,7 @@ static const struct ScriptCommand s_gs12_g16_s0_evt0_sref_script[] = { /* 0x81e7 RET, }; -static const struct ScriptRef s_gs12_g16_s0_evt0_sref = { GETOUT_NORMAL, 2, NULL, s_gs12_g16_s0_evt0_sref_script }; /* 0x81e78b8 */ +static const ScriptRef s_gs12_g16_s0_evt0_sref = { GETOUT_NORMAL, SCRIPT_TYPE_02, NULL, s_gs12_g16_s0_evt0_sref_script }; /* 0x81e78b8 */ static const struct ScriptCommand s_gs12_g16_s0_evt1_sref_script[] = { /* 0x81e78c4 - PART 1 0:22:53-0:23:04 - Bed, sleep trigger */ @@ -1377,7 +1377,7 @@ static const struct ScriptCommand s_gs12_g16_s0_evt1_sref_script[] = { /* 0x81e7 HALT, }; -static const struct ScriptRef s_gs12_g16_s0_evt1_sref = { NORMAL_EVENT, 7, NULL, s_gs12_g16_s0_evt1_sref_script }; /* 0x81e79a4 */ +static const ScriptRef s_gs12_g16_s0_evt1_sref = { NORMAL_EVENT, SCRIPT_TYPE_07, NULL, s_gs12_g16_s0_evt1_sref_script }; /* 0x81e79a4 */ static const struct ScriptCommand s_gs12_g16_s1_station_sref_script[] = { /* 0x81e79b0 */ DEBUGINFO_O(1383), @@ -1395,7 +1395,7 @@ static const struct ScriptCommand s_gs12_g16_s1_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs12_g16_s1_station_sref = { EVENT_STATION , 7, NULL, s_gs12_g16_s1_station_sref_script }; /* 0x81e7a80 */ +static const ScriptRef s_gs12_g16_s1_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs12_g16_s1_station_sref_script }; /* 0x81e7a80 */ static const struct ScriptCommand s_gs12_g16_s1_lives0_dlg0[] = { /* 0x81e7a8c */ DEBUGINFO_O(1401), @@ -1424,7 +1424,7 @@ static const struct ScriptCommand s_gs12_g17_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs12_g17_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs12_g17_s0_station_sref_script }; /* 0x81e7bdc */ +static const ScriptRef s_gs12_g17_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs12_g17_s0_station_sref_script }; /* 0x81e7bdc */ static const struct ScriptCommand s_gs12_g17_s0_lives0_dlg0[] = { /* 0x81e7be8 */ DEBUGINFO_O(1430), @@ -1469,7 +1469,7 @@ static const struct ScriptCommand s_gs12_g18_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs12_g18_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs12_g18_s0_station_sref_script }; /* 0x81e7f2c */ +static const ScriptRef s_gs12_g18_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs12_g18_s0_station_sref_script }; /* 0x81e7f2c */ static const struct ScriptCommand s_gs12_g18_s0_lives0_dlg0[] = { /* 0x81e7f38 */ DEBUGINFO_O(1475), @@ -1498,7 +1498,7 @@ static const struct ScriptCommand s_gs12_g19_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs12_g19_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs12_g19_s0_station_sref_script }; /* 0x81e8088 */ +static const ScriptRef s_gs12_g19_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs12_g19_s0_station_sref_script }; /* 0x81e8088 */ static const struct ScriptCommand s_gs12_g19_s0_lives0_dlg0[] = { /* 0x81e8094 */ DEBUGINFO_O(1504), @@ -1542,7 +1542,7 @@ static const struct ScriptCommand s_gs12_g20_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs12_g20_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs12_g20_s0_station_sref_script }; /* 0x81e8388 */ +static const ScriptRef s_gs12_g20_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs12_g20_s0_station_sref_script }; /* 0x81e8388 */ static const struct ScriptCommand s_gs12_g20_s0_lives0_dlg0[] = { /* 0x81e8394 */ DEBUGINFO_O(1548), @@ -1670,7 +1670,7 @@ static const struct ScriptCommand s_gs12_g21_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs12_g21_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs12_g21_s0_station_sref_script }; /* 0x81e8d48 */ +static const ScriptRef s_gs12_g21_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs12_g21_s0_station_sref_script }; /* 0x81e8d48 */ static const struct ScriptCommand s_gs12_g21_s0_lives0_dlg0[] = { /* 0x81e8d54 */ DEBUGINFO_O(1676), @@ -1707,7 +1707,7 @@ static const struct ScriptCommand s_gs12_g22_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs12_g22_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs12_g22_s0_station_sref_script }; /* 0x81e8f24 */ +static const ScriptRef s_gs12_g22_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs12_g22_s0_station_sref_script }; /* 0x81e8f24 */ static const struct ScriptCommand s_gs12_g22_s0_lives0_dlg0[] = { /* 0x81e8f30 */ DEBUGINFO_O(1713), @@ -1743,7 +1743,7 @@ static const struct ScriptCommand s_gs12_g23_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs12_g23_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs12_g23_s0_station_sref_script }; /* 0x81e90f0 */ +static const ScriptRef s_gs12_g23_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs12_g23_s0_station_sref_script }; /* 0x81e90f0 */ static const struct ScriptCommand s_gs12_g23_s0_lives0_dlg0[] = { /* 0x81e90fc */ DEBUGINFO_O(1749), @@ -1779,7 +1779,7 @@ static const struct ScriptCommand s_gs12_g24_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs12_g24_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs12_g24_s0_station_sref_script }; /* 0x81e92bc */ +static const ScriptRef s_gs12_g24_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs12_g24_s0_station_sref_script }; /* 0x81e92bc */ static const struct ScriptCommand s_gs12_g24_s0_lives0_dlg0[] = { /* 0x81e92c8 */ DEBUGINFO_O(1785), @@ -1807,7 +1807,7 @@ static const struct ScriptCommand s_gs12_g25_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs12_g25_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs12_g25_s0_station_sref_script }; /* 0x81e9408 */ +static const ScriptRef s_gs12_g25_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs12_g25_s0_station_sref_script }; /* 0x81e9408 */ static const struct ScriptCommand s_gs12_g25_s0_lives0_dlg0[] = { /* 0x81e9414 */ DEBUGINFO_O(1813), @@ -1843,7 +1843,7 @@ static const struct ScriptCommand s_gs12_g26_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs12_g26_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs12_g26_s0_station_sref_script }; /* 0x81e95d4 */ +static const ScriptRef s_gs12_g26_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs12_g26_s0_station_sref_script }; /* 0x81e95d4 */ static const struct ScriptCommand s_gs12_g26_s0_lives0_dlg0[] = { /* 0x81e95e0 */ DEBUGINFO_O(1849), @@ -1871,7 +1871,7 @@ static const struct ScriptCommand s_gs12_g27_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs12_g27_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs12_g27_s0_station_sref_script }; /* 0x81e9720 */ +static const ScriptRef s_gs12_g27_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs12_g27_s0_station_sref_script }; /* 0x81e9720 */ static const struct ScriptCommand s_gs12_g27_s0_lives0_dlg0[] = { /* 0x81e972c */ DEBUGINFO_O(1877), @@ -1907,7 +1907,7 @@ static const struct ScriptCommand s_gs12_g28_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs12_g28_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs12_g28_s0_station_sref_script }; /* 0x81e98ec */ +static const ScriptRef s_gs12_g28_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs12_g28_s0_station_sref_script }; /* 0x81e98ec */ static const struct ScriptCommand s_gs12_g28_s0_lives0_dlg0[] = { /* 0x81e98f8 */ DEBUGINFO_O(1913), @@ -1935,7 +1935,7 @@ static const struct ScriptCommand s_gs12_g29_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs12_g29_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs12_g29_s0_station_sref_script }; /* 0x81e9a38 */ +static const ScriptRef s_gs12_g29_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs12_g29_s0_station_sref_script }; /* 0x81e9a38 */ static const struct ScriptCommand s_gs12_g29_s0_lives0_dlg0[] = { /* 0x81e9a44 */ DEBUGINFO_O(1941), @@ -1971,7 +1971,7 @@ static const struct ScriptCommand s_gs12_g30_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs12_g30_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs12_g30_s0_station_sref_script }; /* 0x81e9c04 */ +static const ScriptRef s_gs12_g30_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs12_g30_s0_station_sref_script }; /* 0x81e9c04 */ static const struct ScriptCommand s_gs12_g30_s0_lives0_dlg0[] = { /* 0x81e9c10 */ DEBUGINFO_O(1977), @@ -1999,7 +1999,7 @@ static const struct ScriptCommand s_gs12_g31_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs12_g31_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs12_g31_s0_station_sref_script }; /* 0x81e9d50 */ +static const ScriptRef s_gs12_g31_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs12_g31_s0_station_sref_script }; /* 0x81e9d50 */ static const struct ScriptCommand s_gs12_g31_s0_lives0_dlg0[] = { /* 0x81e9d5c */ DEBUGINFO_O(2005), @@ -2035,7 +2035,7 @@ static const struct ScriptCommand s_gs12_g32_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs12_g32_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs12_g32_s0_station_sref_script }; /* 0x81e9f1c */ +static const ScriptRef s_gs12_g32_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs12_g32_s0_station_sref_script }; /* 0x81e9f1c */ static const struct ScriptCommand s_gs12_g32_s0_lives0_dlg0[] = { /* 0x81e9f28 */ DEBUGINFO_O(2041), @@ -2065,7 +2065,7 @@ static const struct ScriptCommand s_gs12_g33_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs12_g33_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs12_g33_s0_station_sref_script }; /* 0x81ea088 */ +static const ScriptRef s_gs12_g33_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs12_g33_s0_station_sref_script }; /* 0x81ea088 */ static const struct ScriptCommand s_gs12_g33_s0_lives0_dlg0[] = { /* 0x81ea094 */ DEBUGINFO_O(2071), @@ -2110,7 +2110,7 @@ static const struct ScriptCommand s_gs12_g34_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs12_g34_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs12_g34_s0_station_sref_script }; /* 0x81ea3b8 */ +static const ScriptRef s_gs12_g34_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs12_g34_s0_station_sref_script }; /* 0x81ea3b8 */ static const struct ScriptCommand s_gs12_g34_s0_lives0_dlg0[] = { /* 0x81ea3c4 */ DEBUGINFO_O(2116), @@ -2157,7 +2157,7 @@ static const struct ScriptCommand s_gs12_g35_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs12_g35_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs12_g35_s0_station_sref_script }; /* 0x81ea6e4 */ +static const ScriptRef s_gs12_g35_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs12_g35_s0_station_sref_script }; /* 0x81ea6e4 */ static const struct ScriptCommand s_gs12_g35_s0_lives0_dlg0[] = { /* 0x81ea6f0 */ DEBUGINFO_O(2163), @@ -2187,7 +2187,7 @@ static const struct ScriptCommand s_gs12_g36_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs12_g36_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs12_g36_s0_station_sref_script }; /* 0x81ea850 */ +static const ScriptRef s_gs12_g36_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs12_g36_s0_station_sref_script }; /* 0x81ea850 */ static const struct ScriptCommand s_gs12_g36_s0_lives0_dlg0[] = { /* 0x81ea85c */ DEBUGINFO_O(2193), @@ -2229,7 +2229,7 @@ static const struct ScriptCommand s_gs12_g37_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs12_g37_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs12_g37_s0_station_sref_script }; /* 0x81eab3c */ +static const ScriptRef s_gs12_g37_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs12_g37_s0_station_sref_script }; /* 0x81eab3c */ static const struct ScriptCommand s_gs12_g37_s0_lives0_dlg0[] = { /* 0x81eab48 */ DEBUGINFO_O(2235), @@ -2271,7 +2271,7 @@ static const struct ScriptCommand s_gs12_g38_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs12_g38_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs12_g38_s0_station_sref_script }; /* 0x81eadd0 */ +static const ScriptRef s_gs12_g38_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs12_g38_s0_station_sref_script }; /* 0x81eadd0 */ static const struct ScriptCommand s_gs12_g38_s0_lives0_dlg0[] = { /* 0x81eaddc */ DEBUGINFO_O(2277), @@ -2321,7 +2321,7 @@ static const struct ScriptCommand s_gs12_g39_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs12_g39_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs12_g39_s0_station_sref_script }; /* 0x81eb0f4 */ +static const ScriptRef s_gs12_g39_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs12_g39_s0_station_sref_script }; /* 0x81eb0f4 */ static const struct ScriptCommand s_gs12_g39_s0_lives0_dlg0[] = { /* 0x81eb100 */ DEBUGINFO_O(2327), @@ -2405,7 +2405,7 @@ static const struct ScriptCommand s_gs12_g40_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs12_g40_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs12_g40_s0_station_sref_script }; /* 0x81eb668 */ +static const ScriptRef s_gs12_g40_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs12_g40_s0_station_sref_script }; /* 0x81eb668 */ static const struct ScriptCommand s_gs12_g40_s0_lives0_dlg0[] = { /* 0x81eb674 */ DEBUGINFO_O(2411), @@ -2440,7 +2440,7 @@ static const struct ScriptCommand s_gs12_g41_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs12_g41_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs12_g41_s0_station_sref_script }; /* 0x81eb824 */ +static const ScriptRef s_gs12_g41_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs12_g41_s0_station_sref_script }; /* 0x81eb824 */ static const struct ScriptCommand s_gs12_g41_s0_lives0_dlg0[] = { /* 0x81eb830 */ DEBUGINFO_O(2446), @@ -2466,7 +2466,7 @@ static const struct ScriptCommand s_gs12_g42_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs12_g42_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs12_g42_s0_station_sref_script }; /* 0x81eb950 */ +static const ScriptRef s_gs12_g42_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs12_g42_s0_station_sref_script }; /* 0x81eb950 */ static const struct ScriptCommand s_gs12_g42_s0_lives0_dlg0[] = { /* 0x81eb95c */ DEBUGINFO_O(2472), @@ -2566,7 +2566,7 @@ static const struct ScriptCommand s_gs12_g43_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs12_g43_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs12_g43_s0_station_sref_script }; /* 0x81ec024 */ +static const ScriptRef s_gs12_g43_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs12_g43_s0_station_sref_script }; /* 0x81ec024 */ static const struct ScriptCommand s_gs12_g43_s0_lives0_dlg0[] = { /* 0x81ec030 */ DEBUGINFO_O(2572), @@ -2594,7 +2594,7 @@ static const struct ScriptCommand s_gs12_g44_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs12_g44_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs12_g44_s0_station_sref_script }; /* 0x81ec170 */ +static const ScriptRef s_gs12_g44_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs12_g44_s0_station_sref_script }; /* 0x81ec170 */ static const struct ScriptCommand s_gs12_g44_s0_lives0_dlg0[] = { /* 0x81ec17c */ DEBUGINFO_O(2600), @@ -2644,7 +2644,7 @@ static const struct ScriptCommand s_gs12_g45_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs12_g45_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs12_g45_s0_station_sref_script }; /* 0x81ec590 */ +static const ScriptRef s_gs12_g45_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs12_g45_s0_station_sref_script }; /* 0x81ec590 */ static const struct ScriptCommand s_gs12_g45_s0_lives0_dlg0[] = { /* 0x81ec59c */ DEBUGINFO_O(2650), @@ -2692,7 +2692,7 @@ static const struct ScriptCommand s_gs12_g46_s0_station_sref_script[] = { /* 0x8 RET_DIRECT, }; -static const struct ScriptRef s_gs12_g46_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs12_g46_s0_station_sref_script }; /* 0x81eca10 */ +static const ScriptRef s_gs12_g46_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs12_g46_s0_station_sref_script }; /* 0x81eca10 */ static const struct ScriptCommand s_gs12_g46_s0_evt0_sref_script[] = { /* 0x81eca1c */ DEBUGINFO_O(2698), @@ -2700,7 +2700,7 @@ static const struct ScriptCommand s_gs12_g46_s0_evt0_sref_script[] = { /* 0x81ec HALT, }; -static const struct ScriptRef s_gs12_g46_s0_evt0_sref = { GETOUT_NORMAL, 2, NULL, s_gs12_g46_s0_evt0_sref_script }; /* 0x81eca4c */ +static const ScriptRef s_gs12_g46_s0_evt0_sref = { GETOUT_NORMAL, SCRIPT_TYPE_02, NULL, s_gs12_g46_s0_evt0_sref_script }; /* 0x81eca4c */ static const struct ScriptCommand s_gs12_g46_s0_evt1_sref_script[] = { /* 0x81eca58 */ DEBUGINFO_O(2706), @@ -2716,7 +2716,7 @@ static const struct ScriptCommand s_gs12_g46_s0_evt1_sref_script[] = { /* 0x81ec JUMP_SCRIPT(END_TALK), }; -static const struct ScriptRef s_gs12_g46_s0_evt1_sref = { NORMAL_EVENT, 7, NULL, s_gs12_g46_s0_evt1_sref_script }; /* 0x81ecb2c */ +static const ScriptRef s_gs12_g46_s0_evt1_sref = { NORMAL_EVENT, SCRIPT_TYPE_07, NULL, s_gs12_g46_s0_evt1_sref_script }; /* 0x81ecb2c */ static const struct ScriptCommand s_gs12_g46_s1_station_sref_script[] = { /* 0x81ecb38 */ DEBUGINFO_O(2722), @@ -2733,7 +2733,7 @@ static const struct ScriptCommand s_gs12_g46_s1_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs12_g46_s1_station_sref = { EVENT_STATION , 7, NULL, s_gs12_g46_s1_station_sref_script }; /* 0x81ecbf8 */ +static const ScriptRef s_gs12_g46_s1_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs12_g46_s1_station_sref_script }; /* 0x81ecbf8 */ static const struct ScriptCommand s_gs12_g46_s1_lives0_dlg0[] = { /* 0x81ecc04 */ DEBUGINFO_O(2739), @@ -3321,7 +3321,7 @@ static const struct GroundEventData s_gs12_g46_s0_evts[] = { /* 0x81ed6dc */ /* 1 */ { 6, 3, 0, 0, { 27, 28, 0, 0 }, &s_gs12_g46_s0_evt1_sref }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x81ed6f4 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x81ed6f4 */ &s_gs12_g0_s0_station_sref, &s_gs12_g1_s0_station_sref, &s_gs12_g1_s1_station_sref, diff --git a/src/data/ground/ground_data_d01p01_station.h b/src/data/ground/ground_data_d01p01_station.h index 7123ad279..0008209a9 100644 --- a/src/data/ground/ground_data_d01p01_station.h +++ b/src/data/ground/ground_data_d01p01_station.h @@ -31,7 +31,7 @@ static const struct ScriptCommand s_gs178_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs178_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs178_g0_s0_station_sref_script }; /* 0x822c2b4 */ +static const ScriptRef s_gs178_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs178_g0_s0_station_sref_script }; /* 0x822c2b4 */ static const struct ScriptCommand s_gs178_g1_s0_station_sref_script[] = { /* 0x822c2c0 - PART 1 0:04:05-0:06:38 */ DEBUGINFO_O(37), @@ -68,7 +68,7 @@ static const struct ScriptCommand s_gs178_g1_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs178_g1_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs178_g1_s0_station_sref_script }; /* 0x822c5d8 */ +static const ScriptRef s_gs178_g1_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs178_g1_s0_station_sref_script }; /* 0x822c5d8 */ @@ -373,7 +373,7 @@ static const struct ScriptCommand s_gs178_g2_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs178_g2_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs178_g2_s0_station_sref_script }; /* 0x822df54 */ +static const ScriptRef s_gs178_g2_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs178_g2_s0_station_sref_script }; /* 0x822df54 */ static const struct ScriptCommand s_gs178_g2_s0_lives0_dlg0[] = { /* 0x822df60 - PART 1 0:11:39-0:12:15 - Player */ @@ -528,7 +528,7 @@ static const struct ScriptCommand s_gs178_g3_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs178_g3_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs178_g3_s0_station_sref_script }; /* 0x822ea0c */ +static const ScriptRef s_gs178_g3_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs178_g3_s0_station_sref_script }; /* 0x822ea0c */ static const struct ScriptCommand s_gs178_g3_s0_lives0_dlg0[] = { /* 0x822ea18 - PART 1 0:17:17-0:18:51 - Player */ DEBUGINFO_O(534), @@ -778,7 +778,7 @@ static const struct GroundEffectData s_gs178_g3_s0_effs[] = { /* 0x822fb14 */ /* 0 */ { 0, 0, 1, 1, { 27, 23, 0, CPOS_HALFTILE }, NULL }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x822fb20 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x822fb20 */ &s_gs178_g0_s0_station_sref, &s_gs178_g1_s0_station_sref, &s_gs178_g2_s0_station_sref, diff --git a/src/data/ground/ground_data_d01p02_station.h b/src/data/ground/ground_data_d01p02_station.h index 216b505de..1e0e55e01 100644 --- a/src/data/ground/ground_data_d01p02_station.h +++ b/src/data/ground/ground_data_d01p02_station.h @@ -15,7 +15,7 @@ static const struct ScriptCommand s_gs179_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs179_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs179_g0_s0_station_sref_script }; /* 0x822fd28 */ +static const ScriptRef s_gs179_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs179_g0_s0_station_sref_script }; /* 0x822fd28 */ static const struct ScriptCommand s_gs179_g1_s0_station_sref_script[] = { /* 0x822fd34 - PART 1 0:16:37-0:17:16 - Tiny Woods end room */ DEBUGINFO_O(21), @@ -29,7 +29,7 @@ static const struct ScriptCommand s_gs179_g1_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs179_g1_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs179_g1_s0_station_sref_script }; /* 0x822fdc4 */ +static const ScriptRef s_gs179_g1_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs179_g1_s0_station_sref_script }; /* 0x822fdc4 */ static const struct ScriptCommand s_gs179_g1_s0_lives0_dlg0[] = { /* 0x822fdd0 - PART 1 0:16:37-0:17:16 - Player */ DEBUGINFO_O(35), @@ -121,7 +121,7 @@ static const struct GroundEffectData s_gs179_g1_s0_effs[] = { /* 0x8230260 */ /* 0 */ { 0, 0, 1, 1, { 22, 21, CPOS_HALFTILE, 0 }, NULL }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x823026c */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x823026c */ &s_gs179_g0_s0_station_sref, &s_gs179_g1_s0_station_sref, }; diff --git a/src/data/ground/ground_data_d02p01_station.h b/src/data/ground/ground_data_d02p01_station.h index 51e06dfdd..90fd3ed23 100644 --- a/src/data/ground/ground_data_d02p01_station.h +++ b/src/data/ground/ground_data_d02p01_station.h @@ -17,7 +17,7 @@ static const struct ScriptCommand s_gs180_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs180_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs180_g0_s0_station_sref_script }; /* 0x8230364 */ +static const ScriptRef s_gs180_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs180_g0_s0_station_sref_script }; /* 0x8230364 */ static const struct ScriptCommand s_gs180_g1_s0_station_sref_script[] = { /* 0x8230370 */ DEBUGINFO_O(23), @@ -30,7 +30,7 @@ static const struct ScriptCommand s_gs180_g1_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs180_g1_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs180_g1_s0_station_sref_script }; /* 0x82303f0 */ +static const ScriptRef s_gs180_g1_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs180_g1_s0_station_sref_script }; /* 0x82303f0 */ static const struct ScriptCommand s_gs180_g1_s0_eff0_script[] = { /* 0x82303fc */ DEBUGINFO_O(36), @@ -144,7 +144,7 @@ static const struct ScriptCommand s_gs180_g2_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs180_g2_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs180_g2_s0_station_sref_script }; /* 0x8230a58 */ +static const ScriptRef s_gs180_g2_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs180_g2_s0_station_sref_script }; /* 0x8230a58 */ static const struct ScriptCommand s_gs180_g2_s0_eff0_script[] = { /* 0x8230a64 */ DEBUGINFO_O(150), @@ -248,7 +248,7 @@ static const struct ScriptCommand s_gs180_g3_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs180_g3_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs180_g3_s0_station_sref_script }; /* 0x8231014 */ +static const ScriptRef s_gs180_g3_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs180_g3_s0_station_sref_script }; /* 0x8231014 */ static const struct ScriptCommand s_gs180_g3_s0_lives0_dlg0[] = { /* 0x8231020 */ DEBUGINFO_O(254), @@ -483,7 +483,7 @@ static const struct GroundEffectData s_gs180_g3_s0_effs[] = { /* 0x8231b60 */ /* 0 */ { 0, 0, 1, 1, { 25, 18, 0, CPOS_HALFTILE }, NULL }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x8231b6c */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x8231b6c */ &s_gs180_g0_s0_station_sref, &s_gs180_g1_s0_station_sref, &s_gs180_g2_s0_station_sref, diff --git a/src/data/ground/ground_data_d02p02_station.h b/src/data/ground/ground_data_d02p02_station.h index 3b8ccef60..dc557f79a 100644 --- a/src/data/ground/ground_data_d02p02_station.h +++ b/src/data/ground/ground_data_d02p02_station.h @@ -17,7 +17,7 @@ static const struct ScriptCommand s_gs181_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs181_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs181_g0_s0_station_sref_script }; /* 0x8231cdc */ +static const ScriptRef s_gs181_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs181_g0_s0_station_sref_script }; /* 0x8231cdc */ static const struct ScriptCommand s_gs181_g1_s0_station_sref_script[] = { /* 0x8231ce8 */ DEBUGINFO_O(23), @@ -31,7 +31,7 @@ static const struct ScriptCommand s_gs181_g1_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs181_g1_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs181_g1_s0_station_sref_script }; /* 0x8231d78 */ +static const ScriptRef s_gs181_g1_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs181_g1_s0_station_sref_script }; /* 0x8231d78 */ static const struct ScriptCommand s_gs181_g1_s0_lives0_dlg0[] = { /* 0x8231d84 */ DEBUGINFO_O(37), @@ -100,7 +100,7 @@ static const struct GroundEffectData s_gs181_g1_s0_effs[] = { /* 0x823207c */ /* 0 */ { 0, 0, 1, 1, { 22, 20, CPOS_HALFTILE, CPOS_HALFTILE }, NULL }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x8232088 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x8232088 */ &s_gs181_g0_s0_station_sref, &s_gs181_g1_s0_station_sref, }; diff --git a/src/data/ground/ground_data_d03p01_station.h b/src/data/ground/ground_data_d03p01_station.h index 9cc9cc3d0..07ef36a6f 100644 --- a/src/data/ground/ground_data_d03p01_station.h +++ b/src/data/ground/ground_data_d03p01_station.h @@ -15,7 +15,7 @@ static const struct ScriptCommand s_gs182_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs182_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs182_g0_s0_station_sref_script }; /* 0x8232190 */ +static const ScriptRef s_gs182_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs182_g0_s0_station_sref_script }; /* 0x8232190 */ static const struct ScriptCommand s_gs182_g1_s0_station_sref_script[] = { /* 0x823219c */ DEBUGINFO_O(21), @@ -28,7 +28,7 @@ static const struct ScriptCommand s_gs182_g1_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs182_g1_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs182_g1_s0_station_sref_script }; /* 0x823221c */ +static const ScriptRef s_gs182_g1_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs182_g1_s0_station_sref_script }; /* 0x823221c */ static const struct ScriptCommand s_gs182_g1_s0_lives0_dlg0[] = { /* 0x8232228 */ DEBUGINFO_O(34), @@ -144,7 +144,7 @@ static const struct ScriptCommand s_gs182_g2_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs182_g2_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs182_g2_s0_station_sref_script }; /* 0x823297c */ +static const ScriptRef s_gs182_g2_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs182_g2_s0_station_sref_script }; /* 0x823297c */ static const struct ScriptCommand s_gs182_g2_s0_lives0_dlg0[] = { /* 0x8232988 */ DEBUGINFO_O(150), @@ -294,7 +294,7 @@ static const struct GroundEffectData s_gs182_g2_s0_effs[] = { /* 0x823313c */ /* 0 */ { 0, 0, 1, 1, { 22, 23, CPOS_HALFTILE, CPOS_HALFTILE }, NULL }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x8233148 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x8233148 */ &s_gs182_g0_s0_station_sref, &s_gs182_g1_s0_station_sref, &s_gs182_g2_s0_station_sref, diff --git a/src/data/ground/ground_data_d03p02_station.h b/src/data/ground/ground_data_d03p02_station.h index 875b7fdc8..572fc8fe4 100644 --- a/src/data/ground/ground_data_d03p02_station.h +++ b/src/data/ground/ground_data_d03p02_station.h @@ -18,7 +18,7 @@ static const struct ScriptCommand s_gs183_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs183_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs183_g0_s0_station_sref_script }; /* 0x82332c4 */ +static const ScriptRef s_gs183_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs183_g0_s0_station_sref_script }; /* 0x82332c4 */ static const struct ScriptCommand s_gs183_g1_s0_station_sref_script[] = { /* 0x82332d0 */ DEBUGINFO_O(24), @@ -31,7 +31,7 @@ static const struct ScriptCommand s_gs183_g1_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs183_g1_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs183_g1_s0_station_sref_script }; /* 0x8233350 */ +static const ScriptRef s_gs183_g1_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs183_g1_s0_station_sref_script }; /* 0x8233350 */ static const struct ScriptCommand s_gs183_g1_s0_eff0_script[] = { /* 0x823335c */ DEBUGINFO_O(37), @@ -266,7 +266,7 @@ static const struct GroundEffectData s_gs183_g1_s0_effs[] = { /* 0x823421c */ /* 0 */ { 0, 0, 1, 1, { 28, 39, CPOS_HALFTILE, CPOS_HALFTILE }, s_gs183_g1_s0_eff0_script }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x8234228 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x8234228 */ &s_gs183_g0_s0_station_sref, &s_gs183_g1_s0_station_sref, }; diff --git a/src/data/ground/ground_data_d04p01_station.h b/src/data/ground/ground_data_d04p01_station.h index e438cb306..113d55aa8 100644 --- a/src/data/ground/ground_data_d04p01_station.h +++ b/src/data/ground/ground_data_d04p01_station.h @@ -15,7 +15,7 @@ static const struct ScriptCommand s_gs184_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs184_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs184_g0_s0_station_sref_script }; /* 0x8234360 */ +static const ScriptRef s_gs184_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs184_g0_s0_station_sref_script }; /* 0x8234360 */ static const struct ScriptCommand s_gs184_g1_s0_station_sref_script[] = { /* 0x823436c */ DEBUGINFO_O(21), @@ -28,7 +28,7 @@ static const struct ScriptCommand s_gs184_g1_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs184_g1_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs184_g1_s0_station_sref_script }; /* 0x82343ec */ +static const ScriptRef s_gs184_g1_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs184_g1_s0_station_sref_script }; /* 0x82343ec */ static const struct ScriptCommand s_gs184_g1_s0_lives0_dlg0[] = { /* 0x82343f8 */ DEBUGINFO_O(34), @@ -85,7 +85,7 @@ static const struct ScriptCommand s_gs184_g2_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs184_g2_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs184_g2_s0_station_sref_script }; /* 0x8234824 */ +static const ScriptRef s_gs184_g2_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs184_g2_s0_station_sref_script }; /* 0x8234824 */ static const struct ScriptCommand s_gs184_g2_s0_lives0_dlg0[] = { /* 0x8234830 */ DEBUGINFO_O(91), @@ -151,7 +151,7 @@ static const struct GroundEffectData s_gs184_g2_s0_effs[] = { /* 0x8234bc4 */ /* 0 */ { 0, 0, 1, 1, { 28, 22, 0, CPOS_HALFTILE }, NULL }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x8234bd0 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x8234bd0 */ &s_gs184_g0_s0_station_sref, &s_gs184_g1_s0_station_sref, &s_gs184_g2_s0_station_sref, diff --git a/src/data/ground/ground_data_d04p02_station.h b/src/data/ground/ground_data_d04p02_station.h index 3ae413bd0..76158f2ec 100644 --- a/src/data/ground/ground_data_d04p02_station.h +++ b/src/data/ground/ground_data_d04p02_station.h @@ -17,7 +17,7 @@ static const struct ScriptCommand s_gs185_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs185_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs185_g0_s0_station_sref_script }; /* 0x8234cfc */ +static const ScriptRef s_gs185_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs185_g0_s0_station_sref_script }; /* 0x8234cfc */ static const struct ScriptCommand s_gs185_g1_s0_station_sref_script[] = { /* 0x8234d08 */ DEBUGINFO_O(23), @@ -30,7 +30,7 @@ static const struct ScriptCommand s_gs185_g1_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs185_g1_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs185_g1_s0_station_sref_script }; /* 0x8234d88 */ +static const ScriptRef s_gs185_g1_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs185_g1_s0_station_sref_script }; /* 0x8234d88 */ static const struct ScriptCommand s_gs185_g1_s0_lives0_dlg0[] = { /* 0x8234d94 */ DEBUGINFO_O(36), @@ -253,7 +253,7 @@ static const struct GroundEffectData s_gs185_g1_s0_effs[] = { /* 0x823595c */ /* 0 */ { 0, 0, 1, 1, { 34, 30, 0, CPOS_HALFTILE }, NULL }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x8235968 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x8235968 */ &s_gs185_g0_s0_station_sref, &s_gs185_g1_s0_station_sref, }; diff --git a/src/data/ground/ground_data_d05p01_station.h b/src/data/ground/ground_data_d05p01_station.h index 328e79295..5fa252c2a 100644 --- a/src/data/ground/ground_data_d05p01_station.h +++ b/src/data/ground/ground_data_d05p01_station.h @@ -16,7 +16,7 @@ static const struct ScriptCommand s_gs186_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs186_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs186_g0_s0_station_sref_script }; /* 0x8235a70 */ +static const ScriptRef s_gs186_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs186_g0_s0_station_sref_script }; /* 0x8235a70 */ static const struct ScriptCommand s_gs186_g1_s0_station_sref_script[] = { /* 0x8235a7c */ DEBUGINFO_O(22), @@ -30,7 +30,7 @@ static const struct ScriptCommand s_gs186_g1_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs186_g1_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs186_g1_s0_station_sref_script }; /* 0x8235b0c */ +static const ScriptRef s_gs186_g1_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs186_g1_s0_station_sref_script }; /* 0x8235b0c */ static const struct ScriptCommand s_gs186_g1_s0_eff0_script[] = { /* 0x8235b18 */ DEBUGINFO_O(36), @@ -433,7 +433,7 @@ static const struct GroundEffectData s_gs186_g1_s0_effs[] = { /* 0x8237ad8 */ /* 0 */ { 0, 0, 1, 1, { 18, 16, CPOS_HALFTILE, CPOS_HALFTILE }, s_gs186_g1_s0_eff0_script }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x8237ae4 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x8237ae4 */ &s_gs186_g0_s0_station_sref, &s_gs186_g1_s0_station_sref, }; diff --git a/src/data/ground/ground_data_d05p02_station.h b/src/data/ground/ground_data_d05p02_station.h index 3b8e8f65b..63ce54298 100644 --- a/src/data/ground/ground_data_d05p02_station.h +++ b/src/data/ground/ground_data_d05p02_station.h @@ -14,7 +14,7 @@ static const struct ScriptCommand s_gs187_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs187_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs187_g0_s0_station_sref_script }; /* 0x8237be4 */ +static const ScriptRef s_gs187_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs187_g0_s0_station_sref_script }; /* 0x8237be4 */ static const struct ScriptCommand s_gs187_g1_s0_station_sref_script[] = { /* 0x8237bf0 */ DEBUGINFO_O(19), @@ -29,7 +29,7 @@ static const struct ScriptCommand s_gs187_g1_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs187_g1_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs187_g1_s0_station_sref_script }; /* 0x8237c90 */ +static const ScriptRef s_gs187_g1_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs187_g1_s0_station_sref_script }; /* 0x8237c90 */ static const struct ScriptCommand s_gs187_g1_s0_eff0_script[] = { /* 0x8237c9c */ DEBUGINFO_O(34), @@ -353,7 +353,7 @@ static const struct GroundEffectData s_gs187_g1_s0_effs[] = { /* 0x82390c0 */ /* 0 */ { 0, 0, 1, 1, { 22, 29, CPOS_HALFTILE, CPOS_HALFTILE }, s_gs187_g1_s0_eff0_script }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x82390cc */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x82390cc */ &s_gs187_g0_s0_station_sref, &s_gs187_g1_s0_station_sref, }; diff --git a/src/data/ground/ground_data_d06p01_station.h b/src/data/ground/ground_data_d06p01_station.h index 84b05a6bc..df3a13bdc 100644 --- a/src/data/ground/ground_data_d06p01_station.h +++ b/src/data/ground/ground_data_d06p01_station.h @@ -16,7 +16,7 @@ static const struct ScriptCommand s_gs188_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs188_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs188_g0_s0_station_sref_script }; /* 0x82391e4 */ +static const ScriptRef s_gs188_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs188_g0_s0_station_sref_script }; /* 0x82391e4 */ static const struct ScriptCommand s_gs188_g1_s0_station_sref_script[] = { /* 0x82391f0 */ DEBUGINFO_O(22), @@ -30,7 +30,7 @@ static const struct ScriptCommand s_gs188_g1_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs188_g1_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs188_g1_s0_station_sref_script }; /* 0x8239280 */ +static const ScriptRef s_gs188_g1_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs188_g1_s0_station_sref_script }; /* 0x8239280 */ static const struct ScriptCommand s_gs188_g1_s0_eff0_script[] = { /* 0x823928c */ DEBUGINFO_O(36), @@ -124,7 +124,7 @@ static const struct ScriptCommand s_gs188_g2_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs188_g2_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs188_g2_s0_station_sref_script }; /* 0x82399e4 */ +static const ScriptRef s_gs188_g2_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs188_g2_s0_station_sref_script }; /* 0x82399e4 */ static const struct ScriptCommand s_gs188_g2_s0_eff0_script[] = { /* 0x82399f0 */ DEBUGINFO_O(130), @@ -202,7 +202,7 @@ static const struct GroundEffectData s_gs188_g2_s0_effs[] = { /* 0x8239d74 */ /* 0 */ { 0, 0, 1, 1, { 25, 16, CPOS_HALFTILE, CPOS_HALFTILE }, s_gs188_g2_s0_eff0_script }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x8239d80 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x8239d80 */ &s_gs188_g0_s0_station_sref, &s_gs188_g1_s0_station_sref, &s_gs188_g2_s0_station_sref, diff --git a/src/data/ground/ground_data_d06p02_station.h b/src/data/ground/ground_data_d06p02_station.h index 9c08562a3..762eaea77 100644 --- a/src/data/ground/ground_data_d06p02_station.h +++ b/src/data/ground/ground_data_d06p02_station.h @@ -40,7 +40,7 @@ static const struct ScriptCommand s_gs189_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs189_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs189_g0_s0_station_sref_script }; /* 0x823a06c */ +static const ScriptRef s_gs189_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs189_g0_s0_station_sref_script }; /* 0x823a06c */ static const struct ScriptCommand s_gs189_g0_s0_evt0_sref_script[] = { /* 0x823a078 */ DEBUGINFO_O(46), @@ -57,7 +57,7 @@ static const struct ScriptCommand s_gs189_g0_s0_evt0_sref_script[] = { /* 0x823a HALT, }; -static const struct ScriptRef s_gs189_g0_s0_evt0_sref = { GETOUT_NORMAL, 2, NULL, s_gs189_g0_s0_evt0_sref_script }; /* 0x823a164 */ +static const ScriptRef s_gs189_g0_s0_evt0_sref = { GETOUT_NORMAL, SCRIPT_TYPE_02, NULL, s_gs189_g0_s0_evt0_sref_script }; /* 0x823a164 */ static const struct ScriptCommand s_gs189_g0_s0_evt1_sref_script[] = { /* 0x823a170 */ DEBUGINFO_O(63), @@ -76,7 +76,7 @@ static const struct ScriptCommand s_gs189_g0_s0_evt1_sref_script[] = { /* 0x823a HALT, }; -static const struct ScriptRef s_gs189_g0_s0_evt1_sref = { GETOUT_NORMAL, 2, NULL, s_gs189_g0_s0_evt1_sref_script }; /* 0x823a270 */ +static const ScriptRef s_gs189_g0_s0_evt1_sref = { GETOUT_NORMAL, SCRIPT_TYPE_02, NULL, s_gs189_g0_s0_evt1_sref_script }; /* 0x823a270 */ static const struct ScriptCommand s_gs189_g0_s0_obj0_dlg2[] = { /* 0x823a27c */ DEBUGINFO_O(82), @@ -139,7 +139,7 @@ static const struct ScriptCommand s_gs189_g1_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs189_g1_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs189_g1_s0_station_sref_script }; /* 0x823a4cc */ +static const ScriptRef s_gs189_g1_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs189_g1_s0_station_sref_script }; /* 0x823a4cc */ static const struct ScriptCommand s_gs189_g1_s0_lives0_dlg0[] = { /* 0x823a4d8 */ DEBUGINFO_O(145), @@ -236,7 +236,7 @@ static const struct GroundEventData s_gs189_g0_s0_evts[] = { /* 0x823a8d8 */ /* 1 */ { 15, 3, 0, 0, { 21, 42, 0, 0 }, &s_gs189_g0_s0_evt1_sref }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x823a8f0 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x823a8f0 */ &s_gs189_g0_s0_station_sref, &s_gs189_g1_s0_station_sref, }; diff --git a/src/data/ground/ground_data_d06p03_station.h b/src/data/ground/ground_data_d06p03_station.h index 796c49e6a..a4bc827e3 100644 --- a/src/data/ground/ground_data_d06p03_station.h +++ b/src/data/ground/ground_data_d06p03_station.h @@ -20,7 +20,7 @@ static const struct ScriptCommand s_gs190_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs190_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs190_g0_s0_station_sref_script }; /* 0x823aa80 */ +static const ScriptRef s_gs190_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs190_g0_s0_station_sref_script }; /* 0x823aa80 */ static const struct ScriptCommand s_gs190_g1_s0_station_sref_script[] = { /* 0x823aa8c */ DEBUGINFO_O(26), @@ -34,7 +34,7 @@ static const struct ScriptCommand s_gs190_g1_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs190_g1_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs190_g1_s0_station_sref_script }; /* 0x823ab1c */ +static const ScriptRef s_gs190_g1_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs190_g1_s0_station_sref_script }; /* 0x823ab1c */ static const struct ScriptCommand s_gs190_g1_s0_eff0_script[] = { /* 0x823ab28 */ DEBUGINFO_O(40), @@ -657,7 +657,7 @@ static const struct GroundEffectData s_gs190_g1_s0_effs[] = { /* 0x823d6e8 */ /* 1 */ { 4, 0, 1, 1, { 28, 20, CPOS_HALFTILE, CPOS_HALFTILE }, s_gs190_g1_s0_eff1_script }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x823d700 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x823d700 */ &s_gs190_g0_s0_station_sref, &s_gs190_g1_s0_station_sref, }; diff --git a/src/data/ground/ground_data_d07p01_station.h b/src/data/ground/ground_data_d07p01_station.h index 86f0cc4d2..7b38e563f 100644 --- a/src/data/ground/ground_data_d07p01_station.h +++ b/src/data/ground/ground_data_d07p01_station.h @@ -18,7 +18,7 @@ static const struct ScriptCommand s_gs191_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs191_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs191_g0_s0_station_sref_script }; /* 0x823d848 */ +static const ScriptRef s_gs191_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs191_g0_s0_station_sref_script }; /* 0x823d848 */ static const struct ScriptCommand s_gs191_g1_s0_station_sref_script[] = { /* 0x823d854 */ DEBUGINFO_O(24), @@ -31,7 +31,7 @@ static const struct ScriptCommand s_gs191_g1_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs191_g1_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs191_g1_s0_station_sref_script }; /* 0x823d8d4 */ +static const ScriptRef s_gs191_g1_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs191_g1_s0_station_sref_script }; /* 0x823d8d4 */ static const struct ScriptCommand s_gs191_g1_s0_lives0_dlg0[] = { /* 0x823d8e0 */ DEBUGINFO_O(37), @@ -98,7 +98,7 @@ static const struct ScriptCommand s_gs191_g2_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs191_g2_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs191_g2_s0_station_sref_script }; /* 0x823dda0 */ +static const ScriptRef s_gs191_g2_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs191_g2_s0_station_sref_script }; /* 0x823dda0 */ static const struct ScriptCommand s_gs191_g2_s0_lives0_dlg0[] = { /* 0x823ddac */ DEBUGINFO_O(104), @@ -168,7 +168,7 @@ static const struct GroundEffectData s_gs191_g2_s0_effs[] = { /* 0x823e164 */ /* 0 */ { 0, 0, 1, 1, { 30, 15, 0, CPOS_HALFTILE }, NULL }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x823e170 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x823e170 */ &s_gs191_g0_s0_station_sref, &s_gs191_g1_s0_station_sref, &s_gs191_g2_s0_station_sref, diff --git a/src/data/ground/ground_data_d07p02_station.h b/src/data/ground/ground_data_d07p02_station.h index 401e1cd3c..8699492b5 100644 --- a/src/data/ground/ground_data_d07p02_station.h +++ b/src/data/ground/ground_data_d07p02_station.h @@ -27,7 +27,7 @@ static const struct ScriptCommand s_gs192_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs192_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs192_g0_s0_station_sref_script }; /* 0x823e2b4 */ +static const ScriptRef s_gs192_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs192_g0_s0_station_sref_script }; /* 0x823e2b4 */ static const struct ScriptCommand s_gs192_g1_s0_station_sref_script[] = { /* 0x823e2c0 */ DEBUGINFO_O(33), @@ -42,7 +42,7 @@ static const struct ScriptCommand s_gs192_g1_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs192_g1_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs192_g1_s0_station_sref_script }; /* 0x823e360 */ +static const ScriptRef s_gs192_g1_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs192_g1_s0_station_sref_script }; /* 0x823e360 */ static const struct ScriptCommand s_gs192_g1_s0_lives0_dlg0[] = { /* 0x823e36c */ DEBUGINFO_O(48), @@ -166,7 +166,7 @@ static const struct ScriptCommand s_gs192_g2_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs192_g2_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs192_g2_s0_station_sref_script }; /* 0x823ee8c */ +static const ScriptRef s_gs192_g2_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs192_g2_s0_station_sref_script }; /* 0x823ee8c */ static const struct ScriptCommand s_gs192_g2_s0_eff0_script[] = { /* 0x823ee98 */ DEBUGINFO_O(172), @@ -928,7 +928,7 @@ static const struct GroundEffectData s_gs192_g2_s0_effs[] = { /* 0x8242a5c */ /* 0 */ { 0, 0, 1, 1, { 20, 51, CPOS_HALFTILE, CPOS_HALFTILE }, s_gs192_g2_s0_eff0_script }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x8242a68 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x8242a68 */ &s_gs192_g0_s0_station_sref, &s_gs192_g1_s0_station_sref, &s_gs192_g2_s0_station_sref, diff --git a/src/data/ground/ground_data_d08p01_station.h b/src/data/ground/ground_data_d08p01_station.h index 78a1827e2..22020bf49 100644 --- a/src/data/ground/ground_data_d08p01_station.h +++ b/src/data/ground/ground_data_d08p01_station.h @@ -41,7 +41,7 @@ static const struct ScriptCommand s_gs193_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs193_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs193_g0_s0_station_sref_script }; /* 0x8242e54 */ +static const ScriptRef s_gs193_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs193_g0_s0_station_sref_script }; /* 0x8242e54 */ static const struct ScriptCommand s_gs193_g0_s0_obj0_dlg2[] = { /* 0x8242e60 */ DEBUGINFO_O(57), @@ -124,7 +124,7 @@ static const struct ScriptCommand s_gs193_g1_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs193_g1_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs193_g1_s0_station_sref_script }; /* 0x8243130 */ +static const ScriptRef s_gs193_g1_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs193_g1_s0_station_sref_script }; /* 0x8243130 */ static const struct ScriptCommand s_gs193_g1_s0_lives0_dlg0[] = { /* 0x824313c */ DEBUGINFO_O(140), @@ -233,7 +233,7 @@ static const struct ScriptCommand s_gs193_g2_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs193_g2_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs193_g2_s0_station_sref_script }; /* 0x8243aac */ +static const ScriptRef s_gs193_g2_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs193_g2_s0_station_sref_script }; /* 0x8243aac */ static const struct ScriptCommand s_gs193_g2_s0_lives0_dlg0[] = { /* 0x8243ab8 */ DEBUGINFO_O(249), @@ -289,7 +289,7 @@ static const struct ScriptCommand s_gs193_g3_s0_station_sref_script[] = { /* 0x8 RET_DIRECT, }; -static const struct ScriptRef s_gs193_g3_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs193_g3_s0_station_sref_script }; /* 0x8243f64 */ +static const ScriptRef s_gs193_g3_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs193_g3_s0_station_sref_script }; /* 0x8243f64 */ static const struct ScriptCommand s_gs193_g3_s0_lives0_dlg1[] = { /* 0x8243f70 */ DEBUGINFO_O(305), @@ -310,7 +310,7 @@ static const struct ScriptCommand s_gs193_g3_s0_evt0_sref_script[] = { /* 0x8243 HALT, }; -static const struct ScriptRef s_gs193_g3_s0_evt0_sref = { GETOUT_NORMAL, 2, NULL, s_gs193_g3_s0_evt0_sref_script }; /* 0x8244010 */ +static const ScriptRef s_gs193_g3_s0_evt0_sref = { GETOUT_NORMAL, SCRIPT_TYPE_02, NULL, s_gs193_g3_s0_evt0_sref_script }; /* 0x8244010 */ static const struct ScriptCommand s_gs193_g3_s1_station_sref_script[] = { /* 0x824401c */ DEBUGINFO_O(326), @@ -320,7 +320,7 @@ static const struct ScriptCommand s_gs193_g3_s1_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs193_g3_s1_station_sref = { EVENT_WAKEUP, 7, NULL, s_gs193_g3_s1_station_sref_script }; /* 0x824406c */ +static const ScriptRef s_gs193_g3_s1_station_sref = { EVENT_WAKEUP, SCRIPT_TYPE_07, NULL, s_gs193_g3_s1_station_sref_script }; /* 0x824406c */ static const struct ScriptCommand s_gs193_g3_s1_lives0_dlg0[] = { /* 0x8244078 */ DEBUGINFO_O(336), @@ -434,7 +434,7 @@ static const struct ScriptCommand s_gs193_g4_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs193_g4_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs193_g4_s0_station_sref_script }; /* 0x82447f8 */ +static const ScriptRef s_gs193_g4_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs193_g4_s0_station_sref_script }; /* 0x82447f8 */ static const struct ScriptCommand s_gs193_g4_s0_lives0_dlg0[] = { /* 0x8244804 */ DEBUGINFO_O(450), @@ -501,7 +501,7 @@ static const struct ScriptCommand s_gs193_g5_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs193_g5_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs193_g5_s0_station_sref_script }; /* 0x8244d24 */ +static const ScriptRef s_gs193_g5_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs193_g5_s0_station_sref_script }; /* 0x8244d24 */ static const struct ScriptCommand s_gs193_g5_s0_lives0_dlg0[] = { /* 0x8244d30 */ DEBUGINFO_O(517), @@ -680,7 +680,7 @@ static const struct GroundEventData s_gs193_g3_s0_evts[] = { /* 0x82452b0 */ /* 0 */ { 12, 3, 0, 0, { 28, 16, 0, 0 }, &s_gs193_g3_s0_evt0_sref }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x82452bc */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x82452bc */ &s_gs193_g0_s0_station_sref, &s_gs193_g1_s0_station_sref, &s_gs193_g2_s0_station_sref, diff --git a/src/data/ground/ground_data_d08p02_station.h b/src/data/ground/ground_data_d08p02_station.h index 0839c9242..4959ef4bb 100644 --- a/src/data/ground/ground_data_d08p02_station.h +++ b/src/data/ground/ground_data_d08p02_station.h @@ -15,7 +15,7 @@ static const struct ScriptCommand s_gs194_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs194_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs194_g0_s0_station_sref_script }; /* 0x8245580 */ +static const ScriptRef s_gs194_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs194_g0_s0_station_sref_script }; /* 0x8245580 */ static const struct ScriptCommand s_gs194_g1_s0_station_sref_script[] = { /* 0x824558c */ DEBUGINFO_O(21), @@ -36,7 +36,7 @@ static const struct ScriptCommand s_gs194_g1_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs194_g1_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs194_g1_s0_station_sref_script }; /* 0x8245728 */ +static const ScriptRef s_gs194_g1_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs194_g1_s0_station_sref_script }; /* 0x8245728 */ @@ -122,7 +122,7 @@ static const struct GroundEffectData s_gs194_g1_s0_effs[] = { /* 0x8245c30 */ /* 0 */ { 0, 0, 1, 1, { 17, 22, 0, CPOS_HALFTILE }, NULL }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x8245c3c */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x8245c3c */ &s_gs194_g0_s0_station_sref, &s_gs194_g1_s0_station_sref, }; diff --git a/src/data/ground/ground_data_d09p01_station.h b/src/data/ground/ground_data_d09p01_station.h index 67fb4f117..1d2b1dd5a 100644 --- a/src/data/ground/ground_data_d09p01_station.h +++ b/src/data/ground/ground_data_d09p01_station.h @@ -43,7 +43,7 @@ static const struct ScriptCommand s_gs195_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs195_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs195_g0_s0_station_sref_script }; /* 0x8245f84 */ +static const ScriptRef s_gs195_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs195_g0_s0_station_sref_script }; /* 0x8245f84 */ static const struct ScriptCommand s_gs195_g0_s0_obj0_dlg2[] = { /* 0x8245f90 */ DEBUGINFO_O(67), @@ -152,7 +152,7 @@ static const struct ScriptCommand s_gs195_g1_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs195_g1_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs195_g1_s0_station_sref_script }; /* 0x82464f8 */ +static const ScriptRef s_gs195_g1_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs195_g1_s0_station_sref_script }; /* 0x82464f8 */ @@ -244,7 +244,7 @@ static const struct ScriptCommand s_gs195_g2_s0_station_sref_script[] = { /* 0x8 RET_DIRECT, }; -static const struct ScriptRef s_gs195_g2_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs195_g2_s0_station_sref_script }; /* 0x8246afc */ +static const ScriptRef s_gs195_g2_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs195_g2_s0_station_sref_script }; /* 0x8246afc */ static const struct ScriptCommand s_gs195_g2_s0_lives0_dlg2[] = { /* 0x8246b08 */ DEBUGINFO_O(268), @@ -258,7 +258,7 @@ static const struct ScriptCommand s_gs195_g2_s0_evt0_sref_script[] = { /* 0x8246 HALT, }; -static const struct ScriptRef s_gs195_g2_s0_evt0_sref = { GETOUT_NORMAL, 2, NULL, s_gs195_g2_s0_evt0_sref_script }; /* 0x8246b68 */ +static const ScriptRef s_gs195_g2_s0_evt0_sref = { GETOUT_NORMAL, SCRIPT_TYPE_02, NULL, s_gs195_g2_s0_evt0_sref_script }; /* 0x8246b68 */ static const struct ScriptCommand s_gs195_g2_s1_station_sref_script[] = { /* 0x8246b74 */ DEBUGINFO_O(282), @@ -268,7 +268,7 @@ static const struct ScriptCommand s_gs195_g2_s1_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs195_g2_s1_station_sref = { EVENT_WAKEUP, 7, NULL, s_gs195_g2_s1_station_sref_script }; /* 0x8246bc4 */ +static const ScriptRef s_gs195_g2_s1_station_sref = { EVENT_WAKEUP, SCRIPT_TYPE_07, NULL, s_gs195_g2_s1_station_sref_script }; /* 0x8246bc4 */ static const struct ScriptCommand s_gs195_g2_s1_lives0_dlg0[] = { /* 0x8246bd0 */ DEBUGINFO_O(292), @@ -394,7 +394,7 @@ static const struct ScriptCommand s_gs195_g3_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs195_g3_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs195_g3_s0_station_sref_script }; /* 0x82474e0 */ +static const ScriptRef s_gs195_g3_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs195_g3_s0_station_sref_script }; /* 0x82474e0 */ static const struct ScriptCommand s_gs195_g3_s0_lives0_dlg0[] = { /* 0x82474ec */ DEBUGINFO_O(418), @@ -509,7 +509,7 @@ static const struct ScriptCommand s_gs195_g4_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs195_g4_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs195_g4_s0_station_sref_script }; /* 0x8247d24 */ +static const ScriptRef s_gs195_g4_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs195_g4_s0_station_sref_script }; /* 0x8247d24 */ static const struct ScriptCommand s_gs195_g4_s0_lives0_dlg0[] = { /* 0x8247d30 */ DEBUGINFO_O(533), @@ -574,7 +574,7 @@ static const struct ScriptCommand s_gs195_g5_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs195_g5_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs195_g5_s0_station_sref_script }; /* 0x8248224 */ +static const ScriptRef s_gs195_g5_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs195_g5_s0_station_sref_script }; /* 0x8248224 */ static const struct ScriptCommand s_gs195_g5_s0_lives0_dlg0[] = { /* 0x8248230 */ DEBUGINFO_O(598), @@ -752,7 +752,7 @@ static const struct GroundEventData s_gs195_g2_s0_evts[] = { /* 0x82487b0 */ /* 0 */ { 12, 3, 0, 0, { 17, 19, 0, 0 }, &s_gs195_g2_s0_evt0_sref }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x82487bc */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x82487bc */ &s_gs195_g0_s0_station_sref, &s_gs195_g1_s0_station_sref, &s_gs195_g2_s0_station_sref, diff --git a/src/data/ground/ground_data_d09p02_station.h b/src/data/ground/ground_data_d09p02_station.h index 46e09f571..33a31c789 100644 --- a/src/data/ground/ground_data_d09p02_station.h +++ b/src/data/ground/ground_data_d09p02_station.h @@ -45,7 +45,7 @@ static const struct ScriptCommand s_gs196_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs196_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs196_g0_s0_station_sref_script }; /* 0x8248cc0 */ +static const ScriptRef s_gs196_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs196_g0_s0_station_sref_script }; /* 0x8248cc0 */ static const struct ScriptCommand s_gs196_g0_s0_evt0_sref_script[] = { /* 0x8248ccc */ DEBUGINFO_O(51), @@ -62,7 +62,7 @@ static const struct ScriptCommand s_gs196_g0_s0_evt0_sref_script[] = { /* 0x8248 HALT, }; -static const struct ScriptRef s_gs196_g0_s0_evt0_sref = { GETOUT_NORMAL, 2, NULL, s_gs196_g0_s0_evt0_sref_script }; /* 0x8248da8 */ +static const ScriptRef s_gs196_g0_s0_evt0_sref = { GETOUT_NORMAL, SCRIPT_TYPE_02, NULL, s_gs196_g0_s0_evt0_sref_script }; /* 0x8248da8 */ static const struct ScriptCommand s_gs196_g0_s0_evt1_sref_script[] = { /* 0x8248db4 */ DEBUGINFO_O(68), @@ -92,7 +92,7 @@ static const struct ScriptCommand s_gs196_g0_s0_evt1_sref_script[] = { /* 0x8248 HALT, }; -static const struct ScriptRef s_gs196_g0_s0_evt1_sref = { GETOUT_NORMAL, 2, NULL, s_gs196_g0_s0_evt1_sref_script }; /* 0x8248f7c */ +static const ScriptRef s_gs196_g0_s0_evt1_sref = { GETOUT_NORMAL, SCRIPT_TYPE_02, NULL, s_gs196_g0_s0_evt1_sref_script }; /* 0x8248f7c */ static const struct ScriptCommand s_gs196_g0_s0_obj0_dlg2[] = { /* 0x8248f88 */ DEBUGINFO_O(98), @@ -155,7 +155,7 @@ static const struct ScriptCommand s_gs196_g1_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs196_g1_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs196_g1_s0_station_sref_script }; /* 0x82491d8 */ +static const ScriptRef s_gs196_g1_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs196_g1_s0_station_sref_script }; /* 0x82491d8 */ static const struct ScriptCommand s_gs196_g1_s0_lives0_dlg0[] = { /* 0x82491e4 */ DEBUGINFO_O(161), @@ -252,7 +252,7 @@ static const struct GroundEventData s_gs196_g0_s0_evts[] = { /* 0x82495c0 */ /* 1 */ { 15, 3, 0, 0, { 21, 42, 0, 0 }, &s_gs196_g0_s0_evt1_sref }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x82495d8 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x82495d8 */ &s_gs196_g0_s0_station_sref, &s_gs196_g1_s0_station_sref, }; diff --git a/src/data/ground/ground_data_d09p03_station.h b/src/data/ground/ground_data_d09p03_station.h index ee304e24f..813edecef 100644 --- a/src/data/ground/ground_data_d09p03_station.h +++ b/src/data/ground/ground_data_d09p03_station.h @@ -14,7 +14,7 @@ static const struct ScriptCommand s_gs197_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs197_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs197_g0_s0_station_sref_script }; /* 0x8249768 */ +static const ScriptRef s_gs197_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs197_g0_s0_station_sref_script }; /* 0x8249768 */ static const struct ScriptCommand s_gs197_g1_s0_station_sref_script[] = { /* 0x8249774 */ DEBUGINFO_O(20), @@ -27,7 +27,7 @@ static const struct ScriptCommand s_gs197_g1_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs197_g1_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs197_g1_s0_station_sref_script }; /* 0x82497f4 */ +static const ScriptRef s_gs197_g1_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs197_g1_s0_station_sref_script }; /* 0x82497f4 */ static const struct ScriptCommand s_gs197_g1_s0_eff0_script[] = { /* 0x8249800 */ DEBUGINFO_O(33), @@ -426,7 +426,7 @@ static const struct GroundEffectData s_gs197_g1_s0_effs[] = { /* 0x824bb54 */ /* 2 */ { 4, 0, 1, 1, { 39, 18, CPOS_HALFTILE, CPOS_HALFTILE }, s_gs197_g1_s0_eff2_script }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x824bb78 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x824bb78 */ &s_gs197_g0_s0_station_sref, &s_gs197_g1_s0_station_sref, }; diff --git a/src/data/ground/ground_data_d10p01_station.h b/src/data/ground/ground_data_d10p01_station.h index 9ce330aff..b152909ce 100644 --- a/src/data/ground/ground_data_d10p01_station.h +++ b/src/data/ground/ground_data_d10p01_station.h @@ -43,7 +43,7 @@ static const struct ScriptCommand s_gs198_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs198_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs198_g0_s0_station_sref_script }; /* 0x824beb8 */ +static const ScriptRef s_gs198_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs198_g0_s0_station_sref_script }; /* 0x824beb8 */ static const struct ScriptCommand s_gs198_g0_s0_obj0_dlg2[] = { /* 0x824bec4 */ DEBUGINFO_O(57), @@ -133,7 +133,7 @@ static const struct ScriptCommand s_gs198_g1_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs198_g1_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs198_g1_s0_station_sref_script }; /* 0x824c204 */ +static const ScriptRef s_gs198_g1_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs198_g1_s0_station_sref_script }; /* 0x824c204 */ static const struct ScriptCommand s_gs198_g1_s0_eff0_script[] = { /* 0x824c210 */ DEBUGINFO_O(147), @@ -191,7 +191,7 @@ static const struct ScriptCommand s_gs198_g2_s0_station_sref_script[] = { /* 0x8 RET_DIRECT, }; -static const struct ScriptRef s_gs198_g2_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs198_g2_s0_station_sref_script }; /* 0x824c700 */ +static const ScriptRef s_gs198_g2_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs198_g2_s0_station_sref_script }; /* 0x824c700 */ static const struct ScriptCommand s_gs198_g2_s0_lives0_dlg2[] = { /* 0x824c70c */ DEBUGINFO_O(205), @@ -205,7 +205,7 @@ static const struct ScriptCommand s_gs198_g2_s0_evt0_sref_script[] = { /* 0x824c HALT, }; -static const struct ScriptRef s_gs198_g2_s0_evt0_sref = { GETOUT_NORMAL, 2, NULL, s_gs198_g2_s0_evt0_sref_script }; /* 0x824c76c */ +static const ScriptRef s_gs198_g2_s0_evt0_sref = { GETOUT_NORMAL, SCRIPT_TYPE_02, NULL, s_gs198_g2_s0_evt0_sref_script }; /* 0x824c76c */ static const struct ScriptCommand s_gs198_g2_s1_station_sref_script[] = { /* 0x824c778 */ DEBUGINFO_O(219), @@ -215,7 +215,7 @@ static const struct ScriptCommand s_gs198_g2_s1_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs198_g2_s1_station_sref = { EVENT_WAKEUP, 7, NULL, s_gs198_g2_s1_station_sref_script }; /* 0x824c7c8 */ +static const ScriptRef s_gs198_g2_s1_station_sref = { EVENT_WAKEUP, SCRIPT_TYPE_07, NULL, s_gs198_g2_s1_station_sref_script }; /* 0x824c7c8 */ static const struct ScriptCommand s_gs198_g2_s1_lives0_dlg0[] = { /* 0x824c7d4 */ DEBUGINFO_O(229), @@ -342,7 +342,7 @@ static const struct ScriptCommand s_gs198_g3_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs198_g3_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs198_g3_s0_station_sref_script }; /* 0x824d0b4 */ +static const ScriptRef s_gs198_g3_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs198_g3_s0_station_sref_script }; /* 0x824d0b4 */ static const struct ScriptCommand s_gs198_g3_s0_lives0_dlg0[] = { /* 0x824d0c0 */ DEBUGINFO_O(356), @@ -404,7 +404,7 @@ static const struct ScriptCommand s_gs198_g4_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs198_g4_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs198_g4_s0_station_sref_script }; /* 0x824d4f4 */ +static const ScriptRef s_gs198_g4_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs198_g4_s0_station_sref_script }; /* 0x824d4f4 */ static const struct ScriptCommand s_gs198_g4_s0_lives0_dlg0[] = { /* 0x824d500 */ DEBUGINFO_O(418), @@ -462,7 +462,7 @@ static const struct ScriptCommand s_gs198_g5_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs198_g5_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs198_g5_s0_station_sref_script }; /* 0x824d974 */ +static const ScriptRef s_gs198_g5_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs198_g5_s0_station_sref_script }; /* 0x824d974 */ static const struct ScriptCommand s_gs198_g5_s0_lives0_dlg0[] = { /* 0x824d980 */ DEBUGINFO_O(476), @@ -531,7 +531,7 @@ static const struct ScriptCommand s_gs198_g6_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs198_g6_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs198_g6_s0_station_sref_script }; /* 0x824dec8 */ +static const ScriptRef s_gs198_g6_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs198_g6_s0_station_sref_script }; /* 0x824dec8 */ static const struct ScriptCommand s_gs198_g6_s0_lives0_dlg0[] = { /* 0x824ded4 */ DEBUGINFO_O(545), @@ -721,7 +721,7 @@ static const struct GroundEventData s_gs198_g2_s0_evts[] = { /* 0x824e48c */ /* 0 */ { 4, 3, 0, 0, { 15, 27, 0, 0 }, &s_gs198_g2_s0_evt0_sref }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x824e498 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x824e498 */ &s_gs198_g0_s0_station_sref, &s_gs198_g1_s0_station_sref, &s_gs198_g2_s0_station_sref, diff --git a/src/data/ground/ground_data_d10p02_station.h b/src/data/ground/ground_data_d10p02_station.h index ac6fe3f05..d36b1d51b 100644 --- a/src/data/ground/ground_data_d10p02_station.h +++ b/src/data/ground/ground_data_d10p02_station.h @@ -45,7 +45,7 @@ static const struct ScriptCommand s_gs199_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs199_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs199_g0_s0_station_sref_script }; /* 0x824e980 */ +static const ScriptRef s_gs199_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs199_g0_s0_station_sref_script }; /* 0x824e980 */ static const struct ScriptCommand s_gs199_g0_s0_evt0_sref_script[] = { /* 0x824e98c */ DEBUGINFO_O(51), @@ -62,7 +62,7 @@ static const struct ScriptCommand s_gs199_g0_s0_evt0_sref_script[] = { /* 0x824e HALT, }; -static const struct ScriptRef s_gs199_g0_s0_evt0_sref = { GETOUT_NORMAL, 2, NULL, s_gs199_g0_s0_evt0_sref_script }; /* 0x824ea68 */ +static const ScriptRef s_gs199_g0_s0_evt0_sref = { GETOUT_NORMAL, SCRIPT_TYPE_02, NULL, s_gs199_g0_s0_evt0_sref_script }; /* 0x824ea68 */ static const struct ScriptCommand s_gs199_g0_s0_evt1_sref_script[] = { /* 0x824ea74 */ DEBUGINFO_O(68), @@ -92,7 +92,7 @@ static const struct ScriptCommand s_gs199_g0_s0_evt1_sref_script[] = { /* 0x824e HALT, }; -static const struct ScriptRef s_gs199_g0_s0_evt1_sref = { GETOUT_NORMAL, 2, NULL, s_gs199_g0_s0_evt1_sref_script }; /* 0x824ec3c */ +static const ScriptRef s_gs199_g0_s0_evt1_sref = { GETOUT_NORMAL, SCRIPT_TYPE_02, NULL, s_gs199_g0_s0_evt1_sref_script }; /* 0x824ec3c */ static const struct ScriptCommand s_gs199_g0_s0_obj0_dlg2[] = { /* 0x824ec48 */ DEBUGINFO_O(98), @@ -155,7 +155,7 @@ static const struct ScriptCommand s_gs199_g1_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs199_g1_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs199_g1_s0_station_sref_script }; /* 0x824ee98 */ +static const ScriptRef s_gs199_g1_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs199_g1_s0_station_sref_script }; /* 0x824ee98 */ static const struct ScriptCommand s_gs199_g1_s0_lives0_dlg0[] = { /* 0x824eea4 */ DEBUGINFO_O(161), @@ -223,7 +223,7 @@ static const struct ScriptCommand s_gs199_g2_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs199_g2_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs199_g2_s0_station_sref_script }; /* 0x824f330 */ +static const ScriptRef s_gs199_g2_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs199_g2_s0_station_sref_script }; /* 0x824f330 */ static const struct ScriptCommand s_gs199_g2_s0_lives0_dlg0[] = { /* 0x824f33c */ DEBUGINFO_O(229), @@ -343,7 +343,7 @@ static const struct GroundEventData s_gs199_g0_s0_evts[] = { /* 0x824f8b4 */ /* 1 */ { 15, 3, 0, 0, { 21, 42, 0, 0 }, &s_gs199_g0_s0_evt1_sref }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x824f8cc */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x824f8cc */ &s_gs199_g0_s0_station_sref, &s_gs199_g1_s0_station_sref, &s_gs199_g2_s0_station_sref, diff --git a/src/data/ground/ground_data_d10p03_station.h b/src/data/ground/ground_data_d10p03_station.h index baa43677d..02d9b76e5 100644 --- a/src/data/ground/ground_data_d10p03_station.h +++ b/src/data/ground/ground_data_d10p03_station.h @@ -13,7 +13,7 @@ static const struct ScriptCommand s_gs200_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs200_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs200_g0_s0_station_sref_script }; /* 0x824fa90 */ +static const ScriptRef s_gs200_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs200_g0_s0_station_sref_script }; /* 0x824fa90 */ static const struct ScriptCommand s_gs200_g1_s0_station_sref_script[] = { /* 0x824fa9c */ DEBUGINFO_O(19), @@ -40,7 +40,7 @@ static const struct ScriptCommand s_gs200_g1_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs200_g1_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs200_g1_s0_station_sref_script }; /* 0x824fca8 */ +static const ScriptRef s_gs200_g1_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs200_g1_s0_station_sref_script }; /* 0x824fca8 */ static const struct ScriptCommand s_gs200_g1_s0_lives0_dlg0[] = { /* 0x824fcb4 */ @@ -470,7 +470,7 @@ static const struct GroundEffectData s_gs200_g1_s0_effs[] = { /* 0x8251e8c */ /* 0 */ { 0, 0, 1, 1, { 33, 27, 0, CPOS_HALFTILE }, NULL }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x8251e98 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x8251e98 */ &s_gs200_g0_s0_station_sref, &s_gs200_g1_s0_station_sref, }; diff --git a/src/data/ground/ground_data_d11p01_station.h b/src/data/ground/ground_data_d11p01_station.h index 995264372..261f9e68f 100644 --- a/src/data/ground/ground_data_d11p01_station.h +++ b/src/data/ground/ground_data_d11p01_station.h @@ -44,7 +44,7 @@ static const struct ScriptCommand s_gs201_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs201_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs201_g0_s0_station_sref_script }; /* 0x8252210 */ +static const ScriptRef s_gs201_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs201_g0_s0_station_sref_script }; /* 0x8252210 */ static const struct ScriptCommand s_gs201_g0_s0_obj0_dlg2[] = { /* 0x825221c */ DEBUGINFO_O(59), @@ -132,7 +132,7 @@ static const struct ScriptCommand s_gs201_g1_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs201_g1_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs201_g1_s0_station_sref_script }; /* 0x825253c */ +static const ScriptRef s_gs201_g1_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs201_g1_s0_station_sref_script }; /* 0x825253c */ static const struct ScriptCommand s_gs201_g1_s0_lives0_dlg0[] = { /* 0x8252548 */ DEBUGINFO_O(147), @@ -286,7 +286,7 @@ static const struct ScriptCommand s_gs201_g2_s0_station_sref_script[] = { /* 0x8 RET_DIRECT, }; -static const struct ScriptRef s_gs201_g2_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs201_g2_s0_station_sref_script }; /* 0x825383c */ +static const ScriptRef s_gs201_g2_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs201_g2_s0_station_sref_script }; /* 0x825383c */ static const struct ScriptCommand s_gs201_g2_s0_lives0_dlg2[] = { /* 0x8253848 */ DEBUGINFO_O(301), @@ -300,7 +300,7 @@ static const struct ScriptCommand s_gs201_g2_s0_evt0_sref_script[] = { /* 0x8253 HALT, }; -static const struct ScriptRef s_gs201_g2_s0_evt0_sref = { GETOUT_NORMAL, 2, NULL, s_gs201_g2_s0_evt0_sref_script }; /* 0x82538a8 */ +static const ScriptRef s_gs201_g2_s0_evt0_sref = { GETOUT_NORMAL, SCRIPT_TYPE_02, NULL, s_gs201_g2_s0_evt0_sref_script }; /* 0x82538a8 */ static const struct ScriptCommand s_gs201_g2_s1_station_sref_script[] = { /* 0x82538b4 */ DEBUGINFO_O(315), @@ -310,7 +310,7 @@ static const struct ScriptCommand s_gs201_g2_s1_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs201_g2_s1_station_sref = { EVENT_WAKEUP, 7, NULL, s_gs201_g2_s1_station_sref_script }; /* 0x8253904 */ +static const ScriptRef s_gs201_g2_s1_station_sref = { EVENT_WAKEUP, SCRIPT_TYPE_07, NULL, s_gs201_g2_s1_station_sref_script }; /* 0x8253904 */ static const struct ScriptCommand s_gs201_g2_s1_lives0_dlg0[] = { /* 0x8253910 */ DEBUGINFO_O(325), @@ -440,7 +440,7 @@ static const struct ScriptCommand s_gs201_g3_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs201_g3_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs201_g3_s0_station_sref_script }; /* 0x82541a0 */ +static const ScriptRef s_gs201_g3_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs201_g3_s0_station_sref_script }; /* 0x82541a0 */ static const struct ScriptCommand s_gs201_g3_s0_lives0_dlg0[] = { /* 0x82541ac */ DEBUGINFO_O(455), @@ -503,7 +503,7 @@ static const struct ScriptCommand s_gs201_g4_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs201_g4_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs201_g4_s0_station_sref_script }; /* 0x82545e0 */ +static const ScriptRef s_gs201_g4_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs201_g4_s0_station_sref_script }; /* 0x82545e0 */ static const struct ScriptCommand s_gs201_g4_s0_lives0_dlg0[] = { /* 0x82545ec */ DEBUGINFO_O(518), @@ -573,7 +573,7 @@ static const struct ScriptCommand s_gs201_g5_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs201_g5_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs201_g5_s0_station_sref_script }; /* 0x8254aec */ +static const ScriptRef s_gs201_g5_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs201_g5_s0_station_sref_script }; /* 0x8254aec */ static const struct ScriptCommand s_gs201_g5_s0_lives0_dlg0[] = { /* 0x8254af8 */ DEBUGINFO_O(588), @@ -628,7 +628,7 @@ static const struct ScriptCommand s_gs201_g6_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs201_g6_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs201_g6_s0_station_sref_script }; /* 0x8254ea4 */ +static const ScriptRef s_gs201_g6_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs201_g6_s0_station_sref_script }; /* 0x8254ea4 */ static const struct ScriptCommand s_gs201_g6_s0_eff0_script[] = { /* 0x8254eb0 */ DEBUGINFO_O(643), @@ -820,7 +820,7 @@ static const struct GroundEventData s_gs201_g2_s0_evts[] = { /* 0x8255410 */ /* 0 */ { 3, 3, 0, 0, { 26, 17, 0, 0 }, &s_gs201_g2_s0_evt0_sref }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x825541c */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x825541c */ &s_gs201_g0_s0_station_sref, &s_gs201_g1_s0_station_sref, &s_gs201_g2_s0_station_sref, diff --git a/src/data/ground/ground_data_d11p02_station.h b/src/data/ground/ground_data_d11p02_station.h index 959f7ca4c..60bbd8aeb 100644 --- a/src/data/ground/ground_data_d11p02_station.h +++ b/src/data/ground/ground_data_d11p02_station.h @@ -47,7 +47,7 @@ static const struct ScriptCommand s_gs202_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs202_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs202_g0_s0_station_sref_script }; /* 0x825592c */ +static const ScriptRef s_gs202_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs202_g0_s0_station_sref_script }; /* 0x825592c */ static const struct ScriptCommand s_gs202_g0_s0_evt0_sref_script[] = { /* 0x8255938 */ DEBUGINFO_O(53), @@ -69,7 +69,7 @@ static const struct ScriptCommand s_gs202_g0_s0_evt0_sref_script[] = { /* 0x8255 HALT, }; -static const struct ScriptRef s_gs202_g0_s0_evt0_sref = { GETOUT_NORMAL, 2, NULL, s_gs202_g0_s0_evt0_sref_script }; /* 0x8255a64 */ +static const ScriptRef s_gs202_g0_s0_evt0_sref = { GETOUT_NORMAL, SCRIPT_TYPE_02, NULL, s_gs202_g0_s0_evt0_sref_script }; /* 0x8255a64 */ static const struct ScriptCommand s_gs202_g0_s0_evt1_sref_script[] = { /* 0x8255a70 */ DEBUGINFO_O(75), @@ -99,7 +99,7 @@ static const struct ScriptCommand s_gs202_g0_s0_evt1_sref_script[] = { /* 0x8255 HALT, }; -static const struct ScriptRef s_gs202_g0_s0_evt1_sref = { GETOUT_NORMAL, 2, NULL, s_gs202_g0_s0_evt1_sref_script }; /* 0x8255c38 */ +static const ScriptRef s_gs202_g0_s0_evt1_sref = { GETOUT_NORMAL, SCRIPT_TYPE_02, NULL, s_gs202_g0_s0_evt1_sref_script }; /* 0x8255c38 */ static const struct ScriptCommand s_gs202_g0_s0_obj0_dlg2[] = { /* 0x8255c44 */ DEBUGINFO_O(105), @@ -168,7 +168,7 @@ static const struct ScriptCommand s_gs202_g1_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs202_g1_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs202_g1_s0_station_sref_script }; /* 0x8255ef4 */ +static const ScriptRef s_gs202_g1_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs202_g1_s0_station_sref_script }; /* 0x8255ef4 */ static const struct ScriptCommand s_gs202_g1_s0_lives0_dlg0[] = { /* 0x8255f00 */ DEBUGINFO_O(174), @@ -224,7 +224,7 @@ static const struct ScriptCommand s_gs202_g2_s0_station_sref_script[] = { /* 0x8 RET_DIRECT, }; -static const struct ScriptRef s_gs202_g2_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs202_g2_s0_station_sref_script }; /* 0x82562bc */ +static const ScriptRef s_gs202_g2_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs202_g2_s0_station_sref_script }; /* 0x82562bc */ static const struct GroundLivesData s_gs202_g0_s0_lives[] = { /* 0x82562c8 */ /* 0 */ { 145, 0, 0, 0, { 28, 28, CPOS_HALFTILE, CPOS_HALFTILE }, {} }, }; @@ -280,7 +280,7 @@ static const struct GroundEventData s_gs202_g0_s0_evts[] = { /* 0x82563c4 */ /* 1 */ { 15, 3, 0, 0, { 21, 42, 0, 0 }, &s_gs202_g0_s0_evt1_sref }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x82563dc */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x82563dc */ &s_gs202_g0_s0_station_sref, &s_gs202_g1_s0_station_sref, &s_gs202_g2_s0_station_sref, diff --git a/src/data/ground/ground_data_d11p03_station.h b/src/data/ground/ground_data_d11p03_station.h index d3fd35a37..551d94745 100644 --- a/src/data/ground/ground_data_d11p03_station.h +++ b/src/data/ground/ground_data_d11p03_station.h @@ -27,7 +27,7 @@ static const struct ScriptCommand s_gs203_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs203_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs203_g0_s0_station_sref_script }; /* 0x82565a0 */ +static const ScriptRef s_gs203_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs203_g0_s0_station_sref_script }; /* 0x82565a0 */ static const struct ScriptCommand s_gs203_g1_s0_station_sref_script[] = { /* 0x82565ac */ DEBUGINFO_O(33), @@ -41,7 +41,7 @@ static const struct ScriptCommand s_gs203_g1_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs203_g1_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs203_g1_s0_station_sref_script }; /* 0x825663c */ +static const ScriptRef s_gs203_g1_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs203_g1_s0_station_sref_script }; /* 0x825663c */ static const struct ScriptCommand s_gs203_g1_s0_eff0_script[] = { /* 0x8256648 */ DEBUGINFO_O(47), @@ -317,7 +317,7 @@ static const struct ScriptCommand s_gs203_g2_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs203_g2_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs203_g2_s0_station_sref_script }; /* 0x8257e9c */ +static const ScriptRef s_gs203_g2_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs203_g2_s0_station_sref_script }; /* 0x8257e9c */ static const struct ScriptCommand s_gs203_g2_s0_eff0_script[] = { /* 0x8257ea8 */ DEBUGINFO_O(323), @@ -663,7 +663,7 @@ static const struct ScriptCommand s_gs203_g3_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs203_g3_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs203_g3_s0_station_sref_script }; /* 0x825964c */ +static const ScriptRef s_gs203_g3_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs203_g3_s0_station_sref_script }; /* 0x825964c */ static const struct ScriptCommand s_gs203_g3_s0_lives0_dlg0[] = { /* 0x8259658 */ @@ -1361,7 +1361,7 @@ static const struct GroundEffectData s_gs203_g3_s0_effs[] = { /* 0x825cc5c */ /* 0 */ { 0, 0, 1, 1, { 31, 30, CPOS_HALFTILE, CPOS_HALFTILE }, NULL }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x825cc68 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x825cc68 */ &s_gs203_g0_s0_station_sref, &s_gs203_g1_s0_station_sref, &s_gs203_g2_s0_station_sref, diff --git a/src/data/ground/ground_data_d12p01_station.h b/src/data/ground/ground_data_d12p01_station.h index f23fdf1ac..d891ef5cd 100644 --- a/src/data/ground/ground_data_d12p01_station.h +++ b/src/data/ground/ground_data_d12p01_station.h @@ -42,7 +42,7 @@ static const struct ScriptCommand s_gs204_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs204_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs204_g0_s0_station_sref_script }; /* 0x825d030 */ +static const ScriptRef s_gs204_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs204_g0_s0_station_sref_script }; /* 0x825d030 */ static const struct ScriptCommand s_gs204_g0_s1_lives0_dlg0[] = { /* 0x825d03c */ DEBUGINFO_O(48), @@ -95,7 +95,7 @@ static const struct ScriptCommand s_gs204_g1_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs204_g1_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs204_g1_s0_station_sref_script }; /* 0x825d21c */ +static const ScriptRef s_gs204_g1_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs204_g1_s0_station_sref_script }; /* 0x825d21c */ static const struct ScriptCommand s_gs204_g1_s0_lives0_dlg0[] = { /* 0x825d228 */ DEBUGINFO_O(101), @@ -163,7 +163,7 @@ static const struct ScriptCommand s_gs204_g2_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs204_g2_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs204_g2_s0_station_sref_script }; /* 0x825d80c */ +static const ScriptRef s_gs204_g2_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs204_g2_s0_station_sref_script }; /* 0x825d80c */ static const struct ScriptCommand s_gs204_g2_s0_lives0_dlg0[] = { /* 0x825d818 */ DEBUGINFO_O(169), @@ -252,7 +252,7 @@ static const struct GroundEffectData s_gs204_g2_s0_effs[] = { /* 0x825db48 */ /* 0 */ { 0, 0, 1, 1, { 26, 17, 0, CPOS_HALFTILE }, NULL }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x825db54 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x825db54 */ &s_gs204_g0_s0_station_sref, &s_gs204_g1_s0_station_sref, &s_gs204_g2_s0_station_sref, diff --git a/src/data/ground/ground_data_d12p02_station.h b/src/data/ground/ground_data_d12p02_station.h index da9f7a5a7..2ab13d659 100644 --- a/src/data/ground/ground_data_d12p02_station.h +++ b/src/data/ground/ground_data_d12p02_station.h @@ -40,7 +40,7 @@ static const struct ScriptCommand s_gs205_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs205_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs205_g0_s0_station_sref_script }; /* 0x825dee8 */ +static const ScriptRef s_gs205_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs205_g0_s0_station_sref_script }; /* 0x825dee8 */ static const struct ScriptCommand s_gs205_g0_s0_evt0_sref_script[] = { /* 0x825def4 */ DEBUGINFO_O(46), @@ -57,7 +57,7 @@ static const struct ScriptCommand s_gs205_g0_s0_evt0_sref_script[] = { /* 0x825d HALT, }; -static const struct ScriptRef s_gs205_g0_s0_evt0_sref = { GETOUT_NORMAL, 2, NULL, s_gs205_g0_s0_evt0_sref_script }; /* 0x825dfd0 */ +static const ScriptRef s_gs205_g0_s0_evt0_sref = { GETOUT_NORMAL, SCRIPT_TYPE_02, NULL, s_gs205_g0_s0_evt0_sref_script }; /* 0x825dfd0 */ static const struct ScriptCommand s_gs205_g0_s0_evt1_sref_script[] = { /* 0x825dfdc */ DEBUGINFO_O(63), @@ -76,7 +76,7 @@ static const struct ScriptCommand s_gs205_g0_s0_evt1_sref_script[] = { /* 0x825d HALT, }; -static const struct ScriptRef s_gs205_g0_s0_evt1_sref = { GETOUT_NORMAL, 2, NULL, s_gs205_g0_s0_evt1_sref_script }; /* 0x825e0dc */ +static const ScriptRef s_gs205_g0_s0_evt1_sref = { GETOUT_NORMAL, SCRIPT_TYPE_02, NULL, s_gs205_g0_s0_evt1_sref_script }; /* 0x825e0dc */ static const struct ScriptCommand s_gs205_g0_s0_obj0_dlg2[] = { /* 0x825e0e8 */ DEBUGINFO_O(82), @@ -139,7 +139,7 @@ static const struct ScriptCommand s_gs205_g1_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs205_g1_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs205_g1_s0_station_sref_script }; /* 0x825e338 */ +static const ScriptRef s_gs205_g1_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs205_g1_s0_station_sref_script }; /* 0x825e338 */ static const struct ScriptCommand s_gs205_g1_s0_lives0_dlg0[] = { /* 0x825e344 */ DEBUGINFO_O(145), @@ -235,7 +235,7 @@ static const struct GroundEventData s_gs205_g0_s0_evts[] = { /* 0x825e71c */ /* 1 */ { 15, 3, 0, 0, { 21, 42, 0, 0 }, &s_gs205_g0_s0_evt1_sref }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x825e734 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x825e734 */ &s_gs205_g0_s0_station_sref, &s_gs205_g1_s0_station_sref, }; diff --git a/src/data/ground/ground_data_d12p04_station.h b/src/data/ground/ground_data_d12p04_station.h index c8649aeb7..0b66f4d6c 100644 --- a/src/data/ground/ground_data_d12p04_station.h +++ b/src/data/ground/ground_data_d12p04_station.h @@ -13,7 +13,7 @@ static const struct ScriptCommand s_gs206_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs206_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs206_g0_s0_station_sref_script }; /* 0x825e8c4 */ +static const ScriptRef s_gs206_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs206_g0_s0_station_sref_script }; /* 0x825e8c4 */ static const struct ScriptCommand s_gs206_g1_s0_station_sref_script[] = { /* 0x825e8d0 */ DEBUGINFO_O(19), @@ -42,7 +42,7 @@ static const struct ScriptCommand s_gs206_g1_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs206_g1_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs206_g1_s0_station_sref_script }; /* 0x825eacc */ +static const ScriptRef s_gs206_g1_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs206_g1_s0_station_sref_script }; /* 0x825eacc */ static const struct ScriptCommand s_gs206_g1_s0_eff0_script[] = { /* 0x825ead8 */ DEBUGINFO_O(48), @@ -394,7 +394,7 @@ static const struct GroundEffectData s_gs206_g1_s0_effs[] = { /* 0x825fe8c */ /* 3 */ { 4, 0, 2, 1, { 26, 24, CPOS_HALFTILE, CPOS_HALFTILE }, s_gs206_g1_s0_eff3_script }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x825febc */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x825febc */ &s_gs206_g0_s0_station_sref, &s_gs206_g1_s0_station_sref, }; diff --git a/src/data/ground/ground_data_d13p01_station.h b/src/data/ground/ground_data_d13p01_station.h index 11c059b40..cb9229efb 100644 --- a/src/data/ground/ground_data_d13p01_station.h +++ b/src/data/ground/ground_data_d13p01_station.h @@ -14,7 +14,7 @@ static const struct ScriptCommand s_gs207_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs207_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs207_g0_s0_station_sref_script }; /* 0x825ffd4 */ +static const ScriptRef s_gs207_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs207_g0_s0_station_sref_script }; /* 0x825ffd4 */ static const struct ScriptCommand s_gs207_g1_s0_station_sref_script[] = { /* 0x825ffe0 */ DEBUGINFO_O(20), @@ -29,7 +29,7 @@ static const struct ScriptCommand s_gs207_g1_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs207_g1_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs207_g1_s0_station_sref_script }; /* 0x8260080 */ +static const ScriptRef s_gs207_g1_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs207_g1_s0_station_sref_script }; /* 0x8260080 */ static const struct ScriptCommand s_gs207_g1_s0_lives0_dlg0[] = { /* 0x826008c */ DEBUGINFO_O(35), @@ -173,7 +173,7 @@ static const struct ScriptCommand s_gs207_g2_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs207_g2_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs207_g2_s0_station_sref_script }; /* 0x8260928 */ +static const ScriptRef s_gs207_g2_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs207_g2_s0_station_sref_script }; /* 0x8260928 */ static const struct ScriptCommand s_gs207_g2_s0_lives0_dlg0[] = { /* 0x8260934 */ DEBUGINFO_O(179), @@ -239,7 +239,7 @@ static const struct ScriptCommand s_gs207_g3_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs207_g3_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs207_g3_s0_station_sref_script }; /* 0x8260d2c */ +static const ScriptRef s_gs207_g3_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs207_g3_s0_station_sref_script }; /* 0x8260d2c */ static const struct ScriptCommand s_gs207_g3_s0_lives0_dlg0[] = { /* 0x8260d38 */ DEBUGINFO_O(245), @@ -383,7 +383,7 @@ static const struct GroundEffectData s_gs207_g3_s0_effs[] = { /* 0x826140c */ /* 0 */ { 0, 0, 1, 1, { 25, 16, CPOS_HALFTILE, CPOS_HALFTILE }, NULL }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x8261418 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x8261418 */ &s_gs207_g0_s0_station_sref, &s_gs207_g1_s0_station_sref, &s_gs207_g2_s0_station_sref, diff --git a/src/data/ground/ground_data_d13p02_station.h b/src/data/ground/ground_data_d13p02_station.h index 91013fadb..e7456cd21 100644 --- a/src/data/ground/ground_data_d13p02_station.h +++ b/src/data/ground/ground_data_d13p02_station.h @@ -40,7 +40,7 @@ static const struct ScriptCommand s_gs208_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs208_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs208_g0_s0_station_sref_script }; /* 0x8261728 */ +static const ScriptRef s_gs208_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs208_g0_s0_station_sref_script }; /* 0x8261728 */ static const struct ScriptCommand s_gs208_g0_s0_evt0_sref_script[] = { /* 0x8261734 */ DEBUGINFO_O(46), @@ -57,7 +57,7 @@ static const struct ScriptCommand s_gs208_g0_s0_evt0_sref_script[] = { /* 0x8261 HALT, }; -static const struct ScriptRef s_gs208_g0_s0_evt0_sref = { GETOUT_NORMAL, 2, NULL, s_gs208_g0_s0_evt0_sref_script }; /* 0x8261810 */ +static const ScriptRef s_gs208_g0_s0_evt0_sref = { GETOUT_NORMAL, SCRIPT_TYPE_02, NULL, s_gs208_g0_s0_evt0_sref_script }; /* 0x8261810 */ static const struct ScriptCommand s_gs208_g0_s0_evt1_sref_script[] = { /* 0x826181c */ DEBUGINFO_O(63), @@ -76,7 +76,7 @@ static const struct ScriptCommand s_gs208_g0_s0_evt1_sref_script[] = { /* 0x8261 HALT, }; -static const struct ScriptRef s_gs208_g0_s0_evt1_sref = { GETOUT_NORMAL, 2, NULL, s_gs208_g0_s0_evt1_sref_script }; /* 0x826191c */ +static const ScriptRef s_gs208_g0_s0_evt1_sref = { GETOUT_NORMAL, SCRIPT_TYPE_02, NULL, s_gs208_g0_s0_evt1_sref_script }; /* 0x826191c */ static const struct ScriptCommand s_gs208_g0_s0_obj0_dlg2[] = { /* 0x8261928 */ DEBUGINFO_O(82), @@ -139,7 +139,7 @@ static const struct ScriptCommand s_gs208_g1_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs208_g1_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs208_g1_s0_station_sref_script }; /* 0x8261b78 */ +static const ScriptRef s_gs208_g1_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs208_g1_s0_station_sref_script }; /* 0x8261b78 */ static const struct ScriptCommand s_gs208_g1_s0_lives0_dlg0[] = { /* 0x8261b84 */ DEBUGINFO_O(145), @@ -236,7 +236,7 @@ static const struct GroundEventData s_gs208_g0_s0_evts[] = { /* 0x8261f6c */ /* 1 */ { 15, 3, 0, 0, { 21, 42, 0, 0 }, &s_gs208_g0_s0_evt1_sref }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x8261f84 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x8261f84 */ &s_gs208_g0_s0_station_sref, &s_gs208_g1_s0_station_sref, }; diff --git a/src/data/ground/ground_data_d13p03_station.h b/src/data/ground/ground_data_d13p03_station.h index 8c0bbfe2f..fd7982de4 100644 --- a/src/data/ground/ground_data_d13p03_station.h +++ b/src/data/ground/ground_data_d13p03_station.h @@ -13,7 +13,7 @@ static const struct ScriptCommand s_gs209_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs209_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs209_g0_s0_station_sref_script }; /* 0x8262114 */ +static const ScriptRef s_gs209_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs209_g0_s0_station_sref_script }; /* 0x8262114 */ static const struct ScriptCommand s_gs209_g1_s0_station_sref_script[] = { /* 0x8262120 */ DEBUGINFO_O(19), @@ -27,7 +27,7 @@ static const struct ScriptCommand s_gs209_g1_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs209_g1_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs209_g1_s0_station_sref_script }; /* 0x82621b0 */ +static const ScriptRef s_gs209_g1_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs209_g1_s0_station_sref_script }; /* 0x82621b0 */ static const struct ScriptCommand s_gs209_g1_s0_eff0_script[] = { /* 0x82621bc */ DEBUGINFO_O(33), @@ -238,7 +238,7 @@ static const struct ScriptCommand s_gs209_g2_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs209_g2_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs209_g2_s0_station_sref_script }; /* 0x8262eb0 */ +static const ScriptRef s_gs209_g2_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs209_g2_s0_station_sref_script }; /* 0x8262eb0 */ static const struct ScriptCommand s_gs209_g2_s0_eff0_script[] = { /* 0x8262ebc */ DEBUGINFO_O(244), @@ -410,7 +410,7 @@ static const struct ScriptCommand s_gs209_g3_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs209_g3_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs209_g3_s0_station_sref_script }; /* 0x8263a70 */ +static const ScriptRef s_gs209_g3_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs209_g3_s0_station_sref_script }; /* 0x8263a70 */ static const struct ScriptCommand s_gs209_g3_s0_lives0_dlg0[] = { /* 0x8263a7c */ DEBUGINFO_O(416), @@ -527,7 +527,7 @@ static const struct GroundEffectData s_gs209_g3_s0_effs[] = { /* 0x8263de0 */ /* 1 */ { 3, 0, 1, 1, { 35, 28, 0, 0 }, s_gs209_g3_s0_eff1_script }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x8263df8 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x8263df8 */ &s_gs209_g0_s0_station_sref, &s_gs209_g1_s0_station_sref, &s_gs209_g2_s0_station_sref, diff --git a/src/data/ground/ground_data_d14p01_station.h b/src/data/ground/ground_data_d14p01_station.h index a7acc50be..18f1fff17 100644 --- a/src/data/ground/ground_data_d14p01_station.h +++ b/src/data/ground/ground_data_d14p01_station.h @@ -13,7 +13,7 @@ static const struct ScriptCommand s_gs210_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs210_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs210_g0_s0_station_sref_script }; /* 0x8263f50 */ +static const ScriptRef s_gs210_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs210_g0_s0_station_sref_script }; /* 0x8263f50 */ static const struct ScriptCommand s_gs210_g1_s0_station_sref_script[] = { /* 0x8263f5c */ DEBUGINFO_O(19), @@ -26,7 +26,7 @@ static const struct ScriptCommand s_gs210_g1_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs210_g1_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs210_g1_s0_station_sref_script }; /* 0x8263fdc */ +static const ScriptRef s_gs210_g1_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs210_g1_s0_station_sref_script }; /* 0x8263fdc */ static const struct ScriptCommand s_gs210_g1_s0_lives0_dlg0[] = { /* 0x8263fe8 */ DEBUGINFO_O(32), @@ -58,7 +58,7 @@ static const struct GroundEffectData s_gs210_g1_s0_effs[] = { /* 0x82640c8 */ /* 0 */ { 0, 0, 1, 1, { 34, 27, CPOS_HALFTILE, CPOS_HALFTILE }, NULL }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x82640d4 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x82640d4 */ &s_gs210_g0_s0_station_sref, &s_gs210_g1_s0_station_sref, }; diff --git a/src/data/ground/ground_data_d15p01_station.h b/src/data/ground/ground_data_d15p01_station.h index 51786838f..75050ea5a 100644 --- a/src/data/ground/ground_data_d15p01_station.h +++ b/src/data/ground/ground_data_d15p01_station.h @@ -13,7 +13,7 @@ static const struct ScriptCommand s_gs211_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs211_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs211_g0_s0_station_sref_script }; /* 0x82641c4 */ +static const ScriptRef s_gs211_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs211_g0_s0_station_sref_script }; /* 0x82641c4 */ static const struct ScriptCommand s_gs211_g1_s0_station_sref_script[] = { /* 0x82641d0 */ DEBUGINFO_O(19), @@ -26,7 +26,7 @@ static const struct ScriptCommand s_gs211_g1_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs211_g1_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs211_g1_s0_station_sref_script }; /* 0x8264250 */ +static const ScriptRef s_gs211_g1_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs211_g1_s0_station_sref_script }; /* 0x8264250 */ static const struct ScriptCommand s_gs211_g1_s0_lives0_dlg0[] = { /* 0x826425c */ DEBUGINFO_O(32), @@ -89,7 +89,7 @@ static const struct GroundEffectData s_gs211_g1_s0_effs[] = { /* 0x82647a4 */ /* 0 */ { 0, 0, 1, 1, { 34, 39, CPOS_HALFTILE, CPOS_HALFTILE }, NULL }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x82647b0 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x82647b0 */ &s_gs211_g0_s0_station_sref, &s_gs211_g1_s0_station_sref, }; diff --git a/src/data/ground/ground_data_d16p01_station.h b/src/data/ground/ground_data_d16p01_station.h index ce023a182..eb13d51ae 100644 --- a/src/data/ground/ground_data_d16p01_station.h +++ b/src/data/ground/ground_data_d16p01_station.h @@ -13,7 +13,7 @@ static const struct ScriptCommand s_gs212_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs212_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs212_g0_s0_station_sref_script }; /* 0x82648a0 */ +static const ScriptRef s_gs212_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs212_g0_s0_station_sref_script }; /* 0x82648a0 */ static const struct ScriptCommand s_gs212_g1_s0_station_sref_script[] = { /* 0x82648ac */ DEBUGINFO_O(19), @@ -28,7 +28,7 @@ static const struct ScriptCommand s_gs212_g1_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs212_g1_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs212_g1_s0_station_sref_script }; /* 0x826494c */ +static const ScriptRef s_gs212_g1_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs212_g1_s0_station_sref_script }; /* 0x826494c */ static const struct ScriptCommand s_gs212_g1_s0_eff0_script[] = { /* 0x8264958 */ DEBUGINFO_O(34), @@ -235,7 +235,7 @@ static const struct GroundEffectData s_gs212_g1_s1_effs[] = { /* 0x8265588 */ /* 0 */ { 5, 0, 1, 1, { 22, 17, CPOS_HALFTILE, CPOS_HALFTILE }, s_gs212_g1_s1_eff0_script }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x8265594 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x8265594 */ &s_gs212_g0_s0_station_sref, &s_gs212_g1_s0_station_sref, }; diff --git a/src/data/ground/ground_data_d17p01_station.h b/src/data/ground/ground_data_d17p01_station.h index 21543c92b..1572a4c0e 100644 --- a/src/data/ground/ground_data_d17p01_station.h +++ b/src/data/ground/ground_data_d17p01_station.h @@ -13,7 +13,7 @@ static const struct ScriptCommand s_gs213_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs213_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs213_g0_s0_station_sref_script }; /* 0x82656ac */ +static const ScriptRef s_gs213_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs213_g0_s0_station_sref_script }; /* 0x82656ac */ static const struct ScriptCommand s_gs213_g1_s0_station_sref_script[] = { /* 0x82656b8 */ DEBUGINFO_O(19), @@ -28,7 +28,7 @@ static const struct ScriptCommand s_gs213_g1_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs213_g1_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs213_g1_s0_station_sref_script }; /* 0x8265758 */ +static const ScriptRef s_gs213_g1_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs213_g1_s0_station_sref_script }; /* 0x8265758 */ static const struct ScriptCommand s_gs213_g1_s0_eff0_script[] = { /* 0x8265764 */ DEBUGINFO_O(34), @@ -234,7 +234,7 @@ static const struct GroundEffectData s_gs213_g1_s1_effs[] = { /* 0x8266418 */ /* 0 */ { 5, 0, 1, 1, { 22, 14, CPOS_HALFTILE, CPOS_HALFTILE }, s_gs213_g1_s1_eff0_script }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x8266424 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x8266424 */ &s_gs213_g0_s0_station_sref, &s_gs213_g1_s0_station_sref, }; diff --git a/src/data/ground/ground_data_d18p01_station.h b/src/data/ground/ground_data_d18p01_station.h index 421723527..0fcbc770f 100644 --- a/src/data/ground/ground_data_d18p01_station.h +++ b/src/data/ground/ground_data_d18p01_station.h @@ -13,7 +13,7 @@ static const struct ScriptCommand s_gs214_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs214_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs214_g0_s0_station_sref_script }; /* 0x826653c */ +static const ScriptRef s_gs214_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs214_g0_s0_station_sref_script }; /* 0x826653c */ static const struct ScriptCommand s_gs214_g1_s0_station_sref_script[] = { /* 0x8266548 */ DEBUGINFO_O(19), @@ -28,7 +28,7 @@ static const struct ScriptCommand s_gs214_g1_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs214_g1_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs214_g1_s0_station_sref_script }; /* 0x82665e8 */ +static const ScriptRef s_gs214_g1_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs214_g1_s0_station_sref_script }; /* 0x82665e8 */ static const struct ScriptCommand s_gs214_g1_s0_eff0_script[] = { /* 0x82665f4 */ DEBUGINFO_O(34), @@ -234,7 +234,7 @@ static const struct GroundEffectData s_gs214_g1_s1_effs[] = { /* 0x8267310 */ /* 0 */ { 5, 0, 1, 1, { 22, 17, CPOS_HALFTILE, CPOS_HALFTILE }, s_gs214_g1_s1_eff0_script }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x826731c */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x826731c */ &s_gs214_g0_s0_station_sref, &s_gs214_g1_s0_station_sref, }; diff --git a/src/data/ground/ground_data_d19p01_station.h b/src/data/ground/ground_data_d19p01_station.h index bdc2cf537..86416d80e 100644 --- a/src/data/ground/ground_data_d19p01_station.h +++ b/src/data/ground/ground_data_d19p01_station.h @@ -13,7 +13,7 @@ static const struct ScriptCommand s_gs215_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs215_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs215_g0_s0_station_sref_script }; /* 0x8267434 */ +static const ScriptRef s_gs215_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs215_g0_s0_station_sref_script }; /* 0x8267434 */ static const struct ScriptCommand s_gs215_g1_s0_station_sref_script[] = { /* 0x8267440 */ DEBUGINFO_O(19), @@ -26,7 +26,7 @@ static const struct ScriptCommand s_gs215_g1_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs215_g1_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs215_g1_s0_station_sref_script }; /* 0x82674c0 */ +static const ScriptRef s_gs215_g1_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs215_g1_s0_station_sref_script }; /* 0x82674c0 */ static const struct ScriptCommand s_gs215_g1_s0_lives0_dlg0[] = { /* 0x82674cc */ DEBUGINFO_O(32), @@ -89,7 +89,7 @@ static const struct GroundEffectData s_gs215_g1_s0_effs[] = { /* 0x8267a38 */ /* 0 */ { 0, 0, 1, 1, { 35, 29, CPOS_HALFTILE, CPOS_HALFTILE }, NULL }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x8267a44 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x8267a44 */ &s_gs215_g0_s0_station_sref, &s_gs215_g1_s0_station_sref, }; diff --git a/src/data/ground/ground_data_d20p01_station.h b/src/data/ground/ground_data_d20p01_station.h index 3171a4a01..129fafa7a 100644 --- a/src/data/ground/ground_data_d20p01_station.h +++ b/src/data/ground/ground_data_d20p01_station.h @@ -16,7 +16,7 @@ static const struct ScriptCommand s_gs216_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs216_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs216_g0_s0_station_sref_script }; /* 0x8267b34 */ +static const ScriptRef s_gs216_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs216_g0_s0_station_sref_script }; /* 0x8267b34 */ static const struct ScriptCommand s_gs216_g1_s0_station_sref_script[] = { /* 0x8267b40 */ DEBUGINFO_O(22), @@ -41,7 +41,7 @@ static const struct ScriptCommand s_gs216_g1_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs216_g1_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs216_g1_s0_station_sref_script }; /* 0x8267cbc */ +static const ScriptRef s_gs216_g1_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs216_g1_s0_station_sref_script }; /* 0x8267cbc */ static const struct ScriptCommand s_gs216_g1_s0_lives0_dlg0[] = { /* 0x8267cc8 */ @@ -415,7 +415,7 @@ static const struct GroundEffectData s_gs216_g1_s0_effs[] = { /* 0x8269690 */ /* 3 */ { 4, 0, 1, 1, { 25, 20, CPOS_HALFTILE, CPOS_HALFTILE }, s_gs216_g1_s0_eff3_script }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x82696c0 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x82696c0 */ &s_gs216_g0_s0_station_sref, &s_gs216_g1_s0_station_sref, }; diff --git a/src/data/ground/ground_data_d21p01_station.h b/src/data/ground/ground_data_d21p01_station.h index 32579e6ba..291271ced 100644 --- a/src/data/ground/ground_data_d21p01_station.h +++ b/src/data/ground/ground_data_d21p01_station.h @@ -13,7 +13,7 @@ static const struct ScriptCommand s_gs217_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs217_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs217_g0_s0_station_sref_script }; /* 0x82697c0 */ +static const ScriptRef s_gs217_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs217_g0_s0_station_sref_script }; /* 0x82697c0 */ static const struct ScriptCommand s_gs217_g1_s0_station_sref_script[] = { /* 0x82697cc */ DEBUGINFO_O(19), @@ -28,7 +28,7 @@ static const struct ScriptCommand s_gs217_g1_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs217_g1_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs217_g1_s0_station_sref_script }; /* 0x826986c */ +static const ScriptRef s_gs217_g1_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs217_g1_s0_station_sref_script }; /* 0x826986c */ static const struct ScriptCommand s_gs217_g1_s0_lives0_dlg0[] = { /* 0x8269878 */ DEBUGINFO_O(34), @@ -107,7 +107,7 @@ static const struct GroundEffectData s_gs217_g1_s0_effs[] = { /* 0x8269ce4 */ /* 0 */ { 0, 0, 1, 1, { 31, 29, CPOS_HALFTILE, CPOS_HALFTILE }, NULL }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x8269cf0 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x8269cf0 */ &s_gs217_g0_s0_station_sref, &s_gs217_g1_s0_station_sref, }; diff --git a/src/data/ground/ground_data_d22p01_station.h b/src/data/ground/ground_data_d22p01_station.h index 94990b887..195c48e50 100644 --- a/src/data/ground/ground_data_d22p01_station.h +++ b/src/data/ground/ground_data_d22p01_station.h @@ -15,7 +15,7 @@ static const struct ScriptCommand s_gs218_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs218_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs218_g0_s0_station_sref_script }; /* 0x8269de0 */ +static const ScriptRef s_gs218_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs218_g0_s0_station_sref_script }; /* 0x8269de0 */ static const struct ScriptCommand s_gs218_g1_s0_station_sref_script[] = { /* 0x8269dec */ DEBUGINFO_O(21), @@ -28,7 +28,7 @@ static const struct ScriptCommand s_gs218_g1_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs218_g1_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs218_g1_s0_station_sref_script }; /* 0x8269e6c */ +static const ScriptRef s_gs218_g1_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs218_g1_s0_station_sref_script }; /* 0x8269e6c */ static const struct ScriptCommand s_gs218_g1_s0_eff1_script[] = { /* 0x8269e78 */ DEBUGINFO_O(34), @@ -151,7 +151,7 @@ static const struct GroundEffectData s_gs218_g1_s0_effs[] = { /* 0x826a4e8 */ /* 3 */ { 4, 0, 1, 1, { 25, 23, 0, CPOS_HALFTILE }, s_gs218_g1_s0_eff3_script }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x826a518 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x826a518 */ &s_gs218_g0_s0_station_sref, &s_gs218_g1_s0_station_sref, }; diff --git a/src/data/ground/ground_data_d23p01_station.h b/src/data/ground/ground_data_d23p01_station.h index 9295c9d20..435c5dfc0 100644 --- a/src/data/ground/ground_data_d23p01_station.h +++ b/src/data/ground/ground_data_d23p01_station.h @@ -17,7 +17,7 @@ static const struct ScriptCommand s_gs219_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs219_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs219_g0_s0_station_sref_script }; /* 0x826a610 */ +static const ScriptRef s_gs219_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs219_g0_s0_station_sref_script }; /* 0x826a610 */ static const struct ScriptCommand s_gs219_g1_s0_station_sref_script[] = { /* 0x826a61c */ DEBUGINFO_O(23), @@ -31,7 +31,7 @@ static const struct ScriptCommand s_gs219_g1_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs219_g1_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs219_g1_s0_station_sref_script }; /* 0x826a6ac */ +static const ScriptRef s_gs219_g1_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs219_g1_s0_station_sref_script }; /* 0x826a6ac */ static const struct ScriptCommand s_gs219_g1_s0_lives0_dlg0[] = { /* 0x826a6b8 */ DEBUGINFO_O(37), @@ -90,7 +90,7 @@ static const struct GroundEffectData s_gs219_g1_s0_effs[] = { /* 0x826a964 */ /* 0 */ { 0, 0, 1, 1, { 22, 20, CPOS_HALFTILE, CPOS_HALFTILE }, NULL }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x826a970 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x826a970 */ &s_gs219_g0_s0_station_sref, &s_gs219_g1_s0_station_sref, }; diff --git a/src/data/ground/ground_data_d24p01_station.h b/src/data/ground/ground_data_d24p01_station.h index 9023bcad7..a2c12ba66 100644 --- a/src/data/ground/ground_data_d24p01_station.h +++ b/src/data/ground/ground_data_d24p01_station.h @@ -16,7 +16,7 @@ static const struct ScriptCommand s_gs220_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs220_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs220_g0_s0_station_sref_script }; /* 0x826aa78 */ +static const ScriptRef s_gs220_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs220_g0_s0_station_sref_script }; /* 0x826aa78 */ static const struct ScriptCommand s_gs220_g1_s0_station_sref_script[] = { /* 0x826aa84 */ DEBUGINFO_O(22), @@ -31,7 +31,7 @@ static const struct ScriptCommand s_gs220_g1_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs220_g1_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs220_g1_s0_station_sref_script }; /* 0x826ab24 */ +static const ScriptRef s_gs220_g1_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs220_g1_s0_station_sref_script }; /* 0x826ab24 */ static const struct ScriptCommand s_gs220_g1_s0_eff0_script[] = { /* 0x826ab30 */ DEBUGINFO_O(37), @@ -320,7 +320,7 @@ static const struct ScriptCommand s_gs220_g2_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs220_g2_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs220_g2_s0_station_sref_script }; /* 0x826c22c */ +static const ScriptRef s_gs220_g2_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs220_g2_s0_station_sref_script }; /* 0x826c22c */ static const struct ScriptCommand s_gs220_g2_s0_eff0_script[] = { /* 0x826c238 */ DEBUGINFO_O(326), @@ -587,7 +587,7 @@ static const struct GroundEffectData s_gs220_g2_s0_effs[] = { /* 0x826d62c */ /* 1 */ { 4, 0, 1, 1, { 26, 21, 0, CPOS_HALFTILE }, s_gs220_g2_s0_eff1_script }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x826d644 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x826d644 */ &s_gs220_g0_s0_station_sref, &s_gs220_g1_s0_station_sref, &s_gs220_g2_s0_station_sref, diff --git a/src/data/ground/ground_data_d24p02_station.h b/src/data/ground/ground_data_d24p02_station.h index 5dfc787aa..211085ed2 100644 --- a/src/data/ground/ground_data_d24p02_station.h +++ b/src/data/ground/ground_data_d24p02_station.h @@ -13,7 +13,7 @@ static const struct ScriptCommand s_gs221_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs221_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs221_g0_s0_station_sref_script }; /* 0x826d7a0 */ +static const ScriptRef s_gs221_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs221_g0_s0_station_sref_script }; /* 0x826d7a0 */ static const struct ScriptCommand s_gs221_g1_s0_station_sref_script[] = { /* 0x826d7ac */ DEBUGINFO_O(19), @@ -25,7 +25,7 @@ static const struct ScriptCommand s_gs221_g1_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs221_g1_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs221_g1_s0_station_sref_script }; /* 0x826d81c */ +static const ScriptRef s_gs221_g1_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs221_g1_s0_station_sref_script }; /* 0x826d81c */ static const struct ScriptCommand s_gs221_g1_s0_eff0_script[] = { /* 0x826d828 */ DEBUGINFO_O(31), @@ -79,7 +79,7 @@ static const struct GroundEffectData s_gs221_g1_s0_effs[] = { /* 0x826da88 */ /* 0 */ { 0, 0, 1, 1, { 25, 17, CPOS_HALFTILE, CPOS_HALFTILE }, s_gs221_g1_s0_eff0_script }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x826da94 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x826da94 */ &s_gs221_g0_s0_station_sref, &s_gs221_g1_s0_station_sref, }; diff --git a/src/data/ground/ground_data_d25p01_station.h b/src/data/ground/ground_data_d25p01_station.h index 046ca8a08..4d9f10a35 100644 --- a/src/data/ground/ground_data_d25p01_station.h +++ b/src/data/ground/ground_data_d25p01_station.h @@ -17,7 +17,7 @@ static const struct ScriptCommand s_gs222_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs222_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs222_g0_s0_station_sref_script }; /* 0x826db84 */ +static const ScriptRef s_gs222_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs222_g0_s0_station_sref_script }; /* 0x826db84 */ static const struct ScriptCommand s_gs222_g1_s0_station_sref_script[] = { /* 0x826db90 */ DEBUGINFO_O(23), @@ -31,7 +31,7 @@ static const struct ScriptCommand s_gs222_g1_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs222_g1_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs222_g1_s0_station_sref_script }; /* 0x826dc20 */ +static const ScriptRef s_gs222_g1_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs222_g1_s0_station_sref_script }; /* 0x826dc20 */ static const struct ScriptCommand s_gs222_g1_s0_lives0_dlg0[] = { /* 0x826dc2c */ DEBUGINFO_O(37), @@ -90,7 +90,7 @@ static const struct GroundEffectData s_gs222_g1_s0_effs[] = { /* 0x826ded8 */ /* 0 */ { 0, 0, 1, 1, { 22, 20, CPOS_HALFTILE, CPOS_HALFTILE }, NULL }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x826dee4 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x826dee4 */ &s_gs222_g0_s0_station_sref, &s_gs222_g1_s0_station_sref, }; diff --git a/src/data/ground/ground_data_h01p01_station.h b/src/data/ground/ground_data_h01p01_station.h index 4561d349f..aafe42d9e 100644 --- a/src/data/ground/ground_data_h01p01_station.h +++ b/src/data/ground/ground_data_h01p01_station.h @@ -44,7 +44,7 @@ static const struct ScriptCommand s_gs105_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs105_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs105_g0_s0_station_sref_script }; /* 0x81ee3f4 */ +static const ScriptRef s_gs105_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs105_g0_s0_station_sref_script }; /* 0x81ee3f4 */ static const struct ScriptCommand s_gs105_g0_s1_lives0_dlg0[] = { /* 0x81ee400 */ @@ -257,7 +257,7 @@ static const struct GroundEventData s_gs105_g0_s0_evts[] = { /* 0x81ee998 */ /* 1 */ { 58, 1, 0, 0, { 0, 0, 0, 0 }, &gFunctionScriptTable[GETOUT_HABITAT] }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x81ee9b0 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x81ee9b0 */ &s_gs105_g0_s0_station_sref, }; diff --git a/src/data/ground/ground_data_h01p02_station.h b/src/data/ground/ground_data_h01p02_station.h index bab8e73bc..eb6287a9c 100644 --- a/src/data/ground/ground_data_h01p02_station.h +++ b/src/data/ground/ground_data_h01p02_station.h @@ -56,7 +56,7 @@ static const struct ScriptCommand s_gs106_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs106_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs106_g0_s0_station_sref_script }; /* 0x81eed8c */ +static const ScriptRef s_gs106_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs106_g0_s0_station_sref_script }; /* 0x81eed8c */ static const struct ScriptCommand s_gs106_g0_s1_lives0_dlg0[] = { /* 0x81eed98 */ DEBUGINFO_O(62), @@ -285,7 +285,7 @@ static const struct GroundEventData s_gs106_g0_s0_evts[] = { /* 0x81ef398 */ /* 3 */ { 1, 42, 0, 0, { 59, 0, 0, 0 }, &gFunctionScriptTable[GETOUT_HABITAT] }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x81ef3c8 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x81ef3c8 */ &s_gs106_g0_s0_station_sref, }; diff --git a/src/data/ground/ground_data_h01p03_station.h b/src/data/ground/ground_data_h01p03_station.h index c627c5cfc..eea7bdd71 100644 --- a/src/data/ground/ground_data_h01p03_station.h +++ b/src/data/ground/ground_data_h01p03_station.h @@ -50,7 +50,7 @@ static const struct ScriptCommand s_gs107_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs107_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs107_g0_s0_station_sref_script }; /* 0x81ef7b4 */ +static const ScriptRef s_gs107_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs107_g0_s0_station_sref_script }; /* 0x81ef7b4 */ static const struct ScriptCommand s_gs107_g0_s1_lives0_dlg0[] = { /* 0x81ef7c0 */ DEBUGINFO_O(56), @@ -189,7 +189,7 @@ static const struct GroundEventData s_gs107_g0_s0_evts[] = { /* 0x81efb50 */ /* 3 */ { 66, 3, 0, 0, { 0, 0, 0, 0 }, &gFunctionScriptTable[GETOUT_HABITAT] }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x81efb80 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x81efb80 */ &s_gs107_g0_s0_station_sref, }; diff --git a/src/data/ground/ground_data_h02p01_station.h b/src/data/ground/ground_data_h02p01_station.h index b6d2ce36e..96d963275 100644 --- a/src/data/ground/ground_data_h02p01_station.h +++ b/src/data/ground/ground_data_h02p01_station.h @@ -58,7 +58,7 @@ static const struct ScriptCommand s_gs108_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs108_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs108_g0_s0_station_sref_script }; /* 0x81eff3c */ +static const ScriptRef s_gs108_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs108_g0_s0_station_sref_script }; /* 0x81eff3c */ static const struct ScriptCommand s_gs108_g0_s1_lives0_dlg0[] = { /* 0x81eff48 */ DEBUGINFO_O(64), @@ -317,7 +317,7 @@ static const struct GroundEventData s_gs108_g0_s0_evts[] = { /* 0x81f0618 */ /* 3 */ { 1, 42, 0, 0, { 59, 0, 0, 0 }, &gFunctionScriptTable[GETOUT_HABITAT] }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x81f0648 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x81f0648 */ &s_gs108_g0_s0_station_sref, }; diff --git a/src/data/ground/ground_data_h02p02_station.h b/src/data/ground/ground_data_h02p02_station.h index 56926b64e..ed0a71dfe 100644 --- a/src/data/ground/ground_data_h02p02_station.h +++ b/src/data/ground/ground_data_h02p02_station.h @@ -47,7 +47,7 @@ static const struct ScriptCommand s_gs109_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs109_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs109_g0_s0_station_sref_script }; /* 0x81f0a44 */ +static const ScriptRef s_gs109_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs109_g0_s0_station_sref_script }; /* 0x81f0a44 */ static const struct ScriptCommand s_gs109_g0_s1_lives0_dlg0[] = { /* 0x81f0a50 */ DEBUGINFO_O(53), @@ -141,7 +141,7 @@ static const struct GroundEventData s_gs109_g0_s0_evts[] = { /* 0x81f0ca8 */ /* 3 */ { 1, 39, 0, 0, { 56, 0, 0, 0 }, &gFunctionScriptTable[GETOUT_HABITAT] }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x81f0cd8 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x81f0cd8 */ &s_gs109_g0_s0_station_sref, }; diff --git a/src/data/ground/ground_data_h02p03_station.h b/src/data/ground/ground_data_h02p03_station.h index bf1f32676..dec56526f 100644 --- a/src/data/ground/ground_data_h02p03_station.h +++ b/src/data/ground/ground_data_h02p03_station.h @@ -47,7 +47,7 @@ static const struct ScriptCommand s_gs110_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs110_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs110_g0_s0_station_sref_script }; /* 0x81f107c */ +static const ScriptRef s_gs110_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs110_g0_s0_station_sref_script }; /* 0x81f107c */ static const struct ScriptCommand s_gs110_g0_s1_lives0_dlg0[] = { /* 0x81f1088 */ DEBUGINFO_O(53), @@ -141,7 +141,7 @@ static const struct GroundEventData s_gs110_g0_s0_evts[] = { /* 0x81f12e0 */ /* 3 */ { 45, 3, 0, 0, { 0, 0, 0, 0 }, &gFunctionScriptTable[GETOUT_HABITAT] }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x81f1310 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x81f1310 */ &s_gs110_g0_s0_station_sref, }; diff --git a/src/data/ground/ground_data_h03p01_station.h b/src/data/ground/ground_data_h03p01_station.h index dd8c24db2..dec46a778 100644 --- a/src/data/ground/ground_data_h03p01_station.h +++ b/src/data/ground/ground_data_h03p01_station.h @@ -52,7 +52,7 @@ static const struct ScriptCommand s_gs111_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs111_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs111_g0_s0_station_sref_script }; /* 0x81f16b4 */ +static const ScriptRef s_gs111_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs111_g0_s0_station_sref_script }; /* 0x81f16b4 */ static const struct ScriptCommand s_gs111_g0_s1_lives0_dlg0[] = { /* 0x81f16c0 */ DEBUGINFO_O(58), @@ -221,7 +221,7 @@ static const struct GroundEventData s_gs111_g0_s0_evts[] = { /* 0x81f1b20 */ /* 3 */ { 1, 42, 0, 0, { 68, 0, 0, 0 }, &gFunctionScriptTable[GETOUT_HABITAT] }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x81f1b50 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x81f1b50 */ &s_gs111_g0_s0_station_sref, }; diff --git a/src/data/ground/ground_data_h04p01_station.h b/src/data/ground/ground_data_h04p01_station.h index 12f40f799..818e4d81e 100644 --- a/src/data/ground/ground_data_h04p01_station.h +++ b/src/data/ground/ground_data_h04p01_station.h @@ -58,7 +58,7 @@ static const struct ScriptCommand s_gs112_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs112_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs112_g0_s0_station_sref_script }; /* 0x81f1f1c */ +static const ScriptRef s_gs112_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs112_g0_s0_station_sref_script }; /* 0x81f1f1c */ static const struct ScriptCommand s_gs112_g0_s1_lives0_dlg0[] = { /* 0x81f1f28 */ DEBUGINFO_O(64), @@ -314,7 +314,7 @@ static const struct GroundEventData s_gs112_g0_s0_evts[] = { /* 0x81f25f8 */ /* 0 */ { 63, 1, 0, 0, { 0, 41, 0, 0 }, &gFunctionScriptTable[GETOUT_HABITAT] }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x81f2604 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x81f2604 */ &s_gs112_g0_s0_station_sref, }; diff --git a/src/data/ground/ground_data_h04p02_station.h b/src/data/ground/ground_data_h04p02_station.h index 2da8094e3..79c49a127 100644 --- a/src/data/ground/ground_data_h04p02_station.h +++ b/src/data/ground/ground_data_h04p02_station.h @@ -55,7 +55,7 @@ static const struct ScriptCommand s_gs113_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs113_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs113_g0_s0_station_sref_script }; /* 0x81f2a00 */ +static const ScriptRef s_gs113_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs113_g0_s0_station_sref_script }; /* 0x81f2a00 */ static const struct ScriptCommand s_gs113_g0_s1_lives0_dlg0[] = { /* 0x81f2a0c */ DEBUGINFO_O(61), @@ -267,7 +267,7 @@ static const struct GroundEventData s_gs113_g0_s0_evts[] = { /* 0x81f2fa4 */ /* 1 */ { 1, 42, 0, 0, { 0, 0, 0, 0 }, &gFunctionScriptTable[GETOUT_HABITAT] }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x81f2fbc */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x81f2fbc */ &s_gs113_g0_s0_station_sref, }; diff --git a/src/data/ground/ground_data_h05p01_station.h b/src/data/ground/ground_data_h05p01_station.h index 2ab2ac5d0..597fd79ae 100644 --- a/src/data/ground/ground_data_h05p01_station.h +++ b/src/data/ground/ground_data_h05p01_station.h @@ -52,7 +52,7 @@ static const struct ScriptCommand s_gs114_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs114_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs114_g0_s0_station_sref_script }; /* 0x81f33a0 */ +static const ScriptRef s_gs114_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs114_g0_s0_station_sref_script }; /* 0x81f33a0 */ static const struct ScriptCommand s_gs114_g0_s1_lives0_dlg0[] = { /* 0x81f33ac */ DEBUGINFO_O(58), @@ -218,7 +218,7 @@ static const struct GroundEventData s_gs114_g0_s0_evts[] = { /* 0x81f380c */ /* 0 */ { 60, 1, 0, 0, { 0, 41, 0, 0 }, &gFunctionScriptTable[GETOUT_HABITAT] }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x81f3818 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x81f3818 */ &s_gs114_g0_s0_station_sref, }; diff --git a/src/data/ground/ground_data_h05p02_station.h b/src/data/ground/ground_data_h05p02_station.h index f2577e3a3..6396314e6 100644 --- a/src/data/ground/ground_data_h05p02_station.h +++ b/src/data/ground/ground_data_h05p02_station.h @@ -47,7 +47,7 @@ static const struct ScriptCommand s_gs115_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs115_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs115_g0_s0_station_sref_script }; /* 0x81f3be4 */ +static const ScriptRef s_gs115_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs115_g0_s0_station_sref_script }; /* 0x81f3be4 */ static const struct ScriptCommand s_gs115_g0_s1_lives0_dlg0[] = { /* 0x81f3bf0 */ DEBUGINFO_O(53), @@ -141,7 +141,7 @@ static const struct GroundEventData s_gs115_g0_s0_evts[] = { /* 0x81f3e48 */ /* 3 */ { 3, 39, 0, 0, { 54, 0, 0, 0 }, &gFunctionScriptTable[GETOUT_HABITAT] }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x81f3e78 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x81f3e78 */ &s_gs115_g0_s0_station_sref, }; diff --git a/src/data/ground/ground_data_h06p01_station.h b/src/data/ground/ground_data_h06p01_station.h index b5bc33c4d..849d78d16 100644 --- a/src/data/ground/ground_data_h06p01_station.h +++ b/src/data/ground/ground_data_h06p01_station.h @@ -59,7 +59,7 @@ static const struct ScriptCommand s_gs116_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs116_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs116_g0_s0_station_sref_script }; /* 0x81f421c */ +static const ScriptRef s_gs116_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs116_g0_s0_station_sref_script }; /* 0x81f421c */ static const struct ScriptCommand s_gs116_g0_s1_lives0_dlg0[] = { /* 0x81f4228 */ DEBUGINFO_O(65), @@ -333,7 +333,7 @@ static const struct GroundEventData s_gs116_g0_s0_evts[] = { /* 0x81f4960 */ /* 3 */ { 1, 42, 0, 0, { 56, 0, 0, 0 }, &gFunctionScriptTable[GETOUT_HABITAT] }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x81f4990 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x81f4990 */ &s_gs116_g0_s0_station_sref, }; diff --git a/src/data/ground/ground_data_h06p02_station.h b/src/data/ground/ground_data_h06p02_station.h index c5472fd53..dc399def5 100644 --- a/src/data/ground/ground_data_h06p02_station.h +++ b/src/data/ground/ground_data_h06p02_station.h @@ -58,7 +58,7 @@ static const struct ScriptCommand s_gs117_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs117_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs117_g0_s0_station_sref_script }; /* 0x81f4d94 */ +static const ScriptRef s_gs117_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs117_g0_s0_station_sref_script }; /* 0x81f4d94 */ static const struct ScriptCommand s_gs117_g0_s1_lives0_dlg0[] = { /* 0x81f4da0 */ DEBUGINFO_O(64), @@ -317,7 +317,7 @@ static const struct GroundEventData s_gs117_g0_s0_evts[] = { /* 0x81f5470 */ /* 3 */ { 1, 42, 0, 0, { 59, 0, 0, 0 }, &gFunctionScriptTable[GETOUT_HABITAT] }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x81f54a0 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x81f54a0 */ &s_gs117_g0_s0_station_sref, }; diff --git a/src/data/ground/ground_data_h06p03_station.h b/src/data/ground/ground_data_h06p03_station.h index 2606d7a7d..0e275ba37 100644 --- a/src/data/ground/ground_data_h06p03_station.h +++ b/src/data/ground/ground_data_h06p03_station.h @@ -59,7 +59,7 @@ static const struct ScriptCommand s_gs118_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs118_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs118_g0_s0_station_sref_script }; /* 0x81f589c */ +static const ScriptRef s_gs118_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs118_g0_s0_station_sref_script }; /* 0x81f589c */ static const struct ScriptCommand s_gs118_g0_s1_lives0_dlg0[] = { /* 0x81f58a8 */ DEBUGINFO_O(65), @@ -333,7 +333,7 @@ static const struct GroundEventData s_gs118_g0_s0_evts[] = { /* 0x81f5fe0 */ /* 3 */ { 1, 42, 0, 0, { 56, 0, 0, 0 }, &gFunctionScriptTable[GETOUT_HABITAT] }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x81f6010 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x81f6010 */ &s_gs118_g0_s0_station_sref, }; diff --git a/src/data/ground/ground_data_h06p04_station.h b/src/data/ground/ground_data_h06p04_station.h index 539bf6a70..5f62473df 100644 --- a/src/data/ground/ground_data_h06p04_station.h +++ b/src/data/ground/ground_data_h06p04_station.h @@ -61,7 +61,7 @@ static const struct ScriptCommand s_gs119_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs119_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs119_g0_s0_station_sref_script }; /* 0x81f6414 */ +static const ScriptRef s_gs119_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs119_g0_s0_station_sref_script }; /* 0x81f6414 */ static const struct ScriptCommand s_gs119_g0_s1_lives0_dlg0[] = { /* 0x81f6420 */ DEBUGINFO_O(67), @@ -365,7 +365,7 @@ static const struct GroundEventData s_gs119_g0_s0_evts[] = { /* 0x81f6c28 */ /* 3 */ { 1, 42, 0, 0, { 59, 0, 0, 0 }, &gFunctionScriptTable[GETOUT_HABITAT] }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x81f6c58 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x81f6c58 */ &s_gs119_g0_s0_station_sref, }; diff --git a/src/data/ground/ground_data_h06p05_station.h b/src/data/ground/ground_data_h06p05_station.h index fda58db97..7fbcf9493 100644 --- a/src/data/ground/ground_data_h06p05_station.h +++ b/src/data/ground/ground_data_h06p05_station.h @@ -56,7 +56,7 @@ static const struct ScriptCommand s_gs120_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs120_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs120_g0_s0_station_sref_script }; /* 0x81f706c */ +static const ScriptRef s_gs120_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs120_g0_s0_station_sref_script }; /* 0x81f706c */ static const struct ScriptCommand s_gs120_g0_s1_lives0_dlg0[] = { /* 0x81f7078 */ DEBUGINFO_O(62), @@ -285,7 +285,7 @@ static const struct GroundEventData s_gs120_g0_s0_evts[] = { /* 0x81f7678 */ /* 3 */ { 3, 42, 0, 0, { 54, 0, 0, 0 }, &gFunctionScriptTable[GETOUT_HABITAT] }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x81f76a8 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x81f76a8 */ &s_gs120_g0_s0_station_sref, }; diff --git a/src/data/ground/ground_data_h06p06_station.h b/src/data/ground/ground_data_h06p06_station.h index eed98e2f9..26f12dd5e 100644 --- a/src/data/ground/ground_data_h06p06_station.h +++ b/src/data/ground/ground_data_h06p06_station.h @@ -49,7 +49,7 @@ static const struct ScriptCommand s_gs121_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs121_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs121_g0_s0_station_sref_script }; /* 0x81f7a94 */ +static const ScriptRef s_gs121_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs121_g0_s0_station_sref_script }; /* 0x81f7a94 */ static const struct ScriptCommand s_gs121_g0_s1_lives0_dlg0[] = { /* 0x81f7aa0 */ DEBUGINFO_O(55), @@ -173,7 +173,7 @@ static const struct GroundEventData s_gs121_g0_s0_evts[] = { /* 0x81f7dc8 */ /* 3 */ { 1, 39, 0, 0, { 59, 0, 0, 0 }, &gFunctionScriptTable[GETOUT_HABITAT] }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x81f7df8 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x81f7df8 */ &s_gs121_g0_s0_station_sref, }; diff --git a/src/data/ground/ground_data_h07p01_station.h b/src/data/ground/ground_data_h07p01_station.h index 51f1291d2..3d5c48951 100644 --- a/src/data/ground/ground_data_h07p01_station.h +++ b/src/data/ground/ground_data_h07p01_station.h @@ -60,7 +60,7 @@ static const struct ScriptCommand s_gs122_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs122_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs122_g0_s0_station_sref_script }; /* 0x81f81ac */ +static const ScriptRef s_gs122_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs122_g0_s0_station_sref_script }; /* 0x81f81ac */ static const struct ScriptCommand s_gs122_g0_s1_lives0_dlg0[] = { /* 0x81f81b8 */ DEBUGINFO_O(66), @@ -349,7 +349,7 @@ static const struct GroundEventData s_gs122_g0_s0_evts[] = { /* 0x81f8958 */ /* 3 */ { 1, 39, 0, 0, { 54, 0, 0, 0 }, &gFunctionScriptTable[GETOUT_HABITAT] }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x81f8988 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x81f8988 */ &s_gs122_g0_s0_station_sref, }; diff --git a/src/data/ground/ground_data_h07p02_station.h b/src/data/ground/ground_data_h07p02_station.h index 114927d14..e659e87da 100644 --- a/src/data/ground/ground_data_h07p02_station.h +++ b/src/data/ground/ground_data_h07p02_station.h @@ -58,7 +58,7 @@ static const struct ScriptCommand s_gs123_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs123_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs123_g0_s0_station_sref_script }; /* 0x81f8d94 */ +static const ScriptRef s_gs123_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs123_g0_s0_station_sref_script }; /* 0x81f8d94 */ static const struct ScriptCommand s_gs123_g0_s1_lives0_dlg0[] = { /* 0x81f8da0 */ DEBUGINFO_O(64), @@ -315,7 +315,7 @@ static const struct GroundEventData s_gs123_g0_s0_evts[] = { /* 0x81f9470 */ /* 1 */ { 60, 1, 0, 0, { 0, 38, 0, 0 }, &gFunctionScriptTable[GETOUT_HABITAT] }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x81f9488 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x81f9488 */ &s_gs123_g0_s0_station_sref, }; diff --git a/src/data/ground/ground_data_h07p03_station.h b/src/data/ground/ground_data_h07p03_station.h index 59a1ee402..9189f387e 100644 --- a/src/data/ground/ground_data_h07p03_station.h +++ b/src/data/ground/ground_data_h07p03_station.h @@ -55,7 +55,7 @@ static const struct ScriptCommand s_gs124_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs124_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs124_g0_s0_station_sref_script }; /* 0x81f9884 */ +static const ScriptRef s_gs124_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs124_g0_s0_station_sref_script }; /* 0x81f9884 */ static const struct ScriptCommand s_gs124_g0_s1_lives0_dlg0[] = { /* 0x81f9890 */ DEBUGINFO_O(61), @@ -266,7 +266,7 @@ static const struct GroundEventData s_gs124_g0_s0_evts[] = { /* 0x81f9e28 */ /* 0 */ { 60, 1, 0, 0, { 1, 38, 0, 0 }, &gFunctionScriptTable[GETOUT_HABITAT] }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x81f9e34 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x81f9e34 */ &s_gs124_g0_s0_station_sref, }; diff --git a/src/data/ground/ground_data_h07p04_station.h b/src/data/ground/ground_data_h07p04_station.h index 9f59d49d3..2f64d8f80 100644 --- a/src/data/ground/ground_data_h07p04_station.h +++ b/src/data/ground/ground_data_h07p04_station.h @@ -62,7 +62,7 @@ static const struct ScriptCommand s_gs125_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs125_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs125_g0_s0_station_sref_script }; /* 0x81fa218 */ +static const ScriptRef s_gs125_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs125_g0_s0_station_sref_script }; /* 0x81fa218 */ static const struct ScriptCommand s_gs125_g0_s1_lives0_dlg0[] = { /* 0x81fa224 */ DEBUGINFO_O(68), @@ -378,7 +378,7 @@ static const struct GroundEventData s_gs125_g0_s0_evts[] = { /* 0x81faa94 */ /* 0 */ { 60, 1, 0, 0, { 0, 41, 0, 0 }, &gFunctionScriptTable[GETOUT_HABITAT] }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x81faaa0 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x81faaa0 */ &s_gs125_g0_s0_station_sref, }; diff --git a/src/data/ground/ground_data_h07p05_station.h b/src/data/ground/ground_data_h07p05_station.h index 43bb8d4c3..9978c42ee 100644 --- a/src/data/ground/ground_data_h07p05_station.h +++ b/src/data/ground/ground_data_h07p05_station.h @@ -50,7 +50,7 @@ static const struct ScriptCommand s_gs126_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs126_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs126_g0_s0_station_sref_script }; /* 0x81fae8c */ +static const ScriptRef s_gs126_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs126_g0_s0_station_sref_script }; /* 0x81fae8c */ static const struct ScriptCommand s_gs126_g0_s1_lives0_dlg0[] = { /* 0x81fae98 */ @@ -235,7 +235,7 @@ static const struct GroundEventData s_gs126_g0_s0_evts[] = { /* 0x81fb360 */ /* 3 */ { 1, 42, 0, 0, { 56, 0, 0, 0 }, &gFunctionScriptTable[GETOUT_HABITAT] }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x81fb390 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x81fb390 */ &s_gs126_g0_s0_station_sref, }; diff --git a/src/data/ground/ground_data_h07p06_station.h b/src/data/ground/ground_data_h07p06_station.h index e0151fc7f..269a99617 100644 --- a/src/data/ground/ground_data_h07p06_station.h +++ b/src/data/ground/ground_data_h07p06_station.h @@ -47,21 +47,21 @@ static const struct ScriptCommand s_gs127_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs127_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs127_g0_s0_station_sref_script }; /* 0x81fb764 */ +static const ScriptRef s_gs127_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs127_g0_s0_station_sref_script }; /* 0x81fb764 */ static const struct ScriptCommand s_gs127_g0_s0_evt1_sref_script[] = { /* 0x81fb770 */ DEBUGINFO_O(53), JUMP_SCRIPT(GETOUT_HABITAT), }; -static const struct ScriptRef s_gs127_g0_s0_evt1_sref = { GETOUT_HABITAT, 2, NULL, s_gs127_g0_s0_evt1_sref_script }; /* 0x81fb790 */ +static const ScriptRef s_gs127_g0_s0_evt1_sref = { GETOUT_HABITAT, SCRIPT_TYPE_02, NULL, s_gs127_g0_s0_evt1_sref_script }; /* 0x81fb790 */ static const struct ScriptCommand s_gs127_g0_s0_evt2_sref_script[] = { /* 0x81fb79c */ DEBUGINFO_O(60), JUMP_SCRIPT(GETOUT_HABITAT), }; -static const struct ScriptRef s_gs127_g0_s0_evt2_sref = { GETOUT_HABITAT, 2, NULL, s_gs127_g0_s0_evt2_sref_script }; /* 0x81fb7bc */ +static const ScriptRef s_gs127_g0_s0_evt2_sref = { GETOUT_HABITAT, SCRIPT_TYPE_02, NULL, s_gs127_g0_s0_evt2_sref_script }; /* 0x81fb7bc */ static const struct ScriptCommand s_gs127_g0_s1_lives0_dlg0[] = { /* 0x81fb7c8 */ DEBUGINFO_O(67), @@ -155,7 +155,7 @@ static const struct GroundEventData s_gs127_g0_s0_evts[] = { /* 0x81fba20 */ /* 3 */ { 60, 3, 0, 0, { 0, 0, 0, 0 }, &gFunctionScriptTable[GETOUT_HABITAT] }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x81fba50 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x81fba50 */ &s_gs127_g0_s0_station_sref, }; diff --git a/src/data/ground/ground_data_h07p07_station.h b/src/data/ground/ground_data_h07p07_station.h index 449e78b3e..988699ca8 100644 --- a/src/data/ground/ground_data_h07p07_station.h +++ b/src/data/ground/ground_data_h07p07_station.h @@ -52,21 +52,21 @@ static const struct ScriptCommand s_gs128_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs128_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs128_g0_s0_station_sref_script }; /* 0x81fbdf4 */ +static const ScriptRef s_gs128_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs128_g0_s0_station_sref_script }; /* 0x81fbdf4 */ static const struct ScriptCommand s_gs128_g0_s0_evt2_sref_script[] = { /* 0x81fbe00 */ DEBUGINFO_O(58), JUMP_SCRIPT(GETOUT_HABITAT), }; -static const struct ScriptRef s_gs128_g0_s0_evt2_sref = { GETOUT_HABITAT, 2, NULL, s_gs128_g0_s0_evt2_sref_script }; /* 0x81fbe20 */ +static const ScriptRef s_gs128_g0_s0_evt2_sref = { GETOUT_HABITAT, SCRIPT_TYPE_02, NULL, s_gs128_g0_s0_evt2_sref_script }; /* 0x81fbe20 */ static const struct ScriptCommand s_gs128_g0_s0_evt3_sref_script[] = { /* 0x81fbe2c */ DEBUGINFO_O(65), JUMP_SCRIPT(GETOUT_HABITAT), }; -static const struct ScriptRef s_gs128_g0_s0_evt3_sref = { GETOUT_HABITAT, 2, NULL, s_gs128_g0_s0_evt3_sref_script }; /* 0x81fbe4c */ +static const ScriptRef s_gs128_g0_s0_evt3_sref = { GETOUT_HABITAT, SCRIPT_TYPE_02, NULL, s_gs128_g0_s0_evt3_sref_script }; /* 0x81fbe4c */ static const struct ScriptCommand s_gs128_g0_s1_lives0_dlg0[] = { /* 0x81fbe58 */ DEBUGINFO_O(72), @@ -228,7 +228,7 @@ static const struct GroundEventData s_gs128_g0_s0_evts[] = { /* 0x81fc288 */ /* 3 */ { 3, 39, 0, 0, { 57, 0, 0, 0 }, &s_gs128_g0_s0_evt3_sref }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x81fc2b8 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x81fc2b8 */ &s_gs128_g0_s0_station_sref, }; diff --git a/src/data/ground/ground_data_h07p08_station.h b/src/data/ground/ground_data_h07p08_station.h index 7568664c4..619b16924 100644 --- a/src/data/ground/ground_data_h07p08_station.h +++ b/src/data/ground/ground_data_h07p08_station.h @@ -55,7 +55,7 @@ static const struct ScriptCommand s_gs129_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs129_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs129_g0_s0_station_sref_script }; /* 0x81fc684 */ +static const ScriptRef s_gs129_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs129_g0_s0_station_sref_script }; /* 0x81fc684 */ static const struct ScriptCommand s_gs129_g0_s1_lives0_dlg0[] = { /* 0x81fc690 */ DEBUGINFO_O(61), @@ -269,7 +269,7 @@ static const struct GroundEventData s_gs129_g0_s0_evts[] = { /* 0x81fcc28 */ /* 3 */ { 3, 39, 0, 0, { 54, 0, 0, 0 }, &gFunctionScriptTable[GETOUT_HABITAT] }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x81fcc58 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x81fcc58 */ &s_gs129_g0_s0_station_sref, }; diff --git a/src/data/ground/ground_data_h08p01_station.h b/src/data/ground/ground_data_h08p01_station.h index 829d22dcc..9c4195ccf 100644 --- a/src/data/ground/ground_data_h08p01_station.h +++ b/src/data/ground/ground_data_h08p01_station.h @@ -53,7 +53,7 @@ static const struct ScriptCommand s_gs130_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs130_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs130_g0_s0_station_sref_script }; /* 0x81fd03c */ +static const ScriptRef s_gs130_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs130_g0_s0_station_sref_script }; /* 0x81fd03c */ static const struct ScriptCommand s_gs130_g0_s1_lives0_dlg0[] = { /* 0x81fd048 */ DEBUGINFO_O(59), @@ -250,7 +250,7 @@ static const struct GroundEventData s_gs130_g0_s0_evts[] = { /* 0x81fd5e0 */ /* 3 */ { 1, 42, 0, 0, { 59, 0, 0, 0 }, &gFunctionScriptTable[GETOUT_HABITAT] }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x81fd610 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x81fd610 */ &s_gs130_g0_s0_station_sref, }; diff --git a/src/data/ground/ground_data_h09p01_station.h b/src/data/ground/ground_data_h09p01_station.h index 5e278bac9..4eda94465 100644 --- a/src/data/ground/ground_data_h09p01_station.h +++ b/src/data/ground/ground_data_h09p01_station.h @@ -55,7 +55,7 @@ static const struct ScriptCommand s_gs131_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs131_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs131_g0_s0_station_sref_script }; /* 0x81fd9e4 */ +static const ScriptRef s_gs131_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs131_g0_s0_station_sref_script }; /* 0x81fd9e4 */ static const struct ScriptCommand s_gs131_g0_s1_lives0_dlg0[] = { /* 0x81fd9f0 */ DEBUGINFO_O(61), @@ -266,7 +266,7 @@ static const struct GroundEventData s_gs131_g0_s0_evts[] = { /* 0x81fdf88 */ /* 0 */ { 63, 1, 0, 0, { 0, 41, 0, 0 }, &gFunctionScriptTable[GETOUT_HABITAT] }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x81fdf94 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x81fdf94 */ &s_gs131_g0_s0_station_sref, }; diff --git a/src/data/ground/ground_data_h09p02_station.h b/src/data/ground/ground_data_h09p02_station.h index 458dcfe45..afa993cb3 100644 --- a/src/data/ground/ground_data_h09p02_station.h +++ b/src/data/ground/ground_data_h09p02_station.h @@ -56,7 +56,7 @@ static const struct ScriptCommand s_gs132_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs132_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs132_g0_s0_station_sref_script }; /* 0x81fe378 */ +static const ScriptRef s_gs132_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs132_g0_s0_station_sref_script }; /* 0x81fe378 */ static const struct ScriptCommand s_gs132_g0_s1_lives0_dlg0[] = { /* 0x81fe384 */ DEBUGINFO_O(62), @@ -285,7 +285,7 @@ static const struct GroundEventData s_gs132_g0_s0_evts[] = { /* 0x81fe984 */ /* 3 */ { 1, 42, 0, 0, { 59, 0, 0, 0 }, &gFunctionScriptTable[GETOUT_HABITAT] }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x81fe9b4 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x81fe9b4 */ &s_gs132_g0_s0_station_sref, }; diff --git a/src/data/ground/ground_data_h10p01_station.h b/src/data/ground/ground_data_h10p01_station.h index e4c411446..e65edca85 100644 --- a/src/data/ground/ground_data_h10p01_station.h +++ b/src/data/ground/ground_data_h10p01_station.h @@ -50,7 +50,7 @@ static const struct ScriptCommand s_gs133_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs133_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs133_g0_s0_station_sref_script }; /* 0x81feda0 */ +static const ScriptRef s_gs133_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs133_g0_s0_station_sref_script }; /* 0x81feda0 */ static const struct ScriptCommand s_gs133_g0_s1_lives0_dlg0[] = { /* 0x81fedac */ DEBUGINFO_O(56), @@ -186,7 +186,7 @@ static const struct GroundEventData s_gs133_g0_s0_evts[] = { /* 0x81ff13c */ /* 0 */ { 60, 1, 0, 0, { 0, 41, 0, 0 }, &gFunctionScriptTable[GETOUT_HABITAT] }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x81ff148 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x81ff148 */ &s_gs133_g0_s0_station_sref, }; diff --git a/src/data/ground/ground_data_h10p02_station.h b/src/data/ground/ground_data_h10p02_station.h index 1bae0d5a8..4de5a0984 100644 --- a/src/data/ground/ground_data_h10p02_station.h +++ b/src/data/ground/ground_data_h10p02_station.h @@ -50,7 +50,7 @@ static const struct ScriptCommand s_gs134_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs134_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs134_g0_s0_station_sref_script }; /* 0x81ff504 */ +static const ScriptRef s_gs134_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs134_g0_s0_station_sref_script }; /* 0x81ff504 */ static const struct ScriptCommand s_gs134_g0_s1_lives0_dlg0[] = { /* 0x81ff510 */ DEBUGINFO_O(56), @@ -199,7 +199,7 @@ static const struct GroundEventData s_gs134_g0_s0_evts[] = { /* 0x81ff940 */ /* 3 */ { 1, 39, 0, 0, { 56, 1, 0, 0 }, &gFunctionScriptTable[GETOUT_HABITAT] }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x81ff970 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x81ff970 */ &s_gs134_g0_s0_station_sref, }; diff --git a/src/data/ground/ground_data_h11p01_station.h b/src/data/ground/ground_data_h11p01_station.h index 55e82a4ae..f27d02568 100644 --- a/src/data/ground/ground_data_h11p01_station.h +++ b/src/data/ground/ground_data_h11p01_station.h @@ -53,7 +53,7 @@ static const struct ScriptCommand s_gs135_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs135_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs135_g0_s0_station_sref_script }; /* 0x81ffd2c */ +static const ScriptRef s_gs135_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs135_g0_s0_station_sref_script }; /* 0x81ffd2c */ static const struct ScriptCommand s_gs135_g0_s1_lives0_dlg0[] = { /* 0x81ffd38 */ DEBUGINFO_O(59), @@ -237,7 +237,7 @@ static const struct GroundEventData s_gs135_g0_s0_evts[] = { /* 0x8200200 */ /* 3 */ { 1, 42, 0, 0, { 65, 0, 0, 0 }, &gFunctionScriptTable[GETOUT_HABITAT] }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x8200230 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x8200230 */ &s_gs135_g0_s0_station_sref, }; diff --git a/src/data/ground/ground_data_h12p01_station.h b/src/data/ground/ground_data_h12p01_station.h index 8ed7b7625..779379e57 100644 --- a/src/data/ground/ground_data_h12p01_station.h +++ b/src/data/ground/ground_data_h12p01_station.h @@ -52,7 +52,7 @@ static const struct ScriptCommand s_gs136_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs136_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs136_g0_s0_station_sref_script }; /* 0x8200604 */ +static const ScriptRef s_gs136_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs136_g0_s0_station_sref_script }; /* 0x8200604 */ static const struct ScriptCommand s_gs136_g0_s1_lives0_dlg0[] = { /* 0x8200610 */ DEBUGINFO_O(58), @@ -221,7 +221,7 @@ static const struct GroundEventData s_gs136_g0_s0_evts[] = { /* 0x8200a70 */ /* 3 */ { 1, 42, 0, 0, { 56, 0, 0, 0 }, &gFunctionScriptTable[GETOUT_HABITAT] }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x8200aa0 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x8200aa0 */ &s_gs136_g0_s0_station_sref, }; diff --git a/src/data/ground/ground_data_h13p01_station.h b/src/data/ground/ground_data_h13p01_station.h index 5fd716fa7..9106cc6a3 100644 --- a/src/data/ground/ground_data_h13p01_station.h +++ b/src/data/ground/ground_data_h13p01_station.h @@ -57,7 +57,7 @@ static const struct ScriptCommand s_gs137_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs137_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs137_g0_s0_station_sref_script }; /* 0x8200e6c */ +static const ScriptRef s_gs137_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs137_g0_s0_station_sref_script }; /* 0x8200e6c */ static const struct ScriptCommand s_gs137_g0_s1_lives0_dlg0[] = { /* 0x8200e78 */ DEBUGINFO_O(63), @@ -301,7 +301,7 @@ static const struct GroundEventData s_gs137_g0_s0_evts[] = { /* 0x82014e0 */ /* 3 */ { 3, 45, 0, 0, { 60, 0, 0, 0 }, &gFunctionScriptTable[GETOUT_HABITAT] }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x8201510 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x8201510 */ &s_gs137_g0_s0_station_sref, }; diff --git a/src/data/ground/ground_data_h13p02_station.h b/src/data/ground/ground_data_h13p02_station.h index 7c7c94a43..ae3425b5d 100644 --- a/src/data/ground/ground_data_h13p02_station.h +++ b/src/data/ground/ground_data_h13p02_station.h @@ -47,7 +47,7 @@ static const struct ScriptCommand s_gs138_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs138_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs138_g0_s0_station_sref_script }; /* 0x8201904 */ +static const ScriptRef s_gs138_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs138_g0_s0_station_sref_script }; /* 0x8201904 */ static const struct ScriptCommand s_gs138_g0_s1_lives0_dlg0[] = { /* 0x8201910 */ DEBUGINFO_O(53), @@ -141,7 +141,7 @@ static const struct GroundEventData s_gs138_g0_s0_evts[] = { /* 0x8201b68 */ /* 3 */ { 3, 39, 0, 0, { 42, 0, 0, 0 }, &gFunctionScriptTable[GETOUT_HABITAT] }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x8201b98 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x8201b98 */ &s_gs138_g0_s0_station_sref, }; diff --git a/src/data/ground/ground_data_h13p03_station.h b/src/data/ground/ground_data_h13p03_station.h index a1f735c78..da8a0b2e5 100644 --- a/src/data/ground/ground_data_h13p03_station.h +++ b/src/data/ground/ground_data_h13p03_station.h @@ -50,7 +50,7 @@ static const struct ScriptCommand s_gs139_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs139_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs139_g0_s0_station_sref_script }; /* 0x8201f3c */ +static const ScriptRef s_gs139_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs139_g0_s0_station_sref_script }; /* 0x8201f3c */ static const struct ScriptCommand s_gs139_g0_s1_lives0_dlg0[] = { /* 0x8201f48 */ DEBUGINFO_O(56), @@ -189,7 +189,7 @@ static const struct GroundEventData s_gs139_g0_s0_evts[] = { /* 0x82022d8 */ /* 3 */ { 3, 40, 0, 0, { 54, 0, 0, 0 }, &gFunctionScriptTable[GETOUT_HABITAT] }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x8202308 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x8202308 */ &s_gs139_g0_s0_station_sref, }; diff --git a/src/data/ground/ground_data_h13p04_station.h b/src/data/ground/ground_data_h13p04_station.h index 0d6187aa2..b8f506f4a 100644 --- a/src/data/ground/ground_data_h13p04_station.h +++ b/src/data/ground/ground_data_h13p04_station.h @@ -50,7 +50,7 @@ static const struct ScriptCommand s_gs140_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs140_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs140_g0_s0_station_sref_script }; /* 0x82026c4 */ +static const ScriptRef s_gs140_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs140_g0_s0_station_sref_script }; /* 0x82026c4 */ static const struct ScriptCommand s_gs140_g0_s1_lives0_dlg0[] = { /* 0x82026d0 */ DEBUGINFO_O(56), @@ -187,7 +187,7 @@ static const struct GroundEventData s_gs140_g0_s0_evts[] = { /* 0x8202a60 */ /* 1 */ { 63, 1, 0, 0, { 0, 44, 0, 0 }, &gFunctionScriptTable[GETOUT_HABITAT] }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x8202a78 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x8202a78 */ &s_gs140_g0_s0_station_sref, }; diff --git a/src/data/ground/ground_data_h14p01_station.h b/src/data/ground/ground_data_h14p01_station.h index c5c233afe..baa05db4f 100644 --- a/src/data/ground/ground_data_h14p01_station.h +++ b/src/data/ground/ground_data_h14p01_station.h @@ -59,7 +59,7 @@ static const struct ScriptCommand s_gs141_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs141_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs141_g0_s0_station_sref_script }; /* 0x8202e34 */ +static const ScriptRef s_gs141_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs141_g0_s0_station_sref_script }; /* 0x8202e34 */ static const struct ScriptCommand s_gs141_g0_s1_lives0_dlg0[] = { /* 0x8202e40 */ DEBUGINFO_O(65), @@ -333,7 +333,7 @@ static const struct GroundEventData s_gs141_g0_s0_evts[] = { /* 0x8203578 */ /* 3 */ { 1, 42, 0, 0, { 56, 0, 0, 0 }, &gFunctionScriptTable[GETOUT_HABITAT] }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x82035a8 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x82035a8 */ &s_gs141_g0_s0_station_sref, }; diff --git a/src/data/ground/ground_data_h15p01_station.h b/src/data/ground/ground_data_h15p01_station.h index 24e814fc4..122fce26b 100644 --- a/src/data/ground/ground_data_h15p01_station.h +++ b/src/data/ground/ground_data_h15p01_station.h @@ -53,7 +53,7 @@ static const struct ScriptCommand s_gs142_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs142_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs142_g0_s0_station_sref_script }; /* 0x82039ac */ +static const ScriptRef s_gs142_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs142_g0_s0_station_sref_script }; /* 0x82039ac */ static const struct ScriptCommand s_gs142_g0_s1_lives0_dlg0[] = { /* 0x82039b8 */ DEBUGINFO_O(59), @@ -234,7 +234,7 @@ static const struct GroundEventData s_gs142_g0_s0_evts[] = { /* 0x8203e80 */ /* 0 */ { 60, 1, 0, 0, { 0, 38, 0, 0 }, &gFunctionScriptTable[GETOUT_HABITAT] }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x8203e8c */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x8203e8c */ &s_gs142_g0_s0_station_sref, }; diff --git a/src/data/ground/ground_data_h16p01_station.h b/src/data/ground/ground_data_h16p01_station.h index 4235ce939..11ef55a84 100644 --- a/src/data/ground/ground_data_h16p01_station.h +++ b/src/data/ground/ground_data_h16p01_station.h @@ -57,7 +57,7 @@ static const struct ScriptCommand s_gs143_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs143_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs143_g0_s0_station_sref_script }; /* 0x8204260 */ +static const ScriptRef s_gs143_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs143_g0_s0_station_sref_script }; /* 0x8204260 */ static const struct ScriptCommand s_gs143_g0_s1_lives0_dlg0[] = { /* 0x820426c */ DEBUGINFO_O(63), @@ -301,7 +301,7 @@ static const struct GroundEventData s_gs143_g0_s0_evts[] = { /* 0x82048d4 */ /* 3 */ { 3, 42, 0, 0, { 57, 0, 0, 0 }, &gFunctionScriptTable[GETOUT_HABITAT] }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x8204904 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x8204904 */ &s_gs143_g0_s0_station_sref, }; diff --git a/src/data/ground/ground_data_h17p01_station.h b/src/data/ground/ground_data_h17p01_station.h index 80198ed28..2d6c2584f 100644 --- a/src/data/ground/ground_data_h17p01_station.h +++ b/src/data/ground/ground_data_h17p01_station.h @@ -57,7 +57,7 @@ static const struct ScriptCommand s_gs144_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs144_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs144_g0_s0_station_sref_script }; /* 0x8204cf8 */ +static const ScriptRef s_gs144_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs144_g0_s0_station_sref_script }; /* 0x8204cf8 */ static const struct ScriptCommand s_gs144_g0_s1_lives0_dlg0[] = { /* 0x8204d04 */ DEBUGINFO_O(63), @@ -301,7 +301,7 @@ static const struct GroundEventData s_gs144_g0_s0_evts[] = { /* 0x820536c */ /* 3 */ { 1, 42, 0, 0, { 56, 0, 0, 0 }, &gFunctionScriptTable[GETOUT_HABITAT] }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x820539c */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x820539c */ &s_gs144_g0_s0_station_sref, }; diff --git a/src/data/ground/ground_data_h18p01_station.h b/src/data/ground/ground_data_h18p01_station.h index 32b6be27d..a6df69e00 100644 --- a/src/data/ground/ground_data_h18p01_station.h +++ b/src/data/ground/ground_data_h18p01_station.h @@ -53,7 +53,7 @@ static const struct ScriptCommand s_gs145_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs145_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs145_g0_s0_station_sref_script }; /* 0x8205790 */ +static const ScriptRef s_gs145_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs145_g0_s0_station_sref_script }; /* 0x8205790 */ static const struct ScriptCommand s_gs145_g0_s1_lives0_dlg0[] = { /* 0x820579c */ DEBUGINFO_O(59), @@ -237,7 +237,7 @@ static const struct GroundEventData s_gs145_g0_s0_evts[] = { /* 0x8205c64 */ /* 3 */ { 3, 42, 0, 0, { 57, 0, 0, 0 }, &gFunctionScriptTable[GETOUT_HABITAT] }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x8205c94 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x8205c94 */ &s_gs145_g0_s0_station_sref, }; diff --git a/src/data/ground/ground_data_h19p01_station.h b/src/data/ground/ground_data_h19p01_station.h index 9f82eb1cd..f8e1358ef 100644 --- a/src/data/ground/ground_data_h19p01_station.h +++ b/src/data/ground/ground_data_h19p01_station.h @@ -53,7 +53,7 @@ static const struct ScriptCommand s_gs146_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs146_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs146_g0_s0_station_sref_script }; /* 0x8206068 */ +static const ScriptRef s_gs146_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs146_g0_s0_station_sref_script }; /* 0x8206068 */ static const struct ScriptCommand s_gs146_g0_s1_lives0_dlg0[] = { /* 0x8206074 */ DEBUGINFO_O(59), @@ -237,7 +237,7 @@ static const struct GroundEventData s_gs146_g0_s0_evts[] = { /* 0x820653c */ /* 3 */ { 3, 39, 0, 0, { 54, 0, 0, 0 }, &gFunctionScriptTable[GETOUT_HABITAT] }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x820656c */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x820656c */ &s_gs146_g0_s0_station_sref, }; diff --git a/src/data/ground/ground_data_h20p01_station.h b/src/data/ground/ground_data_h20p01_station.h index bae621786..bbe4e26e7 100644 --- a/src/data/ground/ground_data_h20p01_station.h +++ b/src/data/ground/ground_data_h20p01_station.h @@ -53,7 +53,7 @@ static const struct ScriptCommand s_gs147_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs147_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs147_g0_s0_station_sref_script }; /* 0x8206940 */ +static const ScriptRef s_gs147_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs147_g0_s0_station_sref_script }; /* 0x8206940 */ static const struct ScriptCommand s_gs147_g0_s1_lives0_dlg0[] = { /* 0x820694c */ DEBUGINFO_O(59), @@ -237,7 +237,7 @@ static const struct GroundEventData s_gs147_g0_s0_evts[] = { /* 0x8206e14 */ /* 3 */ { 1, 42, 0, 0, { 56, 0, 0, 0 }, &gFunctionScriptTable[GETOUT_HABITAT] }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x8206e44 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x8206e44 */ &s_gs147_g0_s0_station_sref, }; diff --git a/src/data/ground/ground_data_h21p01_station.h b/src/data/ground/ground_data_h21p01_station.h index a441901be..1b231cff9 100644 --- a/src/data/ground/ground_data_h21p01_station.h +++ b/src/data/ground/ground_data_h21p01_station.h @@ -60,7 +60,7 @@ static const struct ScriptCommand s_gs148_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs148_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs148_g0_s0_station_sref_script }; /* 0x8207218 */ +static const ScriptRef s_gs148_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs148_g0_s0_station_sref_script }; /* 0x8207218 */ static const struct ScriptCommand s_gs148_g0_s1_lives0_dlg0[] = { /* 0x8207224 */ DEBUGINFO_O(66), @@ -347,7 +347,7 @@ static const struct GroundEventData s_gs148_g0_s0_evts[] = { /* 0x82079c4 */ /* 1 */ { 60, 1, 0, 0, { 0, 38, 0, 0 }, &gFunctionScriptTable[GETOUT_HABITAT] }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x82079dc */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x82079dc */ &s_gs148_g0_s0_station_sref, }; diff --git a/src/data/ground/ground_data_h21p02_station.h b/src/data/ground/ground_data_h21p02_station.h index 675e957f9..a2e3b0f49 100644 --- a/src/data/ground/ground_data_h21p02_station.h +++ b/src/data/ground/ground_data_h21p02_station.h @@ -60,7 +60,7 @@ static const struct ScriptCommand s_gs149_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs149_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs149_g0_s0_station_sref_script }; /* 0x8207de8 */ +static const ScriptRef s_gs149_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs149_g0_s0_station_sref_script }; /* 0x8207de8 */ static const struct ScriptCommand s_gs149_g0_s1_lives0_dlg0[] = { /* 0x8207df4 */ DEBUGINFO_O(66), @@ -347,7 +347,7 @@ static const struct GroundEventData s_gs149_g0_s0_evts[] = { /* 0x8208594 */ /* 1 */ { 60, 1, 0, 0, { 0, 38, 0, 0 }, &gFunctionScriptTable[GETOUT_HABITAT] }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x82085ac */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x82085ac */ &s_gs149_g0_s0_station_sref, }; diff --git a/src/data/ground/ground_data_h22p01_station.h b/src/data/ground/ground_data_h22p01_station.h index 2b2876cac..a69a3e823 100644 --- a/src/data/ground/ground_data_h22p01_station.h +++ b/src/data/ground/ground_data_h22p01_station.h @@ -52,7 +52,7 @@ static const struct ScriptCommand s_gs150_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs150_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs150_g0_s0_station_sref_script }; /* 0x82089b8 */ +static const ScriptRef s_gs150_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs150_g0_s0_station_sref_script }; /* 0x82089b8 */ static const struct ScriptCommand s_gs150_g0_s1_lives0_dlg0[] = { /* 0x82089c4 */ DEBUGINFO_O(58), @@ -221,7 +221,7 @@ static const struct GroundEventData s_gs150_g0_s0_evts[] = { /* 0x8208e24 */ /* 3 */ { 3, 39, 0, 0, { 57, 0, 0, 0 }, &gFunctionScriptTable[GETOUT_HABITAT] }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x8208e54 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x8208e54 */ &s_gs150_g0_s0_station_sref, }; diff --git a/src/data/ground/ground_data_h23p01_station.h b/src/data/ground/ground_data_h23p01_station.h index 22ce254b5..c21cf29f8 100644 --- a/src/data/ground/ground_data_h23p01_station.h +++ b/src/data/ground/ground_data_h23p01_station.h @@ -59,7 +59,7 @@ static const struct ScriptCommand s_gs151_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs151_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs151_g0_s0_station_sref_script }; /* 0x8209220 */ +static const ScriptRef s_gs151_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs151_g0_s0_station_sref_script }; /* 0x8209220 */ static const struct ScriptCommand s_gs151_g0_s1_lives0_dlg0[] = { /* 0x820922c */ DEBUGINFO_O(65), @@ -333,7 +333,7 @@ static const struct GroundEventData s_gs151_g0_s0_evts[] = { /* 0x8209964 */ /* 3 */ { 1, 39, 0, 0, { 56, 0, 0, 0 }, &gFunctionScriptTable[GETOUT_HABITAT] }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x8209994 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x8209994 */ &s_gs151_g0_s0_station_sref, }; diff --git a/src/data/ground/ground_data_h24p01_station.h b/src/data/ground/ground_data_h24p01_station.h index 669583f80..0135cdbaa 100644 --- a/src/data/ground/ground_data_h24p01_station.h +++ b/src/data/ground/ground_data_h24p01_station.h @@ -53,7 +53,7 @@ static const struct ScriptCommand s_gs152_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs152_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs152_g0_s0_station_sref_script }; /* 0x8209d98 */ +static const ScriptRef s_gs152_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs152_g0_s0_station_sref_script }; /* 0x8209d98 */ static const struct ScriptCommand s_gs152_g0_s1_lives0_dlg0[] = { /* 0x8209da4 */ DEBUGINFO_O(59), @@ -237,7 +237,7 @@ static const struct GroundEventData s_gs152_g0_s0_evts[] = { /* 0x820a26c */ /* 3 */ { 1, 45, 0, 0, { 59, 1, 0, 0 }, &gFunctionScriptTable[GETOUT_HABITAT] }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x820a29c */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x820a29c */ &s_gs152_g0_s0_station_sref, }; diff --git a/src/data/ground/ground_data_h25p01_station.h b/src/data/ground/ground_data_h25p01_station.h index e8d709fee..e2535bf73 100644 --- a/src/data/ground/ground_data_h25p01_station.h +++ b/src/data/ground/ground_data_h25p01_station.h @@ -52,7 +52,7 @@ static const struct ScriptCommand s_gs153_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs153_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs153_g0_s0_station_sref_script }; /* 0x820a670 */ +static const ScriptRef s_gs153_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs153_g0_s0_station_sref_script }; /* 0x820a670 */ static const struct ScriptCommand s_gs153_g0_s1_lives0_dlg0[] = { /* 0x820a67c */ DEBUGINFO_O(58), @@ -221,7 +221,7 @@ static const struct GroundEventData s_gs153_g0_s0_evts[] = { /* 0x820aadc */ /* 3 */ { 1, 36, 0, 0, { 59, 0, 0, 0 }, &gFunctionScriptTable[GETOUT_HABITAT] }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x820ab0c */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x820ab0c */ &s_gs153_g0_s0_station_sref, }; diff --git a/src/data/ground/ground_data_h26p01_station.h b/src/data/ground/ground_data_h26p01_station.h index e6f52e766..8ee43dc90 100644 --- a/src/data/ground/ground_data_h26p01_station.h +++ b/src/data/ground/ground_data_h26p01_station.h @@ -47,7 +47,7 @@ static const struct ScriptCommand s_gs154_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs154_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs154_g0_s0_station_sref_script }; /* 0x820aed8 */ +static const ScriptRef s_gs154_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs154_g0_s0_station_sref_script }; /* 0x820aed8 */ static const struct ScriptCommand s_gs154_g0_s1_lives0_dlg0[] = { /* 0x820aee4 */ DEBUGINFO_O(53), @@ -141,7 +141,7 @@ static const struct GroundEventData s_gs154_g0_s0_evts[] = { /* 0x820b13c */ /* 3 */ { 3, 39, 0, 0, { 57, 0, 0, 0 }, &gFunctionScriptTable[GETOUT_HABITAT] }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x820b16c */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x820b16c */ &s_gs154_g0_s0_station_sref, }; diff --git a/src/data/ground/ground_data_h27p01_station.h b/src/data/ground/ground_data_h27p01_station.h index c52de7b18..974f7d4eb 100644 --- a/src/data/ground/ground_data_h27p01_station.h +++ b/src/data/ground/ground_data_h27p01_station.h @@ -47,7 +47,7 @@ static const struct ScriptCommand s_gs155_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs155_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs155_g0_s0_station_sref_script }; /* 0x820b510 */ +static const ScriptRef s_gs155_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs155_g0_s0_station_sref_script }; /* 0x820b510 */ static const struct ScriptCommand s_gs155_g0_s1_lives0_dlg0[] = { /* 0x820b51c */ DEBUGINFO_O(53), @@ -141,7 +141,7 @@ static const struct GroundEventData s_gs155_g0_s0_evts[] = { /* 0x820b774 */ /* 3 */ { 3, 39, 0, 0, { 57, 0, 0, 0 }, &gFunctionScriptTable[GETOUT_HABITAT] }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x820b7a4 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x820b7a4 */ &s_gs155_g0_s0_station_sref, }; diff --git a/src/data/ground/ground_data_h28p01_station.h b/src/data/ground/ground_data_h28p01_station.h index 3068713b4..a300e30c5 100644 --- a/src/data/ground/ground_data_h28p01_station.h +++ b/src/data/ground/ground_data_h28p01_station.h @@ -52,7 +52,7 @@ static const struct ScriptCommand s_gs156_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs156_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs156_g0_s0_station_sref_script }; /* 0x820bb48 */ +static const ScriptRef s_gs156_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs156_g0_s0_station_sref_script }; /* 0x820bb48 */ static const struct ScriptCommand s_gs156_g0_s1_lives0_dlg0[] = { /* 0x820bb54 */ DEBUGINFO_O(58), @@ -221,7 +221,7 @@ static const struct GroundEventData s_gs156_g0_s0_evts[] = { /* 0x820bfb4 */ /* 3 */ { 3, 39, 0, 0, { 57, 0, 0, 0 }, &gFunctionScriptTable[GETOUT_HABITAT] }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x820bfe4 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x820bfe4 */ &s_gs156_g0_s0_station_sref, }; diff --git a/src/data/ground/ground_data_h28p02_station.h b/src/data/ground/ground_data_h28p02_station.h index 9f6f589f8..12a270765 100644 --- a/src/data/ground/ground_data_h28p02_station.h +++ b/src/data/ground/ground_data_h28p02_station.h @@ -50,7 +50,7 @@ static const struct ScriptCommand s_gs157_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs157_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs157_g0_s0_station_sref_script }; /* 0x820c3b0 */ +static const ScriptRef s_gs157_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs157_g0_s0_station_sref_script }; /* 0x820c3b0 */ static const struct ScriptCommand s_gs157_g0_s1_lives0_dlg0[] = { /* 0x820c3bc */ DEBUGINFO_O(56), @@ -186,7 +186,7 @@ static const struct GroundEventData s_gs157_g0_s0_evts[] = { /* 0x820c74c */ /* 0 */ { 60, 1, 0, 0, { 0, 38, 0, 0 }, &gFunctionScriptTable[GETOUT_HABITAT] }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x820c758 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x820c758 */ &s_gs157_g0_s0_station_sref, }; diff --git a/src/data/ground/ground_data_h29p01_station.h b/src/data/ground/ground_data_h29p01_station.h index f28734cca..73accda70 100644 --- a/src/data/ground/ground_data_h29p01_station.h +++ b/src/data/ground/ground_data_h29p01_station.h @@ -49,7 +49,7 @@ static const struct ScriptCommand s_gs158_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs158_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs158_g0_s0_station_sref_script }; /* 0x820cb74 */ +static const ScriptRef s_gs158_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs158_g0_s0_station_sref_script }; /* 0x820cb74 */ static const struct ScriptCommand s_gs158_g0_s1_lives0_dlg0[] = { /* 0x820cb80 */ DEBUGINFO_O(71), @@ -183,7 +183,7 @@ static const struct ScriptCommand s_gs158_g2_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs158_g2_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs158_g2_s0_station_sref_script }; /* 0x820d150 */ +static const ScriptRef s_gs158_g2_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs158_g2_s0_station_sref_script }; /* 0x820d150 */ static const struct ScriptCommand s_gs158_g2_s0_eff0_script[] = { /* 0x820d15c */ DEBUGINFO_O(205), @@ -610,7 +610,7 @@ static const struct GroundEventData s_gs158_g0_s0_evts[] = { /* 0x820e834 */ /* 3 */ { 1, 33, 0, 0, { 59, 0, 0, 0 }, &gFunctionScriptTable[GETOUT_HABITAT] }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x820e864 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x820e864 */ &s_gs158_g0_s0_station_sref, &s_gs158_g2_s0_station_sref, }; diff --git a/src/data/ground/ground_data_h29p02_station.h b/src/data/ground/ground_data_h29p02_station.h index 748ba733e..c95449eb0 100644 --- a/src/data/ground/ground_data_h29p02_station.h +++ b/src/data/ground/ground_data_h29p02_station.h @@ -48,7 +48,7 @@ static const struct ScriptCommand s_gs159_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs159_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs159_g0_s0_station_sref_script }; /* 0x820ec94 */ +static const ScriptRef s_gs159_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs159_g0_s0_station_sref_script }; /* 0x820ec94 */ static const struct ScriptCommand s_gs159_g0_s1_lives0_dlg0[] = { /* 0x820eca0 */ DEBUGINFO_O(54), @@ -157,7 +157,7 @@ static const struct GroundEventData s_gs159_g0_s0_evts[] = { /* 0x820ef60 */ /* 3 */ { 3, 42, 0, 0, { 57, 0, 0, 0 }, &gFunctionScriptTable[GETOUT_HABITAT] }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x820ef90 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x820ef90 */ &s_gs159_g0_s0_station_sref, }; diff --git a/src/data/ground/ground_data_h29p03_station.h b/src/data/ground/ground_data_h29p03_station.h index 4a168e278..6ef813e0c 100644 --- a/src/data/ground/ground_data_h29p03_station.h +++ b/src/data/ground/ground_data_h29p03_station.h @@ -47,7 +47,7 @@ static const struct ScriptCommand s_gs160_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs160_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs160_g0_s0_station_sref_script }; /* 0x820f33c */ +static const ScriptRef s_gs160_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs160_g0_s0_station_sref_script }; /* 0x820f33c */ static const struct ScriptCommand s_gs160_g0_s1_lives0_dlg0[] = { /* 0x820f348 */ DEBUGINFO_O(53), @@ -141,7 +141,7 @@ static const struct GroundEventData s_gs160_g0_s0_evts[] = { /* 0x820f5a0 */ /* 3 */ { 3, 42, 0, 0, { 57, 0, 0, 0 }, &gFunctionScriptTable[GETOUT_HABITAT] }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x820f5d0 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x820f5d0 */ &s_gs160_g0_s0_station_sref, }; diff --git a/src/data/ground/ground_data_h29p04_station.h b/src/data/ground/ground_data_h29p04_station.h index b242625d9..2be8d9cd5 100644 --- a/src/data/ground/ground_data_h29p04_station.h +++ b/src/data/ground/ground_data_h29p04_station.h @@ -47,7 +47,7 @@ static const struct ScriptCommand s_gs161_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs161_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs161_g0_s0_station_sref_script }; /* 0x820f974 */ +static const ScriptRef s_gs161_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs161_g0_s0_station_sref_script }; /* 0x820f974 */ static const struct ScriptCommand s_gs161_g0_s1_lives0_dlg0[] = { /* 0x820f980 */ DEBUGINFO_O(53), @@ -141,7 +141,7 @@ static const struct GroundEventData s_gs161_g0_s0_evts[] = { /* 0x820fbd8 */ /* 3 */ { 3, 39, 0, 0, { 57, 0, 0, 0 }, &gFunctionScriptTable[GETOUT_HABITAT] }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x820fc08 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x820fc08 */ &s_gs161_g0_s0_station_sref, }; diff --git a/src/data/ground/ground_data_s01_station.h b/src/data/ground/ground_data_s01_station.h index bde960a7c..4d5695f16 100644 --- a/src/data/ground/ground_data_s01_station.h +++ b/src/data/ground/ground_data_s01_station.h @@ -13,7 +13,7 @@ static const struct ScriptCommand s_gs223_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs223_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs223_g0_s0_station_sref_script }; /* 0x826dfec */ +static const ScriptRef s_gs223_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs223_g0_s0_station_sref_script }; /* 0x826dfec */ static const struct ScriptCommand s_gs223_g1_s0_station_sref_script[] = { /* 0x826dff8 - PART 1 0:00:31-0:00:45 - New game intro to personality test */ DEBUGINFO_O(19), @@ -35,12 +35,12 @@ static const struct ScriptCommand s_gs223_g1_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs223_g1_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs223_g1_s0_station_sref_script }; /* 0x826e200 */ +static const ScriptRef s_gs223_g1_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs223_g1_s0_station_sref_script }; /* 0x826e200 */ static const struct GroundEffectData s_gs223_g1_s0_effs[] = { /* 0x826e20c */ /* 0 */ { 0, 0, 1, 1, { 30, 19, CPOS_HALFTILE, CPOS_HALFTILE }, NULL }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x826e218 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x826e218 */ &s_gs223_g0_s0_station_sref, &s_gs223_g1_s0_station_sref, }; diff --git a/src/data/ground/ground_data_s02_station.h b/src/data/ground/ground_data_s02_station.h index de60a4098..5cd6d33d2 100644 --- a/src/data/ground/ground_data_s02_station.h +++ b/src/data/ground/ground_data_s02_station.h @@ -24,7 +24,7 @@ static const struct ScriptCommand s_gs224_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs224_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs224_g0_s0_station_sref_script }; /* 0x826e308 */ +static const ScriptRef s_gs224_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs224_g0_s0_station_sref_script }; /* 0x826e308 */ static const struct ScriptCommand s_gs224_g1_s0_obj0_dlg1[] = { /* 0x826e314 */ DEBUGINFO_O(30), @@ -52,7 +52,7 @@ static const struct ScriptCommand s_gs224_g2_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs224_g2_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs224_g2_s0_station_sref_script }; /* 0x826e454 */ +static const ScriptRef s_gs224_g2_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs224_g2_s0_station_sref_script }; /* 0x826e454 */ static const struct ScriptCommand s_gs224_g3_s0_station_sref_script[] = { /* 0x826e460 */ DEBUGINFO_O(58), @@ -74,7 +74,7 @@ static const struct ScriptCommand s_gs224_g3_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs224_g3_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs224_g3_s0_station_sref_script }; /* 0x826e570 */ +static const ScriptRef s_gs224_g3_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs224_g3_s0_station_sref_script }; /* 0x826e570 */ static const struct ScriptCommand s_gs224_g3_s0_eff0_script[] = { /* 0x826e57c */ DEBUGINFO_O(80), @@ -155,7 +155,7 @@ static const struct ScriptCommand s_gs224_g4_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs224_g4_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs224_g4_s0_station_sref_script }; /* 0x826e97c */ +static const ScriptRef s_gs224_g4_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs224_g4_s0_station_sref_script }; /* 0x826e97c */ static const struct ScriptCommand s_gs224_g4_s0_eff0_script[] = { /* 0x826e988 */ DEBUGINFO_O(161), @@ -205,7 +205,7 @@ static const struct GroundEffectData s_gs224_g4_s0_effs[] = { /* 0x826ea90 */ /* 0 */ { 0, 0, 1, 1, { 18, 14, 0, CPOS_HALFTILE }, s_gs224_g4_s0_eff0_script }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x826ea9c */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x826ea9c */ &s_gs224_g0_s0_station_sref, &s_gs224_g2_s0_station_sref, &s_gs224_g3_s0_station_sref, diff --git a/src/data/ground/ground_data_s03_station.h b/src/data/ground/ground_data_s03_station.h index 7ca4fa67b..54796daf7 100644 --- a/src/data/ground/ground_data_s03_station.h +++ b/src/data/ground/ground_data_s03_station.h @@ -25,7 +25,7 @@ static const struct ScriptCommand s_gs225_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs225_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs225_g0_s0_station_sref_script }; /* 0x826ecc4 */ +static const ScriptRef s_gs225_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs225_g0_s0_station_sref_script }; /* 0x826ecc4 */ static const struct ScriptCommand s_gs225_g1_s0_station_sref_script[] = { /* 0x826ecd0 */ DEBUGINFO_O(31), @@ -45,7 +45,7 @@ static const struct ScriptCommand s_gs225_g1_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs225_g1_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs225_g1_s0_station_sref_script }; /* 0x826edc0 */ +static const ScriptRef s_gs225_g1_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs225_g1_s0_station_sref_script }; /* 0x826edc0 */ static const struct ScriptCommand s_gs225_g1_s0_eff0_script[] = { /* 0x826edcc */ DEBUGINFO_O(51), @@ -114,7 +114,7 @@ static const struct GroundEffectData s_gs225_g1_s0_effs[] = { /* 0x826f0cc */ /* 0 */ { 0, 0, 1, 1, { 18, 27, 0, CPOS_HALFTILE }, s_gs225_g1_s0_eff0_script }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x826f0d8 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x826f0d8 */ &s_gs225_g0_s0_station_sref, &s_gs225_g1_s0_station_sref, }; diff --git a/src/data/ground/ground_data_s04_station.h b/src/data/ground/ground_data_s04_station.h index 4d427913a..62af895b8 100644 --- a/src/data/ground/ground_data_s04_station.h +++ b/src/data/ground/ground_data_s04_station.h @@ -16,7 +16,7 @@ static const struct ScriptCommand s_gs226_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs226_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs226_g0_s0_station_sref_script }; /* 0x826f220 */ +static const ScriptRef s_gs226_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs226_g0_s0_station_sref_script }; /* 0x826f220 */ static const struct ScriptCommand s_gs226_g1_s0_station_sref_script[] = { /* 0x826f22c */ DEBUGINFO_O(22), @@ -38,7 +38,7 @@ static const struct ScriptCommand s_gs226_g1_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs226_g1_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs226_g1_s0_station_sref_script }; /* 0x826f33c */ +static const ScriptRef s_gs226_g1_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs226_g1_s0_station_sref_script }; /* 0x826f33c */ static const struct ScriptCommand s_gs226_g1_s0_eff0_script[] = { /* 0x826f348 */ DEBUGINFO_O(44), @@ -79,7 +79,7 @@ static const struct GroundEffectData s_gs226_g1_s0_effs[] = { /* 0x826f508 */ /* 1 */ { 2, 0, 1, 1, { 0, 0, 0, CPOS_HALFTILE }, s_gs226_g1_s0_eff1_script }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x826f520 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x826f520 */ &s_gs226_g0_s0_station_sref, &s_gs226_g1_s0_station_sref, }; diff --git a/src/data/ground/ground_data_s05_station.h b/src/data/ground/ground_data_s05_station.h index 8d77c2ae8..aeca879ea 100644 --- a/src/data/ground/ground_data_s05_station.h +++ b/src/data/ground/ground_data_s05_station.h @@ -15,7 +15,7 @@ static const struct ScriptCommand s_gs227_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs227_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs227_g0_s0_station_sref_script }; /* 0x826f620 */ +static const ScriptRef s_gs227_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs227_g0_s0_station_sref_script }; /* 0x826f620 */ static const struct ScriptCommand s_gs227_g1_s0_station_sref_script[] = { /* 0x826f62c */ DEBUGINFO_O(21), @@ -31,7 +31,7 @@ static const struct ScriptCommand s_gs227_g1_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs227_g1_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs227_g1_s0_station_sref_script }; /* 0x826f6dc */ +static const ScriptRef s_gs227_g1_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs227_g1_s0_station_sref_script }; /* 0x826f6dc */ static const struct ScriptCommand s_gs227_g1_s0_eff0_script[] = { /* 0x826f6e8 */ DEBUGINFO_O(37), @@ -49,7 +49,7 @@ static const struct GroundEffectData s_gs227_g1_s0_effs[] = { /* 0x826f778 */ /* 0 */ { 0, 0, 1, 1, { 15, 11, 0, CPOS_HALFTILE }, s_gs227_g1_s0_eff0_script }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x826f784 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x826f784 */ &s_gs227_g0_s0_station_sref, &s_gs227_g1_s0_station_sref, }; diff --git a/src/data/ground/ground_data_s06_station.h b/src/data/ground/ground_data_s06_station.h index 3d8ccada8..c9758aa99 100644 --- a/src/data/ground/ground_data_s06_station.h +++ b/src/data/ground/ground_data_s06_station.h @@ -13,7 +13,7 @@ static const struct ScriptCommand s_gs228_g0_s0_station_sref_script[] = { /* 0x8 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs228_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs228_g0_s0_station_sref_script }; /* 0x826f87c */ +static const ScriptRef s_gs228_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs228_g0_s0_station_sref_script }; /* 0x826f87c */ static const struct ScriptCommand s_gs228_g1_s0_station_sref_script[] = { /* 0x826f888 */ DEBUGINFO_O(19), @@ -25,12 +25,12 @@ static const struct ScriptCommand s_gs228_g1_s0_station_sref_script[] = { /* 0x8 RET, }; -static const struct ScriptRef s_gs228_g1_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs228_g1_s0_station_sref_script }; /* 0x826f8f8 */ +static const ScriptRef s_gs228_g1_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs228_g1_s0_station_sref_script }; /* 0x826f8f8 */ static const struct GroundEffectData s_gs228_g1_s0_effs[] = { /* 0x826f904 */ /* 0 */ { 0, 0, 1, 1, { 15, 11, 0, CPOS_HALFTILE }, NULL }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x826f910 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x826f910 */ &s_gs228_g0_s0_station_sref, &s_gs228_g1_s0_station_sref, }; diff --git a/src/data/ground/ground_data_t00p01_station.h b/src/data/ground/ground_data_t00p01_station.h index abad7970b..6671eb7d0 100644 --- a/src/data/ground/ground_data_t00p01_station.h +++ b/src/data/ground/ground_data_t00p01_station.h @@ -40,7 +40,7 @@ static const struct ScriptCommand s_gs0_g0_s0_station_sref_script[] = { /* 0x813 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs0_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs0_g0_s0_station_sref_script }; /* 0x8132918 */ +static const ScriptRef s_gs0_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs0_g0_s0_station_sref_script }; /* 0x8132918 */ @@ -50,21 +50,21 @@ static const struct ScriptCommand s_gs0_g0_s0_evt0_sref_script[] = { /* 0x813292 RET, }; -static const struct ScriptRef s_gs0_g0_s0_evt0_sref = { GETOUT_NORMAL, 2, NULL, s_gs0_g0_s0_evt0_sref_script }; /* 0x8132944 */ +static const ScriptRef s_gs0_g0_s0_evt0_sref = { GETOUT_NORMAL, SCRIPT_TYPE_02, NULL, s_gs0_g0_s0_evt0_sref_script }; /* 0x8132944 */ static const struct ScriptCommand s_gs0_g0_s0_evt1_sref_script[] = { /* 0x8132950 */ DEBUGINFO_O(56), RET, }; -static const struct ScriptRef s_gs0_g0_s0_evt1_sref = { GETOUT_NORMAL, 2, NULL, s_gs0_g0_s0_evt1_sref_script }; /* 0x8132970 */ +static const ScriptRef s_gs0_g0_s0_evt1_sref = { GETOUT_NORMAL, SCRIPT_TYPE_02, NULL, s_gs0_g0_s0_evt1_sref_script }; /* 0x8132970 */ static const struct ScriptCommand s_gs0_g0_s0_evt2_sref_script[] = { /* 0x813297c */ DEBUGINFO_O(63), RET, }; -static const struct ScriptRef s_gs0_g0_s0_evt2_sref = { GETOUT_NORMAL, 2, NULL, s_gs0_g0_s0_evt2_sref_script }; /* 0x813299c */ +static const ScriptRef s_gs0_g0_s0_evt2_sref = { GETOUT_NORMAL, SCRIPT_TYPE_02, NULL, s_gs0_g0_s0_evt2_sref_script }; /* 0x813299c */ static const struct ScriptCommand s_gs0_g0_s1_lives0_dlg0[] = { /* 0x81329a8 */ DEBUGINFO_O(70), @@ -1454,7 +1454,7 @@ static const struct GroundEventData s_gs0_g0_s0_evts[] = { /* 0x813805c */ /* 2 */ { 6, 12, 0, 0, { 138, 30, 0, 0 }, &s_gs0_g0_s0_evt2_sref }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x8138080 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x8138080 */ &s_gs0_g0_s0_station_sref, }; diff --git a/src/data/ground/ground_data_t01p01_station.h b/src/data/ground/ground_data_t01p01_station.h index 2c9c937d2..3b3448e43 100644 --- a/src/data/ground/ground_data_t01p01_station.h +++ b/src/data/ground/ground_data_t01p01_station.h @@ -333,7 +333,7 @@ static const struct ScriptCommand s_gs1_g0_s0_station_sref_script[] = { /* 0x813 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs1_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs1_g0_s0_station_sref_script }; /* 0x8138db4 */ +static const ScriptRef s_gs1_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs1_g0_s0_station_sref_script }; /* 0x8138db4 */ static const struct ScriptCommand s_gs1_g0_s0_evt0_sref_script[] = { /* 0x8138dc0 */ DEBUGINFO_O(339), @@ -358,7 +358,7 @@ static const struct ScriptCommand s_gs1_g0_s0_evt0_sref_script[] = { /* 0x8138dc HALT, }; -static const struct ScriptRef s_gs1_g0_s0_evt0_sref = { GETOUT_NORMAL, 2, NULL, s_gs1_g0_s0_evt0_sref_script }; /* 0x8138f00 */ +static const ScriptRef s_gs1_g0_s0_evt0_sref = { GETOUT_NORMAL, SCRIPT_TYPE_02, NULL, s_gs1_g0_s0_evt0_sref_script }; /* 0x8138f00 */ static const struct ScriptCommand s_gs1_g0_s0_evt1_sref_script[] = { /* 0x8138f0c */ @@ -367,7 +367,7 @@ static const struct ScriptCommand s_gs1_g0_s0_evt1_sref_script[] = { /* 0x8138f0 HALT, }; -static const struct ScriptRef s_gs1_g0_s0_evt1_sref = { GETOUT_NORMAL, 2, NULL, s_gs1_g0_s0_evt1_sref_script }; /* 0x8138f3c */ +static const ScriptRef s_gs1_g0_s0_evt1_sref = { GETOUT_NORMAL, SCRIPT_TYPE_02, NULL, s_gs1_g0_s0_evt1_sref_script }; /* 0x8138f3c */ static const struct ScriptCommand s_gs1_g0_s0_evt2_sref_script[] = { /* 0x8138f48 */ DEBUGINFO_O(373), @@ -375,7 +375,7 @@ static const struct ScriptCommand s_gs1_g0_s0_evt2_sref_script[] = { /* 0x8138f4 HALT, }; -static const struct ScriptRef s_gs1_g0_s0_evt2_sref = { GETOUT_NORMAL, 2, NULL, s_gs1_g0_s0_evt2_sref_script }; /* 0x8138f78 */ +static const ScriptRef s_gs1_g0_s0_evt2_sref = { GETOUT_NORMAL, SCRIPT_TYPE_02, NULL, s_gs1_g0_s0_evt2_sref_script }; /* 0x8138f78 */ static const struct ScriptCommand s_gs1_g0_s0_evt3_sref_script[] = { /* 0x8138f84 */ DEBUGINFO_O(381), @@ -383,7 +383,7 @@ static const struct ScriptCommand s_gs1_g0_s0_evt3_sref_script[] = { /* 0x8138f8 HALT, }; -static const struct ScriptRef s_gs1_g0_s0_evt3_sref = { GETOUT_NORMAL, 2, NULL, s_gs1_g0_s0_evt3_sref_script }; /* 0x8138fb4 */ +static const ScriptRef s_gs1_g0_s0_evt3_sref = { GETOUT_NORMAL, SCRIPT_TYPE_02, NULL, s_gs1_g0_s0_evt3_sref_script }; /* 0x8138fb4 */ static const struct ScriptCommand s_gs1_g0_s0_obj0_dlg2[] = { /* 0x8138fc0 */ DEBUGINFO_O(389), @@ -508,7 +508,7 @@ static const struct ScriptCommand s_gs1_g1_s0_station_sref_script[] = { /* 0x813 RET, }; -static const struct ScriptRef s_gs1_g1_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs1_g1_s0_station_sref_script }; /* 0x8139514 */ +static const ScriptRef s_gs1_g1_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs1_g1_s0_station_sref_script }; /* 0x8139514 */ static const struct ScriptCommand s_gs1_g1_s0_lives0_dlg2[] = { /* 0x8139520 */ DEBUGINFO_O(514), @@ -750,7 +750,7 @@ static const struct ScriptCommand s_gs1_g2_s0_station_sref_script[] = { /* 0x813 RET_DIRECT, }; -static const struct ScriptRef s_gs1_g2_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs1_g2_s0_station_sref_script }; /* 0x813a604 */ +static const ScriptRef s_gs1_g2_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs1_g2_s0_station_sref_script }; /* 0x813a604 */ @@ -822,7 +822,7 @@ static const struct ScriptCommand s_gs1_g4_s1_station_sref_script[] = { /* 0x813 RET, }; -static const struct ScriptRef s_gs1_g4_s1_station_sref = { EVENT_WAKEUP, 7, NULL, s_gs1_g4_s1_station_sref_script }; /* 0x813a9a8 */ +static const ScriptRef s_gs1_g4_s1_station_sref = { EVENT_WAKEUP, SCRIPT_TYPE_07, NULL, s_gs1_g4_s1_station_sref_script }; /* 0x813a9a8 */ static const struct ScriptCommand s_gs1_g4_s1_lives0_dlg0[] = { /* 0x813a9b4 */ DEBUGINFO_O(828), @@ -1135,7 +1135,7 @@ static const struct ScriptCommand s_gs1_g5_s1_station_sref_script[] = { /* 0x813 RET, }; -static const struct ScriptRef s_gs1_g5_s1_station_sref = { EVENT_WAKEUP, 7, NULL, s_gs1_g5_s1_station_sref_script }; /* 0x813bbe4 */ +static const ScriptRef s_gs1_g5_s1_station_sref = { EVENT_WAKEUP, SCRIPT_TYPE_07, NULL, s_gs1_g5_s1_station_sref_script }; /* 0x813bbe4 */ static const struct ScriptCommand s_gs1_g5_s1_lives0_dlg0[] = { /* 0x813bbf0 */ DEBUGINFO_O(1141), @@ -1402,7 +1402,7 @@ static const struct ScriptCommand s_gs1_g5_s4_station_sref_script[] = { /* 0x813 RET, }; -static const struct ScriptRef s_gs1_g5_s4_station_sref = { EVENT_WAKEUP, 7, NULL, s_gs1_g5_s4_station_sref_script }; /* 0x813c7d8 */ +static const ScriptRef s_gs1_g5_s4_station_sref = { EVENT_WAKEUP, SCRIPT_TYPE_07, NULL, s_gs1_g5_s4_station_sref_script }; /* 0x813c7d8 */ static const struct ScriptCommand s_gs1_g5_s4_lives0_dlg0[] = { /* 0x813c7e4 */ DEBUGINFO_O(1408), @@ -1585,7 +1585,7 @@ static const struct ScriptCommand s_gs1_g6_s0_station_sref_script[] = { /* 0x813 RET, }; -static const struct ScriptRef s_gs1_g6_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs1_g6_s0_station_sref_script }; /* 0x813d310 */ +static const ScriptRef s_gs1_g6_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs1_g6_s0_station_sref_script }; /* 0x813d310 */ static const struct ScriptCommand s_gs1_g6_s0_eff0_script[] = { /* 0x813d31c */ DEBUGINFO_O(1591), @@ -1722,7 +1722,7 @@ static const struct ScriptCommand s_gs1_g7_s0_station_sref_script[] = { /* 0x813 RET_DIRECT, }; -static const struct ScriptRef s_gs1_g7_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs1_g7_s0_station_sref_script }; /* 0x813e128 */ +static const ScriptRef s_gs1_g7_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs1_g7_s0_station_sref_script }; /* 0x813e128 */ static const struct ScriptCommand s_gs1_g7_s0_lives0_dlg2[] = { /* 0x813e134 */ DEBUGINFO_O(1728), @@ -1841,7 +1841,7 @@ static const struct ScriptCommand s_gs1_g7_s1_station_sref_script[] = { /* 0x813 RET, }; -static const struct ScriptRef s_gs1_g7_s1_station_sref = { EVENT_WAKEUP, 7, NULL, s_gs1_g7_s1_station_sref_script }; /* 0x813e874 */ +static const ScriptRef s_gs1_g7_s1_station_sref = { EVENT_WAKEUP, SCRIPT_TYPE_07, NULL, s_gs1_g7_s1_station_sref_script }; /* 0x813e874 */ static const struct ScriptCommand s_gs1_g7_s1_lives0_dlg0[] = { /* 0x813e880 */ DEBUGINFO_O(1847), @@ -1889,7 +1889,7 @@ static const struct ScriptCommand s_gs1_g8_s0_station_sref_script[] = { /* 0x813 RET_DIRECT, }; -static const struct ScriptRef s_gs1_g8_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs1_g8_s0_station_sref_script }; /* 0x813ebd4 */ +static const ScriptRef s_gs1_g8_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs1_g8_s0_station_sref_script }; /* 0x813ebd4 */ static const struct ScriptCommand s_gs1_g8_s0_lives0_dlg2[] = { /* 0x813ebe0 */ DEBUGINFO_O(1895), @@ -1990,7 +1990,7 @@ static const struct ScriptCommand s_gs1_g8_s1_station_sref_script[] = { /* 0x813 RET, }; -static const struct ScriptRef s_gs1_g8_s1_station_sref = { EVENT_WAKEUP, 7, NULL, s_gs1_g8_s1_station_sref_script }; /* 0x813f0d0 */ +static const ScriptRef s_gs1_g8_s1_station_sref = { EVENT_WAKEUP, SCRIPT_TYPE_07, NULL, s_gs1_g8_s1_station_sref_script }; /* 0x813f0d0 */ static const struct ScriptCommand s_gs1_g8_s1_lives0_dlg0[] = { /* 0x813f0dc */ DEBUGINFO_O(1996), @@ -2100,7 +2100,7 @@ static const struct ScriptCommand s_gs1_g8_s2_evt0_sref_script[] = { /* 0x813f55 HALT, }; -static const struct ScriptRef s_gs1_g8_s2_evt0_sref = { NORMAL_EVENT, 7, NULL, s_gs1_g8_s2_evt0_sref_script }; /* 0x813f58c */ +static const ScriptRef s_gs1_g8_s2_evt0_sref = { NORMAL_EVENT, SCRIPT_TYPE_07, NULL, s_gs1_g8_s2_evt0_sref_script }; /* 0x813f58c */ static const struct ScriptCommand s_gs1_g9_s0_station_sref_script[] = { /* 0x813f598 */ DEBUGINFO_O(2106), @@ -2112,7 +2112,7 @@ static const struct ScriptCommand s_gs1_g9_s0_station_sref_script[] = { /* 0x813 RET, }; -static const struct ScriptRef s_gs1_g9_s0_station_sref = { EVENT_WAKEUP, 7, NULL, s_gs1_g9_s0_station_sref_script }; /* 0x813f608 */ +static const ScriptRef s_gs1_g9_s0_station_sref = { EVENT_WAKEUP, SCRIPT_TYPE_07, NULL, s_gs1_g9_s0_station_sref_script }; /* 0x813f608 */ static const struct ScriptCommand s_gs1_g9_s0_lives0_dlg0[] = { /* 0x813f614 */ DEBUGINFO_O(2118), @@ -2406,7 +2406,7 @@ static const struct ScriptCommand s_gs1_g10_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs1_g10_s0_station_sref = { EVENT_WAKEUP, 7, NULL, s_gs1_g10_s0_station_sref_script }; /* 0x8141040 */ +static const ScriptRef s_gs1_g10_s0_station_sref = { EVENT_WAKEUP, SCRIPT_TYPE_07, NULL, s_gs1_g10_s0_station_sref_script }; /* 0x8141040 */ static const struct ScriptCommand s_gs1_g10_s0_eff0_script[] = { /* 0x814104c */ DEBUGINFO_O(2412), @@ -3111,7 +3111,7 @@ static const struct ScriptCommand s_gs1_g11_s0_station_sref_script[] = { /* 0x81 RET_DIRECT, }; -static const struct ScriptRef s_gs1_g11_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs1_g11_s0_station_sref_script }; /* 0x8144094 */ +static const ScriptRef s_gs1_g11_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs1_g11_s0_station_sref_script }; /* 0x8144094 */ static const struct ScriptCommand s_gs1_g11_s0_lives0_dlg2[] = { /* 0x81440a0 */ DEBUGINFO_O(3117), @@ -3261,7 +3261,7 @@ static const struct ScriptCommand s_gs1_g12_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs1_g12_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs1_g12_s0_station_sref_script }; /* 0x8144c80 */ +static const ScriptRef s_gs1_g12_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs1_g12_s0_station_sref_script }; /* 0x8144c80 */ static const struct ScriptCommand s_gs1_g12_s0_lives0_dlg0[] = { /* 0x8144c8c */ DEBUGINFO_O(3267), @@ -3347,7 +3347,7 @@ static const struct ScriptCommand s_gs1_g13_s0_station_sref_script[] = { /* 0x81 RET_DIRECT, }; -static const struct ScriptRef s_gs1_g13_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs1_g13_s0_station_sref_script }; /* 0x8144f8c */ +static const ScriptRef s_gs1_g13_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs1_g13_s0_station_sref_script }; /* 0x8144f8c */ static const struct ScriptCommand s_gs1_g13_s0_lives0_dlg2[] = { /* 0x8144f98 */ DEBUGINFO_O(3353), @@ -3444,7 +3444,7 @@ static const struct ScriptCommand s_gs1_g14_s0_station_sref_script[] = { /* 0x81 RET_DIRECT, }; -static const struct ScriptRef s_gs1_g14_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs1_g14_s0_station_sref_script }; /* 0x8145488 */ +static const ScriptRef s_gs1_g14_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs1_g14_s0_station_sref_script }; /* 0x8145488 */ static const struct ScriptCommand s_gs1_g14_s0_lives0_dlg2[] = { /* 0x8145494 */ DEBUGINFO_O(3450), @@ -3618,7 +3618,7 @@ static const struct ScriptCommand s_gs1_g15_s0_station_sref_script[] = { /* 0x81 RET_DIRECT, }; -static const struct ScriptRef s_gs1_g15_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs1_g15_s0_station_sref_script }; /* 0x8145d94 */ +static const ScriptRef s_gs1_g15_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs1_g15_s0_station_sref_script }; /* 0x8145d94 */ static const struct ScriptCommand s_gs1_g15_s0_lives0_dlg2[] = { /* 0x8145da0 */ DEBUGINFO_O(3624), @@ -3734,7 +3734,7 @@ static const struct ScriptCommand s_gs1_g16_s0_station_sref_script[] = { /* 0x81 RET_DIRECT, }; -static const struct ScriptRef s_gs1_g16_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs1_g16_s0_station_sref_script }; /* 0x8146380 */ +static const ScriptRef s_gs1_g16_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs1_g16_s0_station_sref_script }; /* 0x8146380 */ static const struct ScriptCommand s_gs1_g16_s0_lives0_dlg2[] = { /* 0x814638c */ DEBUGINFO_O(3740), @@ -3796,7 +3796,7 @@ static const struct ScriptCommand s_gs1_g16_s0_evt0_sref_script[] = { /* 0x81465 HALT, }; -static const struct ScriptRef s_gs1_g16_s0_evt0_sref = { NORMAL_EVENT, 7, NULL, s_gs1_g16_s0_evt0_sref_script }; /* 0x81465fc */ +static const ScriptRef s_gs1_g16_s0_evt0_sref = { NORMAL_EVENT, SCRIPT_TYPE_07, NULL, s_gs1_g16_s0_evt0_sref_script }; /* 0x81465fc */ static const struct ScriptCommand s_gs1_g17_s0_station_sref_script[] = { /* 0x8146608 */ DEBUGINFO_O(3802), @@ -3808,7 +3808,7 @@ static const struct ScriptCommand s_gs1_g17_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs1_g17_s0_station_sref = { EVENT_WAKEUP, 7, NULL, s_gs1_g17_s0_station_sref_script }; /* 0x8146678 */ +static const ScriptRef s_gs1_g17_s0_station_sref = { EVENT_WAKEUP, SCRIPT_TYPE_07, NULL, s_gs1_g17_s0_station_sref_script }; /* 0x8146678 */ static const struct ScriptCommand s_gs1_g17_s0_eff0_script[] = { /* 0x8146684 */ DEBUGINFO_O(3814), @@ -4022,7 +4022,7 @@ static const struct ScriptCommand s_gs1_g18_s0_station_sref_script[] = { /* 0x81 RET_DIRECT, }; -static const struct ScriptRef s_gs1_g18_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs1_g18_s0_station_sref_script }; /* 0x8147650 */ +static const ScriptRef s_gs1_g18_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs1_g18_s0_station_sref_script }; /* 0x8147650 */ static const struct ScriptCommand s_gs1_g18_s0_lives0_dlg2[] = { /* 0x814765c */ DEBUGINFO_O(4028), @@ -4118,7 +4118,7 @@ static const struct ScriptCommand s_gs1_g19_s0_station_sref_script[] = { /* 0x81 HALT, }; -static const struct ScriptRef s_gs1_g19_s0_station_sref = { EVENT_WAKEUP, 7, NULL, s_gs1_g19_s0_station_sref_script }; /* 0x8147ae8 */ +static const ScriptRef s_gs1_g19_s0_station_sref = { EVENT_WAKEUP, SCRIPT_TYPE_07, NULL, s_gs1_g19_s0_station_sref_script }; /* 0x8147ae8 */ static const struct ScriptCommand s_gs1_g19_s0_lives0_dlg0[] = { /* 0x8147af4 */ DEBUGINFO_O(4124), @@ -4177,7 +4177,7 @@ static const struct ScriptCommand s_gs1_g20_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs1_g20_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs1_g20_s0_station_sref_script }; /* 0x8147ea0 */ +static const ScriptRef s_gs1_g20_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs1_g20_s0_station_sref_script }; /* 0x8147ea0 */ static const struct ScriptCommand s_gs1_g20_s0_eff0_script[] = { /* 0x8147eac */ DEBUGINFO_O(4183), @@ -4269,7 +4269,7 @@ static const struct ScriptCommand s_gs1_g21_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs1_g21_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs1_g21_s0_station_sref_script }; /* 0x81483f8 */ +static const ScriptRef s_gs1_g21_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs1_g21_s0_station_sref_script }; /* 0x81483f8 */ static const struct ScriptCommand s_gs1_g21_s0_eff0_script[] = { /* 0x8148404 */ DEBUGINFO_O(4275), @@ -5463,7 +5463,7 @@ static const struct ScriptCommand s_gs1_g22_s0_station_sref_script[] = { /* 0x81 RET_DIRECT, }; -static const struct ScriptRef s_gs1_g22_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs1_g22_s0_station_sref_script }; /* 0x814d520 */ +static const ScriptRef s_gs1_g22_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs1_g22_s0_station_sref_script }; /* 0x814d520 */ static const struct ScriptCommand s_gs1_g22_s0_lives0_dlg1[] = { /* 0x814d52c */ DEBUGINFO_O(5469), @@ -5616,7 +5616,7 @@ static const struct ScriptCommand s_gs1_g23_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs1_g23_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs1_g23_s0_station_sref_script }; /* 0x814db38 */ +static const ScriptRef s_gs1_g23_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs1_g23_s0_station_sref_script }; /* 0x814db38 */ static const struct ScriptCommand s_gs1_g23_s0_eff0_script[] = { /* 0x814db44 */ @@ -6747,7 +6747,7 @@ static const struct ScriptCommand s_gs1_g24_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs1_g24_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs1_g24_s0_station_sref_script }; /* 0x8152c68 */ +static const ScriptRef s_gs1_g24_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs1_g24_s0_station_sref_script }; /* 0x8152c68 */ static const struct ScriptCommand s_gs1_g24_s0_lives0_dlg2[] = { /* 0x8152c74 */ DEBUGINFO_O(6753), @@ -6909,7 +6909,7 @@ static const struct ScriptCommand s_gs1_g24_s1_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs1_g24_s1_station_sref = { EVENT_CONTROL, 7, NULL, s_gs1_g24_s1_station_sref_script }; /* 0x8153888 */ +static const ScriptRef s_gs1_g24_s1_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs1_g24_s1_station_sref_script }; /* 0x8153888 */ static const struct ScriptCommand s_gs1_g24_s1_lives0_dlg0[] = { /* 0x8153894 */ DEBUGINFO_O(6915), @@ -7013,7 +7013,7 @@ static const struct ScriptCommand s_gs1_g25_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs1_g25_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs1_g25_s0_station_sref_script }; /* 0x8153f54 */ +static const ScriptRef s_gs1_g25_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs1_g25_s0_station_sref_script }; /* 0x8153f54 */ static const struct ScriptCommand s_gs1_g25_s0_lives0_dlg2[] = { /* 0x8153f60 */ DEBUGINFO_O(7019), @@ -7143,7 +7143,7 @@ static const struct ScriptCommand s_gs1_g26_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs1_g26_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs1_g26_s0_station_sref_script }; /* 0x8154678 */ +static const ScriptRef s_gs1_g26_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs1_g26_s0_station_sref_script }; /* 0x8154678 */ static const struct ScriptCommand s_gs1_g26_s0_eff0_script[] = { /* 0x8154684 */ DEBUGINFO_O(7149), @@ -8498,7 +8498,7 @@ static const struct ScriptCommand s_gs1_g27_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs1_g27_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs1_g27_s0_station_sref_script }; /* 0x815a294 */ +static const ScriptRef s_gs1_g27_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs1_g27_s0_station_sref_script }; /* 0x815a294 */ static const struct ScriptCommand s_gs1_g27_s0_lives0_dlg2[] = { /* 0x815a2a0 */ DEBUGINFO_O(8504), @@ -8626,7 +8626,7 @@ static const struct ScriptCommand s_gs1_g28_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs1_g28_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs1_g28_s0_station_sref_script }; /* 0x815a9a4 */ +static const ScriptRef s_gs1_g28_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs1_g28_s0_station_sref_script }; /* 0x815a9a4 */ static const struct ScriptCommand s_gs1_g28_s0_eff0_script[] = { /* 0x815a9b0 */ DEBUGINFO_O(8632), @@ -10078,7 +10078,7 @@ static const struct ScriptCommand s_gs1_g29_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs1_g29_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs1_g29_s0_station_sref_script }; /* 0x8161048 */ +static const ScriptRef s_gs1_g29_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs1_g29_s0_station_sref_script }; /* 0x8161048 */ static const struct ScriptCommand s_gs1_g29_s0_lives0_dlg2[] = { /* 0x8161054 */ DEBUGINFO_O(10084), @@ -10329,7 +10329,7 @@ static const struct ScriptCommand s_gs1_g29_s1_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs1_g29_s1_station_sref = { EVENT_WAKEUP, 7, NULL, s_gs1_g29_s1_station_sref_script }; /* 0x8162184 */ +static const ScriptRef s_gs1_g29_s1_station_sref = { EVENT_WAKEUP, SCRIPT_TYPE_07, NULL, s_gs1_g29_s1_station_sref_script }; /* 0x8162184 */ static const struct ScriptCommand s_gs1_g29_s1_lives0_dlg0[] = { /* 0x8162190 */ DEBUGINFO_O(10335), @@ -10435,7 +10435,7 @@ static const struct ScriptCommand s_gs1_g30_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs1_g30_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs1_g30_s0_station_sref_script }; /* 0x8162800 */ +static const ScriptRef s_gs1_g30_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs1_g30_s0_station_sref_script }; /* 0x8162800 */ static const struct ScriptCommand s_gs1_g30_s0_lives0_dlg2[] = { /* 0x816280c */ DEBUGINFO_O(10441), @@ -10723,7 +10723,7 @@ static const struct ScriptCommand s_gs1_g30_s1_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs1_g30_s1_station_sref = { EVENT_WAKEUP, 7, NULL, s_gs1_g30_s1_station_sref_script }; /* 0x8163b18 */ +static const ScriptRef s_gs1_g30_s1_station_sref = { EVENT_WAKEUP, SCRIPT_TYPE_07, NULL, s_gs1_g30_s1_station_sref_script }; /* 0x8163b18 */ static const struct ScriptCommand s_gs1_g30_s1_lives0_dlg0[] = { /* 0x8163b24 */ DEBUGINFO_O(10729), @@ -10841,7 +10841,7 @@ static const struct ScriptCommand s_gs1_g31_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs1_g31_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs1_g31_s0_station_sref_script }; /* 0x816412c */ +static const ScriptRef s_gs1_g31_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs1_g31_s0_station_sref_script }; /* 0x816412c */ static const struct ScriptCommand s_gs1_g31_s0_eff0_script[] = { /* 0x8164138 */ @@ -11525,7 +11525,7 @@ static const struct ScriptCommand s_gs1_g32_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs1_g32_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs1_g32_s0_station_sref_script }; /* 0x8166c74 */ +static const ScriptRef s_gs1_g32_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs1_g32_s0_station_sref_script }; /* 0x8166c74 */ static const struct ScriptCommand s_gs1_g32_s0_lives0_dlg0[] = { /* 0x8166c80 */ DEBUGINFO_O(11531), @@ -11784,7 +11784,7 @@ static const struct ScriptCommand s_gs1_g33_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs1_g33_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs1_g33_s0_station_sref_script }; /* 0x8167d34 */ +static const ScriptRef s_gs1_g33_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs1_g33_s0_station_sref_script }; /* 0x8167d34 */ static const struct ScriptCommand s_gs1_g33_s0_lives0_dlg0[] = { /* 0x8167d40 */ DEBUGINFO_O(11790), @@ -11799,7 +11799,7 @@ static const struct ScriptCommand s_gs1_g34_s0_station_sref_script[] = { /* 0x81 RET_DIRECT, }; -static const struct ScriptRef s_gs1_g34_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs1_g34_s0_station_sref_script }; /* 0x8167db0 */ +static const ScriptRef s_gs1_g34_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs1_g34_s0_station_sref_script }; /* 0x8167db0 */ static const struct ScriptCommand s_gs1_g34_s0_lives0_dlg2[] = { /* 0x8167dbc */ DEBUGINFO_O(11805), @@ -12020,7 +12020,7 @@ static const struct ScriptCommand s_gs1_g35_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs1_g35_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs1_g35_s0_station_sref_script }; /* 0x8168e58 */ +static const ScriptRef s_gs1_g35_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs1_g35_s0_station_sref_script }; /* 0x8168e58 */ static const struct ScriptCommand s_gs1_g35_s0_lives0_dlg2[] = { /* 0x8168e64 */ DEBUGINFO_O(12026), @@ -12196,7 +12196,7 @@ static const struct ScriptCommand s_gs1_g36_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs1_g36_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs1_g36_s0_station_sref_script }; /* 0x81698ec */ +static const ScriptRef s_gs1_g36_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs1_g36_s0_station_sref_script }; /* 0x81698ec */ static const struct ScriptCommand s_gs1_g36_s0_lives0_dlg2[] = { /* 0x81698f8 */ DEBUGINFO_O(12202), @@ -12376,7 +12376,7 @@ static const struct ScriptCommand s_gs1_g37_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs1_g37_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs1_g37_s0_station_sref_script }; /* 0x816a440 */ +static const ScriptRef s_gs1_g37_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs1_g37_s0_station_sref_script }; /* 0x816a440 */ static const struct ScriptCommand s_gs1_g37_s0_eff0_script[] = { /* 0x816a44c */ DEBUGINFO_O(12382), @@ -12392,7 +12392,7 @@ static const struct ScriptCommand s_gs1_g38_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs1_g38_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs1_g38_s0_station_sref_script }; /* 0x816a4cc */ +static const ScriptRef s_gs1_g38_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs1_g38_s0_station_sref_script }; /* 0x816a4cc */ static const struct ScriptCommand s_gs1_g38_s0_lives0_dlg2[] = { /* 0x816a4d8 */ DEBUGINFO_O(12398), @@ -12569,7 +12569,7 @@ static const struct ScriptCommand s_gs1_g38_s1_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs1_g38_s1_station_sref = { EVENT_WAKEUP, 7, NULL, s_gs1_g38_s1_station_sref_script }; /* 0x816b144 */ +static const ScriptRef s_gs1_g38_s1_station_sref = { EVENT_WAKEUP, SCRIPT_TYPE_07, NULL, s_gs1_g38_s1_station_sref_script }; /* 0x816b144 */ static const struct ScriptCommand s_gs1_g38_s1_lives0_dlg0[] = { /* 0x816b150 */ DEBUGINFO_O(12575), @@ -12947,7 +12947,7 @@ static const struct ScriptCommand s_gs1_g42_s0_evt0_sref_script[] = { /* 0x816ce HALT, }; -static const struct ScriptRef s_gs1_g42_s0_evt0_sref = { NORMAL_EVENT, 7, NULL, s_gs1_g42_s0_evt0_sref_script }; /* 0x816ce64 */ +static const ScriptRef s_gs1_g42_s0_evt0_sref = { NORMAL_EVENT, SCRIPT_TYPE_07, NULL, s_gs1_g42_s0_evt0_sref_script }; /* 0x816ce64 */ static const struct ScriptCommand s_gs1_g43_s0_station_sref_script[] = { /* 0x816ce70 */ DEBUGINFO_O(12953), @@ -12960,7 +12960,7 @@ static const struct ScriptCommand s_gs1_g43_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs1_g43_s0_station_sref = { EVENT_WAKEUP, 7, NULL, s_gs1_g43_s0_station_sref_script }; /* 0x816cef0 */ +static const ScriptRef s_gs1_g43_s0_station_sref = { EVENT_WAKEUP, SCRIPT_TYPE_07, NULL, s_gs1_g43_s0_station_sref_script }; /* 0x816cef0 */ static const struct ScriptCommand s_gs1_g43_s0_eff0_script[] = { /* 0x816cefc */ DEBUGINFO_O(12966), @@ -13135,7 +13135,7 @@ static const struct ScriptCommand s_gs1_g45_s1_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs1_g45_s1_station_sref = { EVENT_WAKEUP, 7, NULL, s_gs1_g45_s1_station_sref_script }; /* 0x816d934 */ +static const ScriptRef s_gs1_g45_s1_station_sref = { EVENT_WAKEUP, SCRIPT_TYPE_07, NULL, s_gs1_g45_s1_station_sref_script }; /* 0x816d934 */ static const struct ScriptCommand s_gs1_g45_s1_lives0_dlg0[] = { /* 0x816d940 */ DEBUGINFO_O(13141), @@ -13332,7 +13332,7 @@ static const struct ScriptCommand s_gs1_g46_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs1_g46_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs1_g46_s0_station_sref_script }; /* 0x816e97c */ +static const ScriptRef s_gs1_g46_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs1_g46_s0_station_sref_script }; /* 0x816e97c */ static const struct ScriptCommand s_gs1_g46_s0_eff0_script[] = { /* 0x816e988 */ DEBUGINFO_O(13338), @@ -14034,7 +14034,7 @@ static const struct ScriptCommand s_gs1_g47_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs1_g47_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs1_g47_s0_station_sref_script }; /* 0x8171cdc */ +static const ScriptRef s_gs1_g47_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs1_g47_s0_station_sref_script }; /* 0x8171cdc */ static const struct ScriptCommand s_gs1_g47_s0_eff0_script[] = { /* 0x8171ce8 */ DEBUGINFO_O(14040), @@ -14348,7 +14348,7 @@ static const struct ScriptCommand s_gs1_g48_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs1_g48_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs1_g48_s0_station_sref_script }; /* 0x8173358 */ +static const ScriptRef s_gs1_g48_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs1_g48_s0_station_sref_script }; /* 0x8173358 */ static const struct ScriptCommand s_gs1_g48_s0_eff0_script[] = { /* 0x8173364 */ DEBUGINFO_O(14354), @@ -14777,7 +14777,7 @@ static const struct ScriptCommand s_gs1_g49_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs1_g49_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs1_g49_s0_station_sref_script }; /* 0x81757ec */ +static const ScriptRef s_gs1_g49_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs1_g49_s0_station_sref_script }; /* 0x81757ec */ static const struct ScriptCommand s_gs1_g49_s0_lives0_dlg0[] = { /* 0x81757f8 */ DEBUGINFO_O(14783), @@ -17417,7 +17417,7 @@ static const struct GroundEventData s_gs1_g42_s0_evts[] = { /* 0x817c1f0 */ /* 0 */ { 6, 9, 0, 0, { 71, 35, 0, 0 }, &s_gs1_g42_s0_evt0_sref }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x817c1fc */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x817c1fc */ &s_gs1_g0_s0_station_sref, &s_gs1_g1_s0_station_sref, &s_gs1_g2_s0_station_sref, diff --git a/src/data/ground/ground_data_t01p02a_station.h b/src/data/ground/ground_data_t01p02a_station.h index 451803b1c..d95c57da1 100644 --- a/src/data/ground/ground_data_t01p02a_station.h +++ b/src/data/ground/ground_data_t01p02a_station.h @@ -166,7 +166,7 @@ static const struct ScriptCommand s_gs2_g0_s0_station_sref_script[] = { /* 0x817 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs2_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs2_g0_s0_station_sref_script }; /* 0x817de6c */ +static const ScriptRef s_gs2_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs2_g0_s0_station_sref_script }; /* 0x817de6c */ static const struct ScriptCommand s_gs2_g0_s0_evt0_sref_script[] = { /* 0x817de78 */ DEBUGINFO_O(172), @@ -174,7 +174,7 @@ static const struct ScriptCommand s_gs2_g0_s0_evt0_sref_script[] = { /* 0x817de7 HALT, }; -static const struct ScriptRef s_gs2_g0_s0_evt0_sref = { GETOUT_NORMAL, 2, NULL, s_gs2_g0_s0_evt0_sref_script }; /* 0x817dea8 */ +static const ScriptRef s_gs2_g0_s0_evt0_sref = { GETOUT_NORMAL, SCRIPT_TYPE_02, NULL, s_gs2_g0_s0_evt0_sref_script }; /* 0x817dea8 */ static const struct ScriptCommand s_gs2_g0_s1_lives0_dlg0[] = { /* 0x817deb4 */ DEBUGINFO_O(180), @@ -202,7 +202,7 @@ static const struct ScriptCommand s_gs2_g0_s2_evt0_sref_script[] = { /* 0x817df3 RET, }; -static const struct ScriptRef s_gs2_g0_s2_evt0_sref = { GETOUT_NORMAL, 2, NULL, s_gs2_g0_s2_evt0_sref_script }; /* 0x817e018 */ +static const ScriptRef s_gs2_g0_s2_evt0_sref = { GETOUT_NORMAL, SCRIPT_TYPE_02, NULL, s_gs2_g0_s2_evt0_sref_script }; /* 0x817e018 */ static const struct ScriptCommand s_gs2_g0_s2_lives0_dlg0[] = { /* 0x817e024 */ DEBUGINFO_O(208), @@ -225,7 +225,7 @@ static const struct ScriptCommand s_gs2_g1_s0_station_sref_script[] = { /* 0x817 RET, }; -static const struct ScriptRef s_gs2_g1_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs2_g1_s0_station_sref_script }; /* 0x817e0e4 */ +static const ScriptRef s_gs2_g1_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs2_g1_s0_station_sref_script }; /* 0x817e0e4 */ static const struct ScriptCommand s_gs2_g1_s0_lives0_dlg0[] = { /* 0x817e0f0 */ DEBUGINFO_O(231), @@ -339,7 +339,7 @@ static const struct ScriptCommand s_gs2_g2_s0_station_sref_script[] = { /* 0x817 RET_DIRECT, }; -static const struct ScriptRef s_gs2_g2_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs2_g2_s0_station_sref_script }; /* 0x817e7e8 */ +static const ScriptRef s_gs2_g2_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs2_g2_s0_station_sref_script }; /* 0x817e7e8 */ static const struct ScriptCommand s_gs2_g3_s0_lives0_dlg0[] = { /* 0x817e7f4 */ DEBUGINFO_O(345), @@ -519,7 +519,7 @@ static const struct ScriptCommand s_gs2_g5_s0_evt0_sref_script[] = { /* 0x817f7e HALT, }; -static const struct ScriptRef s_gs2_g5_s0_evt0_sref = { GETOUT_NORMAL, 2, NULL, s_gs2_g5_s0_evt0_sref_script }; /* 0x817f818 */ +static const ScriptRef s_gs2_g5_s0_evt0_sref = { GETOUT_NORMAL, SCRIPT_TYPE_02, NULL, s_gs2_g5_s0_evt0_sref_script }; /* 0x817f818 */ static const struct ScriptCommand s_gs2_g6_s0_station_sref_script[] = { /* 0x817f824 */ DEBUGINFO_O(525), @@ -531,7 +531,7 @@ static const struct ScriptCommand s_gs2_g6_s0_station_sref_script[] = { /* 0x817 RET, }; -static const struct ScriptRef s_gs2_g6_s0_station_sref = { EVENT_WAKEUP, 7, NULL, s_gs2_g6_s0_station_sref_script }; /* 0x817f894 */ +static const ScriptRef s_gs2_g6_s0_station_sref = { EVENT_WAKEUP, SCRIPT_TYPE_07, NULL, s_gs2_g6_s0_station_sref_script }; /* 0x817f894 */ static const struct ScriptCommand s_gs2_g6_s0_eff0_script[] = { /* 0x817f8a0 */ DEBUGINFO_O(537), @@ -732,7 +732,7 @@ static const struct ScriptCommand s_gs2_g7_s0_evt0_sref_script[] = { /* 0x818055 HALT, }; -static const struct ScriptRef s_gs2_g7_s0_evt0_sref = { GETOUT_NORMAL, 2, NULL, s_gs2_g7_s0_evt0_sref_script }; /* 0x818058c */ +static const ScriptRef s_gs2_g7_s0_evt0_sref = { GETOUT_NORMAL, SCRIPT_TYPE_02, NULL, s_gs2_g7_s0_evt0_sref_script }; /* 0x818058c */ static const struct ScriptCommand s_gs2_g8_s0_station_sref_script[] = { /* 0x8180598 */ DEBUGINFO_O(738), @@ -744,7 +744,7 @@ static const struct ScriptCommand s_gs2_g8_s0_station_sref_script[] = { /* 0x818 RET, }; -static const struct ScriptRef s_gs2_g8_s0_station_sref = { EVENT_WAKEUP, 7, NULL, s_gs2_g8_s0_station_sref_script }; /* 0x8180608 */ +static const ScriptRef s_gs2_g8_s0_station_sref = { EVENT_WAKEUP, SCRIPT_TYPE_07, NULL, s_gs2_g8_s0_station_sref_script }; /* 0x8180608 */ static const struct ScriptCommand s_gs2_g8_s0_eff0_script[] = { /* 0x8180614 */ DEBUGINFO_O(750), @@ -935,7 +935,7 @@ static const struct ScriptCommand s_gs2_g9_s1_station_sref_script[] = { /* 0x818 RET, }; -static const struct ScriptRef s_gs2_g9_s1_station_sref = { EVENT_WAKEUP, 7, NULL, s_gs2_g9_s1_station_sref_script }; /* 0x81812b0 */ +static const ScriptRef s_gs2_g9_s1_station_sref = { EVENT_WAKEUP, SCRIPT_TYPE_07, NULL, s_gs2_g9_s1_station_sref_script }; /* 0x81812b0 */ static const struct ScriptCommand s_gs2_g9_s1_eff0_script[] = { /* 0x81812bc */ DEBUGINFO_O(941), @@ -1022,7 +1022,7 @@ static const struct ScriptCommand s_gs2_g10_s0_station_sref_script[] = { /* 0x81 RET_DIRECT, }; -static const struct ScriptRef s_gs2_g10_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs2_g10_s0_station_sref_script }; /* 0x81818a0 */ +static const ScriptRef s_gs2_g10_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs2_g10_s0_station_sref_script }; /* 0x81818a0 */ static const struct ScriptCommand s_gs2_g10_s0_lives0_dlg0[] = { /* 0x81818ac */ DEBUGINFO_O(1028), @@ -1054,7 +1054,7 @@ static const struct ScriptCommand s_gs2_g11_s0_station_sref_script[] = { /* 0x81 RET_DIRECT, }; -static const struct ScriptRef s_gs2_g11_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs2_g11_s0_station_sref_script }; /* 0x8181a80 */ +static const ScriptRef s_gs2_g11_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs2_g11_s0_station_sref_script }; /* 0x8181a80 */ static const struct ScriptCommand s_gs2_g11_s0_lives0_dlg0[] = { /* 0x8181a8c */ DEBUGINFO_O(1060), @@ -1085,7 +1085,7 @@ static const struct ScriptCommand s_gs2_g12_s0_station_sref_script[] = { /* 0x81 RET_DIRECT, }; -static const struct ScriptRef s_gs2_g12_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs2_g12_s0_station_sref_script }; /* 0x8181c0c */ +static const ScriptRef s_gs2_g12_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs2_g12_s0_station_sref_script }; /* 0x8181c0c */ static const struct ScriptCommand s_gs2_g12_s0_lives0_dlg0[] = { /* 0x8181c18 */ DEBUGINFO_O(1091), @@ -1130,7 +1130,7 @@ static const struct ScriptCommand s_gs2_g13_s0_station_sref_script[] = { /* 0x81 RET_DIRECT, }; -static const struct ScriptRef s_gs2_g13_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs2_g13_s0_station_sref_script }; /* 0x8181eec */ +static const ScriptRef s_gs2_g13_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs2_g13_s0_station_sref_script }; /* 0x8181eec */ static const struct ScriptCommand s_gs2_g13_s0_lives0_dlg0[] = { /* 0x8181ef8 */ DEBUGINFO_O(1136), @@ -1162,7 +1162,7 @@ static const struct ScriptCommand s_gs2_g14_s0_station_sref_script[] = { /* 0x81 RET_DIRECT, }; -static const struct ScriptRef s_gs2_g14_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs2_g14_s0_station_sref_script }; /* 0x81820a4 */ +static const ScriptRef s_gs2_g14_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs2_g14_s0_station_sref_script }; /* 0x81820a4 */ static const struct ScriptCommand s_gs2_g14_s0_lives0_dlg0[] = { /* 0x81820b0 */ DEBUGINFO_O(1168), @@ -1224,7 +1224,7 @@ static const struct ScriptCommand s_gs2_g15_s0_station_sref_script[] = { /* 0x81 RET_DIRECT, }; -static const struct ScriptRef s_gs2_g15_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs2_g15_s0_station_sref_script }; /* 0x8182618 */ +static const ScriptRef s_gs2_g15_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs2_g15_s0_station_sref_script }; /* 0x8182618 */ static const struct ScriptCommand s_gs2_g15_s0_lives0_dlg0[] = { /* 0x8182624 */ DEBUGINFO_O(1230), @@ -1303,7 +1303,7 @@ static const struct ScriptCommand s_gs2_g16_s0_station_sref_script[] = { /* 0x81 RET_DIRECT, }; -static const struct ScriptRef s_gs2_g16_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs2_g16_s0_station_sref_script }; /* 0x8182a24 */ +static const ScriptRef s_gs2_g16_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs2_g16_s0_station_sref_script }; /* 0x8182a24 */ static const struct ScriptCommand s_gs2_g16_s0_lives0_dlg0[] = { /* 0x8182a30 */ DEBUGINFO_O(1309), @@ -1382,7 +1382,7 @@ static const struct ScriptCommand s_gs2_g16_s1_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs2_g16_s1_station_sref = { EVENT_WAKEUP, 7, NULL, s_gs2_g16_s1_station_sref_script }; /* 0x8182f0c */ +static const ScriptRef s_gs2_g16_s1_station_sref = { EVENT_WAKEUP, SCRIPT_TYPE_07, NULL, s_gs2_g16_s1_station_sref_script }; /* 0x8182f0c */ static const struct ScriptCommand s_gs2_g16_s1_lives0_dlg0[] = { /* 0x8182f18 */ DEBUGINFO_O(1388), @@ -1544,7 +1544,7 @@ static const struct ScriptCommand s_gs2_g17_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs2_g17_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs2_g17_s0_station_sref_script }; /* 0x8183f10 */ +static const ScriptRef s_gs2_g17_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs2_g17_s0_station_sref_script }; /* 0x8183f10 */ static const struct ScriptCommand s_gs2_g18_s0_station_sref_script[] = { /* 0x8183f1c */ DEBUGINFO_O(1550), @@ -1556,7 +1556,7 @@ static const struct ScriptCommand s_gs2_g18_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs2_g18_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs2_g18_s0_station_sref_script }; /* 0x8183f8c */ +static const ScriptRef s_gs2_g18_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs2_g18_s0_station_sref_script }; /* 0x8183f8c */ static const struct ScriptCommand s_gs2_g18_s0_lives0_dlg0[] = { /* 0x8183f98 */ DEBUGINFO_O(1562), @@ -1608,7 +1608,7 @@ static const struct ScriptCommand s_gs2_g19_s0_station_sref_script[] = { /* 0x81 RET_DIRECT, }; -static const struct ScriptRef s_gs2_g19_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs2_g19_s0_station_sref_script }; /* 0x81842b0 */ +static const ScriptRef s_gs2_g19_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs2_g19_s0_station_sref_script }; /* 0x81842b0 */ static const struct ScriptCommand s_gs2_g19_s0_lives0_dlg0[] = { /* 0x81842bc */ DEBUGINFO_O(1614), @@ -1629,7 +1629,7 @@ static const struct ScriptCommand s_gs2_g20_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs2_g20_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs2_g20_s0_station_sref_script }; /* 0x818435c */ +static const ScriptRef s_gs2_g20_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs2_g20_s0_station_sref_script }; /* 0x818435c */ static const struct ScriptCommand s_gs2_g20_s0_lives0_dlg0[] = { /* 0x8184368 */ DEBUGINFO_O(1635), @@ -1690,7 +1690,7 @@ static const struct ScriptCommand s_gs2_g21_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs2_g21_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs2_g21_s0_station_sref_script }; /* 0x8184708 */ +static const ScriptRef s_gs2_g21_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs2_g21_s0_station_sref_script }; /* 0x8184708 */ static const struct ScriptCommand s_gs2_g21_s0_lives0_dlg0[] = { /* 0x8184714 */ DEBUGINFO_O(1696), @@ -1754,7 +1754,7 @@ static const struct ScriptCommand s_gs2_g22_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs2_g22_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs2_g22_s0_station_sref_script }; /* 0x8184b30 */ +static const ScriptRef s_gs2_g22_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs2_g22_s0_station_sref_script }; /* 0x8184b30 */ static const struct ScriptCommand s_gs2_g22_s0_lives0_dlg0[] = { /* 0x8184b3c */ DEBUGINFO_O(1760), @@ -1815,7 +1815,7 @@ static const struct ScriptCommand s_gs2_g23_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs2_g23_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs2_g23_s0_station_sref_script }; /* 0x8184df8 */ +static const ScriptRef s_gs2_g23_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs2_g23_s0_station_sref_script }; /* 0x8184df8 */ static const struct ScriptCommand s_gs2_g23_s0_lives0_dlg0[] = { /* 0x8184e04 */ DEBUGINFO_O(1821), @@ -1878,7 +1878,7 @@ static const struct ScriptCommand s_gs2_g24_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs2_g24_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs2_g24_s0_station_sref_script }; /* 0x81851c8 */ +static const ScriptRef s_gs2_g24_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs2_g24_s0_station_sref_script }; /* 0x81851c8 */ static const struct ScriptCommand s_gs2_g24_s0_lives0_dlg0[] = { /* 0x81851d4 */ DEBUGINFO_O(1884), @@ -1942,7 +1942,7 @@ static const struct ScriptCommand s_gs2_g25_s0_station_sref_script[] = { /* 0x81 RET_DIRECT, }; -static const struct ScriptRef s_gs2_g25_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs2_g25_s0_station_sref_script }; /* 0x8185688 */ +static const ScriptRef s_gs2_g25_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs2_g25_s0_station_sref_script }; /* 0x8185688 */ static const struct ScriptCommand s_gs2_g25_s0_lives0_dlg0[] = { /* 0x8185694 */ DEBUGINFO_O(1948), @@ -1984,7 +1984,7 @@ static const struct ScriptCommand s_gs2_g26_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs2_g26_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs2_g26_s0_station_sref_script }; /* 0x8185950 */ +static const ScriptRef s_gs2_g26_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs2_g26_s0_station_sref_script }; /* 0x8185950 */ static const struct ScriptCommand s_gs2_g26_s0_lives0_dlg0[] = { /* 0x818595c */ DEBUGINFO_O(1990), @@ -2047,7 +2047,7 @@ static const struct ScriptCommand s_gs2_g27_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs2_g27_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs2_g27_s0_station_sref_script }; /* 0x8185d44 */ +static const ScriptRef s_gs2_g27_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs2_g27_s0_station_sref_script }; /* 0x8185d44 */ static const struct ScriptCommand s_gs2_g27_s0_lives0_dlg0[] = { /* 0x8185d50 */ DEBUGINFO_O(2053), @@ -2114,7 +2114,7 @@ static const struct ScriptCommand s_gs2_g28_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs2_g28_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs2_g28_s0_station_sref_script }; /* 0x8186174 */ +static const ScriptRef s_gs2_g28_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs2_g28_s0_station_sref_script }; /* 0x8186174 */ static const struct ScriptCommand s_gs2_g28_s0_eff0_script[] = { /* 0x8186180 */ DEBUGINFO_O(2120), @@ -2149,7 +2149,7 @@ static const struct ScriptCommand s_gs2_g29_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs2_g29_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs2_g29_s0_station_sref_script }; /* 0x8186300 */ +static const ScriptRef s_gs2_g29_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs2_g29_s0_station_sref_script }; /* 0x8186300 */ static const struct ScriptCommand s_gs2_g29_s0_eff0_script[] = { /* 0x818630c */ DEBUGINFO_O(2155), @@ -2605,7 +2605,7 @@ static const struct ScriptCommand s_gs2_g30_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs2_g30_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs2_g30_s0_station_sref_script }; /* 0x81883a8 */ +static const ScriptRef s_gs2_g30_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs2_g30_s0_station_sref_script }; /* 0x81883a8 */ static const struct ScriptCommand s_gs2_g30_s0_lives0_dlg2[] = { /* 0x81883b4 */ DEBUGINFO_O(2611), @@ -3206,7 +3206,7 @@ static const struct GroundEventData s_gs2_g7_s0_evts[] = { /* 0x8189198 */ /* 0 */ { 9, 5, 0, 0, { 14, 41, 0, 0 }, &s_gs2_g7_s0_evt0_sref }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x81891a4 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x81891a4 */ &s_gs2_g0_s0_station_sref, &s_gs2_g1_s0_station_sref, &s_gs2_g2_s0_station_sref, diff --git a/src/data/ground/ground_data_t01p03_station.h b/src/data/ground/ground_data_t01p03_station.h index 15fee8165..ba909d58f 100644 --- a/src/data/ground/ground_data_t01p03_station.h +++ b/src/data/ground/ground_data_t01p03_station.h @@ -155,7 +155,7 @@ static const struct ScriptCommand s_gs4_g0_s0_station_sref_script[] = { /* 0x818 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs4_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs4_g0_s0_station_sref_script }; /* 0x818a174 */ +static const ScriptRef s_gs4_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs4_g0_s0_station_sref_script }; /* 0x818a174 */ static const struct ScriptCommand s_gs4_g0_s0_evt0_sref_script[] = { /* 0x818a180 */ @@ -164,7 +164,7 @@ static const struct ScriptCommand s_gs4_g0_s0_evt0_sref_script[] = { /* 0x818a18 HALT, }; -static const struct ScriptRef s_gs4_g0_s0_evt0_sref = { GETOUT_NORMAL, 2, NULL, s_gs4_g0_s0_evt0_sref_script }; /* 0x818a1b0 */ +static const ScriptRef s_gs4_g0_s0_evt0_sref = { GETOUT_NORMAL, SCRIPT_TYPE_02, NULL, s_gs4_g0_s0_evt0_sref_script }; /* 0x818a1b0 */ static const struct ScriptCommand s_gs4_g0_s0_evt1_sref_script[] = { /* 0x818a1bc */ DEBUGINFO_O(170), @@ -172,7 +172,7 @@ static const struct ScriptCommand s_gs4_g0_s0_evt1_sref_script[] = { /* 0x818a1b HALT, }; -static const struct ScriptRef s_gs4_g0_s0_evt1_sref = { GETOUT_NORMAL, 2, NULL, s_gs4_g0_s0_evt1_sref_script }; /* 0x818a1ec */ +static const ScriptRef s_gs4_g0_s0_evt1_sref = { GETOUT_NORMAL, SCRIPT_TYPE_02, NULL, s_gs4_g0_s0_evt1_sref_script }; /* 0x818a1ec */ static const struct ScriptCommand s_gs4_g0_s0_obj0_dlg2[] = { /* 0x818a1f8 */ DEBUGINFO_O(178), @@ -326,7 +326,7 @@ static const struct ScriptCommand s_gs4_g1_s0_station_sref_script[] = { /* 0x818 RET, }; -static const struct ScriptRef s_gs4_g1_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs4_g1_s0_station_sref_script }; /* 0x818a938 */ +static const ScriptRef s_gs4_g1_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs4_g1_s0_station_sref_script }; /* 0x818a938 */ static const struct ScriptCommand s_gs4_g1_s0_lives0_dlg2[] = { /* 0x818a944 */ DEBUGINFO_O(332), @@ -458,7 +458,7 @@ static const struct ScriptCommand s_gs4_g1_s1_station_sref_script[] = { /* 0x818 RET, }; -static const struct ScriptRef s_gs4_g1_s1_station_sref = { EVENT_WAKEUP, 7, NULL, s_gs4_g1_s1_station_sref_script }; /* 0x818b674 */ +static const ScriptRef s_gs4_g1_s1_station_sref = { EVENT_WAKEUP, SCRIPT_TYPE_07, NULL, s_gs4_g1_s1_station_sref_script }; /* 0x818b674 */ static const struct ScriptCommand s_gs4_g1_s1_eff0_script[] = { /* 0x818b680 */ DEBUGINFO_O(464), @@ -713,7 +713,7 @@ static const struct ScriptCommand s_gs4_g1_s2_station_sref_script[] = { /* 0x818 RET_DIRECT, }; -static const struct ScriptRef s_gs4_g1_s2_station_sref = { STATION_CONTROL , 8, NULL, s_gs4_g1_s2_station_sref_script }; /* 0x818c75c */ +static const ScriptRef s_gs4_g1_s2_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs4_g1_s2_station_sref_script }; /* 0x818c75c */ static const struct ScriptCommand s_gs4_g1_s2_lives0_dlg2[] = { /* 0x818c768 */ DEBUGINFO_O(719), @@ -752,7 +752,7 @@ static const struct ScriptCommand s_gs4_g2_s0_station_sref_script[] = { /* 0x818 RET_DIRECT, }; -static const struct ScriptRef s_gs4_g2_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs4_g2_s0_station_sref_script }; /* 0x818c978 */ +static const ScriptRef s_gs4_g2_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs4_g2_s0_station_sref_script }; /* 0x818c978 */ static const struct ScriptCommand s_gs4_g3_s0_station_sref_script[] = { /* 0x818c984 */ DEBUGINFO_O(758), @@ -765,7 +765,7 @@ static const struct ScriptCommand s_gs4_g3_s0_station_sref_script[] = { /* 0x818 RET, }; -static const struct ScriptRef s_gs4_g3_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs4_g3_s0_station_sref_script }; /* 0x818ca04 */ +static const ScriptRef s_gs4_g3_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs4_g3_s0_station_sref_script }; /* 0x818ca04 */ static const struct ScriptCommand s_gs4_g3_s0_eff0_script[] = { /* 0x818ca10 */ DEBUGINFO_O(771), @@ -967,7 +967,7 @@ static const struct ScriptCommand s_gs4_g5_s0_station_sref_script[] = { /* 0x818 RET, }; -static const struct ScriptRef s_gs4_g5_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs4_g5_s0_station_sref_script }; /* 0x818d74c */ +static const ScriptRef s_gs4_g5_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs4_g5_s0_station_sref_script }; /* 0x818d74c */ static const struct ScriptCommand s_gs4_g5_s0_lives0_dlg0[] = { /* 0x818d758 */ DEBUGINFO_O(973), @@ -1121,7 +1121,7 @@ static const struct ScriptCommand s_gs4_g7_s0_station_sref_script[] = { /* 0x818 RET, }; -static const struct ScriptRef s_gs4_g7_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs4_g7_s0_station_sref_script }; /* 0x818e458 */ +static const ScriptRef s_gs4_g7_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs4_g7_s0_station_sref_script }; /* 0x818e458 */ static const struct ScriptCommand s_gs4_g7_s0_lives0_dlg0[] = { /* 0x818e464 */ DEBUGINFO_O(1127), @@ -1225,7 +1225,7 @@ static const struct ScriptCommand s_gs4_g9_s0_station_sref_script[] = { /* 0x818 RET, }; -static const struct ScriptRef s_gs4_g9_s0_station_sref = { EVENT_WAKEUP, 7, NULL, s_gs4_g9_s0_station_sref_script }; /* 0x818eaf0 */ +static const ScriptRef s_gs4_g9_s0_station_sref = { EVENT_WAKEUP, SCRIPT_TYPE_07, NULL, s_gs4_g9_s0_station_sref_script }; /* 0x818eaf0 */ static const struct ScriptCommand s_gs4_g9_s0_lives0_dlg0[] = { /* 0x818eafc */ DEBUGINFO_O(1231), @@ -1424,7 +1424,7 @@ static const struct ScriptCommand s_gs4_g11_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs4_g11_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs4_g11_s0_station_sref_script }; /* 0x818f834 */ +static const ScriptRef s_gs4_g11_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs4_g11_s0_station_sref_script }; /* 0x818f834 */ static const struct ScriptCommand s_gs4_g11_s1_lives0_dlg0[] = { /* 0x818f840 */ @@ -1509,7 +1509,7 @@ static const struct ScriptCommand s_gs4_g12_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs4_g12_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs4_g12_s0_station_sref_script }; /* 0x818fbe0 */ +static const ScriptRef s_gs4_g12_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs4_g12_s0_station_sref_script }; /* 0x818fbe0 */ static const struct ScriptCommand s_gs4_g12_s0_eff0_script[] = { /* 0x818fbec */ DEBUGINFO_O(1515), @@ -1670,7 +1670,7 @@ static const struct ScriptCommand s_gs4_g13_s0_station_sref_script[] = { /* 0x81 RET_DIRECT, }; -static const struct ScriptRef s_gs4_g13_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs4_g13_s0_station_sref_script }; /* 0x8190d0c */ +static const ScriptRef s_gs4_g13_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs4_g13_s0_station_sref_script }; /* 0x8190d0c */ static const struct ScriptCommand s_gs4_g14_s0_station_sref_script[] = { /* 0x8190d18 */ DEBUGINFO_O(1676), @@ -1678,14 +1678,14 @@ static const struct ScriptCommand s_gs4_g14_s0_station_sref_script[] = { /* 0x81 RET_DIRECT, }; -static const struct ScriptRef s_gs4_g14_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs4_g14_s0_station_sref_script }; /* 0x8190d48 */ +static const ScriptRef s_gs4_g14_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs4_g14_s0_station_sref_script }; /* 0x8190d48 */ static const struct ScriptCommand s_gs4_g15_s0_station_sref_script[] = { /* 0x8190d54 */ DEBUGINFO_O(1684), RET_DIRECT, }; -static const struct ScriptRef s_gs4_g15_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs4_g15_s0_station_sref_script }; /* 0x8190d74 */ +static const ScriptRef s_gs4_g15_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs4_g15_s0_station_sref_script }; /* 0x8190d74 */ static const struct ScriptCommand s_gs4_g16_s0_station_sref_script[] = { /* 0x8190d80 */ DEBUGINFO_O(1691), @@ -1693,7 +1693,7 @@ static const struct ScriptCommand s_gs4_g16_s0_station_sref_script[] = { /* 0x81 RET_DIRECT, }; -static const struct ScriptRef s_gs4_g16_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs4_g16_s0_station_sref_script }; /* 0x8190db0 */ +static const ScriptRef s_gs4_g16_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs4_g16_s0_station_sref_script }; /* 0x8190db0 */ static const struct ScriptCommand s_gs4_g16_s0_lives0_dlg2[] = { /* 0x8190dbc */ DEBUGINFO_O(1699), @@ -1737,7 +1737,7 @@ static const struct ScriptCommand s_gs4_g16_s1_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs4_g16_s1_station_sref = { EVENT_WAKEUP, 7, NULL, s_gs4_g16_s1_station_sref_script }; /* 0x8190fc0 */ +static const ScriptRef s_gs4_g16_s1_station_sref = { EVENT_WAKEUP, SCRIPT_TYPE_07, NULL, s_gs4_g16_s1_station_sref_script }; /* 0x8190fc0 */ static const struct ScriptCommand s_gs4_g16_s1_lives0_dlg0[] = { /* 0x8190fcc */ DEBUGINFO_O(1743), @@ -1816,7 +1816,7 @@ static const struct ScriptCommand s_gs4_g17_s0_station_sref_script[] = { /* 0x81 RET_DIRECT, }; -static const struct ScriptRef s_gs4_g17_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs4_g17_s0_station_sref_script }; /* 0x8191424 */ +static const ScriptRef s_gs4_g17_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs4_g17_s0_station_sref_script }; /* 0x8191424 */ static const struct ScriptCommand s_gs4_g17_s0_lives0_dlg0[] = { /* 0x8191430 */ DEBUGINFO_O(1822), @@ -1850,7 +1850,7 @@ static const struct ScriptCommand s_gs4_g17_s1_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs4_g17_s1_station_sref = { EVENT_WAKEUP, 7, NULL, s_gs4_g17_s1_station_sref_script }; /* 0x8191540 */ +static const ScriptRef s_gs4_g17_s1_station_sref = { EVENT_WAKEUP, SCRIPT_TYPE_07, NULL, s_gs4_g17_s1_station_sref_script }; /* 0x8191540 */ static const struct ScriptCommand s_gs4_g17_s1_lives0_dlg0[] = { /* 0x819154c */ DEBUGINFO_O(1856), @@ -1935,7 +1935,7 @@ static const struct ScriptCommand s_gs4_g18_s0_station_sref_script[] = { /* 0x81 RET_DIRECT, }; -static const struct ScriptRef s_gs4_g18_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs4_g18_s0_station_sref_script }; /* 0x819195c */ +static const ScriptRef s_gs4_g18_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs4_g18_s0_station_sref_script }; /* 0x819195c */ static const struct ScriptCommand s_gs4_g18_s0_lives0_dlg2[] = { /* 0x8191968 */ DEBUGINFO_O(1941), @@ -2009,7 +2009,7 @@ static const struct ScriptCommand s_gs4_g19_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs4_g19_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs4_g19_s0_station_sref_script }; /* 0x81921d0 */ +static const ScriptRef s_gs4_g19_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs4_g19_s0_station_sref_script }; /* 0x81921d0 */ static const struct ScriptCommand s_gs4_g19_s0_lives0_dlg0[] = { /* 0x81921dc */ DEBUGINFO_O(2015), @@ -2043,7 +2043,7 @@ static const struct ScriptCommand s_gs4_g19_s1_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs4_g19_s1_station_sref = { EVENT_WAKEUP, 7, NULL, s_gs4_g19_s1_station_sref_script }; /* 0x81922ec */ +static const ScriptRef s_gs4_g19_s1_station_sref = { EVENT_WAKEUP, SCRIPT_TYPE_07, NULL, s_gs4_g19_s1_station_sref_script }; /* 0x81922ec */ static const struct ScriptCommand s_gs4_g19_s1_lives0_dlg0[] = { /* 0x81922f8 */ DEBUGINFO_O(2049), @@ -2122,7 +2122,7 @@ static const struct ScriptCommand s_gs4_g20_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs4_g20_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs4_g20_s0_station_sref_script }; /* 0x8192738 */ +static const ScriptRef s_gs4_g20_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs4_g20_s0_station_sref_script }; /* 0x8192738 */ static const struct ScriptCommand s_gs4_g20_s0_lives0_dlg0[] = { /* 0x8192744 */ DEBUGINFO_O(2128), @@ -2173,7 +2173,7 @@ static const struct ScriptCommand s_gs4_g20_s1_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs4_g20_s1_station_sref = { EVENT_WAKEUP, 7, NULL, s_gs4_g20_s1_station_sref_script }; /* 0x8192934 */ +static const ScriptRef s_gs4_g20_s1_station_sref = { EVENT_WAKEUP, SCRIPT_TYPE_07, NULL, s_gs4_g20_s1_station_sref_script }; /* 0x8192934 */ static const struct ScriptCommand s_gs4_g20_s1_eff0_script[] = { /* 0x8192940 */ DEBUGINFO_O(2179), @@ -2395,7 +2395,7 @@ static const struct ScriptCommand s_gs4_g21_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs4_g21_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs4_g21_s0_station_sref_script }; /* 0x81936d8 */ +static const ScriptRef s_gs4_g21_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs4_g21_s0_station_sref_script }; /* 0x81936d8 */ static const struct ScriptCommand s_gs4_g21_s0_lives0_dlg0[] = { /* 0x81936e4 */ DEBUGINFO_O(2401), @@ -2430,7 +2430,7 @@ static const struct ScriptCommand s_gs4_g21_s1_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs4_g21_s1_station_sref = { EVENT_WAKEUP, 7, NULL, s_gs4_g21_s1_station_sref_script }; /* 0x8193804 */ +static const ScriptRef s_gs4_g21_s1_station_sref = { EVENT_WAKEUP, SCRIPT_TYPE_07, NULL, s_gs4_g21_s1_station_sref_script }; /* 0x8193804 */ static const struct ScriptCommand s_gs4_g21_s1_eff0_script[] = { /* 0x8193810 */ DEBUGINFO_O(2436), @@ -2657,7 +2657,7 @@ static const struct ScriptCommand s_gs4_g22_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs4_g22_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs4_g22_s0_station_sref_script }; /* 0x819464c */ +static const ScriptRef s_gs4_g22_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs4_g22_s0_station_sref_script }; /* 0x819464c */ static const struct ScriptCommand s_gs4_g22_s0_lives0_dlg0[] = { /* 0x8194658 */ DEBUGINFO_O(2663), @@ -2686,7 +2686,7 @@ static const struct ScriptCommand s_gs4_g22_s1_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs4_g22_s1_station_sref = { EVENT_WAKEUP, 7, NULL, s_gs4_g22_s1_station_sref_script }; /* 0x8194748 */ +static const ScriptRef s_gs4_g22_s1_station_sref = { EVENT_WAKEUP, SCRIPT_TYPE_07, NULL, s_gs4_g22_s1_station_sref_script }; /* 0x8194748 */ static const struct ScriptCommand s_gs4_g22_s1_eff0_script[] = { /* 0x8194754 */ DEBUGINFO_O(2692), @@ -2815,7 +2815,7 @@ static const struct ScriptCommand s_gs4_g23_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs4_g23_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs4_g23_s0_station_sref_script }; /* 0x8194f60 */ +static const ScriptRef s_gs4_g23_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs4_g23_s0_station_sref_script }; /* 0x8194f60 */ static const struct ScriptCommand s_gs4_g23_s0_lives0_dlg1[] = { /* 0x8194f6c */ DEBUGINFO_O(2821), @@ -2857,7 +2857,7 @@ static const struct ScriptCommand s_gs4_g24_s0_station_sref_script[] = { /* 0x81 RET_DIRECT, }; -static const struct ScriptRef s_gs4_g24_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs4_g24_s0_station_sref_script }; /* 0x8195270 */ +static const ScriptRef s_gs4_g24_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs4_g24_s0_station_sref_script }; /* 0x8195270 */ static const struct ScriptCommand s_gs4_g24_s0_lives0_dlg0[] = { /* 0x819527c */ DEBUGINFO_O(2863), @@ -2920,7 +2920,7 @@ static const struct ScriptCommand s_gs4_g25_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs4_g25_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs4_g25_s0_station_sref_script }; /* 0x8195704 */ +static const ScriptRef s_gs4_g25_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs4_g25_s0_station_sref_script }; /* 0x8195704 */ static const struct ScriptCommand s_gs4_g25_s0_lives0_dlg0[] = { /* 0x8195710 */ DEBUGINFO_O(2926), @@ -2982,7 +2982,7 @@ static const struct ScriptCommand s_gs4_g26_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs4_g26_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs4_g26_s0_station_sref_script }; /* 0x8195a10 */ +static const ScriptRef s_gs4_g26_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs4_g26_s0_station_sref_script }; /* 0x8195a10 */ static const struct ScriptCommand s_gs4_g26_s0_lives0_dlg0[] = { /* 0x8195a1c */ DEBUGINFO_O(2988), @@ -3048,7 +3048,7 @@ static const struct ScriptCommand s_gs4_g27_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs4_g27_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs4_g27_s0_station_sref_script }; /* 0x8195d7c */ +static const ScriptRef s_gs4_g27_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs4_g27_s0_station_sref_script }; /* 0x8195d7c */ static const struct ScriptCommand s_gs4_g27_s0_eff0_script[] = { /* 0x8195d88 */ DEBUGINFO_O(3054), @@ -3063,7 +3063,7 @@ static const struct ScriptCommand s_gs4_g28_s0_station_sref_script[] = { /* 0x81 RET_DIRECT, }; -static const struct ScriptRef s_gs4_g28_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs4_g28_s0_station_sref_script }; /* 0x8195df8 */ +static const ScriptRef s_gs4_g28_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs4_g28_s0_station_sref_script }; /* 0x8195df8 */ static const struct ScriptCommand s_gs4_g28_s0_lives0_dlg1[] = { /* 0x8195e04 */ DEBUGINFO_O(3069), @@ -3157,7 +3157,7 @@ static const struct ScriptCommand s_gs4_g29_s0_station_sref_script[] = { /* 0x81 RET, }; -static const struct ScriptRef s_gs4_g29_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs4_g29_s0_station_sref_script }; /* 0x81964c8 */ +static const ScriptRef s_gs4_g29_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs4_g29_s0_station_sref_script }; /* 0x81964c8 */ static const struct ScriptCommand s_gs4_g29_s0_lives0_dlg0[] = { /* 0x81964d4 */ DEBUGINFO_O(3163), @@ -3719,7 +3719,7 @@ static const struct GroundEventData s_gs4_g0_s0_evts[] = { /* 0x8197030 */ /* 1 */ { 3, 3, 0, 0, { 48, 31, 0, 0 }, &s_gs4_g0_s0_evt1_sref }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x8197048 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x8197048 */ &s_gs4_g0_s0_station_sref, &s_gs4_g1_s0_station_sref, &s_gs4_g1_s1_station_sref, diff --git a/src/data/ground/ground_data_t01p04_station.h b/src/data/ground/ground_data_t01p04_station.h index 566ec0fa2..9b284b418 100644 --- a/src/data/ground/ground_data_t01p04_station.h +++ b/src/data/ground/ground_data_t01p04_station.h @@ -45,7 +45,7 @@ static const struct ScriptCommand s_gs5_g0_s0_station_sref_script[] = { /* 0x819 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs5_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs5_g0_s0_station_sref_script }; /* 0x8197c28 */ +static const ScriptRef s_gs5_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs5_g0_s0_station_sref_script }; /* 0x8197c28 */ static const struct ScriptCommand s_gs5_g0_s0_evt0_sref_script[] = { /* 0x8197c34 */ @@ -54,7 +54,7 @@ static const struct ScriptCommand s_gs5_g0_s0_evt0_sref_script[] = { /* 0x8197c3 HALT, }; -static const struct ScriptRef s_gs5_g0_s0_evt0_sref = { GETOUT_NORMAL, 2, NULL, s_gs5_g0_s0_evt0_sref_script }; /* 0x8197c64 */ +static const ScriptRef s_gs5_g0_s0_evt0_sref = { GETOUT_NORMAL, SCRIPT_TYPE_02, NULL, s_gs5_g0_s0_evt0_sref_script }; /* 0x8197c64 */ static const struct ScriptCommand s_gs5_g0_s1_lives0_dlg0[] = { /* 0x8197c70 */ DEBUGINFO_O(60), @@ -79,7 +79,7 @@ static const struct ScriptCommand s_gs5_g1_s0_station_sref_script[] = { /* 0x819 RET_DIRECT, }; -static const struct ScriptRef s_gs5_g1_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs5_g1_s0_station_sref_script }; /* 0x8197d50 */ +static const ScriptRef s_gs5_g1_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs5_g1_s0_station_sref_script }; /* 0x8197d50 */ static const struct ScriptCommand s_gs5_g1_s0_lives0_dlg2[] = { /* 0x8197d5c */ DEBUGINFO_O(85), @@ -136,7 +136,7 @@ static const struct ScriptCommand s_gs5_g2_s0_station_sref_script[] = { /* 0x819 RET, }; -static const struct ScriptRef s_gs5_g2_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs5_g2_s0_station_sref_script }; /* 0x8197fdc */ +static const ScriptRef s_gs5_g2_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs5_g2_s0_station_sref_script }; /* 0x8197fdc */ static const struct ScriptCommand s_gs5_g2_s0_lives0_dlg0[] = { /* 0x8197fe8 */ DEBUGINFO_O(142), @@ -186,7 +186,7 @@ static const struct ScriptCommand s_gs5_g3_s0_station_sref_script[] = { /* 0x819 RET, }; -static const struct ScriptRef s_gs5_g3_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs5_g3_s0_station_sref_script }; /* 0x8198228 */ +static const ScriptRef s_gs5_g3_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs5_g3_s0_station_sref_script }; /* 0x8198228 */ static const struct ScriptCommand s_gs5_g3_s0_lives0_dlg0[] = { /* 0x8198234 */ DEBUGINFO_O(192), @@ -239,7 +239,7 @@ static const struct ScriptCommand s_gs5_g4_s0_station_sref_script[] = { /* 0x819 RET, }; -static const struct ScriptRef s_gs5_g4_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs5_g4_s0_station_sref_script }; /* 0x81985ec */ +static const ScriptRef s_gs5_g4_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs5_g4_s0_station_sref_script }; /* 0x81985ec */ static const struct ScriptCommand s_gs5_g4_s0_lives0_dlg0[] = { /* 0x81985f8 */ DEBUGINFO_O(245), @@ -289,7 +289,7 @@ static const struct ScriptCommand s_gs5_g5_s0_station_sref_script[] = { /* 0x819 RET, }; -static const struct ScriptRef s_gs5_g5_s0_station_sref = { EVENT_CONTROL, 7, NULL, s_gs5_g5_s0_station_sref_script }; /* 0x8198868 */ +static const ScriptRef s_gs5_g5_s0_station_sref = { EVENT_CONTROL, SCRIPT_TYPE_07, NULL, s_gs5_g5_s0_station_sref_script }; /* 0x8198868 */ static const struct ScriptCommand s_gs5_g5_s0_eff0_script[] = { /* 0x8198874 */ DEBUGINFO_O(295), @@ -419,7 +419,7 @@ static const struct GroundEventData s_gs5_g0_s0_evts[] = { /* 0x8198c70 */ /* 0 */ { 8, 3, 0, 0, { 29, 48, 0, 0 }, &s_gs5_g0_s0_evt0_sref }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x8198c7c */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x8198c7c */ &s_gs5_g0_s0_station_sref, &s_gs5_g1_s0_station_sref, &s_gs5_g2_s0_station_sref, diff --git a/src/data/ground/ground_data_t01p05_station.h b/src/data/ground/ground_data_t01p05_station.h index c46ba214b..aee6a0650 100644 --- a/src/data/ground/ground_data_t01p05_station.h +++ b/src/data/ground/ground_data_t01p05_station.h @@ -51,7 +51,7 @@ static const struct ScriptCommand s_gs6_g0_s0_station_sref_script[] = { /* 0x819 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs6_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs6_g0_s0_station_sref_script }; /* 0x81990ec */ +static const ScriptRef s_gs6_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs6_g0_s0_station_sref_script }; /* 0x81990ec */ static const struct ScriptCommand s_gs6_g0_s0_evt0_sref_script[] = { /* 0x81990f8 */ DEBUGINFO_O(57), @@ -59,7 +59,7 @@ static const struct ScriptCommand s_gs6_g0_s0_evt0_sref_script[] = { /* 0x81990f HALT, }; -static const struct ScriptRef s_gs6_g0_s0_evt0_sref = { GETOUT_NORMAL, 2, NULL, s_gs6_g0_s0_evt0_sref_script }; /* 0x8199128 */ +static const ScriptRef s_gs6_g0_s0_evt0_sref = { GETOUT_NORMAL, SCRIPT_TYPE_02, NULL, s_gs6_g0_s0_evt0_sref_script }; /* 0x8199128 */ static const struct ScriptCommand s_gs6_g0_s1_lives0_dlg0[] = { /* 0x8199134 */ DEBUGINFO_O(65), @@ -105,7 +105,7 @@ static const struct ScriptCommand s_gs6_g0_s3_evt0_sref_script[] = { /* 0x819923 RET, }; -static const struct ScriptRef s_gs6_g0_s3_evt0_sref = { GETOUT_NORMAL, 2, NULL, s_gs6_g0_s3_evt0_sref_script }; /* 0x8199304 */ +static const ScriptRef s_gs6_g0_s3_evt0_sref = { GETOUT_NORMAL, SCRIPT_TYPE_02, NULL, s_gs6_g0_s3_evt0_sref_script }; /* 0x8199304 */ static const struct ScriptCommand s_gs6_g1_s0_station_sref_script[] = { /* 0x8199310 */ @@ -120,7 +120,7 @@ static const struct ScriptCommand s_gs6_g1_s0_station_sref_script[] = { /* 0x819 RET_DIRECT, }; -static const struct ScriptRef s_gs6_g1_s0_station_sref = { STATION_CONTROL , 8, NULL, s_gs6_g1_s0_station_sref_script }; /* 0x81993a0 */ +static const ScriptRef s_gs6_g1_s0_station_sref = { STATION_CONTROL, SCRIPT_TYPE_08, NULL, s_gs6_g1_s0_station_sref_script }; /* 0x81993a0 */ static const struct ScriptCommand s_gs6_g1_s0_lives0_dlg1[] = { /* 0x81993ac */ DEBUGINFO_O(126), @@ -157,7 +157,7 @@ static const struct ScriptCommand s_gs6_g1_s0_evt0_sref_script[] = { /* 0x81994e HALT, }; -static const struct ScriptRef s_gs6_g1_s0_evt0_sref = { GETOUT_NORMAL, 2, NULL, s_gs6_g1_s0_evt0_sref_script }; /* 0x819951c */ +static const ScriptRef s_gs6_g1_s0_evt0_sref = { GETOUT_NORMAL, SCRIPT_TYPE_02, NULL, s_gs6_g1_s0_evt0_sref_script }; /* 0x819951c */ static const struct ScriptCommand s_gs6_g1_s1_evt0_sref_script[] = { /* 0x8199528 */ DEBUGINFO_O(163), @@ -170,7 +170,7 @@ static const struct ScriptCommand s_gs6_g1_s1_evt0_sref_script[] = { /* 0x819952 JUMP_SCRIPT(END_TALK), }; -static const struct ScriptRef s_gs6_g1_s1_evt0_sref = { GETOUT_NORMAL, 2, NULL, s_gs6_g1_s1_evt0_sref_script }; /* 0x8199640 */ +static const ScriptRef s_gs6_g1_s1_evt0_sref = { GETOUT_NORMAL, SCRIPT_TYPE_02, NULL, s_gs6_g1_s1_evt0_sref_script }; /* 0x8199640 */ static const struct ScriptCommand s_gs6_g2_s0_station_sref_script[] = { /* 0x819964c */ DEBUGINFO_O(176), @@ -185,7 +185,7 @@ static const struct ScriptCommand s_gs6_g2_s0_station_sref_script[] = { /* 0x819 RET, }; -static const struct ScriptRef s_gs6_g2_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs6_g2_s0_station_sref_script }; /* 0x81996ec */ +static const ScriptRef s_gs6_g2_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs6_g2_s0_station_sref_script }; /* 0x81996ec */ static const struct ScriptCommand s_gs6_g2_s0_lives0_dlg0[] = { /* 0x81996f8 */ DEBUGINFO_O(191), @@ -249,7 +249,7 @@ static const struct ScriptCommand s_gs6_g3_s0_station_sref_script[] = { /* 0x819 RET, }; -static const struct ScriptRef s_gs6_g3_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs6_g3_s0_station_sref_script }; /* 0x81999d8 */ +static const ScriptRef s_gs6_g3_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs6_g3_s0_station_sref_script }; /* 0x81999d8 */ static const struct ScriptCommand s_gs6_g3_s0_lives0_dlg0[] = { /* 0x81999e4 */ DEBUGINFO_O(255), @@ -299,7 +299,7 @@ static const struct ScriptCommand s_gs6_g4_s0_station_sref_script[] = { /* 0x819 RET, }; -static const struct ScriptRef s_gs6_g4_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs6_g4_s0_station_sref_script }; /* 0x8199c24 */ +static const ScriptRef s_gs6_g4_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs6_g4_s0_station_sref_script }; /* 0x8199c24 */ static const struct ScriptCommand s_gs6_g4_s0_lives0_dlg0[] = { /* 0x8199c30 */ DEBUGINFO_O(305), @@ -349,7 +349,7 @@ static const struct ScriptCommand s_gs6_g5_s0_station_sref_script[] = { /* 0x819 RET, }; -static const struct ScriptRef s_gs6_g5_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs6_g5_s0_station_sref_script }; /* 0x8199e70 */ +static const ScriptRef s_gs6_g5_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs6_g5_s0_station_sref_script }; /* 0x8199e70 */ static const struct ScriptCommand s_gs6_g5_s0_lives0_dlg0[] = { /* 0x8199e7c */ DEBUGINFO_O(355), @@ -476,7 +476,7 @@ static const struct GroundEventData s_gs6_g1_s1_evts[] = { /* 0x819a1d8 */ /* 0 */ { 3, 3, 0, 0, { 33, 26, 0, 0 }, &s_gs6_g1_s1_evt0_sref }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x819a1e4 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x819a1e4 */ &s_gs6_g0_s0_station_sref, &s_gs6_g1_s0_station_sref, &s_gs6_g2_s0_station_sref, diff --git a/src/data/ground/ground_data_t01p06_station.h b/src/data/ground/ground_data_t01p06_station.h index c2231788a..09172687a 100644 --- a/src/data/ground/ground_data_t01p06_station.h +++ b/src/data/ground/ground_data_t01p06_station.h @@ -32,7 +32,7 @@ static const struct ScriptCommand s_gs7_g0_s0_station_sref_script[] = { /* 0x819 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs7_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs7_g0_s0_station_sref_script }; /* 0x819a574 */ +static const ScriptRef s_gs7_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs7_g0_s0_station_sref_script }; /* 0x819a574 */ static const struct ScriptCommand s_gs7_g0_s0_evt0_sref_script[] = { /* 0x819a580 */ DEBUGINFO_O(38), @@ -40,7 +40,7 @@ static const struct ScriptCommand s_gs7_g0_s0_evt0_sref_script[] = { /* 0x819a58 HALT, }; -static const struct ScriptRef s_gs7_g0_s0_evt0_sref = { GETOUT_NORMAL, 2, NULL, s_gs7_g0_s0_evt0_sref_script }; /* 0x819a5b0 */ +static const ScriptRef s_gs7_g0_s0_evt0_sref = { GETOUT_NORMAL, SCRIPT_TYPE_02, NULL, s_gs7_g0_s0_evt0_sref_script }; /* 0x819a5b0 */ static const struct ScriptCommand s_gs7_g0_s1_lives0_dlg0[] = { /* 0x819a5bc */ DEBUGINFO_O(46), @@ -74,7 +74,7 @@ static const struct GroundEventData s_gs7_g0_s0_evts[] = { /* 0x819a69c */ /* 0 */ { 9, 3, 0, 0, { 27, 38, 0, 0 }, &s_gs7_g0_s0_evt0_sref }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x819a6a8 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x819a6a8 */ &s_gs7_g0_s0_station_sref, }; diff --git a/src/data/ground/ground_data_t01p07_station.h b/src/data/ground/ground_data_t01p07_station.h index 74a1d5b7c..25c2003ef 100644 --- a/src/data/ground/ground_data_t01p07_station.h +++ b/src/data/ground/ground_data_t01p07_station.h @@ -21,7 +21,7 @@ static const struct ScriptCommand s_gs8_g0_s0_station_sref_script[] = { /* 0x819 JUMP_SCRIPT(COMMON_ENTER), }; -static const struct ScriptRef s_gs8_g0_s0_station_sref = { ENTER_CONTROL , 1, NULL, s_gs8_g0_s0_station_sref_script }; /* 0x819a83c */ +static const ScriptRef s_gs8_g0_s0_station_sref = { ENTER_CONTROL, SCRIPT_TYPE_01, NULL, s_gs8_g0_s0_station_sref_script }; /* 0x819a83c */ static const struct ScriptCommand s_gs8_g0_s0_evt0_sref_script[] = { /* 0x819a848 */ @@ -30,7 +30,7 @@ static const struct ScriptCommand s_gs8_g0_s0_evt0_sref_script[] = { /* 0x819a84 HALT, }; -static const struct ScriptRef s_gs8_g0_s0_evt0_sref = { GETOUT_NORMAL, 2, NULL, s_gs8_g0_s0_evt0_sref_script }; /* 0x819a878 */ +static const ScriptRef s_gs8_g0_s0_evt0_sref = { GETOUT_NORMAL, SCRIPT_TYPE_02, NULL, s_gs8_g0_s0_evt0_sref_script }; /* 0x819a878 */ static const struct ScriptCommand s_gs8_g0_s1_lives0_dlg0[] = { /* 0x819a884 */ DEBUGINFO_O(36), @@ -57,7 +57,7 @@ static const struct ScriptCommand s_gs8_g1_s0_station_sref_script[] = { /* 0x819 RET, }; -static const struct ScriptRef s_gs8_g1_s0_station_sref = { EVENT_STATION , 7, NULL, s_gs8_g1_s0_station_sref_script }; /* 0x819a984 */ +static const ScriptRef s_gs8_g1_s0_station_sref = { EVENT_STATION, SCRIPT_TYPE_07, NULL, s_gs8_g1_s0_station_sref_script }; /* 0x819a984 */ static const struct ScriptCommand s_gs8_g1_s0_eff0_script[] = { /* 0x819a990 */ DEBUGINFO_O(63), @@ -88,7 +88,7 @@ static const struct ScriptCommand s_gs8_g1_s1_station_sref_script[] = { /* 0x819 RET, }; -static const struct ScriptRef s_gs8_g1_s1_station_sref = { EVENT_WAKEUP, 7, NULL, s_gs8_g1_s1_station_sref_script }; /* 0x819aad0 */ +static const ScriptRef s_gs8_g1_s1_station_sref = { EVENT_WAKEUP, SCRIPT_TYPE_07, NULL, s_gs8_g1_s1_station_sref_script }; /* 0x819aad0 */ static const struct ScriptCommand s_gs8_g1_s1_eff0_script[] = { /* 0x819aadc */ DEBUGINFO_O(94), @@ -143,7 +143,7 @@ static const struct GroundEventData s_gs8_g0_s0_evts[] = { /* 0x819ac34 */ /* 0 */ { 9, 3, 0, 0, { 21, 30, 0, 0 }, &s_gs8_g0_s0_evt0_sref }, }; -static const struct ScriptRef * const (sStationScripts[]) = { /* 0x819ac40 */ +static const ScriptRef * const (sStationScripts[]) = { /* 0x819ac40 */ &s_gs8_g0_s0_station_sref, &s_gs8_g1_s0_station_sref, &s_gs8_g1_s1_station_sref, diff --git a/src/data/ground/ground_event_data.h b/src/data/ground/ground_event_data.h index 7b48e9550..8e4861680 100644 --- a/src/data/ground/ground_event_data.h +++ b/src/data/ground/ground_event_data.h @@ -5261,412 +5261,413 @@ static const struct ScriptCommand s_script_MOVE_DEBUG_CAMERA[] = { /* 0x812f198 END_DELETE, }; -const struct ScriptRef gFunctionScriptTable[NUM_SCRIPT_IDS] = { /* R = 0x812F1F8 | B = arm9.bin::020E7BE4 */ - [END_TALK] = { END_TALK, 4, _("END_TALK"), s_script_END_TALK }, - [WAIT_END_TALK_FUNC] = { WAIT_END_TALK_FUNC, 4, _("WAIT_END_TALK_FUNC"), s_script_WAIT_END_TALK_FUNC }, - [WAIT_END_EVENT_FUNC] = { WAIT_END_EVENT_FUNC, 4, _("WAIT_END_EVENT_FUNC"), s_script_WAIT_END_EVENT_FUNC }, - [WAIT_START_FUNC] = { WAIT_START_FUNC, 4, _("WAIT_START_FUNC"), s_script_WAIT_START_FUNC }, - [INCOMPLETE_TALK] = { INCOMPLETE_TALK, 4, _("INCOMPLETE_TALK"), s_script_INCOMPLETE_TALK }, - [NORMAL_WAIT_END_TALK] = { NORMAL_WAIT_END_TALK, 4, _("NORMAL_WAIT_END_TALK"), s_script_NORMAL_WAIT_END_TALK }, - [LIVES_REPLY_NORMAL] = { LIVES_REPLY_NORMAL, 4, _("LIVES_REPLY_NORMAL"), s_script_LIVES_REPLY_NORMAL }, - [LIVES_REPLY] = { LIVES_REPLY, 4, _("LIVES_REPLY"), s_script_LIVES_REPLY }, - [OBJECT_REPLY_NORMAL] = { OBJECT_REPLY_NORMAL, 4, _("OBJECT_REPLY_NORMAL"), s_script_OBJECT_REPLY_NORMAL }, - [EXAMINE_MISS] = { EXAMINE_MISS, 4, _("EXAMINE_MISS"), s_script_EXAMINE_MISS }, - [ENTER_WAIT_FUNC] = { ENTER_WAIT_FUNC, 4, _("ENTER_WAIT_FUNC"), s_script_ENTER_WAIT_FUNC }, - [UNIT_TALK] = { UNIT_TALK, 4, _("UNIT_TALK"), s_script_UNIT_TALK }, - [HABITAT_TALK] = { HABITAT_TALK, 4, _("HABITAT_TALK"), s_script_HABITAT_TALK }, - [HABITAT_TALK_S01E02A] = { HABITAT_TALK_S01E02A, 4, _("HABITAT_TALK_S01E02A"), s_script_HABITAT_TALK_S01E02A }, - [HABITAT_MOVE1] = { HABITAT_MOVE1, 5, _("HABITAT_MOVE1"), s_script_HABITAT_MOVE1 }, - [HABITAT_MOVE2] = { HABITAT_MOVE2, 5, _("HABITAT_MOVE2"), s_script_HABITAT_MOVE2 }, - [HABITAT_MOVE_PAUSE] = { HABITAT_MOVE_PAUSE, 5, _("HABITAT_MOVE_PAUSE"), s_script_HABITAT_MOVE_PAUSE }, - [HABITAT_MOVE_STAY_FIX] = { HABITAT_MOVE_STAY_FIX, 5, _("HABITAT_MOVE_STAY_FIX"), s_script_HABITAT_MOVE_STAY_FIX }, - [HABITAT_MOVE_STAY_TURN] = { HABITAT_MOVE_STAY_TURN, 5, _("HABITAT_MOVE_STAY_TURN"), s_script_HABITAT_MOVE_STAY_TURN }, - [LIVES_MOVE_NORMAL] = { LIVES_MOVE_NORMAL, 5, _("LIVES_MOVE_NORMAL"), s_script_LIVES_MOVE_NORMAL }, - [LIVES_MOVE_CHANGE] = { LIVES_MOVE_CHANGE, 5, _("LIVES_MOVE_CHANGE"), s_script_LIVES_MOVE_CHANGE }, - [OBJECT_MOVE_NORMAL] = { OBJECT_MOVE_NORMAL, 5, _("OBJECT_MOVE_NORMAL"), s_script_OBJECT_MOVE_NORMAL }, - [OBJECT_MOVE_CHANGE] = { OBJECT_MOVE_CHANGE, 5, _("OBJECT_MOVE_CHANGE"), s_script_OBJECT_MOVE_CHANGE }, - [EFFECT_MOVE_NORMAL] = { EFFECT_MOVE_NORMAL, 5, _("EFFECT_MOVE_NORMAL"), s_script_EFFECT_MOVE_NORMAL }, - [EFFECT_MOVE_CHANGE] = { EFFECT_MOVE_CHANGE, 5, _("EFFECT_MOVE_CHANGE"), s_script_EFFECT_MOVE_CHANGE }, - [MOVE_INIT] = { MOVE_INIT, 5, _("MOVE_INIT"), s_script_MOVE_INIT }, - [MOVE_PAUSE] = { MOVE_PAUSE, 5, _("MOVE_PAUSE"), s_script_MOVE_PAUSE }, - [MOVE_STAY] = { MOVE_STAY, 5, _("MOVE_STAY"), s_script_MOVE_STAY }, - [MOVE_SLEEP] = { MOVE_SLEEP, 5, _("MOVE_SLEEP"), s_script_MOVE_SLEEP }, - [MOVE_RANDOM] = { MOVE_RANDOM, 5, _("MOVE_RANDOM"), s_script_MOVE_RANDOM }, - [MOVE_BOY] = { MOVE_BOY, 5, _("MOVE_BOY"), s_script_MOVE_BOY }, - [MOVE_GIRL] = { MOVE_GIRL, 5, _("MOVE_GIRL"), s_script_MOVE_GIRL }, - [WAKEUP_FUNC] = { WAKEUP_FUNC, 9, _("WAKEUP_FUNC"), s_script_WAKEUP_FUNC }, - [LOOK_AROUND_FUNC] = { LOOK_AROUND_FUNC, 9, _("LOOK_AROUND_FUNC"), s_script_LOOK_AROUND_FUNC }, - [LOOK_AROUND_DOWN_FUNC] = { LOOK_AROUND_DOWN_FUNC, 9, _("LOOK_AROUND_DOWN_FUNC"), s_script_LOOK_AROUND_DOWN_FUNC }, - [LOOK_AROUND_RIGHT_FUNC] = { LOOK_AROUND_RIGHT_FUNC, 9, _("LOOK_AROUND_RIGHT_FUNC"), s_script_LOOK_AROUND_RIGHT_FUNC }, - [LOOK_AROUND_LEFT_FUNC] = { LOOK_AROUND_LEFT_FUNC, 9, _("LOOK_AROUND_LEFT_FUNC"), s_script_LOOK_AROUND_LEFT_FUNC }, - [JUMP_HAPPY_FUNC] = { JUMP_HAPPY_FUNC, 9, _("JUMP_HAPPY_FUNC"), s_script_JUMP_HAPPY_FUNC }, - [JUMP_SURPRISE_FUNC] = { JUMP_SURPRISE_FUNC, 9, _("JUMP_SURPRISE_FUNC"), s_script_JUMP_SURPRISE_FUNC }, - [JUMP_ANGRY_FUNC] = { JUMP_ANGRY_FUNC, 9, _("JUMP_ANGRY_FUNC"), s_script_JUMP_ANGRY_FUNC }, - [NOTICE_FUNC] = { NOTICE_FUNC, 9, _("NOTICE_FUNC"), s_script_NOTICE_FUNC }, - [QUESTION_FUNC] = { QUESTION_FUNC, 9, _("QUESTION_FUNC"), s_script_QUESTION_FUNC }, - [SWEAT_FUNC] = { SWEAT_FUNC, 9, _("SWEAT_FUNC"), s_script_SWEAT_FUNC }, - [SHOCK_FUNC] = { SHOCK_FUNC, 9, _("SHOCK_FUNC"), s_script_SHOCK_FUNC }, - [SPREE_START_FUNC] = { SPREE_START_FUNC, 9, _("SPREE_START_FUNC"), s_script_SPREE_START_FUNC }, - [SPREE_END_FUNC] = { SPREE_END_FUNC, 9, _("SPREE_END_FUNC"), s_script_SPREE_END_FUNC }, - [SMILE_START_FUNC] = { SMILE_START_FUNC, 9, _("SMILE_START_FUNC"), s_script_SMILE_START_FUNC }, - [SMILE_END_FUNC] = { SMILE_END_FUNC, 9, _("SMILE_END_FUNC"), s_script_SMILE_END_FUNC }, - [ANGRY_START_FUNC] = { ANGRY_START_FUNC, 9, _("ANGRY_START_FUNC"), s_script_ANGRY_START_FUNC }, - [ANGRY_END_FUNC] = { ANGRY_END_FUNC, 9, _("ANGRY_END_FUNC"), s_script_ANGRY_END_FUNC }, - [MOVE_PLAZA_SLEEP] = { MOVE_PLAZA_SLEEP, 5, _("MOVE_PLAZA_SLEEP"), s_script_MOVE_PLAZA_SLEEP }, - [INIT_PLAZA_SLEEP_STAY_FUNC] = { INIT_PLAZA_SLEEP_STAY_FUNC, 9, _("INIT_PLAZA_SLEEP_STAY_FUNC"), s_script_INIT_PLAZA_SLEEP_STAY_FUNC }, - [INIT_PLAZA_SLEEP_TALK_FUNC] = { INIT_PLAZA_SLEEP_TALK_FUNC, 9, _("INIT_PLAZA_SLEEP_TALK_FUNC"), s_script_INIT_PLAZA_SLEEP_TALK_FUNC }, - [INIT_SLEEP_FUNC] = { INIT_SLEEP_FUNC, 8, _("INIT_SLEEP_FUNC"), s_script_INIT_SLEEP_FUNC }, - [INIT_BASE_FUNC] = { INIT_BASE_FUNC, 8, _("INIT_BASE_FUNC"), s_script_INIT_BASE_FUNC }, - [INIT_DEBUG_HABITAT] = { INIT_DEBUG_HABITAT, 8, _("INIT_DEBUG_HABITAT"), s_script_INIT_DEBUG_HABITAT }, - [NORMAL_MESSAGE] = { NORMAL_MESSAGE, 7, _("NORMAL_MESSAGE"), NULL }, - [NORMAL_EVENT] = { NORMAL_EVENT, 7, _("NORMAL_EVENT"), NULL }, - [NORMAL_CAMERA] = { NORMAL_CAMERA, 7, _("NORMAL_CAMERA"), s_script_NORMAL_CAMERA }, - [DISMISSAL_SALLY_MEMBER_FUNC] = { DISMISSAL_SALLY_MEMBER_FUNC, 7, _("DISMISSAL_SALLY_MEMBER_FUNC"), s_script_DISMISSAL_SALLY_MEMBER_FUNC }, - [DISMISSAL_SALLY_MEMBER2_FUNC] = { DISMISSAL_SALLY_MEMBER2_FUNC, 7, _("DISMISSAL_SALLY_MEMBER2_FUNC"), s_script_DISMISSAL_SALLY_MEMBER2_FUNC }, - [DISMISSAL_SALLY_MEMBER3_FUNC] = { DISMISSAL_SALLY_MEMBER3_FUNC, 7, _("DISMISSAL_SALLY_MEMBER3_FUNC"), s_script_DISMISSAL_SALLY_MEMBER3_FUNC }, - [DISMISSAL_SALLY_MEMBER4_FUNC] = { DISMISSAL_SALLY_MEMBER4_FUNC, 7, _("DISMISSAL_SALLY_MEMBER4_FUNC"), s_script_DISMISSAL_SALLY_MEMBER4_FUNC }, - [NEXT_SAVE_FUNC] = { NEXT_SAVE_FUNC, 7, _("NEXT_SAVE_FUNC"), s_script_NEXT_SAVE_FUNC }, - [NEXT_SAVE2_FUNC] = { NEXT_SAVE2_FUNC, 7, _("NEXT_SAVE2_FUNC"), s_script_NEXT_SAVE2_FUNC }, - [SAVE_POINT] = { SAVE_POINT, 7, _("SAVE_POINT"), s_script_SAVE_POINT }, - [WAREHOUSE_POINT] = { WAREHOUSE_POINT, 7, _("WAREHOUSE_POINT"), s_script_WAREHOUSE_POINT }, - [SAVE_AND_WAREHOUSE_POINT] = { SAVE_AND_WAREHOUSE_POINT, 7, _("SAVE_AND_WAREHOUSE_POINT"), s_script_SAVE_AND_WAREHOUSE_POINT }, - [WORLD_MAP_POINT] = { WORLD_MAP_POINT, 7, _("WORLD_MAP_POINT"), s_script_WORLD_MAP_POINT }, - [FORMATION_HERO] = { FORMATION_HERO, 7, _("FORMATION_HERO"), s_script_FORMATION_HERO }, - [EVOLUTION_HERO] = { EVOLUTION_HERO, 7, _("EVOLUTION_HERO"), s_script_EVOLUTION_HERO }, - [WARP_LIVES_START] = { WARP_LIVES_START, 7, _("WARP_LIVES_START"), s_script_WARP_LIVES_START }, - [WARP_LIVES_START2] = { WARP_LIVES_START2, 7, _("WARP_LIVES_START2"), s_script_WARP_LIVES_START2 }, - [WARP_LIVES_START3] = { WARP_LIVES_START3, 7, _("WARP_LIVES_START3"), s_script_WARP_LIVES_START3 }, - [WARP_LIVES_ARRIVE] = { WARP_LIVES_ARRIVE, 7, _("WARP_LIVES_ARRIVE"), s_script_WARP_LIVES_ARRIVE }, - [WARP_LIVES_ARRIVE2] = { WARP_LIVES_ARRIVE2, 7, _("WARP_LIVES_ARRIVE2"), s_script_WARP_LIVES_ARRIVE2 }, - [WARP_LIVES_ARRIVE3] = { WARP_LIVES_ARRIVE3, 7, _("WARP_LIVES_ARRIVE3"), s_script_WARP_LIVES_ARRIVE3 }, - [LIVES_WARP_START_FUNC] = { LIVES_WARP_START_FUNC, 7, _("LIVES_WARP_START_FUNC"), s_script_LIVES_WARP_START_FUNC }, - [LIVES_WARP_START2_FUNC] = { LIVES_WARP_START2_FUNC, 7, _("LIVES_WARP_START2_FUNC"), s_script_LIVES_WARP_START2_FUNC }, - [LIVES_WARP_START3_FUNC] = { LIVES_WARP_START3_FUNC, 7, _("LIVES_WARP_START3_FUNC"), s_script_LIVES_WARP_START3_FUNC }, - [LIVES_WARP_START_SUB] = { LIVES_WARP_START_SUB, 7, _("LIVES_WARP_START_SUB"), s_script_LIVES_WARP_START_SUB }, - [LIVES_WARP_ARRIVE_FUNC] = { LIVES_WARP_ARRIVE_FUNC, 7, _("LIVES_WARP_ARRIVE_FUNC"), s_script_LIVES_WARP_ARRIVE_FUNC }, - [LIVES_WARP_ARRIVE2_FUNC] = { LIVES_WARP_ARRIVE2_FUNC, 7, _("LIVES_WARP_ARRIVE2_FUNC"), s_script_LIVES_WARP_ARRIVE2_FUNC }, - [LIVES_WARP_ARRIVE3_FUNC] = { LIVES_WARP_ARRIVE3_FUNC, 7, _("LIVES_WARP_ARRIVE3_FUNC"), s_script_LIVES_WARP_ARRIVE3_FUNC }, - [LIVES_WARP_ARRIVE_SUB] = { LIVES_WARP_ARRIVE_SUB, 7, _("LIVES_WARP_ARRIVE_SUB"), s_script_LIVES_WARP_ARRIVE_SUB }, - [GET_ITEM_FUNC] = { GET_ITEM_FUNC, 7, _("GET_ITEM_FUNC"), s_script_GET_ITEM_FUNC }, - [GET_ITEM_WAIT_FUNC] = { GET_ITEM_WAIT_FUNC, 7, _("GET_ITEM_WAIT_FUNC"), s_script_GET_ITEM_WAIT_FUNC }, - [GET_ITEM2_FUNC] = { GET_ITEM2_FUNC, 7, _("GET_ITEM2_FUNC"), s_script_GET_ITEM2_FUNC }, - [GET_ITEM2_WAIT_FUNC] = { GET_ITEM2_WAIT_FUNC, 7, _("GET_ITEM2_WAIT_FUNC"), s_script_GET_ITEM2_WAIT_FUNC }, - [JOIN_FUNC] = { JOIN_FUNC, 7, _("JOIN_FUNC"), s_script_JOIN_FUNC }, - [LODGE_START_FUNC] = { LODGE_START_FUNC, 7, _("LODGE_START_FUNC"), s_script_LODGE_START_FUNC }, - [LODGE_WAIT_FUNC] = { LODGE_WAIT_FUNC, 7, _("LODGE_WAIT_FUNC"), s_script_LODGE_WAIT_FUNC }, - [LODGE_END_FUNC] = { LODGE_END_FUNC, 7, _("LODGE_END_FUNC"), s_script_LODGE_END_FUNC }, - [LODGE_SOUND_FUNC] = { LODGE_SOUND_FUNC, 7, _("LODGE_SOUND_FUNC"), s_script_LODGE_SOUND_FUNC }, - [SAVE_START_FUNC] = { SAVE_START_FUNC, 7, _("SAVE_START_FUNC"), s_script_SAVE_START_FUNC }, - [SAVE_WAIT_FUNC] = { SAVE_WAIT_FUNC, 7, _("SAVE_WAIT_FUNC"), s_script_SAVE_WAIT_FUNC }, - [SAVE_END_FUNC] = { SAVE_END_FUNC, 7, _("SAVE_END_FUNC"), s_script_SAVE_END_FUNC }, - [SAVE_SOUND_FUNC] = { SAVE_SOUND_FUNC, 7, _("SAVE_SOUND_FUNC"), s_script_SAVE_SOUND_FUNC }, - [EFFECT_TEST1] = { EFFECT_TEST1, 9, _("EFFECT_TEST1"), s_script_EFFECT_TEST1 }, - [EFFECT_TEST2] = { EFFECT_TEST2, 9, _("EFFECT_TEST2"), s_script_EFFECT_TEST2 }, - [EFFECT_MOVE_DIVE] = { EFFECT_MOVE_DIVE, 9, _("EFFECT_MOVE_DIVE"), s_script_EFFECT_MOVE_DIVE }, - [EFFECT_MOVE_WAVE] = { EFFECT_MOVE_WAVE, 9, _("EFFECT_MOVE_WAVE"), s_script_EFFECT_MOVE_WAVE }, - [EVENT_DIVIDE] = { EVENT_DIVIDE, 7, _("EVENT_DIVIDE"), s_script_EVENT_DIVIDE }, - [EVENT_DIVIDE_NEXT] = { EVENT_DIVIDE_NEXT, 7, _("EVENT_DIVIDE_NEXT"), s_script_EVENT_DIVIDE_NEXT }, - [EVENT_DIVIDE_INIT_FUNC] = { EVENT_DIVIDE_INIT_FUNC, 7, _("EVENT_DIVIDE_INIT_FUNC"), s_script_EVENT_DIVIDE_INIT_FUNC }, - [EVENT_DIVIDE_NEXT_DAY_FUNC] = { EVENT_DIVIDE_NEXT_DAY_FUNC, 7, _("EVENT_DIVIDE_NEXT_DAY_FUNC"), s_script_EVENT_DIVIDE_NEXT_DAY_FUNC }, - [EVENT_DIVIDE_NEXT_DAY2_FUNC] = { EVENT_DIVIDE_NEXT_DAY2_FUNC, 7, _("EVENT_DIVIDE_NEXT_DAY2_FUNC"), s_script_EVENT_DIVIDE_NEXT_DAY2_FUNC }, - [EVENT_DIVIDE_FIRST] = { EVENT_DIVIDE_FIRST, 7, _("EVENT_DIVIDE_FIRST"), s_script_EVENT_DIVIDE_FIRST }, - [EVENT_DIVIDE_SECOND] = { EVENT_DIVIDE_SECOND, 7, _("EVENT_DIVIDE_SECOND"), s_script_EVENT_DIVIDE_SECOND }, - [EVENT_DIVIDE_AFTER] = { EVENT_DIVIDE_AFTER, 7, _("EVENT_DIVIDE_AFTER"), s_script_EVENT_DIVIDE_AFTER }, - [EVENT_DIVIDE_WARP_LOCK_FUNC] = { EVENT_DIVIDE_WARP_LOCK_FUNC, 7, _("EVENT_DIVIDE_WARP_LOCK_FUNC"), s_script_EVENT_DIVIDE_WARP_LOCK_FUNC }, - [EVENT_RESCUE_ENTER_CHECK] = { EVENT_RESCUE_ENTER_CHECK, 7, _("EVENT_RESCUE_ENTER_CHECK"), s_script_EVENT_RESCUE_ENTER_CHECK }, - [EVENT_RESCUE] = { EVENT_RESCUE, 7, _("EVENT_RESCUE"), s_script_EVENT_RESCUE }, - [DEBUG_SCRIPT] = { DEBUG_SCRIPT, 7, _("DEBUG_SCRIPT"), s_script_DEBUG_SCRIPT }, - [DEMO_CANCEL] = { DEMO_CANCEL, 7, _("DEMO_CANCEL"), s_script_DEMO_CANCEL }, - [DEMO_01] = { DEMO_01, 10, _("DEMO_01"), s_script_DEMO_01 }, - [DEMO_02] = { DEMO_02, 10, _("DEMO_02"), s_script_DEMO_02 }, - [DEMO_03] = { DEMO_03, 10, _("DEMO_03"), s_script_DEMO_03 }, - [DEMO_04] = { DEMO_04, 10, _("DEMO_04"), s_script_DEMO_04 }, - [EVENT_M00E01A_L001] = { EVENT_M00E01A_L001, 10, _("EVENT_M00E01A_L001"), s_script_EVENT_M00E01A_L001 }, - [EVENT_M01E01A_L001] = { EVENT_M01E01A_L001, 10, _("EVENT_M01E01A_L001"), s_script_EVENT_M01E01A_L001 }, - [EVENT_M01E01A_L002] = { EVENT_M01E01A_L002, 10, _("EVENT_M01E01A_L002"), s_script_EVENT_M01E01A_L002 }, - [EVENT_M01E01A_L003] = { EVENT_M01E01A_L003, 10, _("EVENT_M01E01A_L003"), s_script_EVENT_M01E01A_L003 }, - [EVENT_M01E02A_L001] = { EVENT_M01E02A_L001, 10, _("EVENT_M01E02A_L001"), s_script_EVENT_M01E02A_L001 }, - [EVENT_M01E02A_L001B] = { EVENT_M01E02A_L001B, 12, _("EVENT_M01E02A_L001B"), s_script_EVENT_M01E02A_L001B }, - [EVENT_M01E02A_L001C] = { EVENT_M01E02A_L001C, 10, _("EVENT_M01E02A_L001C"), s_script_EVENT_M01E02A_L001C }, - [EVENT_M01E02A_L002] = { EVENT_M01E02A_L002, 10, _("EVENT_M01E02A_L002"), s_script_EVENT_M01E02A_L002 }, - [EVENT_M01E02A_L003] = { EVENT_M01E02A_L003, 10, _("EVENT_M01E02A_L003"), s_script_EVENT_M01E02A_L003 }, - [EVENT_M01E02A_L004] = { EVENT_M01E02A_L004, 10, _("EVENT_M01E02A_L004"), s_script_EVENT_M01E02A_L004 }, - [EVENT_M01E02A_L005] = { EVENT_M01E02A_L005, 10, _("EVENT_M01E02A_L005"), s_script_EVENT_M01E02A_L005 }, - [EVENT_M01E02A_L006] = { EVENT_M01E02A_L006, 10, _("EVENT_M01E02A_L006"), s_script_EVENT_M01E02A_L006 }, - [EVENT_M01E02B_L001] = { EVENT_M01E02B_L001, 10, _("EVENT_M01E02B_L001"), s_script_EVENT_M01E02B_L001 }, - [EVENT_M01E02B_L002] = { EVENT_M01E02B_L002, 10, _("EVENT_M01E02B_L002"), s_script_EVENT_M01E02B_L002 }, - [EVENT_M01E02B_L003] = { EVENT_M01E02B_L003, 10, _("EVENT_M01E02B_L003"), s_script_EVENT_M01E02B_L003 }, - [EVENT_M01E02B_L004] = { EVENT_M01E02B_L004, 10, _("EVENT_M01E02B_L004"), s_script_EVENT_M01E02B_L004 }, - [EVENT_M01E02B_L004B] = { EVENT_M01E02B_L004B, 10, _("EVENT_M01E02B_L004B"), s_script_EVENT_M01E02B_L004B }, - [EVENT_M01E02B_L005] = { EVENT_M01E02B_L005, 10, _("EVENT_M01E02B_L005"), s_script_EVENT_M01E02B_L005 }, - [EVENT_M01E02B_L006] = { EVENT_M01E02B_L006, 10, _("EVENT_M01E02B_L006"), s_script_EVENT_M01E02B_L006 }, - [EVENT_M01E02B_L007] = { EVENT_M01E02B_L007, 10, _("EVENT_M01E02B_L007"), s_script_EVENT_M01E02B_L007 }, - [EVENT_M01E02B_L008] = { EVENT_M01E02B_L008, 10, _("EVENT_M01E02B_L008"), s_script_EVENT_M01E02B_L008 }, - [EVENT_M01E03A_L000] = { EVENT_M01E03A_L000, 10, _("EVENT_M01E03A_L000"), s_script_EVENT_M01E03A_L000 }, - [EVENT_M01E03A_L001] = { EVENT_M01E03A_L001, 10, _("EVENT_M01E03A_L001"), s_script_EVENT_M01E03A_L001 }, - [EVENT_M01E03A_L002] = { EVENT_M01E03A_L002, 10, _("EVENT_M01E03A_L002"), s_script_EVENT_M01E03A_L002 }, - [EVENT_M01E03A_L003] = { EVENT_M01E03A_L003, 10, _("EVENT_M01E03A_L003"), s_script_EVENT_M01E03A_L003 }, - [EVENT_M01E03A_L004] = { EVENT_M01E03A_L004, 10, _("EVENT_M01E03A_L004"), s_script_EVENT_M01E03A_L004 }, - [EVENT_M01E03A_L005] = { EVENT_M01E03A_L005, 10, _("EVENT_M01E03A_L005"), s_script_EVENT_M01E03A_L005 }, - [EVENT_M01E03A_L006] = { EVENT_M01E03A_L006, 10, _("EVENT_M01E03A_L006"), s_script_EVENT_M01E03A_L006 }, - [EVENT_M01E03A_L007] = { EVENT_M01E03A_L007, 10, _("EVENT_M01E03A_L007"), s_script_EVENT_M01E03A_L007 }, - [EVENT_M01E03A_L008] = { EVENT_M01E03A_L008, 10, _("EVENT_M01E03A_L008"), s_script_EVENT_M01E03A_L008 }, - [EVENT_M01E03A_L009] = { EVENT_M01E03A_L009, 10, _("EVENT_M01E03A_L009"), s_script_EVENT_M01E03A_L009 }, - [EVENT_M01E03A_L010] = { EVENT_M01E03A_L010, 10, _("EVENT_M01E03A_L010"), s_script_EVENT_M01E03A_L010 }, - [EVENT_M01E03A_L011] = { EVENT_M01E03A_L011, 10, _("EVENT_M01E03A_L011"), s_script_EVENT_M01E03A_L011 }, - [EVENT_M01E04A_L000] = { EVENT_M01E04A_L000, 10, _("EVENT_M01E04A_L000"), s_script_EVENT_M01E04A_L000 }, - [EVENT_M01E04A_L001] = { EVENT_M01E04A_L001, 10, _("EVENT_M01E04A_L001"), s_script_EVENT_M01E04A_L001 }, - [EVENT_M01E04A_L002] = { EVENT_M01E04A_L002, 10, _("EVENT_M01E04A_L002"), s_script_EVENT_M01E04A_L002 }, - [EVENT_M01E04A_L003] = { EVENT_M01E04A_L003, 10, _("EVENT_M01E04A_L003"), s_script_EVENT_M01E04A_L003 }, - [EVENT_M01E04A_L004] = { EVENT_M01E04A_L004, 10, _("EVENT_M01E04A_L004"), s_script_EVENT_M01E04A_L004 }, - [EVENT_M01E04A_L005] = { EVENT_M01E04A_L005, 12, _("EVENT_M01E04A_L005"), s_script_EVENT_M01E04A_L005 }, - [EVENT_M01E04A_L006] = { EVENT_M01E04A_L006, 10, _("EVENT_M01E04A_L006"), s_script_EVENT_M01E04A_L006 }, - [EVENT_M01E04B_L000] = { EVENT_M01E04B_L000, 10, _("EVENT_M01E04B_L000"), s_script_EVENT_M01E04B_L000 }, - [EVENT_M01E04B_L001] = { EVENT_M01E04B_L001, 10, _("EVENT_M01E04B_L001"), s_script_EVENT_M01E04B_L001 }, - [EVENT_M01E04B_L002] = { EVENT_M01E04B_L002, 10, _("EVENT_M01E04B_L002"), s_script_EVENT_M01E04B_L002 }, - [EVENT_M01E04B_L003] = { EVENT_M01E04B_L003, 10, _("EVENT_M01E04B_L003"), s_script_EVENT_M01E04B_L003 }, - [EVENT_M01E04B_L004] = { EVENT_M01E04B_L004, 10, _("EVENT_M01E04B_L004"), s_script_EVENT_M01E04B_L004 }, - [EVENT_M01E04B_L005] = { EVENT_M01E04B_L005, 10, _("EVENT_M01E04B_L005"), s_script_EVENT_M01E04B_L005 }, - [EVENT_M01E04B_L006] = { EVENT_M01E04B_L006, 10, _("EVENT_M01E04B_L006"), s_script_EVENT_M01E04B_L006 }, - [EVENT_M01E04B_L007] = { EVENT_M01E04B_L007, 10, _("EVENT_M01E04B_L007"), s_script_EVENT_M01E04B_L007 }, - [EVENT_M01E05A_L000] = { EVENT_M01E05A_L000, 10, _("EVENT_M01E05A_L000"), s_script_EVENT_M01E05A_L000 }, - [EVENT_M01E05A_L001] = { EVENT_M01E05A_L001, 10, _("EVENT_M01E05A_L001"), s_script_EVENT_M01E05A_L001 }, - [EVENT_M01E05A_L002] = { EVENT_M01E05A_L002, 10, _("EVENT_M01E05A_L002"), s_script_EVENT_M01E05A_L002 }, - [EVENT_M01E05A_L003] = { EVENT_M01E05A_L003, 10, _("EVENT_M01E05A_L003"), s_script_EVENT_M01E05A_L003 }, - [EVENT_M01E05A_L004] = { EVENT_M01E05A_L004, 10, _("EVENT_M01E05A_L004"), s_script_EVENT_M01E05A_L004 }, - [EVENT_M01E05A_L005] = { EVENT_M01E05A_L005, 10, _("EVENT_M01E05A_L005"), s_script_EVENT_M01E05A_L005 }, - [EVENT_M01E05A_L006] = { EVENT_M01E05A_L006, 10, _("EVENT_M01E05A_L006"), s_script_EVENT_M01E05A_L006 }, - [EVENT_M01E05B_L000] = { EVENT_M01E05B_L000, 10, _("EVENT_M01E05B_L000"), s_script_EVENT_M01E05B_L000 }, - [EVENT_M01E05B_L001] = { EVENT_M01E05B_L001, 10, _("EVENT_M01E05B_L001"), s_script_EVENT_M01E05B_L001 }, - [EVENT_M01E05B_L002] = { EVENT_M01E05B_L002, 10, _("EVENT_M01E05B_L002"), s_script_EVENT_M01E05B_L002 }, - [EVENT_M01E05B_L003] = { EVENT_M01E05B_L003, 12, _("EVENT_M01E05B_L003"), s_script_EVENT_M01E05B_L003 }, - [EVENT_M01E05B_L004] = { EVENT_M01E05B_L004, 10, _("EVENT_M01E05B_L004"), s_script_EVENT_M01E05B_L004 }, - [EVENT_M01E05B_L005] = { EVENT_M01E05B_L005, 10, _("EVENT_M01E05B_L005"), s_script_EVENT_M01E05B_L005 }, - [EVENT_M01E06A_L001] = { EVENT_M01E06A_L001, 10, _("EVENT_M01E06A_L001"), s_script_EVENT_M01E06A_L001 }, - [EVENT_M01E06A_L002] = { EVENT_M01E06A_L002, 10, _("EVENT_M01E06A_L002"), s_script_EVENT_M01E06A_L002 }, - [EVENT_M01E06A_L003] = { EVENT_M01E06A_L003, 10, _("EVENT_M01E06A_L003"), s_script_EVENT_M01E06A_L003 }, - [EVENT_M01E07A_L001] = { EVENT_M01E07A_L001, 10, _("EVENT_M01E07A_L001"), s_script_EVENT_M01E07A_L001 }, - [EVENT_M01E07A_L002] = { EVENT_M01E07A_L002, 10, _("EVENT_M01E07A_L002"), s_script_EVENT_M01E07A_L002 }, - [EVENT_M01E07A_L003] = { EVENT_M01E07A_L003, 10, _("EVENT_M01E07A_L003"), s_script_EVENT_M01E07A_L003 }, - [EVENT_M01E07A_L004] = { EVENT_M01E07A_L004, 10, _("EVENT_M01E07A_L004"), s_script_EVENT_M01E07A_L004 }, - [EVENT_M01E07A_L005] = { EVENT_M01E07A_L005, 10, _("EVENT_M01E07A_L005"), s_script_EVENT_M01E07A_L005 }, - [EVENT_M01E07A_T001] = { EVENT_M01E07A_T001, 10, _("EVENT_M01E07A_T001"), s_script_EVENT_M01E07A_T001 }, - [EVENT_M01E07A_T002] = { EVENT_M01E07A_T002, 10, _("EVENT_M01E07A_T002"), s_script_EVENT_M01E07A_T002 }, - [EVENT_M01E07B_L001] = { EVENT_M01E07B_L001, 10, _("EVENT_M01E07B_L001"), s_script_EVENT_M01E07B_L001 }, - [EVENT_M01E07B_L002] = { EVENT_M01E07B_L002, 10, _("EVENT_M01E07B_L002"), s_script_EVENT_M01E07B_L002 }, - [EVENT_M01E07B_L003] = { EVENT_M01E07B_L003, 10, _("EVENT_M01E07B_L003"), s_script_EVENT_M01E07B_L003 }, - [EVENT_M01E07B_L004] = { EVENT_M01E07B_L004, 10, _("EVENT_M01E07B_L004"), s_script_EVENT_M01E07B_L004 }, - [EVENT_M01E07B_L005] = { EVENT_M01E07B_L005, 10, _("EVENT_M01E07B_L005"), s_script_EVENT_M01E07B_L005 }, - [EVENT_M01E07B_T001] = { EVENT_M01E07B_T001, 10, _("EVENT_M01E07B_T001"), s_script_EVENT_M01E07B_T001 }, - [EVENT_M01E07B_T002] = { EVENT_M01E07B_T002, 10, _("EVENT_M01E07B_T002"), s_script_EVENT_M01E07B_T002 }, - [EVENT_M01E08A_L001] = { EVENT_M01E08A_L001, 10, _("EVENT_M01E08A_L001"), s_script_EVENT_M01E08A_L001 }, - [EVENT_M01E08A_L002] = { EVENT_M01E08A_L002, 10, _("EVENT_M01E08A_L002"), s_script_EVENT_M01E08A_L002 }, - [EVENT_M01E08A_L003] = { EVENT_M01E08A_L003, 10, _("EVENT_M01E08A_L003"), s_script_EVENT_M01E08A_L003 }, - [EVENT_M01E08A_L004] = { EVENT_M01E08A_L004, 10, _("EVENT_M01E08A_L004"), s_script_EVENT_M01E08A_L004 }, - [EVENT_M01E08A_L005] = { EVENT_M01E08A_L005, 10, _("EVENT_M01E08A_L005"), s_script_EVENT_M01E08A_L005 }, - [EVENT_M01E08A_T001] = { EVENT_M01E08A_T001, 10, _("EVENT_M01E08A_T001"), s_script_EVENT_M01E08A_T001 }, - [EVENT_M01E08A_T002] = { EVENT_M01E08A_T002, 10, _("EVENT_M01E08A_T002"), s_script_EVENT_M01E08A_T002 }, - [EVENT_M01E08B_L001] = { EVENT_M01E08B_L001, 10, _("EVENT_M01E08B_L001"), s_script_EVENT_M01E08B_L001 }, - [EVENT_M01E08B_L002] = { EVENT_M01E08B_L002, 10, _("EVENT_M01E08B_L002"), s_script_EVENT_M01E08B_L002 }, - [EVENT_M01E08B_L003] = { EVENT_M01E08B_L003, 10, _("EVENT_M01E08B_L003"), s_script_EVENT_M01E08B_L003 }, - [EVENT_M01E08B_L004] = { EVENT_M01E08B_L004, 10, _("EVENT_M01E08B_L004"), s_script_EVENT_M01E08B_L004 }, - [EVENT_M01E08B_L005] = { EVENT_M01E08B_L005, 10, _("EVENT_M01E08B_L005"), s_script_EVENT_M01E08B_L005 }, - [EVENT_M01E08B_L006] = { EVENT_M01E08B_L006, 10, _("EVENT_M01E08B_L006"), s_script_EVENT_M01E08B_L006 }, - [EVENT_M01E08B_T001] = { EVENT_M01E08B_T001, 10, _("EVENT_M01E08B_T001"), s_script_EVENT_M01E08B_T001 }, - [EVENT_M01E08B_T002] = { EVENT_M01E08B_T002, 10, _("EVENT_M01E08B_T002"), s_script_EVENT_M01E08B_T002 }, - [EVENT_M01E09A_L001] = { EVENT_M01E09A_L001, 10, _("EVENT_M01E09A_L001"), s_script_EVENT_M01E09A_L001 }, - [EVENT_M01E09A_L002] = { EVENT_M01E09A_L002, 10, _("EVENT_M01E09A_L002"), s_script_EVENT_M01E09A_L002 }, - [EVENT_M01E09A_L003] = { EVENT_M01E09A_L003, 10, _("EVENT_M01E09A_L003"), s_script_EVENT_M01E09A_L003 }, - [EVENT_M01E09A_L004] = { EVENT_M01E09A_L004, 10, _("EVENT_M01E09A_L004"), s_script_EVENT_M01E09A_L004 }, - [EVENT_M01E09A_L005] = { EVENT_M01E09A_L005, 10, _("EVENT_M01E09A_L005"), s_script_EVENT_M01E09A_L005 }, - [EVENT_M01E09A_L006] = { EVENT_M01E09A_L006, 10, _("EVENT_M01E09A_L006"), s_script_EVENT_M01E09A_L006 }, - [EVENT_M01E09A_L007] = { EVENT_M01E09A_L007, 10, _("EVENT_M01E09A_L007"), s_script_EVENT_M01E09A_L007 }, - [EVENT_M01E09A_L008] = { EVENT_M01E09A_L008, 10, _("EVENT_M01E09A_L008"), s_script_EVENT_M01E09A_L008 }, - [EVENT_M01E09A_L009] = { EVENT_M01E09A_L009, 10, _("EVENT_M01E09A_L009"), s_script_EVENT_M01E09A_L009 }, - [EVENT_M01E09A_L010] = { EVENT_M01E09A_L010, 10, _("EVENT_M01E09A_L010"), s_script_EVENT_M01E09A_L010 }, - [EVENT_M01E09A_L011] = { EVENT_M01E09A_L011, 10, _("EVENT_M01E09A_L011"), s_script_EVENT_M01E09A_L011 }, - [EVENT_M01E09A_L012] = { EVENT_M01E09A_L012, 10, _("EVENT_M01E09A_L012"), s_script_EVENT_M01E09A_L012 }, - [EVENT_M01E09A_L013] = { EVENT_M01E09A_L013, 10, _("EVENT_M01E09A_L013"), s_script_EVENT_M01E09A_L013 }, - [EVENT_M01E09A_L014] = { EVENT_M01E09A_L014, 10, _("EVENT_M01E09A_L014"), s_script_EVENT_M01E09A_L014 }, - [EVENT_M01E09A_L015] = { EVENT_M01E09A_L015, 10, _("EVENT_M01E09A_L015"), s_script_EVENT_M01E09A_L015 }, - [EVENT_M01E10A_L001] = { EVENT_M01E10A_L001, 10, _("EVENT_M01E10A_L001"), s_script_EVENT_M01E10A_L001 }, - [EVENT_M01E10A_L002] = { EVENT_M01E10A_L002, 10, _("EVENT_M01E10A_L002"), s_script_EVENT_M01E10A_L002 }, - [EVENT_M01E10A_L003] = { EVENT_M01E10A_L003, 10, _("EVENT_M01E10A_L003"), s_script_EVENT_M01E10A_L003 }, - [EVENT_M01E10A_L004] = { EVENT_M01E10A_L004, 10, _("EVENT_M01E10A_L004"), s_script_EVENT_M01E10A_L004 }, - [EVENT_M01E10A_L005] = { EVENT_M01E10A_L005, 10, _("EVENT_M01E10A_L005"), s_script_EVENT_M01E10A_L005 }, - [EVENT_M01E10A_L006] = { EVENT_M01E10A_L006, 10, _("EVENT_M01E10A_L006"), s_script_EVENT_M01E10A_L006 }, - [EVENT_M01E10A_L007] = { EVENT_M01E10A_L007, 10, _("EVENT_M01E10A_L007"), s_script_EVENT_M01E10A_L007 }, - [EVENT_M01E10A_L008] = { EVENT_M01E10A_L008, 10, _("EVENT_M01E10A_L008"), s_script_EVENT_M01E10A_L008 }, - [EVENT_M01END_L001] = { EVENT_M01END_L001, 10, _("EVENT_M01END_L001"), s_script_EVENT_M01END_L001 }, - [EVENT_M01END_L002] = { EVENT_M01END_L002, 10, _("EVENT_M01END_L002"), s_script_EVENT_M01END_L002 }, - [EVENT_M02E01A_L001] = { EVENT_M02E01A_L001, 10, _("EVENT_M02E01A_L001"), s_script_EVENT_M02E01A_L001 }, - [EVENT_M02E01A_L002] = { EVENT_M02E01A_L002, 10, _("EVENT_M02E01A_L002"), s_script_EVENT_M02E01A_L002 }, - [EVENT_M02E01A_L003] = { EVENT_M02E01A_L003, 10, _("EVENT_M02E01A_L003"), s_script_EVENT_M02E01A_L003 }, - [EVENT_M02E02A_L001] = { EVENT_M02E02A_L001, 10, _("EVENT_M02E02A_L001"), s_script_EVENT_M02E02A_L001 }, - [EVENT_M02E02B_L001] = { EVENT_M02E02B_L001, 10, _("EVENT_M02E02B_L001"), s_script_EVENT_M02E02B_L001 }, - [EVENT_M02E02C_L001] = { EVENT_M02E02C_L001, 10, _("EVENT_M02E02C_L001"), s_script_EVENT_M02E02C_L001 }, - [EVENT_M02E02D_L001] = { EVENT_M02E02D_L001, 10, _("EVENT_M02E02D_L001"), s_script_EVENT_M02E02D_L001 }, - [EVENT_M02E02E_L001] = { EVENT_M02E02E_L001, 10, _("EVENT_M02E02E_L001"), s_script_EVENT_M02E02E_L001 }, - [EVENT_M02E02F_L001] = { EVENT_M02E02F_L001, 10, _("EVENT_M02E02F_L001"), s_script_EVENT_M02E02F_L001 }, - [EVENT_M02E02G_L001] = { EVENT_M02E02G_L001, 10, _("EVENT_M02E02G_L001"), s_script_EVENT_M02E02G_L001 }, - [EVENT_M02E02H_L001] = { EVENT_M02E02H_L001, 10, _("EVENT_M02E02H_L001"), s_script_EVENT_M02E02H_L001 }, - [EVENT_M02END_L001] = { EVENT_M02END_L001, 10, _("EVENT_M02END_L001"), s_script_EVENT_M02END_L001 }, - [EVENT_S00E01A_L001] = { EVENT_S00E01A_L001, 10, _("EVENT_S00E01A_L001"), s_script_EVENT_S00E01A_L001 }, - [EVENT_S00E01A_L002] = { EVENT_S00E01A_L002, 10, _("EVENT_S00E01A_L002"), s_script_EVENT_S00E01A_L002 }, - [EVENT_S00E01A_L003] = { EVENT_S00E01A_L003, 10, _("EVENT_S00E01A_L003"), s_script_EVENT_S00E01A_L003 }, - [EVENT_S00E01A_L004] = { EVENT_S00E01A_L004, 10, _("EVENT_S00E01A_L004"), s_script_EVENT_S00E01A_L004 }, - [EVENT_S01E01A_START] = { EVENT_S01E01A_START, 11, _("EVENT_S01E01A_START"), s_script_EVENT_S01E01A_START }, - [EVENT_S01E01A_CONTINUE] = { EVENT_S01E01A_CONTINUE, 11, _("EVENT_S01E01A_CONTINUE"), s_script_EVENT_S01E01A_CONTINUE }, - [EVENT_S01E01A_END] = { EVENT_S01E01A_END, 11, _("EVENT_S01E01A_END"), s_script_EVENT_S01E01A_END }, - [EVENT_S01E01A_L001] = { EVENT_S01E01A_L001, 12, _("EVENT_S01E01A_L001"), s_script_EVENT_S01E01A_L001 }, - [EVENT_S01E01A_L002] = { EVENT_S01E01A_L002, 10, _("EVENT_S01E01A_L002"), s_script_EVENT_S01E01A_L002 }, - [EVENT_S01E01A_L003] = { EVENT_S01E01A_L003, 10, _("EVENT_S01E01A_L003"), s_script_EVENT_S01E01A_L003 }, - [EVENT_S01E01B_L001] = { EVENT_S01E01B_L001, 10, _("EVENT_S01E01B_L001"), s_script_EVENT_S01E01B_L001 }, - [EVENT_S01E01B_L001L] = { EVENT_S01E01B_L001L, 12, _("EVENT_S01E01B_L001L"), s_script_EVENT_S01E01B_L001L }, - [EVENT_S01E01C_L001] = { EVENT_S01E01C_L001, 10, _("EVENT_S01E01C_L001"), s_script_EVENT_S01E01C_L001 }, - [EVENT_S01E02A_START] = { EVENT_S01E02A_START, 11, _("EVENT_S01E02A_START"), s_script_EVENT_S01E02A_START }, - [EVENT_S01E02A_END] = { EVENT_S01E02A_END, 11, _("EVENT_S01E02A_END"), s_script_EVENT_S01E02A_END }, - [EVENT_S01E02A_L001] = { EVENT_S01E02A_L001, 10, _("EVENT_S01E02A_L001"), s_script_EVENT_S01E02A_L001 }, - [EVENT_S01E02A_L002] = { EVENT_S01E02A_L002, 10, _("EVENT_S01E02A_L002"), s_script_EVENT_S01E02A_L002 }, - [EVENT_S01E02A_L002L] = { EVENT_S01E02A_L002L, 12, _("EVENT_S01E02A_L002L"), s_script_EVENT_S01E02A_L002L }, - [EVENT_S01E02B_L001] = { EVENT_S01E02B_L001, 12, _("EVENT_S01E02B_L001"), s_script_EVENT_S01E02B_L001 }, - [EVENT_S01E02B_L002] = { EVENT_S01E02B_L002, 12, _("EVENT_S01E02B_L002"), s_script_EVENT_S01E02B_L002 }, - [EVENT_S02E01A_START] = { EVENT_S02E01A_START, 11, _("EVENT_S02E01A_START"), s_script_EVENT_S02E01A_START }, - [EVENT_S02E01A_END] = { EVENT_S02E01A_END, 11, _("EVENT_S02E01A_END"), s_script_EVENT_S02E01A_END }, - [EVENT_S02E01A_L001] = { EVENT_S02E01A_L001, 12, _("EVENT_S02E01A_L001"), s_script_EVENT_S02E01A_L001 }, - [EVENT_S02E01A_L002] = { EVENT_S02E01A_L002, 12, _("EVENT_S02E01A_L002"), s_script_EVENT_S02E01A_L002 }, - [EVENT_S02E01A_L003] = { EVENT_S02E01A_L003, 12, _("EVENT_S02E01A_L003"), s_script_EVENT_S02E01A_L003 }, - [EVENT_S02E01A_L004] = { EVENT_S02E01A_L004, 12, _("EVENT_S02E01A_L004"), s_script_EVENT_S02E01A_L004 }, - [EVENT_S02E01A_L004L] = { EVENT_S02E01A_L004L, 12, _("EVENT_S02E01A_L004L"), s_script_EVENT_S02E01A_L004L }, - [EVENT_S02E02A_START] = { EVENT_S02E02A_START, 11, _("EVENT_S02E02A_START"), s_script_EVENT_S02E02A_START }, - [EVENT_S02E02A_END] = { EVENT_S02E02A_END, 11, _("EVENT_S02E02A_END"), s_script_EVENT_S02E02A_END }, - [EVENT_S02E02A_L001] = { EVENT_S02E02A_L001, 12, _("EVENT_S02E02A_L001"), s_script_EVENT_S02E02A_L001 }, - [EVENT_S02E02A_L002] = { EVENT_S02E02A_L002, 10, _("EVENT_S02E02A_L002"), s_script_EVENT_S02E02A_L002 }, - [EVENT_S02E02A_L003] = { EVENT_S02E02A_L003, 12, _("EVENT_S02E02A_L003"), s_script_EVENT_S02E02A_L003 }, - [EVENT_S02E02A_L003L] = { EVENT_S02E02A_L003L, 12, _("EVENT_S02E02A_L003L"), s_script_EVENT_S02E02A_L003L }, - [EVENT_S03E01A_START] = { EVENT_S03E01A_START, 11, _("EVENT_S03E01A_START"), s_script_EVENT_S03E01A_START }, - [EVENT_S03E01A_CONTINUE] = { EVENT_S03E01A_CONTINUE, 11, _("EVENT_S03E01A_CONTINUE"), s_script_EVENT_S03E01A_CONTINUE }, - [EVENT_S03E01A_END] = { EVENT_S03E01A_END, 11, _("EVENT_S03E01A_END"), s_script_EVENT_S03E01A_END }, - [EVENT_S03E01A_L001] = { EVENT_S03E01A_L001, 10, _("EVENT_S03E01A_L001"), s_script_EVENT_S03E01A_L001 }, - [EVENT_S03E01A_L002] = { EVENT_S03E01A_L002, 12, _("EVENT_S03E01A_L002"), s_script_EVENT_S03E01A_L002 }, - [EVENT_S03E01A_L002L] = { EVENT_S03E01A_L002L, 12, _("EVENT_S03E01A_L002L"), s_script_EVENT_S03E01A_L002L }, - [EVENT_S04E01A_START] = { EVENT_S04E01A_START, 11, _("EVENT_S04E01A_START"), s_script_EVENT_S04E01A_START }, - [EVENT_S04E01A_LAST] = { EVENT_S04E01A_LAST, 11, _("EVENT_S04E01A_LAST"), s_script_EVENT_S04E01A_LAST }, - [EVENT_S04E01A_END] = { EVENT_S04E01A_END, 11, _("EVENT_S04E01A_END"), s_script_EVENT_S04E01A_END }, - [EVENT_S04E01A_L001] = { EVENT_S04E01A_L001, 10, _("EVENT_S04E01A_L001"), s_script_EVENT_S04E01A_L001 }, - [EVENT_S04E01A_L002] = { EVENT_S04E01A_L002, 10, _("EVENT_S04E01A_L002"), s_script_EVENT_S04E01A_L002 }, - [EVENT_S04E01A_L002L] = { EVENT_S04E01A_L002L, 12, _("EVENT_S04E01A_L002L"), s_script_EVENT_S04E01A_L002L }, - [EVENT_S04E01B_L001] = { EVENT_S04E01B_L001, 10, _("EVENT_S04E01B_L001"), s_script_EVENT_S04E01B_L001 }, - [EVENT_S04E01B_L001L] = { EVENT_S04E01B_L001L, 12, _("EVENT_S04E01B_L001L"), s_script_EVENT_S04E01B_L001L }, - [EVENT_S04E01C_L001] = { EVENT_S04E01C_L001, 10, _("EVENT_S04E01C_L001"), s_script_EVENT_S04E01C_L001 }, - [EVENT_S04E01C_L001L] = { EVENT_S04E01C_L001L, 12, _("EVENT_S04E01C_L001L"), s_script_EVENT_S04E01C_L001L }, - [EVENT_S04E01D_L001] = { EVENT_S04E01D_L001, 10, _("EVENT_S04E01D_L001"), s_script_EVENT_S04E01D_L001 }, - [EVENT_S04E01D_L001L] = { EVENT_S04E01D_L001L, 12, _("EVENT_S04E01D_L001L"), s_script_EVENT_S04E01D_L001L }, - [EVENT_S04E01E_L001] = { EVENT_S04E01E_L001, 10, _("EVENT_S04E01E_L001"), s_script_EVENT_S04E01E_L001 }, - [EVENT_S04E01E_L001L] = { EVENT_S04E01E_L001L, 12, _("EVENT_S04E01E_L001L"), s_script_EVENT_S04E01E_L001L }, - [EVENT_S04E01F_L001] = { EVENT_S04E01F_L001, 12, _("EVENT_S04E01F_L001"), s_script_EVENT_S04E01F_L001 }, - [EVENT_S05E01A_START] = { EVENT_S05E01A_START, 11, _("EVENT_S05E01A_START"), s_script_EVENT_S05E01A_START }, - [EVENT_S05E01A_CONTINUE] = { EVENT_S05E01A_CONTINUE, 11, _("EVENT_S05E01A_CONTINUE"), s_script_EVENT_S05E01A_CONTINUE }, - [EVENT_S05E01A_END] = { EVENT_S05E01A_END, 11, _("EVENT_S05E01A_END"), s_script_EVENT_S05E01A_END }, - [EVENT_S05E01A_L001] = { EVENT_S05E01A_L001, 10, _("EVENT_S05E01A_L001"), s_script_EVENT_S05E01A_L001 }, - [EVENT_S05E01A_L002] = { EVENT_S05E01A_L002, 12, _("EVENT_S05E01A_L002"), s_script_EVENT_S05E01A_L002 }, - [EVENT_S05E01A_L002L] = { EVENT_S05E01A_L002L, 12, _("EVENT_S05E01A_L002L"), s_script_EVENT_S05E01A_L002L }, - [EVENT_S06E01A_START] = { EVENT_S06E01A_START, 11, _("EVENT_S06E01A_START"), s_script_EVENT_S06E01A_START }, - [EVENT_S06E01A_CONTINUE] = { EVENT_S06E01A_CONTINUE, 11, _("EVENT_S06E01A_CONTINUE"), s_script_EVENT_S06E01A_CONTINUE }, - [EVENT_S06E01A_END] = { EVENT_S06E01A_END, 11, _("EVENT_S06E01A_END"), s_script_EVENT_S06E01A_END }, - [EVENT_S06E01A_L001] = { EVENT_S06E01A_L001, 10, _("EVENT_S06E01A_L001"), s_script_EVENT_S06E01A_L001 }, - [EVENT_S06E01A_L002] = { EVENT_S06E01A_L002, 10, _("EVENT_S06E01A_L002"), s_script_EVENT_S06E01A_L002 }, - [EVENT_S06E01A_L002L] = { EVENT_S06E01A_L002L, 12, _("EVENT_S06E01A_L002L"), s_script_EVENT_S06E01A_L002L }, - [EVENT_S06E01B_L001] = { EVENT_S06E01B_L001, 10, _("EVENT_S06E01B_L001"), s_script_EVENT_S06E01B_L001 }, - [EVENT_S06E01B_L002] = { EVENT_S06E01B_L002, 10, _("EVENT_S06E01B_L002"), s_script_EVENT_S06E01B_L002 }, - [EVENT_S06E01B_L002L] = { EVENT_S06E01B_L002L, 12, _("EVENT_S06E01B_L002L"), s_script_EVENT_S06E01B_L002L }, - [EVENT_S07E01A_START] = { EVENT_S07E01A_START, 11, _("EVENT_S07E01A_START"), s_script_EVENT_S07E01A_START }, - [EVENT_S07E01A_END] = { EVENT_S07E01A_END, 11, _("EVENT_S07E01A_END"), s_script_EVENT_S07E01A_END }, - [EVENT_S07E01A_L001] = { EVENT_S07E01A_L001, 12, _("EVENT_S07E01A_L001"), s_script_EVENT_S07E01A_L001 }, - [EVENT_S07E01A_L002] = { EVENT_S07E01A_L002, 12, _("EVENT_S07E01A_L002"), s_script_EVENT_S07E01A_L002 }, - [EVENT_S07E01A_L003] = { EVENT_S07E01A_L003, 12, _("EVENT_S07E01A_L003"), s_script_EVENT_S07E01A_L003 }, - [EVENT_S07E01A_L003L] = { EVENT_S07E01A_L003L, 12, _("EVENT_S07E01A_L003L"), s_script_EVENT_S07E01A_L003L }, - [EVENT_S08E01A_START] = { EVENT_S08E01A_START, 11, _("EVENT_S08E01A_START"), s_script_EVENT_S08E01A_START }, - [EVENT_S08E01A_END] = { EVENT_S08E01A_END, 11, _("EVENT_S08E01A_END"), s_script_EVENT_S08E01A_END }, - [EVENT_S08E01A_L001] = { EVENT_S08E01A_L001, 12, _("EVENT_S08E01A_L001"), s_script_EVENT_S08E01A_L001 }, - [EVENT_S08E01A_L002] = { EVENT_S08E01A_L002, 12, _("EVENT_S08E01A_L002"), s_script_EVENT_S08E01A_L002 }, - [EVENT_S08E01A_L003] = { EVENT_S08E01A_L003, 12, _("EVENT_S08E01A_L003"), s_script_EVENT_S08E01A_L003 }, - [EVENT_S08E01A_L004] = { EVENT_S08E01A_L004, 12, _("EVENT_S08E01A_L004"), s_script_EVENT_S08E01A_L004 }, - [EVENT_S08E01A_L005] = { EVENT_S08E01A_L005, 12, _("EVENT_S08E01A_L005"), s_script_EVENT_S08E01A_L005 }, - [EVENT_S08E01A_L005B] = { EVENT_S08E01A_L005B, 10, _("EVENT_S08E01A_L005B"), s_script_EVENT_S08E01A_L005B }, - [EVENT_S08E01A_L006] = { EVENT_S08E01A_L006, 10, _("EVENT_S08E01A_L006"), s_script_EVENT_S08E01A_L006 }, - [EVENT_S08E01A_L006L] = { EVENT_S08E01A_L006L, 12, _("EVENT_S08E01A_L006L"), s_script_EVENT_S08E01A_L006L }, - [EVENT_S08E01A_L007] = { EVENT_S08E01A_L007, 12, _("EVENT_S08E01A_L007"), s_script_EVENT_S08E01A_L007 }, - [EVENT_S08E01A_L008] = { EVENT_S08E01A_L008, 10, _("EVENT_S08E01A_L008"), s_script_EVENT_S08E01A_L008 }, - [EVENT_S08E01A_L008L] = { EVENT_S08E01A_L008L, 12, _("EVENT_S08E01A_L008L"), s_script_EVENT_S08E01A_L008L }, - [EVENT_S08E01A_L008A] = { EVENT_S08E01A_L008A, 10, _("EVENT_S08E01A_L008A"), s_script_EVENT_S08E01A_L008A }, - [EVENT_S08E01A_L008B] = { EVENT_S08E01A_L008B, 10, _("EVENT_S08E01A_L008B"), s_script_EVENT_S08E01A_L008B }, - [EVENT_S08E01A_L008C] = { EVENT_S08E01A_L008C, 10, _("EVENT_S08E01A_L008C"), s_script_EVENT_S08E01A_L008C }, - [EVENT_S09E01A_START] = { EVENT_S09E01A_START, 11, _("EVENT_S09E01A_START"), s_script_EVENT_S09E01A_START }, - [EVENT_S09E01A_END] = { EVENT_S09E01A_END, 11, _("EVENT_S09E01A_END"), s_script_EVENT_S09E01A_END }, - [EVENT_S09E01A_L001] = { EVENT_S09E01A_L001, 12, _("EVENT_S09E01A_L001"), s_script_EVENT_S09E01A_L001 }, - [EVENT_S09E01A_L002] = { EVENT_S09E01A_L002, 12, _("EVENT_S09E01A_L002"), s_script_EVENT_S09E01A_L002 }, - [EVENT_S09E01A_L003] = { EVENT_S09E01A_L003, 12, _("EVENT_S09E01A_L003"), s_script_EVENT_S09E01A_L003 }, - [EVENT_S09E01A_L004] = { EVENT_S09E01A_L004, 10, _("EVENT_S09E01A_L004"), s_script_EVENT_S09E01A_L004 }, - [EVENT_S09E01A_L004B] = { EVENT_S09E01A_L004B, 10, _("EVENT_S09E01A_L004B"), s_script_EVENT_S09E01A_L004B }, - [EVENT_S09E01A_L005] = { EVENT_S09E01A_L005, 10, _("EVENT_S09E01A_L005"), s_script_EVENT_S09E01A_L005 }, - [EVENT_S09E01A_L005L] = { EVENT_S09E01A_L005L, 12, _("EVENT_S09E01A_L005L"), s_script_EVENT_S09E01A_L005L }, - [EVENT_S09E01B_L001] = { EVENT_S09E01B_L001, 10, _("EVENT_S09E01B_L001"), s_script_EVENT_S09E01B_L001 }, - [EVENT_S09E01B_L001B] = { EVENT_S09E01B_L001B, 10, _("EVENT_S09E01B_L001B"), s_script_EVENT_S09E01B_L001B }, - [EVENT_S09E01B_L002] = { EVENT_S09E01B_L002, 10, _("EVENT_S09E01B_L002"), s_script_EVENT_S09E01B_L002 }, - [EVENT_S09E01B_L002L] = { EVENT_S09E01B_L002L, 12, _("EVENT_S09E01B_L002L"), s_script_EVENT_S09E01B_L002L }, - [EVENT_S09E01C_L001] = { EVENT_S09E01C_L001, 12, _("EVENT_S09E01C_L001"), s_script_EVENT_S09E01C_L001 }, - [EVENT_R00E01A_L001] = { EVENT_R00E01A_L001, 7, _("EVENT_R00E01A_L001"), s_script_EVENT_R00E01A_L001 }, - [COMMON_ENTER] = { COMMON_ENTER, 1, _("COMMON_ENTER"), s_script_COMMON_ENTER }, - [DEBUG_ENTER] = { DEBUG_ENTER, 1, _("DEBUG_ENTER"), s_script_DEBUG_ENTER }, - [GETOUT_NORMAL] = { GETOUT_NORMAL, 2, _("GETOUT_NORMAL"), NULL }, - [GETOUT_HABITAT] = { GETOUT_HABITAT, 2, _("GETOUT_HABITAT"), s_script_GETOUT_HABITAT }, - [GETOUT_M01E01A] = { GETOUT_M01E01A, 2, _("GETOUT_M01E01A"), s_script_GETOUT_M01E01A }, - [GETOUT_M01E02A] = { GETOUT_M01E02A, 2, _("GETOUT_M01E02A"), s_script_GETOUT_M01E02A }, - [GETOUT_M01E02B] = { GETOUT_M01E02B, 2, _("GETOUT_M01E02B"), s_script_GETOUT_M01E02B }, - [GETOUT_M01E03A] = { GETOUT_M01E03A, 2, _("GETOUT_M01E03A"), s_script_GETOUT_M01E03A }, - [GETOUT_M01E04A] = { GETOUT_M01E04A, 2, _("GETOUT_M01E04A"), s_script_GETOUT_M01E04A }, - [GETOUT_M01E04B] = { GETOUT_M01E04B, 2, _("GETOUT_M01E04B"), s_script_GETOUT_M01E04B }, - [GETOUT_M01E05A] = { GETOUT_M01E05A, 2, _("GETOUT_M01E05A"), s_script_GETOUT_M01E05A }, - [GETOUT_M01E07A] = { GETOUT_M01E07A, 2, _("GETOUT_M01E07A"), s_script_GETOUT_M01E07A }, - [GETOUT_M01E07B] = { GETOUT_M01E07B, 2, _("GETOUT_M01E07B"), s_script_GETOUT_M01E07B }, - [GETOUT_M01E08A] = { GETOUT_M01E08A, 2, _("GETOUT_M01E08A"), s_script_GETOUT_M01E08A }, - [GETOUT_M01E08B] = { GETOUT_M01E08B, 2, _("GETOUT_M01E08B"), s_script_GETOUT_M01E08B }, - [GETOUT_M01E09A] = { GETOUT_M01E09A, 2, _("GETOUT_M01E09A"), s_script_GETOUT_M01E09A }, - [GETOUT_M01E10A] = { GETOUT_M01E10A, 2, _("GETOUT_M01E10A"), s_script_GETOUT_M01E10A }, - [GETOUT_S00E01A] = { GETOUT_S00E01A, 2, _("GETOUT_S00E01A"), s_script_GETOUT_S00E01A }, - [GETOUT_S01E01A] = { GETOUT_S01E01A, 2, _("GETOUT_S01E01A"), s_script_GETOUT_S01E01A }, - [GETOUT_S01E02A] = { GETOUT_S01E02A, 2, _("GETOUT_S01E02A"), s_script_GETOUT_S01E02A }, - [GETOUT_S02E01A] = { GETOUT_S02E01A, 2, _("GETOUT_S02E01A"), s_script_GETOUT_S02E01A }, - [GETOUT_S02E02A] = { GETOUT_S02E02A, 2, _("GETOUT_S02E02A"), s_script_GETOUT_S02E02A }, - [GETOUT_S03E01A] = { GETOUT_S03E01A, 2, _("GETOUT_S03E01A"), s_script_GETOUT_S03E01A }, - [GETOUT_S04E01A] = { GETOUT_S04E01A, 2, _("GETOUT_S04E01A"), s_script_GETOUT_S04E01A }, - [GETOUT_S04E01B] = { GETOUT_S04E01B, 2, _("GETOUT_S04E01B"), s_script_GETOUT_S04E01B }, - [GETOUT_S04E01C] = { GETOUT_S04E01C, 2, _("GETOUT_S04E01C"), s_script_GETOUT_S04E01C }, - [GETOUT_S04E01D] = { GETOUT_S04E01D, 2, _("GETOUT_S04E01D"), s_script_GETOUT_S04E01D }, - [GETOUT_S04E01E] = { GETOUT_S04E01E, 2, _("GETOUT_S04E01E"), s_script_GETOUT_S04E01E }, - [GETOUT_S05E01A] = { GETOUT_S05E01A, 2, _("GETOUT_S05E01A"), s_script_GETOUT_S05E01A }, - [GETOUT_S06E01A] = { GETOUT_S06E01A, 2, _("GETOUT_S06E01A"), s_script_GETOUT_S06E01A }, - [GETOUT_S06E01B] = { GETOUT_S06E01B, 2, _("GETOUT_S06E01B"), s_script_GETOUT_S06E01B }, - [GETOUT_S07E01A] = { GETOUT_S07E01A, 2, _("GETOUT_S07E01A"), s_script_GETOUT_S07E01A }, - [GETOUT_S08E01A] = { GETOUT_S08E01A, 2, _("GETOUT_S08E01A"), s_script_GETOUT_S08E01A }, - [GETOUT_S09E01A] = { GETOUT_S09E01A, 2, _("GETOUT_S09E01A"), s_script_GETOUT_S09E01A }, - [GETOUT_S09E01B] = { GETOUT_S09E01B, 2, _("GETOUT_S09E01B"), s_script_GETOUT_S09E01B }, - [GETOUT_D62E01A] = { GETOUT_D62E01A, 2, _("GETOUT_D62E01A"), s_script_GETOUT_D62E01A }, - [GETOUT_D43E01A] = { GETOUT_D43E01A, 2, _("GETOUT_D43E01A"), s_script_GETOUT_D43E01A }, - [GETOUT_D44E01A] = { GETOUT_D44E01A, 2, _("GETOUT_D44E01A"), s_script_GETOUT_D44E01A }, - [GETOUT_D45E01A] = { GETOUT_D45E01A, 2, _("GETOUT_D45E01A"), s_script_GETOUT_D45E01A }, - [GETOUT_D46E01A] = { GETOUT_D46E01A, 2, _("GETOUT_D46E01A"), s_script_GETOUT_D46E01A }, - [GETOUT_U00E01A] = { GETOUT_U00E01A, 2, _("GETOUT_U00E01A"), s_script_GETOUT_U00E01A }, - [GETOUT_R00E01A] = { GETOUT_R00E01A, 2, _("GETOUT_R00E01A"), s_script_GETOUT_R00E01A }, - [GETOUT_T00E01A] = { GETOUT_T00E01A, 2, _("GETOUT_T00E01A"), s_script_GETOUT_T00E01A }, - [GETOUT_M01E07T] = { GETOUT_M01E07T, 2, _("GETOUT_M01E07T"), s_script_GETOUT_M01E07T }, - [GETOUT_M01E08T] = { GETOUT_M01E08T, 2, _("GETOUT_M01E08T"), s_script_GETOUT_M01E08T }, - [EVENT_CONTROL] = { EVENT_CONTROL, 7, _("EVENT_CONTROL"), NULL }, - [EVENT_WAKEUP] = { EVENT_WAKEUP, 7, _("EVENT_WAKEUP"), NULL }, - [EVENT_STATION] = { EVENT_STATION, 7, _("EVENT_STATION"), NULL }, - [STATION_CONTROL] = { STATION_CONTROL, 8, _("STATION_CONTROL"), NULL }, - [ENTER_CONTROL] = { ENTER_CONTROL, 1, _("ENTER_CONTROL"), NULL }, - [SETUP_DEBUG_CAMERA] = { SETUP_DEBUG_CAMERA, 7, _("SETUP_DEBUG_CAMERA"), s_script_SETUP_DEBUG_CAMERA }, - [MOVE_DEBUG_CAMERA] = { MOVE_DEBUG_CAMERA, 5, _("MOVE_DEBUG_CAMERA"), s_script_MOVE_DEBUG_CAMERA }, +// R = 0x812F1F8 | B = arm9.bin::020E7BE4 +const ScriptRef gFunctionScriptTable[NUM_SCRIPT_IDS] = { + [END_TALK] = { END_TALK, SCRIPT_TYPE_04, _("END_TALK"), s_script_END_TALK }, + [WAIT_END_TALK_FUNC] = { WAIT_END_TALK_FUNC, SCRIPT_TYPE_04, _("WAIT_END_TALK_FUNC"), s_script_WAIT_END_TALK_FUNC }, + [WAIT_END_EVENT_FUNC] = { WAIT_END_EVENT_FUNC, SCRIPT_TYPE_04, _("WAIT_END_EVENT_FUNC"), s_script_WAIT_END_EVENT_FUNC }, + [WAIT_START_FUNC] = { WAIT_START_FUNC, SCRIPT_TYPE_04, _("WAIT_START_FUNC"), s_script_WAIT_START_FUNC }, + [INCOMPLETE_TALK] = { INCOMPLETE_TALK, SCRIPT_TYPE_04, _("INCOMPLETE_TALK"), s_script_INCOMPLETE_TALK }, + [NORMAL_WAIT_END_TALK] = { NORMAL_WAIT_END_TALK, SCRIPT_TYPE_04, _("NORMAL_WAIT_END_TALK"), s_script_NORMAL_WAIT_END_TALK }, + [LIVES_REPLY_NORMAL] = { LIVES_REPLY_NORMAL, SCRIPT_TYPE_04, _("LIVES_REPLY_NORMAL"), s_script_LIVES_REPLY_NORMAL }, + [LIVES_REPLY] = { LIVES_REPLY, SCRIPT_TYPE_04, _("LIVES_REPLY"), s_script_LIVES_REPLY }, + [OBJECT_REPLY_NORMAL] = { OBJECT_REPLY_NORMAL, SCRIPT_TYPE_04, _("OBJECT_REPLY_NORMAL"), s_script_OBJECT_REPLY_NORMAL }, + [EXAMINE_MISS] = { EXAMINE_MISS, SCRIPT_TYPE_04, _("EXAMINE_MISS"), s_script_EXAMINE_MISS }, + [ENTER_WAIT_FUNC] = { ENTER_WAIT_FUNC, SCRIPT_TYPE_04, _("ENTER_WAIT_FUNC"), s_script_ENTER_WAIT_FUNC }, + [UNIT_TALK] = { UNIT_TALK, SCRIPT_TYPE_04, _("UNIT_TALK"), s_script_UNIT_TALK }, + [HABITAT_TALK] = { HABITAT_TALK, SCRIPT_TYPE_04, _("HABITAT_TALK"), s_script_HABITAT_TALK }, + [HABITAT_TALK_S01E02A] = { HABITAT_TALK_S01E02A, SCRIPT_TYPE_04, _("HABITAT_TALK_S01E02A"), s_script_HABITAT_TALK_S01E02A }, + [HABITAT_MOVE1] = { HABITAT_MOVE1, SCRIPT_TYPE_05, _("HABITAT_MOVE1"), s_script_HABITAT_MOVE1 }, + [HABITAT_MOVE2] = { HABITAT_MOVE2, SCRIPT_TYPE_05, _("HABITAT_MOVE2"), s_script_HABITAT_MOVE2 }, + [HABITAT_MOVE_PAUSE] = { HABITAT_MOVE_PAUSE, SCRIPT_TYPE_05, _("HABITAT_MOVE_PAUSE"), s_script_HABITAT_MOVE_PAUSE }, + [HABITAT_MOVE_STAY_FIX] = { HABITAT_MOVE_STAY_FIX, SCRIPT_TYPE_05, _("HABITAT_MOVE_STAY_FIX"), s_script_HABITAT_MOVE_STAY_FIX }, + [HABITAT_MOVE_STAY_TURN] = { HABITAT_MOVE_STAY_TURN, SCRIPT_TYPE_05, _("HABITAT_MOVE_STAY_TURN"), s_script_HABITAT_MOVE_STAY_TURN }, + [LIVES_MOVE_NORMAL] = { LIVES_MOVE_NORMAL, SCRIPT_TYPE_05, _("LIVES_MOVE_NORMAL"), s_script_LIVES_MOVE_NORMAL }, + [LIVES_MOVE_CHANGE] = { LIVES_MOVE_CHANGE, SCRIPT_TYPE_05, _("LIVES_MOVE_CHANGE"), s_script_LIVES_MOVE_CHANGE }, + [OBJECT_MOVE_NORMAL] = { OBJECT_MOVE_NORMAL, SCRIPT_TYPE_05, _("OBJECT_MOVE_NORMAL"), s_script_OBJECT_MOVE_NORMAL }, + [OBJECT_MOVE_CHANGE] = { OBJECT_MOVE_CHANGE, SCRIPT_TYPE_05, _("OBJECT_MOVE_CHANGE"), s_script_OBJECT_MOVE_CHANGE }, + [EFFECT_MOVE_NORMAL] = { EFFECT_MOVE_NORMAL, SCRIPT_TYPE_05, _("EFFECT_MOVE_NORMAL"), s_script_EFFECT_MOVE_NORMAL }, + [EFFECT_MOVE_CHANGE] = { EFFECT_MOVE_CHANGE, SCRIPT_TYPE_05, _("EFFECT_MOVE_CHANGE"), s_script_EFFECT_MOVE_CHANGE }, + [MOVE_INIT] = { MOVE_INIT, SCRIPT_TYPE_05, _("MOVE_INIT"), s_script_MOVE_INIT }, + [MOVE_PAUSE] = { MOVE_PAUSE, SCRIPT_TYPE_05, _("MOVE_PAUSE"), s_script_MOVE_PAUSE }, + [MOVE_STAY] = { MOVE_STAY, SCRIPT_TYPE_05, _("MOVE_STAY"), s_script_MOVE_STAY }, + [MOVE_SLEEP] = { MOVE_SLEEP, SCRIPT_TYPE_05, _("MOVE_SLEEP"), s_script_MOVE_SLEEP }, + [MOVE_RANDOM] = { MOVE_RANDOM, SCRIPT_TYPE_05, _("MOVE_RANDOM"), s_script_MOVE_RANDOM }, + [MOVE_BOY] = { MOVE_BOY, SCRIPT_TYPE_05, _("MOVE_BOY"), s_script_MOVE_BOY }, + [MOVE_GIRL] = { MOVE_GIRL, SCRIPT_TYPE_05, _("MOVE_GIRL"), s_script_MOVE_GIRL }, + [WAKEUP_FUNC] = { WAKEUP_FUNC, SCRIPT_TYPE_09, _("WAKEUP_FUNC"), s_script_WAKEUP_FUNC }, + [LOOK_AROUND_FUNC] = { LOOK_AROUND_FUNC, SCRIPT_TYPE_09, _("LOOK_AROUND_FUNC"), s_script_LOOK_AROUND_FUNC }, + [LOOK_AROUND_DOWN_FUNC] = { LOOK_AROUND_DOWN_FUNC, SCRIPT_TYPE_09, _("LOOK_AROUND_DOWN_FUNC"), s_script_LOOK_AROUND_DOWN_FUNC }, + [LOOK_AROUND_RIGHT_FUNC] = { LOOK_AROUND_RIGHT_FUNC, SCRIPT_TYPE_09, _("LOOK_AROUND_RIGHT_FUNC"), s_script_LOOK_AROUND_RIGHT_FUNC }, + [LOOK_AROUND_LEFT_FUNC] = { LOOK_AROUND_LEFT_FUNC, SCRIPT_TYPE_09, _("LOOK_AROUND_LEFT_FUNC"), s_script_LOOK_AROUND_LEFT_FUNC }, + [JUMP_HAPPY_FUNC] = { JUMP_HAPPY_FUNC, SCRIPT_TYPE_09, _("JUMP_HAPPY_FUNC"), s_script_JUMP_HAPPY_FUNC }, + [JUMP_SURPRISE_FUNC] = { JUMP_SURPRISE_FUNC, SCRIPT_TYPE_09, _("JUMP_SURPRISE_FUNC"), s_script_JUMP_SURPRISE_FUNC }, + [JUMP_ANGRY_FUNC] = { JUMP_ANGRY_FUNC, SCRIPT_TYPE_09, _("JUMP_ANGRY_FUNC"), s_script_JUMP_ANGRY_FUNC }, + [NOTICE_FUNC] = { NOTICE_FUNC, SCRIPT_TYPE_09, _("NOTICE_FUNC"), s_script_NOTICE_FUNC }, + [QUESTION_FUNC] = { QUESTION_FUNC, SCRIPT_TYPE_09, _("QUESTION_FUNC"), s_script_QUESTION_FUNC }, + [SWEAT_FUNC] = { SWEAT_FUNC, SCRIPT_TYPE_09, _("SWEAT_FUNC"), s_script_SWEAT_FUNC }, + [SHOCK_FUNC] = { SHOCK_FUNC, SCRIPT_TYPE_09, _("SHOCK_FUNC"), s_script_SHOCK_FUNC }, + [SPREE_START_FUNC] = { SPREE_START_FUNC, SCRIPT_TYPE_09, _("SPREE_START_FUNC"), s_script_SPREE_START_FUNC }, + [SPREE_END_FUNC] = { SPREE_END_FUNC, SCRIPT_TYPE_09, _("SPREE_END_FUNC"), s_script_SPREE_END_FUNC }, + [SMILE_START_FUNC] = { SMILE_START_FUNC, SCRIPT_TYPE_09, _("SMILE_START_FUNC"), s_script_SMILE_START_FUNC }, + [SMILE_END_FUNC] = { SMILE_END_FUNC, SCRIPT_TYPE_09, _("SMILE_END_FUNC"), s_script_SMILE_END_FUNC }, + [ANGRY_START_FUNC] = { ANGRY_START_FUNC, SCRIPT_TYPE_09, _("ANGRY_START_FUNC"), s_script_ANGRY_START_FUNC }, + [ANGRY_END_FUNC] = { ANGRY_END_FUNC, SCRIPT_TYPE_09, _("ANGRY_END_FUNC"), s_script_ANGRY_END_FUNC }, + [MOVE_PLAZA_SLEEP] = { MOVE_PLAZA_SLEEP, SCRIPT_TYPE_05, _("MOVE_PLAZA_SLEEP"), s_script_MOVE_PLAZA_SLEEP }, + [INIT_PLAZA_SLEEP_STAY_FUNC] = { INIT_PLAZA_SLEEP_STAY_FUNC, SCRIPT_TYPE_09, _("INIT_PLAZA_SLEEP_STAY_FUNC"), s_script_INIT_PLAZA_SLEEP_STAY_FUNC }, + [INIT_PLAZA_SLEEP_TALK_FUNC] = { INIT_PLAZA_SLEEP_TALK_FUNC, SCRIPT_TYPE_09, _("INIT_PLAZA_SLEEP_TALK_FUNC"), s_script_INIT_PLAZA_SLEEP_TALK_FUNC }, + [INIT_SLEEP_FUNC] = { INIT_SLEEP_FUNC, SCRIPT_TYPE_08, _("INIT_SLEEP_FUNC"), s_script_INIT_SLEEP_FUNC }, + [INIT_BASE_FUNC] = { INIT_BASE_FUNC, SCRIPT_TYPE_08, _("INIT_BASE_FUNC"), s_script_INIT_BASE_FUNC }, + [INIT_DEBUG_HABITAT] = { INIT_DEBUG_HABITAT, SCRIPT_TYPE_08, _("INIT_DEBUG_HABITAT"), s_script_INIT_DEBUG_HABITAT }, + [NORMAL_MESSAGE] = { NORMAL_MESSAGE, SCRIPT_TYPE_07, _("NORMAL_MESSAGE"), NULL }, + [NORMAL_EVENT] = { NORMAL_EVENT, SCRIPT_TYPE_07, _("NORMAL_EVENT"), NULL }, + [NORMAL_CAMERA] = { NORMAL_CAMERA, SCRIPT_TYPE_07, _("NORMAL_CAMERA"), s_script_NORMAL_CAMERA }, + [DISMISSAL_SALLY_MEMBER_FUNC] = { DISMISSAL_SALLY_MEMBER_FUNC, SCRIPT_TYPE_07, _("DISMISSAL_SALLY_MEMBER_FUNC"), s_script_DISMISSAL_SALLY_MEMBER_FUNC }, + [DISMISSAL_SALLY_MEMBER2_FUNC] = { DISMISSAL_SALLY_MEMBER2_FUNC, SCRIPT_TYPE_07, _("DISMISSAL_SALLY_MEMBER2_FUNC"), s_script_DISMISSAL_SALLY_MEMBER2_FUNC }, + [DISMISSAL_SALLY_MEMBER3_FUNC] = { DISMISSAL_SALLY_MEMBER3_FUNC, SCRIPT_TYPE_07, _("DISMISSAL_SALLY_MEMBER3_FUNC"), s_script_DISMISSAL_SALLY_MEMBER3_FUNC }, + [DISMISSAL_SALLY_MEMBER4_FUNC] = { DISMISSAL_SALLY_MEMBER4_FUNC, SCRIPT_TYPE_07, _("DISMISSAL_SALLY_MEMBER4_FUNC"), s_script_DISMISSAL_SALLY_MEMBER4_FUNC }, + [NEXT_SAVE_FUNC] = { NEXT_SAVE_FUNC, SCRIPT_TYPE_07, _("NEXT_SAVE_FUNC"), s_script_NEXT_SAVE_FUNC }, + [NEXT_SAVE2_FUNC] = { NEXT_SAVE2_FUNC, SCRIPT_TYPE_07, _("NEXT_SAVE2_FUNC"), s_script_NEXT_SAVE2_FUNC }, + [SAVE_POINT] = { SAVE_POINT, SCRIPT_TYPE_07, _("SAVE_POINT"), s_script_SAVE_POINT }, + [WAREHOUSE_POINT] = { WAREHOUSE_POINT, SCRIPT_TYPE_07, _("WAREHOUSE_POINT"), s_script_WAREHOUSE_POINT }, + [SAVE_AND_WAREHOUSE_POINT] = { SAVE_AND_WAREHOUSE_POINT, SCRIPT_TYPE_07, _("SAVE_AND_WAREHOUSE_POINT"), s_script_SAVE_AND_WAREHOUSE_POINT }, + [WORLD_MAP_POINT] = { WORLD_MAP_POINT, SCRIPT_TYPE_07, _("WORLD_MAP_POINT"), s_script_WORLD_MAP_POINT }, + [FORMATION_HERO] = { FORMATION_HERO, SCRIPT_TYPE_07, _("FORMATION_HERO"), s_script_FORMATION_HERO }, + [EVOLUTION_HERO] = { EVOLUTION_HERO, SCRIPT_TYPE_07, _("EVOLUTION_HERO"), s_script_EVOLUTION_HERO }, + [WARP_LIVES_START] = { WARP_LIVES_START, SCRIPT_TYPE_07, _("WARP_LIVES_START"), s_script_WARP_LIVES_START }, + [WARP_LIVES_START2] = { WARP_LIVES_START2, SCRIPT_TYPE_07, _("WARP_LIVES_START2"), s_script_WARP_LIVES_START2 }, + [WARP_LIVES_START3] = { WARP_LIVES_START3, SCRIPT_TYPE_07, _("WARP_LIVES_START3"), s_script_WARP_LIVES_START3 }, + [WARP_LIVES_ARRIVE] = { WARP_LIVES_ARRIVE, SCRIPT_TYPE_07, _("WARP_LIVES_ARRIVE"), s_script_WARP_LIVES_ARRIVE }, + [WARP_LIVES_ARRIVE2] = { WARP_LIVES_ARRIVE2, SCRIPT_TYPE_07, _("WARP_LIVES_ARRIVE2"), s_script_WARP_LIVES_ARRIVE2 }, + [WARP_LIVES_ARRIVE3] = { WARP_LIVES_ARRIVE3, SCRIPT_TYPE_07, _("WARP_LIVES_ARRIVE3"), s_script_WARP_LIVES_ARRIVE3 }, + [LIVES_WARP_START_FUNC] = { LIVES_WARP_START_FUNC, SCRIPT_TYPE_07, _("LIVES_WARP_START_FUNC"), s_script_LIVES_WARP_START_FUNC }, + [LIVES_WARP_START2_FUNC] = { LIVES_WARP_START2_FUNC, SCRIPT_TYPE_07, _("LIVES_WARP_START2_FUNC"), s_script_LIVES_WARP_START2_FUNC }, + [LIVES_WARP_START3_FUNC] = { LIVES_WARP_START3_FUNC, SCRIPT_TYPE_07, _("LIVES_WARP_START3_FUNC"), s_script_LIVES_WARP_START3_FUNC }, + [LIVES_WARP_START_SUB] = { LIVES_WARP_START_SUB, SCRIPT_TYPE_07, _("LIVES_WARP_START_SUB"), s_script_LIVES_WARP_START_SUB }, + [LIVES_WARP_ARRIVE_FUNC] = { LIVES_WARP_ARRIVE_FUNC, SCRIPT_TYPE_07, _("LIVES_WARP_ARRIVE_FUNC"), s_script_LIVES_WARP_ARRIVE_FUNC }, + [LIVES_WARP_ARRIVE2_FUNC] = { LIVES_WARP_ARRIVE2_FUNC, SCRIPT_TYPE_07, _("LIVES_WARP_ARRIVE2_FUNC"), s_script_LIVES_WARP_ARRIVE2_FUNC }, + [LIVES_WARP_ARRIVE3_FUNC] = { LIVES_WARP_ARRIVE3_FUNC, SCRIPT_TYPE_07, _("LIVES_WARP_ARRIVE3_FUNC"), s_script_LIVES_WARP_ARRIVE3_FUNC }, + [LIVES_WARP_ARRIVE_SUB] = { LIVES_WARP_ARRIVE_SUB, SCRIPT_TYPE_07, _("LIVES_WARP_ARRIVE_SUB"), s_script_LIVES_WARP_ARRIVE_SUB }, + [GET_ITEM_FUNC] = { GET_ITEM_FUNC, SCRIPT_TYPE_07, _("GET_ITEM_FUNC"), s_script_GET_ITEM_FUNC }, + [GET_ITEM_WAIT_FUNC] = { GET_ITEM_WAIT_FUNC, SCRIPT_TYPE_07, _("GET_ITEM_WAIT_FUNC"), s_script_GET_ITEM_WAIT_FUNC }, + [GET_ITEM2_FUNC] = { GET_ITEM2_FUNC, SCRIPT_TYPE_07, _("GET_ITEM2_FUNC"), s_script_GET_ITEM2_FUNC }, + [GET_ITEM2_WAIT_FUNC] = { GET_ITEM2_WAIT_FUNC, SCRIPT_TYPE_07, _("GET_ITEM2_WAIT_FUNC"), s_script_GET_ITEM2_WAIT_FUNC }, + [JOIN_FUNC] = { JOIN_FUNC, SCRIPT_TYPE_07, _("JOIN_FUNC"), s_script_JOIN_FUNC }, + [LODGE_START_FUNC] = { LODGE_START_FUNC, SCRIPT_TYPE_07, _("LODGE_START_FUNC"), s_script_LODGE_START_FUNC }, + [LODGE_WAIT_FUNC] = { LODGE_WAIT_FUNC, SCRIPT_TYPE_07, _("LODGE_WAIT_FUNC"), s_script_LODGE_WAIT_FUNC }, + [LODGE_END_FUNC] = { LODGE_END_FUNC, SCRIPT_TYPE_07, _("LODGE_END_FUNC"), s_script_LODGE_END_FUNC }, + [LODGE_SOUND_FUNC] = { LODGE_SOUND_FUNC, SCRIPT_TYPE_07, _("LODGE_SOUND_FUNC"), s_script_LODGE_SOUND_FUNC }, + [SAVE_START_FUNC] = { SAVE_START_FUNC, SCRIPT_TYPE_07, _("SAVE_START_FUNC"), s_script_SAVE_START_FUNC }, + [SAVE_WAIT_FUNC] = { SAVE_WAIT_FUNC, SCRIPT_TYPE_07, _("SAVE_WAIT_FUNC"), s_script_SAVE_WAIT_FUNC }, + [SAVE_END_FUNC] = { SAVE_END_FUNC, SCRIPT_TYPE_07, _("SAVE_END_FUNC"), s_script_SAVE_END_FUNC }, + [SAVE_SOUND_FUNC] = { SAVE_SOUND_FUNC, SCRIPT_TYPE_07, _("SAVE_SOUND_FUNC"), s_script_SAVE_SOUND_FUNC }, + [EFFECT_TEST1] = { EFFECT_TEST1, SCRIPT_TYPE_09, _("EFFECT_TEST1"), s_script_EFFECT_TEST1 }, + [EFFECT_TEST2] = { EFFECT_TEST2, SCRIPT_TYPE_09, _("EFFECT_TEST2"), s_script_EFFECT_TEST2 }, + [EFFECT_MOVE_DIVE] = { EFFECT_MOVE_DIVE, SCRIPT_TYPE_09, _("EFFECT_MOVE_DIVE"), s_script_EFFECT_MOVE_DIVE }, + [EFFECT_MOVE_WAVE] = { EFFECT_MOVE_WAVE, SCRIPT_TYPE_09, _("EFFECT_MOVE_WAVE"), s_script_EFFECT_MOVE_WAVE }, + [EVENT_DIVIDE] = { EVENT_DIVIDE, SCRIPT_TYPE_07, _("EVENT_DIVIDE"), s_script_EVENT_DIVIDE }, + [EVENT_DIVIDE_NEXT] = { EVENT_DIVIDE_NEXT, SCRIPT_TYPE_07, _("EVENT_DIVIDE_NEXT"), s_script_EVENT_DIVIDE_NEXT }, + [EVENT_DIVIDE_INIT_FUNC] = { EVENT_DIVIDE_INIT_FUNC, SCRIPT_TYPE_07, _("EVENT_DIVIDE_INIT_FUNC"), s_script_EVENT_DIVIDE_INIT_FUNC }, + [EVENT_DIVIDE_NEXT_DAY_FUNC] = { EVENT_DIVIDE_NEXT_DAY_FUNC, SCRIPT_TYPE_07, _("EVENT_DIVIDE_NEXT_DAY_FUNC"), s_script_EVENT_DIVIDE_NEXT_DAY_FUNC }, + [EVENT_DIVIDE_NEXT_DAY2_FUNC] = { EVENT_DIVIDE_NEXT_DAY2_FUNC, SCRIPT_TYPE_07, _("EVENT_DIVIDE_NEXT_DAY2_FUNC"), s_script_EVENT_DIVIDE_NEXT_DAY2_FUNC }, + [EVENT_DIVIDE_FIRST] = { EVENT_DIVIDE_FIRST, SCRIPT_TYPE_07, _("EVENT_DIVIDE_FIRST"), s_script_EVENT_DIVIDE_FIRST }, + [EVENT_DIVIDE_SECOND] = { EVENT_DIVIDE_SECOND, SCRIPT_TYPE_07, _("EVENT_DIVIDE_SECOND"), s_script_EVENT_DIVIDE_SECOND }, + [EVENT_DIVIDE_AFTER] = { EVENT_DIVIDE_AFTER, SCRIPT_TYPE_07, _("EVENT_DIVIDE_AFTER"), s_script_EVENT_DIVIDE_AFTER }, + [EVENT_DIVIDE_WARP_LOCK_FUNC] = { EVENT_DIVIDE_WARP_LOCK_FUNC, SCRIPT_TYPE_07, _("EVENT_DIVIDE_WARP_LOCK_FUNC"), s_script_EVENT_DIVIDE_WARP_LOCK_FUNC }, + [EVENT_RESCUE_ENTER_CHECK] = { EVENT_RESCUE_ENTER_CHECK, SCRIPT_TYPE_07, _("EVENT_RESCUE_ENTER_CHECK"), s_script_EVENT_RESCUE_ENTER_CHECK }, + [EVENT_RESCUE] = { EVENT_RESCUE, SCRIPT_TYPE_07, _("EVENT_RESCUE"), s_script_EVENT_RESCUE }, + [DEBUG_SCRIPT] = { DEBUG_SCRIPT, SCRIPT_TYPE_07, _("DEBUG_SCRIPT"), s_script_DEBUG_SCRIPT }, + [DEMO_CANCEL] = { DEMO_CANCEL, SCRIPT_TYPE_07, _("DEMO_CANCEL"), s_script_DEMO_CANCEL }, + [DEMO_01] = { DEMO_01, SCRIPT_TYPE_10, _("DEMO_01"), s_script_DEMO_01 }, + [DEMO_02] = { DEMO_02, SCRIPT_TYPE_10, _("DEMO_02"), s_script_DEMO_02 }, + [DEMO_03] = { DEMO_03, SCRIPT_TYPE_10, _("DEMO_03"), s_script_DEMO_03 }, + [DEMO_04] = { DEMO_04, SCRIPT_TYPE_10, _("DEMO_04"), s_script_DEMO_04 }, + [EVENT_M00E01A_L001] = { EVENT_M00E01A_L001, SCRIPT_TYPE_10, _("EVENT_M00E01A_L001"), s_script_EVENT_M00E01A_L001 }, + [EVENT_M01E01A_L001] = { EVENT_M01E01A_L001, SCRIPT_TYPE_10, _("EVENT_M01E01A_L001"), s_script_EVENT_M01E01A_L001 }, + [EVENT_M01E01A_L002] = { EVENT_M01E01A_L002, SCRIPT_TYPE_10, _("EVENT_M01E01A_L002"), s_script_EVENT_M01E01A_L002 }, + [EVENT_M01E01A_L003] = { EVENT_M01E01A_L003, SCRIPT_TYPE_10, _("EVENT_M01E01A_L003"), s_script_EVENT_M01E01A_L003 }, + [EVENT_M01E02A_L001] = { EVENT_M01E02A_L001, SCRIPT_TYPE_10, _("EVENT_M01E02A_L001"), s_script_EVENT_M01E02A_L001 }, + [EVENT_M01E02A_L001B] = { EVENT_M01E02A_L001B, SCRIPT_TYPE_12, _("EVENT_M01E02A_L001B"), s_script_EVENT_M01E02A_L001B }, + [EVENT_M01E02A_L001C] = { EVENT_M01E02A_L001C, SCRIPT_TYPE_10, _("EVENT_M01E02A_L001C"), s_script_EVENT_M01E02A_L001C }, + [EVENT_M01E02A_L002] = { EVENT_M01E02A_L002, SCRIPT_TYPE_10, _("EVENT_M01E02A_L002"), s_script_EVENT_M01E02A_L002 }, + [EVENT_M01E02A_L003] = { EVENT_M01E02A_L003, SCRIPT_TYPE_10, _("EVENT_M01E02A_L003"), s_script_EVENT_M01E02A_L003 }, + [EVENT_M01E02A_L004] = { EVENT_M01E02A_L004, SCRIPT_TYPE_10, _("EVENT_M01E02A_L004"), s_script_EVENT_M01E02A_L004 }, + [EVENT_M01E02A_L005] = { EVENT_M01E02A_L005, SCRIPT_TYPE_10, _("EVENT_M01E02A_L005"), s_script_EVENT_M01E02A_L005 }, + [EVENT_M01E02A_L006] = { EVENT_M01E02A_L006, SCRIPT_TYPE_10, _("EVENT_M01E02A_L006"), s_script_EVENT_M01E02A_L006 }, + [EVENT_M01E02B_L001] = { EVENT_M01E02B_L001, SCRIPT_TYPE_10, _("EVENT_M01E02B_L001"), s_script_EVENT_M01E02B_L001 }, + [EVENT_M01E02B_L002] = { EVENT_M01E02B_L002, SCRIPT_TYPE_10, _("EVENT_M01E02B_L002"), s_script_EVENT_M01E02B_L002 }, + [EVENT_M01E02B_L003] = { EVENT_M01E02B_L003, SCRIPT_TYPE_10, _("EVENT_M01E02B_L003"), s_script_EVENT_M01E02B_L003 }, + [EVENT_M01E02B_L004] = { EVENT_M01E02B_L004, SCRIPT_TYPE_10, _("EVENT_M01E02B_L004"), s_script_EVENT_M01E02B_L004 }, + [EVENT_M01E02B_L004B] = { EVENT_M01E02B_L004B, SCRIPT_TYPE_10, _("EVENT_M01E02B_L004B"), s_script_EVENT_M01E02B_L004B }, + [EVENT_M01E02B_L005] = { EVENT_M01E02B_L005, SCRIPT_TYPE_10, _("EVENT_M01E02B_L005"), s_script_EVENT_M01E02B_L005 }, + [EVENT_M01E02B_L006] = { EVENT_M01E02B_L006, SCRIPT_TYPE_10, _("EVENT_M01E02B_L006"), s_script_EVENT_M01E02B_L006 }, + [EVENT_M01E02B_L007] = { EVENT_M01E02B_L007, SCRIPT_TYPE_10, _("EVENT_M01E02B_L007"), s_script_EVENT_M01E02B_L007 }, + [EVENT_M01E02B_L008] = { EVENT_M01E02B_L008, SCRIPT_TYPE_10, _("EVENT_M01E02B_L008"), s_script_EVENT_M01E02B_L008 }, + [EVENT_M01E03A_L000] = { EVENT_M01E03A_L000, SCRIPT_TYPE_10, _("EVENT_M01E03A_L000"), s_script_EVENT_M01E03A_L000 }, + [EVENT_M01E03A_L001] = { EVENT_M01E03A_L001, SCRIPT_TYPE_10, _("EVENT_M01E03A_L001"), s_script_EVENT_M01E03A_L001 }, + [EVENT_M01E03A_L002] = { EVENT_M01E03A_L002, SCRIPT_TYPE_10, _("EVENT_M01E03A_L002"), s_script_EVENT_M01E03A_L002 }, + [EVENT_M01E03A_L003] = { EVENT_M01E03A_L003, SCRIPT_TYPE_10, _("EVENT_M01E03A_L003"), s_script_EVENT_M01E03A_L003 }, + [EVENT_M01E03A_L004] = { EVENT_M01E03A_L004, SCRIPT_TYPE_10, _("EVENT_M01E03A_L004"), s_script_EVENT_M01E03A_L004 }, + [EVENT_M01E03A_L005] = { EVENT_M01E03A_L005, SCRIPT_TYPE_10, _("EVENT_M01E03A_L005"), s_script_EVENT_M01E03A_L005 }, + [EVENT_M01E03A_L006] = { EVENT_M01E03A_L006, SCRIPT_TYPE_10, _("EVENT_M01E03A_L006"), s_script_EVENT_M01E03A_L006 }, + [EVENT_M01E03A_L007] = { EVENT_M01E03A_L007, SCRIPT_TYPE_10, _("EVENT_M01E03A_L007"), s_script_EVENT_M01E03A_L007 }, + [EVENT_M01E03A_L008] = { EVENT_M01E03A_L008, SCRIPT_TYPE_10, _("EVENT_M01E03A_L008"), s_script_EVENT_M01E03A_L008 }, + [EVENT_M01E03A_L009] = { EVENT_M01E03A_L009, SCRIPT_TYPE_10, _("EVENT_M01E03A_L009"), s_script_EVENT_M01E03A_L009 }, + [EVENT_M01E03A_L010] = { EVENT_M01E03A_L010, SCRIPT_TYPE_10, _("EVENT_M01E03A_L010"), s_script_EVENT_M01E03A_L010 }, + [EVENT_M01E03A_L011] = { EVENT_M01E03A_L011, SCRIPT_TYPE_10, _("EVENT_M01E03A_L011"), s_script_EVENT_M01E03A_L011 }, + [EVENT_M01E04A_L000] = { EVENT_M01E04A_L000, SCRIPT_TYPE_10, _("EVENT_M01E04A_L000"), s_script_EVENT_M01E04A_L000 }, + [EVENT_M01E04A_L001] = { EVENT_M01E04A_L001, SCRIPT_TYPE_10, _("EVENT_M01E04A_L001"), s_script_EVENT_M01E04A_L001 }, + [EVENT_M01E04A_L002] = { EVENT_M01E04A_L002, SCRIPT_TYPE_10, _("EVENT_M01E04A_L002"), s_script_EVENT_M01E04A_L002 }, + [EVENT_M01E04A_L003] = { EVENT_M01E04A_L003, SCRIPT_TYPE_10, _("EVENT_M01E04A_L003"), s_script_EVENT_M01E04A_L003 }, + [EVENT_M01E04A_L004] = { EVENT_M01E04A_L004, SCRIPT_TYPE_10, _("EVENT_M01E04A_L004"), s_script_EVENT_M01E04A_L004 }, + [EVENT_M01E04A_L005] = { EVENT_M01E04A_L005, SCRIPT_TYPE_12, _("EVENT_M01E04A_L005"), s_script_EVENT_M01E04A_L005 }, + [EVENT_M01E04A_L006] = { EVENT_M01E04A_L006, SCRIPT_TYPE_10, _("EVENT_M01E04A_L006"), s_script_EVENT_M01E04A_L006 }, + [EVENT_M01E04B_L000] = { EVENT_M01E04B_L000, SCRIPT_TYPE_10, _("EVENT_M01E04B_L000"), s_script_EVENT_M01E04B_L000 }, + [EVENT_M01E04B_L001] = { EVENT_M01E04B_L001, SCRIPT_TYPE_10, _("EVENT_M01E04B_L001"), s_script_EVENT_M01E04B_L001 }, + [EVENT_M01E04B_L002] = { EVENT_M01E04B_L002, SCRIPT_TYPE_10, _("EVENT_M01E04B_L002"), s_script_EVENT_M01E04B_L002 }, + [EVENT_M01E04B_L003] = { EVENT_M01E04B_L003, SCRIPT_TYPE_10, _("EVENT_M01E04B_L003"), s_script_EVENT_M01E04B_L003 }, + [EVENT_M01E04B_L004] = { EVENT_M01E04B_L004, SCRIPT_TYPE_10, _("EVENT_M01E04B_L004"), s_script_EVENT_M01E04B_L004 }, + [EVENT_M01E04B_L005] = { EVENT_M01E04B_L005, SCRIPT_TYPE_10, _("EVENT_M01E04B_L005"), s_script_EVENT_M01E04B_L005 }, + [EVENT_M01E04B_L006] = { EVENT_M01E04B_L006, SCRIPT_TYPE_10, _("EVENT_M01E04B_L006"), s_script_EVENT_M01E04B_L006 }, + [EVENT_M01E04B_L007] = { EVENT_M01E04B_L007, SCRIPT_TYPE_10, _("EVENT_M01E04B_L007"), s_script_EVENT_M01E04B_L007 }, + [EVENT_M01E05A_L000] = { EVENT_M01E05A_L000, SCRIPT_TYPE_10, _("EVENT_M01E05A_L000"), s_script_EVENT_M01E05A_L000 }, + [EVENT_M01E05A_L001] = { EVENT_M01E05A_L001, SCRIPT_TYPE_10, _("EVENT_M01E05A_L001"), s_script_EVENT_M01E05A_L001 }, + [EVENT_M01E05A_L002] = { EVENT_M01E05A_L002, SCRIPT_TYPE_10, _("EVENT_M01E05A_L002"), s_script_EVENT_M01E05A_L002 }, + [EVENT_M01E05A_L003] = { EVENT_M01E05A_L003, SCRIPT_TYPE_10, _("EVENT_M01E05A_L003"), s_script_EVENT_M01E05A_L003 }, + [EVENT_M01E05A_L004] = { EVENT_M01E05A_L004, SCRIPT_TYPE_10, _("EVENT_M01E05A_L004"), s_script_EVENT_M01E05A_L004 }, + [EVENT_M01E05A_L005] = { EVENT_M01E05A_L005, SCRIPT_TYPE_10, _("EVENT_M01E05A_L005"), s_script_EVENT_M01E05A_L005 }, + [EVENT_M01E05A_L006] = { EVENT_M01E05A_L006, SCRIPT_TYPE_10, _("EVENT_M01E05A_L006"), s_script_EVENT_M01E05A_L006 }, + [EVENT_M01E05B_L000] = { EVENT_M01E05B_L000, SCRIPT_TYPE_10, _("EVENT_M01E05B_L000"), s_script_EVENT_M01E05B_L000 }, + [EVENT_M01E05B_L001] = { EVENT_M01E05B_L001, SCRIPT_TYPE_10, _("EVENT_M01E05B_L001"), s_script_EVENT_M01E05B_L001 }, + [EVENT_M01E05B_L002] = { EVENT_M01E05B_L002, SCRIPT_TYPE_10, _("EVENT_M01E05B_L002"), s_script_EVENT_M01E05B_L002 }, + [EVENT_M01E05B_L003] = { EVENT_M01E05B_L003, SCRIPT_TYPE_12, _("EVENT_M01E05B_L003"), s_script_EVENT_M01E05B_L003 }, + [EVENT_M01E05B_L004] = { EVENT_M01E05B_L004, SCRIPT_TYPE_10, _("EVENT_M01E05B_L004"), s_script_EVENT_M01E05B_L004 }, + [EVENT_M01E05B_L005] = { EVENT_M01E05B_L005, SCRIPT_TYPE_10, _("EVENT_M01E05B_L005"), s_script_EVENT_M01E05B_L005 }, + [EVENT_M01E06A_L001] = { EVENT_M01E06A_L001, SCRIPT_TYPE_10, _("EVENT_M01E06A_L001"), s_script_EVENT_M01E06A_L001 }, + [EVENT_M01E06A_L002] = { EVENT_M01E06A_L002, SCRIPT_TYPE_10, _("EVENT_M01E06A_L002"), s_script_EVENT_M01E06A_L002 }, + [EVENT_M01E06A_L003] = { EVENT_M01E06A_L003, SCRIPT_TYPE_10, _("EVENT_M01E06A_L003"), s_script_EVENT_M01E06A_L003 }, + [EVENT_M01E07A_L001] = { EVENT_M01E07A_L001, SCRIPT_TYPE_10, _("EVENT_M01E07A_L001"), s_script_EVENT_M01E07A_L001 }, + [EVENT_M01E07A_L002] = { EVENT_M01E07A_L002, SCRIPT_TYPE_10, _("EVENT_M01E07A_L002"), s_script_EVENT_M01E07A_L002 }, + [EVENT_M01E07A_L003] = { EVENT_M01E07A_L003, SCRIPT_TYPE_10, _("EVENT_M01E07A_L003"), s_script_EVENT_M01E07A_L003 }, + [EVENT_M01E07A_L004] = { EVENT_M01E07A_L004, SCRIPT_TYPE_10, _("EVENT_M01E07A_L004"), s_script_EVENT_M01E07A_L004 }, + [EVENT_M01E07A_L005] = { EVENT_M01E07A_L005, SCRIPT_TYPE_10, _("EVENT_M01E07A_L005"), s_script_EVENT_M01E07A_L005 }, + [EVENT_M01E07A_T001] = { EVENT_M01E07A_T001, SCRIPT_TYPE_10, _("EVENT_M01E07A_T001"), s_script_EVENT_M01E07A_T001 }, + [EVENT_M01E07A_T002] = { EVENT_M01E07A_T002, SCRIPT_TYPE_10, _("EVENT_M01E07A_T002"), s_script_EVENT_M01E07A_T002 }, + [EVENT_M01E07B_L001] = { EVENT_M01E07B_L001, SCRIPT_TYPE_10, _("EVENT_M01E07B_L001"), s_script_EVENT_M01E07B_L001 }, + [EVENT_M01E07B_L002] = { EVENT_M01E07B_L002, SCRIPT_TYPE_10, _("EVENT_M01E07B_L002"), s_script_EVENT_M01E07B_L002 }, + [EVENT_M01E07B_L003] = { EVENT_M01E07B_L003, SCRIPT_TYPE_10, _("EVENT_M01E07B_L003"), s_script_EVENT_M01E07B_L003 }, + [EVENT_M01E07B_L004] = { EVENT_M01E07B_L004, SCRIPT_TYPE_10, _("EVENT_M01E07B_L004"), s_script_EVENT_M01E07B_L004 }, + [EVENT_M01E07B_L005] = { EVENT_M01E07B_L005, SCRIPT_TYPE_10, _("EVENT_M01E07B_L005"), s_script_EVENT_M01E07B_L005 }, + [EVENT_M01E07B_T001] = { EVENT_M01E07B_T001, SCRIPT_TYPE_10, _("EVENT_M01E07B_T001"), s_script_EVENT_M01E07B_T001 }, + [EVENT_M01E07B_T002] = { EVENT_M01E07B_T002, SCRIPT_TYPE_10, _("EVENT_M01E07B_T002"), s_script_EVENT_M01E07B_T002 }, + [EVENT_M01E08A_L001] = { EVENT_M01E08A_L001, SCRIPT_TYPE_10, _("EVENT_M01E08A_L001"), s_script_EVENT_M01E08A_L001 }, + [EVENT_M01E08A_L002] = { EVENT_M01E08A_L002, SCRIPT_TYPE_10, _("EVENT_M01E08A_L002"), s_script_EVENT_M01E08A_L002 }, + [EVENT_M01E08A_L003] = { EVENT_M01E08A_L003, SCRIPT_TYPE_10, _("EVENT_M01E08A_L003"), s_script_EVENT_M01E08A_L003 }, + [EVENT_M01E08A_L004] = { EVENT_M01E08A_L004, SCRIPT_TYPE_10, _("EVENT_M01E08A_L004"), s_script_EVENT_M01E08A_L004 }, + [EVENT_M01E08A_L005] = { EVENT_M01E08A_L005, SCRIPT_TYPE_10, _("EVENT_M01E08A_L005"), s_script_EVENT_M01E08A_L005 }, + [EVENT_M01E08A_T001] = { EVENT_M01E08A_T001, SCRIPT_TYPE_10, _("EVENT_M01E08A_T001"), s_script_EVENT_M01E08A_T001 }, + [EVENT_M01E08A_T002] = { EVENT_M01E08A_T002, SCRIPT_TYPE_10, _("EVENT_M01E08A_T002"), s_script_EVENT_M01E08A_T002 }, + [EVENT_M01E08B_L001] = { EVENT_M01E08B_L001, SCRIPT_TYPE_10, _("EVENT_M01E08B_L001"), s_script_EVENT_M01E08B_L001 }, + [EVENT_M01E08B_L002] = { EVENT_M01E08B_L002, SCRIPT_TYPE_10, _("EVENT_M01E08B_L002"), s_script_EVENT_M01E08B_L002 }, + [EVENT_M01E08B_L003] = { EVENT_M01E08B_L003, SCRIPT_TYPE_10, _("EVENT_M01E08B_L003"), s_script_EVENT_M01E08B_L003 }, + [EVENT_M01E08B_L004] = { EVENT_M01E08B_L004, SCRIPT_TYPE_10, _("EVENT_M01E08B_L004"), s_script_EVENT_M01E08B_L004 }, + [EVENT_M01E08B_L005] = { EVENT_M01E08B_L005, SCRIPT_TYPE_10, _("EVENT_M01E08B_L005"), s_script_EVENT_M01E08B_L005 }, + [EVENT_M01E08B_L006] = { EVENT_M01E08B_L006, SCRIPT_TYPE_10, _("EVENT_M01E08B_L006"), s_script_EVENT_M01E08B_L006 }, + [EVENT_M01E08B_T001] = { EVENT_M01E08B_T001, SCRIPT_TYPE_10, _("EVENT_M01E08B_T001"), s_script_EVENT_M01E08B_T001 }, + [EVENT_M01E08B_T002] = { EVENT_M01E08B_T002, SCRIPT_TYPE_10, _("EVENT_M01E08B_T002"), s_script_EVENT_M01E08B_T002 }, + [EVENT_M01E09A_L001] = { EVENT_M01E09A_L001, SCRIPT_TYPE_10, _("EVENT_M01E09A_L001"), s_script_EVENT_M01E09A_L001 }, + [EVENT_M01E09A_L002] = { EVENT_M01E09A_L002, SCRIPT_TYPE_10, _("EVENT_M01E09A_L002"), s_script_EVENT_M01E09A_L002 }, + [EVENT_M01E09A_L003] = { EVENT_M01E09A_L003, SCRIPT_TYPE_10, _("EVENT_M01E09A_L003"), s_script_EVENT_M01E09A_L003 }, + [EVENT_M01E09A_L004] = { EVENT_M01E09A_L004, SCRIPT_TYPE_10, _("EVENT_M01E09A_L004"), s_script_EVENT_M01E09A_L004 }, + [EVENT_M01E09A_L005] = { EVENT_M01E09A_L005, SCRIPT_TYPE_10, _("EVENT_M01E09A_L005"), s_script_EVENT_M01E09A_L005 }, + [EVENT_M01E09A_L006] = { EVENT_M01E09A_L006, SCRIPT_TYPE_10, _("EVENT_M01E09A_L006"), s_script_EVENT_M01E09A_L006 }, + [EVENT_M01E09A_L007] = { EVENT_M01E09A_L007, SCRIPT_TYPE_10, _("EVENT_M01E09A_L007"), s_script_EVENT_M01E09A_L007 }, + [EVENT_M01E09A_L008] = { EVENT_M01E09A_L008, SCRIPT_TYPE_10, _("EVENT_M01E09A_L008"), s_script_EVENT_M01E09A_L008 }, + [EVENT_M01E09A_L009] = { EVENT_M01E09A_L009, SCRIPT_TYPE_10, _("EVENT_M01E09A_L009"), s_script_EVENT_M01E09A_L009 }, + [EVENT_M01E09A_L010] = { EVENT_M01E09A_L010, SCRIPT_TYPE_10, _("EVENT_M01E09A_L010"), s_script_EVENT_M01E09A_L010 }, + [EVENT_M01E09A_L011] = { EVENT_M01E09A_L011, SCRIPT_TYPE_10, _("EVENT_M01E09A_L011"), s_script_EVENT_M01E09A_L011 }, + [EVENT_M01E09A_L012] = { EVENT_M01E09A_L012, SCRIPT_TYPE_10, _("EVENT_M01E09A_L012"), s_script_EVENT_M01E09A_L012 }, + [EVENT_M01E09A_L013] = { EVENT_M01E09A_L013, SCRIPT_TYPE_10, _("EVENT_M01E09A_L013"), s_script_EVENT_M01E09A_L013 }, + [EVENT_M01E09A_L014] = { EVENT_M01E09A_L014, SCRIPT_TYPE_10, _("EVENT_M01E09A_L014"), s_script_EVENT_M01E09A_L014 }, + [EVENT_M01E09A_L015] = { EVENT_M01E09A_L015, SCRIPT_TYPE_10, _("EVENT_M01E09A_L015"), s_script_EVENT_M01E09A_L015 }, + [EVENT_M01E10A_L001] = { EVENT_M01E10A_L001, SCRIPT_TYPE_10, _("EVENT_M01E10A_L001"), s_script_EVENT_M01E10A_L001 }, + [EVENT_M01E10A_L002] = { EVENT_M01E10A_L002, SCRIPT_TYPE_10, _("EVENT_M01E10A_L002"), s_script_EVENT_M01E10A_L002 }, + [EVENT_M01E10A_L003] = { EVENT_M01E10A_L003, SCRIPT_TYPE_10, _("EVENT_M01E10A_L003"), s_script_EVENT_M01E10A_L003 }, + [EVENT_M01E10A_L004] = { EVENT_M01E10A_L004, SCRIPT_TYPE_10, _("EVENT_M01E10A_L004"), s_script_EVENT_M01E10A_L004 }, + [EVENT_M01E10A_L005] = { EVENT_M01E10A_L005, SCRIPT_TYPE_10, _("EVENT_M01E10A_L005"), s_script_EVENT_M01E10A_L005 }, + [EVENT_M01E10A_L006] = { EVENT_M01E10A_L006, SCRIPT_TYPE_10, _("EVENT_M01E10A_L006"), s_script_EVENT_M01E10A_L006 }, + [EVENT_M01E10A_L007] = { EVENT_M01E10A_L007, SCRIPT_TYPE_10, _("EVENT_M01E10A_L007"), s_script_EVENT_M01E10A_L007 }, + [EVENT_M01E10A_L008] = { EVENT_M01E10A_L008, SCRIPT_TYPE_10, _("EVENT_M01E10A_L008"), s_script_EVENT_M01E10A_L008 }, + [EVENT_M01END_L001] = { EVENT_M01END_L001, SCRIPT_TYPE_10, _("EVENT_M01END_L001"), s_script_EVENT_M01END_L001 }, + [EVENT_M01END_L002] = { EVENT_M01END_L002, SCRIPT_TYPE_10, _("EVENT_M01END_L002"), s_script_EVENT_M01END_L002 }, + [EVENT_M02E01A_L001] = { EVENT_M02E01A_L001, SCRIPT_TYPE_10, _("EVENT_M02E01A_L001"), s_script_EVENT_M02E01A_L001 }, + [EVENT_M02E01A_L002] = { EVENT_M02E01A_L002, SCRIPT_TYPE_10, _("EVENT_M02E01A_L002"), s_script_EVENT_M02E01A_L002 }, + [EVENT_M02E01A_L003] = { EVENT_M02E01A_L003, SCRIPT_TYPE_10, _("EVENT_M02E01A_L003"), s_script_EVENT_M02E01A_L003 }, + [EVENT_M02E02A_L001] = { EVENT_M02E02A_L001, SCRIPT_TYPE_10, _("EVENT_M02E02A_L001"), s_script_EVENT_M02E02A_L001 }, + [EVENT_M02E02B_L001] = { EVENT_M02E02B_L001, SCRIPT_TYPE_10, _("EVENT_M02E02B_L001"), s_script_EVENT_M02E02B_L001 }, + [EVENT_M02E02C_L001] = { EVENT_M02E02C_L001, SCRIPT_TYPE_10, _("EVENT_M02E02C_L001"), s_script_EVENT_M02E02C_L001 }, + [EVENT_M02E02D_L001] = { EVENT_M02E02D_L001, SCRIPT_TYPE_10, _("EVENT_M02E02D_L001"), s_script_EVENT_M02E02D_L001 }, + [EVENT_M02E02E_L001] = { EVENT_M02E02E_L001, SCRIPT_TYPE_10, _("EVENT_M02E02E_L001"), s_script_EVENT_M02E02E_L001 }, + [EVENT_M02E02F_L001] = { EVENT_M02E02F_L001, SCRIPT_TYPE_10, _("EVENT_M02E02F_L001"), s_script_EVENT_M02E02F_L001 }, + [EVENT_M02E02G_L001] = { EVENT_M02E02G_L001, SCRIPT_TYPE_10, _("EVENT_M02E02G_L001"), s_script_EVENT_M02E02G_L001 }, + [EVENT_M02E02H_L001] = { EVENT_M02E02H_L001, SCRIPT_TYPE_10, _("EVENT_M02E02H_L001"), s_script_EVENT_M02E02H_L001 }, + [EVENT_M02END_L001] = { EVENT_M02END_L001, SCRIPT_TYPE_10, _("EVENT_M02END_L001"), s_script_EVENT_M02END_L001 }, + [EVENT_S00E01A_L001] = { EVENT_S00E01A_L001, SCRIPT_TYPE_10, _("EVENT_S00E01A_L001"), s_script_EVENT_S00E01A_L001 }, + [EVENT_S00E01A_L002] = { EVENT_S00E01A_L002, SCRIPT_TYPE_10, _("EVENT_S00E01A_L002"), s_script_EVENT_S00E01A_L002 }, + [EVENT_S00E01A_L003] = { EVENT_S00E01A_L003, SCRIPT_TYPE_10, _("EVENT_S00E01A_L003"), s_script_EVENT_S00E01A_L003 }, + [EVENT_S00E01A_L004] = { EVENT_S00E01A_L004, SCRIPT_TYPE_10, _("EVENT_S00E01A_L004"), s_script_EVENT_S00E01A_L004 }, + [EVENT_S01E01A_START] = { EVENT_S01E01A_START, SCRIPT_TYPE_11, _("EVENT_S01E01A_START"), s_script_EVENT_S01E01A_START }, + [EVENT_S01E01A_CONTINUE] = { EVENT_S01E01A_CONTINUE, SCRIPT_TYPE_11, _("EVENT_S01E01A_CONTINUE"), s_script_EVENT_S01E01A_CONTINUE }, + [EVENT_S01E01A_END] = { EVENT_S01E01A_END, SCRIPT_TYPE_11, _("EVENT_S01E01A_END"), s_script_EVENT_S01E01A_END }, + [EVENT_S01E01A_L001] = { EVENT_S01E01A_L001, SCRIPT_TYPE_12, _("EVENT_S01E01A_L001"), s_script_EVENT_S01E01A_L001 }, + [EVENT_S01E01A_L002] = { EVENT_S01E01A_L002, SCRIPT_TYPE_10, _("EVENT_S01E01A_L002"), s_script_EVENT_S01E01A_L002 }, + [EVENT_S01E01A_L003] = { EVENT_S01E01A_L003, SCRIPT_TYPE_10, _("EVENT_S01E01A_L003"), s_script_EVENT_S01E01A_L003 }, + [EVENT_S01E01B_L001] = { EVENT_S01E01B_L001, SCRIPT_TYPE_10, _("EVENT_S01E01B_L001"), s_script_EVENT_S01E01B_L001 }, + [EVENT_S01E01B_L001L] = { EVENT_S01E01B_L001L, SCRIPT_TYPE_12, _("EVENT_S01E01B_L001L"), s_script_EVENT_S01E01B_L001L }, + [EVENT_S01E01C_L001] = { EVENT_S01E01C_L001, SCRIPT_TYPE_10, _("EVENT_S01E01C_L001"), s_script_EVENT_S01E01C_L001 }, + [EVENT_S01E02A_START] = { EVENT_S01E02A_START, SCRIPT_TYPE_11, _("EVENT_S01E02A_START"), s_script_EVENT_S01E02A_START }, + [EVENT_S01E02A_END] = { EVENT_S01E02A_END, SCRIPT_TYPE_11, _("EVENT_S01E02A_END"), s_script_EVENT_S01E02A_END }, + [EVENT_S01E02A_L001] = { EVENT_S01E02A_L001, SCRIPT_TYPE_10, _("EVENT_S01E02A_L001"), s_script_EVENT_S01E02A_L001 }, + [EVENT_S01E02A_L002] = { EVENT_S01E02A_L002, SCRIPT_TYPE_10, _("EVENT_S01E02A_L002"), s_script_EVENT_S01E02A_L002 }, + [EVENT_S01E02A_L002L] = { EVENT_S01E02A_L002L, SCRIPT_TYPE_12, _("EVENT_S01E02A_L002L"), s_script_EVENT_S01E02A_L002L }, + [EVENT_S01E02B_L001] = { EVENT_S01E02B_L001, SCRIPT_TYPE_12, _("EVENT_S01E02B_L001"), s_script_EVENT_S01E02B_L001 }, + [EVENT_S01E02B_L002] = { EVENT_S01E02B_L002, SCRIPT_TYPE_12, _("EVENT_S01E02B_L002"), s_script_EVENT_S01E02B_L002 }, + [EVENT_S02E01A_START] = { EVENT_S02E01A_START, SCRIPT_TYPE_11, _("EVENT_S02E01A_START"), s_script_EVENT_S02E01A_START }, + [EVENT_S02E01A_END] = { EVENT_S02E01A_END, SCRIPT_TYPE_11, _("EVENT_S02E01A_END"), s_script_EVENT_S02E01A_END }, + [EVENT_S02E01A_L001] = { EVENT_S02E01A_L001, SCRIPT_TYPE_12, _("EVENT_S02E01A_L001"), s_script_EVENT_S02E01A_L001 }, + [EVENT_S02E01A_L002] = { EVENT_S02E01A_L002, SCRIPT_TYPE_12, _("EVENT_S02E01A_L002"), s_script_EVENT_S02E01A_L002 }, + [EVENT_S02E01A_L003] = { EVENT_S02E01A_L003, SCRIPT_TYPE_12, _("EVENT_S02E01A_L003"), s_script_EVENT_S02E01A_L003 }, + [EVENT_S02E01A_L004] = { EVENT_S02E01A_L004, SCRIPT_TYPE_12, _("EVENT_S02E01A_L004"), s_script_EVENT_S02E01A_L004 }, + [EVENT_S02E01A_L004L] = { EVENT_S02E01A_L004L, SCRIPT_TYPE_12, _("EVENT_S02E01A_L004L"), s_script_EVENT_S02E01A_L004L }, + [EVENT_S02E02A_START] = { EVENT_S02E02A_START, SCRIPT_TYPE_11, _("EVENT_S02E02A_START"), s_script_EVENT_S02E02A_START }, + [EVENT_S02E02A_END] = { EVENT_S02E02A_END, SCRIPT_TYPE_11, _("EVENT_S02E02A_END"), s_script_EVENT_S02E02A_END }, + [EVENT_S02E02A_L001] = { EVENT_S02E02A_L001, SCRIPT_TYPE_12, _("EVENT_S02E02A_L001"), s_script_EVENT_S02E02A_L001 }, + [EVENT_S02E02A_L002] = { EVENT_S02E02A_L002, SCRIPT_TYPE_10, _("EVENT_S02E02A_L002"), s_script_EVENT_S02E02A_L002 }, + [EVENT_S02E02A_L003] = { EVENT_S02E02A_L003, SCRIPT_TYPE_12, _("EVENT_S02E02A_L003"), s_script_EVENT_S02E02A_L003 }, + [EVENT_S02E02A_L003L] = { EVENT_S02E02A_L003L, SCRIPT_TYPE_12, _("EVENT_S02E02A_L003L"), s_script_EVENT_S02E02A_L003L }, + [EVENT_S03E01A_START] = { EVENT_S03E01A_START, SCRIPT_TYPE_11, _("EVENT_S03E01A_START"), s_script_EVENT_S03E01A_START }, + [EVENT_S03E01A_CONTINUE] = { EVENT_S03E01A_CONTINUE, SCRIPT_TYPE_11, _("EVENT_S03E01A_CONTINUE"), s_script_EVENT_S03E01A_CONTINUE }, + [EVENT_S03E01A_END] = { EVENT_S03E01A_END, SCRIPT_TYPE_11, _("EVENT_S03E01A_END"), s_script_EVENT_S03E01A_END }, + [EVENT_S03E01A_L001] = { EVENT_S03E01A_L001, SCRIPT_TYPE_10, _("EVENT_S03E01A_L001"), s_script_EVENT_S03E01A_L001 }, + [EVENT_S03E01A_L002] = { EVENT_S03E01A_L002, SCRIPT_TYPE_12, _("EVENT_S03E01A_L002"), s_script_EVENT_S03E01A_L002 }, + [EVENT_S03E01A_L002L] = { EVENT_S03E01A_L002L, SCRIPT_TYPE_12, _("EVENT_S03E01A_L002L"), s_script_EVENT_S03E01A_L002L }, + [EVENT_S04E01A_START] = { EVENT_S04E01A_START, SCRIPT_TYPE_11, _("EVENT_S04E01A_START"), s_script_EVENT_S04E01A_START }, + [EVENT_S04E01A_LAST] = { EVENT_S04E01A_LAST, SCRIPT_TYPE_11, _("EVENT_S04E01A_LAST"), s_script_EVENT_S04E01A_LAST }, + [EVENT_S04E01A_END] = { EVENT_S04E01A_END, SCRIPT_TYPE_11, _("EVENT_S04E01A_END"), s_script_EVENT_S04E01A_END }, + [EVENT_S04E01A_L001] = { EVENT_S04E01A_L001, SCRIPT_TYPE_10, _("EVENT_S04E01A_L001"), s_script_EVENT_S04E01A_L001 }, + [EVENT_S04E01A_L002] = { EVENT_S04E01A_L002, SCRIPT_TYPE_10, _("EVENT_S04E01A_L002"), s_script_EVENT_S04E01A_L002 }, + [EVENT_S04E01A_L002L] = { EVENT_S04E01A_L002L, SCRIPT_TYPE_12, _("EVENT_S04E01A_L002L"), s_script_EVENT_S04E01A_L002L }, + [EVENT_S04E01B_L001] = { EVENT_S04E01B_L001, SCRIPT_TYPE_10, _("EVENT_S04E01B_L001"), s_script_EVENT_S04E01B_L001 }, + [EVENT_S04E01B_L001L] = { EVENT_S04E01B_L001L, SCRIPT_TYPE_12, _("EVENT_S04E01B_L001L"), s_script_EVENT_S04E01B_L001L }, + [EVENT_S04E01C_L001] = { EVENT_S04E01C_L001, SCRIPT_TYPE_10, _("EVENT_S04E01C_L001"), s_script_EVENT_S04E01C_L001 }, + [EVENT_S04E01C_L001L] = { EVENT_S04E01C_L001L, SCRIPT_TYPE_12, _("EVENT_S04E01C_L001L"), s_script_EVENT_S04E01C_L001L }, + [EVENT_S04E01D_L001] = { EVENT_S04E01D_L001, SCRIPT_TYPE_10, _("EVENT_S04E01D_L001"), s_script_EVENT_S04E01D_L001 }, + [EVENT_S04E01D_L001L] = { EVENT_S04E01D_L001L, SCRIPT_TYPE_12, _("EVENT_S04E01D_L001L"), s_script_EVENT_S04E01D_L001L }, + [EVENT_S04E01E_L001] = { EVENT_S04E01E_L001, SCRIPT_TYPE_10, _("EVENT_S04E01E_L001"), s_script_EVENT_S04E01E_L001 }, + [EVENT_S04E01E_L001L] = { EVENT_S04E01E_L001L, SCRIPT_TYPE_12, _("EVENT_S04E01E_L001L"), s_script_EVENT_S04E01E_L001L }, + [EVENT_S04E01F_L001] = { EVENT_S04E01F_L001, SCRIPT_TYPE_12, _("EVENT_S04E01F_L001"), s_script_EVENT_S04E01F_L001 }, + [EVENT_S05E01A_START] = { EVENT_S05E01A_START, SCRIPT_TYPE_11, _("EVENT_S05E01A_START"), s_script_EVENT_S05E01A_START }, + [EVENT_S05E01A_CONTINUE] = { EVENT_S05E01A_CONTINUE, SCRIPT_TYPE_11, _("EVENT_S05E01A_CONTINUE"), s_script_EVENT_S05E01A_CONTINUE }, + [EVENT_S05E01A_END] = { EVENT_S05E01A_END, SCRIPT_TYPE_11, _("EVENT_S05E01A_END"), s_script_EVENT_S05E01A_END }, + [EVENT_S05E01A_L001] = { EVENT_S05E01A_L001, SCRIPT_TYPE_10, _("EVENT_S05E01A_L001"), s_script_EVENT_S05E01A_L001 }, + [EVENT_S05E01A_L002] = { EVENT_S05E01A_L002, SCRIPT_TYPE_12, _("EVENT_S05E01A_L002"), s_script_EVENT_S05E01A_L002 }, + [EVENT_S05E01A_L002L] = { EVENT_S05E01A_L002L, SCRIPT_TYPE_12, _("EVENT_S05E01A_L002L"), s_script_EVENT_S05E01A_L002L }, + [EVENT_S06E01A_START] = { EVENT_S06E01A_START, SCRIPT_TYPE_11, _("EVENT_S06E01A_START"), s_script_EVENT_S06E01A_START }, + [EVENT_S06E01A_CONTINUE] = { EVENT_S06E01A_CONTINUE, SCRIPT_TYPE_11, _("EVENT_S06E01A_CONTINUE"), s_script_EVENT_S06E01A_CONTINUE }, + [EVENT_S06E01A_END] = { EVENT_S06E01A_END, SCRIPT_TYPE_11, _("EVENT_S06E01A_END"), s_script_EVENT_S06E01A_END }, + [EVENT_S06E01A_L001] = { EVENT_S06E01A_L001, SCRIPT_TYPE_10, _("EVENT_S06E01A_L001"), s_script_EVENT_S06E01A_L001 }, + [EVENT_S06E01A_L002] = { EVENT_S06E01A_L002, SCRIPT_TYPE_10, _("EVENT_S06E01A_L002"), s_script_EVENT_S06E01A_L002 }, + [EVENT_S06E01A_L002L] = { EVENT_S06E01A_L002L, SCRIPT_TYPE_12, _("EVENT_S06E01A_L002L"), s_script_EVENT_S06E01A_L002L }, + [EVENT_S06E01B_L001] = { EVENT_S06E01B_L001, SCRIPT_TYPE_10, _("EVENT_S06E01B_L001"), s_script_EVENT_S06E01B_L001 }, + [EVENT_S06E01B_L002] = { EVENT_S06E01B_L002, SCRIPT_TYPE_10, _("EVENT_S06E01B_L002"), s_script_EVENT_S06E01B_L002 }, + [EVENT_S06E01B_L002L] = { EVENT_S06E01B_L002L, SCRIPT_TYPE_12, _("EVENT_S06E01B_L002L"), s_script_EVENT_S06E01B_L002L }, + [EVENT_S07E01A_START] = { EVENT_S07E01A_START, SCRIPT_TYPE_11, _("EVENT_S07E01A_START"), s_script_EVENT_S07E01A_START }, + [EVENT_S07E01A_END] = { EVENT_S07E01A_END, SCRIPT_TYPE_11, _("EVENT_S07E01A_END"), s_script_EVENT_S07E01A_END }, + [EVENT_S07E01A_L001] = { EVENT_S07E01A_L001, SCRIPT_TYPE_12, _("EVENT_S07E01A_L001"), s_script_EVENT_S07E01A_L001 }, + [EVENT_S07E01A_L002] = { EVENT_S07E01A_L002, SCRIPT_TYPE_12, _("EVENT_S07E01A_L002"), s_script_EVENT_S07E01A_L002 }, + [EVENT_S07E01A_L003] = { EVENT_S07E01A_L003, SCRIPT_TYPE_12, _("EVENT_S07E01A_L003"), s_script_EVENT_S07E01A_L003 }, + [EVENT_S07E01A_L003L] = { EVENT_S07E01A_L003L, SCRIPT_TYPE_12, _("EVENT_S07E01A_L003L"), s_script_EVENT_S07E01A_L003L }, + [EVENT_S08E01A_START] = { EVENT_S08E01A_START, SCRIPT_TYPE_11, _("EVENT_S08E01A_START"), s_script_EVENT_S08E01A_START }, + [EVENT_S08E01A_END] = { EVENT_S08E01A_END, SCRIPT_TYPE_11, _("EVENT_S08E01A_END"), s_script_EVENT_S08E01A_END }, + [EVENT_S08E01A_L001] = { EVENT_S08E01A_L001, SCRIPT_TYPE_12, _("EVENT_S08E01A_L001"), s_script_EVENT_S08E01A_L001 }, + [EVENT_S08E01A_L002] = { EVENT_S08E01A_L002, SCRIPT_TYPE_12, _("EVENT_S08E01A_L002"), s_script_EVENT_S08E01A_L002 }, + [EVENT_S08E01A_L003] = { EVENT_S08E01A_L003, SCRIPT_TYPE_12, _("EVENT_S08E01A_L003"), s_script_EVENT_S08E01A_L003 }, + [EVENT_S08E01A_L004] = { EVENT_S08E01A_L004, SCRIPT_TYPE_12, _("EVENT_S08E01A_L004"), s_script_EVENT_S08E01A_L004 }, + [EVENT_S08E01A_L005] = { EVENT_S08E01A_L005, SCRIPT_TYPE_12, _("EVENT_S08E01A_L005"), s_script_EVENT_S08E01A_L005 }, + [EVENT_S08E01A_L005B] = { EVENT_S08E01A_L005B, SCRIPT_TYPE_10, _("EVENT_S08E01A_L005B"), s_script_EVENT_S08E01A_L005B }, + [EVENT_S08E01A_L006] = { EVENT_S08E01A_L006, SCRIPT_TYPE_10, _("EVENT_S08E01A_L006"), s_script_EVENT_S08E01A_L006 }, + [EVENT_S08E01A_L006L] = { EVENT_S08E01A_L006L, SCRIPT_TYPE_12, _("EVENT_S08E01A_L006L"), s_script_EVENT_S08E01A_L006L }, + [EVENT_S08E01A_L007] = { EVENT_S08E01A_L007, SCRIPT_TYPE_12, _("EVENT_S08E01A_L007"), s_script_EVENT_S08E01A_L007 }, + [EVENT_S08E01A_L008] = { EVENT_S08E01A_L008, SCRIPT_TYPE_10, _("EVENT_S08E01A_L008"), s_script_EVENT_S08E01A_L008 }, + [EVENT_S08E01A_L008L] = { EVENT_S08E01A_L008L, SCRIPT_TYPE_12, _("EVENT_S08E01A_L008L"), s_script_EVENT_S08E01A_L008L }, + [EVENT_S08E01A_L008A] = { EVENT_S08E01A_L008A, SCRIPT_TYPE_10, _("EVENT_S08E01A_L008A"), s_script_EVENT_S08E01A_L008A }, + [EVENT_S08E01A_L008B] = { EVENT_S08E01A_L008B, SCRIPT_TYPE_10, _("EVENT_S08E01A_L008B"), s_script_EVENT_S08E01A_L008B }, + [EVENT_S08E01A_L008C] = { EVENT_S08E01A_L008C, SCRIPT_TYPE_10, _("EVENT_S08E01A_L008C"), s_script_EVENT_S08E01A_L008C }, + [EVENT_S09E01A_START] = { EVENT_S09E01A_START, SCRIPT_TYPE_11, _("EVENT_S09E01A_START"), s_script_EVENT_S09E01A_START }, + [EVENT_S09E01A_END] = { EVENT_S09E01A_END, SCRIPT_TYPE_11, _("EVENT_S09E01A_END"), s_script_EVENT_S09E01A_END }, + [EVENT_S09E01A_L001] = { EVENT_S09E01A_L001, SCRIPT_TYPE_12, _("EVENT_S09E01A_L001"), s_script_EVENT_S09E01A_L001 }, + [EVENT_S09E01A_L002] = { EVENT_S09E01A_L002, SCRIPT_TYPE_12, _("EVENT_S09E01A_L002"), s_script_EVENT_S09E01A_L002 }, + [EVENT_S09E01A_L003] = { EVENT_S09E01A_L003, SCRIPT_TYPE_12, _("EVENT_S09E01A_L003"), s_script_EVENT_S09E01A_L003 }, + [EVENT_S09E01A_L004] = { EVENT_S09E01A_L004, SCRIPT_TYPE_10, _("EVENT_S09E01A_L004"), s_script_EVENT_S09E01A_L004 }, + [EVENT_S09E01A_L004B] = { EVENT_S09E01A_L004B, SCRIPT_TYPE_10, _("EVENT_S09E01A_L004B"), s_script_EVENT_S09E01A_L004B }, + [EVENT_S09E01A_L005] = { EVENT_S09E01A_L005, SCRIPT_TYPE_10, _("EVENT_S09E01A_L005"), s_script_EVENT_S09E01A_L005 }, + [EVENT_S09E01A_L005L] = { EVENT_S09E01A_L005L, SCRIPT_TYPE_12, _("EVENT_S09E01A_L005L"), s_script_EVENT_S09E01A_L005L }, + [EVENT_S09E01B_L001] = { EVENT_S09E01B_L001, SCRIPT_TYPE_10, _("EVENT_S09E01B_L001"), s_script_EVENT_S09E01B_L001 }, + [EVENT_S09E01B_L001B] = { EVENT_S09E01B_L001B, SCRIPT_TYPE_10, _("EVENT_S09E01B_L001B"), s_script_EVENT_S09E01B_L001B }, + [EVENT_S09E01B_L002] = { EVENT_S09E01B_L002, SCRIPT_TYPE_10, _("EVENT_S09E01B_L002"), s_script_EVENT_S09E01B_L002 }, + [EVENT_S09E01B_L002L] = { EVENT_S09E01B_L002L, SCRIPT_TYPE_12, _("EVENT_S09E01B_L002L"), s_script_EVENT_S09E01B_L002L }, + [EVENT_S09E01C_L001] = { EVENT_S09E01C_L001, SCRIPT_TYPE_12, _("EVENT_S09E01C_L001"), s_script_EVENT_S09E01C_L001 }, + [EVENT_R00E01A_L001] = { EVENT_R00E01A_L001, SCRIPT_TYPE_07, _("EVENT_R00E01A_L001"), s_script_EVENT_R00E01A_L001 }, + [COMMON_ENTER] = { COMMON_ENTER, SCRIPT_TYPE_01, _("COMMON_ENTER"), s_script_COMMON_ENTER }, + [DEBUG_ENTER] = { DEBUG_ENTER, SCRIPT_TYPE_01, _("DEBUG_ENTER"), s_script_DEBUG_ENTER }, + [GETOUT_NORMAL] = { GETOUT_NORMAL, SCRIPT_TYPE_02, _("GETOUT_NORMAL"), NULL }, + [GETOUT_HABITAT] = { GETOUT_HABITAT, SCRIPT_TYPE_02, _("GETOUT_HABITAT"), s_script_GETOUT_HABITAT }, + [GETOUT_M01E01A] = { GETOUT_M01E01A, SCRIPT_TYPE_02, _("GETOUT_M01E01A"), s_script_GETOUT_M01E01A }, + [GETOUT_M01E02A] = { GETOUT_M01E02A, SCRIPT_TYPE_02, _("GETOUT_M01E02A"), s_script_GETOUT_M01E02A }, + [GETOUT_M01E02B] = { GETOUT_M01E02B, SCRIPT_TYPE_02, _("GETOUT_M01E02B"), s_script_GETOUT_M01E02B }, + [GETOUT_M01E03A] = { GETOUT_M01E03A, SCRIPT_TYPE_02, _("GETOUT_M01E03A"), s_script_GETOUT_M01E03A }, + [GETOUT_M01E04A] = { GETOUT_M01E04A, SCRIPT_TYPE_02, _("GETOUT_M01E04A"), s_script_GETOUT_M01E04A }, + [GETOUT_M01E04B] = { GETOUT_M01E04B, SCRIPT_TYPE_02, _("GETOUT_M01E04B"), s_script_GETOUT_M01E04B }, + [GETOUT_M01E05A] = { GETOUT_M01E05A, SCRIPT_TYPE_02, _("GETOUT_M01E05A"), s_script_GETOUT_M01E05A }, + [GETOUT_M01E07A] = { GETOUT_M01E07A, SCRIPT_TYPE_02, _("GETOUT_M01E07A"), s_script_GETOUT_M01E07A }, + [GETOUT_M01E07B] = { GETOUT_M01E07B, SCRIPT_TYPE_02, _("GETOUT_M01E07B"), s_script_GETOUT_M01E07B }, + [GETOUT_M01E08A] = { GETOUT_M01E08A, SCRIPT_TYPE_02, _("GETOUT_M01E08A"), s_script_GETOUT_M01E08A }, + [GETOUT_M01E08B] = { GETOUT_M01E08B, SCRIPT_TYPE_02, _("GETOUT_M01E08B"), s_script_GETOUT_M01E08B }, + [GETOUT_M01E09A] = { GETOUT_M01E09A, SCRIPT_TYPE_02, _("GETOUT_M01E09A"), s_script_GETOUT_M01E09A }, + [GETOUT_M01E10A] = { GETOUT_M01E10A, SCRIPT_TYPE_02, _("GETOUT_M01E10A"), s_script_GETOUT_M01E10A }, + [GETOUT_S00E01A] = { GETOUT_S00E01A, SCRIPT_TYPE_02, _("GETOUT_S00E01A"), s_script_GETOUT_S00E01A }, + [GETOUT_S01E01A] = { GETOUT_S01E01A, SCRIPT_TYPE_02, _("GETOUT_S01E01A"), s_script_GETOUT_S01E01A }, + [GETOUT_S01E02A] = { GETOUT_S01E02A, SCRIPT_TYPE_02, _("GETOUT_S01E02A"), s_script_GETOUT_S01E02A }, + [GETOUT_S02E01A] = { GETOUT_S02E01A, SCRIPT_TYPE_02, _("GETOUT_S02E01A"), s_script_GETOUT_S02E01A }, + [GETOUT_S02E02A] = { GETOUT_S02E02A, SCRIPT_TYPE_02, _("GETOUT_S02E02A"), s_script_GETOUT_S02E02A }, + [GETOUT_S03E01A] = { GETOUT_S03E01A, SCRIPT_TYPE_02, _("GETOUT_S03E01A"), s_script_GETOUT_S03E01A }, + [GETOUT_S04E01A] = { GETOUT_S04E01A, SCRIPT_TYPE_02, _("GETOUT_S04E01A"), s_script_GETOUT_S04E01A }, + [GETOUT_S04E01B] = { GETOUT_S04E01B, SCRIPT_TYPE_02, _("GETOUT_S04E01B"), s_script_GETOUT_S04E01B }, + [GETOUT_S04E01C] = { GETOUT_S04E01C, SCRIPT_TYPE_02, _("GETOUT_S04E01C"), s_script_GETOUT_S04E01C }, + [GETOUT_S04E01D] = { GETOUT_S04E01D, SCRIPT_TYPE_02, _("GETOUT_S04E01D"), s_script_GETOUT_S04E01D }, + [GETOUT_S04E01E] = { GETOUT_S04E01E, SCRIPT_TYPE_02, _("GETOUT_S04E01E"), s_script_GETOUT_S04E01E }, + [GETOUT_S05E01A] = { GETOUT_S05E01A, SCRIPT_TYPE_02, _("GETOUT_S05E01A"), s_script_GETOUT_S05E01A }, + [GETOUT_S06E01A] = { GETOUT_S06E01A, SCRIPT_TYPE_02, _("GETOUT_S06E01A"), s_script_GETOUT_S06E01A }, + [GETOUT_S06E01B] = { GETOUT_S06E01B, SCRIPT_TYPE_02, _("GETOUT_S06E01B"), s_script_GETOUT_S06E01B }, + [GETOUT_S07E01A] = { GETOUT_S07E01A, SCRIPT_TYPE_02, _("GETOUT_S07E01A"), s_script_GETOUT_S07E01A }, + [GETOUT_S08E01A] = { GETOUT_S08E01A, SCRIPT_TYPE_02, _("GETOUT_S08E01A"), s_script_GETOUT_S08E01A }, + [GETOUT_S09E01A] = { GETOUT_S09E01A, SCRIPT_TYPE_02, _("GETOUT_S09E01A"), s_script_GETOUT_S09E01A }, + [GETOUT_S09E01B] = { GETOUT_S09E01B, SCRIPT_TYPE_02, _("GETOUT_S09E01B"), s_script_GETOUT_S09E01B }, + [GETOUT_D62E01A] = { GETOUT_D62E01A, SCRIPT_TYPE_02, _("GETOUT_D62E01A"), s_script_GETOUT_D62E01A }, + [GETOUT_D43E01A] = { GETOUT_D43E01A, SCRIPT_TYPE_02, _("GETOUT_D43E01A"), s_script_GETOUT_D43E01A }, + [GETOUT_D44E01A] = { GETOUT_D44E01A, SCRIPT_TYPE_02, _("GETOUT_D44E01A"), s_script_GETOUT_D44E01A }, + [GETOUT_D45E01A] = { GETOUT_D45E01A, SCRIPT_TYPE_02, _("GETOUT_D45E01A"), s_script_GETOUT_D45E01A }, + [GETOUT_D46E01A] = { GETOUT_D46E01A, SCRIPT_TYPE_02, _("GETOUT_D46E01A"), s_script_GETOUT_D46E01A }, + [GETOUT_U00E01A] = { GETOUT_U00E01A, SCRIPT_TYPE_02, _("GETOUT_U00E01A"), s_script_GETOUT_U00E01A }, + [GETOUT_R00E01A] = { GETOUT_R00E01A, SCRIPT_TYPE_02, _("GETOUT_R00E01A"), s_script_GETOUT_R00E01A }, + [GETOUT_T00E01A] = { GETOUT_T00E01A, SCRIPT_TYPE_02, _("GETOUT_T00E01A"), s_script_GETOUT_T00E01A }, + [GETOUT_M01E07T] = { GETOUT_M01E07T, SCRIPT_TYPE_02, _("GETOUT_M01E07T"), s_script_GETOUT_M01E07T }, + [GETOUT_M01E08T] = { GETOUT_M01E08T, SCRIPT_TYPE_02, _("GETOUT_M01E08T"), s_script_GETOUT_M01E08T }, + [EVENT_CONTROL] = { EVENT_CONTROL, SCRIPT_TYPE_07, _("EVENT_CONTROL"), NULL }, + [EVENT_WAKEUP] = { EVENT_WAKEUP, SCRIPT_TYPE_07, _("EVENT_WAKEUP"), NULL }, + [EVENT_STATION] = { EVENT_STATION, SCRIPT_TYPE_07, _("EVENT_STATION"), NULL }, + [STATION_CONTROL] = { STATION_CONTROL, SCRIPT_TYPE_08, _("STATION_CONTROL"), NULL }, + [ENTER_CONTROL] = { ENTER_CONTROL, SCRIPT_TYPE_01, _("ENTER_CONTROL"), NULL }, + [SETUP_DEBUG_CAMERA] = { SETUP_DEBUG_CAMERA, SCRIPT_TYPE_07, _("SETUP_DEBUG_CAMERA"), s_script_SETUP_DEBUG_CAMERA }, + [MOVE_DEBUG_CAMERA] = { MOVE_DEBUG_CAMERA, SCRIPT_TYPE_05, _("MOVE_DEBUG_CAMERA"), s_script_MOVE_DEBUG_CAMERA }, }; diff --git a/src/ground_effect.c b/src/ground_effect.c index a83f80da7..e3c8aedf9 100644 --- a/src/ground_effect.c +++ b/src/ground_effect.c @@ -779,7 +779,7 @@ void sub_80AD7AC(void) if ((sub_80A66D4(&objectPtr->unk144))) { objectPtr->directionRelated = FALSE; - sub_80A6EFC(&objectPtr->unk144,objectPtr->unk13E & 0x1f00,(s8)objectPtr->unk13E); + sub_80A6EFC(&objectPtr->unk144,objectPtr->unk13E & 0x1F00,(s8)objectPtr->unk13E); } if (objectPtr->unk140 != 0) { sub_80A7040(&objectPtr->unk144,objectPtr->unk140,objectPtr->direction,0); diff --git a/src/ground_event.c b/src/ground_event.c index c2fdbe423..437a45f37 100644 --- a/src/ground_event.c +++ b/src/ground_event.c @@ -155,14 +155,16 @@ static s32 GroundEvent_Add(s32 id, const GroundEventData *eventData, s32 group, ptr->unk4 = group_s32; ptr->unk6 = sector_s32; switch (script->type) { - case 1: - case 2: + case SCRIPT_TYPE_01: + case SCRIPT_TYPE_02: { ptr->unk8 = 0x60; break; - case 7: - default: + } + case SCRIPT_TYPE_07: + default: { ptr->unk8 = 0x20; break; + } } pos = (PixelPos) {eventData->kind << 11, eventData->unk1 << 11}; diff --git a/src/ground_script.c b/src/ground_script.c index 04ad4c8be..36b8abfef 100644 --- a/src/ground_script.c +++ b/src/ground_script.c @@ -3283,7 +3283,7 @@ UNUSED static bool8 GroundScript_ExecuteTrigger(s16 scriptID) ptr = &gFunctionScriptTable[scriptID]; - if (ptr->type != 11) + if (ptr->type != SCRIPT_TYPE_11) return FALSE; InitActionWithParams(&action, &sNullCallbackData, NULL, 0, 0);