This commit is contained in:
Kermalis 2025-11-22 11:26:06 -05:00
parent 4bd0a23bdb
commit b90549b3ac
133 changed files with 607 additions and 599 deletions

View File

@ -50,7 +50,8 @@ enum MusicID
MUS_TIME_OF_REUNION,
MUS_OPENING_TITLE,
// 47 - 50 are blank/empty slots for BG Music
MUS_DUNGEON_FAIL = 51,
MUS_BLANK_50 = 50,
MUS_DUNGEON_FAIL,
MUS_DUNGEON_COMPLETE,
// 53 - 99 are blank/empty slots for BG Music
MUS_FRIEND_AREA_UNUSED_1 = 100,

View File

@ -1,3 +1,4 @@
#include "constants/bg_music.h"
#include "constants/cutscenes.h"
#include "constants/direction.h"
#include "constants/event_flag.h"
@ -169,6 +170,8 @@
#define STOP_ANIMATION_ON_CURRENT_FRAME { 0xDD, 0, 0, 0, 0, NULL }
// de..e2 - various HandleAction commands
// e3..e5 - locking/condvar commands
#define WAIT_FANFARE1(id) { 0xE1, 0, id, 0, 0, NULL }
#define WAIT_FANFARE2(id) { 0xE2, 0, id, 0, 0, NULL }
#define AWAIT_CUE(id) { 0xE3, 0, id, 0, 0, NULL }
#define ALERT_CUE(id) { 0xE4, 0, id, 0, 0, NULL }
#define CALL_LABEL(x) { 0xE6, 0, x, 0, 0, NULL }

View File

@ -20,7 +20,7 @@ s32 GetScriptVarArrayValue(u8 *localVarBuf, s32 varId, s32 idx);
void SetScriptVarValue(u8 *localVarBuf, s32 varId, s32 val);
void SetScriptVarArrayValue(u8 *localVarBuf, s32 varId, s32 idx, s32 val);
s32 GetScriptVarArraySum(u8 *localVarBuf, s16 varId);
void GetScriptVarScenario(s32 varId,u32 *outMain,u32 *outSub);
void GetScriptVarScenario(s32 varID, u32 *outMain, u32 *outSub);
void ScenarioCalc(s16 varId, s32 main, s32 sub);
bool8 ScriptVarScenarioBefore(s16 varId, u32 main, s32 sub);
bool8 ScriptVarScenarioEqual(s16 varId, u32 main, s32 sub);

View File

