pmd-red/src/data/ground/ground_data_d06p03_station.h
2025-06-18 21:41:25 +02:00

690 lines
31 KiB
C

static const struct ScriptCommand s_gs190_g0_s0_station_sref_script[] = { /* 0x823aa14 */
DEBUGINFO,
SELECT_MAP(190),
BGM_STOP,
JUMP_SCRIPT(COMMON_ENTER),
};
static const struct ScriptRef s_gs190_g0_s0_station_sref = { 404, 1, NULL /* ENTER_CONTROL */, s_gs190_g0_s0_station_sref_script }; /* 0x823aa80 */
static const struct ScriptCommand s_gs190_g1_s0_station_sref_script[] = { /* 0x823aa8c */
DEBUGINFO,
SELECT_MAP(190),
SELECT_ENTITIES(-1, 0),
BGM_SWITCH(114),
{ 0x22, 0x01, 0x001e, 0x00000000, 0x00000000, NULL },
{ 0xe3, 0x00, 0x0003, 0x00000000, 0x00000000, NULL },
{ 0x23, 0x01, 0x003c, 0x00000000, 0x00000000, NULL },
WAIT(60),
RET,
};
static const struct ScriptRef s_gs190_g1_s0_station_sref = { 400, 7, NULL /* EVENT_CONTROL */, s_gs190_g1_s0_station_sref_script }; /* 0x823ab1c */
static const struct ScriptCommand s_gs190_g1_s0_eff0_script[] = { /* 0x823ab28 */
DEBUGINFO,
{ 0x99, 0x00, 0x0000, 0x00000000, 0x00000000, NULL },
{ 0x98, 0x00, 0x0000, 0x00000000, 0x00000000, NULL },
{ 0x89, 0x48, 0x0100, 0x00000000, 0x00000000, NULL },
{ 0xe3, 0x00, 0x0004, 0x00000000, 0x00000000, NULL },
{ 0x89, 0x50, 0x0100, 0x00000004, 0x00000000, NULL },
{ 0xe3, 0x00, 0x0004, 0x00000000, 0x00000000, NULL },
{ 0x89, 0x40, 0x0100, 0x00000000, 0x00000000, NULL },
{ 0xe4, 0x00, 0x0005, 0x00000000, 0x00000000, NULL },
{ 0xe3, 0x00, 0x0004, 0x00000000, 0x00000000, NULL },
{ 0x89, 0x20, 0x0100, 0x00000006, 0x00000000, NULL },
{ 0xe4, 0x00, 0x0005, 0x00000000, 0x00000000, NULL },
{ 0xe3, 0x00, 0x0004, 0x00000000, 0x00000000, NULL },
WAIT(1),
END_DELETE,
};
static const struct ScriptCommand s_gs190_g1_s0_lives0_dlg0[] = { /* 0x823ac18 */
DEBUGINFO,
{ 0x54, 0x00, 0x0002, 0x00000000, 0x00000000, NULL },
{ 0x2d, 0x07, 0x0000, 0x00000000, 0x00000000, NULL },
{ 0x2d, 0x09, 0x0006, 0x00000055, 0x00000000, NULL },
{ 0xdf, 0x00, 0x0000, 0x00000000, 0x00000000, NULL },
WAIT(60),
PORTRAIT(PLACEMENT_MIDDLE_TOP_RIGHT, 0x0002, 0x00000000),
MSG_NPC(2, _("Gyaoooh!")),
TEXTBOX_CLEAR,
WAIT(30),
{ 0xe4, 0x00, 0x0008, 0x00000000, 0x00000000, NULL },
{ 0xe4, 0x00, 0x000a, 0x00000000, 0x00000000, NULL },
{ 0xe4, 0x00, 0x0009, 0x00000000, 0x00000000, NULL },
{ 0xe3, 0x00, 0x0005, 0x00000000, 0x00000000, NULL },
PORTRAIT(PLACEMENT_LEFT_, 0x0003, 0x00000000),
MSG_NPC(3, _(" Wh-what is going on...")),
TEXTBOX_CLEAR,
WAIT(10),
MSG_NPC(2, _(" Urrggh!{WAIT_PRESS}\nUwoah!")),
TEXTBOX_CLEAR,
{ 0xe4, 0x00, 0x0007, 0x00000000, 0x00000000, NULL },
{ 0xe4, 0x00, 0x0006, 0x00000000, 0x00000000, NULL },
{ 0xe4, 0x00, 0x000d, 0x00000000, 0x00000000, NULL },
{ 0xe4, 0x00, 0x0009, 0x00000000, 0x00000000, NULL },
{ 0xe4, 0x00, 0x000a, 0x00000000, 0x00000000, NULL },
CALL_SCRIPT(NOTICE_FUNC),
{ 0xe3, 0x00, 0x0005, 0x00000000, 0x00000000, NULL },
WAIT(30),
FANFARE_PLAY2(479),
{ 0xe4, 0x00, 0x0007, 0x00000000, 0x00000000, NULL },
{ 0xe4, 0x00, 0x0006, 0x00000000, 0x00000000, NULL },
{ 0xe4, 0x00, 0x000d, 0x00000000, 0x00000000, NULL },
{ 0xe4, 0x00, 0x0008, 0x00000000, 0x00000000, NULL },
{ 0xe4, 0x00, 0x0009, 0x00000000, 0x00000000, NULL },
{ 0xe4, 0x00, 0x000a, 0x00000000, 0x00000000, NULL },
{ 0x62, 0x00, 0x0100, 0x00000000, 0x00000008, NULL },
{ 0xe3, 0x00, 0x0005, 0x00000000, 0x00000000, NULL },
{ 0xe4, 0x00, 0x0009, 0x00000000, 0x00000000, NULL },
{ 0xe3, 0x00, 0x0005, 0x00000000, 0x00000000, NULL },
PORTRAIT(PLACEMENT_LEFT_, 0x0004, 0x00000000),
MSG_NPC(4, _(" You want more?\nI'll take you on!")),
TEXTBOX_CLEAR,
WAIT(10),
{ 0xe4, 0x00, 0x0007, 0x00000000, 0x00000000, NULL },
{ 0xe3, 0x00, 0x0005, 0x00000000, 0x00000000, NULL },
WAIT(30),
MSG_NPC(2, _(" Enough!{WAIT_PRESS}\nThat's enough fighting.")),
MSG_NPC(2, _(" I've calmed down.\nTake {NAME_6} back.")),
TEXTBOX_CLEAR,
WAIT(10),
{ 0xe4, 0x00, 0x0007, 0x00000000, 0x00000000, NULL },
{ 0xe3, 0x00, 0x0005, 0x00000000, 0x00000000, NULL },
MSG_NPC(2, _(" You kids...\nYou've impressed me.")),
MSG_NPC(2, _(" But...{WAIT_PRESS}\nThings won't be this easy next time.")),
MSG_NPC(2, _(" I will go all out next time,\nso you'd best be prepared!")),
MSG_NPC(2, _(" Until then, you'd better\nhone your skills!")),
TEXTBOX_CLEAR,
{ 0xe4, 0x00, 0x0004, 0x00000000, 0x00000000, NULL },
{ 0xe4, 0x00, 0x0007, 0x00000000, 0x00000000, NULL },
{ 0xe3, 0x00, 0x0005, 0x00000000, 0x00000000, NULL },
WAIT(90),
{ 0xe4, 0x00, 0x0004, 0x00000000, 0x00000000, NULL },
{ 0xe3, 0x00, 0x0005, 0x00000000, 0x00000000, NULL },
WAIT(60),
FANFARE_PLAY2(481),
{ 0xe4, 0x00, 0x000c, 0x00000000, 0x00000000, NULL },
{ 0xe3, 0x00, 0x0005, 0x00000000, 0x00000000, NULL },
SELECT_ENTITIES(-1, 1),
{ 0xe3, 0x00, 0x0005, 0x00000000, 0x00000000, NULL },
FANFARE_PLAY2(465),
{ 0xe4, 0x00, 0x0006, 0x00000000, 0x00000000, NULL },
{ 0xe4, 0x00, 0x000d, 0x00000000, 0x00000000, NULL },
{ 0xe4, 0x00, 0x0008, 0x00000000, 0x00000000, NULL },
{ 0xe4, 0x00, 0x0009, 0x00000000, 0x00000000, NULL },
{ 0xe4, 0x00, 0x000a, 0x00000000, 0x00000000, NULL },
{ 0xe3, 0x00, 0x0005, 0x00000000, 0x00000000, NULL },
CALL_SCRIPT(NOTICE_FUNC),
PORTRAIT(PLACEMENT_RIGHT, 0x0001, 0x0000000c),
MSG_NPC(1, _(" Look!\nThere's {NAME_6}!")),
TEXTBOX_CLEAR,
{ 0xe4, 0x00, 0x0006, 0x00000000, 0x00000000, NULL },
{ 0xe4, 0x00, 0x0008, 0x00000000, 0x00000000, NULL },
{ 0xe4, 0x00, 0x0009, 0x00000000, 0x00000000, NULL },
{ 0xe4, 0x00, 0x000a, 0x00000000, 0x00000000, NULL },
{ 0x53, 0x00, 0x0000, 0x0000001f, 0x00000000, NULL },
{ 0x7a, 0x00, 0x0020, 0x00000000, 0x00000000, NULL },
{ 0x93, 0x04, 0x000a, 0x00000055, 0x00000000, NULL },
WAIT(16),
PORTRAIT(PLACEMENT_TOP_LEFT, 0x0004, 0x00000000),
MSG_NPC(4, _(" Are you OK?")),
TEXTBOX_CLEAR,
{ 0xe4, 0x00, 0x000b, 0x00000000, 0x00000000, NULL },
{ 0xe3, 0x00, 0x0005, 0x00000000, 0x00000000, NULL },
PORTRAIT(PLACEMENT_MIDDLE_TOP_RIGHT, 0x0006, 0x00000000),
MSG_NPC(6, _(" Ungh... Uh, yeah...{WAIT_PRESS}\nSomehow, I am...")),
TEXTBOX_CLEAR,
{ 0xe4, 0x00, 0x0006, 0x00000000, 0x00000000, NULL },
{ 0xe3, 0x00, 0x0005, 0x00000000, 0x00000000, NULL },
PORTRAIT(PLACEMENT_RIGHT, 0x0001, 0x00000001),
MSG_NPC(1, _(" I'm glad you're safe!")),
TEXTBOX_CLEAR,
{ 0xe4, 0x00, 0x000a, 0x00000000, 0x00000000, NULL },
{ 0xe3, 0x00, 0x0005, 0x00000000, 0x00000000, NULL },
PORTRAIT(PLACEMENT_LEFT_, 0x0005, 0x00000000),
MSG_NPC(5, _(" But that was an eye-opener.")),
MSG_NPC(5, _(" Driving off that\n{NAME_2}.")),
TEXTBOX_CLEAR,
WAIT(10),
{ 0xe4, 0x00, 0x0008, 0x00000000, 0x00000000, NULL },
{ 0xe4, 0x00, 0x0009, 0x00000000, 0x00000000, NULL },
{ 0xe4, 0x00, 0x0006, 0x00000000, 0x00000000, NULL },
{ 0xe3, 0x00, 0x0005, 0x00000000, 0x00000000, NULL },
MSG_NPC(4, _(" I agree.")),
MSG_NPC(4, _(" You're awfully strong for\na plain {POKEMON_0}.")),
TEXTBOX_CLEAR,
WAIT(32),
{ 0x91, 0x04, 0x0002, 0x00000005, 0x00000000, NULL },
WAIT(32),
PORTRAIT(PLACEMENT_LEFT_, 0x0003, 0x00000000),
MSG_NPC(3, _(" ......")),
MSG_NPC(3, _(" I sensed it when we first\nmet...")),
MSG_NPC(3, _(" Perhaps...{WAIT_PRESS}\nYou aren't a Pokémon, are you?")),
TEXTBOX_CLEAR,
FANFARE_PLAY2(465),
{ 0xe4, 0x00, 0x0006, 0x00000000, 0x00000000, NULL },
{ 0xe4, 0x00, 0x000d, 0x00000000, 0x00000000, NULL },
{ 0xe3, 0x00, 0x0005, 0x00000000, 0x00000000, NULL },
PORTRAIT(PLACEMENT_RIGHT, 0x0001, 0x0000000c),
MSG_NPC(1, _(" Wow!\nHow can you tell that?!")),
MSG_NPC(1, _(" But you're right.\n{NAME_0} isn't a Pokémon.")),
MSG_NPC(1, _(" {NAME_0} is a human.")),
TEXTBOX_CLEAR,
FANFARE_PLAY2(473),
{ 0xe4, 0x00, 0x0009, 0x00000000, 0x00000000, NULL },
{ 0xe4, 0x00, 0x000a, 0x00000000, 0x00000000, NULL },
{ 0xe4, 0x00, 0x000b, 0x00000000, 0x00000000, NULL },
{ 0xe3, 0x00, 0x0005, 0x00000000, 0x00000000, NULL },
PORTRAIT(PLACEMENT_MIDDLE_TOP_RIGHT, 0x0006, 0x00000041),
MSG_NPC(6, _(" What?!")),
PORTRAIT(PLACEMENT_TOP_LEFT, 0x0004, 0x00000041),
MSG_NPC(4, _(" A human?!")),
PORTRAIT(PLACEMENT_LEFT_, 0x0005, 0x00000041),
MSG_NPC(5, _(" Is that possible?\nCan something like that happen?")),
TEXTBOX_CLEAR,
WAIT(30),
PORTRAIT(PLACEMENT_RIGHT, 0x0001, 0x00000000),
MSG_VAR(2, PARTNER_TALK_KIND, 1),
VARIANT(/* == */ 1, _(" {NAME_0} doesn't really\nknow what happened, either.")),
VARIANT(/* == */ 1, _(" {NAME_0} just woke up\none morning here as a Pokémon...")),
VARIANT(/* == */ 1, _(" ...And doesn't remember\na thing about being a human.")),
VARIANT_DEFAULT(_(" {NAME_0} doesn't\nunderstand very much, either.")),
VARIANT_DEFAULT(_(" {NAME_0} woke up\none morning here as a Pokémon...")),
VARIANT_DEFAULT(_(" ...And doesn't remember\nanything about being a human.")),
TEXTBOX_CLEAR,
WAIT(45),
FANFARE_PLAY2(463),
{ 0xe4, 0x00, 0x0006, 0x00000000, 0x00000000, NULL },
{ 0xe3, 0x00, 0x0005, 0x00000000, 0x00000000, NULL },
MSG_VAR(2, PARTNER_TALK_KIND, 1),
VARIANT(/* == */ 1, _(" Oh, that's right!{WAIT_PRESS}\nLombre was saying something in the\nsquare.")),
VARIANT(/* == */ 1, _(" He said {NAME_3}\nknows everything.")),
VARIANT(/* == */ 1, _(" {NAME_3}, do you know\nwhy {NAME_0} became a Pokémon?")),
VARIANT_DEFAULT(_(" Oh, wait!{WAIT_PRESS}\nLombre said something in the square!")),
VARIANT_DEFAULT(_(" He said {NAME_3} knows\neverything!")),
VARIANT_DEFAULT(_(" {NAME_3}, could you\nfigure out why {NAME_0} became a\nPokémon?")),
TEXTBOX_CLEAR,
WAIT(10),
{ 0xe4, 0x00, 0x0008, 0x00000000, 0x00000000, NULL },
{ 0xe3, 0x00, 0x0005, 0x00000000, 0x00000000, NULL },
MSG_NPC(3, _(" ......")),
MSG_NPC(3, _(" No...{WAIT_PRESS}\nI can't determine that.")),
TEXTBOX_CLEAR,
WAIT(10),
PORTRAIT(PLACEMENT_RIGHT, 0x0001, 0x00000005),
MSG_NPC(1, _(" Oh...\nI thought you would know...")),
TEXTBOX_CLEAR,
WAIT(10),
MSG_NPC(3, _(" However...{WAIT_PRESS}\nThere is a way for unveiling the truth.")),
TEXTBOX_CLEAR,
WAIT(10),
PORTRAIT(PLACEMENT_RIGHT, 0x0001, 0x0000000b),
MSG_NPC(1, _(" Oh, really? How?")),
TEXTBOX_CLEAR,
WAIT(10),
MSG_NPC(3, _(" Make way to the\n{COLOR CYAN}Hill of the Ancients{RESET}.")),
MSG_NPC(3, _(" There, you will find a\nPokémon that stares into the sun all day...")),
MSG_NPC(3, _(" A Pokémon who is said to\nsee into the future.")),
MSG_NPC(3, _(" Xatu is his name.{WAIT_PRESS}\nHe should shed light on your puzzling\nfriend.")),
TEXTBOX_CLEAR,
WAIT(10),
PORTRAIT(PLACEMENT_RIGHT, 0x0001, 0x00000000),
MSG_NPC(1, _(" OK!\nSo we should go see Xatu.")),
TEXTBOX_CLEAR,
WAIT(10),
{ 0xe4, 0x00, 0x0006, 0x00000000, 0x00000000, NULL },
{ 0xe4, 0x00, 0x000d, 0x00000000, 0x00000000, NULL },
{ 0xe3, 0x00, 0x0005, 0x00000000, 0x00000000, NULL },
{ 0x91, 0x04, 0x000b, 0x00000003, 0x00000000, NULL },
MSG_VAR(2, PARTNER_TALK_KIND, 1),
VARIANT(/* == */ 1, _(" {NAME_0}, let's roll!\nWe're going to the {COLOR CYAN}Hill of the Ancients{RESET}!")),
VARIANT(/* == */ 1, _(" There's no time to lose!\nWe'd better go back quick!")),
VARIANT_DEFAULT(_(" {NAME_0}, let's go!\nOff to the {COLOR CYAN}Hill of the Ancients{RESET}!")),
VARIANT_DEFAULT(_(" We can't waste any time!\nLet's go back quick!")),
{ 0xe4, 0x00, 0x0006, 0x00000000, 0x00000000, NULL },
{ 0xe4, 0x00, 0x000d, 0x00000000, 0x00000000, NULL },
{ 0xe3, 0x00, 0x0005, 0x00000000, 0x00000000, NULL },
MSG_NPC(1, _(" Shiftry, you too.{WAIT_PRESS}\nLet's hurry back.")),
TEXTBOX_CLEAR,
WAIT(10),
{ 0xe4, 0x00, 0x000b, 0x00000000, 0x00000000, NULL },
{ 0xe3, 0x00, 0x0005, 0x00000000, 0x00000000, NULL },
PORTRAIT(PLACEMENT_MIDDLE_TOP_LEFT, 0x0006, 0x00000000),
MSG_NPC(6, _(" Uh... Yeah...{WAIT_PRESS}\nI guess we should...")),
TEXTBOX_CLEAR,
WAIT(10),
{ 0xe4, 0x00, 0x000b, 0x00000000, 0x00000000, NULL },
WAIT(45),
{ 0xe4, 0x00, 0x0008, 0x00000000, 0x00000000, NULL },
{ 0xe4, 0x00, 0x0006, 0x00000000, 0x00000000, NULL },
{ 0xe4, 0x00, 0x000d, 0x00000000, 0x00000000, NULL },
{ 0xe3, 0x00, 0x0005, 0x00000000, 0x00000000, NULL },
WAIT(30),
{ 0xe4, 0x00, 0x0006, 0x00000000, 0x00000000, NULL },
{ 0xe3, 0x00, 0x0005, 0x00000000, 0x00000000, NULL },
MSG_VAR(2, PARTNER_TALK_KIND, 1),
VARIANT(/* == */ 1, _(" {NAME_0}!")),
VARIANT_DEFAULT(_(" {NAME_0}!")),
{ 0xe4, 0x00, 0x000d, 0x00000000, 0x00000000, NULL },
FANFARE_PLAY2(464),
CALL_SCRIPT(NOTICE_FUNC),
{ 0x91, 0x04, 0x000b, 0x00000001, 0x00000000, NULL },
MSG_VAR(2, PARTNER_TALK_KIND, 1),
VARIANT(/* == */ 1, _(" Don't just stand around.\nLet's go back.")),
VARIANT_DEFAULT(_(" Don't just stand there.\nLet's go home.")),
TEXTBOX_CLEAR,
WAIT(30),
{ 0xe4, 0x00, 0x0006, 0x00000000, 0x00000000, NULL },
{ 0xe4, 0x00, 0x000d, 0x00000000, 0x00000000, NULL },
{ 0xe4, 0x00, 0x000b, 0x00000000, 0x00000000, NULL },
WAIT(30),
BGM_FADEOUT(120),
{ 0xe4, 0x00, 0x0008, 0x00000000, 0x00000000, NULL },
{ 0xe4, 0x00, 0x0009, 0x00000000, 0x00000000, NULL },
{ 0xe4, 0x00, 0x000a, 0x00000000, 0x00000000, NULL },
{ 0xe3, 0x00, 0x0005, 0x00000000, 0x00000000, NULL },
{ 0x89, 0xb8, 0x0080, 0x00000000, 0x00000000, NULL },
WAIT(60),
{ 0xe4, 0x00, 0x0004, 0x00000000, 0x00000000, NULL },
{ 0xe3, 0x00, 0x0005, 0x00000000, 0x00000000, NULL },
WAIT(20),
PORTRAIT(PLACEMENT_MIDDLE_TOP_LEFT, 0x0004, 0x00000000),
MSG_NPC(4, _(" Alakazam.{WAIT_PRESS}\nI know you.")),
MSG_NPC(4, _(" I don't think you're \ncompletely ignorant about this.")),
MSG_NPC(4, _(" ......{WAIT_PRESS}\nYou know something, don't you?")),
TEXTBOX_CLEAR,
WAIT(10),
PORTRAIT(PLACEMENT_MIDDLE_TOP_RIGHT, 0x0003, 0x00000000),
MSG_NPC(3, _(" There is something that\nconcerns me.{WAIT_PRESS}\nBut it should go unspoken for now.")),
MSG_NPC(3, _(" ...For their sake...")),
TEXTBOX_CLEAR,
WAIT(30),
{ 0xe4, 0x00, 0x0003, 0x00000000, 0x00000000, NULL },
HALT,
};
static const struct ScriptCommand s_gs190_g1_s0_lives1_dlg0[] = { /* 0x823c670 */
DEBUGINFO,
{ 0x54, 0x00, 0x0002, 0x00000000, 0x00000000, NULL },
{ 0x2d, 0x07, 0x0001, 0x00000000, 0x00000000, NULL },
{ 0xe3, 0x00, 0x0006, 0x00000000, 0x00000000, NULL },
CALL_SCRIPT(SHOCK_FUNC),
{ 0xe3, 0x00, 0x0006, 0x00000000, 0x00000000, NULL },
CALL_SCRIPT(JUMP_SURPRISE_FUNC),
{ 0x62, 0x00, 0x0100, 0x00000000, 0x00000008, NULL },
{ 0xe3, 0x00, 0x0006, 0x00000000, 0x00000000, NULL },
CALL_SCRIPT(JUMP_SURPRISE_FUNC),
{ 0xe4, 0x00, 0x0005, 0x00000000, 0x00000000, NULL },
{ 0xe3, 0x00, 0x0006, 0x00000000, 0x00000000, NULL },
{ 0x53, 0x00, 0x0000, 0x0000001f, 0x00000000, NULL },
{ 0x7a, 0x00, 0x0020, 0x00000001, 0x00000000, NULL },
{ 0x93, 0x04, 0x000a, 0x00000055, 0x00000000, NULL },
{ 0xe3, 0x00, 0x0006, 0x00000000, 0x00000000, NULL },
CALL_SCRIPT(JUMP_HAPPY_FUNC),
CALL_SCRIPT(SMILE_START_FUNC),
WAIT(30),
CALL_SCRIPT(SMILE_END_FUNC),
{ 0xe4, 0x00, 0x0005, 0x00000000, 0x00000000, NULL },
{ 0xe3, 0x00, 0x0006, 0x00000000, 0x00000000, NULL },
{ 0x91, 0x04, 0x000b, 0x00000006, 0x00000000, NULL },
{ 0xe4, 0x00, 0x0005, 0x00000000, 0x00000000, NULL },
{ 0xe3, 0x00, 0x0006, 0x00000000, 0x00000000, NULL },
CALL_SCRIPT(JUMP_SURPRISE_FUNC),
{ 0xe4, 0x00, 0x0005, 0x00000000, 0x00000000, NULL },
{ 0xe3, 0x00, 0x0006, 0x00000000, 0x00000000, NULL },
CALL_SCRIPT(NOTICE_FUNC),
{ 0xe4, 0x00, 0x0005, 0x00000000, 0x00000000, NULL },
{ 0xe3, 0x00, 0x0006, 0x00000000, 0x00000000, NULL },
{ 0x91, 0x04, 0x0002, 0x00000007, 0x00000000, NULL },
{ 0xe4, 0x00, 0x0005, 0x00000000, 0x00000000, NULL },
{ 0xe3, 0x00, 0x0006, 0x00000000, 0x00000000, NULL },
{ 0x91, 0x04, 0x0001, 0x00000005, 0x00000000, NULL },
{ 0xe4, 0x00, 0x0005, 0x00000000, 0x00000000, NULL },
{ 0xe3, 0x00, 0x0006, 0x00000000, 0x00000000, NULL },
{ 0x6b, 0x00, 0x0080, 0x00000006, 0x00000000, NULL },
{ 0xe4, 0x00, 0x0005, 0x00000000, 0x00000000, NULL },
{ 0xe3, 0x00, 0x0006, 0x00000000, 0x00000000, NULL },
{ 0x91, 0x04, 0x0001, 0x00000005, 0x00000000, NULL },
{ 0xe4, 0x00, 0x0005, 0x00000000, 0x00000000, NULL },
{ 0xe3, 0x00, 0x0006, 0x00000000, 0x00000000, NULL },
{ 0x89, 0x90, 0x0080, 0x00000000, 0x00000000, NULL },
END_DELETE,
};
static const struct ScriptCommand s_gs190_g1_s0_lives2_dlg0[] = { /* 0x823c940 */
DEBUGINFO,
{ 0x54, 0x00, 0x0002, 0x00000000, 0x00000000, NULL },
{ 0x53, 0x00, 0x0000, 0x0000001f, 0x00000000, NULL },
{ 0xe3, 0x00, 0x000d, 0x00000000, 0x00000000, NULL },
CALL_SCRIPT(SHOCK_FUNC),
{ 0xe3, 0x00, 0x000d, 0x00000000, 0x00000000, NULL },
CALL_SCRIPT(JUMP_SURPRISE_FUNC),
{ 0x62, 0x00, 0x0100, 0x00000000, 0x00000010, NULL },
{ 0x91, 0x04, 0x000a, 0x00000003, 0x00000000, NULL },
{ 0xe3, 0x00, 0x000d, 0x00000000, 0x00000000, NULL },
CALL_SCRIPT(NOTICE_FUNC),
{ 0xe3, 0x00, 0x000d, 0x00000000, 0x00000000, NULL },
CALL_SCRIPT(NOTICE_FUNC),
{ 0xe3, 0x00, 0x000d, 0x00000000, 0x00000000, NULL },
{ 0x91, 0x04, 0x000a, 0x00000002, 0x00000000, NULL },
{ 0xe3, 0x00, 0x000d, 0x00000000, 0x00000000, NULL },
{ 0x91, 0x04, 0x000a, 0x00000003, 0x00000000, NULL },
{ 0xe3, 0x00, 0x000d, 0x00000000, 0x00000000, NULL },
{ 0x89, 0x60, 0x0080, 0x00000000, 0x00000000, NULL },
{ 0xe3, 0x00, 0x000d, 0x00000000, 0x00000000, NULL },
{ 0x91, 0x04, 0x000a, 0x00000003, 0x00000000, NULL },
{ 0xe3, 0x00, 0x000d, 0x00000000, 0x00000000, NULL },
{ 0x89, 0x90, 0x0080, 0x00000000, 0x00000000, NULL },
END_DELETE,
};
static const struct ScriptCommand s_gs190_g1_s0_lives3_dlg0[] = { /* 0x823cac0 */
DEBUGINFO,
{ 0x54, 0x00, 0x0002, 0x00000000, 0x00000000, NULL },
{ 0x53, 0x00, 0x0000, 0x0000001f, 0x00000000, NULL },
{ 0xe3, 0x00, 0x000d, 0x00000000, 0x00000000, NULL },
CALL_SCRIPT(SHOCK_FUNC),
{ 0xe3, 0x00, 0x000d, 0x00000000, 0x00000000, NULL },
CALL_SCRIPT(JUMP_SURPRISE_FUNC),
{ 0x62, 0x00, 0x0100, 0x00000000, 0x00000010, NULL },
{ 0x91, 0x04, 0x000a, 0x00000005, 0x00000000, NULL },
{ 0xe3, 0x00, 0x000d, 0x00000000, 0x00000000, NULL },
CALL_SCRIPT(NOTICE_FUNC),
{ 0xe3, 0x00, 0x000d, 0x00000000, 0x00000000, NULL },
CALL_SCRIPT(NOTICE_FUNC),
{ 0xe3, 0x00, 0x000d, 0x00000000, 0x00000000, NULL },
{ 0x91, 0x04, 0x000a, 0x00000006, 0x00000000, NULL },
{ 0xe3, 0x00, 0x000d, 0x00000000, 0x00000000, NULL },
{ 0x91, 0x04, 0x000a, 0x00000005, 0x00000000, NULL },
{ 0xe3, 0x00, 0x000d, 0x00000000, 0x00000000, NULL },
{ 0x89, 0x60, 0x0080, 0x00000000, 0x00000000, NULL },
{ 0xe3, 0x00, 0x000d, 0x00000000, 0x00000000, NULL },
{ 0x91, 0x04, 0x000a, 0x00000005, 0x00000000, NULL },
{ 0xe3, 0x00, 0x000d, 0x00000000, 0x00000000, NULL },
{ 0x89, 0x90, 0x0080, 0x00000000, 0x00000000, NULL },
END_DELETE,
};
static const struct ScriptCommand s_gs190_g1_s0_lives4_dlg0[] = { /* 0x823cc40 */
DEBUGINFO,
{ 0x54, 0x00, 0x001e, 0x00000000, 0x00000000, NULL },
{ 0x2d, 0x07, 0x0002, 0x00000000, 0x00000000, NULL },
{ 0xe3, 0x00, 0x0007, 0x00000000, 0x00000000, NULL },
FANFARE_PLAY2(479),
{ 0x56, 0x00, 0x0000, 0x00000062, 0x00000000, NULL },
{ 0xde, 0x00, 0x0000, 0x00000000, 0x00000000, NULL },
{ 0xe4, 0x00, 0x0005, 0x00000000, 0x00000000, NULL },
{ 0xe3, 0x00, 0x0007, 0x00000000, 0x00000000, NULL },
FANFARE_PLAY2(491),
{ 0x54, 0x00, 0x0017, 0x00000000, 0x00000000, NULL },
{ 0x56, 0x00, 0x0000, 0x00000061, 0x00000000, NULL },
{ 0xdd, 0x00, 0x0000, 0x00000000, 0x00000000, NULL },
WAIT(15),
{ 0x54, 0x00, 0x0002, 0x00000000, 0x00000000, NULL },
WAIT(30),
{ 0xe4, 0x00, 0x0005, 0x00000000, 0x00000000, NULL },
{ 0xe3, 0x00, 0x0007, 0x00000000, 0x00000000, NULL },
{ 0x56, 0x00, 0x0000, 0x00000000, 0x00000000, NULL },
FANFARE_STOP2(491),
{ 0xe4, 0x00, 0x0005, 0x00000000, 0x00000000, NULL },
{ 0xe3, 0x00, 0x0007, 0x00000000, 0x00000000, NULL },
{ 0x91, 0x04, 0x0001, 0x00000007, 0x00000000, NULL },
{ 0xe4, 0x00, 0x0005, 0x00000000, 0x00000000, NULL },
{ 0xe3, 0x00, 0x0007, 0x00000000, 0x00000000, NULL },
{ 0x91, 0x04, 0x000b, 0x00000000, 0x00000000, NULL },
{ 0x54, 0x00, 0x0005, 0x00000000, 0x00000000, NULL },
WAIT(32),
{ 0x54, 0x00, 0x0005, 0x00000000, 0x00000000, NULL },
{ 0x70, 0x00, 0x0100, 0x00000008, 0x00000000, NULL },
WAIT(8),
FANFARE_PLAY2(459),
{ 0x70, 0x00, 0x0400, 0x00000080, 0x00000000, NULL },
{ 0xe4, 0x00, 0x0005, 0x00000000, 0x00000000, NULL },
END_DELETE,
};
static const struct ScriptCommand s_gs190_g1_s0_lives5_dlg0[] = { /* 0x823ce70 */
DEBUGINFO,
{ 0x54, 0x00, 0x0002, 0x00000000, 0x00000000, NULL },
{ 0x2d, 0x07, 0x0003, 0x00000000, 0x00000000, NULL },
{ 0xe3, 0x00, 0x0008, 0x00000000, 0x00000000, NULL },
{ 0x89, 0x58, 0x0100, 0x00000004, 0x00000000, NULL },
WAIT(8),
FANFARE_PLAY2(466),
CALL_SCRIPT(NOTICE_FUNC),
{ 0xe3, 0x00, 0x0008, 0x00000000, 0x00000000, NULL },
{ 0x62, 0x00, 0x0100, 0x00000000, 0x00000008, NULL },
{ 0xe3, 0x00, 0x0008, 0x00000000, 0x00000000, NULL },
CALL_SCRIPT(NOTICE_FUNC),
{ 0xe4, 0x00, 0x0005, 0x00000000, 0x00000000, NULL },
{ 0xe3, 0x00, 0x0008, 0x00000000, 0x00000000, NULL },
{ 0x53, 0x00, 0x0000, 0x0000001f, 0x00000000, NULL },
{ 0x7a, 0x00, 0x0020, 0x00000002, 0x00000000, NULL },
{ 0x93, 0x04, 0x000a, 0x00000055, 0x00000000, NULL },
{ 0xe3, 0x00, 0x0008, 0x00000000, 0x00000000, NULL },
{ 0x91, 0x04, 0x0001, 0x00000001, 0x00000000, NULL },
{ 0xe4, 0x00, 0x0005, 0x00000000, 0x00000000, NULL },
{ 0xe3, 0x00, 0x0008, 0x00000000, 0x00000000, NULL },
{ 0x91, 0x04, 0x000b, 0x00000002, 0x00000000, NULL },
{ 0xe4, 0x00, 0x0005, 0x00000000, 0x00000000, NULL },
{ 0xe3, 0x00, 0x0008, 0x00000000, 0x00000000, NULL },
{ 0x91, 0x04, 0x000b, 0x00000001, 0x00000000, NULL },
{ 0xe3, 0x00, 0x0008, 0x00000000, 0x00000000, NULL },
{ 0x91, 0x04, 0x0001, 0x00000000, 0x00000000, NULL },
{ 0xe4, 0x00, 0x0005, 0x00000000, 0x00000000, NULL },
{ 0xe3, 0x00, 0x0008, 0x00000000, 0x00000000, NULL },
HALT,
};
static const struct ScriptCommand s_gs190_g1_s0_lives6_dlg0[] = { /* 0x823d050 */
DEBUGINFO,
{ 0x54, 0x00, 0x0002, 0x00000000, 0x00000000, NULL },
{ 0x2d, 0x07, 0x0004, 0x00000000, 0x00000000, NULL },
{ 0xe3, 0x00, 0x0009, 0x00000000, 0x00000000, NULL },
{ 0x89, 0x58, 0x0100, 0x00000004, 0x00000000, NULL },
WAIT(8),
CALL_SCRIPT(NOTICE_FUNC),
{ 0xe4, 0x00, 0x0005, 0x00000000, 0x00000000, NULL },
{ 0xe3, 0x00, 0x0009, 0x00000000, 0x00000000, NULL },
CALL_SCRIPT(NOTICE_FUNC),
{ 0xe3, 0x00, 0x0009, 0x00000000, 0x00000000, NULL },
WAIT(7),
{ 0x62, 0x00, 0x0100, 0x00000000, 0x00000008, NULL },
{ 0xe3, 0x00, 0x0009, 0x00000000, 0x00000000, NULL },
{ 0x53, 0x00, 0x0000, 0x0000001f, 0x00000000, NULL },
{ 0x84, 0x00, 0x0180, 0x00000022, -0x0000001a, NULL },
{ 0x91, 0x04, 0x0002, 0x00000004, 0x00000000, NULL },
{ 0xe4, 0x00, 0x0005, 0x00000000, 0x00000000, NULL },
{ 0xe3, 0x00, 0x0009, 0x00000000, 0x00000000, NULL },
CALL_SCRIPT(SHOCK_FUNC),
{ 0xe4, 0x00, 0x0005, 0x00000000, 0x00000000, NULL },
{ 0xe3, 0x00, 0x0009, 0x00000000, 0x00000000, NULL },
{ 0x7a, 0x00, 0x0020, 0x00000003, 0x00000000, NULL },
{ 0x91, 0x04, 0x0001, 0x00000001, 0x00000000, NULL },
{ 0xe3, 0x00, 0x0009, 0x00000000, 0x00000000, NULL },
{ 0x91, 0x04, 0x0001, 0x00000001, 0x00000000, NULL },
{ 0xe4, 0x00, 0x0005, 0x00000000, 0x00000000, NULL },
{ 0xe3, 0x00, 0x0009, 0x00000000, 0x00000000, NULL },
CALL_SCRIPT(SHOCK_FUNC),
{ 0xe4, 0x00, 0x0005, 0x00000000, 0x00000000, NULL },
{ 0xe3, 0x00, 0x0009, 0x00000000, 0x00000000, NULL },
{ 0x91, 0x04, 0x0001, 0x00000000, 0x00000000, NULL },
{ 0xe4, 0x00, 0x0005, 0x00000000, 0x00000000, NULL },
{ 0xe3, 0x00, 0x0009, 0x00000000, 0x00000000, NULL },
HALT,
};
static const struct ScriptCommand s_gs190_g1_s0_lives7_dlg0[] = { /* 0x823d280 */
DEBUGINFO,
{ 0x54, 0x00, 0x0002, 0x00000000, 0x00000000, NULL },
{ 0x2d, 0x07, 0x0005, 0x00000000, 0x00000000, NULL },
{ 0xe3, 0x00, 0x000a, 0x00000000, 0x00000000, NULL },
{ 0x89, 0x58, 0x0100, 0x00000004, 0x00000000, NULL },
WAIT(8),
CALL_SCRIPT(NOTICE_FUNC),
{ 0xe4, 0x00, 0x0005, 0x00000000, 0x00000000, NULL },
{ 0xe3, 0x00, 0x000a, 0x00000000, 0x00000000, NULL },
CALL_SCRIPT(NOTICE_FUNC),
{ 0xe3, 0x00, 0x000a, 0x00000000, 0x00000000, NULL },
CALL_SCRIPT(SHOCK_FUNC),
{ 0x62, 0x00, 0x0100, 0x00000000, 0x00000008, NULL },
{ 0xe3, 0x00, 0x000a, 0x00000000, 0x00000000, NULL },
CALL_SCRIPT(NOTICE_FUNC),
{ 0xe4, 0x00, 0x0005, 0x00000000, 0x00000000, NULL },
{ 0xe3, 0x00, 0x000a, 0x00000000, 0x00000000, NULL },
{ 0x53, 0x00, 0x0000, 0x0000001f, 0x00000000, NULL },
{ 0x7a, 0x00, 0x0020, 0x00000004, 0x00000000, NULL },
{ 0x93, 0x04, 0x000a, 0x00000055, 0x00000000, NULL },
{ 0xe3, 0x00, 0x000a, 0x00000000, 0x00000000, NULL },
{ 0x91, 0x04, 0x0001, 0x00000001, 0x00000000, NULL },
{ 0xe4, 0x00, 0x0005, 0x00000000, 0x00000000, NULL },
{ 0xe3, 0x00, 0x000a, 0x00000000, 0x00000000, NULL },
CALL_SCRIPT(NOTICE_FUNC),
{ 0xe3, 0x00, 0x000a, 0x00000000, 0x00000000, NULL },
{ 0x91, 0x04, 0x0001, 0x00000000, 0x00000000, NULL },
{ 0xe4, 0x00, 0x0005, 0x00000000, 0x00000000, NULL },
{ 0xe3, 0x00, 0x000a, 0x00000000, 0x00000000, NULL },
HALT,
};
static const struct ScriptCommand s_gs190_g1_s0_eff1_script[] = { /* 0x823d460 */
DEBUGINFO,
{ 0xe3, 0x00, 0x000c, 0x00000000, 0x00000000, NULL },
{ 0x56, 0x00, 0x0000, 0x0000001b, 0x00000000, NULL },
{ 0xde, 0x00, 0x0000, 0x00000000, 0x00000000, NULL },
{ 0xe4, 0x00, 0x0005, 0x00000000, 0x00000000, NULL },
END_DELETE,
};
static const struct ScriptCommand s_gs190_g1_s1_lives0_dlg0[] = { /* 0x823d4c0 */
DEBUGINFO,
{ 0x54, 0x00, 0x0016, 0x00000000, 0x00000000, NULL },
{ 0x2d, 0x07, 0x0006, 0x00000000, 0x00000000, NULL },
WAIT(60),
{ 0xe4, 0x00, 0x0005, 0x00000000, 0x00000000, NULL },
{ 0xe3, 0x00, 0x000b, 0x00000000, 0x00000000, NULL },
{ 0x54, 0x00, 0x0002, 0x00000000, 0x00000000, NULL },
CALL_SCRIPT(LOOK_AROUND_FUNC),
{ 0x91, 0x04, 0x0002, 0x00000000, 0x00000000, NULL },
{ 0xe4, 0x00, 0x0005, 0x00000000, 0x00000000, NULL },
{ 0xe3, 0x00, 0x000b, 0x00000000, 0x00000000, NULL },
CALL_SCRIPT(SHOCK_FUNC),
{ 0xe3, 0x00, 0x000b, 0x00000000, 0x00000000, NULL },
{ 0x91, 0x04, 0x000a, 0x00000001, 0x00000000, NULL },
{ 0xe4, 0x00, 0x0005, 0x00000000, 0x00000000, NULL },
{ 0xe3, 0x00, 0x000b, 0x00000000, 0x00000000, NULL },
{ 0x53, 0x00, 0x0000, 0x0000001f, 0x00000000, NULL },
{ 0x6b, 0x00, 0x0080, 0x00000005, 0x00000000, NULL },
{ 0xe3, 0x00, 0x000b, 0x00000000, 0x00000000, NULL },
{ 0x89, 0x90, 0x0080, 0x00000000, 0x00000000, NULL },
END_DELETE,
};
static const struct GroundLivesData s_gs190_g1_s0_lives[] = { /* 0x823d610 */
/* 0 */ { 0, 3, 0, 0, { 24, 21, CPOS_HALFTILE, CPOS_HALFTILE }, {
[0] = s_gs190_g1_s0_lives0_dlg0,
} },
/* 1 */ { 34, 5, 0, 0, { 32, 21, CPOS_HALFTILE, CPOS_HALFTILE }, {
[0] = s_gs190_g1_s0_lives1_dlg0,
} },
/* 2 */ { 10, 2, 0, 0, { 21, 19, CPOS_HALFTILE, CPOS_HALFTILE }, {
[0] = s_gs190_g1_s0_lives2_dlg0,
} },
/* 3 */ { 11, 6, 0, 0, { 35, 19, CPOS_HALFTILE, CPOS_HALFTILE }, {
[0] = s_gs190_g1_s0_lives3_dlg0,
} },
/* 4 */ { 96, 0, 0, 0, { 28, 18, CPOS_HALFTILE, CPOS_HALFTILE }, {
[0] = s_gs190_g1_s0_lives4_dlg0,
} },
/* 5 */ { 88, 4, 0, 0, { 28, 34, CPOS_HALFTILE, CPOS_HALFTILE }, {
[0] = s_gs190_g1_s0_lives5_dlg0,
} },
/* 6 */ { 89, 4, 0, 0, { 24, 35, CPOS_HALFTILE, CPOS_HALFTILE }, {
[0] = s_gs190_g1_s0_lives6_dlg0,
} },
/* 7 */ { 90, 4, 0, 0, { 32, 35, CPOS_HALFTILE, CPOS_HALFTILE }, {
[0] = s_gs190_g1_s0_lives7_dlg0,
} },
};
static const struct GroundLivesData s_gs190_g1_s1_lives[] = { /* 0x823d6d0 */
/* 0 */ { 85, 7, 0, 0, { 28, 17, CPOS_HALFTILE, 0 }, {
[0] = s_gs190_g1_s1_lives0_dlg0,
} },
};
static const struct GroundEffectData s_gs190_g1_s0_effs[] = { /* 0x823d6e8 */
/* 0 */ { 0, 0, 1, 1, { 29, 11, 0, CPOS_HALFTILE }, s_gs190_g1_s0_eff0_script },
/* 1 */ { 4, 0, 1, 1, { 28, 20, CPOS_HALFTILE, CPOS_HALFTILE }, s_gs190_g1_s0_eff1_script },
};
static const struct ScriptRef * const (sStationScripts[]) = { /* 0x823d700 */
&s_gs190_g0_s0_station_sref,
&s_gs190_g1_s0_station_sref,
};
static const struct GroundScriptSector s_gs190_g0_sectors[] = { /* 0x823d708 */
{ 0,NULL, 0,NULL, 0,NULL, 0,NULL, 1,&sStationScripts[0], },
};
static const struct GroundScriptSector s_gs190_g1_sectors[] = { /* 0x823d730 */
{ LPARRAY(s_gs190_g1_s0_lives), 0,NULL, LPARRAY(s_gs190_g1_s0_effs), 0,NULL, 1,&sStationScripts[1], },
{ LPARRAY(s_gs190_g1_s1_lives), 0,NULL, 0,NULL, 0,NULL, 0,NULL, },
};
static const struct GroundScriptGroup s_gs190_groups[] = { /* 0x823d780 */
{ LPARRAY(s_gs190_g0_sectors) },
{ LPARRAY(s_gs190_g1_sectors) },
};
static const struct GroundLink s_gs190_links[] = { /* 0x823d790 */
/* link 0 */ { { /*x*/ 29, /*y*/ 20, /*flags*/ 0, CPOS_HALFTILE }, /*w*/ 1, /*h*/ 1, /*ret*/ 1, /*?*/ 0 },
/* link 1 */ { { /*x*/ 32, /*y*/ 17, /*flags*/ 0, CPOS_HALFTILE }, /*w*/ 1, /*h*/ 1, /*ret*/ 1, /*?*/ 0 },
/* link 2 */ { { /*x*/ 24, /*y*/ 17, /*flags*/ 0, CPOS_HALFTILE }, /*w*/ 1, /*h*/ 1, /*ret*/ 1, /*?*/ 0 },
/* link 3 */ { { /*x*/ 25, /*y*/ 15, /*flags*/ 0, CPOS_HALFTILE }, /*w*/ 1, /*h*/ 1, /*ret*/ 1, /*?*/ 0 },
/* link 4 */ { { /*x*/ 25, /*y*/ 19, /*flags*/ 0, CPOS_HALFTILE }, /*w*/ 1, /*h*/ 1, /*ret*/ 1, /*?*/ 0 },
/* link 5 */ { { /*x*/ 32, /*y*/ 24, /*flags*/ 0, CPOS_HALFTILE }, /*w*/ 1, /*h*/ 1, /*ret*/ 1, /*?*/ 0 },
/* link 6 */ { { /*x*/ 32, /*y*/ 21, /*flags*/ 0, CPOS_HALFTILE }, /*w*/ 1, /*h*/ 1, /*ret*/ 1, /*?*/ 0 },
};
/*extern*/ const struct GroundScriptHeader gGroundScript_gs190 = { LPARRAY(s_gs190_groups), s_gs190_links }; /* 0x823d7c8 */