@ -8,7 +8,7 @@
static const struct ScriptCommand s_gs162_g0_s0_station_sref_script[] = { /* 0x820fd30 */
DEBUGINFO_O(10),
SELECT_MAP(162),
SELECT_MAP(MAP_PERSONALITY_TEST_CYAN),
BGM_STOP,
JUMP_SCRIPT(COMMON_ENTER),
};
@ -17,9 +17,9 @@ static const struct ScriptRef s_gs162_g0_s0_station_sref = { 404, 1, NULL /* ENT
static const struct ScriptCommand s_gs162_g1_s0_station_sref_script[] = { /* 0x820fda8 */
DEBUGINFO_O(19),
SELECT_MAP(162),
SELECT_MAP(MAP_PERSONALITY_TEST_CYAN),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(4),
BGM_SWITCH(MUS_DREAM),
{ 0x22, 0x01, 0x003c, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
BGM_FADEOUT(60),
@ -59,9 +59,9 @@ static const struct ScriptCommand s_gs162_g1_s0_lives0_dlg0[] = { /* 0x820fe54 *
static const struct ScriptCommand s_gs162_g2_s0_station_sref_script[] = { /* 0x8210084 */
DEBUGINFO_O(61),
SELECT_MAP(162),
SELECT_MAP(MAP_PERSONALITY_TEST_CYAN),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(4),
BGM_SWITCH(MUS_DREAM),
{ 0x22, 0x01, 0x003c, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
FANFARE_FADEOUT2(60, 453),
@ -119,9 +119,9 @@ static const struct ScriptCommand s_gs162_g2_s0_lives0_dlg0[] = { /* 0x8210190 *
static const struct ScriptCommand s_gs162_g3_s0_station_sref_script[] = { /* 0x82104bc */
DEBUGINFO_O(121),
SELECT_MAP(162),
SELECT_MAP(MAP_PERSONALITY_TEST_CYAN),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(4),
BGM_SWITCH(MUS_DREAM),
{ 0x22, 0x01, 0x003c, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
BGM_FADEOUT(60),
@ -228,9 +228,9 @@ static const struct ScriptCommand s_gs162_g3_s1_lives0_dlg0[] = { /* 0x82107fc *
static const struct ScriptCommand s_gs162_g4_s0_station_sref_script[] = { /* 0x8210bbc */
DEBUGINFO_O(230),
SELECT_MAP(162),
SELECT_MAP(MAP_PERSONALITY_TEST_CYAN),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(4),
BGM_SWITCH(MUS_DREAM),
{ 0x22, 0x01, 0x003c, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
BGM_FADEOUT(60),
@ -376,9 +376,9 @@ static const struct ScriptCommand s_gs162_g4_s1_lives0_dlg0[] = { /* 0x821124c *
static const struct ScriptCommand s_gs162_g5_s0_station_sref_script[] = { /* 0x821161c */
DEBUGINFO_O(378),
SELECT_MAP(162),
SELECT_MAP(MAP_PERSONALITY_TEST_CYAN),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(5),
BGM_SWITCH(MUS_BENEVOLENT_SPIRIT),
{ 0x27, 0x00, 0x0005, 0x00000020, 0x00ffffff, NULL },
AWAIT_CUE(3),
FANFARE_PLAY2(506),
@ -411,9 +411,9 @@ static const struct ScriptCommand s_gs162_g5_s0_lives0_dlg0[] = { /* 0x82116b8 *
static const struct ScriptCommand s_gs162_g6_s0_station_sref_script[] = { /* 0x82117e4 */
DEBUGINFO_O(413),
SELECT_MAP(162),
SELECT_MAP(MAP_PERSONALITY_TEST_CYAN),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(5),
BGM_SWITCH(MUS_BENEVOLENT_SPIRIT),
{ 0x22, 0x01, 0x003c, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
BGM_FADEOUT(60),
@ -674,7 +674,7 @@ static const struct ScriptCommand s_gs162_g6_s1_lives0_dlg0[] = { /* 0x8212774 *
static const struct ScriptCommand s_gs162_g7_s0_station_sref_script[] = { /* 0x8212df4 */
DEBUGINFO_O(676),
SELECT_MAP(162),
SELECT_MAP(MAP_PERSONALITY_TEST_CYAN),
SELECT_ENTITIES(-1, -1),
{ 0x27, 0x01, 0x000e, 0x0000001e, 0x00000000, NULL },
AWAIT_CUE(3),
@ -711,9 +711,9 @@ static const struct ScriptCommand s_gs162_g7_s0_lives1_dlg0[] = { /* 0x8212f40 *
static const struct ScriptCommand s_gs162_g8_s0_station_sref_script[] = { /* 0x8212f90 */
DEBUGINFO_O(713),
SELECT_MAP(162),
SELECT_MAP(MAP_PERSONALITY_TEST_CYAN),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(5),
BGM_SWITCH(MUS_BENEVOLENT_SPIRIT),
{ 0x22, 0x01, 0x003c, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
BGM_FADEOUT(60),
@ -976,9 +976,9 @@ static const struct ScriptCommand s_gs162_g8_s1_lives0_dlg0[] = { /* 0x8213b50 *
static const struct ScriptCommand s_gs162_g9_s0_station_sref_script[] = { /* 0x8214480 */
DEBUGINFO_O(978),
SELECT_MAP(162),
SELECT_MAP(MAP_PERSONALITY_TEST_CYAN),
SELECT_ENTITIES(-1, -1),
BGM_SWITCH(5),
BGM_SWITCH(MUS_BENEVOLENT_SPIRIT),
{ 0x27, 0x00, 0x0005, 0x0000003c, 0x00ffffff, NULL },
AWAIT_CUE(3),
BGM_FADEOUT(60),
@ -1235,7 +1235,7 @@ static const struct ScriptCommand s_gs162_g9_s1_lives0_dlg0[] = { /* 0x82157b8 *
static const struct ScriptCommand s_gs162_g10_s0_station_sref_script[] = { /* 0x8215d28 */
DEBUGINFO_O(1237),
SELECT_MAP(162),
SELECT_MAP(MAP_PERSONALITY_TEST_CYAN),
SELECT_ENTITIES(-1, 0),
{ 0x27, 0x01, 0x000e, 0x0000001e, 0x00000000, NULL },
AWAIT_CUE(3),

View File

@ -8,7 +8,7 @@
static const struct ScriptCommand s_gs163_g0_s0_station_sref_script[] = { /* 0x82163d4 */
DEBUGINFO_O(10),
SELECT_MAP(163),
SELECT_MAP(MAP_PERSONALITY_TEST_PURPLE),
BGM_STOP,
JUMP_SCRIPT(COMMON_ENTER),
};
@ -18,7 +18,7 @@ static const struct ScriptRef s_gs163_g0_s0_station_sref = { 404, 1, NULL /* ENT
static const struct ScriptCommand s_gs163_g1_s0_station_sref_script[] = { /* 0x821644c */
DEBUGINFO_O(19),
BGM_STOP,
SELECT_MAP(163),
SELECT_MAP(MAP_PERSONALITY_TEST_PURPLE),
{ 0x2d, 0x09, 0x0000, 0x00000000, 0x00000000, NULL },
PORTRAIT(PLACEMENT_LEFT_, 0x0000, 0x00000002),
{ 0x33, 0x00, 0x0000, 0x00000000, 0x00000000, _("......") },
@ -56,7 +56,7 @@ static const struct ScriptCommand s_gs163_g1_s0_lives0_dlg0[] = { /* 0x8216594 *
static const struct ScriptCommand s_gs163_g2_s0_station_sref_script[] = { /* 0x82166dc */
DEBUGINFO_O(58),
SELECT_MAP(163),
SELECT_MAP(MAP_PERSONALITY_TEST_PURPLE),
SELECT_ENTITIES(-1, -1),
{ 0x22, 0x01, 0x003c, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
@ -87,7 +87,7 @@ static const struct ScriptCommand s_gs163_g2_s0_lives0_dlg0[] = { /* 0x8216758 *
static const struct ScriptCommand s_gs163_g3_s0_station_sref_script[] = { /* 0x8216898 */
DEBUGINFO_O(89),
SELECT_MAP(163),
SELECT_MAP(MAP_PERSONALITY_TEST_PURPLE),
SELECT_ENTITIES(-1, -1),
BGM_FADEIN(60, 37),
{ 0x22, 0x01, 0x005a, 0x00000000, 0x00000000, NULL },

View File

@ -19,7 +19,7 @@ static const struct ScriptRef s_gs164_g0_s0_station_sref = { 404, 1, NULL /* ENT
static const struct ScriptCommand s_gs164_g1_s0_station_sref_script[] = { /* 0x82181b8 */
DEBUGINFO_O(21),
BGM_SWITCH(24),
BGM_SWITCH(MUS_THE_ESCAPE),
{ 0x23, 0x01, 0x0000, 0x00000000, 0x00000000, NULL },
{ 0x26, 0x01, 0x0000, 0x00000000, 0x00000000, NULL },
SELECT_MAP(164),

View File

@ -19,7 +19,7 @@ static const struct ScriptRef s_gs165_g0_s0_station_sref = { 404, 1, NULL /* ENT
static const struct ScriptCommand s_gs165_g1_s0_station_sref_script[] = { /* 0x8218618 */
DEBUGINFO_O(21),
BGM_SWITCH(24),
BGM_SWITCH(MUS_THE_ESCAPE),
{ 0x23, 0x01, 0x0000, 0x00000000, 0x00000000, NULL },
{ 0x26, 0x01, 0x0000, 0x00000000, 0x00000000, NULL },
SELECT_MAP(165),

View File

@ -47,7 +47,7 @@ static const struct ScriptCommand s_gs166_g1_s0_lives0_dlg0[] = { /* 0x8218cb0 *
PORTRAIT_REP(0x0001, 0x0000000c),
MSG_NPC(1, _(" Oh, no! Look!")),
TEXTBOX_CLEAR,
BGM_SWITCH(38),
BGM_SWITCH(MUS_THE_MOUNTAIN_OF_FIRE),
ROTATE_TO(4, DIR_TRANS_11, DIRECTION_EAST),
WAIT(20),
ALERT_CUE(3),

View File

@ -36,7 +36,7 @@ static const struct ScriptCommand s_gs167_g2_s0_station_sref_script[] = { /* 0x8
DEBUGINFO_O(36),
SELECT_MAP(167),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(24),
BGM_SWITCH(MUS_THE_ESCAPE),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
{ 0x23, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },

View File

@ -216,7 +216,7 @@ static const struct ScriptCommand s_gs168_g2_s0_station_sref_script[] = { /* 0x8
SELECT_MAP(168),
SELECT_WEATHER(-1),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(36),
BGM_SWITCH(MUS_ESCAPE_THROUGH_THE_SNOW),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
{ 0x23, 0x01, 0x003c, 0x00000000, 0x00000000, NULL },

View File

@ -19,7 +19,7 @@ static const struct ScriptCommand s_gs169_g1_s0_station_sref_script[] = { /* 0x8
DEBUGINFO_O(19),
SELECT_MAP(169),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(36),
BGM_SWITCH(MUS_ESCAPE_THROUGH_THE_SNOW),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
{ 0x23, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },

View File

@ -30,7 +30,7 @@ static const struct ScriptCommand s_gs171_g1_s0_station_sref_script[] = { /* 0x8
DEBUGINFO_O(30),
SELECT_MAP(171),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(19),
BGM_SWITCH(MUS_WORLD_CALAMITY),
{ 0x27, 0x00, 0x0005, 0x00000020, 0x00ffffff, NULL },
AWAIT_CUE(3),
{ 0x23, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
@ -74,7 +74,7 @@ static const struct ScriptCommand s_gs171_g2_s0_station_sref_script[] = { /* 0x8
DEBUGINFO_O(74),
SELECT_MAP(171),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(19),
BGM_SWITCH(MUS_WORLD_CALAMITY),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
{ 0x28, 0x01, 0x0005, 0x00000020, 0x00ffffff, NULL },
@ -123,7 +123,7 @@ static const struct ScriptCommand s_gs171_g3_s0_station_sref_script[] = { /* 0x8
WAIT(60),
SELECT_MAP(171),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(19),
BGM_SWITCH(MUS_WORLD_CALAMITY),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
{ 0x23, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
@ -205,7 +205,7 @@ static const struct ScriptCommand s_gs171_g3_s0_lives0_dlg0[] = { /* 0x82200b0 *
AWAIT_CUE(5),
FANFARE_PLAY(212),
MSG_INSTANT(_("{CENTER_ALIGN}{NAME_0}'s team received\n{CENTER_ALIGN}the {COLOR GREEN}Teleport Gem{RESET}.")),
{ 0xe1, 0x00, 0x00d4, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE1(212),
TEXTBOX_CLEAR,
WAIT(30),
ALERT_CUE(7),
@ -382,7 +382,7 @@ static const struct ScriptCommand s_gs171_g4_s0_station_sref_script[] = { /* 0x8
DEBUGINFO_O(382),
SELECT_MAP(171),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(19),
BGM_SWITCH(MUS_WORLD_CALAMITY),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
{ 0x23, 0x01, 0x003c, 0x00000000, 0x00000000, NULL },
@ -573,7 +573,7 @@ static const struct ScriptCommand s_gs171_g5_s0_station_sref_script[] = { /* 0x8
SELECT_ENTITIES(5, 0),
BGM_STOP,
AWAIT_CUE(3),
BGM_SWITCH(41),
BGM_SWITCH(MUS_AFTERMATH),
{ 0x23, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
RET,
};
@ -1057,7 +1057,7 @@ static const struct ScriptCommand s_gs171_g6_s0_station_sref_script[] = { /* 0x8
DEBUGINFO_O(1057),
SELECT_MAP(171),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(41),
BGM_SWITCH(MUS_AFTERMATH),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
{ 0x23, 0x01, 0x003c, 0x00000000, 0x00000000, NULL },
@ -1185,7 +1185,7 @@ static const struct ScriptCommand s_gs171_g6_s0_lives0_dlg0[] = { /* 0x8223d40 *
{ 0x33, 0x00, 0x0000, 0x00000000, 0x00000000, _("(............{WAIT_PRESS}\n{NAME_5}...)") },
TEXTBOX_CLEAR,
WAIT(10),
BGM_SWITCH(42),
BGM_SWITCH(MUS_FAREWELL),
PORTRAIT(PLACEMENT_RIGHT, 0x0005, 0x00000000),
MSG_NPC(5, _(" We owe everything to you,\n{NAME_0}, and your friends.")),
MSG_NPC(5, _(" Peace has returned to\nour world.")),

View File

@ -20,7 +20,7 @@ static const struct ScriptCommand s_gs172_g1_s0_station_sref_script[] = { /* 0x8
SELECT_MAP(172),
SELECT_ENTITIES(-1, 0),
{ 0x2d, 0x09, 0x0000, 0x00000022, 0x00000000, NULL },
BGM_SWITCH(22),
BGM_SWITCH(MUS_SKY_TOWER),
ALERT_CUE(4),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(5),

View File

@ -22,7 +22,7 @@ static const struct ScriptCommand s_gs173_g1_s0_station_sref_script[] = { /* 0x8
SELECT_ENTITIES(-1, -1),
WAIT(60),
{ 0x97, 0x00, 0x0002, 0x00000001, 0x00000001, NULL },
BGM_SWITCH(19),
BGM_SWITCH(MUS_WORLD_CALAMITY),
FANFARE_PLAY2(508),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
WAIT(240),
@ -46,7 +46,7 @@ static const struct ScriptCommand s_gs173_g2_s0_station_sref_script[] = { /* 0x8
DEBUGINFO_O(46),
SELECT_MAP(173),
SELECT_ENTITIES(-1, -1),
BGM_SWITCH(26),
BGM_SWITCH(MUS_RAYQUAZAS_DOMAIN),
FANFARE_PLAY2(508),
{ 0x97, 0x00, 0x0002, 0x00000001, 0x00000001, NULL },
{ 0x22, 0x01, 0x0010, 0x00000000, 0x00000000, NULL },
@ -74,7 +74,7 @@ static const struct ScriptCommand s_gs173_g3_s0_station_sref_script[] = { /* 0x8
DEBUGINFO_O(74),
SELECT_MAP(173),
SELECT_ENTITIES(-1, -1),
BGM_SWITCH(26),
BGM_SWITCH(MUS_RAYQUAZAS_DOMAIN),
{ 0x97, 0x00, 0x0001, 0x00000000, 0x00000000, NULL },
{ 0x27, 0x00, 0x0005, 0x00000010, 0x00ffffff, NULL },
AWAIT_CUE(5),

View File

@ -39,7 +39,7 @@ static const struct ScriptCommand s_gs175_g1_s0_eff1_script[] = { /* 0x822b0f4 *
DEBUGINFO_O(39),
{ 0x2d, 0x07, 0x0000, 0x00000000, 0x00000000, NULL },
WAIT(40),
BGM_SWITCH(44),
BGM_SWITCH(MUS_CREDITS),
WAIT(300),
TEXTBOX_AUTO_PRESS(-200, 60),
{ 0x33, 0x00, 0x0000, 0x00000000, 0x00000000, _("(..................)") },
@ -83,7 +83,7 @@ static const struct ScriptCommand s_gs175_g2_s0_eff1_script[] = { /* 0x822b3d0 *
{ 0x2d, 0x07, 0x0000, 0x00000000, 0x00000000, NULL },
{ 0xdf, 0x00, 0x0000, 0x00000000, 0x00000000, NULL },
WAIT(120),
BGM_SWITCH(45),
BGM_SWITCH(MUS_TIME_OF_REUNION),
WAIT(60),
TEXTBOX_AUTO_PRESS(190, 190),
{ 0x26, 0x01, 0x0000, 0x00000000, 0x00000000, NULL },

View File

@ -237,7 +237,7 @@ static const struct ScriptCommand s_gs9_g0_s0_station_sref_script[] = { /* 0x819
LABEL(55), /* = 0x37 */
SELECT_ENTITIES(0, 7),
LABEL(56), /* = 0x38 */
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
JUMP_SCRIPT(COMMON_ENTER),
LABEL(53), /* = 0x35 */
JUMPIF_SCENARIOCHECK(QUEST_CAN_CHANGE_LEADER, /* to label */ 57),
@ -1050,7 +1050,7 @@ static const struct ScriptCommand s_gs9_g5_s0_station_sref_script[] = { /* 0x819
LABEL(1), /* = 0x01 */
SELECT_EVENTS(0, 0),
CALL_STATION( 4, 0),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
JUMP_STATION( 8, 0),
@ -1105,7 +1105,7 @@ static const struct ScriptCommand s_gs9_g6_s0_station_sref_script[] = { /* 0x819
SELECT_ENTITIES(-1, 2),
JUMP_LABEL(2),
LABEL(2), /* = 0x02 */
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
BGM_FADEOUT(60),
@ -1172,7 +1172,7 @@ static const struct ScriptCommand s_gs9_g7_s0_station_sref_script[] = { /* 0x819
LABEL(1), /* = 0x01 */
SELECT_EVENTS(0, 0),
CALL_STATION( 4, 0),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
JUMP_STATION( 8, 0),
@ -1398,7 +1398,7 @@ static const struct ScriptCommand s_gs9_g17_s0_station_sref_script[] = { /* 0x81
{ 0x3b, 0x39, 0x0004, 0x00000000, 0x00000000, NULL },
SELECT_MAP(MAP_TEAM_BASE),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
{ 0x3b, 0x39, 0x0001, 0x00000000, 0x00000000, NULL },
@ -1671,7 +1671,7 @@ static const struct ScriptCommand s_gs9_g17_s3_lives0_dlg0[] = { /* 0x81a21b0 -
CALL_SCRIPT(NOTICE_FUNC),
ALERT_CUE(5),
WAIT(2),
{ 0xe2, 0x00, 0x01d1, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(465),
AWAIT_CUE(6),
{ 0x54, 0x00, 0x002a, 0x00000000, 0x00000000, NULL },
STOP_ANIMATION_ON_CURRENT_FRAME,
@ -1687,7 +1687,7 @@ static const struct ScriptCommand s_gs9_g18_s0_station_sref_script[] = { /* 0x81
UPDATE_VARINT(CALC_SET, PARTNER2_KIND, 0),
SELECT_MAP(MAP_TEAM_BASE),
SELECT_ENTITIES(-1, -1),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
SELECT_EVENTS(0, 0),
@ -1722,7 +1722,7 @@ static const struct ScriptCommand s_gs9_g18_s0_lives0_dlg0[] = { /* 0x81a23fc */
TEXTBOX_CLEAR,
ALERT_CUE(6),
FANFARE_PLAY2(468),
{ 0xe2, 0x00, 0x01d4, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(468),
WAIT(10),
FANFARE_PLAY2(468),
AWAIT_CUE(5),
@ -1776,7 +1776,7 @@ static const struct ScriptCommand s_gs9_g18_s0_lives0_dlg0[] = { /* 0x81a23fc */
MSG_INSTANT(_("{CENTER_ALIGN}{NAME_1} checked the Mailbox.")),
FANFARE_PLAY(213),
MSG_INSTANT(_("{CENTER_ALIGN}The Mailbox contained\n{CENTER_ALIGN}a {COLOR CYAN}Rescue Team Starter Set{RESET}!")),
{ 0xe1, 0x00, 0x00d5, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE1(213),
TEXTBOX_CLEAR,
ALERT_CUE(6),
AWAIT_CUE(5),
@ -1798,13 +1798,13 @@ static const struct ScriptCommand s_gs9_g18_s0_lives0_dlg0[] = { /* 0x81a23fc */
MSG_INSTANT(_("{CENTER_ALIGN}{NAME_1} opened\n{CENTER_ALIGN}the {COLOR CYAN}Rescue Team Starter Set{RESET}.")),
FANFARE_PLAY(213),
MSG_INSTANT(_("{CENTER_ALIGN}There was\n{CENTER_ALIGN}a {COLOR CYAN}Rescue Team Badge{RESET} inside!")),
{ 0xe1, 0x00, 0x00d5, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE1(213),
FANFARE_PLAY(213),
MSG_INSTANT(_("{CENTER_ALIGN}There was a {COLOR CYAN}Toolbox{RESET} inside!")),
{ 0xe1, 0x00, 0x00d5, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE1(213),
FANFARE_PLAY(213),
MSG_INSTANT(_("{CENTER_ALIGN}There was also an issue of\n{CENTER_ALIGN}{COLOR CYAN}Pokémon News{RESET} inside!")),
{ 0xe1, 0x00, 0x00d5, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE1(213),
TEXTBOX_CLEAR,
WAIT(30),
ALERT_CUE(6),
@ -2186,7 +2186,7 @@ static const struct ScriptCommand s_gs9_g20_s0_lives0_dlg0[] = { /* 0x81a48c8 */
SELECT_ENTITIES(-1, 1),
AWAIT_CUE(5),
WAIT(30),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
WAIT(30),
PORTRAIT(PLACEMENT_MIDDLE_TOP_RIGHT, 0x0001, 0x0000000c),
MSG_VAR(2, PARTNER_TALK_KIND, 1),
@ -2270,7 +2270,7 @@ static const struct ScriptCommand s_gs9_g21_s0_station_sref_script[] = { /* 0x81
UPDATE_VARINT(CALC_SET, PARTNER2_KIND, 0),
SELECT_MAP(MAP_TEAM_BASE),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x003c, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
SELECT_EVENTS(0, 0),
@ -2445,7 +2445,7 @@ static const struct ScriptCommand s_gs9_g23_s0_station_sref_script[] = { /* 0x81
DEBUGINFO_O(2586),
SELECT_MAP(MAP_TEAM_BASE),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x003c, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
BGM_FADEOUT(60),
@ -2682,7 +2682,7 @@ static const struct ScriptCommand s_gs9_g26_s0_station_sref_script[] = { /* 0x81
UPDATE_VARINT(CALC_SET, PARTNER2_KIND, 0),
SELECT_MAP(MAP_TEAM_BASE),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
SELECT_EVENTS(0, 0),
@ -2798,7 +2798,7 @@ static const struct ScriptCommand s_gs9_g27_s0_station_sref_script[] = { /* 0x81
UPDATE_VARINT(CALC_SET, PARTNER2_KIND, 0),
SELECT_MAP(MAP_TEAM_BASE),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
SELECT_EVENTS(0, 0),
@ -2845,7 +2845,7 @@ static const struct ScriptCommand s_gs9_g28_s0_station_sref_script[] = { /* 0x81
DEBUGINFO_O(2986),
SELECT_MAP(MAP_TEAM_BASE),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(103),
BGM_SWITCH(MUS_A_SUCCESSFUL_RESCUE),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
BGM_FADEOUT(90),
@ -3514,7 +3514,7 @@ static const struct ScriptCommand s_gs9_g29_s0_station_sref_script[] = { /* 0x81
DEBUGINFO_O(3655),
SELECT_MAP(MAP_TEAM_BASE),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
{ 0x23, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
@ -3609,7 +3609,7 @@ static const struct ScriptCommand s_gs9_g29_s0_lives0_dlg0[] = { /* 0x81ab6d4 */
{ 0x33, 0x00, 0x0000, 0x00000000, 0x00000000, _("(Huh? What was I like when I was\na human, anyway...?)") },
FANFARE_PLAY2(470),
CALL_SCRIPT(SWEAT_FUNC),
{ 0xe2, 0x00, 0x01d6, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(470),
PORTRAIT_REP(0x0000, 0x00000005),
{ 0x33, 0x00, 0x0000, 0x00000000, 0x00000000, _("(............{WAIT_PRESS}\nNope. I can't remember a thing...)") },
TEXTBOX_CLEAR,
@ -3704,7 +3704,7 @@ static const struct ScriptCommand s_gs9_g30_s0_station_sref_script[] = { /* 0x81
UPDATE_VARINT(CALC_SET, PARTNER2_KIND, 0),
SELECT_MAP(MAP_TEAM_BASE),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
BGM_FADEIN(60, 1),
@ -3751,7 +3751,7 @@ static const struct ScriptCommand s_gs9_g30_s0_lives0_dlg0[] = { /* 0x81acd04 */
ALERT_CUE(4),
AWAIT_CUE(5),
WAIT(30),
BGM_SWITCH(10),
BGM_SWITCH(MUS_THERES_TROUBLE),
PORTRAIT(PLACEMENT_RIGHT, 0x0003, 0x00000000),
MSG_NPC(3, _(" There's nothing here.")),
TEXTBOX_CLEAR,
@ -3987,19 +3987,19 @@ static const struct ScriptCommand s_gs9_g30_s0_lives1_dlg0[] = { /* 0x81ae20c */
AWAIT_CUE(6),
FANFARE_PLAY2(457),
CALL_SCRIPT(JUMP_ANGRY_FUNC),
{ 0xe2, 0x00, 0x01c9, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(457),
ALERT_CUE(5),
AWAIT_CUE(6),
FANFARE_PLAY2(458),
CALL_SCRIPT(JUMP_HAPPY_FUNC),
ALERT_CUE(5),
WAIT(10),
{ 0xe2, 0x00, 0x01ca, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(458),
AWAIT_CUE(6),
FANFARE_PLAY2(473),
CALL_SCRIPT(SHOCK_FUNC),
WAIT(20),
{ 0xe2, 0x00, 0x01d9, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(473),
AWAIT_CUE(6),
{ 0x89, 0x08, 0x0100, 0x00000000, 0x00000000, NULL },
ALERT_CUE(5),
@ -4156,7 +4156,7 @@ static const struct ScriptCommand s_gs9_g31_s0_station_sref_script[] = { /* 0x81
UPDATE_VARINT(CALC_SET, PARTNER2_KIND, 0),
SELECT_MAP(MAP_TEAM_BASE),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
SELECT_EVENTS(0, 0),
@ -4250,7 +4250,7 @@ static const struct ScriptCommand s_gs9_g31_s0_lives0_dlg0[] = { /* 0x81aee18 */
ALERT_CUE(9),
ALERT_CUE(10),
AWAIT_CUE(5),
BGM_SWITCH(10),
BGM_SWITCH(MUS_THERES_TROUBLE),
WAIT(16),
ALERT_CUE(6),
AWAIT_CUE(5),
@ -4409,13 +4409,13 @@ static const struct ScriptCommand s_gs9_g31_s0_lives1_dlg0[] = { /* 0x81b002c */
CALL_SCRIPT(NOTICE_FUNC),
ALERT_CUE(5),
WAIT(5),
{ 0xe2, 0x00, 0x01d1, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(465),
AWAIT_CUE(6),
FANFARE_PLAY2(457),
CALL_SCRIPT(JUMP_ANGRY_FUNC),
ALERT_CUE(5),
WAIT(5),
{ 0xe2, 0x00, 0x01c9, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(457),
AWAIT_CUE(6),
CALL_SCRIPT(ANGRY_START_FUNC),
AWAIT_CUE(6),
@ -4554,7 +4554,7 @@ static const struct ScriptCommand s_gs9_g33_s0_station_sref_script[] = { /* 0x81
UPDATE_VARINT(CALC_SET, PARTNER2_KIND, 0),
SELECT_MAP(MAP_TEAM_BASE),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
SELECT_EVENTS(0, 0),
@ -4595,7 +4595,7 @@ static const struct ScriptCommand s_gs9_g34_s0_station_sref_script[] = { /* 0x81
DEBUGINFO_O(4736),
SELECT_MAP(MAP_TEAM_BASE),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(103),
BGM_SWITCH(MUS_A_SUCCESSFUL_RESCUE),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
BGM_FADEOUT(90),
@ -4913,7 +4913,7 @@ static const struct ScriptCommand s_gs9_g35_s0_station_sref_script[] = { /* 0x81
DEBUGINFO_O(5054),
SELECT_MAP(MAP_TEAM_BASE),
SELECT_ENTITIES(-1, -1),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
{ 0x23, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
@ -5004,7 +5004,7 @@ static const struct ScriptCommand s_gs9_g36_s0_station_sref_script[] = { /* 0x81
SELECT_ENTITIES(-1, -1),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
SELECT_EVENTS(0, 0),
CALL_STATION( 37, 0),
RET,
@ -5040,7 +5040,7 @@ static const struct ScriptCommand s_gs9_g36_s0_lives0_dlg0[] = { /* 0x81b2ab0 */
ALERT_CUE(6),
CALL_SCRIPT(NOTICE_FUNC),
WAIT(30),
BGM_SWITCH(9),
BGM_SWITCH(MUS_RISING_FEAR),
PORTRAIT_REP(0x0001, 0x0000000c),
MSG_NPC(1, _(" Are you serious?!")),
TEXTBOX_CLEAR,
@ -5197,7 +5197,7 @@ static const struct ScriptCommand s_gs9_g38_s0_station_sref_script[] = { /* 0x81
UPDATE_VARINT(CALC_SET, PARTNER2_KIND, 0),
SELECT_MAP(MAP_TEAM_BASE),
SELECT_ENTITIES(-1, -1),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x003c, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
SELECT_EVENTS(0, 0),
@ -5237,7 +5237,7 @@ static const struct ScriptCommand s_gs9_g39_s0_station_sref_script[] = { /* 0x81
DEBUGINFO_O(5378),
SELECT_MAP(MAP_TEAM_BASE),
SELECT_ENTITIES(-1, -1),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
BGM_FADEOUT(60),
@ -5324,7 +5324,7 @@ static const struct ScriptCommand s_gs9_g39_s0_lives0_dlg0[] = { /* 0x81b3de0 */
WAIT(64),
ALERT_CUE(6),
ROTATE_TO(4, DIR_TRANS_11, DIRECTION_NORTHEAST),
BGM_SWITCH(114),
BGM_SWITCH(MUS_IN_THE_DEPTHS_OF_THE_PIT),
PORTRAIT(PLACEMENT_TOP_FLIP, 0x0004, 0x00000000),
MSG_NPC(4, _(" Zapdos...{WAIT_PRESS}\nIt's one of the legendary bird Pokémon.")),
MSG_NPC(4, _(" I heard it had been\nsleeping for a long time...")),
@ -5686,7 +5686,7 @@ static const struct ScriptCommand s_gs9_g40_s0_station_sref_script[] = { /* 0x81
UPDATE_VARINT(CALC_SET, PARTNER2_KIND, 0),
SELECT_MAP(MAP_TEAM_BASE),
SELECT_ENTITIES(-1, -1),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x003c, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
SELECT_EVENTS(0, 0),
@ -5752,7 +5752,7 @@ static const struct ScriptCommand s_gs9_g42_s0_station_sref_script[] = { /* 0x81
UPDATE_VARINT(CALC_SET, PARTNER2_KIND, 0),
SELECT_MAP(MAP_TEAM_BASE),
SELECT_ENTITIES(-1, -1),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
SELECT_EVENTS(0, 0),
@ -5797,7 +5797,7 @@ static const struct ScriptCommand s_gs9_g43_s0_station_sref_script[] = { /* 0x81
UPDATE_VARINT(CALC_SET, PARTNER2_KIND, 0),
SELECT_MAP(MAP_TEAM_BASE),
SELECT_ENTITIES(-1, -1),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
SELECT_EVENTS(0, 0),
@ -5971,7 +5971,7 @@ static const struct ScriptCommand s_gs9_g44_s0_station_sref_script[] = { /* 0x81
UPDATE_VARINT(CALC_SET, PARTNER2_KIND, 0),
SELECT_MAP(MAP_TEAM_BASE),
SELECT_ENTITIES(-1, -1),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
SELECT_EVENTS(0, 0),
@ -6017,7 +6017,7 @@ static const struct ScriptCommand s_gs9_g45_s0_station_sref_script[] = { /* 0x81
UPDATE_VARINT(CALC_SET, PARTNER2_KIND, 0),
SELECT_MAP(MAP_TEAM_BASE),
SELECT_ENTITIES(-1, -1),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
SELECT_EVENTS(0, 0),
@ -6437,7 +6437,7 @@ static const struct ScriptCommand s_gs9_g46_s0_station_sref_script[] = { /* 0x81
DEBUGINFO_O(6578),
SELECT_MAP(MAP_TEAM_BASE),
SELECT_ENTITIES(-1, -1),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
BGM_FADEOUT(90),
@ -6487,7 +6487,7 @@ static const struct ScriptCommand s_gs9_g46_s0_lives0_dlg0[] = { /* 0x81ba664 */
WAIT(10),
FANFARE_PLAY2(465),
CALL_SCRIPT(NOTICE_FUNC),
{ 0xe2, 0x00, 0x01d1, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(465),
WAIT(30),
PORTRAIT_REP(0x0001, 0x00000002),
MSG_VAR(2, PARTNER_TALK_KIND, 1),
@ -6555,7 +6555,7 @@ static const struct ScriptCommand s_gs9_g47_s0_station_sref_script[] = { /* 0x81
UPDATE_VARINT(CALC_SET, PARTNER2_KIND, 0),
SELECT_MAP(MAP_TEAM_BASE),
SELECT_ENTITIES(-1, -1),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
SELECT_EVENTS(0, 0),
@ -6788,7 +6788,7 @@ static const struct ScriptCommand s_gs9_g48_s0_lives0_dlg0[] = { /* 0x81bb6cc */
MSG_NPC(2, _(" On what we must do to\nsave the world...")),
MSG_NPC(2, _(" And we arrived at a\nconsensus.{WAIT_PRESS}\nWe must get rid of you.")),
TEXTBOX_CLEAR,
BGM_SWITCH(9),
BGM_SWITCH(MUS_RISING_FEAR),
WAIT(10),
ALERT_CUE(6),
PORTRAIT_REP(0x0001, 0x0000000c),
@ -6940,7 +6940,7 @@ static const struct ScriptCommand s_gs9_g48_s0_lives0_dlg0[] = { /* 0x81bb6cc */
ALERT_CUE(10),
AWAIT_CUE(5),
ALERT_CUE(10),
BGM_SWITCH(7),
BGM_SWITCH(MUS_POKEMON_SQUARE),
PORTRAIT_REP(0x0001, 0x0000000b),
MSG_VAR(2, PARTNER_TALK_KIND, 1),
VARIANT(/* == */ 1, _(" That's right!\nThat's the spirit!\nThat's what I wanted to hear!")),
@ -7450,7 +7450,7 @@ static const struct ScriptCommand s_gs9_g51_s0_lives0_dlg0[] = { /* 0x81bf7d4 */
VARIANT_DEFAULT(_(" We have to get away at\nall cost.")),
TEXTBOX_CLEAR,
WAIT(30),
BGM_SWITCH(24),
BGM_SWITCH(MUS_THE_ESCAPE),
PORTRAIT(PLACEMENT_RIGHT, 0x0000, 0x00000000),
{ 0x33, 0x00, 0x0000, 0x00000000, 0x00000000, _("(...Yes. We have to escape.)") },
{ 0x33, 0x00, 0x0000, 0x00000000, 0x00000000, _("(Like {NAME_2} said that time...)") },
@ -7474,7 +7474,7 @@ static const struct ScriptCommand s_gs9_g52_s0_station_sref_script[] = { /* 0x81
DEBUGINFO_O(7615),
SELECT_MAP(MAP_TEAM_BASE),
SELECT_ENTITIES(-1, -1),
BGM_SWITCH(24),
BGM_SWITCH(MUS_THE_ESCAPE),
{ 0x27, 0x01, 0x000e, 0x0000001e, 0x00000000, NULL },
AWAIT_CUE(3),
{ 0x28, 0x01, 0x000e, 0x0000001e, 0x00000000, NULL },
@ -7535,7 +7535,7 @@ static const struct ScriptCommand s_gs9_g53_s0_station_sref_script[] = { /* 0x81
DEBUGINFO_O(7676),
SELECT_MAP(MAP_TEAM_BASE),
SELECT_ENTITIES(-1, -1),
BGM_SWITCH(24),
BGM_SWITCH(MUS_THE_ESCAPE),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
{ 0x23, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
@ -8046,7 +8046,7 @@ static const struct ScriptCommand s_gs9_g55_s0_station_sref_script[] = { /* 0x81
UPDATE_VARINT(CALC_SET, PARTNER2_KIND, 0),
SELECT_MAP(MAP_TEAM_BASE),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
{ 0x3b, 0x04, 0x0000, 0x00000000, 0x00000000, NULL },
@ -8178,7 +8178,7 @@ static const struct ScriptCommand s_gs9_g57_s0_station_sref_script[] = { /* 0x81
UPDATE_VARINT(CALC_SET, PARTNER2_KIND, 0),
SELECT_MAP(MAP_TEAM_BASE),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
SELECT_EVENTS(0, 0),
@ -8268,7 +8268,7 @@ static const struct ScriptCommand s_gs9_g58_s0_station_sref_script[] = { /* 0x81
DEBUGINFO_O(8409),
SELECT_MAP(MAP_TEAM_BASE),
SELECT_ENTITIES(-1, -1),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
{ 0x23, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
@ -8412,7 +8412,7 @@ static const struct ScriptCommand s_gs9_g59_s0_station_sref_script[] = { /* 0x81
SELECT_MAP(MAP_TEAM_BASE),
CALL_STATION( 4, 0),
SELECT_ENTITIES(-1, -1),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
SELECT_EVENTS(0, 0),
@ -8465,7 +8465,7 @@ static const struct ScriptCommand s_gs9_g60_s0_station_sref_script[] = { /* 0x81
UPDATE_VARINT(CALC_SET, PARTNER2_KIND, 0),
SELECT_MAP(MAP_TEAM_BASE),
SELECT_ENTITIES(-1, -1),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x003c, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
SELECT_EVENTS(0, 0),
@ -8609,7 +8609,7 @@ static const struct ScriptCommand s_gs9_g62_s0_station_sref_script[] = { /* 0x81
UPDATE_VARINT(CALC_SET, PARTNER2_KIND, 0),
SELECT_MAP(MAP_TEAM_BASE),
SELECT_ENTITIES(-1, -1),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
SELECT_EVENTS(0, 0),
@ -8678,7 +8678,7 @@ static const struct ScriptCommand s_gs9_g62_s0_lives0_dlg0[] = { /* 0x81c5060 */
TEXTBOX_CLEAR,
FANFARE_PLAY2(463),
CALL_SCRIPT(NOTICE_FUNC),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x89, 0x48, 0x0100, 0x00000000, 0x00000000, NULL },
{ 0x9b, 0x00, 0x0100, 0x00000000, 0x00000000, NULL },
ALERT_CUE(3),
@ -8712,7 +8712,7 @@ static const struct ScriptCommand s_gs9_g63_s0_station_sref_script[] = { /* 0x81
UPDATE_VARINT(CALC_SET, PARTNER2_KIND, 0),
SELECT_MAP(MAP_TEAM_BASE),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
SELECT_EVENTS(0, 0),
@ -8795,7 +8795,7 @@ static const struct ScriptCommand s_gs9_g65_s0_station_sref_script[] = { /* 0x81
UPDATE_VARINT(CALC_SET, PARTNER2_KIND, 0),
SELECT_MAP(MAP_TEAM_BASE),
SELECT_ENTITIES(-1, -1),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x003c, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
SELECT_EVENTS(0, 0),
@ -8855,7 +8855,7 @@ static const struct ScriptCommand s_gs9_g67_s0_station_sref_script[] = { /* 0x81
UPDATE_VARINT(CALC_SET, PARTNER2_KIND, 0),
SELECT_MAP(MAP_TEAM_BASE),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
SELECT_EVENTS(0, 0),
@ -9407,7 +9407,7 @@ static const struct ScriptCommand s_gs9_g69_s0_station_sref_script[] = { /* 0x81
DEBUGINFO_O(9548),
SELECT_MAP(MAP_TEAM_BASE),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
RET,
@ -9617,7 +9617,7 @@ static const struct ScriptCommand s_gs9_g72_s0_station_sref_script[] = { /* 0x81
SELECT_MAP(MAP_TEAM_BASE),
CALL_STATION( 4, 0),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
SELECT_EVENTS(0, 0),
@ -9937,7 +9937,7 @@ static const struct ScriptCommand s_gs9_g74_s0_lives1_dlg0[] = { /* 0x81cb178 */
FANFARE_PLAY2(470),
CALL_SCRIPT(SWEAT_FUNC),
ALERT_CUE(5),
{ 0xe2, 0x00, 0x01d6, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(470),
AWAIT_CUE(6),
{ 0x52, 0x00, 0x0000, 0x00001000, 0x00000000, NULL },
RET,
@ -10013,7 +10013,7 @@ static const struct ScriptCommand s_gs9_g75_s0_station_sref_script[] = { /* 0x81
DEBUGINFO_O(10154),
SELECT_MAP(MAP_TEAM_BASE),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
{ 0x23, 0x01, 0x003c, 0x00000000, 0x00000000, NULL },
@ -10078,7 +10078,7 @@ static const struct ScriptCommand s_gs9_g75_s0_lives0_dlg0[] = { /* 0x81cb8b4 */
AWAIT_CUE(5),
FANFARE_PLAY(203),
MSG_INSTANT(_("{CENTER_ALIGN}{NAME_0}'s team received\n{CENTER_ALIGN}a peeled {COLOR GREEN}Chestnut{RESET} as their reward.")),
{ 0xe1, 0x00, 0x00cb, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE1(203),
TEXTBOX_CLEAR,
WAIT(30),
ALERT_CUE(7),
@ -10120,7 +10120,7 @@ static const struct ScriptCommand s_gs9_g75_s0_lives0_dlg0[] = { /* 0x81cb8b4 */
TEXTBOX_CLEAR,
FANFARE_PLAY2(470),
CALL_SCRIPT(SWEAT_FUNC),
{ 0xe2, 0x00, 0x01d6, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(470),
WAIT(30),
ROTATE_TO(4, DIR_TRANS_SPINRIGHT1, DIRECTION_EAST),
WAIT(30),
@ -10133,7 +10133,7 @@ static const struct ScriptCommand s_gs9_g75_s0_lives0_dlg0[] = { /* 0x81cb8b4 */
CALL_SCRIPT(NOTICE_FUNC),
WAIT(1),
ROTATE_TO(8, DIR_TRANS_SPINRIGHT1, DIRECTION_SOUTH),
{ 0xe2, 0x00, 0x01d1, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(465),
ALERT_CUE(4),
BGM_FADEOUT(90),
AWAIT_CUE(5),
@ -10154,7 +10154,7 @@ static const struct ScriptCommand s_gs9_g75_s0_lives0_dlg0[] = { /* 0x81cb8b4 */
VARIANT_DEFAULT(_(" That {NAME_4} gang...")),
VARIANT_DEFAULT(_(" Did they chase us here to\nget us back?")),
TEXTBOX_CLEAR,
BGM_SWITCH(10),
BGM_SWITCH(MUS_THERES_TROUBLE),
ALERT_CUE(4),
ALERT_CUE(9),
ALERT_CUE(10),
@ -10329,7 +10329,7 @@ static const struct ScriptCommand s_gs9_g75_s0_lives0_dlg0[] = { /* 0x81cb8b4 */
WAIT(1),
{ 0x25, 0x01, 0x0000, 0x00000000, 0x00000000, NULL },
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
BGM_SWITCH(10),
BGM_SWITCH(MUS_THERES_TROUBLE),
{ 0xdf, 0x00, 0x0000, 0x00000000, 0x00000000, NULL },
WAIT(30),
{ 0x8b, 0x01, 0x0001, 0x00000000, 0x00000000, NULL },
@ -10605,7 +10605,7 @@ static const struct ScriptCommand s_gs9_g75_s0_lives1_dlg0[] = { /* 0x81ce8cc */
SELECT_ANIMATION(2),
FANFARE_PLAY2(468),
CALL_SCRIPT(QUESTION_FUNC),
{ 0xe2, 0x00, 0x01d4, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(468),
AWAIT_CUE(6),
ROTATE_TO(2, DIR_TRANS_SPINRIGHT1, DIRECTION_SOUTHWEST),
AWAIT_CUE(6),
@ -11251,7 +11251,7 @@ static const struct ScriptCommand s_gs9_g76_s0_lives1_dlg0[] = { /* 0x81d11b8 */
FANFARE_PLAY2(465),
CALL_SCRIPT(NOTICE_FUNC),
ROTATE_TO(4, DIR_TRANS_SPINRIGHT1, DIRECTION_SOUTHWEST),
{ 0xe2, 0x00, 0x01d1, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(465),
ALERT_CUE(5),
AWAIT_CUE(6),
{ 0x53, 0x00, 0x0000, 0x00000001, 0x00000000, NULL },
@ -11695,7 +11695,7 @@ static const struct ScriptCommand s_gs9_g77_s1_lives0_dlg0[] = { /* 0x81d23bc */
CAMERA_INIT_PAN,
SELECT_ENTITIES(-1, 0),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0xdf, 0x00, 0x0000, 0x00000000, 0x00000000, NULL },
WAIT(30),
{ 0x52, 0x00, 0x0000, 0x00001000, 0x00000000, NULL },
@ -11904,7 +11904,7 @@ static const struct ScriptCommand s_gs9_g78_s0_eff0_script[] = { /* 0x81d3b84 */
BGM_STOP,
WAIT(20),
FANFARE_PLAY(201),
{ 0xe1, 0x00, 0x00c9, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE1(201),
WAIT(30),
BGM_FADEIN(120, 1),
WALK_GRID(256, 118),
@ -12072,7 +12072,7 @@ static const struct ScriptCommand s_gs9_g78_s0_lives0_dlg0[] = { /* 0x81d3cc4 */
PORTRAIT(PLACEMENT_RIGHT, 0x0001, 0x00000004),
MSG_NPC(1, _(" Wh-what?!")),
TEXTBOX_CLEAR,
BGM_SWITCH(10),
BGM_SWITCH(MUS_THERES_TROUBLE),
{ 0xe5, 0x00, 0x0009, 0x00000000, 0x00000000, NULL },
{ 0xe5, 0x00, 0x000a, 0x00000000, 0x00000000, NULL },
{ 0xe5, 0x00, 0x000b, 0x00000000, 0x00000000, NULL },
@ -12228,7 +12228,7 @@ static const struct ScriptCommand s_gs9_g78_s0_lives4_dlg0[] = { /* 0x81d52f4 */
AWAIT_CUE(9),
FANFARE_PLAY2(472),
CALL_SCRIPT(JUMP_ANGRY_FUNC),
{ 0xe2, 0x00, 0x01d8, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(472),
ALERT_CUE(5),
AWAIT_CUE(9),
SELECT_ANIMATION(2),
@ -12244,7 +12244,7 @@ static const struct ScriptCommand s_gs9_g78_s0_lives4_dlg0[] = { /* 0x81d52f4 */
SELECT_ANIMATION(2),
WAIT(24),
FANFARE_PLAY2(610),
{ 0xe2, 0x00, 0x0262, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(610),
ALERT_CUE(5),
LABEL(0), /* = 0x00 */
JUMPIF(JUDGE_EQ, EVENT_LOCAL, 1, /* to label */ 1),
@ -12255,7 +12255,7 @@ static const struct ScriptCommand s_gs9_g78_s0_lives4_dlg0[] = { /* 0x81d52f4 */
SELECT_ANIMATION(2),
WAIT(24),
FANFARE_PLAY2(610),
{ 0xe2, 0x00, 0x0262, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(610),
JUMP_LABEL(0),
LABEL(1), /* = 0x01 */
FANFARE_FADEOUT2(100, 702),
@ -12368,7 +12368,7 @@ static const struct ScriptCommand s_gs9_g79_s0_station_sref_script[] = { /* 0x81
DEBUGINFO_O(12509),
SELECT_MAP(MAP_TEAM_BASE),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
BGM_FADEOUT(60),
@ -12623,7 +12623,7 @@ static const struct ScriptCommand s_gs9_g79_s0_lives0_dlg0[] = { /* 0x81d5d20 */
COND_EQUAL(1, /* to label */ 16),
FANFARE_PLAY(204),
MSG_INSTANT(_("{CENTER_ALIGN}{NAME_2} joined the rescue team!")),
{ 0xe1, 0x00, 0x00cc, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE1(204),
TEXTBOX_CLEAR,
WAIT(10),
{ 0x3b, 0x1e, 0x0000, 0x00000000, 0x00000000, NULL },
@ -12692,7 +12692,7 @@ static const struct ScriptCommand s_gs9_g79_s0_lives1_dlg0[] = { /* 0x81d764c */
ROTATE_TO(4, DIR_TRANS_SPINLEFT1, DIRECTION_SOUTH),
FANFARE_PLAY2(469),
CALL_SCRIPT(QUESTION_FUNC),
{ 0xe2, 0x00, 0x01d5, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(469),
ALERT_CUE(5),
AWAIT_CUE(6),
ROTATE_TO(4, DIR_TRANS_SPINRIGHT1, DIRECTION_SOUTHWEST),
@ -12733,7 +12733,7 @@ static const struct ScriptCommand s_gs9_g79_s0_lives2_dlg0[] = { /* 0x81d797c */
ROTATE_TO(4, DIR_TRANS_SPINRIGHT1, DIRECTION_SOUTH),
FANFARE_PLAY2(465),
CALL_SCRIPT(NOTICE_FUNC),
{ 0xe2, 0x00, 0x01d1, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(465),
AWAIT_CUE(7),
WALK_RELATIVE(512, -16, 0),
FANFARE_PLAY2(457),
@ -12761,7 +12761,7 @@ static const struct ScriptCommand s_gs9_g79_s0_lives2_dlg0[] = { /* 0x81d797c */
WAIT(30),
FANFARE_PLAY2(465),
CALL_SCRIPT(NOTICE_FUNC),
{ 0xe2, 0x00, 0x01d1, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(465),
ALERT_CUE(5),
AWAIT_CUE(7),
WALK_RELATIVE(512, 0, 32),
@ -12786,7 +12786,7 @@ static const struct ScriptCommand s_gs9_g79_s0_lives2_dlg0[] = { /* 0x81d797c */
ROTATE_TO(4, DIR_TRANS_SPINLEFT1, DIRECTION_NORTHWEST),
FANFARE_PLAY2(465),
CALL_SCRIPT(NOTICE_FUNC),
{ 0xe2, 0x00, 0x01d1, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(465),
ALERT_CUE(5),
AWAIT_CUE(7),
WALK_GRID(512, 129),
@ -12948,7 +12948,7 @@ static const struct ScriptCommand s_gs9_g81_s0_station_sref_script[] = { /* 0x81
WAIT(1),
{ 0x25, 0x01, 0x0000, 0x00000000, 0x00000000, NULL },
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
{ 0x23, 0x01, 0x003c, 0x00000000, 0x00000000, NULL },
@ -13136,7 +13136,7 @@ static const struct ScriptCommand s_gs9_g81_s0_lives0_dlg0[] = { /* 0x81d87d8 */
BGM_STOP,
FANFARE_PLAY(205),
MSG_INSTANT(_("{CENTER_ALIGN}The rescue team gained\n{CENTER_ALIGN}access to the {COLOR YELLOW_D}Meteor Cave{RESET}!")),
{ 0xe1, 0x00, 0x00cd, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE1(205),
TEXTBOX_CLEAR,
WAIT(30),
ALERT_CUE(3),
@ -13384,7 +13384,7 @@ static const struct ScriptCommand s_gs9_g84_s0_station_sref_script[] = { /* 0x81
DEBUGINFO_O(13525),
SELECT_MAP(MAP_TEAM_BASE),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
BGM_FADEOUT(60),
@ -13560,7 +13560,7 @@ static const struct ScriptCommand s_gs9_g85_s0_station_sref_script[] = { /* 0x81
DEBUGINFO_O(13701),
SELECT_MAP(MAP_TEAM_BASE),
SELECT_ENTITIES(-1, -1),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x003c, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
{ 0x23, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
@ -13584,7 +13584,7 @@ static const struct ScriptCommand s_gs9_g85_s0_lives0_dlg0[] = { /* 0x81db740 */
MSG_INSTANT(_("{CENTER_ALIGN}The latest recruit to\n{CENTER_ALIGN}Team {COLOR CYAN}{TEAM_NAME}{RESET}!")),
FANFARE_PLAY(204),
MSG_INSTANT(_("{CENTER_ALIGN}{NAME_2} joined\n{CENTER_ALIGN}the rescue team!")),
{ 0xe1, 0x00, 0x00cc, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE1(204),
TEXTBOX_CLEAR,
{ 0x3b, 0x2a, 0x0000, 0x00000000, 0x00000000, NULL },
COND_EQUAL(0, /* to label */ 2),
@ -13593,7 +13593,7 @@ static const struct ScriptCommand s_gs9_g85_s0_lives0_dlg0[] = { /* 0x81db740 */
MSG_INSTANT(_("{CENTER_ALIGN}And more!")),
MSG_INSTANT(_("{CENTER_ALIGN}The Friend Area\n{CENTER_ALIGN}{COLOR GREEN_H}{FRIEND_AREA}{RESET} was obtained!")),
FANFARE_PLAY(212),
{ 0xe1, 0x00, 0x00d4, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE1(212),
TEXTBOX_CLEAR2,
LABEL(2), /* = 0x02 */
{ 0x3b, 0x2b, 0x0000, 0x00000000, 0x00000000, NULL },
@ -13636,7 +13636,7 @@ static const struct ScriptCommand s_gs9_g86_s0_station_sref_script[] = { /* 0x81
SELECT_MAP(MAP_TEAM_BASE),
SELECT_ENTITIES(-1, 0),
SELECT_ENTITIES(-1, 1),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
SELECT_ENTITIES(87, 0),
@ -13695,9 +13695,9 @@ static const struct ScriptCommand s_gs9_g86_s0_lives0_dlg0[] = { /* 0x81dbc14 */
BGM_STOP,
FANFARE_PLAY(204),
MSG_INSTANT(_("{CENTER_ALIGN}{NAME_2} can now tag\n{CENTER_ALIGN}along with the rescue team!")),
{ 0xe1, 0x00, 0x00cc, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE1(204),
TEXTBOX_CLEAR,
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
WAIT(30),
PORTRAIT_REP(0x0002, 0x00000000),
MSG_NPC(2, _(" The only place I want to go\nis {COLOR YELLOW_D}Mt. Freeze{RESET}.")),
@ -13762,7 +13762,7 @@ static const struct ScriptCommand s_gs9_g88_s0_station_sref_script[] = { /* 0x81
DEBUGINFO_O(13903),
SELECT_MAP(MAP_TEAM_BASE),
SELECT_ENTITIES(-1, -1),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
BGM_FADEOUT(60),
@ -13819,7 +13819,7 @@ static const struct ScriptCommand s_gs9_g89_s0_station_sref_script[] = { /* 0x81
UPDATE_VARINT(CALC_SET, PARTNER2_KIND, 0),
SELECT_MAP(MAP_TEAM_BASE),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
SELECT_ENTITIES(90, 0),
@ -13878,9 +13878,9 @@ static const struct ScriptCommand s_gs9_g89_s0_lives0_dlg0[] = { /* 0x81dca48 */
BGM_STOP,
FANFARE_PLAY(204),
MSG_INSTANT(_("{CENTER_ALIGN}{NAME_2} can now tag\n{CENTER_ALIGN}along with the rescue team!")),
{ 0xe1, 0x00, 0x00cc, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE1(204),
TEXTBOX_CLEAR,
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
WAIT(30),
PORTRAIT_REP(0x0002, 0x00000000),
MSG_NPC(2, _(" The only place I want to go\nis the {COLOR YELLOW_D}Murky Cave{RESET}.")),
@ -13950,7 +13950,7 @@ static const struct ScriptCommand s_gs9_g91_s0_station_sref_script[] = { /* 0x81
DEBUGINFO_O(14091),
SELECT_MAP(MAP_TEAM_BASE),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(5),
BGM_SWITCH(MUS_BENEVOLENT_SPIRIT),
{ 0x22, 0x01, 0x003c, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
BGM_FADEOUT(60),

View File

@ -75,7 +75,7 @@ static const struct ScriptCommand s_gs12_g0_s0_station_sref_script[] = { /* 0x81
SELECT_LIVES(0, 1),
JUMP_LABEL(12),
LABEL(12), /* = 0x0c */
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
JUMP_SCRIPT(COMMON_ENTER),
};
@ -260,7 +260,7 @@ static const struct ScriptCommand s_gs12_g3_s0_station_sref_script[] = { /* 0x81
WAIT(1),
{ 0x25, 0x01, 0x0000, 0x00000000, 0x00000000, NULL },
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x003c, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
SELECT_EVENTS(0, 0),
@ -289,7 +289,7 @@ static const struct ScriptCommand s_gs12_g4_s0_station_sref_script[] = { /* 0x81
UPDATE_VARINT(CALC_SET, PARTNER2_KIND, 0),
SELECT_MAP(MAP_TEAM_BASE_INSIDE),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x003c, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
SELECT_EVENTS(0, 0),
@ -316,7 +316,7 @@ static const struct ScriptCommand s_gs12_g5_s0_station_sref_script[] = { /* 0x81
SELECT_MAP(MAP_TEAM_BASE_INSIDE),
SELECT_ENTITIES(0, 2),
SELECT_EVENTS(0, 0),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
RET,
};
@ -339,7 +339,7 @@ static const struct ScriptCommand s_gs12_g6_s0_station_sref_script[] = { /* 0x81
WAIT(1),
{ 0x25, 0x01, 0x0000, 0x00000000, 0x00000000, NULL },
SELECT_ENTITIES(-1, -1),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x003c, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
SELECT_EVENTS(0, 0),
@ -367,7 +367,7 @@ static const struct ScriptCommand s_gs12_g7_s0_station_sref_script[] = { /* 0x81
UPDATE_VARINT(CALC_SET, PARTNER2_KIND, 0),
SELECT_MAP(MAP_TEAM_BASE_INSIDE),
SELECT_ENTITIES(-1, -1),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x003c, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
SELECT_EVENTS(0, 0),
@ -396,7 +396,7 @@ static const struct ScriptCommand s_gs12_g8_s0_station_sref_script[] = { /* 0x81
UPDATE_VARINT(CALC_SET, PARTNER2_KIND, 0),
SELECT_MAP(MAP_TEAM_BASE_INSIDE),
SELECT_ENTITIES(-1, -1),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x003c, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
SELECT_EVENTS(0, 0),
@ -427,7 +427,7 @@ static const struct ScriptCommand s_gs12_g9_s0_station_sref_script[] = { /* 0x81
UPDATE_VARINT(CALC_SET, PARTNER2_KIND, 0),
SELECT_MAP(MAP_TEAM_BASE_INSIDE),
SELECT_ENTITIES(-1, -1),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
SELECT_EVENTS(0, 0),
@ -437,7 +437,7 @@ static const struct ScriptCommand s_gs12_g9_s0_station_sref_script[] = { /* 0x81
SELECT_LIVES(9, 1),
{ 0x22, 0x01, 0x003c, 0x00000000, 0x00000000, NULL },
{ 0xdf, 0x00, 0x0000, 0x00000000, 0x00000000, NULL },
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
RET,
};
@ -558,7 +558,7 @@ static const struct ScriptCommand s_gs12_g9_s0_lives0_dlg0[] = { /* 0x81e2ec0 */
BGM_STOP,
FANFARE_PLAY(212),
MSG_INSTANT(_("{CENTER_ALIGN}{NAME_1} received something\n{CENTER_ALIGN}from {NAME_2}.")),
{ 0xe1, 0x00, 0x00d4, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE1(212),
TEXTBOX_CLEAR,
WAIT(10),
ALERT_CUE(7),
@ -680,7 +680,7 @@ static const struct ScriptCommand s_gs12_g9_s0_lives1_dlg0[] = { /* 0x81e4480 */
AWAIT_CUE(6),
FANFARE_PLAY2(469),
CALL_SCRIPT(QUESTION_FUNC),
{ 0xe2, 0x00, 0x01d5, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(469),
AWAIT_CUE(6),
CALL_SCRIPT(SHOCK_FUNC),
AWAIT_CUE(6),
@ -690,7 +690,7 @@ static const struct ScriptCommand s_gs12_g9_s0_lives1_dlg0[] = { /* 0x81e4480 */
AWAIT_CUE(6),
FANFARE_PLAY2(469),
CALL_SCRIPT(QUESTION_FUNC),
{ 0xe2, 0x00, 0x01d5, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(469),
AWAIT_CUE(6),
ROTATE_TO(4, DIR_TRANS_SPINRIGHT1, DIRECTION_NORTH),
AWAIT_CUE(6),
@ -728,7 +728,7 @@ static const struct ScriptCommand s_gs12_g9_s0_lives2_dlg0[] = { /* 0x81e4720 */
AWAIT_CUE(7),
FANFARE_PLAY2(465),
CALL_SCRIPT(NOTICE_FUNC),
{ 0xe2, 0x00, 0x01d1, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(465),
ALERT_CUE(5),
AWAIT_CUE(7),
{ 0x62, 0x00, 0x0100, 0x00000000, -0x00000008, NULL },
@ -781,27 +781,27 @@ static const struct ScriptCommand s_gs12_g9_s0_lives2_dlg0[] = { /* 0x81e4720 */
WALK_RELATIVE(256, 0, 32),
ALERT_CUE(5),
FANFARE_PLAY2(468),
{ 0xe2, 0x00, 0x01d4, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(468),
FANFARE_PLAY2(468),
WAIT(30),
WALK_RELATIVE(256, -32, 16),
ROTATE_TO(4, DIR_TRANS_SPINLEFT1, DIRECTION_SOUTH),
FANFARE_PLAY2(468),
{ 0xe2, 0x00, 0x01d4, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(468),
FANFARE_PLAY2(468),
ALERT_CUE(5),
WAIT(30),
WALK_RELATIVE(256, 64, 16),
ROTATE_TO(4, DIR_TRANS_SPINRIGHT1, DIRECTION_SOUTH),
FANFARE_PLAY2(468),
{ 0xe2, 0x00, 0x01d4, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(468),
FANFARE_PLAY2(468),
ALERT_CUE(5),
WAIT(30),
WALK_RELATIVE(256, -32, 24),
ROTATE_TO(4, DIR_TRANS_SPINLEFT1, DIRECTION_SOUTH),
FANFARE_PLAY2(468),
{ 0xe2, 0x00, 0x01d4, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(468),
FANFARE_PLAY2(468),
WAIT(30),
ALERT_CUE(5),
@ -811,12 +811,12 @@ static const struct ScriptCommand s_gs12_g9_s0_lives2_dlg0[] = { /* 0x81e4720 */
AWAIT_CUE(7),
WALK_RELATIVE(256, 16, 16),
FANFARE_PLAY2(468),
{ 0xe2, 0x00, 0x01d4, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(468),
FANFARE_PLAY2(468),
WAIT(60),
WALK_RELATIVE(256, -16, 16),
FANFARE_PLAY2(468),
{ 0xe2, 0x00, 0x01d4, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(468),
FANFARE_PLAY2(468),
ROTATE_TO(4, DIR_TRANS_SPINLEFT1, DIRECTION_SOUTH),
WAIT(30),
@ -928,7 +928,7 @@ static const struct ScriptCommand s_gs12_g11_s0_station_sref_script[] = { /* 0x8
VARIANT_DEFAULT(_(" {NAME_0}, wake up!\nCome on, wake up!")),
TEXTBOX_CLEAR,
SELECT_ENTITIES(-1, -1),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x003c, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
BGM_FADEOUT(120),
@ -981,7 +981,7 @@ static const struct ScriptCommand s_gs12_g12_s0_station_sref_script[] = { /* 0x8
WAIT(1),
{ 0x25, 0x01, 0x0000, 0x00000000, 0x00000000, NULL },
SELECT_ENTITIES(-1, -1),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x003c, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
{ 0x23, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
@ -1125,7 +1125,7 @@ static const struct ScriptCommand s_gs12_g13_s0_station_sref_script[] = { /* 0x8
WAIT(1),
{ 0x25, 0x01, 0x0000, 0x00000000, 0x00000000, NULL },
SELECT_ENTITIES(-1, -1),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x003c, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
{ 0x23, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
@ -1182,7 +1182,7 @@ static const struct ScriptCommand s_gs12_g13_s0_lives0_dlg0[] = { /* 0x81e6580 *
WAIT(15),
MSG_INSTANT(_("{CENTER_ALIGN}Team {COLOR CYAN}{TEAM_NAME}{RESET}'s\n{CENTER_ALIGN}rescue rank went up!")),
FANFARE_PLAY(201),
{ 0xe1, 0x00, 0x00c9, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE1(201),
TEXTBOX_CLEAR2,
{ 0x3b, 0x2e, 0x0000, 0x00000000, 0x00000000, NULL },
COND_EQUAL(0, /* to label */ 2),
@ -1225,7 +1225,7 @@ static const struct ScriptCommand s_gs12_g14_s0_station_sref_script[] = { /* 0x8
WAIT(1),
{ 0x25, 0x01, 0x0000, 0x00000000, 0x00000000, NULL },
SELECT_ENTITIES(-1, -1),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x003c, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
{ 0x23, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
@ -1302,7 +1302,7 @@ static const struct ScriptCommand s_gs12_g15_s0_station_sref_script[] = { /* 0x8
MSG_ON_BG_AUTO(30, _("{CENTER_ALIGN}The next morning...")),
{ 0x25, 0x01, 0x0000, 0x00000000, 0x00000000, NULL },
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x003c, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
CALL_STATION( 16, 0),
@ -1388,7 +1388,7 @@ static const struct ScriptCommand s_gs12_g16_s1_station_sref_script[] = { /* 0x8
UPDATE_VARINT(CALC_SET, PARTNER2_KIND, 0),
SELECT_MAP(MAP_TEAM_BASE_INSIDE),
SELECT_ENTITIES(-1, -1),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x003c, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
SELECT_ENTITIES(-1, 0),
@ -1417,7 +1417,7 @@ static const struct ScriptCommand s_gs12_g17_s0_station_sref_script[] = { /* 0x8
UPDATE_VARINT(CALC_SET, PARTNER2_KIND, 0),
SELECT_MAP(MAP_TEAM_BASE_INSIDE),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x003c, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
SELECT_EVENTS(0, 0),
@ -1462,7 +1462,7 @@ static const struct ScriptCommand s_gs12_g18_s0_station_sref_script[] = { /* 0x8
MSG_ON_BG_AUTO(30, _("{CENTER_ALIGN}The next morning...")),
{ 0x25, 0x01, 0x0000, 0x00000000, 0x00000000, NULL },
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x003c, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
SELECT_EVENTS(0, 0),
@ -1491,7 +1491,7 @@ static const struct ScriptCommand s_gs12_g19_s0_station_sref_script[] = { /* 0x8
UPDATE_VARINT(CALC_SET, PARTNER2_KIND, 0),
SELECT_MAP(MAP_TEAM_BASE_INSIDE),
SELECT_ENTITIES(-1, -1),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x003c, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
SELECT_EVENTS(0, 0),
@ -1663,7 +1663,7 @@ static const struct ScriptCommand s_gs12_g21_s0_station_sref_script[] = { /* 0x8
MSG_ON_BG_AUTO(30, _("{CENTER_ALIGN}The next morning...")),
{ 0x25, 0x01, 0x0000, 0x00000000, 0x00000000, NULL },
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x003c, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
SELECT_EVENTS(0, 0),
@ -1700,7 +1700,7 @@ static const struct ScriptCommand s_gs12_g22_s0_station_sref_script[] = { /* 0x8
WAIT(1),
{ 0x25, 0x01, 0x0000, 0x00000000, 0x00000000, NULL },
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x003c, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
SELECT_EVENTS(0, 0),
@ -1736,7 +1736,7 @@ static const struct ScriptCommand s_gs12_g23_s0_station_sref_script[] = { /* 0x8
WAIT(1),
{ 0x25, 0x01, 0x0000, 0x00000000, 0x00000000, NULL },
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x003c, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
SELECT_EVENTS(0, 0),
@ -1772,7 +1772,7 @@ static const struct ScriptCommand s_gs12_g24_s0_station_sref_script[] = { /* 0x8
WAIT(1),
{ 0x25, 0x01, 0x0000, 0x00000000, 0x00000000, NULL },
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
SELECT_EVENTS(0, 0),
@ -1800,7 +1800,7 @@ static const struct ScriptCommand s_gs12_g25_s0_station_sref_script[] = { /* 0x8
UPDATE_VARINT(CALC_SET, PARTNER2_KIND, 0),
SELECT_MAP(MAP_TEAM_BASE_INSIDE),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x003c, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
SELECT_EVENTS(0, 0),
@ -1836,7 +1836,7 @@ static const struct ScriptCommand s_gs12_g26_s0_station_sref_script[] = { /* 0x8
WAIT(1),
{ 0x25, 0x01, 0x0000, 0x00000000, 0x00000000, NULL },
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x003c, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
SELECT_EVENTS(0, 0),
@ -1864,7 +1864,7 @@ static const struct ScriptCommand s_gs12_g27_s0_station_sref_script[] = { /* 0x8
UPDATE_VARINT(CALC_SET, PARTNER2_KIND, 0),
SELECT_MAP(MAP_TEAM_BASE_INSIDE),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x003c, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
SELECT_EVENTS(0, 0),
@ -1900,7 +1900,7 @@ static const struct ScriptCommand s_gs12_g28_s0_station_sref_script[] = { /* 0x8
WAIT(1),
{ 0x25, 0x01, 0x0000, 0x00000000, 0x00000000, NULL },
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x003c, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
SELECT_EVENTS(0, 0),
@ -1928,7 +1928,7 @@ static const struct ScriptCommand s_gs12_g29_s0_station_sref_script[] = { /* 0x8
UPDATE_VARINT(CALC_SET, PARTNER2_KIND, 0),
SELECT_MAP(MAP_TEAM_BASE_INSIDE),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x003c, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
SELECT_EVENTS(0, 0),
@ -1964,7 +1964,7 @@ static const struct ScriptCommand s_gs12_g30_s0_station_sref_script[] = { /* 0x8
WAIT(1),
{ 0x25, 0x01, 0x0000, 0x00000000, 0x00000000, NULL },
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x003c, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
SELECT_EVENTS(0, 0),
@ -1992,7 +1992,7 @@ static const struct ScriptCommand s_gs12_g31_s0_station_sref_script[] = { /* 0x8
UPDATE_VARINT(CALC_SET, PARTNER2_KIND, 0),
SELECT_MAP(MAP_TEAM_BASE_INSIDE),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x003c, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
SELECT_EVENTS(0, 0),
@ -2028,7 +2028,7 @@ static const struct ScriptCommand s_gs12_g32_s0_station_sref_script[] = { /* 0x8
WAIT(1),
{ 0x25, 0x01, 0x0000, 0x00000000, 0x00000000, NULL },
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x003c, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
SELECT_EVENTS(0, 0),
@ -2106,7 +2106,7 @@ static const struct ScriptCommand s_gs12_g34_s0_station_sref_script[] = { /* 0x8
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
SELECT_EVENTS(0, 0),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
RET,
};
@ -2150,7 +2150,7 @@ static const struct ScriptCommand s_gs12_g35_s0_station_sref_script[] = { /* 0x8
WAIT(1),
{ 0x25, 0x01, 0x0000, 0x00000000, 0x00000000, NULL },
SELECT_ENTITIES(-1, -1),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x003c, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
SELECT_EVENTS(0, 0),
@ -2225,7 +2225,7 @@ static const struct ScriptCommand s_gs12_g37_s0_station_sref_script[] = { /* 0x8
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
SELECT_EVENTS(0, 0),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
RET,
};
@ -2297,7 +2297,7 @@ static const struct ScriptCommand s_gs12_g38_s0_lives0_dlg0[] = { /* 0x81eaddc *
{ 0x33, 0x00, 0x0000, 0x00000000, 0x00000000, _("............{WAIT_PRESS}\nI guess it settled down...") },
{ 0x33, 0x00, 0x0000, 0x00000000, 0x00000000, _(".......There've been a lot of earthquakes\nlately...") },
TEXTBOX_CLEAR,
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x9b, 0x00, 0x0100, 0x00000000, 0x00000000, NULL },
ALERT_CUE(3),
RET,
@ -2398,7 +2398,7 @@ static const struct ScriptCommand s_gs12_g40_s0_station_sref_script[] = { /* 0x8
WAIT(1),
{ 0x25, 0x01, 0x0000, 0x00000000, 0x00000000, NULL },
SELECT_ENTITIES(-1, -1),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x003c, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
SELECT_EVENTS(0, 0),
@ -2433,7 +2433,7 @@ static const struct ScriptCommand s_gs12_g41_s0_station_sref_script[] = { /* 0x8
WAIT(1),
{ 0x25, 0x01, 0x0000, 0x00000000, 0x00000000, NULL },
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x003c, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
SELECT_EVENTS(0, 0),
@ -2559,7 +2559,7 @@ static const struct ScriptCommand s_gs12_g43_s0_station_sref_script[] = { /* 0x8
WAIT(1),
{ 0x25, 0x01, 0x0000, 0x00000000, 0x00000000, NULL },
SELECT_ENTITIES(-1, -1),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x003c, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
SELECT_EVENTS(0, 0),
@ -2587,7 +2587,7 @@ static const struct ScriptCommand s_gs12_g44_s0_station_sref_script[] = { /* 0x8
UPDATE_VARINT(CALC_SET, PARTNER2_KIND, 0),
SELECT_MAP(MAP_TEAM_BASE_INSIDE),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x003c, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
SELECT_EVENTS(0, 0),
@ -2635,7 +2635,7 @@ static const struct ScriptCommand s_gs12_g45_s0_station_sref_script[] = { /* 0x8
{ 0x25, 0x01, 0x0000, 0x00000000, 0x00000000, NULL },
WAIT(60),
SELECT_ENTITIES(-1, -1),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x003c, 0x00000000, 0x00000000, NULL },
{ 0x3b, 0x39, 0x0004, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
@ -2727,7 +2727,7 @@ static const struct ScriptCommand s_gs12_g46_s1_station_sref_script[] = { /* 0x8
UPDATE_VARINT(CALC_SET, PARTNER2_KIND, 0),
SELECT_MAP(MAP_TEAM_BASE_INSIDE),
SELECT_ENTITIES(0, 2),
BGM_SWITCH(1),
BGM_SWITCH(MUS_RESCUE_TEAM_BASE),
{ 0x22, 0x01, 0x003c, 0x00000000, 0x00000000, NULL },
SELECT_ENTITIES(-1, 0),
RET,

View File

@ -141,7 +141,7 @@ static const struct ScriptCommand s_gs178_g1_s0_lives0_dlg0[] = { /* 0x822c5e4 -
WAIT(40),
FANFARE_PLAY2(482),
CALL_SCRIPT(SHOCK_FUNC),
{ 0xe2, 0x00, 0x01e2, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(482),
PORTRAIT_REP(0x0000, 0x0000000c),
{ 0x33, 0x00, 0x0000, 0x00000000, 0x00000000, _("(It... It's true...)") },
{ 0x33, 0x00, 0x0000, 0x00000000, 0x00000000, _("(I have turned into\na {POKEMON_0}!)") },
@ -214,7 +214,7 @@ static const struct ScriptCommand s_gs178_g1_s0_lives0_dlg0[] = { /* 0x822c5e4 -
VARIANT_DEFAULT(_(" What's wrong?")),
TEXTBOX_CLEAR,
WAIT(20),
BGM_SWITCH(10),
BGM_SWITCH(MUS_THERES_TROUBLE),
ALERT_CUE(7),
AWAIT_CUE(5),
PORTRAIT(PLACEMENT_MIDDLE_TOP_LEFT, 0x0002, 0x00000000),
@ -291,7 +291,7 @@ static const struct ScriptCommand s_gs178_g1_s0_lives1_dlg0[] = { /* 0x822d950 -
AWAIT_CUE(6),
FANFARE_PLAY2(470),
CALL_SCRIPT(SWEAT_FUNC),
{ 0xe2, 0x00, 0x01d6, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(470),
ALERT_CUE(5),
AWAIT_CUE(6),
CALL_SCRIPT(JUMP_HAPPY_FUNC),
@ -305,14 +305,14 @@ static const struct ScriptCommand s_gs178_g1_s0_lives1_dlg0[] = { /* 0x822d950 -
FANFARE_PLAY2(466),
CALL_SCRIPT(NOTICE_FUNC),
ROTATE_TO(4, DIR_TRANS_SPINRIGHT1, DIRECTION_WEST),
{ 0xe2, 0x00, 0x01d2, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(466),
WAIT(30),
AWAIT_CUE(6),
ROTATE_TO(10, DIR_TRANS_SPINRIGHT1, DIRECTION_NORTH),
AWAIT_CUE(6),
FANFARE_PLAY2(463),
CALL_SCRIPT(SHOCK_FUNC),
{ 0xe2, 0x00, 0x01cf, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(463),
ALERT_CUE(5),
AWAIT_CUE(6),
ROTATE_TO(4, DIR_TRANS_SPINLEFT1, DIRECTION_WEST),
@ -481,7 +481,7 @@ static const struct ScriptCommand s_gs178_g2_s0_lives1_dlg0[] = { /* 0x822e5fc -
CALL_SCRIPT(QUESTION_FUNC),
ALERT_CUE(5),
WAIT(5),
{ 0xe2, 0x00, 0x01d5, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(469),
AWAIT_CUE(6),
ROTATE_TO(8, DIR_TRANS_SPINLEFT1, DIRECTION_WEST),
WAIT(20),
@ -519,7 +519,7 @@ static const struct ScriptCommand s_gs178_g3_s0_station_sref_script[] = { /* 0x8
{ 0x3b, 0x39, 0x0004, 0x00000000, 0x00000000, NULL },
SELECT_MAP(MAP_TINY_WOODS_ENTRY),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(103),
BGM_SWITCH(MUS_A_SUCCESSFUL_RESCUE),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
BGM_FADEOUT(30),

View File

@ -21,7 +21,7 @@ static const struct ScriptCommand s_gs179_g1_s0_station_sref_script[] = { /* 0x8
DEBUGINFO_O(21),
SELECT_MAP(179),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(114),
BGM_SWITCH(MUS_IN_THE_DEPTHS_OF_THE_PIT),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
{ 0x23, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
@ -93,7 +93,7 @@ static const struct ScriptCommand s_gs179_g1_s0_lives2_dlg0[] = { /* 0x8230108 -
{ 0x56, 0x00, 0x0000, 0x0000003e, 0x00000000, NULL },
FANFARE_PLAY2(457),
{ 0xde, 0x00, 0x0000, 0x00000000, 0x00000000, NULL },
{ 0xe2, 0x00, 0x01c9, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(457),
ALERT_CUE(5),
AWAIT_CUE(7),
ROTATE_TO(4, DIR_TRANS_SPINRIGHT1, DIRECTION_SOUTH),

View File

@ -23,7 +23,7 @@ static const struct ScriptCommand s_gs180_g1_s0_station_sref_script[] = { /* 0x8
DEBUGINFO_O(23),
SELECT_MAP(MAP_THUNDERWAVE_CAVE_ENTRY),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(14),
BGM_SWITCH(MUS_THUNDERWAVE_CAVE),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
NEXT_DUNGEON(0, SCRIPT_DUNGEON_THUNDERWAVE_CAVE),
@ -137,7 +137,7 @@ static const struct ScriptCommand s_gs180_g2_s0_station_sref_script[] = { /* 0x8
DEBUGINFO_O(137),
SELECT_MAP(MAP_THUNDERWAVE_CAVE_ENTRY),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(14),
BGM_SWITCH(MUS_THUNDERWAVE_CAVE),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
NEXT_DUNGEON(0, SCRIPT_DUNGEON_THUNDERWAVE_CAVE),
@ -239,7 +239,7 @@ static const struct ScriptCommand s_gs180_g3_s0_station_sref_script[] = { /* 0x8
DEBUGINFO_O(239),
SELECT_MAP(MAP_THUNDERWAVE_CAVE_ENTRY),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(103),
BGM_SWITCH(MUS_A_SUCCESSFUL_RESCUE),
WAIT(30),
{ 0x27, 0x01, 0x0001, 0x0000003c, 0x00ffffff, NULL },
AWAIT_CUE(3),

View File

@ -23,7 +23,7 @@ static const struct ScriptCommand s_gs181_g1_s0_station_sref_script[] = { /* 0x8
DEBUGINFO_O(23),
SELECT_MAP(181),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(114),
BGM_SWITCH(MUS_IN_THE_DEPTHS_OF_THE_PIT),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
BGM_FADEOUT(120),

View File

@ -21,7 +21,7 @@ static const struct ScriptCommand s_gs182_g1_s0_station_sref_script[] = { /* 0x8
DEBUGINFO_O(21),
SELECT_MAP(182),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(120),
BGM_SWITCH(MUS_MT_STEEL),
AWAIT_CUE(3),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
@ -138,7 +138,7 @@ static const struct ScriptCommand s_gs182_g2_s0_station_sref_script[] = { /* 0x8
DEBUGINFO_O(138),
SELECT_MAP(182),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(120),
BGM_SWITCH(MUS_MT_STEEL),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
RET,

View File

@ -24,7 +24,7 @@ static const struct ScriptCommand s_gs183_g1_s0_station_sref_script[] = { /* 0x8
DEBUGINFO_O(24),
SELECT_MAP(183),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(114),
BGM_SWITCH(MUS_IN_THE_DEPTHS_OF_THE_PIT),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
WAIT(30),

View File

@ -21,7 +21,7 @@ static const struct ScriptCommand s_gs184_g1_s0_station_sref_script[] = { /* 0x8
DEBUGINFO_O(21),
SELECT_MAP(MAP_SINISTER_WOODS_ENTRY),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(15),
BGM_SWITCH(MUS_SINISTER_WOODS),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
NEXT_DUNGEON(30, SCRIPT_DUNGEON_SINISTER_WOODS),
@ -78,7 +78,7 @@ static const struct ScriptCommand s_gs184_g2_s0_station_sref_script[] = { /* 0x8
DEBUGINFO_O(78),
SELECT_MAP(MAP_SINISTER_WOODS_ENTRY),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(15),
BGM_SWITCH(MUS_SINISTER_WOODS),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
NEXT_DUNGEON(30, SCRIPT_DUNGEON_SINISTER_WOODS),

View File

@ -23,7 +23,7 @@ static const struct ScriptCommand s_gs185_g1_s0_station_sref_script[] = { /* 0x8
DEBUGINFO_O(23),
SELECT_MAP(185),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(114),
BGM_SWITCH(MUS_IN_THE_DEPTHS_OF_THE_PIT),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
{ 0x23, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
@ -73,7 +73,7 @@ static const struct ScriptCommand s_gs185_g1_s0_lives0_dlg0[] = { /* 0x8234d94 *
FANFARE_PLAY2(465),
CALL_SCRIPT(NOTICE_FUNC),
CMD_UNK_93(4, DIR_TRANS_SPINLEFT1, 94),
{ 0xe2, 0x00, 0x01d1, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(465),
AWAIT_CUE(5),
PORTRAIT(PLACEMENT_MIDDLE_LEFT, 0x0002, 0x00000000),
PORTRAIT_POS(2, 0, -3),
@ -149,7 +149,7 @@ static const struct ScriptCommand s_gs185_g1_s0_lives3_dlg0[] = { /* 0x823550c *
{ 0x56, 0x00, 0x0000, 0x00000047, 0x00000000, NULL },
FANFARE_PLAY2(457),
{ 0xde, 0x00, 0x0000, 0x00000000, 0x00000000, NULL },
{ 0xe2, 0x00, 0x01c9, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(457),
ALERT_CUE(5),
AWAIT_CUE(8),
{ 0x53, 0x00, 0x0000, 0x0000001f, 0x00000000, NULL },

View File

@ -22,7 +22,7 @@ static const struct ScriptCommand s_gs186_g1_s0_station_sref_script[] = { /* 0x8
DEBUGINFO_O(22),
SELECT_MAP(MAP_SILENT_CHASM_ENTRY),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(113),
BGM_SWITCH(MUS_SILENT_CHASM),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
{ 0x23, 0x01, 0x0001, 0x00000000, 0x00000000, NULL },

View File

@ -1,7 +1,8 @@
#define NPC_PARTNER 1
#define NPC_JUMPLUFF 2
#define NPC_SHIFTRY 3
#define NPC_ZAPDOS 6
@ -19,7 +20,7 @@ static const struct ScriptCommand s_gs187_g1_s0_station_sref_script[] = { /* 0x8
DEBUGINFO_O(19),
SELECT_MAP(187),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(114),
BGM_SWITCH(MUS_IN_THE_DEPTHS_OF_THE_PIT),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
BGM_FADEOUT(60),
@ -49,7 +50,7 @@ static const struct ScriptCommand s_gs187_g1_s0_lives0_dlg0[] = { /* 0x8237d1c *
ALERT_CUE(12),
{ 0x89, 0x50, 0x0100, 0x00000004, 0x00000000, NULL },
WAIT(32),
PORTRAIT(PLACEMENT_RIGHT, 0x0001, 0x00000000),
PORTRAIT(PLACEMENT_RIGHT, NPC_PARTNER, 0),
MSG_VAR(2, PARTNER_TALK_KIND, 1),
VARIANT(/* == */ 1, _(" {NAME_2}'s friend is\nsupposed to be around here, right?")),
VARIANT_DEFAULT(_(" Isn't this the place?\nWhere {NAME_2}'s friend is supposed\nto be?")),
@ -58,30 +59,30 @@ static const struct ScriptCommand s_gs187_g1_s0_lives0_dlg0[] = { /* 0x8237d1c *
WAIT(60),
ALERT_CUE(6),
AWAIT_CUE(5),
PORTRAIT_REP(0x0001, 0x0000000c),
MSG_NPC(1, _(" Oh, hey!")),
PORTRAIT_REP(NPC_PARTNER, 12),
MSG_NPC(NPC_PARTNER, _(" Oh, hey!")),
TEXTBOX_CLEAR,
ALERT_CUE(6),
ALERT_CUE(12),
{ 0x89, 0x20, 0x0100, 0x00000004, 0x00000000, NULL },
ROTATE_TO(4, DIR_TRANS_SPINRIGHT1, DIRECTION_NORTHEAST),
PORTRAIT_REP(0x0001, 0x00000000),
MSG_NPC(1, _(" We came for you!\nAre you all right?")),
PORTRAIT_REP(NPC_PARTNER, 0),
MSG_NPC(NPC_PARTNER, _(" We came for you!\nAre you all right?")),
TEXTBOX_CLEAR,
WAIT(10),
PORTRAIT(PLACEMENT_MIDDLE_TOP_LEFT, 0x0002, 0x00000041),
MSG_NPC(2, _(" Yes...\nI'm fine, but...")),
PORTRAIT(PLACEMENT_MIDDLE_TOP_LEFT, NPC_JUMPLUFF, 65),
MSG_NPC(NPC_JUMPLUFF, _(" Yes...\nI'm fine, but...")),
TEXTBOX_CLEAR,
WAIT(10),
PORTRAIT_REP(0x0001, 0x00000001),
MSG_NPC(1, _(" Great!\nYour friend is waiting for you.")),
PORTRAIT_REP(NPC_PARTNER, 1),
MSG_NPC(NPC_PARTNER, _(" Great!\nYour friend is waiting for you.")),
TEXTBOX_CLEAR,
WAIT(10),
MSG_NPC(2, _(" {NAME_3} is in the\nback...")),
MSG_NPC(NPC_JUMPLUFF, _(" {NAME_3} is in the\nback...")),
TEXTBOX_CLEAR,
WAIT(10),
PORTRAIT_REP(0x0001, 0x00000000),
MSG_NPC(1, _(" Huh? {NAME_3}?")),
PORTRAIT_REP(NPC_PARTNER, 0),
MSG_NPC(NPC_PARTNER, _(" Huh? {NAME_3}?")),
TEXTBOX_CLEAR,
ROTATE_TO(4, DIR_TRANS_SPINLEFT1, DIRECTION_NORTH),
WAIT(5),
@ -91,8 +92,8 @@ static const struct ScriptCommand s_gs187_g1_s0_lives0_dlg0[] = { /* 0x8237d1c *
ROTATE_TO(2, DIR_TRANS_SPINRIGHT1, DIRECTION_EAST),
ALERT_CUE(6),
AWAIT_CUE(5),
PORTRAIT(PLACEMENT_RIGHT, 0x0001, 0x00000000),
MSG_NPC(1, _(" Let's go!")),
PORTRAIT(PLACEMENT_RIGHT, NPC_PARTNER, 0),
MSG_NPC(NPC_PARTNER, _(" Let's go!")),
TEXTBOX_CLEAR,
ALERT_CUE(6),
ALERT_CUE(7),
@ -101,18 +102,18 @@ static const struct ScriptCommand s_gs187_g1_s0_lives0_dlg0[] = { /* 0x8237d1c *
{ 0x89, 0x3c, 0x01cc, 0x00000004, 0x00000000, NULL },
ROTATE_TO(4, DIR_TRANS_SPINRIGHT1, DIRECTION_NORTHEAST),
WAIT(30),
PORTRAIT_REP(0x0001, 0x0000000c),
PORTRAIT_REP(NPC_PARTNER, 12),
MSG_VAR(2, PARTNER_TALK_KIND, 1),
VARIANT(/* == */ 1, _(" Hey! Are you all right?\nGet it together!")),
VARIANT_DEFAULT(_(" Listen! Are you OK?\nSnap out of it!")),
TEXTBOX_CLEAR,
WAIT(30),
PORTRAIT(PLACEMENT_MIDDLE_TOP_LEFT, 0x0003, 0x00000041),
MSG_NPC(3, _(" ...Urrrgh.\nForget about me...")),
MSG_NPC(3, _(" Get away from here!")),
PORTRAIT(PLACEMENT_MIDDLE_TOP_LEFT, NPC_SHIFTRY, 65),
MSG_NPC(NPC_SHIFTRY, _(" ...Urrrgh.\nForget about me...")),
MSG_NPC(NPC_SHIFTRY, _(" Get away from here!")),
TEXTBOX_CLEAR,
WAIT(10),
MSG_NPC(1, _(" Get...{WAIT_PRESS}\nGet away?!")),
MSG_NPC(NPC_PARTNER, _(" Get...{WAIT_PRESS}\nGet away?!")),
TEXTBOX_CLEAR,
BGM_STOP,
FANFARE_PLAY2(502),
@ -131,7 +132,7 @@ static const struct ScriptCommand s_gs187_g1_s0_lives0_dlg0[] = { /* 0x8237d1c *
WAIT(90),
TEXTBOX_CLEAR,
WAIT(10),
MSG_NPC(3, _(" It's coming!")),
MSG_NPC(NPC_SHIFTRY, _(" It's coming!")),
TEXTBOX_CLEAR,
FANFARE_PLAY2(502),
{ 0x27, 0x01, 0x0005, 0x00000002, 0x00000000, NULL },
@ -166,23 +167,23 @@ static const struct ScriptCommand s_gs187_g1_s0_lives0_dlg0[] = { /* 0x8237d1c *
WAIT(8),
CALL_SCRIPT(LOOK_AROUND_FUNC),
WAIT(30),
MSG_NPC(1, _(" Shi-{NAME_3}'s gone!")),
MSG_NPC(NPC_PARTNER, _(" Shi-{NAME_3}'s gone!")),
TEXTBOX_CLEAR,
ROTATE_TO(4, DIR_TRANS_SPINLEFT1, DIRECTION_NORTH),
ALERT_CUE(6),
ALERT_CUE(12),
WAIT(15),
BGM_SWITCH(9),
BGM_SWITCH(MUS_RISING_FEAR),
MSG_NPC(-1, _(" I am {NAME_6}!\nThe embodiment of lightning!")),
PORTRAIT(PLACEMENT_MIDDLE_TOP_LEFT, 0x0006, 0x00000000),
MSG_NPC(6, _(" If you wish to save\n{NAME_3}, then scale {COLOR YELLOW_D}Mt. Thunder{RESET}!")),
PORTRAIT(PLACEMENT_MIDDLE_TOP_LEFT, NPC_ZAPDOS, 0),
MSG_NPC(NPC_ZAPDOS, _(" If you wish to save\n{NAME_3}, then scale {COLOR YELLOW_D}Mt. Thunder{RESET}!")),
TEXTBOX_CLEAR,
ALERT_CUE(11),
AWAIT_CUE(5),
WAIT(30),
PORTRAIT_REP(0x0001, 0x0000000c),
MSG_NPC(1, _(" {NAME_6}...")),
MSG_NPC(1, _(" So that's the legendary\nmonster...")),
PORTRAIT_REP(NPC_PARTNER, 12),
MSG_NPC(NPC_PARTNER, _(" {NAME_6}...")),
MSG_NPC(NPC_PARTNER, _(" So that's the legendary\nmonster...")),
TEXTBOX_CLEAR,
WAIT(30),
ALERT_CUE(3),

View File

@ -22,7 +22,7 @@ static const struct ScriptCommand s_gs188_g1_s0_station_sref_script[] = { /* 0x8
DEBUGINFO_O(22),
SELECT_MAP(MAP_MT_THUNDER_ENTRY),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(111),
BGM_SWITCH(MUS_MT_THUNDER),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
{ 0x23, 0x01, 0x0001, 0x00000000, 0x00000000, NULL },
@ -116,7 +116,7 @@ static const struct ScriptCommand s_gs188_g2_s0_station_sref_script[] = { /* 0x8
DEBUGINFO_O(116),
SELECT_MAP(MAP_MT_THUNDER_ENTRY),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(111),
BGM_SWITCH(MUS_MT_THUNDER),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
{ 0x23, 0x01, 0x0001, 0x00000000, 0x00000000, NULL },

View File

@ -36,7 +36,7 @@ static const struct ScriptCommand s_gs189_g0_s0_station_sref_script[] = { /* 0x8
SELECT_LIVES(0, 1),
JUMP_LABEL(6),
LABEL(6), /* = 0x06 */
BGM_SWITCH(111),
BGM_SWITCH(MUS_MT_THUNDER),
JUMP_SCRIPT(COMMON_ENTER),
};
@ -132,7 +132,7 @@ static const struct ScriptCommand s_gs189_g1_s0_station_sref_script[] = { /* 0x8
UPDATE_VARINT(CALC_SET, PARTNER2_KIND, 0),
SELECT_MAP(MAP_MT_THUNDER_MID),
SELECT_ENTITIES(-1, -1),
BGM_SWITCH(111),
BGM_SWITCH(MUS_MT_THUNDER),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
SELECT_EVENTS(0, 0),

View File

@ -26,7 +26,7 @@ static const struct ScriptCommand s_gs190_g1_s0_station_sref_script[] = { /* 0x8
DEBUGINFO_O(26),
SELECT_MAP(190),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(114),
BGM_SWITCH(MUS_IN_THE_DEPTHS_OF_THE_PIT),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
{ 0x23, 0x01, 0x003c, 0x00000000, 0x00000000, NULL },

View File

@ -24,7 +24,7 @@ static const struct ScriptCommand s_gs191_g1_s0_station_sref_script[] = { /* 0x8
DEBUGINFO_O(24),
SELECT_MAP(MAP_GREAT_CANYON_ENTRY),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(20),
BGM_SWITCH(MUS_GREAT_CANYON),
{ 0x22, 0x01, 0x003c, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
NEXT_DUNGEON(0, SCRIPT_DUNGEON_GREAT_CANYON),
@ -91,7 +91,7 @@ static const struct ScriptCommand s_gs191_g2_s0_station_sref_script[] = { /* 0x8
DEBUGINFO_O(91),
SELECT_MAP(MAP_GREAT_CANYON_ENTRY),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(20),
BGM_SWITCH(MUS_GREAT_CANYON),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
NEXT_DUNGEON(0, SCRIPT_DUNGEON_GREAT_CANYON),

View File

@ -33,7 +33,7 @@ static const struct ScriptCommand s_gs192_g1_s0_station_sref_script[] = { /* 0x8
DEBUGINFO_O(33),
SELECT_MAP(192),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(114),
BGM_SWITCH(MUS_IN_THE_DEPTHS_OF_THE_PIT),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
BGM_FADEOUT(60),
@ -87,7 +87,7 @@ static const struct ScriptCommand s_gs192_g1_s0_lives0_dlg0[] = { /* 0x823e36c *
WAIT(10),
FANFARE_PLAY2(470),
CALL_SCRIPT(SWEAT_FUNC),
{ 0xe2, 0x00, 0x01d6, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(470),
ALERT_CUE(7),
AWAIT_CUE(5),
FANFARE_PLAY2(465),
@ -119,7 +119,7 @@ static const struct ScriptCommand s_gs192_g1_s0_lives0_dlg0[] = { /* 0x823e36c *
BGM_STOP,
FANFARE_PLAY(205),
MSG_INSTANT(_("{CENTER_ALIGN}Gained access to\n{CENTER_ALIGN}the {COLOR YELLOW_D}Fiery Field{RESET}!")),
{ 0xe1, 0x00, 0x00cd, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE1(205),
TEXTBOX_CLEAR,
WAIT(30),
ALERT_CUE(3),
@ -136,7 +136,7 @@ static const struct ScriptCommand s_gs192_g1_s0_lives1_dlg0[] = { /* 0x823ec7c *
AWAIT_CUE(7),
FANFARE_PLAY2(465),
CALL_SCRIPT(NOTICE_FUNC),
{ 0xe2, 0x00, 0x01d1, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(465),
ALERT_CUE(5),
AWAIT_CUE(7),
FANFARE_PLAY2(474),
@ -158,7 +158,7 @@ static const struct ScriptCommand s_gs192_g2_s0_station_sref_script[] = { /* 0x8
DEBUGINFO_O(158),
SELECT_MAP(192),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(114),
BGM_SWITCH(MUS_IN_THE_DEPTHS_OF_THE_PIT),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
{ 0x23, 0x01, 0x003c, 0x00000000, 0x00000000, NULL },
@ -755,12 +755,12 @@ static const struct ScriptCommand s_gs192_g2_s0_lives1_dlg0[] = { /* 0x8241890 *
AWAIT_CUE(6),
FANFARE_PLAY2(457),
CALL_SCRIPT(JUMP_ANGRY_FUNC),
{ 0xe2, 0x00, 0x01c9, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(457),
ALERT_CUE(5),
AWAIT_CUE(6),
FANFARE_PLAY2(473),
CALL_SCRIPT(SHOCK_FUNC),
{ 0xe2, 0x00, 0x01d9, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(473),
ALERT_CUE(5),
HALT,
};

View File

@ -37,7 +37,7 @@ static const struct ScriptCommand s_gs193_g0_s0_station_sref_script[] = { /* 0x8
SELECT_LIVES(0, 2),
JUMP_LABEL(8),
LABEL(8), /* = 0x08 */
BGM_SWITCH(102),
BGM_SWITCH(MUS_LAPIS_CAVE),
JUMP_SCRIPT(COMMON_ENTER),
};
@ -116,7 +116,7 @@ static const struct ScriptCommand s_gs193_g1_s0_station_sref_script[] = { /* 0x8
DEBUGINFO_O(126),
SELECT_MAP(MAP_LAPIS_CAVE_ENTRY),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(24),
BGM_SWITCH(MUS_THE_ESCAPE),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
{ 0x23, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
@ -138,7 +138,7 @@ static const struct ScriptCommand s_gs193_g1_s0_lives0_dlg0[] = { /* 0x824313c *
MSG_VAR(2, PARTNER_TALK_KIND, 1),
VARIANT(/* == */ 1, _(" Whew!\nWe sure came a long way out.")),
VARIANT_DEFAULT(_(" Whew.\nWe've sure traveled a long way.")),
BGM_SWITCH(102),
BGM_SWITCH(MUS_LAPIS_CAVE),
ALERT_CUE(6),
AWAIT_CUE(5),
PORTRAIT(PLACEMENT_RIGHT, 0x0001, 0x00000000),
@ -225,7 +225,7 @@ static const struct ScriptCommand s_gs193_g2_s0_station_sref_script[] = { /* 0x8
DEBUGINFO_O(235),
SELECT_MAP(MAP_LAPIS_CAVE_ENTRY),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(102),
BGM_SWITCH(MUS_LAPIS_CAVE),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
SELECT_EVENTS(0, 0),
@ -426,7 +426,7 @@ static const struct ScriptCommand s_gs193_g4_s0_station_sref_script[] = { /* 0x8
DEBUGINFO_O(436),
SELECT_MAP(MAP_LAPIS_CAVE_ENTRY),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(102),
BGM_SWITCH(MUS_LAPIS_CAVE),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
SELECT_EVENTS(0, 0),
@ -493,7 +493,7 @@ static const struct ScriptCommand s_gs193_g5_s0_station_sref_script[] = { /* 0x8
DEBUGINFO_O(503),
SELECT_MAP(MAP_LAPIS_CAVE_ENTRY),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(102),
BGM_SWITCH(MUS_LAPIS_CAVE),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
SELECT_EVENTS(0, 0),

View File

@ -21,7 +21,7 @@ static const struct ScriptCommand s_gs194_g1_s0_station_sref_script[] = { /* 0x8
DEBUGINFO_O(21),
SELECT_MAP(194),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(10),
BGM_SWITCH(MUS_THERES_TROUBLE),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
{ 0x23, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },

View File

@ -39,7 +39,7 @@ static const struct ScriptCommand s_gs195_g0_s0_station_sref_script[] = { /* 0x8
SELECT_LIVES(0, 2),
JUMP_LABEL(8),
LABEL(8), /* = 0x08 */
BGM_SWITCH(25),
BGM_SWITCH(MUS_MT_BLAZE),
JUMP_SCRIPT(COMMON_ENTER),
};
@ -143,7 +143,7 @@ static const struct ScriptCommand s_gs195_g1_s0_station_sref_script[] = { /* 0x8
MSG_NPC(1, _(" ........................")),
MSG_NPC(1, _(" ...I think...{WAIT_PRESS}\nThey're gone.")),
TEXTBOX_CLEAR,
BGM_SWITCH(25),
BGM_SWITCH(MUS_MT_BLAZE),
{ 0x3b, 0x3a, 0x0000, 0x00000000, 0x00000000, NULL },
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
ALERT_CUE(5),
@ -387,7 +387,7 @@ static const struct ScriptCommand s_gs195_g3_s0_station_sref_script[] = { /* 0x8
SELECT_MAP(195),
SELECT_WEATHER(13),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(25),
BGM_SWITCH(MUS_MT_BLAZE),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
CALL_STATION( 2, 0),
@ -502,7 +502,7 @@ static const struct ScriptCommand s_gs195_g4_s0_station_sref_script[] = { /* 0x8
SELECT_MAP(195),
SELECT_WEATHER(13),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(25),
BGM_SWITCH(MUS_MT_BLAZE),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
CALL_STATION( 2, 0),
@ -567,7 +567,7 @@ static const struct ScriptCommand s_gs195_g5_s0_station_sref_script[] = { /* 0x8
SELECT_MAP(195),
SELECT_WEATHER(13),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(25),
BGM_SWITCH(MUS_MT_BLAZE),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
CALL_STATION( 2, 0),

View File

@ -41,7 +41,7 @@ static const struct ScriptCommand s_gs196_g0_s0_station_sref_script[] = { /* 0x8
SELECT_LIVES(0, 1),
JUMP_LABEL(7),
LABEL(7), /* = 0x07 */
BGM_SWITCH(25),
BGM_SWITCH(MUS_MT_BLAZE),
JUMP_SCRIPT(COMMON_ENTER),
};
@ -148,7 +148,7 @@ static const struct ScriptCommand s_gs196_g1_s0_station_sref_script[] = { /* 0x8
UPDATE_VARINT(CALC_SET, PARTNER2_KIND, 0),
SELECT_MAP(MAP_MT_BLAZE_MID),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(25),
BGM_SWITCH(MUS_MT_BLAZE),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
SELECT_EVENTS(0, 0),

View File

@ -20,7 +20,7 @@ static const struct ScriptCommand s_gs197_g1_s0_station_sref_script[] = { /* 0x8
DEBUGINFO_O(20),
SELECT_MAP(MAP_MT_BLAZE_END),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(114),
BGM_SWITCH(MUS_IN_THE_DEPTHS_OF_THE_PIT),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
{ 0x23, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },

View File

@ -39,7 +39,7 @@ static const struct ScriptCommand s_gs198_g0_s0_station_sref_script[] = { /* 0x8
SELECT_LIVES(0, 2),
JUMP_LABEL(8),
LABEL(8), /* = 0x08 */
BGM_SWITCH(36),
BGM_SWITCH(MUS_ESCAPE_THROUGH_THE_SNOW),
JUMP_SCRIPT(COMMON_ENTER),
};
@ -126,7 +126,7 @@ static const struct ScriptCommand s_gs198_g1_s0_station_sref_script[] = { /* 0x8
UPDATE_VARINT(CALC_SET, PARTNER2_KIND, 0),
SELECT_MAP(MAP_FROSTY_FOREST_ENTRY),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(36),
BGM_SWITCH(MUS_ESCAPE_THROUGH_THE_SNOW),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
CALL_STATION( 2, 0),
@ -335,7 +335,7 @@ static const struct ScriptCommand s_gs198_g3_s0_station_sref_script[] = { /* 0x8
UPDATE_VARINT(CALC_SET, PARTNER2_KIND, 0),
SELECT_MAP(MAP_FROSTY_FOREST_ENTRY),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(36),
BGM_SWITCH(MUS_ESCAPE_THROUGH_THE_SNOW),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
CALL_STATION( 2, 0),
@ -397,7 +397,7 @@ static const struct ScriptCommand s_gs198_g4_s0_station_sref_script[] = { /* 0x8
UPDATE_VARINT(CALC_SET, PARTNER2_KIND, 0),
SELECT_MAP(MAP_FROSTY_FOREST_ENTRY),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(36),
BGM_SWITCH(MUS_ESCAPE_THROUGH_THE_SNOW),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
CALL_STATION( 2, 0),
@ -455,7 +455,7 @@ static const struct ScriptCommand s_gs198_g5_s0_station_sref_script[] = { /* 0x8
UPDATE_VARINT(CALC_SET, PARTNER2_KIND, 0),
SELECT_MAP(MAP_FROSTY_FOREST_ENTRY),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(36),
BGM_SWITCH(MUS_ESCAPE_THROUGH_THE_SNOW),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
CALL_STATION( 2, 0),
@ -524,7 +524,7 @@ static const struct ScriptCommand s_gs198_g6_s0_station_sref_script[] = { /* 0x8
UPDATE_VARINT(CALC_SET, PARTNER2_KIND, 0),
SELECT_MAP(MAP_FROSTY_FOREST_ENTRY),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(36),
BGM_SWITCH(MUS_ESCAPE_THROUGH_THE_SNOW),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
CALL_STATION( 2, 0),

View File

@ -41,7 +41,7 @@ static const struct ScriptCommand s_gs199_g0_s0_station_sref_script[] = { /* 0x8
SELECT_LIVES(0, 1),
JUMP_LABEL(7),
LABEL(7), /* = 0x07 */
BGM_SWITCH(104),
BGM_SWITCH(MUS_FROSTY_FOREST),
JUMP_SCRIPT(COMMON_ENTER),
};
@ -148,7 +148,7 @@ static const struct ScriptCommand s_gs199_g1_s0_station_sref_script[] = { /* 0x8
UPDATE_VARINT(CALC_SET, PARTNER2_KIND, 0),
SELECT_MAP(MAP_FROSTY_FOREST_MID),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(104),
BGM_SWITCH(MUS_FROSTY_FOREST),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
SELECT_EVENTS(0, 0),
@ -216,7 +216,7 @@ static const struct ScriptCommand s_gs199_g2_s0_station_sref_script[] = { /* 0x8
UPDATE_VARINT(CALC_SET, PARTNER2_KIND, 0),
SELECT_MAP(MAP_FROSTY_FOREST_MID),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(104),
BGM_SWITCH(MUS_FROSTY_FOREST),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
SELECT_EVENTS(0, 0),

View File

@ -19,7 +19,7 @@ static const struct ScriptCommand s_gs200_g1_s0_station_sref_script[] = { /* 0x8
DEBUGINFO_O(19),
SELECT_MAP(MAP_FROSTY_FOREST_END),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(114),
BGM_SWITCH(MUS_IN_THE_DEPTHS_OF_THE_PIT),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
{ 0x3b, 0x39, 0x0001, 0x00000000, 0x00000000, NULL },
@ -284,7 +284,7 @@ static const struct ScriptCommand s_gs200_g1_s0_lives0_dlg0[] = { /* 0x824fcb4 *
BGM_STOP,
FANFARE_PLAY(204),
MSG_INSTANT(_("{CENTER_ALIGN}{NAME_3} joined the team!")),
{ 0xe1, 0x00, 0x00cc, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE1(204),
TEXTBOX_CLEAR,
{ 0x3b, 0x1a, 0x0000, 0x00000000, 0x00000000, NULL },
ASK1(FALSE, /*default*/ -1, /* speaker */ -1, _("Give a nickname to {NAME_3}?")),

View File

@ -40,7 +40,7 @@ static const struct ScriptCommand s_gs201_g0_s0_station_sref_script[] = { /* 0x8
SELECT_LIVES(0, 2),
JUMP_LABEL(8),
LABEL(8), /* = 0x08 */
BGM_SWITCH(36),
BGM_SWITCH(MUS_ESCAPE_THROUGH_THE_SNOW),
JUMP_SCRIPT(COMMON_ENTER),
};
@ -125,7 +125,7 @@ static const struct ScriptCommand s_gs201_g1_s0_station_sref_script[] = { /* 0x8
{ 0x3b, 0x1c, 0x0000, 0x00000000, 0x00000000, NULL },
SELECT_MAP(MAP_MT_FREEZE_ENTRY),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(36),
BGM_SWITCH(MUS_ESCAPE_THROUGH_THE_SNOW),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
CALL_STATION( 2, 0),
@ -433,7 +433,7 @@ static const struct ScriptCommand s_gs201_g3_s0_station_sref_script[] = { /* 0x8
{ 0x3b, 0x1c, 0x0000, 0x00000000, 0x00000000, NULL },
SELECT_MAP(MAP_MT_FREEZE_ENTRY),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(36),
BGM_SWITCH(MUS_ESCAPE_THROUGH_THE_SNOW),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
CALL_STATION( 2, 0),
@ -496,7 +496,7 @@ static const struct ScriptCommand s_gs201_g4_s0_station_sref_script[] = { /* 0x8
{ 0x3b, 0x1c, 0x0000, 0x00000000, 0x00000000, NULL },
SELECT_MAP(MAP_MT_FREEZE_ENTRY),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(36),
BGM_SWITCH(MUS_ESCAPE_THROUGH_THE_SNOW),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
CALL_STATION( 2, 0),
@ -566,7 +566,7 @@ static const struct ScriptCommand s_gs201_g5_s0_station_sref_script[] = { /* 0x8
{ 0x3b, 0x1c, 0x0000, 0x00000000, 0x00000000, NULL },
SELECT_MAP(MAP_MT_FREEZE_ENTRY),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(36),
BGM_SWITCH(MUS_ESCAPE_THROUGH_THE_SNOW),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
CALL_STATION( 2, 0),
@ -622,7 +622,7 @@ static const struct ScriptCommand s_gs201_g6_s0_station_sref_script[] = { /* 0x8
DEBUGINFO_O(631),
SELECT_MAP(MAP_MT_FREEZE_ENTRY),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(115),
BGM_SWITCH(MUS_MT_FREEZE),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
RET,

View File

@ -43,7 +43,7 @@ static const struct ScriptCommand s_gs202_g0_s0_station_sref_script[] = { /* 0x8
SELECT_LIVES(0, 1),
JUMP_LABEL(7),
LABEL(7), /* = 0x07 */
BGM_SWITCH(115),
BGM_SWITCH(MUS_MT_FREEZE),
JUMP_SCRIPT(COMMON_ENTER),
};
@ -161,7 +161,7 @@ static const struct ScriptCommand s_gs202_g1_s0_station_sref_script[] = { /* 0x8
SELECT_MAP(MAP_MT_FREEZE_MID),
CALL_STATION( 2, 0),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(115),
BGM_SWITCH(MUS_MT_FREEZE),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
SELECT_EVENTS(0, 0),

View File

@ -82,7 +82,7 @@ static const struct ScriptCommand s_gs203_g1_s0_lives0_dlg0[] = { /* 0x82566f8 *
WAIT(30),
SELECT_LIVES(-1, 1),
{ 0x27, 0x01, 0x0005, 0x0000003c, 0x00ffffff, NULL },
BGM_SWITCH(6),
BGM_SWITCH(MUS_LEGEND_OF_NINETALES),
WAIT(30),
ALERT_CUE(7),
AWAIT_CUE(5),
@ -175,7 +175,7 @@ static const struct ScriptCommand s_gs203_g1_s0_lives0_dlg0[] = { /* 0x82566f8 *
WAIT(30),
FANFARE_PLAY(212),
MSG_INSTANT(_("{CENTER_ALIGN}{NAME_2} received the\n{CENTER_ALIGN}{COLOR GREEN_I}9-Tail Crest{RESET} from {NAME_3}.")),
{ 0xe1, 0x00, 0x00d4, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE1(212),
TEXTBOX_CLEAR,
WAIT(30),
ALERT_CUE(8),
@ -357,7 +357,7 @@ static const struct ScriptCommand s_gs203_g2_s0_lives0_dlg0[] = { /* 0x8257ee8 *
FANFARE_PLAY2(465),
CALL_SCRIPT(NOTICE_FUNC),
AWAIT_CUE(5),
BGM_SWITCH(10),
BGM_SWITCH(MUS_THERES_TROUBLE),
PORTRAIT_REP(0x0001, 0x0000000c),
MSG_NPC(1, _(" A-{NAME_2}!")),
TEXTBOX_CLEAR,
@ -717,7 +717,7 @@ static const struct ScriptCommand s_gs203_g3_s0_lives0_dlg0[] = { /* 0x8259658 *
AWAIT_CUE(5),
PORTRAIT(PLACEMENT_LEFT_, 0x0005, 0x00000000),
PORTRAIT_POS(5, 1, -1),
BGM_SWITCH(6),
BGM_SWITCH(MUS_LEGEND_OF_NINETALES),
MSG_NPC(5, _(" Cease fighting at once,\n{NAME_2}.")),
TEXTBOX_CLEAR,
ALERT_CUE(10),
@ -758,7 +758,7 @@ static const struct ScriptCommand s_gs203_g3_s0_lives0_dlg0[] = { /* 0x8259658 *
MSG_NPC(5, _(" {NAME_0}...")),
MSG_NPC(5, _(" You may relax.\nIt is not you.")),
TEXTBOX_CLEAR,
BGM_SWITCH(24),
BGM_SWITCH(MUS_THE_ESCAPE),
FANFARE_PLAY2(465),
ALERT_CUE(6),
AWAIT_CUE(5),

View File

@ -38,7 +38,7 @@ static const struct ScriptCommand s_gs204_g0_s0_station_sref_script[] = { /* 0x8
SELECT_LIVES(0, 1),
JUMP_LABEL(6),
LABEL(6), /* = 0x06 */
BGM_SWITCH(108),
BGM_SWITCH(MUS_MAGMA_CAVERN),
JUMP_SCRIPT(COMMON_ENTER),
};
@ -88,7 +88,7 @@ static const struct ScriptCommand s_gs204_g1_s0_station_sref_script[] = { /* 0x8
DEBUGINFO_O(88),
SELECT_MAP(MAP_MAGMA_CAVERN_ENTRY),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(108),
BGM_SWITCH(MUS_MAGMA_CAVERN),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
NEXT_DUNGEON(30, SCRIPT_DUNGEON_MAGMA_CAVERN),
@ -156,7 +156,7 @@ static const struct ScriptCommand s_gs204_g2_s0_station_sref_script[] = { /* 0x8
DEBUGINFO_O(156),
SELECT_MAP(MAP_MAGMA_CAVERN_ENTRY),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(108),
BGM_SWITCH(MUS_MAGMA_CAVERN),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
NEXT_DUNGEON(30, SCRIPT_DUNGEON_MAGMA_CAVERN),

View File

@ -36,7 +36,7 @@ static const struct ScriptCommand s_gs205_g0_s0_station_sref_script[] = { /* 0x8
SELECT_LIVES(0, 1),
JUMP_LABEL(6),
LABEL(6), /* = 0x06 */
BGM_SWITCH(108),
BGM_SWITCH(MUS_MAGMA_CAVERN),
JUMP_SCRIPT(COMMON_ENTER),
};
@ -132,7 +132,7 @@ static const struct ScriptCommand s_gs205_g1_s0_station_sref_script[] = { /* 0x8
UPDATE_VARINT(CALC_SET, PARTNER2_KIND, 0),
SELECT_MAP(MAP_MAGMA_CAVERN_MID),
SELECT_ENTITIES(-1, -1),
BGM_SWITCH(108),
BGM_SWITCH(MUS_MAGMA_CAVERN),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
SELECT_EVENTS(0, 0),

View File

@ -19,7 +19,7 @@ static const struct ScriptCommand s_gs206_g1_s0_station_sref_script[] = { /* 0x8
DEBUGINFO_O(19),
SELECT_MAP(206),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(114),
BGM_SWITCH(MUS_IN_THE_DEPTHS_OF_THE_PIT),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
FANFARE_FADEOUT2(60, 453),

View File

@ -22,7 +22,7 @@ static const struct ScriptCommand s_gs207_g1_s0_station_sref_script[] = { /* 0x8
WAIT(60),
SELECT_MAP(MAP_SKY_TOWER_ENTRY),
SELECT_ENTITIES(-1, -1),
BGM_SWITCH(22),
BGM_SWITCH(MUS_SKY_TOWER),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
{ 0x23, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
@ -166,7 +166,7 @@ static const struct ScriptCommand s_gs207_g2_s0_station_sref_script[] = { /* 0x8
DEBUGINFO_O(166),
SELECT_MAP(MAP_SKY_TOWER_ENTRY),
SELECT_ENTITIES(-1, -1),
BGM_SWITCH(22),
BGM_SWITCH(MUS_SKY_TOWER),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
NEXT_DUNGEON(30, SCRIPT_DUNGEON_SKY_TOWER),
@ -232,7 +232,7 @@ static const struct ScriptCommand s_gs207_g3_s0_station_sref_script[] = { /* 0x8
DEBUGINFO_O(232),
SELECT_MAP(MAP_SKY_TOWER_ENTRY),
SELECT_ENTITIES(-1, -1),
BGM_SWITCH(22),
BGM_SWITCH(MUS_SKY_TOWER),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
NEXT_DUNGEON(30, SCRIPT_DUNGEON_SKY_TOWER),

View File

@ -36,7 +36,7 @@ static const struct ScriptCommand s_gs208_g0_s0_station_sref_script[] = { /* 0x8
SELECT_LIVES(0, 1),
JUMP_LABEL(6),
LABEL(6), /* = 0x06 */
BGM_SWITCH(22),
BGM_SWITCH(MUS_SKY_TOWER),
JUMP_SCRIPT(COMMON_ENTER),
};
@ -132,7 +132,7 @@ static const struct ScriptCommand s_gs208_g1_s0_station_sref_script[] = { /* 0x8
UPDATE_VARINT(CALC_SET, PARTNER2_KIND, 0),
SELECT_MAP(MAP_SKY_TOWER_MID),
SELECT_ENTITIES(-1, -1),
BGM_SWITCH(22),
BGM_SWITCH(MUS_SKY_TOWER),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
SELECT_EVENTS(0, 0),

View File

@ -19,7 +19,7 @@ static const struct ScriptCommand s_gs209_g1_s0_station_sref_script[] = { /* 0x8
DEBUGINFO_O(19),
SELECT_MAP(209),
SELECT_ENTITIES(-1, -1),
BGM_SWITCH(26),
BGM_SWITCH(MUS_RAYQUAZAS_DOMAIN),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
{ 0x23, 0x01, 0x0010, 0x00000000, 0x00000000, NULL },
@ -229,7 +229,7 @@ static const struct ScriptCommand s_gs209_g2_s0_station_sref_script[] = { /* 0x8
DEBUGINFO_O(229),
SELECT_MAP(209),
SELECT_ENTITIES(-1, -1),
BGM_SWITCH(26),
BGM_SWITCH(MUS_RAYQUAZAS_DOMAIN),
{ 0x97, 0x00, 0x0002, 0x00000001, 0x00000001, NULL },
WAIT(15),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
@ -396,7 +396,7 @@ static const struct ScriptCommand s_gs209_g3_s0_station_sref_script[] = { /* 0x8
DEBUGINFO_O(396),
SELECT_MAP(209),
SELECT_ENTITIES(-1, -1),
BGM_SWITCH(26),
BGM_SWITCH(MUS_RAYQUAZAS_DOMAIN),
{ 0x97, 0x00, 0x0002, 0x00000005, 0x00000002, NULL },
WAIT(15),
{ 0x27, 0x00, 0x0005, 0x00000010, 0x00ffffff, NULL },

View File

@ -19,7 +19,7 @@ static const struct ScriptCommand s_gs210_g1_s0_station_sref_script[] = { /* 0x8
DEBUGINFO_O(19),
SELECT_MAP(210),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(10),
BGM_SWITCH(MUS_THERES_TROUBLE),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
{ 0x23, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },

View File

@ -19,7 +19,7 @@ static const struct ScriptCommand s_gs211_g1_s0_station_sref_script[] = { /* 0x8
DEBUGINFO_O(19),
SELECT_MAP(211),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(10),
BGM_SWITCH(MUS_THERES_TROUBLE),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
{ 0x23, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
@ -54,11 +54,11 @@ static const struct ScriptCommand s_gs211_g1_s0_lives0_dlg0[] = { /* 0x826425c *
TEXTBOX_CLEAR,
FANFARE_PLAY(212),
MSG_INSTANT(_("{CENTER_ALIGN}{NAME_0} received\n{CENTER_ALIGN}the {COLOR GREEN_I}Sunset Wing{RESET}.")),
{ 0xe1, 0x00, 0x00d4, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE1(212),
MSG_INSTANT(_("{CENTER_ALIGN}And...")),
FANFARE_PLAY(205),
MSG_INSTANT(_("{CENTER_ALIGN}Gained access to\n{CENTER_ALIGN}the {COLOR YELLOW_D}Northwind Field{RESET}!")),
{ 0xe1, 0x00, 0x00cd, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE1(205),
TEXTBOX_CLEAR,
ALERT_CUE(3),
HALT,

View File

@ -19,7 +19,7 @@ static const struct ScriptCommand s_gs212_g1_s0_station_sref_script[] = { /* 0x8
DEBUGINFO_O(19),
SELECT_MAP(212),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(114),
BGM_SWITCH(MUS_IN_THE_DEPTHS_OF_THE_PIT),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
BGM_FADEOUT(60),
@ -53,13 +53,13 @@ static const struct ScriptCommand s_gs212_g1_s0_lives0_dlg0[] = { /* 0x82649c8 *
ALERT_CUE(7),
{ 0x28, 0x01, 0x0005, 0x00000005, 0x00fa7d7d, NULL },
{ 0x27, 0x01, 0x0005, 0x00000005, 0x00fa7d7d, NULL },
{ 0xe2, 0x00, 0x01f1, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(497),
WAIT(20),
FANFARE_PLAY2(497),
ALERT_CUE(7),
{ 0x28, 0x01, 0x0005, 0x00000005, 0x00550000, NULL },
{ 0x27, 0x01, 0x0005, 0x00000005, 0x00550000, NULL },
{ 0xe2, 0x00, 0x01f1, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(497),
WAIT(20),
ALERT_CUE(7),
AWAIT_CUE(5),
@ -107,8 +107,8 @@ static const struct ScriptCommand s_gs212_g1_s0_lives0_dlg0[] = { /* 0x82649c8 *
CANCEL_OBJECTS(1, 1),
SELECT_EFFECTS(1, 1),
{ 0x27, 0x01, 0x0001, 0x0000003c, 0x00ffffff, NULL },
{ 0xe2, 0x00, 0x01fb, 0x00000000, 0x00000000, NULL },
BGM_SWITCH(114),
WAIT_FANFARE2(507),
BGM_SWITCH(MUS_IN_THE_DEPTHS_OF_THE_PIT),
WAIT(60),
MSG_NPC(2, _(" Take this and go west!")),
MSG_NPC(2, _(" There, you will find\nthe {COLOR YELLOW_D}Lightning Field{RESET}.")),
@ -122,13 +122,13 @@ static const struct ScriptCommand s_gs212_g1_s0_lives0_dlg0[] = { /* 0x82649c8 *
BGM_STOP,
FANFARE_PLAY(212),
MSG_INSTANT(_("{CENTER_ALIGN}{NAME_0} received\n{CENTER_ALIGN}the {COLOR GREEN_I}Red Wing{RESET}.")),
{ 0xe1, 0x00, 0x00d4, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE1(212),
TEXTBOX_CLEAR,
WAIT(20),
MSG_INSTANT(_("{CENTER_ALIGN}And...")),
FANFARE_PLAY(205),
MSG_INSTANT(_("{CENTER_ALIGN}Gained access to\n{CENTER_ALIGN}the {COLOR YELLOW_D}Lightning Field{RESET}!")),
{ 0xe1, 0x00, 0x00cd, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE1(205),
TEXTBOX_CLEAR,
WAIT(30),
ALERT_CUE(3),
@ -160,14 +160,14 @@ static const struct ScriptCommand s_gs212_g1_s0_lives1_dlg0[] = { /* 0x826518c *
AWAIT_CUE(7),
FANFARE_PLAY2(465),
CALL_SCRIPT(NOTICE_FUNC),
{ 0xe2, 0x00, 0x01d1, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(465),
AWAIT_CUE(7),
SELECT_ANIMATION(9),
WAIT(30),
FANFARE_PLAY2(663),
{ 0x56, 0x00, 0x0000, 0x0000004e, 0x00000000, NULL },
{ 0xde, 0x00, 0x0000, 0x00000000, 0x00000000, NULL },
{ 0xe2, 0x00, 0x0297, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(663),
SELECT_ANIMATION(22),
WAIT(30),
FANFARE_PLAY2(653),
@ -194,7 +194,7 @@ static const struct ScriptCommand s_gs212_g1_s1_obj0_dlg0[] = { /* 0x82653cc */
FANFARE_PLAY2(739),
{ 0x56, 0x00, 0x0000, 0x0000013d, 0x00000000, NULL },
{ 0xde, 0x00, 0x0000, 0x00000000, 0x00000000, NULL },
{ 0xe2, 0x00, 0x02e3, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(739),
JUMP_LABEL(0),
LABEL(1), /* = 0x01 */
FANFARE_STOP2(739),

View File

@ -19,7 +19,7 @@ static const struct ScriptCommand s_gs213_g1_s0_station_sref_script[] = { /* 0x8
DEBUGINFO_O(19),
SELECT_MAP(213),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(114),
BGM_SWITCH(MUS_IN_THE_DEPTHS_OF_THE_PIT),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
BGM_FADEOUT(60),
@ -53,13 +53,13 @@ static const struct ScriptCommand s_gs213_g1_s0_lives0_dlg0[] = { /* 0x82657d4 *
ALERT_CUE(7),
{ 0x28, 0x01, 0x0005, 0x00000005, 0x00707000, NULL },
{ 0x27, 0x01, 0x0005, 0x00000005, 0x00707000, NULL },
{ 0xe2, 0x00, 0x01f1, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(497),
WAIT(20),
FANFARE_PLAY2(497),
ALERT_CUE(7),
{ 0x28, 0x01, 0x0005, 0x00000005, 0x00505000, NULL },
{ 0x27, 0x01, 0x0005, 0x00000005, 0x00505000, NULL },
{ 0xe2, 0x00, 0x01f1, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(497),
WAIT(20),
ALERT_CUE(7),
AWAIT_CUE(5),
@ -105,8 +105,8 @@ static const struct ScriptCommand s_gs213_g1_s0_lives0_dlg0[] = { /* 0x82657d4 *
CANCEL_OBJECTS(1, 1),
SELECT_EFFECTS(1, 1),
{ 0x27, 0x01, 0x0001, 0x0000003c, 0x00ffffff, NULL },
{ 0xe2, 0x00, 0x01fb, 0x00000000, 0x00000000, NULL },
BGM_SWITCH(114),
WAIT_FANFARE2(507),
BGM_SWITCH(MUS_IN_THE_DEPTHS_OF_THE_PIT),
WAIT(60),
MSG_INSTANT(_("{CENTER_ALIGN}Its subtle gradation of yellow\n{CENTER_ALIGN}to red is a truly beauteous sight!")),
TEXTBOX_CLEAR,
@ -124,13 +124,13 @@ static const struct ScriptCommand s_gs213_g1_s0_lives0_dlg0[] = { /* 0x82657d4 *
BGM_STOP,
FANFARE_PLAY(212),
MSG_INSTANT(_("{CENTER_ALIGN}{NAME_0} received\n{CENTER_ALIGN}the {COLOR GREEN_I}Sunset Wing{RESET}.")),
{ 0xe1, 0x00, 0x00d4, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE1(212),
TEXTBOX_CLEAR,
WAIT(20),
MSG_INSTANT(_("{CENTER_ALIGN}And...")),
FANFARE_PLAY(205),
MSG_INSTANT(_("{CENTER_ALIGN}Gained access to\n{CENTER_ALIGN}the {COLOR YELLOW_D}Northwind Field{RESET}!")),
{ 0xe1, 0x00, 0x00cd, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE1(205),
TEXTBOX_CLEAR,
WAIT(30),
ALERT_CUE(3),
@ -162,18 +162,18 @@ static const struct ScriptCommand s_gs213_g1_s0_lives1_dlg0[] = { /* 0x826604c *
AWAIT_CUE(7),
FANFARE_PLAY2(465),
CALL_SCRIPT(NOTICE_FUNC),
{ 0xe2, 0x00, 0x01d1, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(465),
AWAIT_CUE(7),
SELECT_ANIMATION(9),
WAIT(30),
FANFARE_PLAY2(708),
{ 0x56, 0x00, 0x0000, 0x00000062, 0x00000000, NULL },
{ 0xde, 0x00, 0x0000, 0x00000000, 0x00000000, NULL },
{ 0xe2, 0x00, 0x02c4, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(708),
SELECT_ANIMATION(22),
WAIT(15),
FANFARE_PLAY2(479),
{ 0xe2, 0x00, 0x01df, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(479),
ALERT_CUE(5),
SELECT_ANIMATION(2),
HALT,
@ -196,10 +196,10 @@ static const struct ScriptCommand s_gs213_g1_s1_obj0_dlg0[] = { /* 0x826629c */
LABEL(0), /* = 0x00 */
JUMPIF(JUDGE_EQ, EVENT_LOCAL, 1, /* to label */ 1),
FANFARE_PLAY2(726),
{ 0xe2, 0x00, 0x02d6, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(726),
FANFARE_PLAY2(726),
WAIT(45),
{ 0xe2, 0x00, 0x02d6, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(726),
JUMP_LABEL(0),
LABEL(1), /* = 0x01 */
HALT,

View File

@ -19,7 +19,7 @@ static const struct ScriptCommand s_gs214_g1_s0_station_sref_script[] = { /* 0x8
DEBUGINFO_O(19),
SELECT_MAP(214),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(114),
BGM_SWITCH(MUS_IN_THE_DEPTHS_OF_THE_PIT),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
BGM_FADEOUT(60),
@ -53,13 +53,13 @@ static const struct ScriptCommand s_gs214_g1_s0_lives0_dlg0[] = { /* 0x8266664 *
ALERT_CUE(7),
{ 0x28, 0x01, 0x0005, 0x00000005, 0x00005077, NULL },
{ 0x27, 0x01, 0x0005, 0x00000005, 0x00005077, NULL },
{ 0xe2, 0x00, 0x01f1, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(497),
WAIT(20),
FANFARE_PLAY2(497),
ALERT_CUE(7),
{ 0x28, 0x01, 0x0005, 0x00000005, 0x00005077, NULL },
{ 0x27, 0x01, 0x0005, 0x00000005, 0x00005077, NULL },
{ 0xe2, 0x00, 0x01f1, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(497),
WAIT(20),
ALERT_CUE(7),
AWAIT_CUE(5),
@ -107,8 +107,8 @@ static const struct ScriptCommand s_gs214_g1_s0_lives0_dlg0[] = { /* 0x8266664 *
CANCEL_OBJECTS(1, 1),
SELECT_EFFECTS(1, 1),
{ 0x27, 0x01, 0x0001, 0x0000003c, 0x00ffffff, NULL },
{ 0xe2, 0x00, 0x01fb, 0x00000000, 0x00000000, NULL },
BGM_SWITCH(114),
WAIT_FANFARE2(507),
BGM_SWITCH(MUS_IN_THE_DEPTHS_OF_THE_PIT),
WAIT(60),
MSG_INSTANT(_("{CENTER_ALIGN}Glittering in the seven colors\n{CENTER_ALIGN}of the rainbow, this wing is\n{CENTER_ALIGN}beautiful beyond description!")),
TEXTBOX_CLEAR,
@ -127,13 +127,13 @@ static const struct ScriptCommand s_gs214_g1_s0_lives0_dlg0[] = { /* 0x8266664 *
BGM_STOP,
FANFARE_PLAY(212),
MSG_INSTANT(_("{CENTER_ALIGN}{NAME_0} received\n{CENTER_ALIGN}the {COLOR GREEN_I}Rainbow Wing{RESET}.")),
{ 0xe1, 0x00, 0x00d4, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE1(212),
TEXTBOX_CLEAR,
WAIT(20),
MSG_INSTANT(_("{CENTER_ALIGN}And...")),
FANFARE_PLAY(205),
MSG_INSTANT(_("{CENTER_ALIGN}Gained access to\n{CENTER_ALIGN}{COLOR YELLOW_D}Mt. Faraway{RESET}!")),
{ 0xe1, 0x00, 0x00cd, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE1(205),
TEXTBOX_CLEAR,
WAIT(30),
ALERT_CUE(3),
@ -165,7 +165,7 @@ static const struct ScriptCommand s_gs214_g1_s0_lives1_dlg0[] = { /* 0x8266f30 *
AWAIT_CUE(7),
FANFARE_PLAY2(465),
CALL_SCRIPT(NOTICE_FUNC),
{ 0xe2, 0x00, 0x01d1, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(465),
AWAIT_CUE(7),
SELECT_ANIMATION(9),
ALERT_CUE(5),
@ -173,7 +173,7 @@ static const struct ScriptCommand s_gs214_g1_s0_lives1_dlg0[] = { /* 0x8266f30 *
FANFARE_PLAY2(664),
{ 0x56, 0x00, 0x0000, 0x00000053, 0x00000000, NULL },
{ 0xde, 0x00, 0x0000, 0x00000000, 0x00000000, NULL },
{ 0xe2, 0x00, 0x0298, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(664),
SELECT_ANIMATION(22),
WAIT(10),
STOP_ANIMATION_ON_CURRENT_FRAME,

View File

@ -19,7 +19,7 @@ static const struct ScriptCommand s_gs215_g1_s0_station_sref_script[] = { /* 0x8
DEBUGINFO_O(19),
SELECT_MAP(215),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(10),
BGM_SWITCH(MUS_THERES_TROUBLE),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
{ 0x23, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },

View File

@ -11,7 +11,7 @@
static const struct ScriptCommand s_gs216_g0_s0_station_sref_script[] = { /* 0x8267ac8 */
DEBUGINFO_O(13),
SELECT_MAP(216),
SELECT_MAP(MAP_D20),
BGM_STOP,
JUMP_SCRIPT(COMMON_ENTER),
};
@ -23,14 +23,14 @@ static const struct ScriptCommand s_gs216_g1_s0_station_sref_script[] = { /* 0x8
BGM_STOP,
{ 0x23, 0x01, 0x0000, 0x00000000, 0x00000000, NULL },
{ 0x26, 0x01, 0x0000, 0x00000000, 0x00000000, NULL },
SELECT_MAP(216),
SELECT_MAP(MAP_D20),
MSG_ON_BG_AUTO(30, _("{CENTER_ALIGN}One day...")),
MSG_ON_BG_AUTO(30, _("{CENTER_ALIGN}In a small cave\n{CENTER_ALIGN}in the distant west...")),
TEXTBOX_CLEAR,
WAIT(1),
{ 0x25, 0x01, 0x0000, 0x00000000, 0x00000000, NULL },
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(10),
BGM_SWITCH(MUS_THERES_TROUBLE),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
{ 0x28, 0x01, 0x0002, 0x0000003c, 0x00ffffff, NULL },
@ -139,7 +139,7 @@ static const struct ScriptCommand s_gs216_g1_s0_lives0_dlg0[] = { /* 0x8267cc8 *
MSG_NPC(0, _(" ...No?{WAIT_PRESS}\nI don't hear anything.")),
TEXTBOX_CLEAR,
WAIT(10),
BGM_SWITCH(35),
BGM_SWITCH(MUS_FRIEND_AREA_CRYPTIC_CAVE),
TEXTBOX_AUTO_PRESS(60, 60),
MSG_NPC(-1, _(" ............{WAIT_PRESS}Is it{WAIT_PRESS} \nyou...?")),
MSG_NPC(-1, _(" ......Who...disturbs...my sleep...{WAIT_PRESS}\nIs it{WAIT_PRESS} you?!\n")),
@ -185,7 +185,7 @@ static const struct ScriptCommand s_gs216_g1_s0_lives0_dlg0[] = { /* 0x8267cc8 *
FANFARE_PLAY2(877),
{ 0x28, 0x01, 0x0001, 0x00000005, 0x00ffffff, NULL },
WAIT(10),
BGM_SWITCH(11),
BGM_SWITCH(MUS_BOSS_BATTLE),
{ 0x27, 0x01, 0x0001, 0x00000005, 0x00ffffff, NULL },
{ 0x23, 0x01, 0x000a, 0x00000000, 0x00000000, NULL },
TEXTBOX_AUTO_PRESS(120, 120),
@ -302,18 +302,18 @@ static const struct ScriptCommand s_gs216_g1_s0_lives1_dlg0[] = { /* 0x8268c90 *
CMD_UNK_92(4, 1, DIR_TRANS_SPINRIGHT2),
AWAIT_CUE(6),
FANFARE_PLAY2(786),
{ 0xe2, 0x00, 0x0312, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(786),
FANFARE_PLAY2(831),
{ 0xe2, 0x00, 0x033f, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(831),
FANFARE_PLAY2(787),
{ 0xe2, 0x00, 0x0313, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(787),
FANFARE_PLAY2(831),
{ 0xe2, 0x00, 0x033f, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(831),
WAIT(15),
FANFARE_PLAY2(786),
{ 0xe2, 0x00, 0x0312, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(786),
FANFARE_PLAY2(831),
{ 0xe2, 0x00, 0x033f, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(831),
HALT,
};

View File

@ -19,7 +19,7 @@ static const struct ScriptCommand s_gs217_g1_s0_station_sref_script[] = { /* 0x8
DEBUGINFO_O(19),
SELECT_MAP(217),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(114),
BGM_SWITCH(MUS_IN_THE_DEPTHS_OF_THE_PIT),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
BGM_FADEOUT(60),
@ -41,7 +41,7 @@ static const struct ScriptCommand s_gs217_g1_s0_lives0_dlg0[] = { /* 0x8269878 *
WAIT(10),
{ 0x28, 0x01, 0x0005, 0x00000005, 0x00ffffff, NULL },
{ 0x27, 0x01, 0x0005, 0x00000005, 0x00ffffff, NULL },
{ 0xe2, 0x00, 0x01db, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(475),
AWAIT_CUE(5),
PORTRAIT(PLACEMENT_TOP_RIGHT, 0x0002, 0x00000000),
MSG_NPC(2, _(" Urghgh...")),
@ -82,14 +82,14 @@ static const struct ScriptCommand s_gs217_g1_s0_lives1_dlg0[] = { /* 0x8269b04 *
WAIT(30),
FANFARE_PLAY2(475),
SELECT_ANIMATION(9),
{ 0xe2, 0x00, 0x01db, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(475),
FANFARE_PLAY2(779),
{ 0x54, 0x00, 0x000a, 0x00000000, 0x00000000, NULL },
WAIT(50),
{ 0x54, 0x00, 0x001a, 0x00000000, 0x00000000, NULL },
WAIT(40),
FANFARE_PLAY2(682),
{ 0xe2, 0x00, 0x02aa, 0x00000000, 0x00000000, NULL },
WAIT_FANFARE2(682),
ALERT_CUE(5),
HALT,
};

View File

@ -23,7 +23,7 @@ static const struct ScriptCommand s_gs219_g1_s0_station_sref_script[] = { /* 0x8
DEBUGINFO_O(23),
SELECT_MAP(219),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(114),
BGM_SWITCH(MUS_IN_THE_DEPTHS_OF_THE_PIT),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
BGM_FADEOUT(120),

View File

@ -22,7 +22,7 @@ static const struct ScriptCommand s_gs220_g1_s0_station_sref_script[] = { /* 0x8
DEBUGINFO_O(22),
SELECT_MAP(220),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(114),
BGM_SWITCH(MUS_IN_THE_DEPTHS_OF_THE_PIT),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
BGM_FADEOUT(90),
@ -152,7 +152,7 @@ static const struct ScriptCommand s_gs220_g1_s0_lives0_dlg0[] = { /* 0x826abb0 *
MSG_NPC(2, _(" Who are you?")),
TEXTBOX_CLEAR,
WAIT(10),
BGM_SWITCH(6),
BGM_SWITCH(MUS_LEGEND_OF_NINETALES),
{ 0x33, 0x00, -0x0001, 0x00000000, 0x00000000, _("{CENTER_ALIGN}I am the\n{CENTER_ALIGN}judge of darkness.") },
{ 0x33, 0x00, -0x0001, 0x00000000, 0x00000000, _("{CENTER_ALIGN}You have nothing to fear from me.\n{CENTER_ALIGN}I mean you no harm.") },
{ 0x33, 0x00, -0x0001, 0x00000000, 0x00000000, _("{CENTER_ALIGN}Just now, a key was\n{CENTER_ALIGN}inserted to break a curse.") },

View File

@ -19,7 +19,7 @@ static const struct ScriptCommand s_gs221_g1_s0_station_sref_script[] = { /* 0x8
DEBUGINFO_O(19),
SELECT_MAP(221),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(21),
BGM_SWITCH(MUS_STORMY_SEA),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
RET,

View File

@ -23,7 +23,7 @@ static const struct ScriptCommand s_gs222_g1_s0_station_sref_script[] = { /* 0x8
DEBUGINFO_O(23),
SELECT_MAP(222),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(114),
BGM_SWITCH(MUS_IN_THE_DEPTHS_OF_THE_PIT),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
AWAIT_CUE(3),
BGM_FADEOUT(120),

View File

@ -40,7 +40,7 @@ static const struct ScriptCommand s_gs105_g0_s0_station_sref_script[] = { /* 0x8
SELECT_LIVES(0, 1),
JUMP_LABEL(6),
LABEL(6), /* = 0x06 */
BGM_SWITCH(106),
BGM_SWITCH(MUS_FRIEND_AREA_OCEANIC),
JUMP_SCRIPT(COMMON_ENTER),
};

View File

@ -52,7 +52,7 @@ static const struct ScriptCommand s_gs106_g0_s0_station_sref_script[] = { /* 0x8
SELECT_LIVES(0, 1),
JUMP_LABEL(8),
LABEL(8), /* = 0x08 */
BGM_SWITCH(106),
BGM_SWITCH(MUS_FRIEND_AREA_OCEANIC),
JUMP_SCRIPT(COMMON_ENTER),
};

View File

@ -46,7 +46,7 @@ static const struct ScriptCommand s_gs107_g0_s0_station_sref_script[] = { /* 0x8
SELECT_LIVES(0, 1),
JUMP_LABEL(8),
LABEL(8), /* = 0x08 */
BGM_SWITCH(106),
BGM_SWITCH(MUS_FRIEND_AREA_OCEANIC),
JUMP_SCRIPT(COMMON_ENTER),
};

View File

@ -54,7 +54,7 @@ static const struct ScriptCommand s_gs108_g0_s0_station_sref_script[] = { /* 0x8
SELECT_LIVES(0, 1),
JUMP_LABEL(8),
LABEL(8), /* = 0x08 */
BGM_SWITCH(106),
BGM_SWITCH(MUS_FRIEND_AREA_OCEANIC),
JUMP_SCRIPT(COMMON_ENTER),
};

View File

@ -43,7 +43,7 @@ static const struct ScriptCommand s_gs109_g0_s0_station_sref_script[] = { /* 0x8
SELECT_LIVES(0, 1),
JUMP_LABEL(8),
LABEL(8), /* = 0x08 */
BGM_SWITCH(30),
BGM_SWITCH(MUS_FRIEND_AREA_DEEPSEA_CURRENT),
JUMP_SCRIPT(COMMON_ENTER),
};

View File

@ -43,7 +43,7 @@ static const struct ScriptCommand s_gs110_g0_s0_station_sref_script[] = { /* 0x8
SELECT_LIVES(0, 1),
JUMP_LABEL(8),
LABEL(8), /* = 0x08 */
BGM_SWITCH(31),
BGM_SWITCH(MUS_FRIEND_AREA_SEAFLOOR_CAVE),
JUMP_SCRIPT(COMMON_ENTER),
};

View File

@ -48,7 +48,7 @@ static const struct ScriptCommand s_gs111_g0_s0_station_sref_script[] = { /* 0x8
SELECT_LIVES(0, 1),
JUMP_LABEL(8),
LABEL(8), /* = 0x08 */
BGM_SWITCH(16),
BGM_SWITCH(MUS_FRIEND_AREA_POND),
JUMP_SCRIPT(COMMON_ENTER),
};

View File

@ -54,7 +54,7 @@ static const struct ScriptCommand s_gs112_g0_s0_station_sref_script[] = { /* 0x8
SELECT_LIVES(0, 1),
JUMP_LABEL(8),
LABEL(8), /* = 0x08 */
BGM_SWITCH(105),
BGM_SWITCH(MUS_FRIEND_AREA_STEPPE),
JUMP_SCRIPT(COMMON_ENTER),
};

View File

@ -51,7 +51,7 @@ static const struct ScriptCommand s_gs113_g0_s0_station_sref_script[] = { /* 0x8
SELECT_LIVES(0, 1),
JUMP_LABEL(8),
LABEL(8), /* = 0x08 */
BGM_SWITCH(107),
BGM_SWITCH(MUS_FRIEND_AREA_FIELD),
JUMP_SCRIPT(COMMON_ENTER),
};

View File

@ -48,7 +48,7 @@ static const struct ScriptCommand s_gs114_g0_s0_station_sref_script[] = { /* 0x8
SELECT_LIVES(0, 1),
JUMP_LABEL(8),
LABEL(8), /* = 0x08 */
BGM_SWITCH(121),
BGM_SWITCH(MUS_FRIEND_AREA_FOREST),
JUMP_SCRIPT(COMMON_ENTER),
};

View File

@ -43,7 +43,7 @@ static const struct ScriptCommand s_gs115_g0_s0_station_sref_script[] = { /* 0x8
SELECT_LIVES(0, 1),
JUMP_LABEL(8),
LABEL(8), /* = 0x08 */
BGM_SWITCH(28),
BGM_SWITCH(MUS_FRIEND_AREA_RAINBOW_PEAK),
JUMP_SCRIPT(COMMON_ENTER),
};

View File

@ -55,7 +55,7 @@ static const struct ScriptCommand s_gs116_g0_s0_station_sref_script[] = { /* 0x8
SELECT_LIVES(0, 1),
JUMP_LABEL(8),
LABEL(8), /* = 0x08 */
BGM_SWITCH(107),
BGM_SWITCH(MUS_FRIEND_AREA_FIELD),
JUMP_SCRIPT(COMMON_ENTER),
};

View File

@ -54,7 +54,7 @@ static const struct ScriptCommand s_gs117_g0_s0_station_sref_script[] = { /* 0x8
SELECT_LIVES(0, 1),
JUMP_LABEL(8),
LABEL(8), /* = 0x08 */
BGM_SWITCH(107),
BGM_SWITCH(MUS_FRIEND_AREA_FIELD),
JUMP_SCRIPT(COMMON_ENTER),
};

View File

@ -55,7 +55,7 @@ static const struct ScriptCommand s_gs118_g0_s0_station_sref_script[] = { /* 0x8
SELECT_LIVES(0, 1),
JUMP_LABEL(8),
LABEL(8), /* = 0x08 */
BGM_SWITCH(105),
BGM_SWITCH(MUS_FRIEND_AREA_STEPPE),
JUMP_SCRIPT(COMMON_ENTER),
};

View File

@ -57,7 +57,7 @@ static const struct ScriptCommand s_gs119_g0_s0_station_sref_script[] = { /* 0x8
SELECT_LIVES(0, 1),
JUMP_LABEL(8),
LABEL(8), /* = 0x08 */
BGM_SWITCH(105),
BGM_SWITCH(MUS_FRIEND_AREA_STEPPE),
JUMP_SCRIPT(COMMON_ENTER),
};

View File

@ -52,7 +52,7 @@ static const struct ScriptCommand s_gs120_g0_s0_station_sref_script[] = { /* 0x8
SELECT_LIVES(0, 1),
JUMP_LABEL(8),
LABEL(8), /* = 0x08 */
BGM_SWITCH(107),
BGM_SWITCH(MUS_FRIEND_AREA_FIELD),
JUMP_SCRIPT(COMMON_ENTER),
};

View File

@ -45,7 +45,7 @@ static const struct ScriptCommand s_gs121_g0_s0_station_sref_script[] = { /* 0x8
SELECT_LIVES(0, 1),
JUMP_LABEL(8),
LABEL(8), /* = 0x08 */
BGM_SWITCH(107),
BGM_SWITCH(MUS_FRIEND_AREA_FIELD),
JUMP_SCRIPT(COMMON_ENTER),
};

View File

@ -56,7 +56,7 @@ static const struct ScriptCommand s_gs122_g0_s0_station_sref_script[] = { /* 0x8
SELECT_LIVES(0, 1),
JUMP_LABEL(8),
LABEL(8), /* = 0x08 */
BGM_SWITCH(121),
BGM_SWITCH(MUS_FRIEND_AREA_FOREST),
JUMP_SCRIPT(COMMON_ENTER),
};

View File

@ -54,7 +54,7 @@ static const struct ScriptCommand s_gs123_g0_s0_station_sref_script[] = { /* 0x8
SELECT_LIVES(0, 1),
JUMP_LABEL(8),
LABEL(8), /* = 0x08 */
BGM_SWITCH(121),
BGM_SWITCH(MUS_FRIEND_AREA_FOREST),
JUMP_SCRIPT(COMMON_ENTER),
};

View File

@ -51,7 +51,7 @@ static const struct ScriptCommand s_gs124_g0_s0_station_sref_script[] = { /* 0x8
SELECT_LIVES(0, 1),
JUMP_LABEL(8),
LABEL(8), /* = 0x08 */
BGM_SWITCH(121),
BGM_SWITCH(MUS_FRIEND_AREA_FOREST),
JUMP_SCRIPT(COMMON_ENTER),
};

View File

@ -58,7 +58,7 @@ static const struct ScriptCommand s_gs125_g0_s0_station_sref_script[] = { /* 0x8
SELECT_LIVES(0, 1),
JUMP_LABEL(8),
LABEL(8), /* = 0x08 */
BGM_SWITCH(121),
BGM_SWITCH(MUS_FRIEND_AREA_FOREST),
JUMP_SCRIPT(COMMON_ENTER),
};

View File

@ -46,7 +46,7 @@ static const struct ScriptCommand s_gs126_g0_s0_station_sref_script[] = { /* 0x8
SELECT_LIVES(0, 1),
JUMP_LABEL(8),
LABEL(8), /* = 0x08 */
BGM_SWITCH(121),
BGM_SWITCH(MUS_FRIEND_AREA_FOREST),
JUMP_SCRIPT(COMMON_ENTER),
};

View File

@ -43,7 +43,7 @@ static const struct ScriptCommand s_gs127_g0_s0_station_sref_script[] = { /* 0x8
SELECT_LIVES(0, 1),
JUMP_LABEL(8),
LABEL(8), /* = 0x08 */
BGM_SWITCH(127),
BGM_SWITCH(MUS_FRIEND_AREA_HEALING_FOREST),
JUMP_SCRIPT(COMMON_ENTER),
};

View File

@ -48,7 +48,7 @@ static const struct ScriptCommand s_gs128_g0_s0_station_sref_script[] = { /* 0x8
SELECT_LIVES(0, 1),
JUMP_LABEL(8),
LABEL(8), /* = 0x08 */
BGM_SWITCH(121),
BGM_SWITCH(MUS_FRIEND_AREA_FOREST),
JUMP_SCRIPT(COMMON_ENTER),
};

View File

@ -51,7 +51,7 @@ static const struct ScriptCommand s_gs129_g0_s0_station_sref_script[] = { /* 0x8
SELECT_LIVES(0, 1),
JUMP_LABEL(8),
LABEL(8), /* = 0x08 */
BGM_SWITCH(121),
BGM_SWITCH(MUS_FRIEND_AREA_FOREST),
JUMP_SCRIPT(COMMON_ENTER),
};

View File

@ -49,7 +49,7 @@ static const struct ScriptCommand s_gs130_g0_s0_station_sref_script[] = { /* 0x8
SELECT_LIVES(0, 1),
JUMP_LABEL(8),
LABEL(8), /* = 0x08 */
BGM_SWITCH(16),
BGM_SWITCH(MUS_FRIEND_AREA_POND),
JUMP_SCRIPT(COMMON_ENTER),
};

View File

@ -51,7 +51,7 @@ static const struct ScriptCommand s_gs131_g0_s0_station_sref_script[] = { /* 0x8
SELECT_LIVES(0, 1),
JUMP_LABEL(8),
LABEL(8), /* = 0x08 */
BGM_SWITCH(16),
BGM_SWITCH(MUS_FRIEND_AREA_POND),
JUMP_SCRIPT(COMMON_ENTER),
};

View File

@ -52,7 +52,7 @@ static const struct ScriptCommand s_gs132_g0_s0_station_sref_script[] = { /* 0x8
SELECT_LIVES(0, 1),
JUMP_LABEL(8),
LABEL(8), /* = 0x08 */
BGM_SWITCH(16),
BGM_SWITCH(MUS_FRIEND_AREA_POND),
JUMP_SCRIPT(COMMON_ENTER),
};

View File

@ -46,7 +46,7 @@ static const struct ScriptCommand s_gs133_g0_s0_station_sref_script[] = { /* 0x8
SELECT_LIVES(0, 1),
JUMP_LABEL(8),
LABEL(8), /* = 0x08 */
BGM_SWITCH(106),
BGM_SWITCH(MUS_FRIEND_AREA_OCEANIC),
JUMP_SCRIPT(COMMON_ENTER),
};

View File

@ -46,7 +46,7 @@ static const struct ScriptCommand s_gs134_g0_s0_station_sref_script[] = { /* 0x8
SELECT_LIVES(0, 1),
JUMP_LABEL(8),
LABEL(8), /* = 0x08 */
BGM_SWITCH(16),
BGM_SWITCH(MUS_FRIEND_AREA_POND),
JUMP_SCRIPT(COMMON_ENTER),
};

View File

@ -49,7 +49,7 @@ static const struct ScriptCommand s_gs135_g0_s0_station_sref_script[] = { /* 0x8
SELECT_LIVES(0, 1),
JUMP_LABEL(8),
LABEL(8), /* = 0x08 */
BGM_SWITCH(2),
BGM_SWITCH(MUS_FRIEND_AREA_SWAMP),
JUMP_SCRIPT(COMMON_ENTER),
};

View File

@ -48,7 +48,7 @@ static const struct ScriptCommand s_gs136_g0_s0_station_sref_script[] = { /* 0x8
SELECT_LIVES(0, 1),
JUMP_LABEL(8),
LABEL(8), /* = 0x08 */
BGM_SWITCH(2),
BGM_SWITCH(MUS_FRIEND_AREA_SWAMP),
JUMP_SCRIPT(COMMON_ENTER),
};

View File

@ -53,7 +53,7 @@ static const struct ScriptCommand s_gs137_g0_s0_station_sref_script[] = { /* 0x8
SELECT_LIVES(0, 1),
JUMP_LABEL(8),
LABEL(8), /* = 0x08 */
BGM_SWITCH(3),
BGM_SWITCH(MUS_FRIEND_AREA_CAVES),
JUMP_SCRIPT(COMMON_ENTER),
};

View File

@ -43,7 +43,7 @@ static const struct ScriptCommand s_gs138_g0_s0_station_sref_script[] = { /* 0x8
SELECT_LIVES(0, 1),
JUMP_LABEL(8),
LABEL(8), /* = 0x08 */
BGM_SWITCH(35),
BGM_SWITCH(MUS_FRIEND_AREA_CRYPTIC_CAVE),
JUMP_SCRIPT(COMMON_ENTER),
};

View File

@ -46,7 +46,7 @@ static const struct ScriptCommand s_gs139_g0_s0_station_sref_script[] = { /* 0x8
SELECT_LIVES(0, 1),
JUMP_LABEL(8),
LABEL(8), /* = 0x08 */
BGM_SWITCH(3),
BGM_SWITCH(MUS_FRIEND_AREA_CAVES),
JUMP_SCRIPT(COMMON_ENTER),
};

View File

@ -46,7 +46,7 @@ static const struct ScriptCommand s_gs140_g0_s0_station_sref_script[] = { /* 0x8
SELECT_LIVES(0, 1),
JUMP_LABEL(8),
LABEL(8), /* = 0x08 */
BGM_SWITCH(3),
BGM_SWITCH(MUS_FRIEND_AREA_CAVES),
JUMP_SCRIPT(COMMON_ENTER),
};

View File

@ -55,7 +55,7 @@ static const struct ScriptCommand s_gs141_g0_s0_station_sref_script[] = { /* 0x8
SELECT_LIVES(0, 1),
JUMP_LABEL(8),
LABEL(8), /* = 0x08 */
BGM_SWITCH(116),
BGM_SWITCH(MUS_FRIEND_AREA_WILDS),
JUMP_SCRIPT(COMMON_ENTER),
};

View File

@ -49,7 +49,7 @@ static const struct ScriptCommand s_gs142_g0_s0_station_sref_script[] = { /* 0x8
SELECT_LIVES(0, 1),
JUMP_LABEL(8),
LABEL(8), /* = 0x08 */
BGM_SWITCH(112),
BGM_SWITCH(MUS_FRIEND_AREA_LAB),
JUMP_SCRIPT(COMMON_ENTER),
};

View File

@ -53,7 +53,7 @@ static const struct ScriptCommand s_gs143_g0_s0_station_sref_script[] = { /* 0x8
SELECT_LIVES(0, 1),
JUMP_LABEL(8),
LABEL(8), /* = 0x08 */
BGM_SWITCH(116),
BGM_SWITCH(MUS_FRIEND_AREA_WILDS),
JUMP_SCRIPT(COMMON_ENTER),
};

Some files were not shown because too many files have changed in this diff Show More