Merge branch 'master' into doc-routes1
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_EventScript_166CFA",
|
||||
"script": "CeladonCity_EventScript_RocketGrunt1",
|
||||
"flag": "FLAG_HIDE_CELADON_ROCKETS"
|
||||
},
|
||||
{
|
||||
@@ -47,7 +47,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_EventScript_166CC5",
|
||||
"script": "CeladonCity_EventScript_FatMan",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -60,7 +60,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_EventScript_166CDC",
|
||||
"script": "CeladonCity_EventScript_Poliwrath",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -73,7 +73,7 @@
|
||||
"movement_range_y": 4,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_EventScript_166C99",
|
||||
"script": "CeladonCity_EventScript_LittleGirl",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -86,7 +86,7 @@
|
||||
"movement_range_y": 5,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_EventScript_166CAD",
|
||||
"script": "CeladonCity_EventScript_Woman",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -99,7 +99,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_EventScript_166CB6",
|
||||
"script": "CeladonCity_EventScript_OldMan2",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -125,7 +125,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_EventScript_166D03",
|
||||
"script": "CeladonCity_EventScript_RocketGrunt2",
|
||||
"flag": "FLAG_HIDE_CELADON_ROCKETS"
|
||||
},
|
||||
{
|
||||
@@ -138,7 +138,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_EventScript_166CA2",
|
||||
"script": "CeladonCity_EventScript_OldMan1",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -177,7 +177,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_EventScript_166D0C",
|
||||
"script": "CeladonCity_EventScript_Boy",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -216,7 +216,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_EventScript_166D15",
|
||||
"script": "CeladonCity_EventScript_SilphCoScientist",
|
||||
"flag": "FLAG_HIDE_CELADON_ROCKETS"
|
||||
}
|
||||
],
|
||||
@@ -320,56 +320,56 @@
|
||||
"x": 45,
|
||||
"y": 23,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_EventScript_166D5A"
|
||||
"script": "CeladonCity_EventScript_TrainerTips2"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 38,
|
||||
"y": 23,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_EventScript_166D63"
|
||||
"script": "CeladonCity_EventScript_PrizeExchangeSign"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 33,
|
||||
"y": 23,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_EventScript_166D6C"
|
||||
"script": "CeladonCity_EventScript_GameCornerSign"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 22,
|
||||
"y": 18,
|
||||
"elevation": 3,
|
||||
"script": "CeladonCity_EventScript_166D27"
|
||||
"script": "CeladonCity_EventScript_CitySign"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 26,
|
||||
"y": 11,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_EventScript_166D48"
|
||||
"script": "CeladonCity_EventScript_MansionSign"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 33,
|
||||
"y": 16,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_EventScript_166D1E"
|
||||
"script": "CeladonCity_EventScript_TrainerTips1"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 18,
|
||||
"y": 14,
|
||||
"elevation": 3,
|
||||
"script": "CeladonCity_EventScript_166D51"
|
||||
"script": "CeladonCity_EventScript_DeptStoreSign"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 16,
|
||||
"y": 31,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_EventScript_166D30"
|
||||
"script": "CeladonCity_EventScript_GymSign"
|
||||
},
|
||||
{
|
||||
"type": "hidden_item",
|
||||
|
||||
@@ -6,44 +6,44 @@ CeladonCity_OnTransition:: @ 8166C95
|
||||
setworldmapflag FLAG_WORLD_MAP_CELADON_CITY
|
||||
end
|
||||
|
||||
CeladonCity_EventScript_166C99:: @ 8166C99
|
||||
msgbox gUnknown_817FEC3, MSGBOX_NPC
|
||||
CeladonCity_EventScript_LittleGirl:: @ 8166C99
|
||||
msgbox CeladonCity_Text_GotMyKoffingInCinnabar, MSGBOX_NPC
|
||||
end
|
||||
|
||||
CeladonCity_EventScript_166CA2:: @ 8166CA2
|
||||
CeladonCity_EventScript_OldMan1:: @ 8166CA2
|
||||
lock
|
||||
msgbox gUnknown_817FF1C
|
||||
msgbox CeladonCity_Text_GymIsGreatFullOfWomen
|
||||
release
|
||||
end
|
||||
|
||||
CeladonCity_EventScript_166CAD:: @ 8166CAD
|
||||
msgbox gUnknown_817FF4A, MSGBOX_NPC
|
||||
CeladonCity_EventScript_Woman:: @ 8166CAD
|
||||
msgbox CeladonCity_Text_GameCornerIsBadForCitysImage, MSGBOX_NPC
|
||||
end
|
||||
|
||||
CeladonCity_EventScript_166CB6:: @ 8166CB6
|
||||
msgbox gUnknown_817FFC5, MSGBOX_NPC
|
||||
CeladonCity_EventScript_OldMan2:: @ 8166CB6
|
||||
msgbox CeladonCity_Text_BlewItAllAtSlots, MSGBOX_NPC
|
||||
end
|
||||
|
||||
CeladonCity_EventScript_SoftboiledTutor:: @ 8166CBF
|
||||
goto EventScript_SoftboiledTutor
|
||||
end
|
||||
|
||||
CeladonCity_EventScript_166CC5:: @ 8166CC5
|
||||
CeladonCity_EventScript_FatMan:: @ 8166CC5
|
||||
lock
|
||||
faceplayer
|
||||
msgbox gUnknown_818001B
|
||||
msgbox CeladonCity_Text_MyTrustedPalPoliwrath
|
||||
closemessage
|
||||
applymovement 2, Movement_FaceOriginalDirection
|
||||
waitmovement 0
|
||||
release
|
||||
end
|
||||
|
||||
CeladonCity_EventScript_166CDC:: @ 8166CDC
|
||||
CeladonCity_EventScript_Poliwrath:: @ 8166CDC
|
||||
lock
|
||||
faceplayer
|
||||
waitse
|
||||
playmoncry SPECIES_POLIWRATH, 0
|
||||
msgbox gUnknown_8180075
|
||||
msgbox CeladonCity_Text_Poliwrath
|
||||
closemessage
|
||||
waitmoncry
|
||||
applymovement 3, Movement_FaceOriginalDirection
|
||||
@@ -51,53 +51,53 @@ CeladonCity_EventScript_166CDC:: @ 8166CDC
|
||||
release
|
||||
end
|
||||
|
||||
CeladonCity_EventScript_166CFA:: @ 8166CFA
|
||||
msgbox gUnknown_81800C2, MSGBOX_NPC
|
||||
CeladonCity_EventScript_RocketGrunt1:: @ 8166CFA
|
||||
msgbox CeladonCity_Text_KeepOutOfTeamRocketsWay, MSGBOX_NPC
|
||||
end
|
||||
|
||||
CeladonCity_EventScript_166D03:: @ 8166D03
|
||||
msgbox gUnknown_818008C, MSGBOX_NPC
|
||||
CeladonCity_EventScript_RocketGrunt2:: @ 8166D03
|
||||
msgbox CeladonCity_Text_GetLostOrIllPunchYou, MSGBOX_NPC
|
||||
end
|
||||
|
||||
CeladonCity_EventScript_166D0C:: @ 8166D0C
|
||||
msgbox gUnknown_8180300, MSGBOX_NPC
|
||||
CeladonCity_EventScript_Boy:: @ 8166D0C
|
||||
msgbox CeladonCity_Text_ScaldedTongueOnTea, MSGBOX_NPC
|
||||
end
|
||||
|
||||
CeladonCity_EventScript_166D15:: @ 8166D15
|
||||
msgbox gUnknown_81804E1, MSGBOX_NPC
|
||||
CeladonCity_EventScript_SilphCoScientist:: @ 8166D15
|
||||
msgbox CeladonCity_Text_SomeoneStoleSilphScope, MSGBOX_NPC
|
||||
end
|
||||
|
||||
CeladonCity_EventScript_166D1E:: @ 8166D1E
|
||||
msgbox gUnknown_81800E1, MSGBOX_SIGN
|
||||
CeladonCity_EventScript_TrainerTips1:: @ 8166D1E
|
||||
msgbox CeladonCity_Text_ExplainXAccuracyDireHit, MSGBOX_SIGN
|
||||
end
|
||||
|
||||
CeladonCity_EventScript_166D27:: @ 8166D27
|
||||
msgbox gUnknown_818017A, MSGBOX_SIGN
|
||||
CeladonCity_EventScript_CitySign:: @ 8166D27
|
||||
msgbox CeladonCity_Text_CitySign, MSGBOX_SIGN
|
||||
end
|
||||
|
||||
CeladonCity_EventScript_166D30:: @ 8166D30
|
||||
CeladonCity_EventScript_GymSign:: @ 8166D30
|
||||
lockall
|
||||
famechecker FAMECHECKER_ERIKA, 0
|
||||
msgbox gUnknown_81801A2
|
||||
msgbox CeladonCity_Text_GymSign
|
||||
releaseall
|
||||
end
|
||||
|
||||
CeladonCity_EventScript_166D48:: @ 8166D48
|
||||
msgbox gUnknown_81801E5, MSGBOX_SIGN
|
||||
CeladonCity_EventScript_MansionSign:: @ 8166D48
|
||||
msgbox CeladonCity_Text_MansionSign, MSGBOX_SIGN
|
||||
end
|
||||
|
||||
CeladonCity_EventScript_166D51:: @ 8166D51
|
||||
msgbox gUnknown_81801F5, MSGBOX_SIGN
|
||||
CeladonCity_EventScript_DeptStoreSign:: @ 8166D51
|
||||
msgbox CeladonCity_Text_DeptStoreSign, MSGBOX_SIGN
|
||||
end
|
||||
|
||||
CeladonCity_EventScript_166D5A:: @ 8166D5A
|
||||
msgbox gUnknown_8180224, MSGBOX_SIGN
|
||||
CeladonCity_EventScript_TrainerTips2:: @ 8166D5A
|
||||
msgbox CeladonCity_Text_GuardSpecProtectsFromStatus, MSGBOX_SIGN
|
||||
end
|
||||
|
||||
CeladonCity_EventScript_166D63:: @ 8166D63
|
||||
msgbox gUnknown_81802A4, MSGBOX_SIGN
|
||||
CeladonCity_EventScript_PrizeExchangeSign:: @ 8166D63
|
||||
msgbox CeladonCity_Text_PrizeExchangeSign, MSGBOX_SIGN
|
||||
end
|
||||
|
||||
CeladonCity_EventScript_166D6C:: @ 8166D6C
|
||||
msgbox gUnknown_81802CF, MSGBOX_SIGN
|
||||
CeladonCity_EventScript_GameCornerSign:: @ 8166D6C
|
||||
msgbox CeladonCity_Text_GameCornerSign, MSGBOX_SIGN
|
||||
end
|
||||
|
||||
@@ -1,40 +1,40 @@
|
||||
gUnknown_817FEC3:: @ 817FEC3
|
||||
CeladonCity_Text_GotMyKoffingInCinnabar:: @ 817FEC3
|
||||
.string "I got my KOFFING in CINNABAR.\p"
|
||||
.string "It's usually nice, but it breathes\n"
|
||||
.string "poison when it's angry.$"
|
||||
|
||||
gUnknown_817FF1C:: @ 817FF1C
|
||||
CeladonCity_Text_GymIsGreatFullOfWomen:: @ 817FF1C
|
||||
.string "Heheh! This GYM is great!\n"
|
||||
.string "It's full of women!$"
|
||||
|
||||
gUnknown_817FF4A:: @ 817FF4A
|
||||
CeladonCity_Text_GameCornerIsBadForCitysImage:: @ 817FF4A
|
||||
.string "CELADON takes pride in its efforts\n"
|
||||
.string "to keep the city beautiful.\p"
|
||||
.string "That's why the new GAME CORNER is\n"
|
||||
.string "bad for our city's image.$"
|
||||
|
||||
gUnknown_817FFC5:: @ 817FFC5
|
||||
CeladonCity_Text_BlewItAllAtSlots:: @ 817FFC5
|
||||
.string "Moan…\n"
|
||||
.string "I blew it all at the slots!\p"
|
||||
.string "I knew I should have cashed in my\n"
|
||||
.string "COINS for prizes!$"
|
||||
|
||||
gUnknown_818001B:: @ 818001B
|
||||
CeladonCity_Text_MyTrustedPalPoliwrath:: @ 818001B
|
||||
.string "This is my trusted pal, POLIWRATH.\p"
|
||||
.string "It evolved from a POLIWHIRL when\n"
|
||||
.string "I used a WATER STONE.$"
|
||||
|
||||
gUnknown_8180075:: @ 8180075
|
||||
CeladonCity_Text_Poliwrath:: @ 8180075
|
||||
.string "POLIWRATH: Ribi ribit!$"
|
||||
|
||||
gUnknown_818008C:: @ 818008C
|
||||
CeladonCity_Text_GetLostOrIllPunchYou:: @ 818008C
|
||||
.string "What are you staring at?\n"
|
||||
.string "Get lost, or I'll punch you.$"
|
||||
|
||||
gUnknown_81800C2:: @ 81800C2
|
||||
CeladonCity_Text_KeepOutOfTeamRocketsWay:: @ 81800C2
|
||||
.string "Keep out of TEAM ROCKET's way!$"
|
||||
|
||||
gUnknown_81800E1:: @ 81800E1
|
||||
CeladonCity_Text_ExplainXAccuracyDireHit:: @ 81800E1
|
||||
.string "TRAINER TIPS\p"
|
||||
.string "X ACCURACY boosts the accuracy of\n"
|
||||
.string "techniques.\p"
|
||||
@@ -43,23 +43,23 @@ gUnknown_81800E1:: @ 81800E1
|
||||
.string "Get your items at the CELADON\n"
|
||||
.string "DEPT. STORE!$"
|
||||
|
||||
gUnknown_818017A:: @ 818017A
|
||||
CeladonCity_Text_CitySign:: @ 818017A
|
||||
.string "CELADON CITY\n"
|
||||
.string "The City of Rainbow Dreams$"
|
||||
|
||||
gUnknown_81801A2:: @ 81801A2
|
||||
CeladonCity_Text_GymSign:: @ 81801A2
|
||||
.string "CELADON CITY POKéMON GYM\n"
|
||||
.string "LEADER: ERIKA\l"
|
||||
.string "The Nature-Loving Princess!$"
|
||||
|
||||
gUnknown_81801E5:: @ 81801E5
|
||||
CeladonCity_Text_MansionSign:: @ 81801E5
|
||||
.string "CELADON MANSION$"
|
||||
|
||||
gUnknown_81801F5:: @ 81801F5
|
||||
CeladonCity_Text_DeptStoreSign:: @ 81801F5
|
||||
.string "Find what you need at the\n"
|
||||
.string "CELADON DEPT. STORE!$"
|
||||
|
||||
gUnknown_8180224:: @ 8180224
|
||||
CeladonCity_Text_GuardSpecProtectsFromStatus:: @ 8180224
|
||||
.string "TRAINER TIPS\p"
|
||||
.string "GUARD SPEC. protects POKéMON\n"
|
||||
.string "from status-reduction moves during\l"
|
||||
@@ -67,15 +67,15 @@ gUnknown_8180224:: @ 8180224
|
||||
.string "Get your items at the\n"
|
||||
.string "CELADON DEPT. STORE!$"
|
||||
|
||||
gUnknown_81802A4:: @ 81802A4
|
||||
CeladonCity_Text_PrizeExchangeSign:: @ 81802A4
|
||||
.string "COINS exchanged for prizes!\n"
|
||||
.string "PRIZE EXCHANGE$"
|
||||
|
||||
gUnknown_81802CF:: @ 81802CF
|
||||
CeladonCity_Text_GameCornerSign:: @ 81802CF
|
||||
.string "ROCKET GAME CORNER\n"
|
||||
.string "The playground for grown-ups!$"
|
||||
|
||||
gUnknown_8180300:: @ 8180300
|
||||
CeladonCity_Text_ScaldedTongueOnTea:: @ 8180300
|
||||
.string "Aaaagh, ow…\n"
|
||||
.string "I scalded my tongue!\p"
|
||||
.string "This nice old lady in the MANSION\n"
|
||||
@@ -104,7 +104,7 @@ Text_SoftboiledWhichMon:: @ 8180484
|
||||
Text_SoftboiledTaught:: @ 81804C4
|
||||
.string "I wish you the best of luck!$"
|
||||
|
||||
gUnknown_81804E1:: @ 81804E1
|
||||
CeladonCity_Text_SomeoneStoleSilphScope:: @ 81804E1
|
||||
.string "Oh, what am I to do…\p"
|
||||
.string "Someone stole our SILPH SCOPE.\p"
|
||||
.string "The thief came running this way,\n"
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_Condominiums_1F_EventScript_16C38E",
|
||||
"script": "CeladonCity_Condominiums_1F_EventScript_Meowth",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -36,7 +36,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_Condominiums_1F_EventScript_16C3A1",
|
||||
"script": "CeladonCity_Condominiums_1F_EventScript_Clefairy",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -49,7 +49,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_Condominiums_1F_EventScript_16C3B4",
|
||||
"script": "CeladonCity_Condominiums_1F_EventScript_Nidoran",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -62,7 +62,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_Condominiums_1F_EventScript_16C321",
|
||||
"script": "CeladonCity_Condominiums_1F_EventScript_TeaWoman",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
@@ -117,14 +117,14 @@
|
||||
"x": 8,
|
||||
"y": 12,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_Condominiums_1F_EventScript_16C3C7"
|
||||
"script": "CeladonCity_Condominiums_1F_EventScript_SuiteSign"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 7,
|
||||
"y": 12,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_Condominiums_1F_EventScript_16C3C7"
|
||||
"script": "CeladonCity_Condominiums_1F_EventScript_SuiteSign"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,63 +1,63 @@
|
||||
CeladonCity_Condominiums_1F_MapScripts:: @ 816C320
|
||||
.byte 0
|
||||
|
||||
CeladonCity_Condominiums_1F_EventScript_16C321:: @ 816C321
|
||||
CeladonCity_Condominiums_1F_EventScript_TeaWoman:: @ 816C321
|
||||
lock
|
||||
faceplayer
|
||||
goto_if_set FLAG_TALKED_TO_TEA_LADY_AFTER_HOF, EventScript_16C36A
|
||||
goto_if_set FLAG_SYS_GAME_CLEAR, EventScript_16C374
|
||||
goto_if_set FLAG_GOT_TEA, EventScript_16C36A
|
||||
msgbox gUnknown_81960C9
|
||||
goto_if_set FLAG_TALKED_TO_TEA_LADY_AFTER_HOF, CeladonCity_Condominiums_1F_EventScript_TeaWomanAfterTea
|
||||
goto_if_set FLAG_SYS_GAME_CLEAR, CeladonCity_Condominiums_1F_EventScript_TeaWomanMentionDaisy
|
||||
goto_if_set FLAG_GOT_TEA, CeladonCity_Condominiums_1F_EventScript_TeaWomanAfterTea
|
||||
msgbox CeladonCity_Condominiums_1F_Text_TryThisDrinkInstead
|
||||
setflag FLAG_GOT_TEA
|
||||
giveitem ITEM_TEA
|
||||
compare VAR_RESULT, FALSE
|
||||
goto_if_eq EventScript_BagIsFull
|
||||
msgbox gUnknown_8196109
|
||||
msgbox CeladonCity_Condominiums_1F_Text_NothingBeatsThirstLikeTea
|
||||
release
|
||||
end
|
||||
|
||||
EventScript_16C36A:: @ 816C36A
|
||||
msgbox gUnknown_8196148
|
||||
CeladonCity_Condominiums_1F_EventScript_TeaWomanAfterTea:: @ 816C36A
|
||||
msgbox CeladonCity_Condominiums_1F_Text_MyDearMonsKeepMeCompany
|
||||
release
|
||||
end
|
||||
|
||||
EventScript_16C374:: @ 816C374
|
||||
CeladonCity_Condominiums_1F_EventScript_TeaWomanMentionDaisy:: @ 816C374
|
||||
famechecker FAMECHECKER_DAISY, 4
|
||||
setflag FLAG_TALKED_TO_TEA_LADY_AFTER_HOF
|
||||
msgbox gUnknown_8196188
|
||||
msgbox CeladonCity_Condominiums_1F_Text_DaisyComesToBuyTea
|
||||
release
|
||||
end
|
||||
|
||||
CeladonCity_Condominiums_1F_EventScript_16C38E:: @ 816C38E
|
||||
CeladonCity_Condominiums_1F_EventScript_Meowth:: @ 816C38E
|
||||
lock
|
||||
faceplayer
|
||||
waitse
|
||||
playmoncry SPECIES_MEOWTH, 0
|
||||
msgbox gUnknown_81960BB
|
||||
msgbox CeladonCity_Condominiums_1F_Text_Meowth
|
||||
waitmoncry
|
||||
release
|
||||
end
|
||||
|
||||
CeladonCity_Condominiums_1F_EventScript_16C3A1:: @ 816C3A1
|
||||
CeladonCity_Condominiums_1F_EventScript_Clefairy:: @ 816C3A1
|
||||
lock
|
||||
faceplayer
|
||||
waitse
|
||||
playmoncry SPECIES_CLEFAIRY, 0
|
||||
msgbox gUnknown_819625B
|
||||
msgbox CeladonCity_Condominiums_1F_Text_Clefairy
|
||||
waitmoncry
|
||||
release
|
||||
end
|
||||
|
||||
CeladonCity_Condominiums_1F_EventScript_16C3B4:: @ 816C3B4
|
||||
CeladonCity_Condominiums_1F_EventScript_Nidoran:: @ 816C3B4
|
||||
lock
|
||||
faceplayer
|
||||
waitse
|
||||
playmoncry SPECIES_NIDORAN_F, 0
|
||||
msgbox gUnknown_8196272
|
||||
msgbox CeladonCity_Condominiums_1F_Text_Nidoran
|
||||
waitmoncry
|
||||
release
|
||||
end
|
||||
|
||||
CeladonCity_Condominiums_1F_EventScript_16C3C7:: @ 816C3C7
|
||||
msgbox gUnknown_8196287, MSGBOX_SIGN
|
||||
CeladonCity_Condominiums_1F_EventScript_SuiteSign:: @ 816C3C7
|
||||
msgbox CeladonCity_Condominiums_1F_Text_ManagersSuite, MSGBOX_SIGN
|
||||
end
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
gUnknown_81960BB:: @ 81960BB
|
||||
CeladonCity_Condominiums_1F_Text_Meowth:: @ 81960BB
|
||||
.string "MEOWTH: Meow!$"
|
||||
|
||||
gUnknown_81960C9:: @ 81960C9
|
||||
CeladonCity_Condominiums_1F_Text_TryThisDrinkInstead:: @ 81960C9
|
||||
.string "You shouldn't spend all your money\n"
|
||||
.string "on drinks.\p"
|
||||
.string "Try this instead.$"
|
||||
|
||||
gUnknown_8196109:: @ 8196109
|
||||
CeladonCity_Condominiums_1F_Text_NothingBeatsThirstLikeTea:: @ 8196109
|
||||
.string "Nothing beats thirst like some hot\n"
|
||||
.string "TEA.\p"
|
||||
.string "It really is the best.$"
|
||||
|
||||
gUnknown_8196148:: @ 8196148
|
||||
CeladonCity_Condominiums_1F_Text_MyDearMonsKeepMeCompany:: @ 8196148
|
||||
.string "My dear POKéMON keep me company.\n"
|
||||
.string "MEOWTH even brings money home!$"
|
||||
|
||||
gUnknown_8196188:: @ 8196188
|
||||
CeladonCity_Condominiums_1F_Text_DaisyComesToBuyTea:: @ 8196188
|
||||
.string "Oh, hello, dearie.\n"
|
||||
.string "Did you enjoy my TEA?\p"
|
||||
.string "By the way, dear. Are you, by any\n"
|
||||
@@ -25,13 +25,13 @@ gUnknown_8196188:: @ 8196188
|
||||
.string "She visits the CELADON DEPT. STORE\n"
|
||||
.string "to buy some TEA.$"
|
||||
|
||||
gUnknown_819625B:: @ 819625B
|
||||
CeladonCity_Condominiums_1F_Text_Clefairy:: @ 819625B
|
||||
.string "CLEFAIRY: Pi pippippi!$"
|
||||
|
||||
gUnknown_8196272:: @ 8196272
|
||||
CeladonCity_Condominiums_1F_Text_Nidoran:: @ 8196272
|
||||
.string "NIDORAN♀: Kya kyaoo!$"
|
||||
|
||||
gUnknown_8196287:: @ 8196287
|
||||
CeladonCity_Condominiums_1F_Text_ManagersSuite:: @ 8196287
|
||||
.string "CELADON MANSION\n"
|
||||
.string "Manager's Suite$"
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_Condominiums_2F_EventScript_1ACE9D",
|
||||
"script": "CeladonCity_Condominiums_2F_EventScript_PokemonJournalErika",
|
||||
"flag": "FLAG_HIDE_FAME_CHECKER_ERIKA_JOURNALS"
|
||||
},
|
||||
{
|
||||
@@ -36,7 +36,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_Condominiums_2F_EventScript_1ACE9D",
|
||||
"script": "CeladonCity_Condominiums_2F_EventScript_PokemonJournalErika",
|
||||
"flag": "FLAG_HIDE_FAME_CHECKER_ERIKA_JOURNALS"
|
||||
}
|
||||
],
|
||||
@@ -77,14 +77,14 @@
|
||||
"x": 8,
|
||||
"y": 12,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_Condominiums_2F_EventScript_16C3D1"
|
||||
"script": "CeladonCity_Condominiums_2F_EventScript_MeetingRoomSign"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 7,
|
||||
"y": 12,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_Condominiums_2F_EventScript_16C3D1"
|
||||
"script": "CeladonCity_Condominiums_2F_EventScript_MeetingRoomSign"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
CeladonCity_Condominiums_2F_MapScripts:: @ 816C3D0
|
||||
.byte 0
|
||||
|
||||
CeladonCity_Condominiums_2F_EventScript_16C3D1:: @ 816C3D1
|
||||
msgbox gUnknown_81962A7, MSGBOX_SIGN
|
||||
CeladonCity_Condominiums_2F_EventScript_MeetingRoomSign:: @ 816C3D1
|
||||
msgbox CeladonCity_Condominiums_2F_Text_GameFreakMeetingRoom, MSGBOX_SIGN
|
||||
end
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
gUnknown_81962A7:: @ 81962A7
|
||||
CeladonCity_Condominiums_2F_Text_GameFreakMeetingRoom:: @ 81962A7
|
||||
.string "GAME FREAK Meeting Room$"
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_Condominiums_3F_EventScript_16C3DB",
|
||||
"script": "CeladonCity_Condominiums_3F_EventScript_Programmer",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -36,7 +36,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_Condominiums_3F_EventScript_16C3F6",
|
||||
"script": "CeladonCity_Condominiums_3F_EventScript_Designer",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -49,7 +49,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_Condominiums_3F_EventScript_16C3E4",
|
||||
"script": "CeladonCity_Condominiums_3F_EventScript_GraphicArtist",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -62,7 +62,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_Condominiums_3F_EventScript_16C3ED",
|
||||
"script": "CeladonCity_Condominiums_3F_EventScript_Writer",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
@@ -103,56 +103,56 @@
|
||||
"x": 8,
|
||||
"y": 12,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_Condominiums_3F_EventScript_16C435"
|
||||
"script": "CeladonCity_Condominiums_3F_EventScript_DevelopmentRoomSign"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_1",
|
||||
"x": 1,
|
||||
"y": 9,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_Condominiums_3F_EventScript_16C43E"
|
||||
"script": "CeladonCity_Condominiums_3F_EventScript_Computer1"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_1",
|
||||
"x": 5,
|
||||
"y": 9,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_Condominiums_3F_EventScript_16C447"
|
||||
"script": "CeladonCity_Condominiums_3F_EventScript_Computer2"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_1",
|
||||
"x": 1,
|
||||
"y": 12,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_Condominiums_3F_EventScript_16C450"
|
||||
"script": "CeladonCity_Condominiums_3F_EventScript_Computer3"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 7,
|
||||
"y": 12,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_Condominiums_3F_EventScript_16C435"
|
||||
"script": "CeladonCity_Condominiums_3F_EventScript_DevelopmentRoomSign"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_1",
|
||||
"x": 0,
|
||||
"y": 12,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_Condominiums_3F_EventScript_16C450"
|
||||
"script": "CeladonCity_Condominiums_3F_EventScript_Computer3"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_1",
|
||||
"x": 0,
|
||||
"y": 9,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_Condominiums_3F_EventScript_16C43E"
|
||||
"script": "CeladonCity_Condominiums_3F_EventScript_Computer1"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_1",
|
||||
"x": 4,
|
||||
"y": 9,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_Condominiums_3F_EventScript_16C447"
|
||||
"script": "CeladonCity_Condominiums_3F_EventScript_Computer2"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,34 +1,34 @@
|
||||
CeladonCity_Condominiums_3F_MapScripts:: @ 816C3DA
|
||||
.byte 0
|
||||
|
||||
CeladonCity_Condominiums_3F_EventScript_16C3DB:: @ 816C3DB
|
||||
msgbox gUnknown_81962BF, MSGBOX_NPC
|
||||
CeladonCity_Condominiums_3F_EventScript_Programmer:: @ 816C3DB
|
||||
msgbox CeladonCity_Condominiums_3F_Text_ImTheProgrammer, MSGBOX_NPC
|
||||
end
|
||||
|
||||
CeladonCity_Condominiums_3F_EventScript_16C3E4:: @ 816C3E4
|
||||
msgbox gUnknown_81962D7, MSGBOX_NPC
|
||||
CeladonCity_Condominiums_3F_EventScript_GraphicArtist:: @ 816C3E4
|
||||
msgbox CeladonCity_Condominiums_3F_Text_ImTheGraphicArtist, MSGBOX_NPC
|
||||
end
|
||||
|
||||
CeladonCity_Condominiums_3F_EventScript_16C3ED:: @ 816C3ED
|
||||
msgbox gUnknown_81962FB, MSGBOX_NPC
|
||||
CeladonCity_Condominiums_3F_EventScript_Writer:: @ 816C3ED
|
||||
msgbox CeladonCity_Condominiums_3F_Text_IWroteTheStory, MSGBOX_NPC
|
||||
end
|
||||
|
||||
CeladonCity_Condominiums_3F_EventScript_16C3F6:: @ 816C3F6
|
||||
CeladonCity_Condominiums_3F_EventScript_Designer:: @ 816C3F6
|
||||
lock
|
||||
faceplayer
|
||||
specialvar VAR_RESULT, HasAllKantoMons
|
||||
compare VAR_RESULT, 1
|
||||
goto_if_eq EventScript_16C412
|
||||
msgbox gUnknown_8196356
|
||||
compare VAR_RESULT, TRUE
|
||||
goto_if_eq CeladonCity_Condominiums_3F_EventScript_CompletedPokedex
|
||||
msgbox CeladonCity_Condominiums_3F_Text_ImGameDesignerShowMeFinishedPokedex
|
||||
release
|
||||
end
|
||||
|
||||
EventScript_16C412:: @ 816C412
|
||||
goto EventScript_16C418
|
||||
CeladonCity_Condominiums_3F_EventScript_CompletedPokedex:: @ 816C412
|
||||
goto CeladonCity_Condominiums_3F_EventScript_ShowDiploma
|
||||
end
|
||||
|
||||
EventScript_16C418:: @ 816C418
|
||||
message Text_1963CD
|
||||
CeladonCity_Condominiums_3F_EventScript_ShowDiploma:: @ 816C418
|
||||
message CeladonCity_Condominiums_3F_Text_CompletedPokedexCongratulations
|
||||
waitmessage
|
||||
delay 60
|
||||
goto_if_questlog EventScript_ReleaseEnd
|
||||
@@ -37,18 +37,18 @@ EventScript_16C418:: @ 816C418
|
||||
release
|
||||
end
|
||||
|
||||
CeladonCity_Condominiums_3F_EventScript_16C435:: @ 816C435
|
||||
msgbox gUnknown_81964A8, MSGBOX_SIGN
|
||||
CeladonCity_Condominiums_3F_EventScript_DevelopmentRoomSign:: @ 816C435
|
||||
msgbox CeladonCity_Condominiums_3F_Text_GameFreakDevelopmentRoom, MSGBOX_SIGN
|
||||
end
|
||||
|
||||
CeladonCity_Condominiums_3F_EventScript_16C43E:: @ 816C43E
|
||||
msgbox gUnknown_819640C, MSGBOX_SIGN
|
||||
CeladonCity_Condominiums_3F_EventScript_Computer1:: @ 816C43E
|
||||
msgbox CeladonCity_Condominiums_3F_Text_ItsTheGameProgram, MSGBOX_SIGN
|
||||
end
|
||||
|
||||
CeladonCity_Condominiums_3F_EventScript_16C447:: @ 816C447
|
||||
msgbox gUnknown_819644B, MSGBOX_SIGN
|
||||
CeladonCity_Condominiums_3F_EventScript_Computer2:: @ 816C447
|
||||
msgbox CeladonCity_Condominiums_3F_Text_SomeonesPlayingGame, MSGBOX_SIGN
|
||||
end
|
||||
|
||||
CeladonCity_Condominiums_3F_EventScript_16C450:: @ 816C450
|
||||
msgbox gUnknown_8196478, MSGBOX_SIGN
|
||||
CeladonCity_Condominiums_3F_EventScript_Computer3:: @ 816C450
|
||||
msgbox CeladonCity_Condominiums_3F_Text_ItsScriptBetterNotLookAtEnding, MSGBOX_SIGN
|
||||
end
|
||||
|
||||
@@ -1,42 +1,42 @@
|
||||
gUnknown_81962BF:: @ 81962BF
|
||||
CeladonCity_Condominiums_3F_Text_ImTheProgrammer:: @ 81962BF
|
||||
.string "Me?\n"
|
||||
.string "I'm the programmer!$"
|
||||
|
||||
gUnknown_81962D7:: @ 81962D7
|
||||
CeladonCity_Condominiums_3F_Text_ImTheGraphicArtist:: @ 81962D7
|
||||
.string "I'm the graphic artist!\n"
|
||||
.string "I drew you!$"
|
||||
|
||||
gUnknown_81962FB:: @ 81962FB
|
||||
CeladonCity_Condominiums_3F_Text_IWroteTheStory:: @ 81962FB
|
||||
.string "I wrote the story!\n"
|
||||
.string "Isn't ERIKA cute?\p"
|
||||
.string "I like MISTY a lot, too!\n"
|
||||
.string "Oh, and SABRINA, I like her!$"
|
||||
|
||||
gUnknown_8196356:: @ 8196356
|
||||
CeladonCity_Condominiums_3F_Text_ImGameDesignerShowMeFinishedPokedex:: @ 8196356
|
||||
.string "Is that right?\p"
|
||||
.string "I'm the game designer!\p"
|
||||
.string "Filling up your POKéDEX is tough,\n"
|
||||
.string "but don't quit!\p"
|
||||
.string "When you finish, come tell me!$"
|
||||
|
||||
Text_1963CD:: @ 81963CD
|
||||
CeladonCity_Condominiums_3F_Text_CompletedPokedexCongratulations:: @ 81963CD
|
||||
.string "Wow! Excellent!\n"
|
||||
.string "You completed your POKéDEX!\l"
|
||||
.string "Congratulations!\l"
|
||||
.string "…$"
|
||||
|
||||
gUnknown_819640C:: @ 819640C
|
||||
CeladonCity_Condominiums_3F_Text_ItsTheGameProgram:: @ 819640C
|
||||
.string "It's the game program! Messing with\n"
|
||||
.string "it could bug out the game!$"
|
||||
|
||||
gUnknown_819644B:: @ 819644B
|
||||
CeladonCity_Condominiums_3F_Text_SomeonesPlayingGame:: @ 819644B
|
||||
.string "Someone's playing a game instead of\n"
|
||||
.string "working!$"
|
||||
|
||||
gUnknown_8196478:: @ 8196478
|
||||
CeladonCity_Condominiums_3F_Text_ItsScriptBetterNotLookAtEnding:: @ 8196478
|
||||
.string "It's the script!\n"
|
||||
.string "Better not look at the ending!$"
|
||||
|
||||
gUnknown_81964A8:: @ 81964A8
|
||||
CeladonCity_Condominiums_3F_Text_GameFreakDevelopmentRoom:: @ 81964A8
|
||||
.string "GAME FREAK Development Room$"
|
||||
|
||||
|
||||
@@ -43,14 +43,14 @@
|
||||
"x": 4,
|
||||
"y": 12,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_Condominiums_Roof_EventScript_16C45A"
|
||||
"script": "CeladonCity_Condominiums_Roof_EventScript_Sign"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 3,
|
||||
"y": 12,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_Condominiums_Roof_EventScript_16C45A"
|
||||
"script": "CeladonCity_Condominiums_Roof_EventScript_Sign"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
CeladonCity_Condominiums_Roof_MapScripts:: @ 816C459
|
||||
.byte 0
|
||||
|
||||
CeladonCity_Condominiums_Roof_EventScript_16C45A:: @ 816C45A
|
||||
msgbox gUnknown_81964C4, MSGBOX_SIGN
|
||||
CeladonCity_Condominiums_Roof_EventScript_Sign:: @ 816C45A
|
||||
msgbox CeladonCity_Condominiums_Roof_Text_IKnowEverything, MSGBOX_SIGN
|
||||
end
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
gUnknown_81964C4:: @ 81964C4
|
||||
CeladonCity_Condominiums_Roof_Text_IKnowEverything:: @ 81964C4
|
||||
.string "I KNOW EVERYTHING!$"
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_Condominiums_RoofRoom_EventScript_16C464",
|
||||
"script": "CeladonCity_Condominiums_RoofRoom_EventScript_BlackBelt",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -36,7 +36,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_Condominiums_RoofRoom_EventScript_16C46D",
|
||||
"script": "CeladonCity_Condominiums_RoofRoom_EventScript_EeveeBall",
|
||||
"flag": "FLAG_HIDE_EEVEE_BALL"
|
||||
}
|
||||
],
|
||||
@@ -70,21 +70,21 @@
|
||||
"x": 4,
|
||||
"y": 1,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_Condominiums_RoofRoom_EventScript_16C522"
|
||||
"script": "CeladonCity_Condominiums_RoofRoom_EventScript_Blackboard"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 5,
|
||||
"y": 1,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_Condominiums_RoofRoom_EventScript_16C522"
|
||||
"script": "CeladonCity_Condominiums_RoofRoom_EventScript_Blackboard"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 4,
|
||||
"y": 4,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_Condominiums_RoofRoom_EventScript_16C519"
|
||||
"script": "CeladonCity_Condominiums_RoofRoom_EventScript_TMsPamphlet"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,109 +1,109 @@
|
||||
CeladonCity_Condominiums_RoofRoom_MapScripts:: @ 816C463
|
||||
.byte 0
|
||||
|
||||
CeladonCity_Condominiums_RoofRoom_EventScript_16C464:: @ 816C464
|
||||
msgbox gUnknown_81964D7, MSGBOX_NPC
|
||||
CeladonCity_Condominiums_RoofRoom_EventScript_BlackBelt:: @ 816C464
|
||||
msgbox CeladonCity_Condominiums_RoofRoom_Text_TheresNothingIDontKnow, MSGBOX_NPC
|
||||
end
|
||||
|
||||
CeladonCity_Condominiums_RoofRoom_EventScript_16C46D:: @ 816C46D
|
||||
CeladonCity_Condominiums_RoofRoom_EventScript_EeveeBall:: @ 816C46D
|
||||
lock
|
||||
faceplayer
|
||||
setvar VAR_TEMP_1, SPECIES_EEVEE
|
||||
givemon SPECIES_EEVEE, 25, ITEM_NONE
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq EventScript_16C4A6
|
||||
goto_if_eq CeladonCity_Condominiums_RoofRoom_EventScript_GetEeeveeParty
|
||||
compare VAR_RESULT, 1
|
||||
goto_if_eq EventScript_16C4DA
|
||||
goto_if_eq CeladonCity_Condominiums_RoofRoom_EventScript_GetEeeveePC
|
||||
compare VAR_RESULT, 2
|
||||
goto_if_eq EventScript_NoMoreRoomForPokemon
|
||||
release
|
||||
end
|
||||
|
||||
EventScript_16C4A6:: @ 816C4A6
|
||||
CeladonCity_Condominiums_RoofRoom_EventScript_GetEeeveeParty:: @ 816C4A6
|
||||
removeobject 2
|
||||
playfanfare MUS_FANFA1
|
||||
message Text_196591
|
||||
message CeladonCity_Condominiums_RoofRoom_Text_ObtainedAnEevee
|
||||
waitmessage
|
||||
waitfanfare
|
||||
getspeciesname 0, SPECIES_EEVEE
|
||||
msgbox Text_GiveNicknameToThisMon, MSGBOX_YESNO
|
||||
compare VAR_RESULT, NO
|
||||
goto_if_eq EventScript_16C514
|
||||
goto_if_eq CeladonCity_Condominiums_RoofRoom_EventScript_SetGotEevee
|
||||
call EventScript_GetGiftMonPartySlot
|
||||
call EventScript_ChangePokemonNickname
|
||||
goto EventScript_16C514
|
||||
goto CeladonCity_Condominiums_RoofRoom_EventScript_SetGotEevee
|
||||
end
|
||||
|
||||
EventScript_16C4DA:: @ 816C4DA
|
||||
CeladonCity_Condominiums_RoofRoom_EventScript_GetEeeveePC:: @ 816C4DA
|
||||
removeobject 2
|
||||
playfanfare MUS_FANFA1
|
||||
message Text_196591
|
||||
message CeladonCity_Condominiums_RoofRoom_Text_ObtainedAnEevee
|
||||
waitmessage
|
||||
waitfanfare
|
||||
getspeciesname 0, SPECIES_EEVEE
|
||||
msgbox Text_GiveNicknameToThisMon, MSGBOX_YESNO
|
||||
compare VAR_RESULT, NO
|
||||
goto_if_eq EventScript_16C509
|
||||
goto_if_eq CeladonCity_Condominiums_RoofRoom_EventScript_TransferEeveeToPC
|
||||
call EventScript_NameReceivedBoxMon
|
||||
goto EventScript_16C509
|
||||
goto CeladonCity_Condominiums_RoofRoom_EventScript_TransferEeveeToPC
|
||||
end
|
||||
|
||||
EventScript_16C509:: @ 816C509
|
||||
CeladonCity_Condominiums_RoofRoom_EventScript_TransferEeveeToPC:: @ 816C509
|
||||
call EventScript_TransferredToPC
|
||||
goto EventScript_16C514
|
||||
goto CeladonCity_Condominiums_RoofRoom_EventScript_SetGotEevee
|
||||
end
|
||||
|
||||
EventScript_16C514:: @ 816C514
|
||||
CeladonCity_Condominiums_RoofRoom_EventScript_SetGotEevee:: @ 816C514
|
||||
setflag FLAG_GOT_EEVEE
|
||||
release
|
||||
end
|
||||
|
||||
CeladonCity_Condominiums_RoofRoom_EventScript_16C519:: @ 816C519
|
||||
msgbox gUnknown_81967E3, MSGBOX_SIGN
|
||||
CeladonCity_Condominiums_RoofRoom_EventScript_TMsPamphlet:: @ 816C519
|
||||
msgbox CeladonCity_Condominiums_RoofRoom_Text_PamphletOnTMs, MSGBOX_SIGN
|
||||
end
|
||||
|
||||
CeladonCity_Condominiums_RoofRoom_EventScript_16C522:: @ 816C522
|
||||
CeladonCity_Condominiums_RoofRoom_EventScript_Blackboard:: @ 816C522
|
||||
lockall
|
||||
msgbox gUnknown_81965C2
|
||||
message Text_1965F4
|
||||
msgbox CeladonCity_Condominiums_RoofRoom_Text_WirelessAdapterLecture
|
||||
message CeladonCity_Condominiums_RoofRoom_Text_ReadWhichHeading
|
||||
waitmessage
|
||||
setvar VAR_0x8004, 4
|
||||
multichoice 0, 0, MULTICHOICE_LINKED_DIRECT_UNION, FALSE
|
||||
switch VAR_RESULT
|
||||
case 0, EventScript_16C5C0
|
||||
case 1, EventScript_16C5CE
|
||||
case 2, EventScript_16C5DC
|
||||
case 3, EventScript_16C5EA
|
||||
case 127, EventScript_16C5EA
|
||||
case 0, CeladonCity_Condominiums_RoofRoom_EventScript_WirelessClub
|
||||
case 1, CeladonCity_Condominiums_RoofRoom_EventScript_DirectCorner
|
||||
case 2, CeladonCity_Condominiums_RoofRoom_EventScript_UnionRoom
|
||||
case 3, CeladonCity_Condominiums_RoofRoom_EventScript_ExitBlackboard
|
||||
case 127, CeladonCity_Condominiums_RoofRoom_EventScript_ExitBlackboard
|
||||
end
|
||||
|
||||
EventScript_16C578:: @ 816C578
|
||||
message Text_1965F4
|
||||
CeladonCity_Condominiums_RoofRoom_EventScript_ReadAnotherHeading:: @ 816C578
|
||||
message CeladonCity_Condominiums_RoofRoom_Text_ReadWhichHeading
|
||||
waitmessage
|
||||
multichoice 0, 0, MULTICHOICE_LINKED_DIRECT_UNION, FALSE
|
||||
switch VAR_RESULT
|
||||
case 0, EventScript_16C5C0
|
||||
case 1, EventScript_16C5CE
|
||||
case 2, EventScript_16C5DC
|
||||
case 3, EventScript_16C5EA
|
||||
case 127, EventScript_16C5EA
|
||||
case 0, CeladonCity_Condominiums_RoofRoom_EventScript_WirelessClub
|
||||
case 1, CeladonCity_Condominiums_RoofRoom_EventScript_DirectCorner
|
||||
case 2, CeladonCity_Condominiums_RoofRoom_EventScript_UnionRoom
|
||||
case 3, CeladonCity_Condominiums_RoofRoom_EventScript_ExitBlackboard
|
||||
case 127, CeladonCity_Condominiums_RoofRoom_EventScript_ExitBlackboard
|
||||
end
|
||||
|
||||
EventScript_16C5C0:: @ 816C5C0
|
||||
msgbox gUnknown_8196617
|
||||
goto EventScript_16C578
|
||||
CeladonCity_Condominiums_RoofRoom_EventScript_WirelessClub:: @ 816C5C0
|
||||
msgbox CeladonCity_Condominiums_RoofRoom_Text_ExplainWirelessClub
|
||||
goto CeladonCity_Condominiums_RoofRoom_EventScript_ReadAnotherHeading
|
||||
end
|
||||
|
||||
EventScript_16C5CE:: @ 816C5CE
|
||||
msgbox gUnknown_8196695
|
||||
goto EventScript_16C578
|
||||
CeladonCity_Condominiums_RoofRoom_EventScript_DirectCorner:: @ 816C5CE
|
||||
msgbox CeladonCity_Condominiums_RoofRoom_Text_ExplainDirectCorner
|
||||
goto CeladonCity_Condominiums_RoofRoom_EventScript_ReadAnotherHeading
|
||||
end
|
||||
|
||||
EventScript_16C5DC:: @ 816C5DC
|
||||
msgbox gUnknown_819673C
|
||||
goto EventScript_16C578
|
||||
CeladonCity_Condominiums_RoofRoom_EventScript_UnionRoom:: @ 816C5DC
|
||||
msgbox CeladonCity_Condominiums_RoofRoom_Text_ExplainUnionRoom
|
||||
goto CeladonCity_Condominiums_RoofRoom_EventScript_ReadAnotherHeading
|
||||
end
|
||||
|
||||
EventScript_16C5EA:: @ 816C5EA
|
||||
CeladonCity_Condominiums_RoofRoom_EventScript_ExitBlackboard:: @ 816C5EA
|
||||
releaseall
|
||||
end
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
gUnknown_81964D7:: @ 81964D7
|
||||
CeladonCity_Condominiums_RoofRoom_Text_TheresNothingIDontKnow:: @ 81964D7
|
||||
.string "There is nothing that I don't know,\n"
|
||||
.string "like I wrote on the blackboard.\p"
|
||||
.string "I know about the world of POKéMON\n"
|
||||
@@ -6,27 +6,27 @@ gUnknown_81964D7:: @ 81964D7
|
||||
.string "Get together with your friends and\n"
|
||||
.string "enjoy trading POKéMON!$"
|
||||
|
||||
Text_196591:: @ 8196591
|
||||
CeladonCity_Condominiums_RoofRoom_Text_ObtainedAnEevee:: @ 8196591
|
||||
.string "{PLAYER} obtained an EEVEE!$"
|
||||
|
||||
Text_1965A7:: @ 81965A7
|
||||
CeladonCity_Condominiums_RoofRoom_Text_BoxIsFull:: @ 81965A7
|
||||
.string "ポケモンが いっぱいだ\n"
|
||||
.string "ボックスを かえて きなさい$"
|
||||
|
||||
gUnknown_81965C2:: @ 81965C2
|
||||
CeladonCity_Condominiums_RoofRoom_Text_WirelessAdapterLecture:: @ 81965C2
|
||||
.string "POKéMON Lecture\p"
|
||||
.string "Playing with the Wireless Adapter$"
|
||||
|
||||
Text_1965F4:: @ 81965F4
|
||||
CeladonCity_Condominiums_RoofRoom_Text_ReadWhichHeading:: @ 81965F4
|
||||
.string "Which heading do you want to read?$"
|
||||
|
||||
gUnknown_8196617:: @ 8196617
|
||||
CeladonCity_Condominiums_RoofRoom_Text_ExplainWirelessClub:: @ 8196617
|
||||
.string "The POKéMON WIRELESS CLUB is\n"
|
||||
.string "upstairs at any POKéMON CENTER.\p"
|
||||
.string "Visit one to link up with friend(s)\n"
|
||||
.string "using your Wireless Adapter.$"
|
||||
|
||||
gUnknown_8196695:: @ 8196695
|
||||
CeladonCity_Condominiums_RoofRoom_Text_ExplainDirectCorner:: @ 8196695
|
||||
.string "To link only with a friend, go to\n"
|
||||
.string "the DIRECT CORNER.\p"
|
||||
.string "It is the right counter at the\n"
|
||||
@@ -34,7 +34,7 @@ gUnknown_8196695:: @ 8196695
|
||||
.string "Go into the TRADE CORNER or the\n"
|
||||
.string "COLOSSEUM with your friend.$"
|
||||
|
||||
gUnknown_819673C:: @ 819673C
|
||||
CeladonCity_Condominiums_RoofRoom_Text_ExplainUnionRoom:: @ 819673C
|
||||
.string "To link and communicate with\n"
|
||||
.string "anyone, go to the UNION ROOM.\p"
|
||||
.string "It is the left counter at the\n"
|
||||
@@ -42,7 +42,7 @@ gUnknown_819673C:: @ 819673C
|
||||
.string "Go to the UNION ROOM and enjoy\n"
|
||||
.string "meeting other TRAINERS.$"
|
||||
|
||||
gUnknown_81967E3:: @ 81967E3
|
||||
CeladonCity_Condominiums_RoofRoom_Text_PamphletOnTMs:: @ 81967E3
|
||||
.string "It's a pamphlet on TMs.\p"
|
||||
.string "… …\p"
|
||||
.string "There are fifty TMs in all.\p"
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_DepartmentStore_1F_EventScript_16BAD9",
|
||||
"script": "CeladonCity_DepartmentStore_1F_EventScript_Receptionist",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
@@ -92,14 +92,14 @@
|
||||
"x": 9,
|
||||
"y": 11,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_DepartmentStore_1F_EventScript_16BAE2"
|
||||
"script": "CeladonCity_DepartmentStore_1F_EventScript_LayoutSign"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 8,
|
||||
"y": 1,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_DepartmentStore_1F_EventScript_16BAEB"
|
||||
"script": "CeladonCity_DepartmentStore_1F_EventScript_FloorSign"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
CeladonCity_DepartmentStore_1F_MapScripts:: @ 816BAD8
|
||||
.byte 0
|
||||
|
||||
CeladonCity_DepartmentStore_1F_EventScript_16BAD9:: @ 816BAD9
|
||||
msgbox gUnknown_81954DD, MSGBOX_NPC
|
||||
CeladonCity_DepartmentStore_1F_EventScript_Receptionist:: @ 816BAD9
|
||||
msgbox CeladonCity_DepartmentStore_1F_Text_WelcomeToDeptStore, MSGBOX_NPC
|
||||
end
|
||||
|
||||
CeladonCity_DepartmentStore_1F_EventScript_16BAE2:: @ 816BAE2
|
||||
msgbox gUnknown_8195537, MSGBOX_SIGN
|
||||
CeladonCity_DepartmentStore_1F_EventScript_LayoutSign:: @ 816BAE2
|
||||
msgbox CeladonCity_DepartmentStore_1F_Text_FloorDescriptions, MSGBOX_SIGN
|
||||
end
|
||||
|
||||
CeladonCity_DepartmentStore_1F_EventScript_16BAEB:: @ 816BAEB
|
||||
msgbox gUnknown_81955B3, MSGBOX_SIGN
|
||||
CeladonCity_DepartmentStore_1F_EventScript_FloorSign:: @ 816BAEB
|
||||
msgbox CeladonCity_DepartmentStore_1F_Text_ServiceCounter, MSGBOX_SIGN
|
||||
end
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
gUnknown_81954DD:: @ 81954DD
|
||||
CeladonCity_DepartmentStore_1F_Text_WelcomeToDeptStore:: @ 81954DD
|
||||
.string "Hello!\n"
|
||||
.string "Welcome to CELADON DEPT. STORE.\p"
|
||||
.string "The board on the right describes\n"
|
||||
.string "the store layout.$"
|
||||
|
||||
gUnknown_8195537:: @ 8195537
|
||||
CeladonCity_DepartmentStore_1F_Text_FloorDescriptions:: @ 8195537
|
||||
.string "1F: SERVICE COUNTER\p"
|
||||
.string "2F: TRAINER'S MARKET\p"
|
||||
.string "3F: TV GAME SHOP\p"
|
||||
@@ -12,6 +12,6 @@ gUnknown_8195537:: @ 8195537
|
||||
.string "5F: DRUGSTORE\p"
|
||||
.string "ROOFTOP SQUARE: VENDING MACHINES$"
|
||||
|
||||
gUnknown_81955B3:: @ 81955B3
|
||||
CeladonCity_DepartmentStore_1F_Text_ServiceCounter:: @ 81955B3
|
||||
.string "1F: SERVICE COUNTER$"
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_DepartmentStore_2F_EventScript_16BAFE",
|
||||
"script": "CeladonCity_DepartmentStore_2F_EventScript_Lass",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -36,7 +36,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_DepartmentStore_2F_EventScript_16BB10",
|
||||
"script": "CeladonCity_DepartmentStore_2F_EventScript_ClerkItems",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -49,7 +49,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_DepartmentStore_2F_EventScript_16BB4E",
|
||||
"script": "CeladonCity_DepartmentStore_2F_EventScript_ClerkTMs",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -62,7 +62,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_DepartmentStore_2F_EventScript_1AD053",
|
||||
"script": "CeladonCity_DepartmentStore_2F_EventScript_Woman",
|
||||
"flag": "FLAG_HIDE_POSTGAME_GOSSIPERS"
|
||||
}
|
||||
],
|
||||
@@ -96,7 +96,7 @@
|
||||
"x": 4,
|
||||
"y": 1,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_DepartmentStore_2F_EventScript_16BB07"
|
||||
"script": "CeladonCity_DepartmentStore_2F_EventScript_FloorSign"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,31 +1,31 @@
|
||||
CeladonCity_DepartmentStore_2F_MapScripts:: @ 816BAF4
|
||||
.byte 0
|
||||
|
||||
CeladonCity_DepartmentStore_2F_EventScript_16BAF5:: @ 816BAF5
|
||||
msgbox gUnknown_81955C7, MSGBOX_NPC
|
||||
CeladonCity_DepartmentStore_2F_EventScript_UnusedNPC:: @ 816BAF5
|
||||
msgbox CeladonCity_DepartmentStore_2F_Text_SuperRepelMorePowerfulRepel, MSGBOX_NPC
|
||||
end
|
||||
|
||||
CeladonCity_DepartmentStore_2F_EventScript_16BAFE:: @ 816BAFE
|
||||
msgbox gUnknown_819560F, MSGBOX_NPC
|
||||
CeladonCity_DepartmentStore_2F_EventScript_Lass:: @ 816BAFE
|
||||
msgbox CeladonCity_DepartmentStore_2F_Text_BuyReviveForLongOutings, MSGBOX_NPC
|
||||
end
|
||||
|
||||
CeladonCity_DepartmentStore_2F_EventScript_16BB07:: @ 816BB07
|
||||
msgbox gUnknown_8195638, MSGBOX_SIGN
|
||||
CeladonCity_DepartmentStore_2F_EventScript_FloorSign:: @ 816BB07
|
||||
msgbox CeladonCity_DepartmentStore_2F_Text_FloorSign, MSGBOX_SIGN
|
||||
end
|
||||
|
||||
CeladonCity_DepartmentStore_2F_EventScript_16BB10:: @ 816BB10
|
||||
CeladonCity_DepartmentStore_2F_EventScript_ClerkItems:: @ 816BB10
|
||||
goto_if_questlog EventScript_ReleaseEnd
|
||||
lock
|
||||
faceplayer
|
||||
message Text_MayIHelpYou
|
||||
waitmessage
|
||||
pokemart Items_16BB38
|
||||
pokemart CeladonCity_DepartmentStore_2F_Items
|
||||
msgbox Text_PleaseComeAgain
|
||||
release
|
||||
end
|
||||
|
||||
.align 2
|
||||
Items_16BB38:: @ 816BB38
|
||||
CeladonCity_DepartmentStore_2F_Items:: @ 816BB38
|
||||
.2byte ITEM_GREAT_BALL
|
||||
.2byte ITEM_SUPER_POTION
|
||||
.2byte ITEM_REVIVE
|
||||
@@ -39,19 +39,19 @@ Items_16BB38:: @ 816BB38
|
||||
release
|
||||
end
|
||||
|
||||
CeladonCity_DepartmentStore_2F_EventScript_16BB4E:: @ 816BB4E
|
||||
CeladonCity_DepartmentStore_2F_EventScript_ClerkTMs:: @ 816BB4E
|
||||
goto_if_questlog EventScript_ReleaseEnd
|
||||
lock
|
||||
faceplayer
|
||||
message Text_MayIHelpYou
|
||||
waitmessage
|
||||
pokemart Items_16BB74
|
||||
pokemart CeladonCity_DepartmentStore_2F_TMs
|
||||
msgbox Text_PleaseComeAgain
|
||||
release
|
||||
end
|
||||
|
||||
.align 2
|
||||
Items_16BB74:: @ 816BB74
|
||||
CeladonCity_DepartmentStore_2F_TMs:: @ 816BB74
|
||||
.2byte ITEM_TM05
|
||||
.2byte ITEM_TM15
|
||||
.2byte ITEM_TM28
|
||||
|
||||
@@ -1,13 +1,19 @@
|
||||
gUnknown_81955C7:: @ 81955C7
|
||||
CeladonCity_DepartmentStore_2F_Text_SuperRepelMorePowerfulRepel:: @ 81955C7
|
||||
.string "SUPER REPEL keeps weak POKéMON at\n"
|
||||
.string "bay…\p"
|
||||
.string "Hmm, it's a more powerful REPEL.$"
|
||||
|
||||
gUnknown_819560F:: @ 819560F
|
||||
CeladonCity_DepartmentStore_2F_Text_BuyReviveForLongOutings:: @ 819560F
|
||||
.string "For long outings, you should buy\n"
|
||||
.string "REVIVE.$"
|
||||
|
||||
gUnknown_8195638:: @ 8195638
|
||||
CeladonCity_DepartmentStore_2F_Text_FloorSign:: @ 8195638
|
||||
.string "Top-Grade Items for TRAINERS!\p"
|
||||
.string "2F: TRAINER'S MARKET$"
|
||||
|
||||
CeladonCity_DepartmentStore_2F_Text_LanceComesToBuyCapes:: @ 819566B
|
||||
.string "We have a customer, LANCE, who\n"
|
||||
.string "occasionally comes.\p"
|
||||
.string "He always buys capes.\p"
|
||||
.string "I wonder… Does he have many\n"
|
||||
.string "identical capes at home?$"
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_DepartmentStore_3F_EventScript_16BB8B",
|
||||
"script": "CeladonCity_DepartmentStore_3F_EventScript_GBAKid1",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -49,7 +49,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_DepartmentStore_3F_EventScript_16BB9D",
|
||||
"script": "CeladonCity_DepartmentStore_3F_EventScript_GBAKid3",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -62,7 +62,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_DepartmentStore_3F_EventScript_16BB94",
|
||||
"script": "CeladonCity_DepartmentStore_3F_EventScript_GBAKid2",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -75,7 +75,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_DepartmentStore_3F_EventScript_16BBA6",
|
||||
"script": "CeladonCity_DepartmentStore_3F_EventScript_LittleGirl",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
@@ -109,77 +109,77 @@
|
||||
"x": 8,
|
||||
"y": 1,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_DepartmentStore_3F_EventScript_16BBDC"
|
||||
"script": "CeladonCity_DepartmentStore_3F_EventScript_FloorSign"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_1",
|
||||
"x": 2,
|
||||
"y": 8,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_DepartmentStore_3F_EventScript_16BBB8"
|
||||
"script": "CeladonCity_DepartmentStore_3F_EventScript_TV1"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_1",
|
||||
"x": 5,
|
||||
"y": 8,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_DepartmentStore_3F_EventScript_16BBC1"
|
||||
"script": "CeladonCity_DepartmentStore_3F_EventScript_TV2"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_1",
|
||||
"x": 2,
|
||||
"y": 11,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_DepartmentStore_3F_EventScript_16BBCA"
|
||||
"script": "CeladonCity_DepartmentStore_3F_EventScript_TV3"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_1",
|
||||
"x": 5,
|
||||
"y": 11,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_DepartmentStore_3F_EventScript_16BBD3"
|
||||
"script": "CeladonCity_DepartmentStore_3F_EventScript_TV4"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 1,
|
||||
"y": 8,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_DepartmentStore_3F_EventScript_16BBAF"
|
||||
"script": "CeladonCity_DepartmentStore_3F_EventScript_SuperNES"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 1,
|
||||
"y": 11,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_DepartmentStore_3F_EventScript_16BBAF"
|
||||
"script": "CeladonCity_DepartmentStore_3F_EventScript_SuperNES"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 4,
|
||||
"y": 8,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_DepartmentStore_3F_EventScript_16BBAF"
|
||||
"script": "CeladonCity_DepartmentStore_3F_EventScript_SuperNES"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 4,
|
||||
"y": 11,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_DepartmentStore_3F_EventScript_16BBAF"
|
||||
"script": "CeladonCity_DepartmentStore_3F_EventScript_SuperNES"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_1",
|
||||
"x": 2,
|
||||
"y": 4,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_DepartmentStore_3F_EventScript_16BBE5"
|
||||
"script": "CeladonCity_DepartmentStore_3F_EventScript_Poster"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_1",
|
||||
"x": 0,
|
||||
"y": 4,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_DepartmentStore_3F_EventScript_16BBE5"
|
||||
"script": "CeladonCity_DepartmentStore_3F_EventScript_Poster"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -5,46 +5,46 @@ CeladonCity_DepartmentStore_3F_EventScript_CounterTutor:: @ 816BB85
|
||||
goto EventScript_CounterTutor
|
||||
end
|
||||
|
||||
CeladonCity_DepartmentStore_3F_EventScript_16BB8B:: @ 816BB8B
|
||||
msgbox gUnknown_81956E9, MSGBOX_NPC
|
||||
CeladonCity_DepartmentStore_3F_EventScript_GBAKid1:: @ 816BB8B
|
||||
msgbox CeladonCity_DepartmentStore_3F_Text_OTStandsForOriginalTrainer, MSGBOX_NPC
|
||||
end
|
||||
|
||||
CeladonCity_DepartmentStore_3F_EventScript_16BB94:: @ 816BB94
|
||||
msgbox gUnknown_8195769, MSGBOX_NPC
|
||||
CeladonCity_DepartmentStore_3F_EventScript_GBAKid2:: @ 816BB94
|
||||
msgbox CeladonCity_DepartmentStore_3F_Text_BuddyTradingKangaskhanForHaunter, MSGBOX_NPC
|
||||
end
|
||||
|
||||
CeladonCity_DepartmentStore_3F_EventScript_16BB9D:: @ 816BB9D
|
||||
msgbox gUnknown_81957B0, MSGBOX_NPC
|
||||
CeladonCity_DepartmentStore_3F_EventScript_GBAKid3:: @ 816BB9D
|
||||
msgbox CeladonCity_DepartmentStore_3F_Text_HaunterEvolvedOnTrade, MSGBOX_NPC
|
||||
end
|
||||
|
||||
CeladonCity_DepartmentStore_3F_EventScript_16BBA6:: @ 816BBA6
|
||||
msgbox gUnknown_8195823, MSGBOX_NPC
|
||||
CeladonCity_DepartmentStore_3F_EventScript_LittleGirl:: @ 816BBA6
|
||||
msgbox CeladonCity_DepartmentStore_3F_Text_CanIdentifyTradeMonsByID, MSGBOX_NPC
|
||||
end
|
||||
|
||||
CeladonCity_DepartmentStore_3F_EventScript_16BBAF:: @ 816BBAF
|
||||
msgbox gUnknown_8195863, MSGBOX_SIGN
|
||||
CeladonCity_DepartmentStore_3F_EventScript_SuperNES:: @ 816BBAF
|
||||
msgbox CeladonCity_DepartmentStore_3F_Text_ItsSuperNES, MSGBOX_SIGN
|
||||
end
|
||||
|
||||
CeladonCity_DepartmentStore_3F_EventScript_16BBB8:: @ 816BBB8
|
||||
msgbox gUnknown_8195875, MSGBOX_SIGN
|
||||
CeladonCity_DepartmentStore_3F_EventScript_TV1:: @ 816BBB8
|
||||
msgbox CeladonCity_DepartmentStore_3F_Text_AnRPG, MSGBOX_SIGN
|
||||
end
|
||||
|
||||
CeladonCity_DepartmentStore_3F_EventScript_16BBC1:: @ 816BBC1
|
||||
msgbox gUnknown_8195897, MSGBOX_SIGN
|
||||
CeladonCity_DepartmentStore_3F_EventScript_TV2:: @ 816BBC1
|
||||
msgbox CeladonCity_DepartmentStore_3F_Text_SportsGame, MSGBOX_SIGN
|
||||
end
|
||||
|
||||
CeladonCity_DepartmentStore_3F_EventScript_16BBCA:: @ 816BBCA
|
||||
msgbox gUnknown_81958B8, MSGBOX_SIGN
|
||||
CeladonCity_DepartmentStore_3F_EventScript_TV3:: @ 816BBCA
|
||||
msgbox CeladonCity_DepartmentStore_3F_Text_PuzzleGame, MSGBOX_SIGN
|
||||
end
|
||||
|
||||
CeladonCity_DepartmentStore_3F_EventScript_16BBD3:: @ 816BBD3
|
||||
msgbox gUnknown_81958D8, MSGBOX_SIGN
|
||||
CeladonCity_DepartmentStore_3F_EventScript_TV4:: @ 816BBD3
|
||||
msgbox CeladonCity_DepartmentStore_3F_Text_FightingGame, MSGBOX_SIGN
|
||||
end
|
||||
|
||||
CeladonCity_DepartmentStore_3F_EventScript_16BBDC:: @ 816BBDC
|
||||
msgbox gUnknown_81958F6, MSGBOX_SIGN
|
||||
CeladonCity_DepartmentStore_3F_EventScript_FloorSign:: @ 816BBDC
|
||||
msgbox CeladonCity_DepartmentStore_3F_Text_TVGameShop, MSGBOX_SIGN
|
||||
end
|
||||
|
||||
CeladonCity_DepartmentStore_3F_EventScript_16BBE5:: @ 816BBE5
|
||||
msgbox gUnknown_8195907, MSGBOX_SIGN
|
||||
CeladonCity_DepartmentStore_3F_EventScript_Poster:: @ 816BBE5
|
||||
msgbox CeladonCity_DepartmentStore_3F_Text_RedGreenBothArePokemon, MSGBOX_SIGN
|
||||
end
|
||||
|
||||
@@ -1,22 +1,15 @@
|
||||
Text_19566B:: @ 819566B
|
||||
.string "We have a customer, LANCE, who\n"
|
||||
.string "occasionally comes.\p"
|
||||
.string "He always buys capes.\p"
|
||||
.string "I wonder… Does he have many\n"
|
||||
.string "identical capes at home?$"
|
||||
|
||||
gUnknown_81956E9:: @ 81956E9
|
||||
CeladonCity_DepartmentStore_3F_Text_OTStandsForOriginalTrainer:: @ 81956E9
|
||||
.string "Captured POKéMON are registered\n"
|
||||
.string "with an ID No. and the OT.\p"
|
||||
.string "OT stands for “Original TRAINER” -\n"
|
||||
.string "the TRAINER that caught it first.$"
|
||||
|
||||
gUnknown_8195769:: @ 8195769
|
||||
CeladonCity_DepartmentStore_3F_Text_BuddyTradingKangaskhanForHaunter:: @ 8195769
|
||||
.string "All right!\p"
|
||||
.string "My buddy's going to trade me his\n"
|
||||
.string "KANGASKHAN for my HAUNTER!$"
|
||||
|
||||
gUnknown_81957B0:: @ 81957B0
|
||||
CeladonCity_DepartmentStore_3F_Text_HaunterEvolvedOnTrade:: @ 81957B0
|
||||
.string "Come on, HAUNTER!\p"
|
||||
.string "I love HAUNTER!\n"
|
||||
.string "I collect them!\p"
|
||||
@@ -24,33 +17,54 @@ gUnknown_81957B0:: @ 81957B0
|
||||
.string "HAUNTER turned into a different\n"
|
||||
.string "POKéMON while being traded!$"
|
||||
|
||||
gUnknown_8195823:: @ 8195823
|
||||
CeladonCity_DepartmentStore_3F_Text_CanIdentifyTradeMonsByID:: @ 8195823
|
||||
.string "You can identify POKéMON you get\n"
|
||||
.string "in trades by their ID Numbers.$"
|
||||
|
||||
gUnknown_8195863:: @ 8195863
|
||||
CeladonCity_DepartmentStore_3F_Text_ItsSuperNES:: @ 8195863
|
||||
.string "It's a Super NES.$"
|
||||
|
||||
gUnknown_8195875:: @ 8195875
|
||||
CeladonCity_DepartmentStore_3F_Text_AnRPG:: @ 8195875
|
||||
.string "An RPG!\n"
|
||||
.string "There's no time for that!$"
|
||||
|
||||
gUnknown_8195897:: @ 8195897
|
||||
CeladonCity_DepartmentStore_3F_Text_SportsGame:: @ 8195897
|
||||
.string "A sports game!\n"
|
||||
.string "Dad'll like that!$"
|
||||
|
||||
gUnknown_81958B8:: @ 81958B8
|
||||
CeladonCity_DepartmentStore_3F_Text_PuzzleGame:: @ 81958B8
|
||||
.string "A puzzle game!\n"
|
||||
.string "Looks addictive!$"
|
||||
|
||||
gUnknown_81958D8:: @ 81958D8
|
||||
CeladonCity_DepartmentStore_3F_Text_FightingGame:: @ 81958D8
|
||||
.string "A fighting game!\n"
|
||||
.string "Looks tough!$"
|
||||
|
||||
gUnknown_81958F6:: @ 81958F6
|
||||
CeladonCity_DepartmentStore_3F_Text_TVGameShop:: @ 81958F6
|
||||
.string "3F: TV GAME SHOP$"
|
||||
|
||||
gUnknown_8195907:: @ 8195907
|
||||
CeladonCity_DepartmentStore_3F_Text_RedGreenBothArePokemon:: @ 8195907
|
||||
.string "Red and Green!\n"
|
||||
.string "Both are POKéMON!$"
|
||||
|
||||
Text_CounterTeach:: @ 8195928
|
||||
.string "Oh, hi!\n"
|
||||
.string "I finally finished POKéMON.\p"
|
||||
.string "Not done yet? How about I teach\n"
|
||||
.string "you a good move?\p"
|
||||
.string "The move I have in mind is\n"
|
||||
.string "COUNTER.\p"
|
||||
.string "Not like the one I'm leaning on,\n"
|
||||
.string "mind you!$"
|
||||
|
||||
Text_CounterDeclined:: @ 81959CC
|
||||
.string "You're not interested? Come see\n"
|
||||
.string "me if you change your mind.$"
|
||||
|
||||
Text_CounterWhichMon:: @ 8195A08
|
||||
.string "Which POKéMON should I teach\n"
|
||||
.string "COUNTER to?$"
|
||||
|
||||
Text_CounterTaught:: @ 8195A31
|
||||
.string "Are you using that COUNTER move\n"
|
||||
.string "I taught your POKéMON?$"
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_DepartmentStore_4F_EventScript_16BBEF",
|
||||
"script": "CeladonCity_DepartmentStore_4F_EventScript_Man",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -36,7 +36,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_DepartmentStore_4F_EventScript_16BBF8",
|
||||
"script": "CeladonCity_DepartmentStore_4F_EventScript_Youngster",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -49,7 +49,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_DepartmentStore_4F_EventScript_16BC0A",
|
||||
"script": "CeladonCity_DepartmentStore_4F_EventScript_Clerk",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
@@ -83,7 +83,7 @@
|
||||
"x": 4,
|
||||
"y": 1,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_DepartmentStore_4F_EventScript_16BC01"
|
||||
"script": "CeladonCity_DepartmentStore_4F_EventScript_FloorSign"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,31 +1,31 @@
|
||||
CeladonCity_DepartmentStore_4F_MapScripts:: @ 816BBEE
|
||||
.byte 0
|
||||
|
||||
CeladonCity_DepartmentStore_4F_EventScript_16BBEF:: @ 816BBEF
|
||||
msgbox gUnknown_8195A68, MSGBOX_NPC
|
||||
CeladonCity_DepartmentStore_4F_EventScript_Man:: @ 816BBEF
|
||||
msgbox CeladonCity_DepartmentStore_4F_Text_GettingPokeDollAsPresent, MSGBOX_NPC
|
||||
end
|
||||
|
||||
CeladonCity_DepartmentStore_4F_EventScript_16BBF8:: @ 816BBF8
|
||||
msgbox gUnknown_8195AC9, MSGBOX_NPC
|
||||
CeladonCity_DepartmentStore_4F_EventScript_Youngster:: @ 816BBF8
|
||||
msgbox CeladonCity_DepartmentStore_4F_Text_CanRunAwayWithPokeDoll, MSGBOX_NPC
|
||||
end
|
||||
|
||||
CeladonCity_DepartmentStore_4F_EventScript_16BC01:: @ 816BC01
|
||||
msgbox gUnknown_8195B5B, MSGBOX_SIGN
|
||||
CeladonCity_DepartmentStore_4F_EventScript_FloorSign:: @ 816BC01
|
||||
msgbox CeladonCity_DepartmentStore_4F_Text_FloorSign, MSGBOX_SIGN
|
||||
end
|
||||
|
||||
CeladonCity_DepartmentStore_4F_EventScript_16BC0A:: @ 816BC0A
|
||||
CeladonCity_DepartmentStore_4F_EventScript_Clerk:: @ 816BC0A
|
||||
goto_if_questlog EventScript_ReleaseEnd
|
||||
lock
|
||||
faceplayer
|
||||
message Text_MayIHelpYou
|
||||
waitmessage
|
||||
pokemart Items_16BC30
|
||||
pokemart CeladonCity_DepartmentStore_4F_Items
|
||||
msgbox Text_PleaseComeAgain
|
||||
release
|
||||
end
|
||||
|
||||
.align 2
|
||||
Items_16BC30:: @ 816BC30
|
||||
CeladonCity_DepartmentStore_4F_Items:: @ 816BC30
|
||||
.2byte ITEM_POKE_DOLL
|
||||
.2byte ITEM_RETRO_MAIL
|
||||
.2byte ITEM_FIRE_STONE
|
||||
|
||||
@@ -1,41 +1,18 @@
|
||||
Text_CounterTeach:: @ 8195928
|
||||
.string "Oh, hi!\n"
|
||||
.string "I finally finished POKéMON.\p"
|
||||
.string "Not done yet? How about I teach\n"
|
||||
.string "you a good move?\p"
|
||||
.string "The move I have in mind is\n"
|
||||
.string "COUNTER.\p"
|
||||
.string "Not like the one I'm leaning on,\n"
|
||||
.string "mind you!$"
|
||||
|
||||
Text_CounterDeclined:: @ 81959CC
|
||||
.string "You're not interested? Come see\n"
|
||||
.string "me if you change your mind.$"
|
||||
|
||||
Text_CounterWhichMon:: @ 8195A08
|
||||
.string "Which POKéMON should I teach\n"
|
||||
.string "COUNTER to?$"
|
||||
|
||||
Text_CounterTaught:: @ 8195A31
|
||||
.string "Are you using that COUNTER move\n"
|
||||
.string "I taught your POKéMON?$"
|
||||
|
||||
gUnknown_8195A68:: @ 8195A68
|
||||
CeladonCity_DepartmentStore_4F_Text_GettingPokeDollAsPresent:: @ 8195A68
|
||||
.string "I'm getting a present for my\n"
|
||||
.string "girlfriend.\p"
|
||||
.string "I guess a POKé DOLL will be it.\n"
|
||||
.string "It's the popular thing.$"
|
||||
|
||||
gUnknown_8195AC9:: @ 8195AC9
|
||||
CeladonCity_DepartmentStore_4F_Text_CanRunAwayWithPokeDoll:: @ 8195AC9
|
||||
.string "I heard something useful.\p"
|
||||
.string "If a wild POKéMON appears, you can\n"
|
||||
.string "distract it with a POKé DOLL.\p"
|
||||
.string "You can run away while the wild\n"
|
||||
.string "POKéMON is distracted.$"
|
||||
|
||||
gUnknown_8195B5B:: @ 8195B5B
|
||||
CeladonCity_DepartmentStore_4F_Text_FloorSign:: @ 8195B5B
|
||||
.string "Express yourself with gifts!\n"
|
||||
.string "4F: WISE MAN GIFTS\p"
|
||||
.string "Evolution Special!\n"
|
||||
.string "Element STONES on sale now!$"
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_DepartmentStore_5F_EventScript_16BC41",
|
||||
"script": "CeladonCity_DepartmentStore_5F_EventScript_Gentleman",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -36,7 +36,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_DepartmentStore_5F_EventScript_16BC4A",
|
||||
"script": "CeladonCity_DepartmentStore_5F_EventScript_Sailor",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -49,7 +49,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_DepartmentStore_5F_EventScript_16BC5C",
|
||||
"script": "CeladonCity_DepartmentStore_5F_EventScript_ClerkXItems",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -62,7 +62,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_DepartmentStore_5F_EventScript_16BC96",
|
||||
"script": "CeladonCity_DepartmentStore_5F_EventScript_ClerkVitamins",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
@@ -96,7 +96,7 @@
|
||||
"x": 8,
|
||||
"y": 1,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_DepartmentStore_5F_EventScript_16BC53"
|
||||
"script": "CeladonCity_DepartmentStore_5F_EventScript_FloorSign"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,31 +1,31 @@
|
||||
CeladonCity_DepartmentStore_5F_MapScripts:: @ 816BC40
|
||||
.byte 0
|
||||
|
||||
CeladonCity_DepartmentStore_5F_EventScript_16BC41:: @ 816BC41
|
||||
msgbox gUnknown_8195BBA, MSGBOX_NPC
|
||||
CeladonCity_DepartmentStore_5F_EventScript_Gentleman:: @ 816BC41
|
||||
msgbox CeladonCity_DepartmentStore_5F_Text_ExplainStatEnhancers, MSGBOX_NPC
|
||||
end
|
||||
|
||||
CeladonCity_DepartmentStore_5F_EventScript_16BC4A:: @ 816BC4A
|
||||
msgbox gUnknown_8195CA0, MSGBOX_NPC
|
||||
CeladonCity_DepartmentStore_5F_EventScript_Sailor:: @ 816BC4A
|
||||
msgbox CeladonCity_DepartmentStore_5F_Text_HereForStatEnhancers, MSGBOX_NPC
|
||||
end
|
||||
|
||||
CeladonCity_DepartmentStore_5F_EventScript_16BC53:: @ 816BC53
|
||||
msgbox gUnknown_8195D14, MSGBOX_SIGN
|
||||
CeladonCity_DepartmentStore_5F_EventScript_FloorSign:: @ 816BC53
|
||||
msgbox CeladonCity_DepartmentStore_5F_Text_Drugstore, MSGBOX_SIGN
|
||||
end
|
||||
|
||||
CeladonCity_DepartmentStore_5F_EventScript_16BC5C:: @ 816BC5C
|
||||
CeladonCity_DepartmentStore_5F_EventScript_ClerkXItems:: @ 816BC5C
|
||||
goto_if_questlog EventScript_ReleaseEnd
|
||||
lock
|
||||
faceplayer
|
||||
message Text_MayIHelpYou
|
||||
waitmessage
|
||||
pokemart Items_16BC84
|
||||
pokemart CeladonCity_DepartmentStore_5F_XItems
|
||||
msgbox Text_PleaseComeAgain
|
||||
release
|
||||
end
|
||||
|
||||
.align 2
|
||||
Items_16BC84:: @ 816BC84
|
||||
CeladonCity_DepartmentStore_5F_XItems:: @ 816BC84
|
||||
.2byte ITEM_X_ATTACK
|
||||
.2byte ITEM_X_DEFEND
|
||||
.2byte ITEM_X_SPEED
|
||||
@@ -37,19 +37,19 @@ Items_16BC84:: @ 816BC84
|
||||
release
|
||||
end
|
||||
|
||||
CeladonCity_DepartmentStore_5F_EventScript_16BC96:: @ 816BC96
|
||||
CeladonCity_DepartmentStore_5F_EventScript_ClerkVitamins:: @ 816BC96
|
||||
goto_if_questlog EventScript_ReleaseEnd
|
||||
lock
|
||||
faceplayer
|
||||
message Text_MayIHelpYou
|
||||
waitmessage
|
||||
pokemart Items_16BCBC
|
||||
pokemart CeladonCity_DepartmentStore_5F_Vitamins
|
||||
msgbox Text_PleaseComeAgain
|
||||
release
|
||||
end
|
||||
|
||||
.align 2
|
||||
Items_16BCBC:: @ 816BCBC
|
||||
CeladonCity_DepartmentStore_5F_Vitamins:: @ 816BCBC
|
||||
.2byte ITEM_HP_UP
|
||||
.2byte ITEM_PROTEIN
|
||||
.2byte ITEM_IRON
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
gUnknown_8195BBA:: @ 8195BBA
|
||||
CeladonCity_DepartmentStore_5F_Text_ExplainStatEnhancers:: @ 8195BBA
|
||||
.string "POKéMON stat enhancers can be\n"
|
||||
.string "bought only here.\p"
|
||||
.string "HP UP increases the base HP of a\n"
|
||||
@@ -10,7 +10,7 @@ gUnknown_8195BBA:: @ 8195BBA
|
||||
.string "CARBOS enhances the base SPEED\n"
|
||||
.string "stat.$"
|
||||
|
||||
gUnknown_8195CA0:: @ 8195CA0
|
||||
CeladonCity_DepartmentStore_5F_Text_HereForStatEnhancers:: @ 8195CA0
|
||||
.string "I'm here for POKéMON stat\n"
|
||||
.string "enhancers.\p"
|
||||
.string "PROTEIN increases the base ATTACK\n"
|
||||
@@ -18,6 +18,6 @@ gUnknown_8195CA0:: @ 8195CA0
|
||||
.string "IRON increases the base DEFENSE\n"
|
||||
.string "stat.$"
|
||||
|
||||
gUnknown_8195D14:: @ 8195D14
|
||||
CeladonCity_DepartmentStore_5F_Text_Drugstore:: @ 8195D14
|
||||
.string "5F: DRUGSTORE$"
|
||||
|
||||
|
||||
@@ -36,14 +36,14 @@
|
||||
"x": 0,
|
||||
"y": 2,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_DepartmentStore_Elevator_EventScript_16C153"
|
||||
"script": "CeladonCity_DepartmentStore_Elevator_EventScript_FloorSelect"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 4,
|
||||
"y": 1,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_DepartmentStore_Elevator_EventScript_16C153"
|
||||
"script": "CeladonCity_DepartmentStore_Elevator_EventScript_FloorSelect"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
CeladonCity_DepartmentStore_Elevator_MapScripts:: @ 816C152
|
||||
.byte 0
|
||||
|
||||
CeladonCity_DepartmentStore_Elevator_EventScript_16C153:: @ 816C153
|
||||
CeladonCity_DepartmentStore_Elevator_EventScript_FloorSelect:: @ 816C153
|
||||
lockall
|
||||
setvar VAR_0x8004, 3
|
||||
call_if_unset FLAG_TEMP_2, EventScript_1A7AB9
|
||||
call_if_unset FLAG_TEMP_2, EventScript_GetElevatorFloor
|
||||
copyvar VAR_0x8005, VAR_ELEVATOR_FLOOR
|
||||
special Special_DrawElevatorCurrentFloorWindow
|
||||
message Text_WantWhichFloor
|
||||
@@ -12,107 +12,105 @@ CeladonCity_DepartmentStore_Elevator_EventScript_16C153:: @ 816C153
|
||||
setvar VAR_0x8004, 3
|
||||
specialvar VAR_RESULT, Special_InitElevatorFloorSelectMenuPos
|
||||
switch VAR_RESULT
|
||||
case 0, EventScript_16C1B7
|
||||
case 1, EventScript_16C1C3
|
||||
case 2, EventScript_16C1CF
|
||||
case 3, EventScript_16C1DB
|
||||
case 4, EventScript_16C1E7
|
||||
case 0, CeladonCity_DepartmentStore_Elevator_EventScript_FloorSelectFrom5F
|
||||
case 1, CeladonCity_DepartmentStore_Elevator_EventScript_FloorSelectFrom4F
|
||||
case 2, CeladonCity_DepartmentStore_Elevator_EventScript_FloorSelectFrom3F
|
||||
case 3, CeladonCity_DepartmentStore_Elevator_EventScript_FloorSelectFrom2F
|
||||
case 4, CeladonCity_DepartmentStore_Elevator_EventScript_FloorSelectFrom1F
|
||||
end
|
||||
|
||||
EventScript_16C1B7:: @ 816C1B7
|
||||
CeladonCity_DepartmentStore_Elevator_EventScript_FloorSelectFrom5F:: @ 816C1B7
|
||||
multichoicedefault 0, 0, MULTICHOICE_DEPT_STORE_ELEVATOR, 0, FALSE
|
||||
goto EventScript_16C1F3
|
||||
|
||||
EventScript_16C1C2:: @ 816C1C2
|
||||
goto CeladonCity_DepartmentStore_Elevator_EventScript_ChooseFloor
|
||||
end
|
||||
|
||||
EventScript_16C1C3:: @ 816C1C3
|
||||
CeladonCity_DepartmentStore_Elevator_EventScript_FloorSelectFrom4F:: @ 816C1C3
|
||||
multichoicedefault 0, 0, MULTICHOICE_DEPT_STORE_ELEVATOR, 1, FALSE
|
||||
goto EventScript_16C1F3
|
||||
goto CeladonCity_DepartmentStore_Elevator_EventScript_ChooseFloor
|
||||
end
|
||||
|
||||
EventScript_16C1CF:: @ 816C1CF
|
||||
CeladonCity_DepartmentStore_Elevator_EventScript_FloorSelectFrom3F:: @ 816C1CF
|
||||
multichoicedefault 0, 0, MULTICHOICE_DEPT_STORE_ELEVATOR, 2, FALSE
|
||||
goto EventScript_16C1F3
|
||||
goto CeladonCity_DepartmentStore_Elevator_EventScript_ChooseFloor
|
||||
end
|
||||
|
||||
EventScript_16C1DB:: @ 816C1DB
|
||||
CeladonCity_DepartmentStore_Elevator_EventScript_FloorSelectFrom2F:: @ 816C1DB
|
||||
multichoicedefault 0, 0, MULTICHOICE_DEPT_STORE_ELEVATOR, 3, FALSE
|
||||
goto EventScript_16C1F3
|
||||
goto CeladonCity_DepartmentStore_Elevator_EventScript_ChooseFloor
|
||||
end
|
||||
|
||||
EventScript_16C1E7:: @ 816C1E7
|
||||
CeladonCity_DepartmentStore_Elevator_EventScript_FloorSelectFrom1F:: @ 816C1E7
|
||||
multichoicedefault 0, 0, MULTICHOICE_DEPT_STORE_ELEVATOR, 4, FALSE
|
||||
goto EventScript_16C1F3
|
||||
goto CeladonCity_DepartmentStore_Elevator_EventScript_ChooseFloor
|
||||
end
|
||||
|
||||
EventScript_16C1F3:: @ 816C1F3
|
||||
CeladonCity_DepartmentStore_Elevator_EventScript_ChooseFloor:: @ 816C1F3
|
||||
switch VAR_RESULT
|
||||
case 0, EventScript_16C2E6
|
||||
case 1, EventScript_16C2BE
|
||||
case 2, EventScript_16C296
|
||||
case 3, EventScript_16C26E
|
||||
case 4, EventScript_16C246
|
||||
case 5, EventScript_16C30E
|
||||
case 127, EventScript_16C30E
|
||||
case 0, CeladonCity_DepartmentStore_Elevator_EventScript_To5F
|
||||
case 1, CeladonCity_DepartmentStore_Elevator_EventScript_To4F
|
||||
case 2, CeladonCity_DepartmentStore_Elevator_EventScript_To3F
|
||||
case 3, CeladonCity_DepartmentStore_Elevator_EventScript_To2F
|
||||
case 4, CeladonCity_DepartmentStore_Elevator_EventScript_To1F
|
||||
case 5, CeladonCity_DepartmentStore_Elevator_EventScript_ExitFloorSelect
|
||||
case 127, CeladonCity_DepartmentStore_Elevator_EventScript_ExitFloorSelect
|
||||
end
|
||||
|
||||
EventScript_16C246:: @ 816C246
|
||||
CeladonCity_DepartmentStore_Elevator_EventScript_To1F:: @ 816C246
|
||||
setvar VAR_0x8006, 4
|
||||
setdynamicwarp MAP_CELADON_CITY_DEPARTMENT_STORE_1F, 255, 6, 1
|
||||
compare VAR_ELEVATOR_FLOOR, 4
|
||||
goto_if_eq EventScript_16C30E
|
||||
call EventScript_16C313
|
||||
goto_if_eq CeladonCity_DepartmentStore_Elevator_EventScript_ExitFloorSelect
|
||||
call CeladonCity_DepartmentStore_Elevator_EventScript_MoveElevator
|
||||
setvar VAR_ELEVATOR_FLOOR, 4
|
||||
goto EventScript_16C30E
|
||||
goto CeladonCity_DepartmentStore_Elevator_EventScript_ExitFloorSelect
|
||||
end
|
||||
|
||||
EventScript_16C26E:: @ 816C26E
|
||||
CeladonCity_DepartmentStore_Elevator_EventScript_To2F:: @ 816C26E
|
||||
setvar VAR_0x8006, 5
|
||||
setdynamicwarp MAP_CELADON_CITY_DEPARTMENT_STORE_2F, 255, 6, 1
|
||||
compare VAR_ELEVATOR_FLOOR, 5
|
||||
goto_if_eq EventScript_16C30E
|
||||
call EventScript_16C313
|
||||
goto_if_eq CeladonCity_DepartmentStore_Elevator_EventScript_ExitFloorSelect
|
||||
call CeladonCity_DepartmentStore_Elevator_EventScript_MoveElevator
|
||||
setvar VAR_ELEVATOR_FLOOR, 5
|
||||
goto EventScript_16C30E
|
||||
goto CeladonCity_DepartmentStore_Elevator_EventScript_ExitFloorSelect
|
||||
end
|
||||
|
||||
EventScript_16C296:: @ 816C296
|
||||
CeladonCity_DepartmentStore_Elevator_EventScript_To3F:: @ 816C296
|
||||
setvar VAR_0x8006, 6
|
||||
setdynamicwarp MAP_CELADON_CITY_DEPARTMENT_STORE_3F, 255, 6, 1
|
||||
compare VAR_ELEVATOR_FLOOR, 6
|
||||
goto_if_eq EventScript_16C30E
|
||||
call EventScript_16C313
|
||||
goto_if_eq CeladonCity_DepartmentStore_Elevator_EventScript_ExitFloorSelect
|
||||
call CeladonCity_DepartmentStore_Elevator_EventScript_MoveElevator
|
||||
setvar VAR_ELEVATOR_FLOOR, 6
|
||||
goto EventScript_16C30E
|
||||
goto CeladonCity_DepartmentStore_Elevator_EventScript_ExitFloorSelect
|
||||
end
|
||||
|
||||
EventScript_16C2BE:: @ 816C2BE
|
||||
CeladonCity_DepartmentStore_Elevator_EventScript_To4F:: @ 816C2BE
|
||||
setvar VAR_0x8006, 7
|
||||
setdynamicwarp MAP_CELADON_CITY_DEPARTMENT_STORE_4F, 255, 6, 1
|
||||
compare VAR_ELEVATOR_FLOOR, 7
|
||||
goto_if_eq EventScript_16C30E
|
||||
call EventScript_16C313
|
||||
goto_if_eq CeladonCity_DepartmentStore_Elevator_EventScript_ExitFloorSelect
|
||||
call CeladonCity_DepartmentStore_Elevator_EventScript_MoveElevator
|
||||
setvar VAR_ELEVATOR_FLOOR, 7
|
||||
goto EventScript_16C30E
|
||||
goto CeladonCity_DepartmentStore_Elevator_EventScript_ExitFloorSelect
|
||||
end
|
||||
|
||||
EventScript_16C2E6:: @ 816C2E6
|
||||
CeladonCity_DepartmentStore_Elevator_EventScript_To5F:: @ 816C2E6
|
||||
setvar VAR_0x8006, 8
|
||||
setdynamicwarp MAP_CELADON_CITY_DEPARTMENT_STORE_5F, 255, 6, 1
|
||||
compare VAR_ELEVATOR_FLOOR, 8
|
||||
goto_if_eq EventScript_16C30E
|
||||
call EventScript_16C313
|
||||
goto_if_eq CeladonCity_DepartmentStore_Elevator_EventScript_ExitFloorSelect
|
||||
call CeladonCity_DepartmentStore_Elevator_EventScript_MoveElevator
|
||||
setvar VAR_ELEVATOR_FLOOR, 8
|
||||
goto EventScript_16C30E
|
||||
goto CeladonCity_DepartmentStore_Elevator_EventScript_ExitFloorSelect
|
||||
end
|
||||
|
||||
EventScript_16C30E:: @ 816C30E
|
||||
CeladonCity_DepartmentStore_Elevator_EventScript_ExitFloorSelect:: @ 816C30E
|
||||
special Special_CloseElevatorCurrentFloorWindow
|
||||
releaseall
|
||||
end
|
||||
|
||||
EventScript_16C313:: @ 816C313
|
||||
CeladonCity_DepartmentStore_Elevator_EventScript_MoveElevator:: @ 816C313
|
||||
special Special_CloseElevatorCurrentFloorWindow
|
||||
closemessage
|
||||
waitse
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_DepartmentStore_Roof_EventScript_16C022",
|
||||
"script": "CeladonCity_DepartmentStore_Roof_EventScript_CooltrainerM",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -36,7 +36,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_DepartmentStore_Roof_EventScript_16BCCD",
|
||||
"script": "CeladonCity_DepartmentStore_Roof_EventScript_ThirstyGirl",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
@@ -56,28 +56,28 @@
|
||||
"x": 14,
|
||||
"y": 3,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_DepartmentStore_Roof_EventScript_16C02B"
|
||||
"script": "CeladonCity_DepartmentStore_Roof_EventScript_FloorSign"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 10,
|
||||
"y": 3,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_DepartmentStore_Roof_EventScript_16C034"
|
||||
"script": "CeladonCity_DepartmentStore_Roof_EventScript_VendingMachine"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 11,
|
||||
"y": 3,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_DepartmentStore_Roof_EventScript_16C034"
|
||||
"script": "CeladonCity_DepartmentStore_Roof_EventScript_VendingMachine"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 12,
|
||||
"y": 3,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_DepartmentStore_Roof_EventScript_16C034"
|
||||
"script": "CeladonCity_DepartmentStore_Roof_EventScript_VendingMachine"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,152 +1,152 @@
|
||||
CeladonCity_DepartmentStore_Roof_MapScripts:: @ 816BCCC
|
||||
.byte 0
|
||||
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_16BCCD:: @ 816BCCD
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_ThirstyGirl:: @ 816BCCD
|
||||
goto_if_questlog EventScript_ReleaseEnd
|
||||
special sub_8112364
|
||||
lock
|
||||
faceplayer
|
||||
call EventScript_16BCF6
|
||||
call CeladonCity_DepartmentStore_Roof_EventScript_CheckPlayerHasDrinks
|
||||
compare VAR_TEMP_1, 0
|
||||
goto_if_eq EventScript_16C00E
|
||||
goto EventScript_16BD3E
|
||||
goto_if_eq CeladonCity_DepartmentStore_Roof_EventScript_IWantDrink
|
||||
goto CeladonCity_DepartmentStore_Roof_EventScript_AskGiveDrink
|
||||
end
|
||||
|
||||
EventScript_16BCF6:: @ 816BCF6
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_CheckPlayerHasDrinks:: @ 816BCF6
|
||||
setvar VAR_TEMP_1, 0
|
||||
checkitem ITEM_FRESH_WATER, 1
|
||||
compare VAR_RESULT, TRUE
|
||||
call_if_eq EventScript_16BD2C
|
||||
call_if_eq CeladonCity_DepartmentStore_Roof_EventScript_SetHasFreshWater
|
||||
checkitem ITEM_SODA_POP, 1
|
||||
compare VAR_RESULT, TRUE
|
||||
call_if_eq EventScript_16BD32
|
||||
call_if_eq CeladonCity_DepartmentStore_Roof_EventScript_SetHasSodaPop
|
||||
checkitem ITEM_LEMONADE, 1
|
||||
compare VAR_RESULT, TRUE
|
||||
call_if_eq EventScript_16BD38
|
||||
call_if_eq CeladonCity_DepartmentStore_Roof_EventScript_SetHasLemonade
|
||||
return
|
||||
|
||||
EventScript_16BD2C:: @ 816BD2C
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_SetHasFreshWater:: @ 816BD2C
|
||||
addvar VAR_TEMP_1, 1
|
||||
return
|
||||
|
||||
EventScript_16BD32:: @ 816BD32
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_SetHasSodaPop:: @ 816BD32
|
||||
addvar VAR_TEMP_1, 2
|
||||
return
|
||||
|
||||
EventScript_16BD38:: @ 816BD38
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_SetHasLemonade:: @ 816BD38
|
||||
addvar VAR_TEMP_1, 4
|
||||
return
|
||||
|
||||
EventScript_16BD3E:: @ 816BD3E
|
||||
msgbox gUnknown_8195D22, MSGBOX_YESNO
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_AskGiveDrink:: @ 816BD3E
|
||||
msgbox CeladonCity_DepartmentStore_Roof_Text_ImThirstyGiveHerDrink, MSGBOX_YESNO
|
||||
compare VAR_RESULT, NO
|
||||
goto_if_eq EventScript_16C00C
|
||||
goto_if_eq CeladonCity_DepartmentStore_Roof_EventScript_DontGiveDrink
|
||||
textcolor 3
|
||||
message Text_195D5F
|
||||
message CeladonCity_DepartmentStore_Roof_Text_GiveWhichDrink
|
||||
waitmessage
|
||||
textcolor 1
|
||||
switch VAR_TEMP_1
|
||||
case 1, EventScript_16BDAE
|
||||
case 2, EventScript_16BDDA
|
||||
case 3, EventScript_16BE06
|
||||
case 4, EventScript_16BE3D
|
||||
case 5, EventScript_16BE69
|
||||
case 6, EventScript_16BEA0
|
||||
case 7, EventScript_16BED7
|
||||
case 1, CeladonCity_DepartmentStore_Roof_EventScript_AskGiveFreshWater
|
||||
case 2, CeladonCity_DepartmentStore_Roof_EventScript_AskGiveSodaPop
|
||||
case 3, CeladonCity_DepartmentStore_Roof_EventScript_AskGiveFreshWaterSodaPop
|
||||
case 4, CeladonCity_DepartmentStore_Roof_EventScript_AskGiveLemonade
|
||||
case 5, CeladonCity_DepartmentStore_Roof_EventScript_AskGiveFreshWaterLemonade
|
||||
case 6, CeladonCity_DepartmentStore_Roof_EventScript_AskGiveSodaPopLemonade
|
||||
case 7, CeladonCity_DepartmentStore_Roof_EventScript_AskGiveAllDrinks
|
||||
end
|
||||
|
||||
EventScript_16BDAE:: @ 816BDAE
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_AskGiveFreshWater:: @ 816BDAE
|
||||
multichoice 0, 0, MULTICHOICE_THIRSTY_GIRL_FRESH_WATER, FALSE
|
||||
switch VAR_RESULT
|
||||
case 0, EventScript_16BF19
|
||||
case 1, EventScript_16C00C
|
||||
case 127, EventScript_16C00C
|
||||
case 0, CeladonCity_DepartmentStore_Roof_EventScript_GiveFreshWater
|
||||
case 1, CeladonCity_DepartmentStore_Roof_EventScript_DontGiveDrink
|
||||
case 127, CeladonCity_DepartmentStore_Roof_EventScript_DontGiveDrink
|
||||
end
|
||||
|
||||
EventScript_16BDDA:: @ 816BDDA
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_AskGiveSodaPop:: @ 816BDDA
|
||||
multichoice 0, 0, MULTICHOICE_THIRSTY_GIRL_SODA_POP, FALSE
|
||||
switch VAR_RESULT
|
||||
case 0, EventScript_16BF3A
|
||||
case 1, EventScript_16C00C
|
||||
case 127, EventScript_16C00C
|
||||
case 0, CeladonCity_DepartmentStore_Roof_EventScript_GiveSodaPop
|
||||
case 1, CeladonCity_DepartmentStore_Roof_EventScript_DontGiveDrink
|
||||
case 127, CeladonCity_DepartmentStore_Roof_EventScript_DontGiveDrink
|
||||
end
|
||||
|
||||
EventScript_16BE06:: @ 816BE06
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_AskGiveFreshWaterSodaPop:: @ 816BE06
|
||||
multichoice 0, 0, MULTICHOICE_THIRSTY_GIRL_FRESH_WATER_SODA_POP, FALSE
|
||||
switch VAR_RESULT
|
||||
case 0, EventScript_16BF19
|
||||
case 1, EventScript_16BF3A
|
||||
case 2, EventScript_16C00C
|
||||
case 127, EventScript_16C00C
|
||||
case 0, CeladonCity_DepartmentStore_Roof_EventScript_GiveFreshWater
|
||||
case 1, CeladonCity_DepartmentStore_Roof_EventScript_GiveSodaPop
|
||||
case 2, CeladonCity_DepartmentStore_Roof_EventScript_DontGiveDrink
|
||||
case 127, CeladonCity_DepartmentStore_Roof_EventScript_DontGiveDrink
|
||||
end
|
||||
|
||||
EventScript_16BE3D:: @ 816BE3D
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_AskGiveLemonade:: @ 816BE3D
|
||||
multichoice 0, 0, MULTICHOICE_THIRSTY_GIRL_LEMONADE, FALSE
|
||||
switch VAR_RESULT
|
||||
case 0, EventScript_16BF5B
|
||||
case 1, EventScript_16C00C
|
||||
case 127, EventScript_16C00C
|
||||
case 0, CeladonCity_DepartmentStore_Roof_EventScript_GiveLemonade
|
||||
case 1, CeladonCity_DepartmentStore_Roof_EventScript_DontGiveDrink
|
||||
case 127, CeladonCity_DepartmentStore_Roof_EventScript_DontGiveDrink
|
||||
end
|
||||
|
||||
EventScript_16BE69:: @ 816BE69
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_AskGiveFreshWaterLemonade:: @ 816BE69
|
||||
multichoice 0, 0, MULTICHOICE_THIRSTY_GIRL_FRESH_WATER_LEMONADE, FALSE
|
||||
switch VAR_RESULT
|
||||
case 0, EventScript_16BF19
|
||||
case 1, EventScript_16BF5B
|
||||
case 2, EventScript_16C00C
|
||||
case 127, EventScript_16C00C
|
||||
case 0, CeladonCity_DepartmentStore_Roof_EventScript_GiveFreshWater
|
||||
case 1, CeladonCity_DepartmentStore_Roof_EventScript_GiveLemonade
|
||||
case 2, CeladonCity_DepartmentStore_Roof_EventScript_DontGiveDrink
|
||||
case 127, CeladonCity_DepartmentStore_Roof_EventScript_DontGiveDrink
|
||||
end
|
||||
|
||||
EventScript_16BEA0:: @ 816BEA0
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_AskGiveSodaPopLemonade:: @ 816BEA0
|
||||
multichoice 0, 0, MULTICHOICE_THIRSTY_GIRL_SODA_POP_LEMONADE, FALSE
|
||||
switch VAR_RESULT
|
||||
case 0, EventScript_16BF3A
|
||||
case 1, EventScript_16BF5B
|
||||
case 2, EventScript_16C00C
|
||||
case 127, EventScript_16C00C
|
||||
case 0, CeladonCity_DepartmentStore_Roof_EventScript_GiveSodaPop
|
||||
case 1, CeladonCity_DepartmentStore_Roof_EventScript_GiveLemonade
|
||||
case 2, CeladonCity_DepartmentStore_Roof_EventScript_DontGiveDrink
|
||||
case 127, CeladonCity_DepartmentStore_Roof_EventScript_DontGiveDrink
|
||||
end
|
||||
|
||||
EventScript_16BED7:: @ 816BED7
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_AskGiveAllDrinks:: @ 816BED7
|
||||
multichoice 0, 0, MULTICHOICE_THIRSTY_GIRL_FRESH_WATER_SODA_POP_LEMONADE, FALSE
|
||||
switch VAR_RESULT
|
||||
case 0, EventScript_16BF19
|
||||
case 1, EventScript_16BF3A
|
||||
case 2, EventScript_16BF5B
|
||||
case 3, EventScript_16C00C
|
||||
case 127, EventScript_16C00C
|
||||
case 0, CeladonCity_DepartmentStore_Roof_EventScript_GiveFreshWater
|
||||
case 1, CeladonCity_DepartmentStore_Roof_EventScript_GiveSodaPop
|
||||
case 2, CeladonCity_DepartmentStore_Roof_EventScript_GiveLemonade
|
||||
case 3, CeladonCity_DepartmentStore_Roof_EventScript_DontGiveDrink
|
||||
case 127, CeladonCity_DepartmentStore_Roof_EventScript_DontGiveDrink
|
||||
end
|
||||
|
||||
EventScript_16BF19:: @ 816BF19
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_GiveFreshWater:: @ 816BF19
|
||||
setvar VAR_0x8008, ITEM_FRESH_WATER
|
||||
setvar VAR_0x8009, ITEM_TM16
|
||||
goto_if_set FLAG_GOT_TM16_FROM_THIRSTY_GIRL, EventScript_16C018
|
||||
msgbox gUnknown_8195D75
|
||||
goto EventScript_16BF7C
|
||||
goto_if_set FLAG_GOT_TM16_FROM_THIRSTY_GIRL, CeladonCity_DepartmentStore_Roof_EventScript_NotThirstyAfterAll
|
||||
msgbox CeladonCity_DepartmentStore_Roof_Text_YayFreshWaterHaveThis
|
||||
goto CeladonCity_DepartmentStore_Roof_EventScript_GiveDrink
|
||||
end
|
||||
|
||||
EventScript_16BF3A:: @ 816BF3A
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_GiveSodaPop:: @ 816BF3A
|
||||
setvar VAR_0x8008, ITEM_SODA_POP
|
||||
setvar VAR_0x8009, ITEM_TM20
|
||||
goto_if_set FLAG_GOT_TM20_FROM_THIRSTY_GIRL, EventScript_16C018
|
||||
msgbox gUnknown_8195E33
|
||||
goto EventScript_16BF7C
|
||||
goto_if_set FLAG_GOT_TM20_FROM_THIRSTY_GIRL, CeladonCity_DepartmentStore_Roof_EventScript_NotThirstyAfterAll
|
||||
msgbox CeladonCity_DepartmentStore_Roof_Text_YaySodaPopHaveThis
|
||||
goto CeladonCity_DepartmentStore_Roof_EventScript_GiveDrink
|
||||
end
|
||||
|
||||
EventScript_16BF5B:: @ 816BF5B
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_GiveLemonade:: @ 816BF5B
|
||||
setvar VAR_0x8008, ITEM_LEMONADE
|
||||
setvar VAR_0x8009, ITEM_TM33
|
||||
goto_if_set FLAG_GOT_TM33_FROM_THIRSTY_GIRL, EventScript_16C018
|
||||
msgbox gUnknown_8195EBF
|
||||
goto EventScript_16BF7C
|
||||
goto_if_set FLAG_GOT_TM33_FROM_THIRSTY_GIRL, CeladonCity_DepartmentStore_Roof_EventScript_NotThirstyAfterAll
|
||||
msgbox CeladonCity_DepartmentStore_Roof_Text_YayLemonadeHaveThis
|
||||
goto CeladonCity_DepartmentStore_Roof_EventScript_GiveDrink
|
||||
end
|
||||
|
||||
EventScript_16BF7C:: @ 816BF7C
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_GiveDrink:: @ 816BF7C
|
||||
getitemname 0, VAR_0x8008
|
||||
getitemname 1, VAR_0x8009
|
||||
removeitem VAR_0x8008, 1
|
||||
checkitemspace VAR_0x8009, 1
|
||||
compare VAR_RESULT, FALSE
|
||||
goto_if_eq EventScript_16C002
|
||||
goto_if_eq CeladonCity_DepartmentStore_Roof_EventScript_NoRoomForReward
|
||||
additem VAR_0x8009
|
||||
textcolor 3
|
||||
playfanfare MUS_FANFA1
|
||||
@@ -156,142 +156,142 @@ EventScript_16BF7C:: @ 816BF7C
|
||||
putitemaway VAR_0x8009
|
||||
call EventScript_1A6675
|
||||
compare VAR_0x8008, ITEM_FRESH_WATER
|
||||
call_if_eq EventScript_16BFDE
|
||||
call_if_eq CeladonCity_DepartmentStore_Roof_EventScript_ExplainTM16
|
||||
compare VAR_0x8008, ITEM_SODA_POP
|
||||
call_if_eq EventScript_16BFEA
|
||||
call_if_eq CeladonCity_DepartmentStore_Roof_EventScript_ExplainTM20
|
||||
compare VAR_0x8008, ITEM_LEMONADE
|
||||
call_if_eq EventScript_16BFF6
|
||||
call_if_eq CeladonCity_DepartmentStore_Roof_EventScript_ExplainTM33
|
||||
release
|
||||
end
|
||||
|
||||
EventScript_16BFDE:: @ 816BFDE
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_ExplainTM16:: @ 816BFDE
|
||||
setflag FLAG_GOT_TM16_FROM_THIRSTY_GIRL
|
||||
msgbox gUnknown_8195DD4
|
||||
msgbox CeladonCity_DepartmentStore_Roof_Text_ExplainTM16
|
||||
return
|
||||
|
||||
EventScript_16BFEA:: @ 816BFEA
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_ExplainTM20:: @ 816BFEA
|
||||
setflag FLAG_GOT_TM20_FROM_THIRSTY_GIRL
|
||||
msgbox gUnknown_8195E68
|
||||
msgbox CeladonCity_DepartmentStore_Roof_Text_ExplainTM20
|
||||
return
|
||||
|
||||
EventScript_16BFF6:: @ 816BFF6
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_ExplainTM33:: @ 816BFF6
|
||||
setflag FLAG_GOT_TM33_FROM_THIRSTY_GIRL
|
||||
msgbox gUnknown_8195EF4
|
||||
msgbox CeladonCity_DepartmentStore_Roof_Text_ExplainTM33
|
||||
return
|
||||
|
||||
EventScript_16C002:: @ 816C002
|
||||
msgbox gUnknown_8195F4F
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_NoRoomForReward:: @ 816C002
|
||||
msgbox CeladonCity_DepartmentStore_Roof_Text_DontHaveSpaceForThis
|
||||
release
|
||||
end
|
||||
|
||||
EventScript_16C00C:: @ 816C00C
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_DontGiveDrink:: @ 816C00C
|
||||
release
|
||||
end
|
||||
|
||||
EventScript_16C00E:: @ 816C00E
|
||||
msgbox gUnknown_8195FEF
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_IWantDrink:: @ 816C00E
|
||||
msgbox CeladonCity_DepartmentStore_Roof_Text_ImThirstyIWantDrink
|
||||
release
|
||||
end
|
||||
|
||||
EventScript_16C018:: @ 816C018
|
||||
msgbox gUnknown_8195F6E
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_NotThirstyAfterAll:: @ 816C018
|
||||
msgbox CeladonCity_DepartmentStore_Roof_Text_ImNotThirstyAfterAll
|
||||
release
|
||||
end
|
||||
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_16C022:: @ 816C022
|
||||
msgbox gUnknown_8195F98, MSGBOX_NPC
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_CooltrainerM:: @ 816C022
|
||||
msgbox CeladonCity_DepartmentStore_Roof_Text_MySisterIsImmature, MSGBOX_NPC
|
||||
end
|
||||
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_16C02B:: @ 816C02B
|
||||
msgbox gUnknown_8196017, MSGBOX_SIGN
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_FloorSign:: @ 816C02B
|
||||
msgbox CeladonCity_DepartmentStore_Roof_Text_FloorSign, MSGBOX_SIGN
|
||||
end
|
||||
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_16C034:: @ 816C034
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_VendingMachine:: @ 816C034
|
||||
lockall
|
||||
message Text_196038
|
||||
message CeladonCity_DepartmentStore_Roof_Text_VendingMachineWhatDoesItHave
|
||||
waitmessage
|
||||
showmoneybox 0, 0, 0
|
||||
goto EventScript_16C045
|
||||
goto CeladonCity_DepartmentStore_Roof_EventScript_ChooseDrink
|
||||
end
|
||||
|
||||
EventScript_16C045:: @ 816C045
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_ChooseDrink:: @ 816C045
|
||||
multichoice 12, 0, MULTICHOICE_CELADON_VENDING_MACHINE, FALSE
|
||||
copyvar VAR_TEMP_1, VAR_RESULT
|
||||
switch VAR_TEMP_1
|
||||
case 0, EventScript_16C083
|
||||
case 1, EventScript_16C094
|
||||
case 2, EventScript_16C0A5
|
||||
msgbox gUnknown_81960AE
|
||||
goto EventScript_16C14D
|
||||
case 0, CeladonCity_DepartmentStore_Roof_EventScript_BuyFreshWater
|
||||
case 1, CeladonCity_DepartmentStore_Roof_EventScript_BuySodaPop
|
||||
case 2, CeladonCity_DepartmentStore_Roof_EventScript_BuyLemonade
|
||||
msgbox CeladonCity_DepartmentStore_Roof_Text_NotThirsty
|
||||
goto CeladonCity_DepartmentStore_Roof_EventScript_ExitVendingMachine
|
||||
end
|
||||
|
||||
EventScript_16C083:: @ 816C083
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_BuyFreshWater:: @ 816C083
|
||||
setvar VAR_TEMP_0, ITEM_FRESH_WATER
|
||||
checkmoney 200, 0
|
||||
goto EventScript_16C0CB
|
||||
goto CeladonCity_DepartmentStore_Roof_EventScript_TryBuyDrink
|
||||
end
|
||||
|
||||
EventScript_16C094:: @ 816C094
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_BuySodaPop:: @ 816C094
|
||||
setvar VAR_TEMP_0, ITEM_SODA_POP
|
||||
checkmoney 300, 0
|
||||
goto EventScript_16C0CB
|
||||
goto CeladonCity_DepartmentStore_Roof_EventScript_TryBuyDrink
|
||||
end
|
||||
|
||||
EventScript_16C0A5:: @ 816C0A5
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_BuyLemonade:: @ 816C0A5
|
||||
setvar VAR_TEMP_0, ITEM_LEMONADE
|
||||
checkmoney 350, 0
|
||||
goto EventScript_16C0CB
|
||||
goto CeladonCity_DepartmentStore_Roof_EventScript_TryBuyDrink
|
||||
end
|
||||
|
||||
EventScript_16C0B6:: @ 816C0B6
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_RemoveMoneyFreshWater:: @ 816C0B6
|
||||
removemoney 200, 0
|
||||
return
|
||||
|
||||
EventScript_16C0BD:: @ 816C0BD
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_RemoveMoneySodaPop:: @ 816C0BD
|
||||
removemoney 300, 0
|
||||
return
|
||||
|
||||
EventScript_16C0C4:: @ 816C0C4
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_RemoveMoneyLemonade:: @ 816C0C4
|
||||
removemoney 350, 0
|
||||
return
|
||||
|
||||
EventScript_16C0CB:: @ 816C0CB
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_TryBuyDrink:: @ 816C0CB
|
||||
compare VAR_RESULT, FALSE
|
||||
goto_if_eq EventScript_16C131
|
||||
goto_if_eq CeladonCity_DepartmentStore_Roof_EventScript_NotEnoughMoney
|
||||
checkitemspace VAR_TEMP_0, 1
|
||||
compare VAR_RESULT, FALSE
|
||||
goto_if_eq EventScript_16C13F
|
||||
goto_if_eq CeladonCity_DepartmentStore_Roof_EventScript_NoRoomForDrink
|
||||
compare VAR_TEMP_1, 0
|
||||
call_if_eq EventScript_16C0B6
|
||||
call_if_eq CeladonCity_DepartmentStore_Roof_EventScript_RemoveMoneyFreshWater
|
||||
compare VAR_TEMP_1, 1
|
||||
call_if_eq EventScript_16C0BD
|
||||
call_if_eq CeladonCity_DepartmentStore_Roof_EventScript_RemoveMoneySodaPop
|
||||
compare VAR_TEMP_1, 2
|
||||
call_if_eq EventScript_16C0C4
|
||||
call_if_eq CeladonCity_DepartmentStore_Roof_EventScript_RemoveMoneyLemonade
|
||||
updatemoneybox 0, 0, 0
|
||||
getitemname 0, VAR_TEMP_0
|
||||
playse SE_JIHANKI
|
||||
msgbox gUnknown_8196076
|
||||
msgbox CeladonCity_DepartmentStore_Roof_Text_DrinkCanPoppedOut
|
||||
additem VAR_TEMP_0
|
||||
goto EventScript_16C125
|
||||
goto CeladonCity_DepartmentStore_Roof_EventScript_ChooseNewDrink
|
||||
end
|
||||
|
||||
EventScript_16C125:: @ 816C125
|
||||
message Text_196038
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_ChooseNewDrink:: @ 816C125
|
||||
message CeladonCity_DepartmentStore_Roof_Text_VendingMachineWhatDoesItHave
|
||||
waitmessage
|
||||
goto EventScript_16C045
|
||||
goto CeladonCity_DepartmentStore_Roof_EventScript_ChooseDrink
|
||||
end
|
||||
|
||||
EventScript_16C131:: @ 816C131
|
||||
msgbox gUnknown_819605E
|
||||
goto EventScript_16C14D
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_NotEnoughMoney:: @ 816C131
|
||||
msgbox CeladonCity_DepartmentStore_Roof_Text_NotEnoughMoney
|
||||
goto CeladonCity_DepartmentStore_Roof_EventScript_ExitVendingMachine
|
||||
end
|
||||
|
||||
EventScript_16C13F:: @ 816C13F
|
||||
msgbox gUnknown_819608E
|
||||
goto EventScript_16C14D
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_NoRoomForDrink:: @ 816C13F
|
||||
msgbox CeladonCity_DepartmentStore_Roof_Text_NoMoreRoomForStuff
|
||||
goto CeladonCity_DepartmentStore_Roof_EventScript_ExitVendingMachine
|
||||
end
|
||||
|
||||
EventScript_16C14D:: @ 816C14D
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_ExitVendingMachine:: @ 816C14D
|
||||
hidemoneybox 0, 0
|
||||
releaseall
|
||||
end
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
gUnknown_8195D22:: @ 8195D22
|
||||
CeladonCity_DepartmentStore_Roof_Text_ImThirstyGiveHerDrink:: @ 8195D22
|
||||
.string "I'm thirsty!\n"
|
||||
.string "I want something to drink!\p"
|
||||
.string "{SIZE}ÁGive her a drink?$"
|
||||
|
||||
Text_195D5F:: @ 8195D5F
|
||||
CeladonCity_DepartmentStore_Roof_Text_GiveWhichDrink:: @ 8195D5F
|
||||
.string "Give her which drink?$"
|
||||
|
||||
gUnknown_8195D75:: @ 8195D75
|
||||
CeladonCity_DepartmentStore_Roof_Text_YayFreshWaterHaveThis:: @ 8195D75
|
||||
.string "Yay!\p"
|
||||
.string "FRESH WATER!\p"
|
||||
.string "Thank you!\n"
|
||||
@@ -16,67 +16,67 @@ Text_ReceivedItemFromLittleGirl:: @ 8195DAD
|
||||
.string "{PLAYER} received a {STR_VAR_2}\n"
|
||||
.string "from the little girl.$"
|
||||
|
||||
gUnknown_8195DD4:: @ 8195DD4
|
||||
CeladonCity_DepartmentStore_Roof_Text_ExplainTM16:: @ 8195DD4
|
||||
.string "TM16 contains LIGHT SCREEN.\p"
|
||||
.string "It's a move that weakens the power\n"
|
||||
.string "of special attacks by your foe.$"
|
||||
|
||||
gUnknown_8195E33:: @ 8195E33
|
||||
CeladonCity_DepartmentStore_Roof_Text_YaySodaPopHaveThis:: @ 8195E33
|
||||
.string "Yay!\p"
|
||||
.string "SODA POP!\p"
|
||||
.string "Thank you!\n"
|
||||
.string "You can have this from me!$"
|
||||
|
||||
gUnknown_8195E68:: @ 8195E68
|
||||
CeladonCity_DepartmentStore_Roof_Text_ExplainTM20:: @ 8195E68
|
||||
.string "TM20 contains SAFEGUARD.\p"
|
||||
.string "It's a move that prevents status\n"
|
||||
.string "problems among your POKéMON.$"
|
||||
|
||||
gUnknown_8195EBF:: @ 8195EBF
|
||||
CeladonCity_DepartmentStore_Roof_Text_YayLemonadeHaveThis:: @ 8195EBF
|
||||
.string "Yay!\p"
|
||||
.string "LEMONADE!\p"
|
||||
.string "Thank you!\n"
|
||||
.string "You can have this from me!$"
|
||||
|
||||
gUnknown_8195EF4:: @ 8195EF4
|
||||
CeladonCity_DepartmentStore_Roof_Text_ExplainTM33:: @ 8195EF4
|
||||
.string "TM33 contains REFLECT.\p"
|
||||
.string "It's a move that weakens the power\n"
|
||||
.string "of physical attacks by your foe.$"
|
||||
|
||||
gUnknown_8195F4F:: @ 8195F4F
|
||||
CeladonCity_DepartmentStore_Roof_Text_DontHaveSpaceForThis:: @ 8195F4F
|
||||
.string "You don't have space for this!$"
|
||||
|
||||
gUnknown_8195F6E:: @ 8195F6E
|
||||
CeladonCity_DepartmentStore_Roof_Text_ImNotThirstyAfterAll:: @ 8195F6E
|
||||
.string "No, thank you!\n"
|
||||
.string "I'm not thirsty after all!$"
|
||||
|
||||
gUnknown_8195F98:: @ 8195F98
|
||||
CeladonCity_DepartmentStore_Roof_Text_MySisterIsImmature:: @ 8195F98
|
||||
.string "My sister is a TRAINER, believe it\n"
|
||||
.string "or not.\p"
|
||||
.string "But, she's so immature, she drives\n"
|
||||
.string "me nuts!$"
|
||||
|
||||
gUnknown_8195FEF:: @ 8195FEF
|
||||
CeladonCity_DepartmentStore_Roof_Text_ImThirstyIWantDrink:: @ 8195FEF
|
||||
.string "I'm thirsty!\n"
|
||||
.string "I want something to drink!$"
|
||||
|
||||
gUnknown_8196017:: @ 8196017
|
||||
CeladonCity_DepartmentStore_Roof_Text_FloorSign:: @ 8196017
|
||||
.string "ROOFTOP SQUARE:\n"
|
||||
.string "VENDING MACHINES$"
|
||||
|
||||
Text_196038:: @ 8196038
|
||||
CeladonCity_DepartmentStore_Roof_Text_VendingMachineWhatDoesItHave:: @ 8196038
|
||||
.string "A vending machine!\n"
|
||||
.string "What does it have?$"
|
||||
|
||||
gUnknown_819605E:: @ 819605E
|
||||
CeladonCity_DepartmentStore_Roof_Text_NotEnoughMoney:: @ 819605E
|
||||
.string "Oops, not enough money!$"
|
||||
|
||||
gUnknown_8196076:: @ 8196076
|
||||
CeladonCity_DepartmentStore_Roof_Text_DrinkCanPoppedOut:: @ 8196076
|
||||
.string "A can of {STR_VAR_1} popped out!$"
|
||||
|
||||
gUnknown_819608E:: @ 819608E
|
||||
CeladonCity_DepartmentStore_Roof_Text_NoMoreRoomForStuff:: @ 819608E
|
||||
.string "There's no more room for stuff!$"
|
||||
|
||||
gUnknown_81960AE:: @ 81960AE
|
||||
CeladonCity_DepartmentStore_Roof_Text_NotThirsty:: @ 81960AE
|
||||
.string "Not thirsty!$"
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_GameCorner_EventScript_16C684",
|
||||
"script": "CeladonCity_GameCorner_EventScript_InfoClerk",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -36,7 +36,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_GameCorner_EventScript_16C68D",
|
||||
"script": "CeladonCity_GameCorner_EventScript_CoinsClerk",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -49,7 +49,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_GameCorner_EventScript_16C7BA",
|
||||
"script": "CeladonCity_GameCorner_EventScript_BaldingMan",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -62,7 +62,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_GameCorner_EventScript_16C7D7",
|
||||
"script": "CeladonCity_GameCorner_EventScript_Woman1",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -75,7 +75,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_GameCorner_EventScript_16C7E7",
|
||||
"script": "CeladonCity_GameCorner_EventScript_Fisher",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -88,7 +88,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_GameCorner_EventScript_16C857",
|
||||
"script": "CeladonCity_GameCorner_EventScript_GymGuy",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -101,7 +101,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_GameCorner_EventScript_16C87E",
|
||||
"script": "CeladonCity_GameCorner_EventScript_Woman2",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -114,7 +114,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_GameCorner_EventScript_16C88E",
|
||||
"script": "CeladonCity_GameCorner_EventScript_OldMan",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -127,7 +127,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_GameCorner_EventScript_16C89E",
|
||||
"script": "CeladonCity_GameCorner_EventScript_Scientist",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -140,7 +140,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_GameCorner_EventScript_16C8FE",
|
||||
"script": "CeladonCity_GameCorner_EventScript_Gentleman",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -153,7 +153,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 1,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_GameCorner_EventScript_16CAF5",
|
||||
"script": "CeladonCity_GameCorner_EventScript_RocketGrunt",
|
||||
"flag": "FLAG_HIDE_GAME_CORNER_ROCKET"
|
||||
}
|
||||
],
|
||||
@@ -314,168 +314,168 @@
|
||||
"x": 0,
|
||||
"y": 7,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_GameCorner_EventScript_16C95E"
|
||||
"script": "CeladonCity_GameCorner_EventScript_SlotMachine0"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_4",
|
||||
"x": 0,
|
||||
"y": 9,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_GameCorner_EventScript_16C9A4"
|
||||
"script": "CeladonCity_GameCorner_EventScript_SlotMachine1"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_4",
|
||||
"x": 0,
|
||||
"y": 10,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_GameCorner_EventScript_16C9B0"
|
||||
"script": "CeladonCity_GameCorner_EventScript_SlotMachine2"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_3",
|
||||
"x": 5,
|
||||
"y": 6,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_GameCorner_EventScript_16C9BC"
|
||||
"script": "CeladonCity_GameCorner_EventScript_SlotMachine3"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_3",
|
||||
"x": 5,
|
||||
"y": 8,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_GameCorner_EventScript_16CB5A"
|
||||
"script": "CeladonCity_GameCorner_EventScript_UnusableSlotMachine1"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_3",
|
||||
"x": 5,
|
||||
"y": 9,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_GameCorner_EventScript_16C9D4"
|
||||
"script": "CeladonCity_GameCorner_EventScript_SlotMachine5"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_3",
|
||||
"x": 5,
|
||||
"y": 10,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_GameCorner_EventScript_16C9E0"
|
||||
"script": "CeladonCity_GameCorner_EventScript_SlotMachine6"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_4",
|
||||
"x": 6,
|
||||
"y": 6,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_GameCorner_EventScript_16C9EC"
|
||||
"script": "CeladonCity_GameCorner_EventScript_SlotMachine7"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_4",
|
||||
"x": 6,
|
||||
"y": 7,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_GameCorner_EventScript_16C9F8"
|
||||
"script": "CeladonCity_GameCorner_EventScript_SlotMachine8"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_4",
|
||||
"x": 6,
|
||||
"y": 9,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_GameCorner_EventScript_16CA04"
|
||||
"script": "CeladonCity_GameCorner_EventScript_SlotMachine9"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_3",
|
||||
"x": 11,
|
||||
"y": 6,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_GameCorner_EventScript_16CA10"
|
||||
"script": "CeladonCity_GameCorner_EventScript_SlotMachine10"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_3",
|
||||
"x": 11,
|
||||
"y": 7,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_GameCorner_EventScript_16CA1C"
|
||||
"script": "CeladonCity_GameCorner_EventScript_SlotMachine11"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_3",
|
||||
"x": 11,
|
||||
"y": 8,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_GameCorner_EventScript_16CA28"
|
||||
"script": "CeladonCity_GameCorner_EventScript_SlotMachine12"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_3",
|
||||
"x": 11,
|
||||
"y": 10,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_GameCorner_EventScript_16CA34"
|
||||
"script": "CeladonCity_GameCorner_EventScript_SlotMachine13"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_4",
|
||||
"x": 12,
|
||||
"y": 6,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_GameCorner_EventScript_16CA40"
|
||||
"script": "CeladonCity_GameCorner_EventScript_SlotMachine14"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_4",
|
||||
"x": 12,
|
||||
"y": 8,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_GameCorner_EventScript_16CB63"
|
||||
"script": "CeladonCity_GameCorner_EventScript_UnusableSlotMachine2"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_4",
|
||||
"x": 12,
|
||||
"y": 9,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_GameCorner_EventScript_16CA58"
|
||||
"script": "CeladonCity_GameCorner_EventScript_SlotMachine16"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_4",
|
||||
"x": 12,
|
||||
"y": 10,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_GameCorner_EventScript_16CA64"
|
||||
"script": "CeladonCity_GameCorner_EventScript_SlotMachine17"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_3",
|
||||
"x": 17,
|
||||
"y": 6,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_GameCorner_EventScript_16CB6C"
|
||||
"script": "CeladonCity_GameCorner_EventScript_UnusableSlotMachine3"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_3",
|
||||
"x": 17,
|
||||
"y": 7,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_GameCorner_EventScript_16CA7C"
|
||||
"script": "CeladonCity_GameCorner_EventScript_SlotMachine19"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_3",
|
||||
"x": 17,
|
||||
"y": 8,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_GameCorner_EventScript_16CA88"
|
||||
"script": "CeladonCity_GameCorner_EventScript_SlotMachine20"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_3",
|
||||
"x": 17,
|
||||
"y": 9,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_GameCorner_EventScript_16CA94"
|
||||
"script": "CeladonCity_GameCorner_EventScript_SlotMachine21"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 11,
|
||||
"y": 1,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_GameCorner_EventScript_16CAAA"
|
||||
"script": "CeladonCity_GameCorner_EventScript_Poster"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_3",
|
||||
"x": 17,
|
||||
"y": 13,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_GameCorner_EventScript_1B2867"
|
||||
"script": "CeladonCity_GameCorner_EventScript_PhotoPrinter"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -3,443 +3,443 @@ CeladonCity_GameCorner_MapScripts:: @ 816C646
|
||||
.byte 0
|
||||
|
||||
CeladonCity_GameCorner_OnLoad:: @ 816C64C
|
||||
call_if_unset FLAG_OPENED_ROCKET_HIDEOUT, EventScript_16C656
|
||||
call_if_unset FLAG_OPENED_ROCKET_HIDEOUT, CeladonCity_GameCorner_EventScript_HideRocketHideout
|
||||
end
|
||||
|
||||
EventScript_16C656:: @ 816C656
|
||||
setmetatile 15, 2, 658, 0
|
||||
setmetatile 16, 2, 658, 0
|
||||
setmetatile 17, 2, 658, 0
|
||||
setmetatile 16, 3, 719, 1
|
||||
setmetatile 17, 3, 719, 1
|
||||
CeladonCity_GameCorner_EventScript_HideRocketHideout:: @ 816C656
|
||||
setmetatile 15, 2, METATILE_GameCorner_Floor_ShadeFull, 0
|
||||
setmetatile 16, 2, METATILE_GameCorner_Floor_ShadeFull, 0
|
||||
setmetatile 17, 2, METATILE_GameCorner_Floor_ShadeFull, 0
|
||||
setmetatile 16, 3, METATILE_GameCorner_PurpleWall_Floor, 1
|
||||
setmetatile 17, 3, METATILE_GameCorner_PurpleWall_Floor, 1
|
||||
return
|
||||
|
||||
CeladonCity_GameCorner_EventScript_16C684:: @ 816C684
|
||||
msgbox gUnknown_8196940, MSGBOX_NPC
|
||||
CeladonCity_GameCorner_EventScript_InfoClerk:: @ 816C684
|
||||
msgbox CeladonCity_GameCorner_Text_CanExchangeCoinsNextDoor, MSGBOX_NPC
|
||||
end
|
||||
|
||||
CeladonCity_GameCorner_EventScript_16C68D:: @ 816C68D
|
||||
CeladonCity_GameCorner_EventScript_CoinsClerk:: @ 816C68D
|
||||
goto_if_questlog EventScript_ReleaseEnd
|
||||
lock
|
||||
faceplayer
|
||||
showmoneybox 0, 0, 0
|
||||
showcoinsbox 0, 5
|
||||
message Text_196984
|
||||
message CeladonCity_GameCorner_Text_WelcomeBuySomeCoins
|
||||
waitmessage
|
||||
multichoice 13, 0, MULTICHOICE_GAME_CORNER_COIN_PURCHASE_COUNTER, FALSE
|
||||
copyvar VAR_0x8009, VAR_RESULT
|
||||
switch VAR_RESULT
|
||||
case 0, EventScript_16C6E6
|
||||
case 1, EventScript_16C6E6
|
||||
case 2, EventScript_16C782
|
||||
case 127, EventScript_16C782
|
||||
case 0, CeladonCity_GameCorner_EventScript_BuyCoins
|
||||
case 1, CeladonCity_GameCorner_EventScript_BuyCoins
|
||||
case 2, CeladonCity_GameCorner_EventScript_ClerkDeclineBuy
|
||||
case 127, CeladonCity_GameCorner_EventScript_ClerkDeclineBuy
|
||||
end
|
||||
|
||||
EventScript_16C6E6:: @ 816C6E6
|
||||
goto_if_unset FLAG_GOT_COIN_CASE, EventScript_16C790
|
||||
CeladonCity_GameCorner_EventScript_BuyCoins:: @ 816C6E6
|
||||
goto_if_unset FLAG_GOT_COIN_CASE, CeladonCity_GameCorner_EventScript_ClerkNoCoinCase
|
||||
compare VAR_0x8009, 0
|
||||
goto_if_eq EventScript_16C734
|
||||
goto_if_eq CeladonCity_GameCorner_EventScript_Buy50Coins
|
||||
compare VAR_0x8009, 1
|
||||
goto_if_eq EventScript_16C706
|
||||
goto_if_eq CeladonCity_GameCorner_EventScript_Buy500Coins
|
||||
end
|
||||
|
||||
EventScript_16C706:: @ 816C706
|
||||
CeladonCity_GameCorner_EventScript_Buy500Coins:: @ 816C706
|
||||
checkcoins VAR_TEMP_1
|
||||
compare VAR_TEMP_1, 9500
|
||||
goto_if_ge EventScript_16C79E
|
||||
compare VAR_TEMP_1, (MAX_COINS + 1) - 500
|
||||
goto_if_ge CeladonCity_GameCorner_EventScript_ClerkNoRoomForCoins
|
||||
checkmoney 10000, 0
|
||||
compare VAR_RESULT, FALSE
|
||||
goto_if_eq EventScript_16C7AC
|
||||
goto_if_eq CeladonCity_GameCorner_EventScript_ClerkNotEnoughMoney
|
||||
addcoins 500
|
||||
removemoney 10000, 0
|
||||
goto EventScript_16C762
|
||||
goto CeladonCity_GameCorner_EventScript_BoughtCoins
|
||||
end
|
||||
|
||||
EventScript_16C734:: @ 816C734
|
||||
CeladonCity_GameCorner_EventScript_Buy50Coins:: @ 816C734
|
||||
checkcoins VAR_TEMP_1
|
||||
compare VAR_TEMP_1, 9950
|
||||
goto_if_ge EventScript_16C79E
|
||||
compare VAR_TEMP_1, (MAX_COINS + 1) - 50
|
||||
goto_if_ge CeladonCity_GameCorner_EventScript_ClerkNoRoomForCoins
|
||||
checkmoney 1000, 0
|
||||
compare VAR_RESULT, FALSE
|
||||
goto_if_eq EventScript_16C7AC
|
||||
goto_if_eq CeladonCity_GameCorner_EventScript_ClerkNotEnoughMoney
|
||||
addcoins 50
|
||||
removemoney 1000, 0
|
||||
goto EventScript_16C762
|
||||
goto CeladonCity_GameCorner_EventScript_BoughtCoins
|
||||
end
|
||||
|
||||
EventScript_16C762:: @ 816C762
|
||||
CeladonCity_GameCorner_EventScript_BoughtCoins:: @ 816C762
|
||||
updatemoneybox 0, 0, 0
|
||||
updatecoinsbox 0, 5
|
||||
playse SE_SHOP
|
||||
msgbox gUnknown_8196A62
|
||||
goto EventScript_16C77A
|
||||
msgbox CeladonCity_GameCorner_Text_HereAreYourCoins
|
||||
goto CeladonCity_GameCorner_EventScript_ClerkEnd
|
||||
end
|
||||
|
||||
EventScript_16C77A:: @ 816C77A
|
||||
CeladonCity_GameCorner_EventScript_ClerkEnd:: @ 816C77A
|
||||
hidemoneybox 0, 0
|
||||
hidecoinsbox 0, 5
|
||||
release
|
||||
end
|
||||
|
||||
EventScript_16C782:: @ 816C782
|
||||
msgbox gUnknown_81969DC
|
||||
goto EventScript_16C77A
|
||||
CeladonCity_GameCorner_EventScript_ClerkDeclineBuy:: @ 816C782
|
||||
msgbox CeladonCity_GameCorner_Text_ComePlaySometime
|
||||
goto CeladonCity_GameCorner_EventScript_ClerkEnd
|
||||
end
|
||||
|
||||
EventScript_16C790:: @ 816C790
|
||||
msgbox gUnknown_81969FB
|
||||
goto EventScript_16C77A
|
||||
CeladonCity_GameCorner_EventScript_ClerkNoCoinCase:: @ 816C790
|
||||
msgbox CeladonCity_GameCorner_Text_SorryDontHaveCoinCase
|
||||
goto CeladonCity_GameCorner_EventScript_ClerkEnd
|
||||
end
|
||||
|
||||
EventScript_16C79E:: @ 816C79E
|
||||
msgbox gUnknown_8196A26
|
||||
goto EventScript_16C77A
|
||||
CeladonCity_GameCorner_EventScript_ClerkNoRoomForCoins:: @ 816C79E
|
||||
msgbox CeladonCity_GameCorner_Text_CoinCaseIsFull
|
||||
goto CeladonCity_GameCorner_EventScript_ClerkEnd
|
||||
end
|
||||
|
||||
EventScript_16C7AC:: @ 816C7AC
|
||||
msgbox gUnknown_8196A46
|
||||
goto EventScript_16C77A
|
||||
CeladonCity_GameCorner_EventScript_ClerkNotEnoughMoney:: @ 816C7AC
|
||||
msgbox CeladonCity_GameCorner_Text_CantAffordCoins
|
||||
goto CeladonCity_GameCorner_EventScript_ClerkEnd
|
||||
end
|
||||
|
||||
CeladonCity_GameCorner_EventScript_16C7BA:: @ 816C7BA
|
||||
CeladonCity_GameCorner_EventScript_BaldingMan:: @ 816C7BA
|
||||
lock
|
||||
faceplayer
|
||||
msgbox gUnknown_8196A82
|
||||
goto EventScript_16C7CA
|
||||
msgbox CeladonCity_GameCorner_Text_RumoredTeamRocketRunsThisPlace
|
||||
goto CeladonCity_GameCorner_EventScript_FaceSlotMachine
|
||||
end
|
||||
|
||||
EventScript_16C7CA:: @ 816C7CA
|
||||
CeladonCity_GameCorner_EventScript_FaceSlotMachine:: @ 816C7CA
|
||||
closemessage
|
||||
applymovement VAR_LAST_TALKED, Movement_FaceOriginalDirection
|
||||
waitmovement 0
|
||||
release
|
||||
end
|
||||
|
||||
CeladonCity_GameCorner_EventScript_16C7D7:: @ 816C7D7
|
||||
CeladonCity_GameCorner_EventScript_Woman1:: @ 816C7D7
|
||||
lock
|
||||
faceplayer
|
||||
msgbox gUnknown_8196AC7
|
||||
goto EventScript_16C7CA
|
||||
msgbox CeladonCity_GameCorner_Text_ThinkMachinesHaveDifferentOdds
|
||||
goto CeladonCity_GameCorner_EventScript_FaceSlotMachine
|
||||
end
|
||||
|
||||
CeladonCity_GameCorner_EventScript_16C7E7:: @ 816C7E7
|
||||
CeladonCity_GameCorner_EventScript_Fisher:: @ 816C7E7
|
||||
lock
|
||||
faceplayer
|
||||
goto_if_set FLAG_GOT_10_COINS_FROM_GAMBLER, EventScript_16C849
|
||||
msgbox gUnknown_8196AF3
|
||||
goto_if_unset FLAG_GOT_COIN_CASE, EventScript_16C839
|
||||
goto_if_set FLAG_GOT_10_COINS_FROM_GAMBLER, CeladonCity_GameCorner_EventScript_FisherAlreadyGotCoins
|
||||
msgbox CeladonCity_GameCorner_Text_DoYouWantToPlay
|
||||
goto_if_unset FLAG_GOT_COIN_CASE, CeladonCity_GameCorner_EventScript_GamblerNoCoinCase
|
||||
checkcoins VAR_TEMP_1
|
||||
compare VAR_TEMP_1, 9990
|
||||
goto_if_ge EventScript_16C82B
|
||||
compare VAR_TEMP_1, (MAX_COINS + 1) - 10
|
||||
goto_if_ge CeladonCity_GameCorner_EventScript_FisherNoRoomForCoins
|
||||
addcoins 10
|
||||
textcolor 3
|
||||
msgbox gUnknown_8196B0D
|
||||
msgbox CeladonCity_GameCorner_Text_Received10CoinsFromMan
|
||||
playse SE_SHOP
|
||||
waitse
|
||||
setflag FLAG_GOT_10_COINS_FROM_GAMBLER
|
||||
goto EventScript_16C7CA
|
||||
goto CeladonCity_GameCorner_EventScript_FaceSlotMachine
|
||||
end
|
||||
|
||||
EventScript_16C82B:: @ 816C82B
|
||||
msgbox gUnknown_8196B30
|
||||
goto EventScript_16C7CA
|
||||
CeladonCity_GameCorner_EventScript_FisherNoRoomForCoins:: @ 816C82B
|
||||
msgbox CeladonCity_GameCorner_Text_DontNeedMyCoins
|
||||
goto CeladonCity_GameCorner_EventScript_FaceSlotMachine
|
||||
end
|
||||
|
||||
EventScript_16C839:: @ 816C839
|
||||
CeladonCity_GameCorner_EventScript_GamblerNoCoinCase:: @ 816C839
|
||||
textcolor 3
|
||||
msgbox gUnknown_8196F26
|
||||
goto EventScript_16C7CA
|
||||
msgbox CeladonCity_GameCorner_Text_DontHaveCoinCase
|
||||
goto CeladonCity_GameCorner_EventScript_FaceSlotMachine
|
||||
end
|
||||
|
||||
EventScript_16C849:: @ 816C849
|
||||
msgbox gUnknown_8196B49
|
||||
goto EventScript_16C7CA
|
||||
CeladonCity_GameCorner_EventScript_FisherAlreadyGotCoins:: @ 816C849
|
||||
msgbox CeladonCity_GameCorner_Text_WinsComeAndGo
|
||||
goto CeladonCity_GameCorner_EventScript_FaceSlotMachine
|
||||
end
|
||||
|
||||
CeladonCity_GameCorner_EventScript_16C857:: @ 816C857
|
||||
CeladonCity_GameCorner_EventScript_GymGuy:: @ 816C857
|
||||
lock
|
||||
faceplayer
|
||||
goto_if_set FLAG_DEFEATED_ERIKA, EventScript_16C870
|
||||
msgbox gUnknown_8196BAD
|
||||
goto EventScript_16C7CA
|
||||
goto_if_set FLAG_DEFEATED_ERIKA, CeladonCity_GameCorner_EventScript_GymGuyPostVictory
|
||||
msgbox CeladonCity_GameCorner_Text_GymGuyAdvice
|
||||
goto CeladonCity_GameCorner_EventScript_FaceSlotMachine
|
||||
end
|
||||
|
||||
EventScript_16C870:: @ 816C870
|
||||
msgbox gUnknown_8196CA1
|
||||
goto EventScript_16C7CA
|
||||
CeladonCity_GameCorner_EventScript_GymGuyPostVictory:: @ 816C870
|
||||
msgbox CeladonCity_GameCorner_Text_RareMonsForCoins
|
||||
goto CeladonCity_GameCorner_EventScript_FaceSlotMachine
|
||||
end
|
||||
|
||||
CeladonCity_GameCorner_EventScript_16C87E:: @ 816C87E
|
||||
CeladonCity_GameCorner_EventScript_Woman2:: @ 816C87E
|
||||
lock
|
||||
faceplayer
|
||||
msgbox gUnknown_8196B7B
|
||||
goto EventScript_16C7CA
|
||||
msgbox CeladonCity_GameCorner_Text_WinOrLoseItsOnlyLuck
|
||||
goto CeladonCity_GameCorner_EventScript_FaceSlotMachine
|
||||
end
|
||||
|
||||
CeladonCity_GameCorner_EventScript_16C88E:: @ 816C88E
|
||||
CeladonCity_GameCorner_EventScript_OldMan:: @ 816C88E
|
||||
lock
|
||||
faceplayer
|
||||
msgbox gUnknown_8196CFE
|
||||
goto EventScript_16C7CA
|
||||
msgbox CeladonCity_GameCorner_Text_SoEasyToGetHooked
|
||||
goto CeladonCity_GameCorner_EventScript_FaceSlotMachine
|
||||
end
|
||||
|
||||
CeladonCity_GameCorner_EventScript_16C89E:: @ 816C89E
|
||||
CeladonCity_GameCorner_EventScript_Scientist:: @ 816C89E
|
||||
lock
|
||||
faceplayer
|
||||
goto_if_set FLAG_GOT_20_COINS_FROM_GAMBLER, EventScript_16C8F0
|
||||
msgbox gUnknown_8196D2B
|
||||
goto_if_unset FLAG_GOT_COIN_CASE, EventScript_16C839
|
||||
goto_if_set FLAG_GOT_20_COINS_FROM_GAMBLER, CeladonCity_GameCorner_EventScript_ScientistAlreadyGotCoins
|
||||
msgbox CeladonCity_GameCorner_Text_WantSomeCoins
|
||||
goto_if_unset FLAG_GOT_COIN_CASE, CeladonCity_GameCorner_EventScript_GamblerNoCoinCase
|
||||
checkcoins VAR_TEMP_1
|
||||
compare VAR_TEMP_1, 9980
|
||||
goto_if_ge EventScript_16C8E2
|
||||
compare VAR_TEMP_1, (MAX_COINS + 1) - 20
|
||||
goto_if_ge CeladonCity_GameCorner_EventScript_ScientistNoRoomForCoins
|
||||
addcoins 20
|
||||
textcolor 3
|
||||
msgbox gUnknown_8196D47
|
||||
msgbox CeladonCity_GameCorner_Text_Received20CoinsFromNiceGuy
|
||||
playse SE_SHOP
|
||||
waitse
|
||||
setflag FLAG_GOT_20_COINS_FROM_GAMBLER
|
||||
goto EventScript_16C7CA
|
||||
goto CeladonCity_GameCorner_EventScript_FaceSlotMachine
|
||||
end
|
||||
|
||||
EventScript_16C8E2:: @ 816C8E2
|
||||
msgbox gUnknown_8196D6F
|
||||
goto EventScript_16C7CA
|
||||
CeladonCity_GameCorner_EventScript_ScientistNoRoomForCoins:: @ 816C8E2
|
||||
msgbox CeladonCity_GameCorner_Text_YouHaveLotsOfCoins
|
||||
goto CeladonCity_GameCorner_EventScript_FaceSlotMachine
|
||||
end
|
||||
|
||||
EventScript_16C8F0:: @ 816C8F0
|
||||
msgbox gUnknown_8196D87
|
||||
goto EventScript_16C7CA
|
||||
CeladonCity_GameCorner_EventScript_ScientistAlreadyGotCoins:: @ 816C8F0
|
||||
msgbox CeladonCity_GameCorner_Text_NeedMoreCoinsForMonIWant
|
||||
goto CeladonCity_GameCorner_EventScript_FaceSlotMachine
|
||||
end
|
||||
|
||||
CeladonCity_GameCorner_EventScript_16C8FE:: @ 816C8FE
|
||||
CeladonCity_GameCorner_EventScript_Gentleman:: @ 816C8FE
|
||||
lock
|
||||
faceplayer
|
||||
goto_if_set FLAG_GOT_20_COINS_FROM_GAMBLER_2, EventScript_16C950
|
||||
msgbox gUnknown_8196DB7
|
||||
goto_if_unset FLAG_GOT_COIN_CASE, EventScript_16C839
|
||||
goto_if_set FLAG_GOT_20_COINS_FROM_GAMBLER_2, CeladonCity_GameCorner_EventScript_GentlemanAlreadyGotCoins
|
||||
msgbox CeladonCity_GameCorner_Text_HereAreSomeCoinsShoo
|
||||
goto_if_unset FLAG_GOT_COIN_CASE, CeladonCity_GameCorner_EventScript_GamblerNoCoinCase
|
||||
checkcoins VAR_TEMP_1
|
||||
compare VAR_TEMP_1, 9980
|
||||
goto_if_ge EventScript_16C942
|
||||
compare VAR_TEMP_1, (MAX_COINS + 1) - 20
|
||||
goto_if_ge CeladonCity_GameCorner_EventScript_GentlemanNoRoomForCoins
|
||||
addcoins 20
|
||||
textcolor 3
|
||||
msgbox gUnknown_8196DF8
|
||||
msgbox CeladonCity_GameCorner_Text_Received20CoinsFromMan
|
||||
playse SE_SHOP
|
||||
waitse
|
||||
setflag FLAG_GOT_20_COINS_FROM_GAMBLER_2
|
||||
goto EventScript_16C7CA
|
||||
goto CeladonCity_GameCorner_EventScript_FaceSlotMachine
|
||||
end
|
||||
|
||||
EventScript_16C942:: @ 816C942
|
||||
msgbox gUnknown_8196E1B
|
||||
goto EventScript_16C7CA
|
||||
CeladonCity_GameCorner_EventScript_GentlemanNoRoomForCoins:: @ 816C942
|
||||
msgbox CeladonCity_GameCorner_Text_YouveGotPlentyCoins
|
||||
goto CeladonCity_GameCorner_EventScript_FaceSlotMachine
|
||||
end
|
||||
|
||||
EventScript_16C950:: @ 816C950
|
||||
msgbox gUnknown_8196E40
|
||||
goto EventScript_16C7CA
|
||||
CeladonCity_GameCorner_EventScript_GentlemanAlreadyGotCoins:: @ 816C950
|
||||
msgbox CeladonCity_GameCorner_Text_WatchReelsClosely
|
||||
goto CeladonCity_GameCorner_EventScript_FaceSlotMachine
|
||||
end
|
||||
|
||||
CeladonCity_GameCorner_EventScript_16C95E:: @ 816C95E
|
||||
CeladonCity_GameCorner_EventScript_SlotMachine0:: @ 816C95E
|
||||
lockall
|
||||
setvar VAR_0x8004, 0
|
||||
goto EventScript_16C96C
|
||||
goto CeladonCity_GameCorner_EventScript_SlotMachine
|
||||
end
|
||||
|
||||
EventScript_16C96A:: @ 816C96A
|
||||
CeladonCity_GameCorner_EventScript_DontPlaySlotMachine:: @ 816C96A
|
||||
releaseall
|
||||
end
|
||||
|
||||
EventScript_16C96C:: @ 816C96C
|
||||
goto_if_unset FLAG_GOT_COIN_CASE, EventScript_16CAA0
|
||||
msgbox gUnknown_8196F46, MSGBOX_YESNO
|
||||
CeladonCity_GameCorner_EventScript_SlotMachine:: @ 816C96C
|
||||
goto_if_unset FLAG_GOT_COIN_CASE, CeladonCity_GameCorner_EventScript_SlotMachineNoCoinCase
|
||||
msgbox CeladonCity_GameCorner_Text_SlotMachineWantToPlay, MSGBOX_YESNO
|
||||
compare VAR_RESULT, NO
|
||||
goto_if_eq EventScript_16C96A
|
||||
goto_if_eq CeladonCity_GameCorner_EventScript_DontPlaySlotMachine
|
||||
setfieldeffectarg 0, 255
|
||||
setfieldeffectarg 1, 10
|
||||
setfieldeffectarg 2, 14
|
||||
dofieldeffect 64
|
||||
waitfieldeffect 64
|
||||
dofieldeffect FLDEFF_UNK_40
|
||||
waitfieldeffect FLDEFF_UNK_40 @ Smile icon?
|
||||
specialvar VAR_RESULT, Special_GetRandomSlotMachine
|
||||
playslotmachine VAR_RESULT
|
||||
releaseall
|
||||
end
|
||||
|
||||
CeladonCity_GameCorner_EventScript_16C9A4:: @ 816C9A4
|
||||
CeladonCity_GameCorner_EventScript_SlotMachine1:: @ 816C9A4
|
||||
lockall
|
||||
setvar VAR_0x8004, 1
|
||||
goto EventScript_16C96C
|
||||
goto CeladonCity_GameCorner_EventScript_SlotMachine
|
||||
end
|
||||
|
||||
CeladonCity_GameCorner_EventScript_16C9B0:: @ 816C9B0
|
||||
CeladonCity_GameCorner_EventScript_SlotMachine2:: @ 816C9B0
|
||||
lockall
|
||||
setvar VAR_0x8004, 2
|
||||
goto EventScript_16C96C
|
||||
goto CeladonCity_GameCorner_EventScript_SlotMachine
|
||||
end
|
||||
|
||||
CeladonCity_GameCorner_EventScript_16C9BC:: @ 816C9BC
|
||||
CeladonCity_GameCorner_EventScript_SlotMachine3:: @ 816C9BC
|
||||
lockall
|
||||
setvar VAR_0x8004, 3
|
||||
goto EventScript_16C96C
|
||||
goto CeladonCity_GameCorner_EventScript_SlotMachine
|
||||
end
|
||||
|
||||
EventScript_16C9C8:: @ 816C9C8
|
||||
CeladonCity_GameCorner_EventScript_SlotMachine4:: @ 816C9C8
|
||||
lockall
|
||||
setvar VAR_0x8004, 4
|
||||
goto EventScript_16C96C
|
||||
goto CeladonCity_GameCorner_EventScript_SlotMachine
|
||||
end
|
||||
|
||||
CeladonCity_GameCorner_EventScript_16C9D4:: @ 816C9D4
|
||||
CeladonCity_GameCorner_EventScript_SlotMachine5:: @ 816C9D4
|
||||
lockall
|
||||
setvar VAR_0x8004, 5
|
||||
goto EventScript_16C96C
|
||||
goto CeladonCity_GameCorner_EventScript_SlotMachine
|
||||
end
|
||||
|
||||
CeladonCity_GameCorner_EventScript_16C9E0:: @ 816C9E0
|
||||
CeladonCity_GameCorner_EventScript_SlotMachine6:: @ 816C9E0
|
||||
lockall
|
||||
setvar VAR_0x8004, 6
|
||||
goto EventScript_16C96C
|
||||
goto CeladonCity_GameCorner_EventScript_SlotMachine
|
||||
end
|
||||
|
||||
CeladonCity_GameCorner_EventScript_16C9EC:: @ 816C9EC
|
||||
CeladonCity_GameCorner_EventScript_SlotMachine7:: @ 816C9EC
|
||||
lockall
|
||||
setvar VAR_0x8004, 7
|
||||
goto EventScript_16C96C
|
||||
goto CeladonCity_GameCorner_EventScript_SlotMachine
|
||||
end
|
||||
|
||||
CeladonCity_GameCorner_EventScript_16C9F8:: @ 816C9F8
|
||||
CeladonCity_GameCorner_EventScript_SlotMachine8:: @ 816C9F8
|
||||
lockall
|
||||
setvar VAR_0x8004, 8
|
||||
goto EventScript_16C96C
|
||||
goto CeladonCity_GameCorner_EventScript_SlotMachine
|
||||
end
|
||||
|
||||
CeladonCity_GameCorner_EventScript_16CA04:: @ 816CA04
|
||||
CeladonCity_GameCorner_EventScript_SlotMachine9:: @ 816CA04
|
||||
lockall
|
||||
setvar VAR_0x8004, 9
|
||||
goto EventScript_16C96C
|
||||
goto CeladonCity_GameCorner_EventScript_SlotMachine
|
||||
end
|
||||
|
||||
CeladonCity_GameCorner_EventScript_16CA10:: @ 816CA10
|
||||
CeladonCity_GameCorner_EventScript_SlotMachine10:: @ 816CA10
|
||||
lockall
|
||||
setvar VAR_0x8004, 10
|
||||
goto EventScript_16C96C
|
||||
goto CeladonCity_GameCorner_EventScript_SlotMachine
|
||||
end
|
||||
|
||||
CeladonCity_GameCorner_EventScript_16CA1C:: @ 816CA1C
|
||||
CeladonCity_GameCorner_EventScript_SlotMachine11:: @ 816CA1C
|
||||
lockall
|
||||
setvar VAR_0x8004, 11
|
||||
goto EventScript_16C96C
|
||||
goto CeladonCity_GameCorner_EventScript_SlotMachine
|
||||
end
|
||||
|
||||
CeladonCity_GameCorner_EventScript_16CA28:: @ 816CA28
|
||||
CeladonCity_GameCorner_EventScript_SlotMachine12:: @ 816CA28
|
||||
lockall
|
||||
setvar VAR_0x8004, 12
|
||||
goto EventScript_16C96C
|
||||
goto CeladonCity_GameCorner_EventScript_SlotMachine
|
||||
end
|
||||
|
||||
CeladonCity_GameCorner_EventScript_16CA34:: @ 816CA34
|
||||
CeladonCity_GameCorner_EventScript_SlotMachine13:: @ 816CA34
|
||||
lockall
|
||||
setvar VAR_0x8004, 13
|
||||
goto EventScript_16C96C
|
||||
goto CeladonCity_GameCorner_EventScript_SlotMachine
|
||||
end
|
||||
|
||||
CeladonCity_GameCorner_EventScript_16CA40:: @ 816CA40
|
||||
CeladonCity_GameCorner_EventScript_SlotMachine14:: @ 816CA40
|
||||
lockall
|
||||
setvar VAR_0x8004, 14
|
||||
goto EventScript_16C96C
|
||||
goto CeladonCity_GameCorner_EventScript_SlotMachine
|
||||
end
|
||||
|
||||
EventScript_16CA4C:: @ 816CA4C
|
||||
CeladonCity_GameCorner_EventScript_SlotMachine15:: @ 816CA4C
|
||||
lockall
|
||||
setvar VAR_0x8004, 15
|
||||
goto EventScript_16C96C
|
||||
goto CeladonCity_GameCorner_EventScript_SlotMachine
|
||||
end
|
||||
|
||||
CeladonCity_GameCorner_EventScript_16CA58:: @ 816CA58
|
||||
CeladonCity_GameCorner_EventScript_SlotMachine16:: @ 816CA58
|
||||
lockall
|
||||
setvar VAR_0x8004, 16
|
||||
goto EventScript_16C96C
|
||||
goto CeladonCity_GameCorner_EventScript_SlotMachine
|
||||
end
|
||||
|
||||
CeladonCity_GameCorner_EventScript_16CA64:: @ 816CA64
|
||||
CeladonCity_GameCorner_EventScript_SlotMachine17:: @ 816CA64
|
||||
lockall
|
||||
setvar VAR_0x8004, 17
|
||||
goto EventScript_16C96C
|
||||
goto CeladonCity_GameCorner_EventScript_SlotMachine
|
||||
end
|
||||
|
||||
EventScript_16CA70:: @ 816CA70
|
||||
CeladonCity_GameCorner_EventScript_SlotMachine18:: @ 816CA70
|
||||
lockall
|
||||
setvar VAR_0x8004, 18
|
||||
goto EventScript_16C96C
|
||||
goto CeladonCity_GameCorner_EventScript_SlotMachine
|
||||
end
|
||||
|
||||
CeladonCity_GameCorner_EventScript_16CA7C:: @ 816CA7C
|
||||
CeladonCity_GameCorner_EventScript_SlotMachine19:: @ 816CA7C
|
||||
lockall
|
||||
setvar VAR_0x8004, 19
|
||||
goto EventScript_16C96C
|
||||
goto CeladonCity_GameCorner_EventScript_SlotMachine
|
||||
end
|
||||
|
||||
CeladonCity_GameCorner_EventScript_16CA88:: @ 816CA88
|
||||
CeladonCity_GameCorner_EventScript_SlotMachine20:: @ 816CA88
|
||||
lockall
|
||||
setvar VAR_0x8004, 20
|
||||
goto EventScript_16C96C
|
||||
goto CeladonCity_GameCorner_EventScript_SlotMachine
|
||||
end
|
||||
|
||||
CeladonCity_GameCorner_EventScript_16CA94:: @ 816CA94
|
||||
CeladonCity_GameCorner_EventScript_SlotMachine21:: @ 816CA94
|
||||
lockall
|
||||
setvar VAR_0x8004, 21
|
||||
goto EventScript_16C96C
|
||||
goto CeladonCity_GameCorner_EventScript_SlotMachine
|
||||
end
|
||||
|
||||
EventScript_16CAA0:: @ 816CAA0
|
||||
msgbox gUnknown_8196F0D
|
||||
CeladonCity_GameCorner_EventScript_SlotMachineNoCoinCase:: @ 816CAA0
|
||||
msgbox CeladonCity_GameCorner_Text_CoinCaseIsRequired
|
||||
releaseall
|
||||
end
|
||||
|
||||
CeladonCity_GameCorner_EventScript_16CAAA:: @ 816CAAA
|
||||
CeladonCity_GameCorner_EventScript_Poster:: @ 816CAAA
|
||||
lockall
|
||||
msgbox gUnknown_8196EDC
|
||||
call_if_unset FLAG_OPENED_ROCKET_HIDEOUT, EventScript_16CABE
|
||||
msgbox CeladonCity_GameCorner_Text_SwitchBehindPosterPushIt
|
||||
call_if_unset FLAG_OPENED_ROCKET_HIDEOUT, CeladonCity_GameCorner_EventScript_OpenRocketHideout
|
||||
releaseall
|
||||
end
|
||||
|
||||
EventScript_16CABE:: @ 816CABE
|
||||
CeladonCity_GameCorner_EventScript_OpenRocketHideout:: @ 816CABE
|
||||
playse SE_KI_GASYAN
|
||||
setmetatile 15, 2, 669, 0
|
||||
setmetatile 16, 2, 670, 1
|
||||
setmetatile 17, 2, 671, 1
|
||||
setmetatile 16, 3, 678, 1
|
||||
setmetatile 17, 3, 679, 1
|
||||
setmetatile 15, 2, METATILE_GameCorner_Floor_StairsTop, 0
|
||||
setmetatile 16, 2, METATILE_GameCorner_StairsTop, 1
|
||||
setmetatile 17, 2, METATILE_GameCorner_StairsBottom, 1
|
||||
setmetatile 16, 3, METATILE_GameCorner_PurpleWall_StairsTop, 1
|
||||
setmetatile 17, 3, METATILE_GameCorner_PurpleWall_stairsBottom, 1
|
||||
special DrawWholeMapView
|
||||
setflag FLAG_OPENED_ROCKET_HIDEOUT
|
||||
return
|
||||
|
||||
CeladonCity_GameCorner_EventScript_16CAF5:: @ 816CAF5
|
||||
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_7, Text_196E69, Text_196E95, EventScript_16CB10
|
||||
msgbox gUnknown_8196E9B, MSGBOX_AUTOCLOSE
|
||||
CeladonCity_GameCorner_EventScript_RocketGrunt:: @ 816CAF5
|
||||
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_7, CeladonCity_GameCorner_Text_GruntIntro, CeladonCity_GameCorner_Text_GruntDefeat, CeladonCity_GameCorner_Text_DefeatedGrunt
|
||||
msgbox CeladonCity_GameCorner_Text_GruntPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
EventScript_16CB10:: @ 816CB10
|
||||
msgbox gUnknown_8196E9B
|
||||
CeladonCity_GameCorner_Text_DefeatedGrunt:: @ 816CB10
|
||||
msgbox CeladonCity_GameCorner_Text_GruntPostBattle
|
||||
closemessage
|
||||
compare VAR_FACING, DIR_WEST
|
||||
call_if_eq EventScript_16CB34
|
||||
call_if_eq CeladonCity_GameCorner_Text_GruntExitWest
|
||||
compare VAR_FACING, DIR_WEST
|
||||
call_if_ne EventScript_16CB3F
|
||||
call_if_ne CeladonCity_GameCorner_Text_GruntExit
|
||||
removeobject 11
|
||||
release
|
||||
end
|
||||
|
||||
EventScript_16CB34:: @ 816CB34
|
||||
applymovement 11, Movement_16CB4A
|
||||
CeladonCity_GameCorner_Text_GruntExitWest:: @ 816CB34
|
||||
applymovement 11, CeladonCity_GameCorner_Movement_GruntExitWest
|
||||
waitmovement 0
|
||||
return
|
||||
|
||||
EventScript_16CB3F:: @ 816CB3F
|
||||
applymovement 11, Movement_16CB53
|
||||
CeladonCity_GameCorner_Text_GruntExit:: @ 816CB3F
|
||||
applymovement 11, CeladonCity_GameCorner_Movement_GruntExit
|
||||
waitmovement 0
|
||||
return
|
||||
|
||||
Movement_16CB4A:: @ 816CB4A
|
||||
CeladonCity_GameCorner_Movement_GruntExitWest:: @ 816CB4A
|
||||
walk_down
|
||||
walk_right
|
||||
walk_right
|
||||
@@ -450,7 +450,7 @@ Movement_16CB4A:: @ 816CB4A
|
||||
walk_right
|
||||
step_end
|
||||
|
||||
Movement_16CB53:: @ 816CB53
|
||||
CeladonCity_GameCorner_Movement_GruntExit:: @ 816CB53
|
||||
walk_right
|
||||
walk_right
|
||||
walk_right
|
||||
@@ -459,14 +459,14 @@ Movement_16CB53:: @ 816CB53
|
||||
walk_right
|
||||
step_end
|
||||
|
||||
CeladonCity_GameCorner_EventScript_16CB5A:: @ 816CB5A
|
||||
msgbox gUnknown_8196F64, MSGBOX_SIGN
|
||||
CeladonCity_GameCorner_EventScript_UnusableSlotMachine1:: @ 816CB5A
|
||||
msgbox CeladonCity_GameCorner_Text_OutOfOrder, MSGBOX_SIGN
|
||||
end
|
||||
|
||||
CeladonCity_GameCorner_EventScript_16CB63:: @ 816CB63
|
||||
msgbox gUnknown_8196F81, MSGBOX_SIGN
|
||||
CeladonCity_GameCorner_EventScript_UnusableSlotMachine2:: @ 816CB63
|
||||
msgbox CeladonCity_GameCorner_Text_OutToLunch, MSGBOX_SIGN
|
||||
end
|
||||
|
||||
CeladonCity_GameCorner_EventScript_16CB6C:: @ 816CB6C
|
||||
msgbox gUnknown_8196FA0, MSGBOX_SIGN
|
||||
CeladonCity_GameCorner_EventScript_UnusableSlotMachine3:: @ 816CB6C
|
||||
msgbox CeladonCity_GameCorner_Text_SomeonesKeys, MSGBOX_SIGN
|
||||
end
|
||||
|
||||
@@ -1,60 +1,60 @@
|
||||
gUnknown_8196940:: @ 8196940
|
||||
CeladonCity_GameCorner_Text_CanExchangeCoinsNextDoor:: @ 8196940
|
||||
.string "Welcome!\p"
|
||||
.string "You can exchange your COINS for\n"
|
||||
.string "fabulous prizes next door.$"
|
||||
|
||||
Text_196984:: @ 8196984
|
||||
CeladonCity_GameCorner_Text_WelcomeBuySomeCoins:: @ 8196984
|
||||
.string "Welcome to ROCKET GAME CORNER!\p"
|
||||
.string "Do you need some game COINS?\n"
|
||||
.string "Would you like to buy some?$"
|
||||
|
||||
gUnknown_81969DC:: @ 81969DC
|
||||
CeladonCity_GameCorner_Text_ComePlaySometime:: @ 81969DC
|
||||
.string "No?\n"
|
||||
.string "Please come play sometime!$"
|
||||
|
||||
gUnknown_81969FB:: @ 81969FB
|
||||
CeladonCity_GameCorner_Text_SorryDontHaveCoinCase:: @ 81969FB
|
||||
.string "Oh, I'm sorry.\n"
|
||||
.string "You don't have a COIN CASE.$"
|
||||
|
||||
gUnknown_8196A26:: @ 8196A26
|
||||
CeladonCity_GameCorner_Text_CoinCaseIsFull:: @ 8196A26
|
||||
.string "Whoops!\n"
|
||||
.string "Your COIN CASE is full.$"
|
||||
|
||||
gUnknown_8196A46:: @ 8196A46
|
||||
CeladonCity_GameCorner_Text_CantAffordCoins:: @ 8196A46
|
||||
.string "You can't afford the COINS.$"
|
||||
|
||||
gUnknown_8196A62:: @ 8196A62
|
||||
CeladonCity_GameCorner_Text_HereAreYourCoins:: @ 8196A62
|
||||
.string "Thank you.\n"
|
||||
.string "Here are your COINS!$"
|
||||
|
||||
gUnknown_8196A82:: @ 8196A82
|
||||
CeladonCity_GameCorner_Text_RumoredTeamRocketRunsThisPlace:: @ 8196A82
|
||||
.string "Keep this quiet.\p"
|
||||
.string "It's rumored that this place is run\n"
|
||||
.string "by TEAM ROCKET.$"
|
||||
|
||||
gUnknown_8196AC7:: @ 8196AC7
|
||||
CeladonCity_GameCorner_Text_ThinkMachinesHaveDifferentOdds:: @ 8196AC7
|
||||
.string "I think these machines have\n"
|
||||
.string "different odds.$"
|
||||
|
||||
gUnknown_8196AF3:: @ 8196AF3
|
||||
CeladonCity_GameCorner_Text_DoYouWantToPlay:: @ 8196AF3
|
||||
.string "Kid, do you want to play?$"
|
||||
|
||||
gUnknown_8196B0D:: @ 8196B0D
|
||||
CeladonCity_GameCorner_Text_Received10CoinsFromMan:: @ 8196B0D
|
||||
.string "{PLAYER} received 10 COINS\n"
|
||||
.string "from the man.$"
|
||||
|
||||
gUnknown_8196B30:: @ 8196B30
|
||||
CeladonCity_GameCorner_Text_DontNeedMyCoins:: @ 8196B30
|
||||
.string "You don't need my COINS!$"
|
||||
|
||||
gUnknown_8196B49:: @ 8196B49
|
||||
CeladonCity_GameCorner_Text_WinsComeAndGo:: @ 8196B49
|
||||
.string "Wins seem to come and go.\n"
|
||||
.string "Nothing's a sure thing.$"
|
||||
|
||||
gUnknown_8196B7B:: @ 8196B7B
|
||||
CeladonCity_GameCorner_Text_WinOrLoseItsOnlyLuck:: @ 8196B7B
|
||||
.string "These slot games…\n"
|
||||
.string "Win or lose, it's only by luck.$"
|
||||
|
||||
gUnknown_8196BAD:: @ 8196BAD
|
||||
CeladonCity_GameCorner_Text_GymGuyAdvice:: @ 8196BAD
|
||||
.string "Hey!\p"
|
||||
.string "You have better things to do,\n"
|
||||
.string "champ in the making!\p"
|
||||
@@ -66,83 +66,83 @@ gUnknown_8196BAD:: @ 8196BAD
|
||||
.string "But she's not one to be taken\n"
|
||||
.string "lightly!$"
|
||||
|
||||
gUnknown_8196CA1:: @ 8196CA1
|
||||
CeladonCity_GameCorner_Text_RareMonsForCoins:: @ 8196CA1
|
||||
.string "They offer rare POKéMON that can\n"
|
||||
.string "be exchanged for your COINS.\p"
|
||||
.string "But, I just can't seem to win!$"
|
||||
|
||||
gUnknown_8196CFE:: @ 8196CFE
|
||||
CeladonCity_GameCorner_Text_SoEasyToGetHooked:: @ 8196CFE
|
||||
.string "Games are scary!\n"
|
||||
.string "It's so easy to get hooked!$"
|
||||
|
||||
gUnknown_8196D2B:: @ 8196D2B
|
||||
CeladonCity_GameCorner_Text_WantSomeCoins:: @ 8196D2B
|
||||
.string "What's up?\n"
|
||||
.string "Want some COINS?$"
|
||||
|
||||
gUnknown_8196D47:: @ 8196D47
|
||||
CeladonCity_GameCorner_Text_Received20CoinsFromNiceGuy:: @ 8196D47
|
||||
.string "{PLAYER} received 20 COINS\n"
|
||||
.string "from the nice guy.$"
|
||||
|
||||
gUnknown_8196D6F:: @ 8196D6F
|
||||
CeladonCity_GameCorner_Text_YouHaveLotsOfCoins:: @ 8196D6F
|
||||
.string "You have lots of COINS!$"
|
||||
|
||||
gUnknown_8196D87:: @ 8196D87
|
||||
CeladonCity_GameCorner_Text_NeedMoreCoinsForMonIWant:: @ 8196D87
|
||||
.string "Darn! I need more COINS for the\n"
|
||||
.string "POKéMON I want!$"
|
||||
|
||||
gUnknown_8196DB7:: @ 8196DB7
|
||||
CeladonCity_GameCorner_Text_HereAreSomeCoinsShoo:: @ 8196DB7
|
||||
.string "Hey, what? You're throwing me off!\n"
|
||||
.string "Here are some COINS, so shoo!$"
|
||||
|
||||
gUnknown_8196DF8:: @ 8196DF8
|
||||
CeladonCity_GameCorner_Text_Received20CoinsFromMan:: @ 8196DF8
|
||||
.string "{PLAYER} received 20 COINS\n"
|
||||
.string "from the man.$"
|
||||
|
||||
gUnknown_8196E1B:: @ 8196E1B
|
||||
CeladonCity_GameCorner_Text_YouveGotPlentyCoins:: @ 8196E1B
|
||||
.string "You've got plenty of your own\n"
|
||||
.string "COINS!$"
|
||||
|
||||
gUnknown_8196E40:: @ 8196E40
|
||||
CeladonCity_GameCorner_Text_WatchReelsClosely:: @ 8196E40
|
||||
.string "The trick is to watch the reels\n"
|
||||
.string "closely.$"
|
||||
|
||||
Text_196E69:: @ 8196E69
|
||||
CeladonCity_GameCorner_Text_GruntIntro:: @ 8196E69
|
||||
.string "I'm guarding this poster!\n"
|
||||
.string "Go away, or else!$"
|
||||
|
||||
Text_196E95:: @ 8196E95
|
||||
CeladonCity_GameCorner_Text_GruntDefeat:: @ 8196E95
|
||||
.string "Dang!$"
|
||||
|
||||
gUnknown_8196E9B:: @ 8196E9B
|
||||
CeladonCity_GameCorner_Text_GruntPostBattle:: @ 8196E9B
|
||||
.string "The TEAM ROCKET HIDEOUT might\n"
|
||||
.string "be discovered!\p"
|
||||
.string "I better tell BOSS!$"
|
||||
|
||||
gUnknown_8196EDC:: @ 8196EDC
|
||||
CeladonCity_GameCorner_Text_SwitchBehindPosterPushIt:: @ 8196EDC
|
||||
.string "Hey!\p"
|
||||
.string "A switch behind the poster!?\n"
|
||||
.string "Let's push it!$"
|
||||
|
||||
gUnknown_8196F0D:: @ 8196F0D
|
||||
CeladonCity_GameCorner_Text_CoinCaseIsRequired:: @ 8196F0D
|
||||
.string "A COIN CASE is required…$"
|
||||
|
||||
gUnknown_8196F26:: @ 8196F26
|
||||
CeladonCity_GameCorner_Text_DontHaveCoinCase:: @ 8196F26
|
||||
.string "Oops!\n"
|
||||
.string "Don't have the COIN CASE!$"
|
||||
|
||||
gUnknown_8196F46:: @ 8196F46
|
||||
CeladonCity_GameCorner_Text_SlotMachineWantToPlay:: @ 8196F46
|
||||
.string "A slot machine!\n"
|
||||
.string "Want to play?$"
|
||||
|
||||
gUnknown_8196F64:: @ 8196F64
|
||||
CeladonCity_GameCorner_Text_OutOfOrder:: @ 8196F64
|
||||
.string "OUT OF ORDER\n"
|
||||
.string "This is broken.$"
|
||||
|
||||
gUnknown_8196F81:: @ 8196F81
|
||||
CeladonCity_GameCorner_Text_OutToLunch:: @ 8196F81
|
||||
.string "OUT TO LUNCH\n"
|
||||
.string "This is reserved.$"
|
||||
|
||||
gUnknown_8196FA0:: @ 8196FA0
|
||||
CeladonCity_GameCorner_Text_SomeonesKeys:: @ 8196FA0
|
||||
.string "Someone's keys!\n"
|
||||
.string "They'll be back.$"
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_GameCorner_PrizeRoom_EventScript_16CB76",
|
||||
"script": "CeladonCity_GameCorner_PrizeRoom_EventScript_BaldingMan",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -36,7 +36,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_GameCorner_PrizeRoom_EventScript_16CB7F",
|
||||
"script": "CeladonCity_GameCorner_PrizeRoom_EventScript_OldMan",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -49,7 +49,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_GameCorner_PrizeRoom_EventScript_16CB88",
|
||||
"script": "CeladonCity_GameCorner_PrizeRoom_EventScript_PrizeClerkMons",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -62,7 +62,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_GameCorner_PrizeRoom_EventScript_16CE1D",
|
||||
"script": "CeladonCity_GameCorner_PrizeRoom_EventScript_PrizeClerkTMs",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -75,7 +75,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_GameCorner_PrizeRoom_EventScript_16CF88",
|
||||
"script": "CeladonCity_GameCorner_PrizeRoom_EventScript_PrizeClerkItems",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
|
||||
@@ -1,44 +1,44 @@
|
||||
CeladonCity_GameCorner_PrizeRoom_MapScripts:: @ 816CB75
|
||||
.byte 0
|
||||
|
||||
CeladonCity_GameCorner_PrizeRoom_EventScript_16CB76:: @ 816CB76
|
||||
msgbox gUnknown_8196FC1, MSGBOX_NPC
|
||||
CeladonCity_GameCorner_PrizeRoom_EventScript_BaldingMan:: @ 816CB76
|
||||
msgbox CeladonCity_GameCorner_PrizeRoom_Text_FancyThatPorygon, MSGBOX_NPC
|
||||
end
|
||||
|
||||
CeladonCity_GameCorner_PrizeRoom_EventScript_16CB7F:: @ 816CB7F
|
||||
msgbox gUnknown_8196FFF, MSGBOX_NPC
|
||||
CeladonCity_GameCorner_PrizeRoom_EventScript_OldMan:: @ 816CB7F
|
||||
msgbox CeladonCity_GameCorner_PrizeRoom_Text_RakedItInToday, MSGBOX_NPC
|
||||
end
|
||||
|
||||
CeladonCity_GameCorner_PrizeRoom_EventScript_16CB88:: @ 816CB88
|
||||
CeladonCity_GameCorner_PrizeRoom_EventScript_PrizeClerkMons:: @ 816CB88
|
||||
lock
|
||||
faceplayer
|
||||
goto_if_unset FLAG_GOT_COIN_CASE, EventScript_16CD99
|
||||
goto_if_unset FLAG_GOT_COIN_CASE, CeladonCity_GameCorner_PrizeRoom_EventScript_NeedCoinCase
|
||||
goto_if_questlog EventScript_ReleaseEnd
|
||||
showcoinsbox 0, 0
|
||||
msgbox gUnknown_8197057
|
||||
goto EventScript_16CBB2
|
||||
msgbox CeladonCity_GameCorner_PrizeRoom_Text_WeExchangeCoinsForPrizes
|
||||
goto CeladonCity_GameCorner_PrizeRoom_EventScript_ChoosePrizeMon
|
||||
end
|
||||
|
||||
EventScript_16CBB2:: @ 816CBB2
|
||||
message Text_19707A
|
||||
CeladonCity_GameCorner_PrizeRoom_EventScript_ChoosePrizeMon:: @ 816CBB2
|
||||
message CeladonCity_GameCorner_PrizeRoom_Text_WhichPrize
|
||||
waitmessage
|
||||
multichoice 11, 0, MULTICHOICE_GAME_CORNER_POKEMON_PRIZES, FALSE
|
||||
switch VAR_RESULT
|
||||
case 0, EventScript_16CC15
|
||||
case 1, EventScript_16CC25
|
||||
case 2, EventScript_16CC35
|
||||
case 3, EventScript_16CC45
|
||||
case 4, EventScript_16CC55
|
||||
case 5, EventScript_16CC10
|
||||
case 127, EventScript_16CC10
|
||||
case 0, CeladonCity_GameCorner_PrizeRoom_EventScript_Abra
|
||||
case 1, CeladonCity_GameCorner_PrizeRoom_EventScript_Clefairy
|
||||
case 2, CeladonCity_GameCorner_PrizeRoom_EventScript_DratiniPinsir
|
||||
case 3, CeladonCity_GameCorner_PrizeRoom_EventScript_ScytherDratini
|
||||
case 4, CeladonCity_GameCorner_PrizeRoom_EventScript_Porygon
|
||||
case 5, CeladonCity_GameCorner_PrizeRoom_EventScript_EndPrizeExchange
|
||||
case 127, CeladonCity_GameCorner_PrizeRoom_EventScript_EndPrizeExchange
|
||||
end
|
||||
|
||||
EventScript_16CC10:: @ 816CC10
|
||||
CeladonCity_GameCorner_PrizeRoom_EventScript_EndPrizeExchange:: @ 816CC10
|
||||
hidecoinsbox 0, 0
|
||||
release
|
||||
end
|
||||
|
||||
EventScript_16CC15:: @ 816CC15
|
||||
CeladonCity_GameCorner_PrizeRoom_EventScript_Abra:: @ 816CC15
|
||||
.ifdef FIRERED
|
||||
setvar VAR_TEMP_1, SPECIES_ABRA
|
||||
setvar VAR_TEMP_2, 180
|
||||
@@ -48,10 +48,10 @@ EventScript_16CC15:: @ 816CC15
|
||||
setvar VAR_TEMP_2, 120
|
||||
.endif
|
||||
.endif
|
||||
goto EventScript_16CC65
|
||||
goto CeladonCity_GameCorner_PrizeRoom_EventScript_ConfirmPrizeMon
|
||||
end
|
||||
|
||||
EventScript_16CC25:: @ 816CC25
|
||||
CeladonCity_GameCorner_PrizeRoom_EventScript_Clefairy:: @ 816CC25
|
||||
.ifdef FIRERED
|
||||
setvar VAR_TEMP_1, SPECIES_CLEFAIRY
|
||||
setvar VAR_TEMP_2, 500
|
||||
@@ -61,10 +61,10 @@ EventScript_16CC25:: @ 816CC25
|
||||
setvar VAR_TEMP_2, 750
|
||||
.endif
|
||||
.endif
|
||||
goto EventScript_16CC65
|
||||
goto CeladonCity_GameCorner_PrizeRoom_EventScript_ConfirmPrizeMon
|
||||
end
|
||||
|
||||
EventScript_16CC35:: @ 816CC35
|
||||
CeladonCity_GameCorner_PrizeRoom_EventScript_DratiniPinsir:: @ 816CC35
|
||||
.ifdef FIRERED
|
||||
setvar VAR_TEMP_1, SPECIES_DRATINI
|
||||
setvar VAR_TEMP_2, 2800
|
||||
@@ -74,10 +74,10 @@ EventScript_16CC35:: @ 816CC35
|
||||
setvar VAR_TEMP_2, 2500
|
||||
.endif
|
||||
.endif
|
||||
goto EventScript_16CC65
|
||||
goto CeladonCity_GameCorner_PrizeRoom_EventScript_ConfirmPrizeMon
|
||||
end
|
||||
|
||||
EventScript_16CC45:: @ 816CC45
|
||||
CeladonCity_GameCorner_PrizeRoom_EventScript_ScytherDratini:: @ 816CC45
|
||||
.ifdef FIRERED
|
||||
setvar VAR_TEMP_1, SPECIES_SCYTHER
|
||||
setvar VAR_TEMP_2, 5500
|
||||
@@ -87,10 +87,10 @@ EventScript_16CC45:: @ 816CC45
|
||||
setvar VAR_TEMP_2, 4600
|
||||
.endif
|
||||
.endif
|
||||
goto EventScript_16CC65
|
||||
goto CeladonCity_GameCorner_PrizeRoom_EventScript_ConfirmPrizeMon
|
||||
end
|
||||
|
||||
EventScript_16CC55:: @ 816CC55
|
||||
CeladonCity_GameCorner_PrizeRoom_EventScript_Porygon:: @ 816CC55
|
||||
.ifdef FIRERED
|
||||
setvar VAR_TEMP_1, SPECIES_PORYGON
|
||||
setvar VAR_TEMP_2, 9999
|
||||
@@ -100,28 +100,28 @@ EventScript_16CC55:: @ 816CC55
|
||||
setvar VAR_TEMP_2, 6500
|
||||
.endif
|
||||
.endif
|
||||
goto EventScript_16CC65
|
||||
goto CeladonCity_GameCorner_PrizeRoom_EventScript_ConfirmPrizeMon
|
||||
end
|
||||
|
||||
EventScript_16CC65:: @ 816CC65
|
||||
CeladonCity_GameCorner_PrizeRoom_EventScript_ConfirmPrizeMon:: @ 816CC65
|
||||
getspeciesname 0, VAR_TEMP_1
|
||||
msgbox gUnknown_819709D, MSGBOX_YESNO
|
||||
msgbox CeladonCity_GameCorner_PrizeRoom_Text_YouWantPrize, MSGBOX_YESNO
|
||||
compare VAR_RESULT, NO
|
||||
goto_if_eq EventScript_16CC10
|
||||
goto_if_eq CeladonCity_GameCorner_PrizeRoom_EventScript_EndPrizeExchange
|
||||
checkcoins VAR_RESULT
|
||||
compare VAR_RESULT, VAR_TEMP_2
|
||||
goto_if_lt EventScript_16CDA5
|
||||
goto_if_lt CeladonCity_GameCorner_PrizeRoom_EventScript_NotEnoughCoins
|
||||
textcolor 3
|
||||
switch VAR_TEMP_1
|
||||
case SPECIES_ABRA, EventScript_16CCD4
|
||||
case SPECIES_CLEFAIRY, EventScript_16CCE9
|
||||
case SPECIES_DRATINI, EventScript_16CCFE
|
||||
case SPECIES_SCYTHER, EventScript_16CD13
|
||||
case SPECIES_PORYGON, EventScript_16CD28
|
||||
case SPECIES_PINSIR, EventScript_16CD3D
|
||||
case SPECIES_ABRA, CeladonCity_GameCorner_PrizeRoom_EventScript_GiveAbra
|
||||
case SPECIES_CLEFAIRY, CeladonCity_GameCorner_PrizeRoom_EventScript_GiveClefairy
|
||||
case SPECIES_DRATINI, CeladonCity_GameCorner_PrizeRoom_EventScript_GiveDratini
|
||||
case SPECIES_SCYTHER, CeladonCity_GameCorner_PrizeRoom_EventScript_GiveScyther
|
||||
case SPECIES_PORYGON, CeladonCity_GameCorner_PrizeRoom_EventScript_GivePorygon
|
||||
case SPECIES_PINSIR, CeladonCity_GameCorner_PrizeRoom_EventScript_GivePinsir
|
||||
end
|
||||
|
||||
EventScript_16CCD4:: @ 816CCD4
|
||||
CeladonCity_GameCorner_PrizeRoom_EventScript_GiveAbra:: @ 816CCD4
|
||||
.ifdef FIRERED
|
||||
givemon VAR_TEMP_1, 9, ITEM_NONE
|
||||
.else
|
||||
@@ -129,10 +129,10 @@ EventScript_16CCD4:: @ 816CCD4
|
||||
givemon VAR_TEMP_1, 7, ITEM_NONE
|
||||
.endif
|
||||
.endif
|
||||
goto EventScript_16CD52
|
||||
goto CeladonCity_GameCorner_PrizeRoom_EventScript_CheckReceivedMon
|
||||
end
|
||||
|
||||
EventScript_16CCE9:: @ 816CCE9
|
||||
CeladonCity_GameCorner_PrizeRoom_EventScript_GiveClefairy:: @ 816CCE9
|
||||
.ifdef FIRERED
|
||||
givemon VAR_TEMP_1, 8, ITEM_NONE
|
||||
.else
|
||||
@@ -140,10 +140,10 @@ EventScript_16CCE9:: @ 816CCE9
|
||||
givemon VAR_TEMP_1, 12, ITEM_NONE
|
||||
.endif
|
||||
.endif
|
||||
goto EventScript_16CD52
|
||||
goto CeladonCity_GameCorner_PrizeRoom_EventScript_CheckReceivedMon
|
||||
end
|
||||
|
||||
EventScript_16CCFE:: @ 816CCFE
|
||||
CeladonCity_GameCorner_PrizeRoom_EventScript_GiveDratini:: @ 816CCFE
|
||||
.ifdef FIRERED
|
||||
givemon VAR_TEMP_1, 18, ITEM_NONE
|
||||
.else
|
||||
@@ -151,15 +151,15 @@ EventScript_16CCFE:: @ 816CCFE
|
||||
givemon VAR_TEMP_1, 24, ITEM_NONE
|
||||
.endif
|
||||
.endif
|
||||
goto EventScript_16CD52
|
||||
goto CeladonCity_GameCorner_PrizeRoom_EventScript_CheckReceivedMon
|
||||
end
|
||||
|
||||
EventScript_16CD13:: @ 816CD13
|
||||
CeladonCity_GameCorner_PrizeRoom_EventScript_GiveScyther:: @ 816CD13
|
||||
givemon VAR_TEMP_1, 25, ITEM_NONE
|
||||
goto EventScript_16CD52
|
||||
goto CeladonCity_GameCorner_PrizeRoom_EventScript_CheckReceivedMon
|
||||
end
|
||||
|
||||
EventScript_16CD28:: @ 816CD28
|
||||
CeladonCity_GameCorner_PrizeRoom_EventScript_GivePorygon:: @ 816CD28
|
||||
.ifdef FIRERED
|
||||
givemon VAR_TEMP_1, 26, ITEM_NONE
|
||||
.else
|
||||
@@ -167,50 +167,50 @@ EventScript_16CD28:: @ 816CD28
|
||||
givemon VAR_TEMP_1, 18, ITEM_NONE
|
||||
.endif
|
||||
.endif
|
||||
goto EventScript_16CD52
|
||||
goto CeladonCity_GameCorner_PrizeRoom_EventScript_CheckReceivedMon
|
||||
end
|
||||
|
||||
EventScript_16CD3D:: @ 816CD3D
|
||||
CeladonCity_GameCorner_PrizeRoom_EventScript_GivePinsir:: @ 816CD3D
|
||||
givemon VAR_TEMP_1, 18, ITEM_NONE
|
||||
goto EventScript_16CD52
|
||||
goto CeladonCity_GameCorner_PrizeRoom_EventScript_CheckReceivedMon
|
||||
end
|
||||
|
||||
EventScript_16CD52:: @ 816CD52
|
||||
CeladonCity_GameCorner_PrizeRoom_EventScript_CheckReceivedMon:: @ 816CD52
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq EventScript_16CDB3
|
||||
goto_if_eq CeladonCity_GameCorner_PrizeRoom_EventScript_ReceivedMonParty
|
||||
compare VAR_RESULT, 1
|
||||
goto_if_eq EventScript_16CDE0
|
||||
goto_if_eq CeladonCity_GameCorner_PrizeRoom_EventScript_ReceivedMonPC
|
||||
compare VAR_RESULT, 2
|
||||
goto_if_eq EventScript_16CD74
|
||||
goto_if_eq CeladonCity_GameCorner_PrizeRoom_EventScript_PartyFull
|
||||
end
|
||||
|
||||
EventScript_16CD74:: @ 816CD74
|
||||
CeladonCity_GameCorner_PrizeRoom_EventScript_PartyFull:: @ 816CD74
|
||||
textcolor 3
|
||||
msgbox Text_NoMoreRoomForPokemon
|
||||
hidecoinsbox 0, 0
|
||||
release
|
||||
end
|
||||
|
||||
EventScript_16CD83:: @ 816CD83
|
||||
CeladonCity_GameCorner_PrizeRoom_EventScript_NicknamePartyMon:: @ 816CD83
|
||||
getpartysize
|
||||
subvar VAR_RESULT, 1
|
||||
copyvar VAR_0x8004, VAR_RESULT
|
||||
call EventScript_ChangePokemonNickname
|
||||
goto EventScript_16CC10
|
||||
goto CeladonCity_GameCorner_PrizeRoom_EventScript_EndPrizeExchange
|
||||
end
|
||||
|
||||
EventScript_16CD99:: @ 816CD99
|
||||
CeladonCity_GameCorner_PrizeRoom_EventScript_NeedCoinCase:: @ 816CD99
|
||||
textcolor 3
|
||||
msgbox gUnknown_819703E
|
||||
msgbox CeladonCity_GameCorner_PrizeRoom_Text_CoinCaseRequired
|
||||
release
|
||||
end
|
||||
|
||||
EventScript_16CDA5:: @ 816CDA5
|
||||
msgbox gUnknown_81970D5
|
||||
goto EventScript_16CC10
|
||||
CeladonCity_GameCorner_PrizeRoom_EventScript_NotEnoughCoins:: @ 816CDA5
|
||||
msgbox CeladonCity_GameCorner_PrizeRoom_Text_NeedMoreCoins
|
||||
goto CeladonCity_GameCorner_PrizeRoom_EventScript_EndPrizeExchange
|
||||
end
|
||||
|
||||
EventScript_16CDB3:: @ 816CDB3
|
||||
CeladonCity_GameCorner_PrizeRoom_EventScript_ReceivedMonParty:: @ 816CDB3
|
||||
removecoins VAR_TEMP_2
|
||||
updatecoinsbox 0, 5
|
||||
getspeciesname 0, VAR_TEMP_1
|
||||
@@ -220,11 +220,11 @@ EventScript_16CDB3:: @ 816CDB3
|
||||
waitfanfare
|
||||
msgbox Text_GiveNicknameToThisMon, MSGBOX_YESNO
|
||||
compare VAR_RESULT, YES
|
||||
goto_if_eq EventScript_16CD83
|
||||
goto EventScript_16CC10
|
||||
goto_if_eq CeladonCity_GameCorner_PrizeRoom_EventScript_NicknamePartyMon
|
||||
goto CeladonCity_GameCorner_PrizeRoom_EventScript_EndPrizeExchange
|
||||
end
|
||||
|
||||
EventScript_16CDE0:: @ 816CDE0
|
||||
CeladonCity_GameCorner_PrizeRoom_EventScript_ReceivedMonPC:: @ 816CDE0
|
||||
removecoins VAR_TEMP_2
|
||||
updatecoinsbox 0, 5
|
||||
getspeciesname 0, VAR_TEMP_1
|
||||
@@ -234,161 +234,161 @@ EventScript_16CDE0:: @ 816CDE0
|
||||
waitfanfare
|
||||
msgbox Text_GiveNicknameToThisMon, MSGBOX_YESNO
|
||||
compare VAR_RESULT, NO
|
||||
goto_if_eq EventScript_16CE12
|
||||
goto_if_eq CeladonCity_GameCorner_PrizeRoom_EventScript_TransferredToPC
|
||||
call EventScript_NameReceivedBoxMon
|
||||
goto EventScript_16CE12
|
||||
goto CeladonCity_GameCorner_PrizeRoom_EventScript_TransferredToPC
|
||||
end
|
||||
|
||||
EventScript_16CE12:: @ 816CE12
|
||||
CeladonCity_GameCorner_PrizeRoom_EventScript_TransferredToPC:: @ 816CE12
|
||||
call EventScript_TransferredToPC
|
||||
goto EventScript_16CC10
|
||||
goto CeladonCity_GameCorner_PrizeRoom_EventScript_EndPrizeExchange
|
||||
end
|
||||
|
||||
CeladonCity_GameCorner_PrizeRoom_EventScript_16CE1D:: @ 816CE1D
|
||||
CeladonCity_GameCorner_PrizeRoom_EventScript_PrizeClerkTMs:: @ 816CE1D
|
||||
lock
|
||||
faceplayer
|
||||
goto_if_unset FLAG_GOT_COIN_CASE, EventScript_16CD99
|
||||
goto_if_unset FLAG_GOT_COIN_CASE, CeladonCity_GameCorner_PrizeRoom_EventScript_NeedCoinCase
|
||||
goto_if_questlog EventScript_ReleaseEnd
|
||||
showcoinsbox 0, 0
|
||||
msgbox gUnknown_8197057
|
||||
goto EventScript_16CE47
|
||||
msgbox CeladonCity_GameCorner_PrizeRoom_Text_WeExchangeCoinsForPrizes
|
||||
goto CeladonCity_GameCorner_PrizeRoom_EventScript_ChoosePrizeTM
|
||||
end
|
||||
|
||||
EventScript_16CE47:: @ 816CE47
|
||||
message Text_19707A
|
||||
CeladonCity_GameCorner_PrizeRoom_EventScript_ChoosePrizeTM:: @ 816CE47
|
||||
message CeladonCity_GameCorner_PrizeRoom_Text_WhichPrize
|
||||
waitmessage
|
||||
multichoice 11, 0, MULTICHOICE_GAME_CORNER_TMPRIZES, FALSE
|
||||
switch VAR_RESULT
|
||||
case 0, EventScript_16CEA5
|
||||
case 1, EventScript_16CEB9
|
||||
case 2, EventScript_16CECD
|
||||
case 3, EventScript_16CEE1
|
||||
case 4, EventScript_16CEF5
|
||||
case 5, EventScript_16CC10
|
||||
case 127, EventScript_16CC10
|
||||
case 0, CeladonCity_GameCorner_PrizeRoom_EventScript_TM13
|
||||
case 1, CeladonCity_GameCorner_PrizeRoom_EventScript_TM23
|
||||
case 2, CeladonCity_GameCorner_PrizeRoom_EventScript_TM24
|
||||
case 3, CeladonCity_GameCorner_PrizeRoom_EventScript_TM30
|
||||
case 4, CeladonCity_GameCorner_PrizeRoom_EventScript_TM35
|
||||
case 5, CeladonCity_GameCorner_PrizeRoom_EventScript_EndPrizeExchange
|
||||
case 127, CeladonCity_GameCorner_PrizeRoom_EventScript_EndPrizeExchange
|
||||
end
|
||||
|
||||
EventScript_16CEA5:: @ 816CEA5
|
||||
CeladonCity_GameCorner_PrizeRoom_EventScript_TM13:: @ 816CEA5
|
||||
setvar VAR_TEMP_1, ITEM_TM13
|
||||
setvar VAR_TEMP_2, 4000
|
||||
getmovename 1, MOVE_ICE_BEAM
|
||||
goto EventScript_16CF09
|
||||
goto CeladonCity_GameCorner_PrizeRoom_EventScript_ConfirmPrizeTM
|
||||
end
|
||||
|
||||
EventScript_16CEB9:: @ 816CEB9
|
||||
CeladonCity_GameCorner_PrizeRoom_EventScript_TM23:: @ 816CEB9
|
||||
setvar VAR_TEMP_1, ITEM_TM23
|
||||
setvar VAR_TEMP_2, 3500
|
||||
getmovename 1, MOVE_IRON_TAIL
|
||||
goto EventScript_16CF09
|
||||
goto CeladonCity_GameCorner_PrizeRoom_EventScript_ConfirmPrizeTM
|
||||
end
|
||||
|
||||
EventScript_16CECD:: @ 816CECD
|
||||
CeladonCity_GameCorner_PrizeRoom_EventScript_TM24:: @ 816CECD
|
||||
setvar VAR_TEMP_1, ITEM_TM24
|
||||
setvar VAR_TEMP_2, 4000
|
||||
getmovename 1, MOVE_THUNDERBOLT
|
||||
goto EventScript_16CF09
|
||||
goto CeladonCity_GameCorner_PrizeRoom_EventScript_ConfirmPrizeTM
|
||||
end
|
||||
|
||||
EventScript_16CEE1:: @ 816CEE1
|
||||
CeladonCity_GameCorner_PrizeRoom_EventScript_TM30:: @ 816CEE1
|
||||
setvar VAR_TEMP_1, ITEM_TM30
|
||||
setvar VAR_TEMP_2, 4500
|
||||
getmovename 1, MOVE_SHADOW_BALL
|
||||
goto EventScript_16CF09
|
||||
goto CeladonCity_GameCorner_PrizeRoom_EventScript_ConfirmPrizeTM
|
||||
end
|
||||
|
||||
EventScript_16CEF5:: @ 816CEF5
|
||||
CeladonCity_GameCorner_PrizeRoom_EventScript_TM35:: @ 816CEF5
|
||||
setvar VAR_TEMP_1, ITEM_TM35
|
||||
setvar VAR_TEMP_2, 4000
|
||||
getmovename 1, MOVE_FLAMETHROWER
|
||||
goto EventScript_16CF09
|
||||
goto CeladonCity_GameCorner_PrizeRoom_EventScript_ConfirmPrizeTM
|
||||
end
|
||||
|
||||
EventScript_16CF09:: @ 816CF09
|
||||
msgbox gUnknown_81970B2, MSGBOX_YESNO
|
||||
CeladonCity_GameCorner_PrizeRoom_EventScript_ConfirmPrizeTM:: @ 816CF09
|
||||
msgbox CeladonCity_GameCorner_PrizeRoom_Text_YouWantTM, MSGBOX_YESNO
|
||||
compare VAR_RESULT, NO
|
||||
goto_if_eq EventScript_16CC10
|
||||
goto EventScript_16CF3F
|
||||
goto_if_eq CeladonCity_GameCorner_PrizeRoom_EventScript_EndPrizeExchange
|
||||
goto CeladonCity_GameCorner_PrizeRoom_EventScript_TryGivePrize
|
||||
end
|
||||
|
||||
EventScript_16CF22:: @ 816CF22
|
||||
CeladonCity_GameCorner_PrizeRoom_EventScript_ConfirmPrizeItem:: @ 816CF22
|
||||
getitemname 0, VAR_TEMP_1
|
||||
msgbox gUnknown_819709D, MSGBOX_YESNO
|
||||
msgbox CeladonCity_GameCorner_PrizeRoom_Text_YouWantPrize, MSGBOX_YESNO
|
||||
compare VAR_RESULT, NO
|
||||
goto_if_eq EventScript_16CC10
|
||||
goto EventScript_16CF3F
|
||||
goto_if_eq CeladonCity_GameCorner_PrizeRoom_EventScript_EndPrizeExchange
|
||||
goto CeladonCity_GameCorner_PrizeRoom_EventScript_TryGivePrize
|
||||
end
|
||||
|
||||
EventScript_16CF3F:: @ 816CF3F
|
||||
CeladonCity_GameCorner_PrizeRoom_EventScript_TryGivePrize:: @ 816CF3F
|
||||
getitemname 0, VAR_TEMP_1
|
||||
checkcoins VAR_RESULT
|
||||
compare VAR_RESULT, VAR_TEMP_2
|
||||
goto_if_lt EventScript_16CDA5
|
||||
goto_if_lt CeladonCity_GameCorner_PrizeRoom_EventScript_NotEnoughCoins
|
||||
checkitemspace VAR_TEMP_1, 1
|
||||
compare VAR_RESULT, FALSE
|
||||
goto_if_eq EventScript_16CF79
|
||||
goto_if_eq CeladonCity_GameCorner_PrizeRoom_EventScript_BagFull
|
||||
removecoins VAR_TEMP_2
|
||||
updatecoinsbox 0, 5
|
||||
giveitem VAR_TEMP_1
|
||||
goto EventScript_16CC10
|
||||
goto CeladonCity_GameCorner_PrizeRoom_EventScript_EndPrizeExchange
|
||||
end
|
||||
|
||||
EventScript_16CF79:: @ 816CF79
|
||||
CeladonCity_GameCorner_PrizeRoom_EventScript_BagFull:: @ 816CF79
|
||||
textcolor 3
|
||||
msgbox Text_TooBadBagFull
|
||||
hidecoinsbox 0, 0
|
||||
release
|
||||
end
|
||||
|
||||
CeladonCity_GameCorner_PrizeRoom_EventScript_16CF88:: @ 816CF88
|
||||
CeladonCity_GameCorner_PrizeRoom_EventScript_PrizeClerkItems:: @ 816CF88
|
||||
lock
|
||||
faceplayer
|
||||
goto_if_unset FLAG_GOT_COIN_CASE, EventScript_16CD99
|
||||
goto_if_unset FLAG_GOT_COIN_CASE, CeladonCity_GameCorner_PrizeRoom_EventScript_NeedCoinCase
|
||||
goto_if_questlog EventScript_ReleaseEnd
|
||||
showcoinsbox 0, 0
|
||||
msgbox gUnknown_8197057
|
||||
goto EventScript_16CFB2
|
||||
msgbox CeladonCity_GameCorner_PrizeRoom_Text_WeExchangeCoinsForPrizes
|
||||
goto CeladonCity_GameCorner_PrizeRoom_EventScript_ChoosePrizeItem
|
||||
end
|
||||
|
||||
EventScript_16CFB2:: @ 816CFB2
|
||||
message Text_19707A
|
||||
CeladonCity_GameCorner_PrizeRoom_EventScript_ChoosePrizeItem:: @ 816CFB2
|
||||
message CeladonCity_GameCorner_PrizeRoom_Text_WhichPrize
|
||||
waitmessage
|
||||
multichoice 10, 0, MULTICHOICE_GAME_CORNER_BATTLE_ITEM_PRIZES, FALSE
|
||||
switch VAR_RESULT
|
||||
case 0, EventScript_16D010
|
||||
case 1, EventScript_16D020
|
||||
case 2, EventScript_16D030
|
||||
case 3, EventScript_16D040
|
||||
case 4, EventScript_16D050
|
||||
case 5, EventScript_16CC10
|
||||
case 127, EventScript_16CC10
|
||||
case 0, CeladonCity_GameCorner_PrizeRoom_EventScript_SmokeBall
|
||||
case 1, CeladonCity_GameCorner_PrizeRoom_EventScript_MiracleSeed
|
||||
case 2, CeladonCity_GameCorner_PrizeRoom_EventScript_Charcoal
|
||||
case 3, CeladonCity_GameCorner_PrizeRoom_EventScript_MysticWater
|
||||
case 4, CeladonCity_GameCorner_PrizeRoom_EventScript_YellowFlute
|
||||
case 5, CeladonCity_GameCorner_PrizeRoom_EventScript_EndPrizeExchange
|
||||
case 127, CeladonCity_GameCorner_PrizeRoom_EventScript_EndPrizeExchange
|
||||
end
|
||||
|
||||
EventScript_16D010:: @ 816D010
|
||||
CeladonCity_GameCorner_PrizeRoom_EventScript_SmokeBall:: @ 816D010
|
||||
setvar VAR_TEMP_1, ITEM_SMOKE_BALL
|
||||
setvar VAR_TEMP_2, 800
|
||||
goto EventScript_16CF22
|
||||
goto CeladonCity_GameCorner_PrizeRoom_EventScript_ConfirmPrizeItem
|
||||
end
|
||||
|
||||
EventScript_16D020:: @ 816D020
|
||||
CeladonCity_GameCorner_PrizeRoom_EventScript_MiracleSeed:: @ 816D020
|
||||
setvar VAR_TEMP_1, ITEM_MIRACLE_SEED
|
||||
setvar VAR_TEMP_2, 1000
|
||||
goto EventScript_16CF22
|
||||
goto CeladonCity_GameCorner_PrizeRoom_EventScript_ConfirmPrizeItem
|
||||
end
|
||||
|
||||
EventScript_16D030:: @ 816D030
|
||||
CeladonCity_GameCorner_PrizeRoom_EventScript_Charcoal:: @ 816D030
|
||||
setvar VAR_TEMP_1, ITEM_CHARCOAL
|
||||
setvar VAR_TEMP_2, 1000
|
||||
goto EventScript_16CF22
|
||||
goto CeladonCity_GameCorner_PrizeRoom_EventScript_ConfirmPrizeItem
|
||||
end
|
||||
|
||||
EventScript_16D040:: @ 816D040
|
||||
CeladonCity_GameCorner_PrizeRoom_EventScript_MysticWater:: @ 816D040
|
||||
setvar VAR_TEMP_1, ITEM_MYSTIC_WATER
|
||||
setvar VAR_TEMP_2, 1000
|
||||
goto EventScript_16CF22
|
||||
goto CeladonCity_GameCorner_PrizeRoom_EventScript_ConfirmPrizeItem
|
||||
end
|
||||
|
||||
EventScript_16D050:: @ 816D050
|
||||
CeladonCity_GameCorner_PrizeRoom_EventScript_YellowFlute:: @ 816D050
|
||||
setvar VAR_TEMP_1, ITEM_YELLOW_FLUTE
|
||||
setvar VAR_TEMP_2, 1600
|
||||
goto EventScript_16CF22
|
||||
goto CeladonCity_GameCorner_PrizeRoom_EventScript_ConfirmPrizeItem
|
||||
end
|
||||
|
||||
@@ -1,31 +1,31 @@
|
||||
gUnknown_8196FC1:: @ 8196FC1
|
||||
CeladonCity_GameCorner_PrizeRoom_Text_FancyThatPorygon:: @ 8196FC1
|
||||
.string "I sure do fancy that PORYGON!\n"
|
||||
.string "But, it's hard to win at slots!$"
|
||||
|
||||
gUnknown_8196FFF:: @ 8196FFF
|
||||
CeladonCity_GameCorner_PrizeRoom_Text_RakedItInToday:: @ 8196FFF
|
||||
.string "Gahaha! I raked it in today!\n"
|
||||
.string "If only every day were like this…$"
|
||||
|
||||
gUnknown_819703E:: @ 819703E
|
||||
CeladonCity_GameCorner_PrizeRoom_Text_CoinCaseRequired:: @ 819703E
|
||||
.string "A COIN CASE is required…$"
|
||||
|
||||
gUnknown_8197057:: @ 8197057
|
||||
CeladonCity_GameCorner_PrizeRoom_Text_WeExchangeCoinsForPrizes:: @ 8197057
|
||||
.string "We exchange your COINS for prizes.$"
|
||||
|
||||
Text_19707A:: @ 819707A
|
||||
CeladonCity_GameCorner_PrizeRoom_Text_WhichPrize:: @ 819707A
|
||||
.string "Which prize would you like?$"
|
||||
|
||||
gUnknown_8197096:: @ 8197096
|
||||
CeladonCity_GameCorner_PrizeRoom_Text_HereYouGo:: @ 8197096
|
||||
.string "はい どうぞ$"
|
||||
|
||||
gUnknown_819709D:: @ 819709D
|
||||
CeladonCity_GameCorner_PrizeRoom_Text_YouWantPrize:: @ 819709D
|
||||
.string "So, you want the {STR_VAR_1}?$"
|
||||
|
||||
gUnknown_81970B2:: @ 81970B2
|
||||
CeladonCity_GameCorner_PrizeRoom_Text_YouWantTM:: @ 81970B2
|
||||
.string "Okay, a TM of {STR_VAR_2}\n"
|
||||
.string "is what you want?$"
|
||||
|
||||
gUnknown_81970D5:: @ 81970D5
|
||||
CeladonCity_GameCorner_PrizeRoom_Text_NeedMoreCoins:: @ 81970D5
|
||||
.string "Sorry, you'll need more COINS\n"
|
||||
.string "than that.$"
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 1,
|
||||
"trainer_sight_or_berry_tree_id": 3,
|
||||
"script": "CeladonCity_Gym_EventScript_16D111",
|
||||
"script": "CeladonCity_Gym_EventScript_Kay",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -36,7 +36,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 1,
|
||||
"trainer_sight_or_berry_tree_id": 3,
|
||||
"script": "CeladonCity_Gym_EventScript_16D163",
|
||||
"script": "CeladonCity_Gym_EventScript_Bridget",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -49,7 +49,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 1,
|
||||
"trainer_sight_or_berry_tree_id": 2,
|
||||
"script": "CeladonCity_Gym_EventScript_16D14C",
|
||||
"script": "CeladonCity_Gym_EventScript_Tina",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -62,7 +62,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 1,
|
||||
"trainer_sight_or_berry_tree_id": 4,
|
||||
"script": "CeladonCity_Gym_EventScript_16D17A",
|
||||
"script": "CeladonCity_Gym_EventScript_Tamia",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -75,7 +75,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 1,
|
||||
"trainer_sight_or_berry_tree_id": 3,
|
||||
"script": "CeladonCity_Gym_EventScript_16D19E",
|
||||
"script": "CeladonCity_Gym_EventScript_Lori",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -88,7 +88,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 1,
|
||||
"trainer_sight_or_berry_tree_id": 2,
|
||||
"script": "CeladonCity_Gym_EventScript_16D128",
|
||||
"script": "CeladonCity_Gym_EventScript_Lisa",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -101,7 +101,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_Gym_EventScript_16D061",
|
||||
"script": "CeladonCity_Gym_EventScript_Erika",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -114,7 +114,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 1,
|
||||
"trainer_sight_or_berry_tree_id": 2,
|
||||
"script": "CeladonCity_Gym_EventScript_16D1B5",
|
||||
"script": "CeladonCity_Gym_EventScript_Mary",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -187,14 +187,14 @@
|
||||
"x": 4,
|
||||
"y": 16,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_Gym_EventScript_16D1CC"
|
||||
"script": "CeladonCity_Gym_EventScript_GymStatue"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 8,
|
||||
"y": 16,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_Gym_EventScript_16D1CC"
|
||||
"script": "CeladonCity_Gym_EventScript_GymStatue"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,85 +1,85 @@
|
||||
CeladonCity_Gym_MapScripts:: @ 816D060
|
||||
.byte 0
|
||||
|
||||
CeladonCity_Gym_EventScript_16D061:: @ 816D061
|
||||
CeladonCity_Gym_EventScript_Erika:: @ 816D061
|
||||
famechecker FAMECHECKER_ERIKA, FCPICKSTATE_COLORED, UpdatePickStateFromSpecialVar8005
|
||||
trainerbattle_single TRAINER_LEADER_ERIKA, Text_197114, Text_197260, EventScript_16D0A0, NO_MUSIC
|
||||
goto_if_unset FLAG_GOT_TM19_FROM_ERIKA, EventScript_16D0C6
|
||||
trainerbattle_single TRAINER_LEADER_ERIKA, CeladonCity_Gym_Text_ErikaIntro, CeladonCity_Gym_Text_ErikaDefeat, CeladonCity_Gym_EventScript_DefeatedErika, NO_MUSIC
|
||||
goto_if_unset FLAG_GOT_TM19_FROM_ERIKA, CeladonCity_Gym_EventScript_GiveTM19
|
||||
famechecker FAMECHECKER_ERIKA, 4
|
||||
msgbox gUnknown_81972B8
|
||||
msgbox CeladonCity_Gym_Text_ErikaPostBattle
|
||||
release
|
||||
end
|
||||
|
||||
EventScript_16D0A0:: @ 816D0A0
|
||||
CeladonCity_Gym_EventScript_DefeatedErika:: @ 816D0A0
|
||||
famechecker FAMECHECKER_ERIKA, 1
|
||||
clearflag FLAG_HIDE_FAME_CHECKER_ERIKA_JOURNALS
|
||||
setflag FLAG_DEFEATED_ERIKA
|
||||
setflag FLAG_BADGE04_GET
|
||||
set_gym_trainers 4
|
||||
goto EventScript_16D0C6
|
||||
goto CeladonCity_Gym_EventScript_GiveTM19
|
||||
end
|
||||
|
||||
EventScript_16D0C6:: @ 816D0C6
|
||||
msgbox gUnknown_8197327
|
||||
CeladonCity_Gym_EventScript_GiveTM19:: @ 816D0C6
|
||||
msgbox CeladonCity_Gym_Text_ExplainRainbowBadgeTakeThis
|
||||
checkitemspace ITEM_TM19, 1
|
||||
compare VAR_RESULT, FALSE
|
||||
goto_if_eq EventScript_16D107
|
||||
giveitem_msg gUnknown_81973BA, ITEM_TM19
|
||||
goto_if_eq CeladonCity_Gym_EventScript_NoRoomForTM19
|
||||
giveitem_msg CeladonCity_Gym_Text_ReceivedTM19FromErika, ITEM_TM19
|
||||
setflag FLAG_GOT_TM19_FROM_ERIKA
|
||||
msgbox gUnknown_81973D7
|
||||
msgbox CeladonCity_Gym_Text_ExplainTM19
|
||||
release
|
||||
end
|
||||
|
||||
EventScript_16D107:: @ 816D107
|
||||
msgbox gUnknown_819745D
|
||||
CeladonCity_Gym_EventScript_NoRoomForTM19:: @ 816D107
|
||||
msgbox CeladonCity_Gym_Text_ShouldMakeRoomForThis
|
||||
release
|
||||
end
|
||||
|
||||
CeladonCity_Gym_EventScript_16D111:: @ 816D111
|
||||
trainerbattle_single TRAINER_LASS_KAY, Text_19747C, Text_1974C4
|
||||
msgbox gUnknown_81974D6, MSGBOX_AUTOCLOSE
|
||||
CeladonCity_Gym_EventScript_Kay:: @ 816D111
|
||||
trainerbattle_single TRAINER_LASS_KAY, CeladonCity_Gym_Text_KayIntro, CeladonCity_Gym_Text_KayDefeat
|
||||
msgbox CeladonCity_Gym_Text_KayPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
CeladonCity_Gym_EventScript_16D128:: @ 816D128
|
||||
trainerbattle_single TRAINER_LASS_LISA, Text_1976C5, Text_1976FF
|
||||
CeladonCity_Gym_EventScript_Lisa:: @ 816D128
|
||||
trainerbattle_single TRAINER_LASS_LISA, CeladonCity_Gym_Text_LisaIntro, CeladonCity_Gym_Text_LisaDefeat
|
||||
famechecker FAMECHECKER_ERIKA, 2
|
||||
msgbox gUnknown_8197708, MSGBOX_AUTOCLOSE
|
||||
msgbox CeladonCity_Gym_Text_LisaPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
CeladonCity_Gym_EventScript_16D14C:: @ 816D14C
|
||||
trainerbattle_single TRAINER_PICNICKER_TINA, Text_197595, Text_1975BB
|
||||
msgbox gUnknown_81975D1, MSGBOX_AUTOCLOSE
|
||||
CeladonCity_Gym_EventScript_Tina:: @ 816D14C
|
||||
trainerbattle_single TRAINER_PICNICKER_TINA, CeladonCity_Gym_Text_TinaIntro, CeladonCity_Gym_Text_TinaDefeat
|
||||
msgbox CeladonCity_Gym_Text_TinaPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
CeladonCity_Gym_EventScript_16D163:: @ 816D163
|
||||
trainerbattle_single TRAINER_BEAUTY_BRIDGET, Text_1974FA, Text_19751C
|
||||
msgbox gUnknown_8197527, MSGBOX_AUTOCLOSE
|
||||
CeladonCity_Gym_EventScript_Bridget:: @ 816D163
|
||||
trainerbattle_single TRAINER_BEAUTY_BRIDGET, CeladonCity_Gym_Text_BridgetIntro, CeladonCity_Gym_Text_BridgetDefeat
|
||||
msgbox CeladonCity_Gym_Text_BridgetPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
CeladonCity_Gym_EventScript_16D17A:: @ 816D17A
|
||||
trainerbattle_single TRAINER_BEAUTY_TAMIA, Text_19760B, Text_197660
|
||||
CeladonCity_Gym_EventScript_Tamia:: @ 816D17A
|
||||
trainerbattle_single TRAINER_BEAUTY_TAMIA, CeladonCity_Gym_Text_TamiaIntro, CeladonCity_Gym_Text_TamiaDefeat
|
||||
famechecker FAMECHECKER_ERIKA, 3
|
||||
msgbox gUnknown_8197664, MSGBOX_AUTOCLOSE
|
||||
msgbox CeladonCity_Gym_Text_TamiaPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
CeladonCity_Gym_EventScript_16D19E:: @ 816D19E
|
||||
trainerbattle_single TRAINER_BEAUTY_LORI, Text_197747, Text_19777A
|
||||
msgbox gUnknown_8197788, MSGBOX_AUTOCLOSE
|
||||
CeladonCity_Gym_EventScript_Lori:: @ 816D19E
|
||||
trainerbattle_single TRAINER_BEAUTY_LORI, CeladonCity_Gym_Text_LoriIntro, CeladonCity_Gym_Text_LoriDefeat
|
||||
msgbox CeladonCity_Gym_Text_LoriPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
CeladonCity_Gym_EventScript_16D1B5:: @ 816D1B5
|
||||
trainerbattle_single TRAINER_COOLTRAINER_MARY, Text_1977E5, Text_197832
|
||||
msgbox gUnknown_819783E, MSGBOX_AUTOCLOSE
|
||||
CeladonCity_Gym_EventScript_Mary:: @ 816D1B5
|
||||
trainerbattle_single TRAINER_COOLTRAINER_MARY, CeladonCity_Gym_Text_MaryIntro, CeladonCity_Gym_Text_MaryDefeat
|
||||
msgbox CeladonCity_Gym_Text_MaryPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
CeladonCity_Gym_EventScript_16D1CC:: @ 816D1CC
|
||||
CeladonCity_Gym_EventScript_GymStatue:: @ 816D1CC
|
||||
lockall
|
||||
goto_if_set FLAG_BADGE04_GET, EventScript_16D1E0
|
||||
msgbox gUnknown_8197874
|
||||
goto_if_set FLAG_BADGE04_GET, CeladonCity_Gym_EventScript_GymStatuePostVictory
|
||||
msgbox CeladonCity_Gym_Text_GymStatue
|
||||
releaseall
|
||||
end
|
||||
|
||||
EventScript_16D1E0:: @ 816D1E0
|
||||
msgbox gUnknown_81978AB
|
||||
CeladonCity_Gym_EventScript_GymStatuePostVictory:: @ 816D1E0
|
||||
msgbox CeladonCity_Gym_Text_GymStatuePlayerWon
|
||||
releaseall
|
||||
end
|
||||
|
||||
@@ -1,168 +1,156 @@
|
||||
gUnknown_81970FE:: @ 81970FE
|
||||
.string "おきゃくさん もう もてないよ$" @ I'm sorry I don't have any more
|
||||
Text_SorryDontHaveAnyMore:: @ 81970FE
|
||||
.string "おきゃくさん もう もてないよ$"
|
||||
|
||||
gUnknown_819710E:: @ 819710E
|
||||
.string "あっ そう$" @ I see
|
||||
Text_ISee:: @ 819710E
|
||||
.string "あっ そう$"
|
||||
|
||||
Text_197114:: @ 8197114
|
||||
CeladonCity_Gym_Text_ErikaIntro:: @ 8197114
|
||||
.string "Hello…\n"
|
||||
.string "Lovely weather, isn't it?\l"
|
||||
.string "It's so pleasant…\p"
|
||||
|
||||
.string "…Oh, dear…\n"
|
||||
.string "I must have dozed off. Welcome.\p"
|
||||
|
||||
.string "My name is ERIKA.\n"
|
||||
.string "I am the LEADER of CELADON GYM.\p"
|
||||
|
||||
.string "I am a student of the art of\n"
|
||||
.string "flower arranging.\p"
|
||||
|
||||
.string "My POKéMON are solely of the\n"
|
||||
.string "GRASS type.\p"
|
||||
|
||||
.string "…Oh, I'm sorry, I had no idea that\n"
|
||||
.string "you wished to challenge me.\p"
|
||||
|
||||
.string "Very well, but I shall not lose.{PLAY_BGM MUS_EXEYE}$"
|
||||
|
||||
Text_197260:: @ 8197260
|
||||
CeladonCity_Gym_Text_ErikaDefeat:: @ 8197260
|
||||
.string "Oh!\n"
|
||||
.string "I concede defeat.\l"
|
||||
.string "You are remarkably strong.\p"
|
||||
|
||||
.string "I must confer on you the\n"
|
||||
.string "RAINBOWBADGE.$"
|
||||
|
||||
gUnknown_81972B8:: @ 81972B8
|
||||
CeladonCity_Gym_Text_ErikaPostBattle:: @ 81972B8
|
||||
.string "You are cataloging POKéMON?\n"
|
||||
.string "I must say I'm impressed.\p"
|
||||
|
||||
.string "I would never collect POKéMON if\n"
|
||||
.string "they were unattractive.$"
|
||||
|
||||
gUnknown_8197327:: @ 8197327
|
||||
CeladonCity_Gym_Text_ExplainRainbowBadgeTakeThis:: @ 8197327
|
||||
.string "The RAINBOWBADGE will make\n"
|
||||
.string "POKéMON up to Lv. 50 obey.\p"
|
||||
|
||||
.string "It also allows POKéMON to use\n"
|
||||
.string "STRENGTH in and out of battle.\p"
|
||||
|
||||
.string "Please also take this with you.$"
|
||||
|
||||
gUnknown_81973BA:: @ 81973BA
|
||||
CeladonCity_Gym_Text_ReceivedTM19FromErika:: @ 81973BA
|
||||
.string "{PLAYER} received TM19\n"
|
||||
.string "from ERIKA.$"
|
||||
|
||||
gUnknown_81973D7:: @ 81973D7
|
||||
CeladonCity_Gym_Text_ExplainTM19:: @ 81973D7
|
||||
.string "TM19 contains GIGA DRAIN.\p"
|
||||
|
||||
.string "Half the damage it inflicts is\n"
|
||||
.string "drained to heal your POKéMON.\p"
|
||||
|
||||
.string "Wouldn't you agree that it's a\n"
|
||||
.string "wonderful move?$"
|
||||
|
||||
gUnknown_819745D:: @ 819745D
|
||||
CeladonCity_Gym_Text_ShouldMakeRoomForThis:: @ 819745D
|
||||
.string "You should make room for this.$"
|
||||
|
||||
Text_19747C:: @ 819747C
|
||||
CeladonCity_Gym_Text_KayIntro:: @ 819747C
|
||||
.string "I should tell you about this GYM.\p"
|
||||
.string "Only real ladies are allowed in\n"
|
||||
.string "here!$"
|
||||
|
||||
Text_1974C4:: @ 81974C4
|
||||
CeladonCity_Gym_Text_KayDefeat:: @ 81974C4
|
||||
.string "You're too rough!$"
|
||||
|
||||
gUnknown_81974D6:: @ 81974D6
|
||||
CeladonCity_Gym_Text_KayPostBattle:: @ 81974D6
|
||||
.string "Bleaah!\n"
|
||||
.string "I hope ERIKA wipes you out!$"
|
||||
|
||||
Text_1974FA:: @ 81974FA
|
||||
CeladonCity_Gym_Text_BridgetIntro:: @ 81974FA
|
||||
.string "Oh, welcome.\n"
|
||||
.string "I was getting bored.$"
|
||||
|
||||
Text_19751C:: @ 819751C
|
||||
CeladonCity_Gym_Text_BridgetDefeat:: @ 819751C
|
||||
.string "My makeup!$"
|
||||
|
||||
gUnknown_8197527:: @ 8197527
|
||||
CeladonCity_Gym_Text_BridgetPostBattle:: @ 8197527
|
||||
.string "GRASS-type POKéMON are tough\n"
|
||||
.string "against the WATER type.\p"
|
||||
.string "They also have an edge on ROCK-\n"
|
||||
.string "and GROUND-type POKéMON.$"
|
||||
|
||||
Text_197595:: @ 8197595
|
||||
CeladonCity_Gym_Text_TinaIntro:: @ 8197595
|
||||
.string "…Weren't you peeking in here\n"
|
||||
.string "earlier?$"
|
||||
|
||||
Text_1975BB:: @ 81975BB
|
||||
CeladonCity_Gym_Text_TinaDefeat:: @ 81975BB
|
||||
.string "You're an eye-opener!$"
|
||||
|
||||
gUnknown_81975D1:: @ 81975D1
|
||||
CeladonCity_Gym_Text_TinaPostBattle:: @ 81975D1
|
||||
.string "Oh, you were looking at ERIKA…\n"
|
||||
.string "You weren't looking at me…$"
|
||||
|
||||
Text_19760B:: @ 819760B
|
||||
CeladonCity_Gym_Text_TamiaIntro:: @ 819760B
|
||||
.string "Look, look!\n"
|
||||
.string "See my POKéMON!\p"
|
||||
.string "I like the GRASS type.\n"
|
||||
.string "I like how they're easy to raise.$"
|
||||
|
||||
Text_197660:: @ 8197660
|
||||
CeladonCity_Gym_Text_TamiaDefeat:: @ 8197660
|
||||
.string "No!$"
|
||||
|
||||
gUnknown_8197664:: @ 8197664
|
||||
CeladonCity_Gym_Text_TamiaPostBattle:: @ 8197664
|
||||
.string "We only use GRASS-type POKéMON at\n"
|
||||
.string "our GYM.\p"
|
||||
.string "Why? We also use them for making\n"
|
||||
.string "flower arrangements!$"
|
||||
|
||||
Text_1976C5:: @ 81976C5
|
||||
CeladonCity_Gym_Text_LisaIntro:: @ 81976C5
|
||||
.string "Oh, hey!\p"
|
||||
.string "We don't like BUG- or FIRE-type\n"
|
||||
.string "POKéMON in here!$"
|
||||
|
||||
Text_1976FF:: @ 81976FF
|
||||
CeladonCity_Gym_Text_LisaDefeat:: @ 81976FF
|
||||
.string "Oh!\n"
|
||||
.string "You!$"
|
||||
|
||||
gUnknown_8197708:: @ 8197708
|
||||
CeladonCity_Gym_Text_LisaPostBattle:: @ 8197708
|
||||
.string "Our LEADER ERIKA might be quiet,\n"
|
||||
.string "but she's famous around here.$"
|
||||
|
||||
Text_197747:: @ 8197747
|
||||
CeladonCity_Gym_Text_LoriIntro:: @ 8197747
|
||||
.string "Pleased to meet you.\n"
|
||||
.string "My hobby is POKéMON training.$"
|
||||
|
||||
Text_19777A:: @ 819777A
|
||||
CeladonCity_Gym_Text_LoriDefeat:: @ 819777A
|
||||
.string "Oh!\n"
|
||||
.string "Splendid!$"
|
||||
|
||||
gUnknown_8197788:: @ 8197788
|
||||
CeladonCity_Gym_Text_LoriPostBattle:: @ 8197788
|
||||
.string "I have a blind date coming up.\n"
|
||||
.string "I have to learn to be polite,\l"
|
||||
.string "especially if I have to battle.$"
|
||||
|
||||
Text_1977E5:: @ 81977E5
|
||||
CeladonCity_Gym_Text_MaryIntro:: @ 81977E5
|
||||
.string "Welcome to CELADON GYM!\p"
|
||||
.string "You'd better not underestimate\n"
|
||||
.string "the nice ladies here.$"
|
||||
|
||||
Text_197832:: @ 8197832
|
||||
CeladonCity_Gym_Text_MaryDefeat:: @ 8197832
|
||||
.string "Oh!\n"
|
||||
.string "Beaten!$"
|
||||
|
||||
gUnknown_819783E:: @ 819783E
|
||||
CeladonCity_Gym_Text_MaryPostBattle:: @ 819783E
|
||||
.string "I didn't bring my best POKéMON.\n"
|
||||
.string "Wait until next time!$"
|
||||
|
||||
gUnknown_8197874:: @ 8197874
|
||||
CeladonCity_Gym_Text_GymStatue:: @ 8197874
|
||||
.string "CELADON POKéMON GYM\n"
|
||||
.string "LEADER: ERIKA\p"
|
||||
.string "WINNING TRAINERS:\n"
|
||||
.string "{RIVAL}$"
|
||||
|
||||
gUnknown_81978AB:: @ 81978AB
|
||||
CeladonCity_Gym_Text_GymStatuePlayerWon:: @ 81978AB
|
||||
.string "CELADON POKéMON GYM\n"
|
||||
.string "LEADER: ERIKA\p"
|
||||
.string "WINNING TRAINERS:\n"
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_Hotel_EventScript_16D284",
|
||||
"script": "CeladonCity_Hotel_EventScript_Receptionist",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -36,7 +36,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_Hotel_EventScript_16D28D",
|
||||
"script": "CeladonCity_Hotel_EventScript_Beauty",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -49,7 +49,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_Hotel_EventScript_16D296",
|
||||
"script": "CeladonCity_Hotel_EventScript_BeautyBoyfriend",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -62,7 +62,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_Hotel_EventScript_16D29F",
|
||||
"script": "CeladonCity_Hotel_EventScript_BeautyBrother",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
|
||||
@@ -1,18 +1,18 @@
|
||||
CeladonCity_Hotel_MapScripts:: @ 816D283
|
||||
.byte 0
|
||||
|
||||
CeladonCity_Hotel_EventScript_16D284:: @ 816D284
|
||||
msgbox gUnknown_8197B77, MSGBOX_NPC
|
||||
CeladonCity_Hotel_EventScript_Receptionist:: @ 816D284
|
||||
msgbox CeladonCity_Hotel_Text_ThisHotelIsForPeople, MSGBOX_NPC
|
||||
end
|
||||
|
||||
CeladonCity_Hotel_EventScript_16D28D:: @ 816D28D
|
||||
msgbox gUnknown_8197BBE, MSGBOX_NPC
|
||||
CeladonCity_Hotel_EventScript_Beauty:: @ 816D28D
|
||||
msgbox CeladonCity_Hotel_Text_OnVacationWithBrotherAndBoyfriend, MSGBOX_NPC
|
||||
end
|
||||
|
||||
CeladonCity_Hotel_EventScript_16D296:: @ 816D296
|
||||
msgbox gUnknown_8197C0C, MSGBOX_NPC
|
||||
CeladonCity_Hotel_EventScript_BeautyBoyfriend:: @ 816D296
|
||||
msgbox CeladonCity_Hotel_Text_WhyDidSheBringBrother, MSGBOX_NPC
|
||||
end
|
||||
|
||||
CeladonCity_Hotel_EventScript_16D29F:: @ 816D29F
|
||||
msgbox gUnknown_8197C30, MSGBOX_NPC
|
||||
CeladonCity_Hotel_EventScript_BeautyBrother:: @ 816D29F
|
||||
msgbox CeladonCity_Hotel_Text_SisBroughtMeOnVacation, MSGBOX_NPC
|
||||
end
|
||||
|
||||
@@ -1,21 +1,18 @@
|
||||
Text_197B6F:: @ 8197B6F
|
||||
.string "ぶつだん だ‥$"
|
||||
|
||||
gUnknown_8197B77:: @ 8197B77
|
||||
CeladonCity_Hotel_Text_ThisHotelIsForPeople:: @ 8197B77
|
||||
.string "POKéMON?\n"
|
||||
.string "No, this is a hotel for people.\p"
|
||||
.string "We're full up, unfortunately.$"
|
||||
|
||||
gUnknown_8197BBE:: @ 8197BBE
|
||||
CeladonCity_Hotel_Text_OnVacationWithBrotherAndBoyfriend:: @ 8197BBE
|
||||
.string "I'm on vacation with my brother and\n"
|
||||
.string "boyfriend.\p"
|
||||
.string "CELADON is such a pretty city!$"
|
||||
|
||||
gUnknown_8197C0C:: @ 8197C0C
|
||||
CeladonCity_Hotel_Text_WhyDidSheBringBrother:: @ 8197C0C
|
||||
.string "Why?\n"
|
||||
.string "Why did she bring her brother?$"
|
||||
|
||||
gUnknown_8197C30:: @ 8197C30
|
||||
CeladonCity_Hotel_Text_SisBroughtMeOnVacation:: @ 8197C30
|
||||
.string "Yippee! I'm on vacation!\n"
|
||||
.string "My sis brought me along! Awesome!$"
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_House1_EventScript_16D268",
|
||||
"script": "CeladonCity_House1_EventScript_RocketChief",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -36,7 +36,7 @@
|
||||
"movement_range_y": 5,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_House1_EventScript_16D271",
|
||||
"script": "CeladonCity_House1_EventScript_Rocket1",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -49,7 +49,7 @@
|
||||
"movement_range_y": 5,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_House1_EventScript_16D27A",
|
||||
"script": "CeladonCity_House1_EventScript_Rocket2",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
CeladonCity_House1_MapScripts:: @ 816D267
|
||||
.byte 0
|
||||
|
||||
CeladonCity_House1_EventScript_16D268:: @ 816D268
|
||||
msgbox gUnknown_8197A9F, MSGBOX_NPC
|
||||
CeladonCity_House1_EventScript_RocketChief:: @ 816D268
|
||||
msgbox CeladonCity_House1_Text_SlotsReelInTheDough, MSGBOX_NPC
|
||||
end
|
||||
|
||||
CeladonCity_House1_EventScript_16D271:: @ 816D271
|
||||
msgbox gUnknown_8197AD3, MSGBOX_NPC
|
||||
CeladonCity_House1_EventScript_Rocket1:: @ 816D271
|
||||
msgbox CeladonCity_House1_Text_ShippedMonsAsSlotPrizes, MSGBOX_NPC
|
||||
end
|
||||
|
||||
CeladonCity_House1_EventScript_16D27A:: @ 816D27A
|
||||
msgbox gUnknown_8197B20, MSGBOX_NPC
|
||||
CeladonCity_House1_EventScript_Rocket2:: @ 816D27A
|
||||
msgbox CeladonCity_House1_Text_DontTouchGameCornerPoster, MSGBOX_NPC
|
||||
end
|
||||
|
||||
@@ -1,16 +1,20 @@
|
||||
gUnknown_8197A9F:: @ 8197A9F
|
||||
CeladonCity_House1_Text_SlotsReelInTheDough:: @ 8197A9F
|
||||
.string "Hehehe!\p"
|
||||
.string "The slots just reel in the dough,\n"
|
||||
.string "big-time!$"
|
||||
|
||||
gUnknown_8197AD3:: @ 8197AD3
|
||||
CeladonCity_House1_Text_ShippedMonsAsSlotPrizes:: @ 8197AD3
|
||||
.string "CHIEF!\p"
|
||||
.string "We just shipped two thousand\n"
|
||||
.string "more POKéMON as slot prizes\l"
|
||||
.string "again today!$"
|
||||
|
||||
gUnknown_8197B20:: @ 8197B20
|
||||
CeladonCity_House1_Text_DontTouchGameCornerPoster:: @ 8197B20
|
||||
.string "Don't touch the poster at the GAME\n"
|
||||
.string "CORNER!\p"
|
||||
.string "There's no secret switch behind it!$"
|
||||
|
||||
@ Text for the replaced altars in the rocket chiefs house / celadon mansion
|
||||
@ In English RB, this is westernized as "It's a sculpture of DIGLETT.", and is removed altogether in FRLG
|
||||
Text_ItsABuddhistAltar:: @ 8197B6F
|
||||
.string "ぶつだん だ‥$"
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_PokemonCenter_1F_EventScript_16C5FB",
|
||||
"script": "CeladonCity_PokemonCenter_1F_EventScript_Nurse",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -36,7 +36,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_PokemonCenter_1F_EventScript_16C604",
|
||||
"script": "CeladonCity_PokemonCenter_1F_EventScript_Gentleman",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -49,7 +49,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_PokemonCenter_1F_EventScript_16C60D",
|
||||
"script": "CeladonCity_PokemonCenter_1F_EventScript_CooltrainerF",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -62,7 +62,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_PokemonCenter_1F_EventScript_16C616",
|
||||
"script": "CeladonCity_PokemonCenter_1F_EventScript_Youngster",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
|
||||
@@ -7,21 +7,21 @@ CeladonCity_PokemonCenter_1F_OnTransition:: @ 816C5F7
|
||||
setrespawn SPAWN_CELADON_CITY
|
||||
end
|
||||
|
||||
CeladonCity_PokemonCenter_1F_EventScript_16C5FB:: @ 816C5FB
|
||||
CeladonCity_PokemonCenter_1F_EventScript_Nurse:: @ 816C5FB
|
||||
lock
|
||||
faceplayer
|
||||
call EventScript_PkmnCenterNurse
|
||||
release
|
||||
end
|
||||
|
||||
CeladonCity_PokemonCenter_1F_EventScript_16C604:: @ 816C604
|
||||
msgbox gUnknown_819685B, MSGBOX_NPC
|
||||
CeladonCity_PokemonCenter_1F_EventScript_Gentleman:: @ 816C604
|
||||
msgbox CeladonCity_PokemonCenter_1F_Text_PokeFluteAwakensSleepingMons, MSGBOX_NPC
|
||||
end
|
||||
|
||||
CeladonCity_PokemonCenter_1F_EventScript_16C60D:: @ 816C60D
|
||||
msgbox gUnknown_81968C2, MSGBOX_NPC
|
||||
CeladonCity_PokemonCenter_1F_EventScript_CooltrainerF:: @ 816C60D
|
||||
msgbox CeladonCity_PokemonCenter_1F_Text_RodeHereFromFuchsia, MSGBOX_NPC
|
||||
end
|
||||
|
||||
CeladonCity_PokemonCenter_1F_EventScript_16C616:: @ 816C616
|
||||
msgbox gUnknown_8196913, MSGBOX_NPC
|
||||
CeladonCity_PokemonCenter_1F_EventScript_Youngster:: @ 816C616
|
||||
msgbox CeladonCity_PokemonCenter_1F_Text_GoToCyclingRoadIfIHadBike, MSGBOX_NPC
|
||||
end
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
gUnknown_819685B:: @ 819685B
|
||||
CeladonCity_PokemonCenter_1F_Text_PokeFluteAwakensSleepingMons:: @ 819685B
|
||||
.string "A POKé FLUTE awakens sleeping\n"
|
||||
.string "POKéMON. You know that.\p"
|
||||
.string "It does so with a sound that only\n"
|
||||
.string "they can hear.$"
|
||||
|
||||
gUnknown_81968C2:: @ 81968C2
|
||||
CeladonCity_PokemonCenter_1F_Text_RodeHereFromFuchsia:: @ 81968C2
|
||||
.string "I rode here from FUCHSIA.\p"
|
||||
.string "It's an uphill ride on CYCLING\n"
|
||||
.string "ROAD, so I'm exhausted.$"
|
||||
|
||||
gUnknown_8196913:: @ 8196913
|
||||
CeladonCity_PokemonCenter_1F_Text_GoToCyclingRoadIfIHadBike:: @ 8196913
|
||||
.string "If I had a BIKE, I would go to\n"
|
||||
.string "CYCLING ROAD!$"
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_Restaurant_EventScript_16D1EB",
|
||||
"script": "CeladonCity_Restaurant_EventScript_Chef",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -36,7 +36,7 @@
|
||||
"movement_range_y": 2,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_Restaurant_EventScript_16D1F4",
|
||||
"script": "CeladonCity_Restaurant_EventScript_Woman",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -49,7 +49,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_Restaurant_EventScript_16D25E",
|
||||
"script": "CeladonCity_Restaurant_EventScript_FatMan",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -62,7 +62,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_Restaurant_EventScript_16D1FD",
|
||||
"script": "CeladonCity_Restaurant_EventScript_CoinCaseMan",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -75,7 +75,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_Restaurant_EventScript_16D255",
|
||||
"script": "CeladonCity_Restaurant_EventScript_WorkerM",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
|
||||
@@ -1,41 +1,41 @@
|
||||
CeladonCity_Restaurant_MapScripts:: @ 816D1EA
|
||||
.byte 0
|
||||
|
||||
CeladonCity_Restaurant_EventScript_16D1EB:: @ 816D1EB
|
||||
msgbox gUnknown_81978E6, MSGBOX_NPC
|
||||
CeladonCity_Restaurant_EventScript_Chef:: @ 816D1EB
|
||||
msgbox CeladonCity_Restaurant_Text_TakingBreakRightNow, MSGBOX_NPC
|
||||
end
|
||||
|
||||
CeladonCity_Restaurant_EventScript_16D1F4:: @ 816D1F4
|
||||
msgbox gUnknown_8197915, MSGBOX_NPC
|
||||
CeladonCity_Restaurant_EventScript_Woman:: @ 816D1F4
|
||||
msgbox CeladonCity_Restaurant_Text_OftenGoToDrugstore, MSGBOX_NPC
|
||||
end
|
||||
|
||||
CeladonCity_Restaurant_EventScript_16D1FD:: @ 816D1FD
|
||||
CeladonCity_Restaurant_EventScript_CoinCaseMan:: @ 816D1FD
|
||||
lock
|
||||
faceplayer
|
||||
goto_if_set FLAG_GOT_COIN_CASE, EventScript_16D24B
|
||||
msgbox gUnknown_81979C1
|
||||
goto_if_set FLAG_GOT_COIN_CASE, CeladonCity_Restaurant_EventScript_AlreadyGotCoinCase
|
||||
msgbox CeladonCity_Restaurant_Text_TakeThisImBusted
|
||||
checkitemspace ITEM_COIN_CASE, 1
|
||||
compare VAR_RESULT, FALSE
|
||||
goto_if_eq EventScript_16D241
|
||||
giveitem_msg gUnknown_8197A38, ITEM_COIN_CASE
|
||||
goto_if_eq CeladonCity_Restaurant_EventScript_NoRoomForCoinCase
|
||||
giveitem_msg CeladonCity_Restaurant_Text_ReceivedCoinCaseFromMan, ITEM_COIN_CASE
|
||||
setflag FLAG_GOT_COIN_CASE
|
||||
release
|
||||
end
|
||||
|
||||
EventScript_16D241:: @ 816D241
|
||||
msgbox gUnknown_8197A5E
|
||||
CeladonCity_Restaurant_EventScript_NoRoomForCoinCase:: @ 816D241
|
||||
msgbox CeladonCity_Restaurant_Text_MakeRoomForThis
|
||||
release
|
||||
end
|
||||
|
||||
EventScript_16D24B:: @ 816D24B
|
||||
msgbox gUnknown_8197A72
|
||||
CeladonCity_Restaurant_EventScript_AlreadyGotCoinCase:: @ 816D24B
|
||||
msgbox CeladonCity_Restaurant_Text_ThoughtIdWinItBack
|
||||
release
|
||||
end
|
||||
|
||||
CeladonCity_Restaurant_EventScript_16D255:: @ 816D255
|
||||
msgbox gUnknown_8197952, MSGBOX_NPC
|
||||
CeladonCity_Restaurant_EventScript_WorkerM:: @ 816D255
|
||||
msgbox CeladonCity_Restaurant_Text_PsstBasementUnderGameCorner, MSGBOX_NPC
|
||||
end
|
||||
|
||||
CeladonCity_Restaurant_EventScript_16D25E:: @ 816D25E
|
||||
msgbox gUnknown_819798A, MSGBOX_NPC
|
||||
CeladonCity_Restaurant_EventScript_FatMan:: @ 816D25E
|
||||
msgbox CeladonCity_Restaurant_Text_ManLostItAllAtSlots, MSGBOX_NPC
|
||||
end
|
||||
|
||||
@@ -1,22 +1,22 @@
|
||||
gUnknown_81978E6:: @ 81978E6
|
||||
CeladonCity_Restaurant_Text_TakingBreakRightNow:: @ 81978E6
|
||||
.string "Hi!\p"
|
||||
.string "Sorry, but we're taking a break\n"
|
||||
.string "right now.$"
|
||||
|
||||
gUnknown_8197915:: @ 8197915
|
||||
CeladonCity_Restaurant_Text_OftenGoToDrugstore:: @ 8197915
|
||||
.string "My POKéMON are weak, so I often\n"
|
||||
.string "have to go to the DRUGSTORE.$"
|
||||
|
||||
gUnknown_8197952:: @ 8197952
|
||||
CeladonCity_Restaurant_Text_PsstBasementUnderGameCorner:: @ 8197952
|
||||
.string "Psst! There's a basement under the\n"
|
||||
.string "GAME CORNER, I hear.$"
|
||||
|
||||
gUnknown_819798A:: @ 819798A
|
||||
CeladonCity_Restaurant_Text_ManLostItAllAtSlots:: @ 819798A
|
||||
.string "Munch…\p"
|
||||
.string "The man at that table lost it all\n"
|
||||
.string "at the slots.$"
|
||||
|
||||
gUnknown_81979C1:: @ 81979C1
|
||||
CeladonCity_Restaurant_Text_TakeThisImBusted:: @ 81979C1
|
||||
.string "Go ahead! Laugh!\n"
|
||||
.string "I'm flat-out busted!\p"
|
||||
.string "No more slots for me!\n"
|
||||
@@ -24,14 +24,14 @@ gUnknown_81979C1:: @ 81979C1
|
||||
.string "Here!\n"
|
||||
.string "I won't be needing this anymore!$"
|
||||
|
||||
gUnknown_8197A38:: @ 8197A38
|
||||
CeladonCity_Restaurant_Text_ReceivedCoinCaseFromMan:: @ 8197A38
|
||||
.string "{PLAYER} received a COIN CASE\n"
|
||||
.string "from the man.$"
|
||||
|
||||
gUnknown_8197A5E:: @ 8197A5E
|
||||
CeladonCity_Restaurant_Text_MakeRoomForThis:: @ 8197A5E
|
||||
.string "Make room for this!$"
|
||||
|
||||
gUnknown_8197A72:: @ 8197A72
|
||||
CeladonCity_Restaurant_Text_ThoughtIdWinItBack:: @ 8197A72
|
||||
.string "I always thought I was going to\n"
|
||||
.string "win it back…$"
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 1,
|
||||
"trainer_sight_or_berry_tree_id": 1,
|
||||
"script": "FiveIsland_RocketWarehouse_EventScript_163FE6",
|
||||
"script": "FiveIsland_RocketWarehouse_EventScript_Grunt2",
|
||||
"flag": "FLAG_HIDE_FIVE_ISLAND_ROCKETS"
|
||||
},
|
||||
{
|
||||
@@ -36,7 +36,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 1,
|
||||
"trainer_sight_or_berry_tree_id": 1,
|
||||
"script": "FiveIsland_RocketWarehouse_EventScript_163FFD",
|
||||
"script": "FiveIsland_RocketWarehouse_EventScript_Grunt3",
|
||||
"flag": "FLAG_HIDE_FIVE_ISLAND_ROCKETS"
|
||||
},
|
||||
{
|
||||
@@ -49,7 +49,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 1,
|
||||
"trainer_sight_or_berry_tree_id": 3,
|
||||
"script": "FiveIsland_RocketWarehouse_EventScript_164087",
|
||||
"script": "FiveIsland_RocketWarehouse_EventScript_Admin1",
|
||||
"flag": "FLAG_HIDE_FIVE_ISLAND_ROCKETS"
|
||||
},
|
||||
{
|
||||
@@ -62,7 +62,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 1,
|
||||
"trainer_sight_or_berry_tree_id": 3,
|
||||
"script": "FiveIsland_RocketWarehouse_EventScript_164014",
|
||||
"script": "FiveIsland_RocketWarehouse_EventScript_Admin2",
|
||||
"flag": "FLAG_HIDE_FIVE_ISLAND_ROCKETS"
|
||||
},
|
||||
{
|
||||
@@ -75,7 +75,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 1,
|
||||
"trainer_sight_or_berry_tree_id": 3,
|
||||
"script": "FiveIsland_RocketWarehouse_EventScript_164070",
|
||||
"script": "FiveIsland_RocketWarehouse_EventScript_Grunt1",
|
||||
"flag": "FLAG_HIDE_FIVE_ISLAND_ROCKETS"
|
||||
},
|
||||
{
|
||||
@@ -88,7 +88,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 1,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "FiveIsland_RocketWarehouse_EventScript_163F93",
|
||||
"script": "FiveIsland_RocketWarehouse_EventScript_Gideon",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -161,7 +161,7 @@
|
||||
"elevation": 3,
|
||||
"var": "VAR_MAP_SCENE_ROCKET_WAREHOUSE",
|
||||
"var_value": 0,
|
||||
"script": "FiveIsland_RocketWarehouse_EventScript_163F81"
|
||||
"script": "FiveIsland_RocketWarehouse_EventScript_Admin2Trigger"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
@@ -170,7 +170,7 @@
|
||||
"elevation": 3,
|
||||
"var": "VAR_MAP_SCENE_ROCKET_WAREHOUSE",
|
||||
"var_value": 0,
|
||||
"script": "FiveIsland_RocketWarehouse_EventScript_163F81"
|
||||
"script": "FiveIsland_RocketWarehouse_EventScript_Admin2Trigger"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
@@ -179,7 +179,7 @@
|
||||
"elevation": 3,
|
||||
"var": "VAR_MAP_SCENE_ROCKET_WAREHOUSE",
|
||||
"var_value": 0,
|
||||
"script": "FiveIsland_RocketWarehouse_EventScript_163F81"
|
||||
"script": "FiveIsland_RocketWarehouse_EventScript_Admin2Trigger"
|
||||
}
|
||||
],
|
||||
"bg_events": [
|
||||
@@ -188,14 +188,14 @@
|
||||
"x": 11,
|
||||
"y": 2,
|
||||
"elevation": 0,
|
||||
"script": "FiveIsland_RocketWarehouse_EventScript_163F5A"
|
||||
"script": "FiveIsland_RocketWarehouse_EventScript_Cage"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_3",
|
||||
"x": 26,
|
||||
"y": 11,
|
||||
"elevation": 0,
|
||||
"script": "FiveIsland_RocketWarehouse_EventScript_163F78"
|
||||
"script": "FiveIsland_RocketWarehouse_EventScript_Computer"
|
||||
},
|
||||
{
|
||||
"type": "hidden_item",
|
||||
@@ -222,147 +222,147 @@
|
||||
"x": 12,
|
||||
"y": 2,
|
||||
"elevation": 0,
|
||||
"script": "FiveIsland_RocketWarehouse_EventScript_163F5A"
|
||||
"script": "FiveIsland_RocketWarehouse_EventScript_Cage"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 10,
|
||||
"y": 2,
|
||||
"elevation": 0,
|
||||
"script": "FiveIsland_RocketWarehouse_EventScript_163F5A"
|
||||
"script": "FiveIsland_RocketWarehouse_EventScript_Cage"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 9,
|
||||
"y": 2,
|
||||
"elevation": 0,
|
||||
"script": "FiveIsland_RocketWarehouse_EventScript_163F5A"
|
||||
"script": "FiveIsland_RocketWarehouse_EventScript_Cage"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 8,
|
||||
"y": 2,
|
||||
"elevation": 0,
|
||||
"script": "FiveIsland_RocketWarehouse_EventScript_163F5A"
|
||||
"script": "FiveIsland_RocketWarehouse_EventScript_Cage"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 7,
|
||||
"y": 2,
|
||||
"elevation": 0,
|
||||
"script": "FiveIsland_RocketWarehouse_EventScript_163F5A"
|
||||
"script": "FiveIsland_RocketWarehouse_EventScript_Cage"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 11,
|
||||
"y": 5,
|
||||
"elevation": 0,
|
||||
"script": "FiveIsland_RocketWarehouse_EventScript_163F5A"
|
||||
"script": "FiveIsland_RocketWarehouse_EventScript_Cage"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 10,
|
||||
"y": 5,
|
||||
"elevation": 0,
|
||||
"script": "FiveIsland_RocketWarehouse_EventScript_163F5A"
|
||||
"script": "FiveIsland_RocketWarehouse_EventScript_Cage"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 11,
|
||||
"y": 4,
|
||||
"elevation": 0,
|
||||
"script": "FiveIsland_RocketWarehouse_EventScript_163F5A"
|
||||
"script": "FiveIsland_RocketWarehouse_EventScript_Cage"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 10,
|
||||
"y": 4,
|
||||
"elevation": 0,
|
||||
"script": "FiveIsland_RocketWarehouse_EventScript_163F5A"
|
||||
"script": "FiveIsland_RocketWarehouse_EventScript_Cage"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 8,
|
||||
"y": 4,
|
||||
"elevation": 0,
|
||||
"script": "FiveIsland_RocketWarehouse_EventScript_163F5A"
|
||||
"script": "FiveIsland_RocketWarehouse_EventScript_Cage"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 7,
|
||||
"y": 4,
|
||||
"elevation": 0,
|
||||
"script": "FiveIsland_RocketWarehouse_EventScript_163F5A"
|
||||
"script": "FiveIsland_RocketWarehouse_EventScript_Cage"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 8,
|
||||
"y": 5,
|
||||
"elevation": 0,
|
||||
"script": "FiveIsland_RocketWarehouse_EventScript_163F5A"
|
||||
"script": "FiveIsland_RocketWarehouse_EventScript_Cage"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 7,
|
||||
"y": 5,
|
||||
"elevation": 0,
|
||||
"script": "FiveIsland_RocketWarehouse_EventScript_163F5A"
|
||||
"script": "FiveIsland_RocketWarehouse_EventScript_Cage"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 5,
|
||||
"y": 3,
|
||||
"elevation": 0,
|
||||
"script": "FiveIsland_RocketWarehouse_EventScript_163F5A"
|
||||
"script": "FiveIsland_RocketWarehouse_EventScript_Cage"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 4,
|
||||
"y": 3,
|
||||
"elevation": 0,
|
||||
"script": "FiveIsland_RocketWarehouse_EventScript_163F5A"
|
||||
"script": "FiveIsland_RocketWarehouse_EventScript_Cage"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 5,
|
||||
"y": 4,
|
||||
"elevation": 0,
|
||||
"script": "FiveIsland_RocketWarehouse_EventScript_163F5A"
|
||||
"script": "FiveIsland_RocketWarehouse_EventScript_Cage"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 4,
|
||||
"y": 4,
|
||||
"elevation": 0,
|
||||
"script": "FiveIsland_RocketWarehouse_EventScript_163F5A"
|
||||
"script": "FiveIsland_RocketWarehouse_EventScript_Cage"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 3,
|
||||
"y": 4,
|
||||
"elevation": 0,
|
||||
"script": "FiveIsland_RocketWarehouse_EventScript_163F5A"
|
||||
"script": "FiveIsland_RocketWarehouse_EventScript_Cage"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 2,
|
||||
"y": 4,
|
||||
"elevation": 0,
|
||||
"script": "FiveIsland_RocketWarehouse_EventScript_163F5A"
|
||||
"script": "FiveIsland_RocketWarehouse_EventScript_Cage"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 2,
|
||||
"y": 5,
|
||||
"elevation": 0,
|
||||
"script": "FiveIsland_RocketWarehouse_EventScript_163F5A"
|
||||
"script": "FiveIsland_RocketWarehouse_EventScript_Cage"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 3,
|
||||
"y": 5,
|
||||
"elevation": 0,
|
||||
"script": "FiveIsland_RocketWarehouse_EventScript_163F5A"
|
||||
"script": "FiveIsland_RocketWarehouse_EventScript_Cage"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
.equ LOCALID_GRUNT1, 5
|
||||
.equ LOCALID_GRUNT2, 1
|
||||
.equ LOCALID_GRUNT3, 2
|
||||
.equ LOCALID_ADMIN1, 3
|
||||
.equ LOCALID_ADMIN2, 4
|
||||
|
||||
.equ PLAYER_X_POS, VAR_0x8004
|
||||
.equ PLAYER_Y_POS, VAR_0x8005
|
||||
|
||||
FiveIsland_RocketWarehouse_MapScripts:: @ 8163F2E
|
||||
map_script MAP_SCRIPT_ON_LOAD, FiveIsland_RocketWarehouse_OnLoad
|
||||
map_script MAP_SCRIPT_ON_TRANSITION, FiveIsland_RocketWarehouse_OnTransition
|
||||
@@ -8,82 +17,82 @@ FiveIsland_RocketWarehouse_OnTransition:: @ 8163F39
|
||||
end
|
||||
|
||||
FiveIsland_RocketWarehouse_OnLoad:: @ 8163F3D
|
||||
call_if_defeated TRAINER_TEAM_ROCKET_ADMIN, EventScript_163F47
|
||||
call_if_defeated TRAINER_TEAM_ROCKET_ADMIN, FiveIsland_RocketWarehouse_EventScript_SetArrowsForReEntry
|
||||
end
|
||||
|
||||
EventScript_163F47:: @ 8163F47
|
||||
setmetatile 26, 20, 672, 0
|
||||
setmetatile 27, 20, 672, 0
|
||||
FiveIsland_RocketWarehouse_EventScript_SetArrowsForReEntry:: @ 8163F47
|
||||
setmetatile 26, 20, METATILE_Hideout_Arrow_Up, 0
|
||||
setmetatile 27, 20, METATILE_Hideout_Arrow_Up, 0
|
||||
return
|
||||
|
||||
FiveIsland_RocketWarehouse_EventScript_163F5A:: @ 8163F5A
|
||||
FiveIsland_RocketWarehouse_EventScript_Cage:: @ 8163F5A
|
||||
lockall
|
||||
goto_if_set FLAG_DEFEATED_ROCKETS_IN_WAREHOUSE, EventScript_163F6E
|
||||
msgbox gUnknown_817B4E3
|
||||
goto_if_set FLAG_DEFEATED_ROCKETS_IN_WAREHOUSE, FiveIsland_RocketWarehouse_EventScript_CageUnlocked
|
||||
msgbox FiveIsland_RocketWarehouse_Text_ManyMonsLockedInPen
|
||||
releaseall
|
||||
end
|
||||
|
||||
EventScript_163F6E:: @ 8163F6E
|
||||
msgbox gUnknown_817B512
|
||||
FiveIsland_RocketWarehouse_EventScript_CageUnlocked:: @ 8163F6E
|
||||
msgbox FiveIsland_RocketWarehouse_Text_PenUnlockedMonsFled
|
||||
releaseall
|
||||
end
|
||||
|
||||
FiveIsland_RocketWarehouse_EventScript_163F78:: @ 8163F78
|
||||
msgbox gUnknown_817BB15, MSGBOX_SIGN
|
||||
FiveIsland_RocketWarehouse_EventScript_Computer:: @ 8163F78
|
||||
msgbox FiveIsland_RocketWarehouse_Text_ReportWithGraphsAndText, MSGBOX_SIGN
|
||||
end
|
||||
|
||||
FiveIsland_RocketWarehouse_EventScript_163F81:: @ 8163F81
|
||||
FiveIsland_RocketWarehouse_EventScript_Admin2Trigger:: @ 8163F81
|
||||
lockall
|
||||
applymovement 4, Movement_WalkInPlaceFastestLeft
|
||||
applymovement LOCALID_ADMIN2, Movement_WalkInPlaceFastestLeft
|
||||
waitmovement 0
|
||||
setvar VAR_MAP_SCENE_ROCKET_WAREHOUSE, 1
|
||||
releaseall
|
||||
end
|
||||
|
||||
FiveIsland_RocketWarehouse_EventScript_163F93:: @ 8163F93
|
||||
trainerbattle_single TRAINER_SCIENTIST_GIDEON, Text_17BBAF, Text_17BC55, EventScript_163FCD
|
||||
goto_if_set FLAG_SYS_CAN_LINK_WITH_RS, EventScript_163FB7
|
||||
msgbox gUnknown_817BCA3, MSGBOX_AUTOCLOSE
|
||||
FiveIsland_RocketWarehouse_EventScript_Gideon:: @ 8163F93
|
||||
trainerbattle_single TRAINER_SCIENTIST_GIDEON, FiveIsland_RocketWarehouse_Text_GideonIntro, FiveIsland_RocketWarehouse_Text_GideonDefeat, FiveIsland_RocketWarehouse_EventScript_DefeatedGideon
|
||||
goto_if_set FLAG_SYS_CAN_LINK_WITH_RS, FiveIsland_RocketWarehouse_EventScript_MentionGiovannisKid
|
||||
msgbox FiveIsland_RocketWarehouse_Text_GetLostLeaveMeBe, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
EventScript_163FB7:: @ 8163FB7
|
||||
FiveIsland_RocketWarehouse_EventScript_MentionGiovannisKid:: @ 8163FB7
|
||||
famechecker FAMECHECKER_GIOVANNI, 5
|
||||
msgbox gUnknown_817BCD7, MSGBOX_AUTOCLOSE
|
||||
msgbox FiveIsland_RocketWarehouse_Text_GiovannisKidHasRedHair, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
EventScript_163FCD:: @ 8163FCD
|
||||
msgbox gUnknown_817BC6C
|
||||
FiveIsland_RocketWarehouse_EventScript_DefeatedGideon:: @ 8163FCD
|
||||
msgbox FiveIsland_RocketWarehouse_Text_GideonPostBattle
|
||||
setflag FLAG_RECOVERED_SAPPHIRE
|
||||
giveitem ITEM_SAPPHIRE
|
||||
release
|
||||
end
|
||||
|
||||
FiveIsland_RocketWarehouse_EventScript_163FE6:: @ 8163FE6
|
||||
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_47, Text_17B54D, Text_17B585
|
||||
msgbox gUnknown_817B5A6, MSGBOX_AUTOCLOSE
|
||||
FiveIsland_RocketWarehouse_EventScript_Grunt2:: @ 8163FE6
|
||||
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_47, FiveIsland_RocketWarehouse_Text_Grunt2Intro, FiveIsland_RocketWarehouse_Text_Grunt2Defeat
|
||||
msgbox FiveIsland_RocketWarehouse_Text_Grunt2PostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
FiveIsland_RocketWarehouse_EventScript_163FFD:: @ 8163FFD
|
||||
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_48, Text_17B677, Text_17B6D9
|
||||
msgbox gUnknown_817B6EF, MSGBOX_AUTOCLOSE
|
||||
FiveIsland_RocketWarehouse_EventScript_Grunt3:: @ 8163FFD
|
||||
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_48, FiveIsland_RocketWarehouse_Text_Grunt3Intro, FiveIsland_RocketWarehouse_Text_Grunt3Defeat
|
||||
msgbox FiveIsland_RocketWarehouse_Text_Grunt3PostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
FiveIsland_RocketWarehouse_EventScript_164014:: @ 8164014
|
||||
trainerbattle_single TRAINER_TEAM_ROCKET_ADMIN_2, Text_17B8DA, Text_17B9FB, EventScript_16402F
|
||||
msgbox gUnknown_817BA64, MSGBOX_AUTOCLOSE
|
||||
FiveIsland_RocketWarehouse_EventScript_Admin2:: @ 8164014
|
||||
trainerbattle_single TRAINER_TEAM_ROCKET_ADMIN_2, FiveIsland_RocketWarehouse_Text_Admin2Intro, FiveIsland_RocketWarehouse_Text_Admin2Defeat, FiveIsland_RocketWarehouse_EventScript_DefeatedAdmin2
|
||||
msgbox FiveIsland_RocketWarehouse_Text_Admin2PostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
EventScript_16402F:: @ 816402F
|
||||
getplayerxy VAR_0x8004, VAR_0x8005
|
||||
compare VAR_0x8004, 24
|
||||
call_if_le EventScript_164065
|
||||
msgbox gUnknown_817BA64
|
||||
FiveIsland_RocketWarehouse_EventScript_DefeatedAdmin2:: @ 816402F
|
||||
getplayerxy PLAYER_X_POS, PLAYER_Y_POS
|
||||
compare PLAYER_X_POS, 24
|
||||
call_if_le FiveIsland_RocketWarehouse_EventScript_PlayerFaceAdmin2
|
||||
msgbox FiveIsland_RocketWarehouse_Text_Admin2PostBattle
|
||||
closemessage
|
||||
fadescreen FADE_TO_BLACK
|
||||
removeobject 1
|
||||
removeobject 2
|
||||
removeobject 4
|
||||
removeobject 3
|
||||
removeobject LOCALID_GRUNT2
|
||||
removeobject LOCALID_GRUNT3
|
||||
removeobject LOCALID_ADMIN2
|
||||
removeobject LOCALID_ADMIN1
|
||||
setflag FLAG_HIDE_FIVE_ISLAND_ROCKETS
|
||||
fadescreen FADE_FROM_BLACK
|
||||
setvar VAR_MAP_SCENE_ROCKET_WAREHOUSE, 1
|
||||
@@ -91,91 +100,91 @@ EventScript_16402F:: @ 816402F
|
||||
release
|
||||
end
|
||||
|
||||
EventScript_164065:: @ 8164065
|
||||
FiveIsland_RocketWarehouse_EventScript_PlayerFaceAdmin2:: @ 8164065
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Movement_WalkInPlaceFastestRight
|
||||
waitmovement 0
|
||||
return
|
||||
|
||||
FiveIsland_RocketWarehouse_EventScript_164070:: @ 8164070
|
||||
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_42, Text_17B5D6, Text_17B62F
|
||||
msgbox gUnknown_817B642, MSGBOX_AUTOCLOSE
|
||||
FiveIsland_RocketWarehouse_EventScript_Grunt1:: @ 8164070
|
||||
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_42, FiveIsland_RocketWarehouse_Text_Grunt1Intro, FiveIsland_RocketWarehouse_Text_Grunt1Defeat
|
||||
msgbox FiveIsland_RocketWarehouse_Text_Grunt1PostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
FiveIsland_RocketWarehouse_EventScript_164087:: @ 8164087
|
||||
trainerbattle_single TRAINER_TEAM_ROCKET_ADMIN, Text_17B72D, Text_17B79C, EventScript_1640A2
|
||||
msgbox gUnknown_817B7FA, MSGBOX_AUTOCLOSE
|
||||
FiveIsland_RocketWarehouse_EventScript_Admin1:: @ 8164087
|
||||
trainerbattle_single TRAINER_TEAM_ROCKET_ADMIN, FiveIsland_RocketWarehouse_Text_Admin1Intro, FiveIsland_RocketWarehouse_Text_Admin1Defeat, FiveIsland_RocketWarehouse_EventScript_DefeatedAdmin1
|
||||
msgbox FiveIsland_RocketWarehouse_Text_MadeItSoYouCanComeBackThrough, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
EventScript_1640A2:: @ 81640A2
|
||||
getplayerxy VAR_0x8004, VAR_0x8005
|
||||
FiveIsland_RocketWarehouse_EventScript_DefeatedAdmin1:: @ 81640A2
|
||||
getplayerxy PLAYER_X_POS, PLAYER_Y_POS
|
||||
specialvar VAR_RESULT, GetPlayerFacingDirection
|
||||
compare VAR_RESULT, DIR_NORTH
|
||||
call_if_eq EventScript_16412E
|
||||
msgbox gUnknown_817B7AE
|
||||
call_if_eq FiveIsland_RocketWarehouse_EventScript_PlayerFaceAdmin1
|
||||
msgbox FiveIsland_RocketWarehouse_Text_Admin1PostBattle
|
||||
closemessage
|
||||
compare VAR_0x8004, 24
|
||||
call_if_le EventScript_164144
|
||||
compare VAR_0x8004, 25
|
||||
call_if_eq EventScript_16414F
|
||||
compare VAR_0x8004, 26
|
||||
call_if_eq EventScript_16415A
|
||||
compare VAR_0x8004, 27
|
||||
call_if_eq EventScript_16415A
|
||||
compare PLAYER_X_POS, 24
|
||||
call_if_le FiveIsland_RocketWarehouse_EventScript_AdminWalkToSwitchFar
|
||||
compare PLAYER_X_POS, 25
|
||||
call_if_eq FiveIsland_RocketWarehouse_EventScript_AdminWalkToSwitch
|
||||
compare PLAYER_X_POS, 26
|
||||
call_if_eq FiveIsland_RocketWarehouse_EventScript_AdminFaceSwitch
|
||||
compare PLAYER_X_POS, 27
|
||||
call_if_eq FiveIsland_RocketWarehouse_EventScript_AdminFaceSwitch
|
||||
playse SE_PIN
|
||||
call EventScript_163F47
|
||||
call FiveIsland_RocketWarehouse_EventScript_SetArrowsForReEntry
|
||||
special DrawWholeMapView
|
||||
waitse
|
||||
compare VAR_0x8004, 24
|
||||
call_if_le EventScript_164165
|
||||
compare VAR_0x8004, 25
|
||||
call_if_eq EventScript_164165
|
||||
compare VAR_0x8004, 26
|
||||
call_if_eq EventScript_164165
|
||||
compare VAR_0x8004, 27
|
||||
call_if_eq EventScript_164170
|
||||
msgbox gUnknown_817B7FA
|
||||
compare PLAYER_X_POS, 24
|
||||
call_if_le FiveIsland_RocketWarehouse_EventScript_AdminFacePlayerLeft
|
||||
compare PLAYER_X_POS, 25
|
||||
call_if_eq FiveIsland_RocketWarehouse_EventScript_AdminFacePlayerLeft
|
||||
compare PLAYER_X_POS, 26
|
||||
call_if_eq FiveIsland_RocketWarehouse_EventScript_AdminFacePlayerLeft
|
||||
compare PLAYER_X_POS, 27
|
||||
call_if_eq FiveIsland_RocketWarehouse_EventScript_AdminFacePlayerDown
|
||||
msgbox FiveIsland_RocketWarehouse_Text_MadeItSoYouCanComeBackThrough
|
||||
release
|
||||
end
|
||||
|
||||
EventScript_16412E:: @ 816412E
|
||||
compare VAR_0x8004, 27
|
||||
FiveIsland_RocketWarehouse_EventScript_PlayerFaceAdmin1:: @ 816412E
|
||||
compare PLAYER_X_POS, 27
|
||||
goto_if_eq EventScript_Return
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Movement_WalkInPlaceFastestRight
|
||||
waitmovement 0
|
||||
return
|
||||
|
||||
EventScript_164144:: @ 8164144
|
||||
applymovement 3, Movement_16417B
|
||||
FiveIsland_RocketWarehouse_EventScript_AdminWalkToSwitchFar:: @ 8164144
|
||||
applymovement LOCALID_ADMIN1, FiveIsland_RocketWarehouse_Movement_AdminWalkToSwitchFar
|
||||
waitmovement 0
|
||||
return
|
||||
|
||||
EventScript_16414F:: @ 816414F
|
||||
applymovement 3, Movement_16417F
|
||||
FiveIsland_RocketWarehouse_EventScript_AdminWalkToSwitch:: @ 816414F
|
||||
applymovement LOCALID_ADMIN1, FiveIsland_RocketWarehouse_Movement_AdminWalkToSwitch
|
||||
waitmovement 0
|
||||
return
|
||||
|
||||
EventScript_16415A:: @ 816415A
|
||||
applymovement 3, Movement_WalkInPlaceFastestUp
|
||||
FiveIsland_RocketWarehouse_EventScript_AdminFaceSwitch:: @ 816415A
|
||||
applymovement LOCALID_ADMIN1, Movement_WalkInPlaceFastestUp
|
||||
waitmovement 0
|
||||
return
|
||||
|
||||
EventScript_164165:: @ 8164165
|
||||
applymovement 3, Movement_WalkInPlaceFastestLeft
|
||||
FiveIsland_RocketWarehouse_EventScript_AdminFacePlayerLeft:: @ 8164165
|
||||
applymovement LOCALID_ADMIN1, Movement_WalkInPlaceFastestLeft
|
||||
waitmovement 0
|
||||
return
|
||||
|
||||
EventScript_164170:: @ 8164170
|
||||
applymovement 3, Movement_WalkInPlaceFastestDown
|
||||
FiveIsland_RocketWarehouse_EventScript_AdminFacePlayerDown:: @ 8164170
|
||||
applymovement LOCALID_ADMIN1, Movement_WalkInPlaceFastestDown
|
||||
waitmovement 0
|
||||
return
|
||||
|
||||
Movement_16417B:: @ 816417B
|
||||
FiveIsland_RocketWarehouse_Movement_AdminWalkToSwitchFar:: @ 816417B
|
||||
walk_right
|
||||
walk_right
|
||||
walk_in_place_fastest_up
|
||||
step_end
|
||||
|
||||
Movement_16417F:: @ 816417F
|
||||
FiveIsland_RocketWarehouse_Movement_AdminWalkToSwitch:: @ 816417F
|
||||
walk_right
|
||||
walk_in_place_fastest_up
|
||||
step_end
|
||||
|
||||
@@ -1,65 +1,65 @@
|
||||
gUnknown_817B4E3:: @ 817B4E3
|
||||
FiveIsland_RocketWarehouse_Text_ManyMonsLockedInPen:: @ 817B4E3
|
||||
.string "There are many POKéMON locked\n"
|
||||
.string "away in the pen…$"
|
||||
|
||||
gUnknown_817B512:: @ 817B512
|
||||
FiveIsland_RocketWarehouse_Text_PenUnlockedMonsFled:: @ 817B512
|
||||
.string "The pen door is unlocked.\n"
|
||||
.string "The POKéMON appear to have fled.$"
|
||||
|
||||
Text_17B54D:: @ 817B54D
|
||||
FiveIsland_RocketWarehouse_Text_Grunt2Intro:: @ 817B54D
|
||||
.string "Did you come here knowing it's\n"
|
||||
.string "TEAM ROCKET's WAREHOUSE?$"
|
||||
|
||||
Text_17B585:: @ 817B585
|
||||
FiveIsland_RocketWarehouse_Text_Grunt2Defeat:: @ 817B585
|
||||
.string "What do you think you're doing?!$"
|
||||
|
||||
gUnknown_817B5A6:: @ 817B5A6
|
||||
FiveIsland_RocketWarehouse_Text_Grunt2PostBattle:: @ 817B5A6
|
||||
.string "TEAM ROCKET broke up?\n"
|
||||
.string "What planet are you from?$"
|
||||
|
||||
Text_17B5D6:: @ 817B5D6
|
||||
FiveIsland_RocketWarehouse_Text_Grunt1Intro:: @ 817B5D6
|
||||
.string "Oh, now your POKéMON look strong.\n"
|
||||
.string "You're willing to sell them?\p"
|
||||
.string "Oh?\n"
|
||||
.string "You wanted to battle?$"
|
||||
|
||||
Text_17B62F:: @ 817B62F
|
||||
FiveIsland_RocketWarehouse_Text_Grunt1Defeat:: @ 817B62F
|
||||
.string "Oh, but…\n"
|
||||
.string "Too much!$"
|
||||
|
||||
gUnknown_817B642:: @ 817B642
|
||||
FiveIsland_RocketWarehouse_Text_Grunt1PostBattle:: @ 817B642
|
||||
.string "We can give you a great price.\n"
|
||||
.string "Sell us your POKéMON!$"
|
||||
|
||||
Text_17B677:: @ 817B677
|
||||
FiveIsland_RocketWarehouse_Text_Grunt3Intro:: @ 817B677
|
||||
.string "I got word about you from the\n"
|
||||
.string "others.\p"
|
||||
.string "But there's no way a kid like you'd\n"
|
||||
.string "know our BOSS GIOVANNI!$"
|
||||
|
||||
Text_17B6D9:: @ 817B6D9
|
||||
FiveIsland_RocketWarehouse_Text_Grunt3Defeat:: @ 817B6D9
|
||||
.string "Don't…you…dare…laugh…$"
|
||||
|
||||
gUnknown_817B6EF:: @ 817B6EF
|
||||
FiveIsland_RocketWarehouse_Text_Grunt3PostBattle:: @ 817B6EF
|
||||
.string "Don't mess in the doings of adults,\n"
|
||||
.string "you jumped-up pip-squeak!$"
|
||||
|
||||
Text_17B72D:: @ 817B72D
|
||||
FiveIsland_RocketWarehouse_Text_Admin1Intro:: @ 817B72D
|
||||
.string "I don't know or care if what I'm\n"
|
||||
.string "doing is right or wrong…\p"
|
||||
.string "I just put my faith in GIOVANNI\n"
|
||||
.string "and do as I am told.$"
|
||||
|
||||
Text_17B79C:: @ 817B79C
|
||||
FiveIsland_RocketWarehouse_Text_Admin1Defeat:: @ 817B79C
|
||||
.string "I…\n"
|
||||
.string "I'm shattered…$"
|
||||
|
||||
gUnknown_817B7AE:: @ 817B7AE
|
||||
FiveIsland_RocketWarehouse_Text_Admin1PostBattle:: @ 817B7AE
|
||||
.string "You're doing things according to\n"
|
||||
.string "your beliefs and morals.\p"
|
||||
.string "I understand now…$"
|
||||
|
||||
gUnknown_817B7FA:: @ 817B7FA
|
||||
FiveIsland_RocketWarehouse_Text_MadeItSoYouCanComeBackThrough:: @ 817B7FA
|
||||
.string "I've made it so you can come back\n"
|
||||
.string "in through there.\p"
|
||||
.string "Why don't you go get rested and\n"
|
||||
@@ -69,7 +69,7 @@ gUnknown_817B7FA:: @ 817B7FA
|
||||
.string "You'd better steel yourself for one\n"
|
||||
.string "harsh challenge.$"
|
||||
|
||||
Text_17B8DA:: @ 817B8DA
|
||||
FiveIsland_RocketWarehouse_Text_Admin2Intro:: @ 817B8DA
|
||||
.string "That's quite enough of you \n"
|
||||
.string "playing the hero, kid.\p"
|
||||
.string "Spreading lies about how TEAM\n"
|
||||
@@ -81,7 +81,7 @@ Text_17B8DA:: @ 817B8DA
|
||||
.string "And now, I'll show you how scary\n"
|
||||
.string "an angry adult can be!$"
|
||||
|
||||
Text_17B9FB:: @ 817B9FB
|
||||
FiveIsland_RocketWarehouse_Text_Admin2Defeat:: @ 817B9FB
|
||||
.string "Urgh…\n"
|
||||
.string "You were too strong…\p"
|
||||
.string "…\n"
|
||||
@@ -89,7 +89,7 @@ Text_17B9FB:: @ 817B9FB
|
||||
.string "So it's true?\n"
|
||||
.string "TEAM ROCKET really has disbanded?$"
|
||||
|
||||
gUnknown_817BA64:: @ 817BA64
|
||||
FiveIsland_RocketWarehouse_Text_Admin2PostBattle:: @ 817BA64
|
||||
.string "We will abandon this WAREHOUSE…\p"
|
||||
.string "But don't think this is over.\n"
|
||||
.string "I won't let this be the end.\p"
|
||||
@@ -98,7 +98,7 @@ gUnknown_817BA64:: @ 817BA64
|
||||
.string "I will…\p"
|
||||
.string "Until then, farewell!$"
|
||||
|
||||
gUnknown_817BB15:: @ 817BB15
|
||||
FiveIsland_RocketWarehouse_Text_ReportWithGraphsAndText:: @ 817BB15
|
||||
.string "A report with graphs and text is on\n"
|
||||
.string "the PC monitor.\p"
|
||||
.string "“The Influence of Magnetic Waves\n"
|
||||
@@ -106,7 +106,7 @@ gUnknown_817BB15:: @ 817BB15
|
||||
.string "… … … … … …\p"
|
||||
.string "It's too difficult to understand…$"
|
||||
|
||||
Text_17BBAF:: @ 817BBAF
|
||||
FiveIsland_RocketWarehouse_Text_GideonIntro:: @ 817BBAF
|
||||
.string "I almost managed to sell the\n"
|
||||
.string "SAPPHIRE for huge money…\p"
|
||||
.string "Then, you just had to come along\n"
|
||||
@@ -114,19 +114,19 @@ Text_17BBAF:: @ 817BBAF
|
||||
.string "Fufu… Fufufufu…\n"
|
||||
.string "There's no forgiveness for you!$"
|
||||
|
||||
Text_17BC55:: @ 817BC55
|
||||
FiveIsland_RocketWarehouse_Text_GideonDefeat:: @ 817BC55
|
||||
.string "Gah! Darn!\n"
|
||||
.string "Darn! Darn!$"
|
||||
|
||||
gUnknown_817BC6C:: @ 817BC6C
|
||||
FiveIsland_RocketWarehouse_Text_GideonPostBattle:: @ 817BC6C
|
||||
.string "If I can't sell it, it's worthless!\n"
|
||||
.string "Go ahead, take it!$"
|
||||
|
||||
gUnknown_817BCA3:: @ 817BCA3
|
||||
FiveIsland_RocketWarehouse_Text_GetLostLeaveMeBe:: @ 817BCA3
|
||||
.string "What do you want now?\n"
|
||||
.string "Go on, get lost, leave me be.$"
|
||||
|
||||
gUnknown_817BCD7:: @ 817BCD7
|
||||
FiveIsland_RocketWarehouse_Text_GiovannisKidHasRedHair:: @ 817BCD7
|
||||
.string "What, you again?\p"
|
||||
.string "You… You're not GIOVANNI's kid,\n"
|
||||
.string "are you?\p"
|
||||
|
||||
@@ -5,7 +5,7 @@ FourIsland_IcefallCave_1F_MapScripts:: @ 8163D44
|
||||
.byte 0
|
||||
|
||||
FourIsland_IcefallCave_1F_OnResume:: @ 8163D54
|
||||
setstepcallback 4
|
||||
setstepcallback STEP_CB_ICE
|
||||
end
|
||||
|
||||
FourIsland_IcefallCave_1F_OnLoad:: @ 8163D57
|
||||
@@ -13,13 +13,13 @@ FourIsland_IcefallCave_1F_OnLoad:: @ 8163D57
|
||||
end
|
||||
|
||||
FourIsland_IcefallCave_1F_OnFrame:: @ 8163D5B
|
||||
map_script_2 VAR_TEMP_1, 1, EventScript_163D65
|
||||
map_script_2 VAR_TEMP_1, 1, FourIsland_IcefallCave_1F_EventScript_FallDownHole
|
||||
.2byte 0
|
||||
|
||||
EventScript_163D65:: @ 8163D65
|
||||
FourIsland_IcefallCave_1F_EventScript_FallDownHole:: @ 8163D65
|
||||
lockall
|
||||
delay 20
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Movement_163D7F
|
||||
applymovement OBJ_EVENT_ID_PLAYER, FourIsland_IcefallCave_1F_Movement_SetInvisible
|
||||
waitmovement 0
|
||||
playse SE_RU_HYUU
|
||||
delay 60
|
||||
@@ -28,6 +28,6 @@ EventScript_163D65:: @ 8163D65
|
||||
releaseall
|
||||
end
|
||||
|
||||
Movement_163D7F:: @ 8163D7F
|
||||
FourIsland_IcefallCave_1F_Movement_SetInvisible:: @ 8163D7F
|
||||
set_invisible
|
||||
step_end
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "FourIsland_IcefallCave_Back_EventScript_163F25",
|
||||
"script": "FourIsland_IcefallCave_Back_EventScript_Lorelei",
|
||||
"flag": "FLAG_HIDE_ICEFALL_CAVE_LORELEI"
|
||||
},
|
||||
{
|
||||
@@ -83,7 +83,7 @@
|
||||
"elevation": 3,
|
||||
"var": "VAR_MAP_SCENE_ICEFALL_CAVE_BACK",
|
||||
"var_value": 0,
|
||||
"script": "FourIsland_IcefallCave_Back_EventScript_163D98"
|
||||
"script": "FourIsland_IcefallCave_Back_EventScript_LoreleiRocketsScene"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
@@ -92,7 +92,7 @@
|
||||
"elevation": 3,
|
||||
"var": "VAR_MAP_SCENE_ICEFALL_CAVE_BACK",
|
||||
"var_value": 0,
|
||||
"script": "FourIsland_IcefallCave_Back_EventScript_163D98"
|
||||
"script": "FourIsland_IcefallCave_Back_EventScript_LoreleiRocketsScene"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
@@ -101,7 +101,7 @@
|
||||
"elevation": 3,
|
||||
"var": "VAR_MAP_SCENE_ICEFALL_CAVE_BACK",
|
||||
"var_value": 0,
|
||||
"script": "FourIsland_IcefallCave_Back_EventScript_163D98"
|
||||
"script": "FourIsland_IcefallCave_Back_EventScript_LoreleiRocketsScene"
|
||||
}
|
||||
],
|
||||
"bg_events": []
|
||||
|
||||
@@ -1,100 +1,105 @@
|
||||
.equ LOCALID_ROCKET1, 1
|
||||
.equ LOCALID_ROCKET2, 2
|
||||
.equ LOCALID_LORELEI, 3
|
||||
.equ LOCALID_ROCKET3, 4
|
||||
|
||||
FourIsland_IcefallCave_Back_MapScripts:: @ 8163D82
|
||||
map_script MAP_SCRIPT_ON_TRANSITION, FourIsland_IcefallCave_Back_OnTransition
|
||||
.byte 0
|
||||
|
||||
FourIsland_IcefallCave_Back_OnTransition:: @ 8163D88
|
||||
compare VAR_MAP_SCENE_ICEFALL_CAVE_BACK, 1
|
||||
call_if_eq EventScript_163D94
|
||||
call_if_eq FourIsland_IcefallCave_Back_EventScript_HideLorelei
|
||||
end
|
||||
|
||||
EventScript_163D94:: @ 8163D94
|
||||
FourIsland_IcefallCave_Back_EventScript_HideLorelei:: @ 8163D94
|
||||
setflag FLAG_HIDE_ICEFALL_CAVE_LORELEI
|
||||
return
|
||||
|
||||
FourIsland_IcefallCave_Back_EventScript_163D98:: @ 8163D98
|
||||
FourIsland_IcefallCave_Back_EventScript_LoreleiRocketsScene:: @ 8163D98
|
||||
lockall
|
||||
textcolor 1
|
||||
msgbox gUnknown_817B04F
|
||||
applymovement 1, Movement_163EE8
|
||||
msgbox FourIsland_IcefallCave_Back_Text_LoreleiKeepHandsOffMons
|
||||
applymovement LOCALID_ROCKET1, FourIsland_IcefallCave_Back_Movement_WalkInPlaceDown
|
||||
waitmovement 0
|
||||
textcolor 0
|
||||
msgbox gUnknown_817B0B9
|
||||
msgbox FourIsland_IcefallCave_Back_Text_ShutItLadyLeaveUsBe
|
||||
closemessage
|
||||
playse SE_PIN
|
||||
applymovement 3, Movement_ExclamationMark
|
||||
applymovement LOCALID_LORELEI, Movement_ExclamationMark
|
||||
waitmovement 0
|
||||
applymovement 3, Movement_WalkInPlaceFastestDown
|
||||
applymovement LOCALID_LORELEI, Movement_WalkInPlaceFastestDown
|
||||
waitmovement 0
|
||||
applymovement 3, Movement_Delay48
|
||||
applymovement LOCALID_LORELEI, Movement_Delay48
|
||||
waitmovement 0
|
||||
textcolor 1
|
||||
msgbox gUnknown_817B109
|
||||
msgbox FourIsland_IcefallCave_Back_Text_LoreleiPlayerHelpMeKickPoachersOut
|
||||
closemessage
|
||||
applymovement 3, Movement_WalkInPlaceFastestRight
|
||||
applymovement LOCALID_LORELEI, Movement_WalkInPlaceFastestRight
|
||||
waitmovement 0
|
||||
delay 18
|
||||
applymovement 3, Movement_WalkInPlaceFastestDown
|
||||
applymovement LOCALID_LORELEI, Movement_WalkInPlaceFastestDown
|
||||
waitmovement 0
|
||||
delay 35
|
||||
applymovement 4, Movement_163F11
|
||||
applymovement 3, Movement_163F18
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Movement_163EDD
|
||||
applymovement LOCALID_ROCKET3, FourIsland_IcefallCave_Back_Movement_Rocket3FaceLorelei
|
||||
applymovement LOCALID_LORELEI, FourIsland_IcefallCave_Back_Movement_LoreleiToRockets
|
||||
applymovement OBJ_EVENT_ID_PLAYER, FourIsland_IcefallCave_Back_Movement_PlayerToRockets
|
||||
waitmovement 0
|
||||
applymovement 2, Movement_163EE8
|
||||
applymovement LOCALID_ROCKET2, FourIsland_IcefallCave_Back_Movement_WalkInPlaceDown
|
||||
waitmovement 0
|
||||
playbgm MUS_ROCKET, 0
|
||||
textcolor 0
|
||||
msgbox gUnknown_817B20B
|
||||
setvar VAR_LAST_TALKED, 4
|
||||
trainerbattle_no_intro TRAINER_TEAM_ROCKET_GRUNT_45, Text_17B251
|
||||
applymovement 3, Movement_163F1B
|
||||
msgbox FourIsland_IcefallCave_Back_Text_GruntIntro
|
||||
setvar VAR_LAST_TALKED, LOCALID_ROCKET3
|
||||
trainerbattle_no_intro TRAINER_TEAM_ROCKET_GRUNT_45, FourIsland_IcefallCave_Back_Text_GruntDefeat
|
||||
applymovement LOCALID_LORELEI, FourIsland_IcefallCave_Back_Movement_WalkInPlaceUp
|
||||
waitmovement 0
|
||||
textcolor 1
|
||||
msgbox gUnknown_817B269
|
||||
msgbox FourIsland_IcefallCave_Back_Text_LoreleiWhereHaveYouTakenMons
|
||||
textcolor 0
|
||||
msgbox gUnknown_817B2EF
|
||||
msgbox FourIsland_IcefallCave_Back_Text_NotTellingYouThat
|
||||
textcolor 1
|
||||
message Text_17B313
|
||||
message FourIsland_IcefallCave_Back_Text_LoreleiWellDeepFreezeYou
|
||||
waitmessage
|
||||
waitse
|
||||
playmoncry SPECIES_LAPRAS, 2
|
||||
waitbuttonpress
|
||||
waitmoncry
|
||||
applymovement 1, Movement_163EEE
|
||||
applymovement LOCALID_ROCKET1, FourIsland_IcefallCave_Back_Movement_Rocket1ReactToThreat
|
||||
waitmovement 0
|
||||
textcolor 0
|
||||
msgbox gUnknown_817B399
|
||||
msgbox FourIsland_IcefallCave_Back_Text_OkayRocketWareHouseFiveIsland
|
||||
closemessage
|
||||
applymovement 3, Movement_163F1D
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Movement_163EE2
|
||||
applymovement 1, Movement_163EF0
|
||||
applymovement 2, Movement_163EFA
|
||||
applymovement 4, Movement_163F05
|
||||
applymovement LOCALID_LORELEI, FourIsland_IcefallCave_Back_Movement_LoreleiWatchRocketsExit
|
||||
applymovement OBJ_EVENT_ID_PLAYER, FourIsland_IcefallCave_Back_Movement_PlayerWatchRocketsExit
|
||||
applymovement LOCALID_ROCKET1, FourIsland_IcefallCave_Back_Movement_Rocket1Exit
|
||||
applymovement LOCALID_ROCKET2, FourIsland_IcefallCave_Back_Movement_Rocket2Exit
|
||||
applymovement LOCALID_ROCKET3, FourIsland_IcefallCave_Back_Movement_Rocket3Exit
|
||||
waitmovement 0
|
||||
removeobject 1
|
||||
removeobject 2
|
||||
removeobject 4
|
||||
removeobject LOCALID_ROCKET1
|
||||
removeobject LOCALID_ROCKET2
|
||||
removeobject LOCALID_ROCKET3
|
||||
delay 50
|
||||
applymovement 3, Movement_163F23
|
||||
applymovement LOCALID_LORELEI, FourIsland_IcefallCave_Back_Movement_LoreleiWalkToPlayer
|
||||
waitmovement 0
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Movement_WalkInPlaceFastestLeft
|
||||
waitmovement 0
|
||||
textcolor 1
|
||||
msgbox gUnknown_817B457
|
||||
msgbox FourIsland_IcefallCave_Back_Text_ThankYouThisIsAwful
|
||||
setflag FLAG_HIDE_RUIN_VALLEY_SCIENTIST
|
||||
clearflag FLAG_HIDE_LORELEI_IN_HER_HOUSE
|
||||
setvar VAR_MAP_SCENE_ICEFALL_CAVE_BACK, 1
|
||||
releaseall
|
||||
end
|
||||
|
||||
Movement_163EDD:: @ 8163EDD
|
||||
FourIsland_IcefallCave_Back_Movement_PlayerToRockets:: @ 8163EDD
|
||||
walk_up
|
||||
walk_up
|
||||
walk_right
|
||||
walk_up
|
||||
step_end
|
||||
|
||||
Movement_163EE2:: @ 8163EE2
|
||||
FourIsland_IcefallCave_Back_Movement_PlayerWatchRocketsExit:: @ 8163EE2
|
||||
delay_16
|
||||
walk_in_place_fastest_left
|
||||
delay_16
|
||||
@@ -102,21 +107,21 @@ Movement_163EE2:: @ 8163EE2
|
||||
walk_in_place_fastest_down
|
||||
step_end
|
||||
|
||||
Movement_163EE8:: @ 8163EE8
|
||||
FourIsland_IcefallCave_Back_Movement_WalkInPlaceDown:: @ 8163EE8
|
||||
walk_in_place_down
|
||||
step_end
|
||||
|
||||
gUnknown_163EEA:: @ 8163EEA
|
||||
FourIsland_IcefallCave_Back_Movement_UnusedPushRight:: @ 8163EEA
|
||||
lock_facing_direction
|
||||
walk_right
|
||||
unlock_facing_direction
|
||||
step_end
|
||||
|
||||
Movement_163EEE:: @ 8163EEE
|
||||
FourIsland_IcefallCave_Back_Movement_Rocket1ReactToThreat:: @ 8163EEE
|
||||
walk_in_place_fast_down
|
||||
step_end
|
||||
|
||||
Movement_163EF0:: @ 8163EF0
|
||||
FourIsland_IcefallCave_Back_Movement_Rocket1Exit:: @ 8163EF0
|
||||
walk_right
|
||||
walk_down
|
||||
walk_fast_down
|
||||
@@ -128,7 +133,7 @@ Movement_163EF0:: @ 8163EF0
|
||||
walk_fast_down
|
||||
step_end
|
||||
|
||||
Movement_163EFA:: @ 8163EFA
|
||||
FourIsland_IcefallCave_Back_Movement_Rocket2Exit:: @ 8163EFA
|
||||
delay_16
|
||||
walk_left
|
||||
walk_down
|
||||
@@ -141,7 +146,7 @@ Movement_163EFA:: @ 8163EFA
|
||||
walk_fast_down
|
||||
step_end
|
||||
|
||||
Movement_163F05:: @ 8163F05
|
||||
FourIsland_IcefallCave_Back_Movement_Rocket3Exit:: @ 8163F05
|
||||
delay_16
|
||||
walk_down
|
||||
delay_16
|
||||
@@ -155,27 +160,27 @@ Movement_163F05:: @ 8163F05
|
||||
walk_fast_down
|
||||
step_end
|
||||
|
||||
Movement_163F11:: @ 8163F11
|
||||
FourIsland_IcefallCave_Back_Movement_Rocket3FaceLorelei:: @ 8163F11
|
||||
delay_16
|
||||
delay_8
|
||||
walk_in_place_fastest_right
|
||||
step_end
|
||||
|
||||
Movement_163F15:: @ 8163F15
|
||||
FourIsland_IcefallCave_Back_Movement_UnusedWalkLeft:: @ 8163F15
|
||||
walk_left
|
||||
walk_left
|
||||
step_end
|
||||
|
||||
Movement_163F18:: @ 8163F18
|
||||
FourIsland_IcefallCave_Back_Movement_LoreleiToRockets:: @ 8163F18
|
||||
walk_left
|
||||
walk_up
|
||||
step_end
|
||||
|
||||
Movement_163F1B:: @ 8163F1B
|
||||
FourIsland_IcefallCave_Back_Movement_WalkInPlaceUp:: @ 8163F1B
|
||||
walk_in_place_up
|
||||
step_end
|
||||
|
||||
Movement_163F1D:: @ 8163F1D
|
||||
FourIsland_IcefallCave_Back_Movement_LoreleiWatchRocketsExit:: @ 8163F1D
|
||||
delay_8
|
||||
walk_in_place_fastest_right
|
||||
delay_16
|
||||
@@ -183,10 +188,10 @@ Movement_163F1D:: @ 8163F1D
|
||||
walk_in_place_fastest_down
|
||||
step_end
|
||||
|
||||
Movement_163F23:: @ 8163F23
|
||||
FourIsland_IcefallCave_Back_Movement_LoreleiWalkToPlayer:: @ 8163F23
|
||||
walk_right
|
||||
step_end
|
||||
|
||||
FourIsland_IcefallCave_Back_EventScript_163F25:: @ 8163F25
|
||||
msgbox gUnknown_817B457, MSGBOX_NPC
|
||||
FourIsland_IcefallCave_Back_EventScript_Lorelei:: @ 8163F25
|
||||
msgbox FourIsland_IcefallCave_Back_Text_ThankYouThisIsAwful, MSGBOX_NPC
|
||||
end
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
gUnknown_817B04F:: @ 817B04F
|
||||
FourIsland_IcefallCave_Back_Text_LoreleiKeepHandsOffMons:: @ 817B04F
|
||||
.string "LORELEI: Keep your filthy hands\n"
|
||||
.string "off the POKéMON in the cave!\p"
|
||||
.string "Do as I say, or you'll have me to\n"
|
||||
.string "answer to!$"
|
||||
|
||||
gUnknown_817B0B9:: @ 817B0B9
|
||||
FourIsland_IcefallCave_Back_Text_ShutItLadyLeaveUsBe:: @ 817B0B9
|
||||
.string "Aww, shut it, lady, and leave\n"
|
||||
.string "us be.\p"
|
||||
.string "Don't let your glasses get all\n"
|
||||
.string "steamed up!$"
|
||||
|
||||
gUnknown_817B109:: @ 817B109
|
||||
FourIsland_IcefallCave_Back_Text_LoreleiPlayerHelpMeKickPoachersOut:: @ 817B109
|
||||
.string "LORELEI: {PLAYER}?!\n"
|
||||
.string "What are you doing here?\p"
|
||||
.string "No, we can catch up later.\n"
|
||||
@@ -22,15 +22,15 @@ gUnknown_817B109:: @ 817B109
|
||||
.string "Are you ready?\n"
|
||||
.string "You take that one, please!$"
|
||||
|
||||
gUnknown_817B20B:: @ 817B20B
|
||||
FourIsland_IcefallCave_Back_Text_GruntIntro:: @ 817B20B
|
||||
.string "W-what?!\p"
|
||||
.string "Who says we can't do what we want\n"
|
||||
.string "with the POKéMON we catch?$"
|
||||
|
||||
Text_17B251:: @ 817B251
|
||||
FourIsland_IcefallCave_Back_Text_GruntDefeat:: @ 817B251
|
||||
.string "We didn't plan on this!$"
|
||||
|
||||
gUnknown_817B269:: @ 817B269
|
||||
FourIsland_IcefallCave_Back_Text_LoreleiWhereHaveYouTakenMons:: @ 817B269
|
||||
.string "LORELEI: Humph.\n"
|
||||
.string "So despicably weak.\p"
|
||||
.string "You!\n"
|
||||
@@ -40,11 +40,11 @@ gUnknown_817B269:: @ 817B269
|
||||
.string "I'm smashing your ring once and\n"
|
||||
.string "for all!$"
|
||||
|
||||
gUnknown_817B2EF:: @ 817B2EF
|
||||
FourIsland_IcefallCave_Back_Text_NotTellingYouThat:: @ 817B2EF
|
||||
.string "N-no way!\n"
|
||||
.string "I'm not telling you that!$"
|
||||
|
||||
Text_17B313:: @ 817B313
|
||||
FourIsland_IcefallCave_Back_Text_LoreleiWellDeepFreezeYou:: @ 817B313
|
||||
.string "LORELEI: If you won't confess,\n"
|
||||
.string "we'll deep-freeze you.\p"
|
||||
.string "My LAPRAS is furious for what\n"
|
||||
@@ -52,7 +52,7 @@ Text_17B313:: @ 817B313
|
||||
.string "Go, LAPRAS!\n"
|
||||
.string "ICE BEAM…$"
|
||||
|
||||
gUnknown_817B399:: @ 817B399
|
||||
FourIsland_IcefallCave_Back_Text_OkayRocketWareHouseFiveIsland:: @ 817B399
|
||||
.string "Wawaah! Okay!\n"
|
||||
.string "I'll talk!\p"
|
||||
.string "The POKéMON are in the ROCKET\n"
|
||||
@@ -63,7 +63,7 @@ gUnknown_817B399:: @ 817B399
|
||||
.string "into the ROCKET WAREHOUSE!\p"
|
||||
.string "Heheheheh!$"
|
||||
|
||||
gUnknown_817B457:: @ 817B457
|
||||
FourIsland_IcefallCave_Back_Text_ThankYouThisIsAwful:: @ 817B457
|
||||
.string "{PLAYER}, thank you.\n"
|
||||
.string "But this is awful…\p"
|
||||
.string "I was born and raised here on\n"
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
.equ LOCALID_RIVAL, 1
|
||||
.equ LOCALID_PROF_OAK, 2
|
||||
|
||||
IndigoPlateau_Exterior_MapScripts:: @ 816723B
|
||||
map_script MAP_SCRIPT_ON_TRANSITION, IndigoPlateau_Exterior_OnTransition
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, IndigoPlateau_Exterior_OnFrame
|
||||
@@ -6,22 +9,23 @@ IndigoPlateau_Exterior_MapScripts:: @ 816723B
|
||||
IndigoPlateau_Exterior_OnTransition:: @ 8167246
|
||||
setworldmapflag FLAG_WORLD_MAP_INDIGO_PLATEAU_EXTERIOR
|
||||
compare VAR_MAP_SCENE_INDIGO_PLATEAU_EXTERIOR, 1
|
||||
call_if_eq EventScript_IndigoPlateau_Exterior_PlayCreditsMusic
|
||||
call_if_eq IndigoPlateau_Exterior_EventScript_PlayCreditsMusic
|
||||
end
|
||||
|
||||
EventScript_IndigoPlateau_Exterior_PlayCreditsMusic:: @ 8167255
|
||||
IndigoPlateau_Exterior_EventScript_PlayCreditsMusic:: @ 8167255
|
||||
playbgm MUS_ENDING, 0
|
||||
return
|
||||
|
||||
IndigoPlateau_Exterior_OnFrame:: @ 816725A
|
||||
map_script_2 VAR_MAP_SCENE_INDIGO_PLATEAU_EXTERIOR, 1, EventScript_IndigoPlateau_Exterior_Credits
|
||||
map_script_2 VAR_MAP_SCENE_INDIGO_PLATEAU_EXTERIOR, 1, IndigoPlateau_Exterior_EventScript_Credits
|
||||
.2byte 0
|
||||
|
||||
EventScript_IndigoPlateau_Exterior_Credits:: @ 8167264
|
||||
@ After beating the champion, you are warped to the main
|
||||
@ entrance of Indigo Plateau. This script starts running
|
||||
@ immediately after your walking animation.
|
||||
@ The script is timed to the music.
|
||||
|
||||
@ After beating the champion, you are warped to the main
|
||||
@ entrance of Indigo Plateau. This script starts running
|
||||
@ immediately after your walking animation.
|
||||
@ The script is timed to the music.
|
||||
IndigoPlateau_Exterior_EventScript_Credits:: @ 8167264
|
||||
lockall
|
||||
delay 105
|
||||
|
||||
@@ -29,60 +33,60 @@ EventScript_IndigoPlateau_Exterior_Credits:: @ 8167264
|
||||
opendoor 11, 6
|
||||
waitdooranim
|
||||
special SpawnCameraObject
|
||||
addobject 1
|
||||
applymovement 1, Movement_167346
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Movement_167337
|
||||
addobject LOCALID_RIVAL
|
||||
applymovement LOCALID_RIVAL, IndigoPlateau_Exterior_Movement_RivalExitBuilding
|
||||
applymovement OBJ_EVENT_ID_PLAYER, IndigoPlateau_Exterior_Movement_PushPlayerOutOfWay
|
||||
waitmovement 0
|
||||
closedoor 11, 6
|
||||
waitdooranim
|
||||
|
||||
@ Rival runs off
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Movement_16731B
|
||||
applymovement 1, Movement_16733E
|
||||
applymovement OBJ_EVENT_ID_PLAYER, IndigoPlateau_Exterior_Movement_PlayerWatchRivalLeave
|
||||
applymovement LOCALID_RIVAL, IndigoPlateau_Exterior_Movement_RivalLeave
|
||||
waitmovement 0
|
||||
delay 100
|
||||
|
||||
@ Oak exits building
|
||||
opendoor 11, 6
|
||||
waitdooranim
|
||||
addobject 2
|
||||
applymovement 2, Movement_16735D
|
||||
addobject LOCALID_PROF_OAK
|
||||
applymovement LOCALID_PROF_OAK, IndigoPlateau_Exterior_Movement_OakExitBuilding
|
||||
waitmovement 0
|
||||
closedoor 11, 6
|
||||
waitdooranim
|
||||
delay 160
|
||||
|
||||
@ Oak looks at player, then walks off
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Movement_16731F
|
||||
applymovement 2, Movement_167348
|
||||
applymovement OBJ_EVENT_ID_PLAYER, IndigoPlateau_Exterior_Movement_PlayerWatchOakLeave
|
||||
applymovement LOCALID_PROF_OAK, IndigoPlateau_Exterior_Movement_OakLeave
|
||||
waitmovement 0
|
||||
delay 100
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Movement_16732E
|
||||
|
||||
@ Player begin to leave
|
||||
applymovement OBJ_EVENT_ID_PLAYER, IndigoPlateau_Exterior_Movement_PlayerBeginLeave
|
||||
waitmovement 0
|
||||
delay 155
|
||||
|
||||
@ Player turns to face the League
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Movement_16733C
|
||||
applymovement OBJ_EVENT_ID_PLAYER, IndigoPlateau_Exterior_Movement_PlayerFaceLeague
|
||||
waitmovement 0
|
||||
delay 90
|
||||
|
||||
@ Player runs off
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Movement_167335
|
||||
applymovement OBJ_EVENT_ID_PLAYER, IndigoPlateau_Exterior_Movement_PlayerTurnAround
|
||||
waitmovement 0
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Movement_167311
|
||||
applymovement OBJ_EVENT_ID_PLAYER, IndigoPlateau_Exterior_Movement_PlayerLeave
|
||||
waitmovement 0
|
||||
|
||||
@ Reset the map state and roll the credits
|
||||
special RemoveCameraObject
|
||||
setvar VAR_MAP_SCENE_INDIGO_PLATEAU_EXTERIOR, 0
|
||||
removeobject 1
|
||||
removeobject 2
|
||||
removeobject LOCALID_RIVAL
|
||||
removeobject LOCALID_PROF_OAK
|
||||
special Special_Credits @ noreturn
|
||||
waitstate
|
||||
releaseall
|
||||
end
|
||||
|
||||
Movement_167311:: @ 8167311
|
||||
IndigoPlateau_Exterior_Movement_PlayerLeave:: @ 8167311
|
||||
player_run_down
|
||||
player_run_down
|
||||
player_run_down
|
||||
@@ -91,18 +95,19 @@ Movement_167311:: @ 8167311
|
||||
player_run_down
|
||||
step_end
|
||||
|
||||
Movement_167318:: @ 8167318
|
||||
@ Unused
|
||||
IndigoPlateau_Exterior_Movement_PlayerExitBuilding:: @ 8167318
|
||||
walk_down
|
||||
walk_down
|
||||
step_end
|
||||
|
||||
Movement_16731B:: @ 816731B
|
||||
IndigoPlateau_Exterior_Movement_PlayerWatchRivalLeave:: @ 816731B
|
||||
delay_16
|
||||
delay_4
|
||||
walk_in_place_fastest_down
|
||||
step_end
|
||||
|
||||
Movement_16731F:: @ 816731F
|
||||
IndigoPlateau_Exterior_Movement_PlayerWatchOakLeave:: @ 816731F
|
||||
delay_8
|
||||
walk_in_place_fastest_right
|
||||
delay_16
|
||||
@@ -119,7 +124,7 @@ Movement_16731F:: @ 816731F
|
||||
walk_in_place_fastest_down
|
||||
step_end
|
||||
|
||||
Movement_16732E:: @ 816732E
|
||||
IndigoPlateau_Exterior_Movement_PlayerBeginLeave:: @ 816732E
|
||||
walk_right
|
||||
delay_16
|
||||
walk_down
|
||||
@@ -128,22 +133,22 @@ Movement_16732E:: @ 816732E
|
||||
delay_16
|
||||
step_end
|
||||
|
||||
Movement_167335:: @ 8167335
|
||||
IndigoPlateau_Exterior_Movement_PlayerTurnAround:: @ 8167335
|
||||
walk_in_place_fastest_down
|
||||
step_end
|
||||
|
||||
Movement_167337:: @ 8167337
|
||||
IndigoPlateau_Exterior_Movement_PushPlayerOutOfWay:: @ 8167337
|
||||
face_right
|
||||
lock_facing_direction
|
||||
walk_left
|
||||
unlock_facing_direction
|
||||
step_end
|
||||
|
||||
Movement_16733C:: @ 816733C
|
||||
IndigoPlateau_Exterior_Movement_PlayerFaceLeague:: @ 816733C
|
||||
walk_in_place_fastest_up
|
||||
step_end
|
||||
|
||||
Movement_16733E:: @ 816733E
|
||||
IndigoPlateau_Exterior_Movement_RivalLeave:: @ 816733E
|
||||
walk_fast_down
|
||||
walk_fast_down
|
||||
walk_fast_down
|
||||
@@ -153,11 +158,11 @@ Movement_16733E:: @ 816733E
|
||||
walk_fast_down
|
||||
step_end
|
||||
|
||||
Movement_167346:: @ 8167346
|
||||
IndigoPlateau_Exterior_Movement_RivalExitBuilding:: @ 8167346
|
||||
walk_fast_down
|
||||
step_end
|
||||
|
||||
Movement_167348:: @ 8167348
|
||||
IndigoPlateau_Exterior_Movement_OakLeave:: @ 8167348
|
||||
walk_in_place_fastest_left
|
||||
delay_16
|
||||
delay_16
|
||||
@@ -180,6 +185,6 @@ Movement_167348:: @ 8167348
|
||||
walk_down
|
||||
step_end
|
||||
|
||||
Movement_16735D:: @ 816735D
|
||||
IndigoPlateau_Exterior_Movement_OakExitBuilding:: @ 816735D
|
||||
walk_down
|
||||
step_end
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "IndigoPlateau_PokemonCenter_1F_EventScript_16EACC",
|
||||
"script": "IndigoPlateau_PokemonCenter_1F_EventScript_Clerk",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -36,7 +36,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "IndigoPlateau_PokemonCenter_1F_EventScript_16EB06",
|
||||
"script": "IndigoPlateau_PokemonCenter_1F_EventScript_Nurse",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -49,7 +49,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "IndigoPlateau_PokemonCenter_1F_EventScript_16EAC3",
|
||||
"script": "IndigoPlateau_PokemonCenter_1F_EventScript_GymGuy",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -62,7 +62,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "IndigoPlateau_PokemonCenter_1F_EventScript_16EA8A",
|
||||
"script": "IndigoPlateau_PokemonCenter_1F_EventScript_DoorGuard",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -75,7 +75,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "IndigoPlateau_PokemonCenter_1F_EventScript_1ACFAE",
|
||||
"script": "IndigoPlateau_PokemonCenter_1F_EventScript_BlackBelt",
|
||||
"flag": "FLAG_HIDE_POSTGAME_GOSSIPERS"
|
||||
},
|
||||
{
|
||||
@@ -88,7 +88,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "IndigoPlateau_PokemonCenter_1F_EventScript_1AD06C",
|
||||
"script": "IndigoPlateau_PokemonCenter_1F_EventScript_PokemonJournal",
|
||||
"flag": "FLAG_HIDE_POSTGAME_GOSSIPERS"
|
||||
},
|
||||
{
|
||||
@@ -101,7 +101,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "IndigoPlateau_PokemonCenter_1F_EventScript_1AD087",
|
||||
"script": "IndigoPlateau_PokemonCenter_1F_EventScript_CooltrainerM",
|
||||
"flag": "FLAG_HIDE_POSTGAME_GOSSIPERS"
|
||||
},
|
||||
{
|
||||
@@ -114,7 +114,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "IndigoPlateau_PokemonCenter_1F_EventScript_1AD06C",
|
||||
"script": "IndigoPlateau_PokemonCenter_1F_EventScript_PokemonJournal",
|
||||
"flag": "FLAG_HIDE_POSTGAME_GOSSIPERS"
|
||||
}
|
||||
],
|
||||
|
||||
@@ -7,52 +7,52 @@ IndigoPlateau_PokemonCenter_1F_OnTransition:: @ 816EA65
|
||||
setrespawn SPAWN_INDIGO_PLATEAU
|
||||
specialvar VAR_RESULT, IsNationalPokedexEnabled
|
||||
compare VAR_RESULT, TRUE
|
||||
call_if_eq EventScript_16EA79
|
||||
call_if_eq IndigoPlateau_PokemonCenter_1F_EventScript_CheckBlockDoor
|
||||
end
|
||||
|
||||
EventScript_16EA79:: @ 816EA79
|
||||
IndigoPlateau_PokemonCenter_1F_EventScript_CheckBlockDoor:: @ 816EA79
|
||||
goto_if_set FLAG_SYS_CAN_LINK_WITH_RS, EventScript_Return
|
||||
setobjectxyperm 4, 4, 2
|
||||
return
|
||||
|
||||
IndigoPlateau_PokemonCenter_1F_EventScript_16EA8A:: @ 816EA8A
|
||||
IndigoPlateau_PokemonCenter_1F_EventScript_DoorGuard:: @ 816EA8A
|
||||
lock
|
||||
faceplayer
|
||||
specialvar VAR_RESULT, IsNationalPokedexEnabled
|
||||
compare VAR_RESULT, TRUE
|
||||
goto_if_eq EventScript_16EAA6
|
||||
msgbox gUnknown_819A8D8
|
||||
goto_if_eq IndigoPlateau_PokemonCenter_1F_EventScript_CheckSeviiIslandComplete
|
||||
msgbox IndigoPlateau_PokemonCenter_1F_Text_FaceEliteFourGoodLuck
|
||||
release
|
||||
end
|
||||
|
||||
EventScript_16EAA6:: @ 816EAA6
|
||||
goto_if_set FLAG_SYS_CAN_LINK_WITH_RS, EventScript_16EAB9
|
||||
msgbox gUnknown_819A943
|
||||
IndigoPlateau_PokemonCenter_1F_EventScript_CheckSeviiIslandComplete:: @ 816EAA6
|
||||
goto_if_set FLAG_SYS_CAN_LINK_WITH_RS, IndigoPlateau_PokemonCenter_1F_EventScript_SeviiIslandComplete
|
||||
msgbox IndigoPlateau_PokemonCenter_1F_Text_LoreleiIsAbsentClosedForTimeBeing
|
||||
release
|
||||
end
|
||||
|
||||
EventScript_16EAB9:: @ 816EAB9
|
||||
msgbox gUnknown_819A8D8
|
||||
IndigoPlateau_PokemonCenter_1F_EventScript_SeviiIslandComplete:: @ 816EAB9
|
||||
msgbox IndigoPlateau_PokemonCenter_1F_Text_FaceEliteFourGoodLuck
|
||||
release
|
||||
end
|
||||
|
||||
IndigoPlateau_PokemonCenter_1F_EventScript_16EAC3:: @ 816EAC3
|
||||
msgbox gUnknown_819A837, MSGBOX_NPC
|
||||
IndigoPlateau_PokemonCenter_1F_EventScript_GymGuy:: @ 816EAC3
|
||||
msgbox IndigoPlateau_PokemonCenter_1F_Text_GymGuyAdvice, MSGBOX_NPC
|
||||
end
|
||||
|
||||
IndigoPlateau_PokemonCenter_1F_EventScript_16EACC:: @ 816EACC
|
||||
IndigoPlateau_PokemonCenter_1F_EventScript_Clerk:: @ 816EACC
|
||||
goto_if_questlog EventScript_ReleaseEnd
|
||||
lock
|
||||
faceplayer
|
||||
message Text_MayIHelpYou
|
||||
waitmessage
|
||||
pokemart Items_16EAF4
|
||||
pokemart IndigoPlateau_PokemonCenter_1F_Items
|
||||
msgbox Text_PleaseComeAgain
|
||||
release
|
||||
end
|
||||
|
||||
.align 2
|
||||
Items_16EAF4:: @ 816EAF4
|
||||
IndigoPlateau_PokemonCenter_1F_Items:: @ 816EAF4
|
||||
.2byte ITEM_ULTRA_BALL
|
||||
.2byte ITEM_GREAT_BALL
|
||||
.2byte ITEM_FULL_RESTORE
|
||||
@@ -64,7 +64,7 @@ Items_16EAF4:: @ 816EAF4
|
||||
release
|
||||
end
|
||||
|
||||
IndigoPlateau_PokemonCenter_1F_EventScript_16EB06:: @ 816EB06
|
||||
IndigoPlateau_PokemonCenter_1F_EventScript_Nurse:: @ 816EB06
|
||||
lock
|
||||
faceplayer
|
||||
call EventScript_PkmnCenterNurse
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
gUnknown_819A837:: @ 819A837
|
||||
IndigoPlateau_PokemonCenter_1F_Text_GymGuyAdvice:: @ 819A837
|
||||
.string "Yo!\n"
|
||||
.string "Champ in the making!\p"
|
||||
.string "At the POKéMON LEAGUE, you will\n"
|
||||
@@ -8,13 +8,13 @@ gUnknown_819A837:: @ 819A837
|
||||
.string "This is it!\n"
|
||||
.string "Go for it!$"
|
||||
|
||||
gUnknown_819A8D8:: @ 819A8D8
|
||||
IndigoPlateau_PokemonCenter_1F_Text_FaceEliteFourGoodLuck:: @ 819A8D8
|
||||
.string "From here on, you face the\n"
|
||||
.string "ELITE FOUR one by one.\p"
|
||||
.string "If you win, a door opens to the\n"
|
||||
.string "next TRAINER. Good luck!$"
|
||||
|
||||
gUnknown_819A943:: @ 819A943
|
||||
IndigoPlateau_PokemonCenter_1F_Text_LoreleiIsAbsentClosedForTimeBeing:: @ 819A943
|
||||
.string "I am so sorry, but you've wasted\n"
|
||||
.string "your time coming here.\p"
|
||||
.string "LORELEI of the ELITE FOUR is\n"
|
||||
@@ -22,3 +22,22 @@ gUnknown_819A943:: @ 819A943
|
||||
.string "As a result, the POKéMON LEAGUE is\n"
|
||||
.string "closed for the time being.$"
|
||||
|
||||
IndigoPlateau_PokemonCenter_1F_Text_AgathaWhuppedUs:: @ 819A9E7
|
||||
.string "AGATHA's GHOST-type POKéMON are\n"
|
||||
.string "horrifically terrifying in toughness.\p"
|
||||
.string "I took my FIGHTING-type POKéMON\n"
|
||||
.string "and raised them to the max.\p"
|
||||
.string "I went at AGATHA feeling pretty\n"
|
||||
.string "confident, but she whupped us.\p"
|
||||
.string "That old lady's also got a really\n"
|
||||
.string "short fuse, too.\p"
|
||||
.string "It doesn't take anything to get\n"
|
||||
.string "that scary lady hollering.$"
|
||||
|
||||
IndigoPlateau_PokemonCenter_1F_Text_LancesCousinGymLeaderFarAway:: @ 819AB16
|
||||
.string "Maybe becoming an ELITE FOUR\n"
|
||||
.string "member is in the blood.\p"
|
||||
.string "From what I've heard, LANCE has\n"
|
||||
.string "a cousin who's a GYM LEADER\l"
|
||||
.string "somewhere far away.$"
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 1,
|
||||
"trainer_sight_or_berry_tree_id": 2,
|
||||
"script": "MtMoon_1F_EventScript_16063C",
|
||||
"script": "MtMoon_1F_EventScript_Iris",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -36,7 +36,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 1,
|
||||
"trainer_sight_or_berry_tree_id": 2,
|
||||
"script": "MtMoon_1F_EventScript_160681",
|
||||
"script": "MtMoon_1F_EventScript_Robby",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -49,7 +49,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 1,
|
||||
"trainer_sight_or_berry_tree_id": 4,
|
||||
"script": "MtMoon_1F_EventScript_160653",
|
||||
"script": "MtMoon_1F_EventScript_Jovan",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -62,7 +62,7 @@
|
||||
"movement_range_y": 3,
|
||||
"trainer_type": 1,
|
||||
"trainer_sight_or_berry_tree_id": 2,
|
||||
"script": "MtMoon_1F_EventScript_160625",
|
||||
"script": "MtMoon_1F_EventScript_Miriam",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -75,7 +75,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 1,
|
||||
"trainer_sight_or_berry_tree_id": 4,
|
||||
"script": "MtMoon_1F_EventScript_16066A",
|
||||
"script": "MtMoon_1F_EventScript_Kent",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -88,7 +88,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 1,
|
||||
"trainer_sight_or_berry_tree_id": 4,
|
||||
"script": "MtMoon_1F_EventScript_16060E",
|
||||
"script": "MtMoon_1F_EventScript_Josh",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -101,7 +101,7 @@
|
||||
"movement_range_y": 2,
|
||||
"trainer_type": 1,
|
||||
"trainer_sight_or_berry_tree_id": 1,
|
||||
"script": "MtMoon_1F_EventScript_1605F7",
|
||||
"script": "MtMoon_1F_EventScript_Macros",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -192,7 +192,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "MtMoon_1F_EventScript_1ACE03",
|
||||
"script": "MtMoon_1F_EventScript_BaldingMan",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
@@ -233,7 +233,7 @@
|
||||
"x": 19,
|
||||
"y": 26,
|
||||
"elevation": 0,
|
||||
"script": "MtMoon_1F_EventScript_1605EE"
|
||||
"script": "MtMoon_1F_EventScript_ZubatSign"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -6,41 +6,41 @@ MtMoon_1F_OnTransition:: @ 81605EA
|
||||
setworldmapflag FLAG_WORLD_MAP_MT_MOON_1F
|
||||
end
|
||||
|
||||
MtMoon_1F_EventScript_1605EE:: @ 81605EE
|
||||
msgbox gUnknown_8172AE0, MSGBOX_SIGN
|
||||
MtMoon_1F_EventScript_ZubatSign:: @ 81605EE
|
||||
msgbox MtMoon_1F_Text_ZubatIsABloodsucker, MSGBOX_SIGN
|
||||
end
|
||||
|
||||
MtMoon_1F_EventScript_1605F7:: @ 81605F7
|
||||
trainerbattle_single TRAINER_HIKER_MARCOS, Text_17279D, Text_1727CB
|
||||
msgbox gUnknown_81727DF, MSGBOX_AUTOCLOSE
|
||||
MtMoon_1F_EventScript_Macros:: @ 81605F7
|
||||
trainerbattle_single TRAINER_HIKER_MARCOS, MtMoon_1F_Text_MarcosIntro, MtMoon_1F_Text_MarcosDefeat
|
||||
msgbox MtMoon_1F_Text_MarcosPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
MtMoon_1F_EventScript_16060E:: @ 816060E
|
||||
trainerbattle_single TRAINER_YOUNGSTER_JOSH, Text_17281D, Text_172844
|
||||
msgbox gUnknown_8172863, MSGBOX_AUTOCLOSE
|
||||
MtMoon_1F_EventScript_Josh:: @ 816060E
|
||||
trainerbattle_single TRAINER_YOUNGSTER_JOSH, MtMoon_1F_Text_JoshIntro, MtMoon_1F_Text_JoshDefeat
|
||||
msgbox MtMoon_1F_Text_JoshPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
MtMoon_1F_EventScript_160625:: @ 8160625
|
||||
trainerbattle_single TRAINER_LASS_MIRIAM, Text_172896, Text_1728C3
|
||||
msgbox gUnknown_81728D2, MSGBOX_AUTOCLOSE
|
||||
MtMoon_1F_EventScript_Miriam:: @ 8160625
|
||||
trainerbattle_single TRAINER_LASS_MIRIAM, MtMoon_1F_Text_MiriamIntro, MtMoon_1F_Text_MiriamDefeat
|
||||
msgbox MtMoon_1F_Text_MiriamPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
MtMoon_1F_EventScript_16063C:: @ 816063C
|
||||
trainerbattle_single TRAINER_LASS_IRIS, Text_172972, Text_1729A4
|
||||
msgbox gUnknown_81729AC, MSGBOX_AUTOCLOSE
|
||||
MtMoon_1F_EventScript_Iris:: @ 816063C
|
||||
trainerbattle_single TRAINER_LASS_IRIS, MtMoon_1F_Text_IrisIntro, MtMoon_1F_Text_IrisDefeat
|
||||
msgbox MtMoon_1F_Text_IrisPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
MtMoon_1F_EventScript_160653:: @ 8160653
|
||||
trainerbattle_single TRAINER_SUPER_NERD_JOVAN, Text_17290B, Text_172927
|
||||
msgbox gUnknown_817293C, MSGBOX_AUTOCLOSE
|
||||
MtMoon_1F_EventScript_Jovan:: @ 8160653
|
||||
trainerbattle_single TRAINER_SUPER_NERD_JOVAN, MtMoon_1F_Text_JovanIntro, MtMoon_1F_Text_JovanDefeat
|
||||
msgbox MtMoon_1F_Text_JovanPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
MtMoon_1F_EventScript_16066A:: @ 816066A
|
||||
trainerbattle_single TRAINER_BUG_CATCHER_KENT, Text_1729EA, Text_172A1A
|
||||
msgbox gUnknown_8172A26, MSGBOX_AUTOCLOSE
|
||||
MtMoon_1F_EventScript_Kent:: @ 816066A
|
||||
trainerbattle_single TRAINER_BUG_CATCHER_KENT, MtMoon_1F_Text_KentIntro, MtMoon_1F_Text_KentDefeat
|
||||
msgbox MtMoon_1F_Text_KentPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
MtMoon_1F_EventScript_160681:: @ 8160681
|
||||
trainerbattle_single TRAINER_BUG_CATCHER_ROBBY, Text_172A55, Text_172A8F
|
||||
msgbox gUnknown_8172A97, MSGBOX_AUTOCLOSE
|
||||
MtMoon_1F_EventScript_Robby:: @ 8160681
|
||||
trainerbattle_single TRAINER_BUG_CATCHER_ROBBY, MtMoon_1F_Text_RobbyIntro, MtMoon_1F_Text_RobbyDefeat
|
||||
msgbox MtMoon_1F_Text_RobbyPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
@@ -1,87 +1,92 @@
|
||||
Text_17279D:: @ 817279D
|
||||
MtMoon_1F_Text_MarcosIntro:: @ 817279D
|
||||
.string "WHOA!\n"
|
||||
.string "You shocked me!\l"
|
||||
.string "…Oh, you're just a kid!$"
|
||||
|
||||
Text_1727CB:: @ 81727CB
|
||||
MtMoon_1F_Text_MarcosDefeat:: @ 81727CB
|
||||
.string "Wow!\n"
|
||||
.string "Shocked again!$"
|
||||
|
||||
gUnknown_81727DF:: @ 81727DF
|
||||
MtMoon_1F_Text_MarcosPostBattle:: @ 81727DF
|
||||
.string "Kids like you shouldn't be\n"
|
||||
.string "wandering around here in the dark.$"
|
||||
|
||||
Text_17281D:: @ 817281D
|
||||
MtMoon_1F_Text_JoshIntro:: @ 817281D
|
||||
.string "Did you come to explore the cave,\n"
|
||||
.string "too?$"
|
||||
|
||||
Text_172844:: @ 8172844
|
||||
MtMoon_1F_Text_JoshDefeat:: @ 8172844
|
||||
.string "Losing stinks!\n"
|
||||
.string "It's so uncool.$"
|
||||
|
||||
gUnknown_8172863:: @ 8172863
|
||||
MtMoon_1F_Text_JoshPostBattle:: @ 8172863
|
||||
.string "I came all the way down here to\n"
|
||||
.string "show off to girls.$"
|
||||
|
||||
Text_172896:: @ 8172896
|
||||
MtMoon_1F_Text_MiriamIntro:: @ 8172896
|
||||
.string "Wow! It's way bigger in here than\n"
|
||||
.string "I thought!$"
|
||||
|
||||
Text_1728C3:: @ 81728C3
|
||||
MtMoon_1F_Text_MiriamDefeat:: @ 81728C3
|
||||
.string "Oh!\n"
|
||||
.string "I lost it!$"
|
||||
|
||||
gUnknown_81728D2:: @ 81728D2
|
||||
MtMoon_1F_Text_MiriamPostBattle:: @ 81728D2
|
||||
.string "How do you get out of here?\n"
|
||||
.string "It's so big, I may get lost.$"
|
||||
|
||||
Text_17290B:: @ 817290B
|
||||
MtMoon_1F_Text_JovanIntro:: @ 817290B
|
||||
.string "What!\n"
|
||||
.string "Don't sneak up on me!$"
|
||||
|
||||
Text_172927:: @ 8172927
|
||||
MtMoon_1F_Text_JovanDefeat:: @ 8172927
|
||||
.string "My POKéMON won't do!$"
|
||||
|
||||
gUnknown_817293C:: @ 817293C
|
||||
MtMoon_1F_Text_JovanPostBattle:: @ 817293C
|
||||
.string "I have to find stronger POKéMON.\n"
|
||||
.string "Where might they be?$"
|
||||
|
||||
Text_172972:: @ 8172972
|
||||
MtMoon_1F_Text_IrisIntro:: @ 8172972
|
||||
.string "What?\n"
|
||||
.string "I'm waiting for my friends to find\l"
|
||||
.string "me here.$"
|
||||
|
||||
Text_1729A4:: @ 81729A4
|
||||
MtMoon_1F_Text_IrisDefeat:: @ 81729A4
|
||||
.string "I lost?$"
|
||||
|
||||
gUnknown_81729AC:: @ 81729AC
|
||||
MtMoon_1F_Text_IrisPostBattle:: @ 81729AC
|
||||
.string "I came because I heard there are\n"
|
||||
.string "some very rare fossils here.$"
|
||||
|
||||
Text_1729EA:: @ 81729EA
|
||||
MtMoon_1F_Text_KentIntro:: @ 81729EA
|
||||
.string "Suspicious men are in the cave.\n"
|
||||
.string "What about you?$"
|
||||
|
||||
Text_172A1A:: @ 8172A1A
|
||||
MtMoon_1F_Text_KentDefeat:: @ 8172A1A
|
||||
.string "You got me!$"
|
||||
|
||||
gUnknown_8172A26:: @ 8172A26
|
||||
MtMoon_1F_Text_KentPostBattle:: @ 8172A26
|
||||
.string "I saw them!\n"
|
||||
.string "I'm sure they're from TEAM ROCKET!$"
|
||||
|
||||
Text_172A55:: @ 8172A55
|
||||
MtMoon_1F_Text_RobbyIntro:: @ 8172A55
|
||||
.string "You need to go through this cave\n"
|
||||
.string "to get to CERULEAN CITY.$"
|
||||
|
||||
Text_172A8F:: @ 8172A8F
|
||||
MtMoon_1F_Text_RobbyDefeat:: @ 8172A8F
|
||||
.string "I lost.$"
|
||||
|
||||
gUnknown_8172A97:: @ 8172A97
|
||||
MtMoon_1F_Text_RobbyPostBattle:: @ 8172A97
|
||||
.string "ZUBAT is tough!\n"
|
||||
.string "But if you can catch one, you'll\l"
|
||||
.string "be able to count on it.$"
|
||||
|
||||
gUnknown_8172AE0:: @ 8172AE0
|
||||
MtMoon_1F_Text_ZubatIsABloodsucker:: @ 8172AE0
|
||||
.string "Beware!\n"
|
||||
.string "ZUBAT is a bloodsucker!$"
|
||||
|
||||
MtMoon_1F_Text_BrockHelpsExcavateFossils:: @ 8172B00
|
||||
.string "Hi, I'm excavating for fossils here\n"
|
||||
.string "under MT. MOON.\p"
|
||||
.string "Sometimes, BROCK of PEWTER GYM\n"
|
||||
.string "lends me a hand.$"
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "MtMoon_B2F_EventScript_16071B",
|
||||
"script": "MtMoon_B2F_EventScript_DomeFossil",
|
||||
"flag": "FLAG_HIDE_DOME_FOSSIL"
|
||||
},
|
||||
{
|
||||
@@ -36,7 +36,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "MtMoon_B2F_EventScript_16077F",
|
||||
"script": "MtMoon_B2F_EventScript_HelixFossil",
|
||||
"flag": "FLAG_HIDE_HELIX_FOSSIL"
|
||||
},
|
||||
{
|
||||
@@ -49,7 +49,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "MtMoon_B2F_EventScript_1606C2",
|
||||
"script": "MtMoon_B2F_EventScript_Miguel",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -62,7 +62,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 1,
|
||||
"trainer_sight_or_berry_tree_id": 3,
|
||||
"script": "MtMoon_B2F_EventScript_160829",
|
||||
"script": "MtMoon_B2F_EventScript_Grunt4",
|
||||
"flag": "FLAG_HIDE_MISC_KANTO_ROCKETS"
|
||||
},
|
||||
{
|
||||
@@ -75,7 +75,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 1,
|
||||
"trainer_sight_or_berry_tree_id": 2,
|
||||
"script": "MtMoon_B2F_EventScript_1607E4",
|
||||
"script": "MtMoon_B2F_EventScript_Grunt1",
|
||||
"flag": "FLAG_HIDE_MISC_KANTO_ROCKETS"
|
||||
},
|
||||
{
|
||||
@@ -88,7 +88,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 1,
|
||||
"trainer_sight_or_berry_tree_id": 4,
|
||||
"script": "MtMoon_B2F_EventScript_160812",
|
||||
"script": "MtMoon_B2F_EventScript_Grunt3",
|
||||
"flag": "FLAG_HIDE_MISC_KANTO_ROCKETS"
|
||||
},
|
||||
{
|
||||
@@ -101,7 +101,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 1,
|
||||
"trainer_sight_or_berry_tree_id": 4,
|
||||
"script": "MtMoon_B2F_EventScript_1607FB",
|
||||
"script": "MtMoon_B2F_EventScript_Grunt2",
|
||||
"flag": "FLAG_HIDE_MISC_KANTO_ROCKETS"
|
||||
},
|
||||
{
|
||||
@@ -195,7 +195,7 @@
|
||||
"elevation": 3,
|
||||
"var": "VAR_MAP_SCENE_MT_MOON_B2F",
|
||||
"var_value": 0,
|
||||
"script": "MtMoon_B2F_EventScript_1606B0"
|
||||
"script": "MtMoon_B2F_EventScript_MiguelTrigger"
|
||||
}
|
||||
],
|
||||
"bg_events": [
|
||||
|
||||
@@ -1,138 +1,142 @@
|
||||
.equ LOCALID_DOME_FOSSIL, 1
|
||||
.equ LOCALID_HELIX_FOSSIL, 2
|
||||
.equ LOCALID_MIGUEL, 3
|
||||
|
||||
MtMoon_B2F_MapScripts:: @ 8160699
|
||||
map_script MAP_SCRIPT_ON_TRANSITION, MtMoon_B2F_OnTransition
|
||||
.byte 0
|
||||
|
||||
MtMoon_B2F_OnTransition:: @ 816069F
|
||||
call_if_unset FLAG_GOT_FOSSIL_FROM_MT_MOON, EventScript_1606A9
|
||||
call_if_unset FLAG_GOT_FOSSIL_FROM_MT_MOON, MtMoon_B2F_EventScript_ShowFossils
|
||||
end
|
||||
|
||||
EventScript_1606A9:: @ 81606A9
|
||||
MtMoon_B2F_EventScript_ShowFossils:: @ 81606A9
|
||||
clearflag FLAG_HIDE_DOME_FOSSIL
|
||||
clearflag FLAG_HIDE_HELIX_FOSSIL
|
||||
return
|
||||
|
||||
MtMoon_B2F_EventScript_1606B0:: @ 81606B0
|
||||
MtMoon_B2F_EventScript_MiguelTrigger:: @ 81606B0
|
||||
lockall
|
||||
applymovement 3, Movement_WalkInPlaceFastestRight
|
||||
applymovement LOCALID_MIGUEL, Movement_WalkInPlaceFastestRight
|
||||
waitmovement 0
|
||||
call EventScript_1606DD
|
||||
call MtMoon_B2F_EventScript_BattleMiguel
|
||||
releaseall
|
||||
end
|
||||
|
||||
MtMoon_B2F_EventScript_1606C2:: @ 81606C2
|
||||
MtMoon_B2F_EventScript_Miguel:: @ 81606C2
|
||||
lock
|
||||
faceplayer
|
||||
goto_if_set FLAG_GOT_FOSSIL_FROM_MT_MOON, EventScript_160707
|
||||
goto_if_defeated TRAINER_SUPER_NERD_MIGUEL, EventScript_160711
|
||||
call EventScript_1606DD
|
||||
goto_if_set FLAG_GOT_FOSSIL_FROM_MT_MOON, MtMoon_B2F_EventScript_MiguelFossilPicked
|
||||
goto_if_defeated TRAINER_SUPER_NERD_MIGUEL, MtMoon_B2F_EventScript_MiguelGoPickFossil
|
||||
call MtMoon_B2F_EventScript_BattleMiguel
|
||||
release
|
||||
end
|
||||
|
||||
EventScript_1606DD:: @ 81606DD
|
||||
MtMoon_B2F_EventScript_BattleMiguel:: @ 81606DD
|
||||
textcolor 0
|
||||
message Text_172B64
|
||||
message MtMoon_B2F_Text_MiguelIntro
|
||||
waitmessage
|
||||
playbgm MUS_EXEYE, 0
|
||||
waitbuttonpress
|
||||
setvar VAR_LAST_TALKED, 3
|
||||
trainerbattle_no_intro TRAINER_SUPER_NERD_MIGUEL, Text_172B99
|
||||
setvar VAR_LAST_TALKED, LOCALID_MIGUEL
|
||||
trainerbattle_no_intro TRAINER_SUPER_NERD_MIGUEL, MtMoon_B2F_Text_MiguelDefeat
|
||||
setvar VAR_MAP_SCENE_MT_MOON_B2F, 1
|
||||
msgbox gUnknown_8172BAB
|
||||
msgbox MtMoon_B2F_Text_WellEachTakeAFossil
|
||||
return
|
||||
|
||||
EventScript_160707:: @ 8160707
|
||||
msgbox gUnknown_8172BFB
|
||||
MtMoon_B2F_EventScript_MiguelFossilPicked:: @ 8160707
|
||||
msgbox MtMoon_B2F_Text_LabOnCinnabarRegeneratesFossils
|
||||
release
|
||||
end
|
||||
|
||||
EventScript_160711:: @ 8160711
|
||||
msgbox gUnknown_8172BAB
|
||||
MtMoon_B2F_EventScript_MiguelGoPickFossil:: @ 8160711
|
||||
msgbox MtMoon_B2F_Text_WellEachTakeAFossil
|
||||
release
|
||||
end
|
||||
|
||||
MtMoon_B2F_EventScript_16071B:: @ 816071B
|
||||
MtMoon_B2F_EventScript_DomeFossil:: @ 816071B
|
||||
lock
|
||||
faceplayer
|
||||
msgbox gUnknown_8172E77, MSGBOX_YESNO
|
||||
msgbox MtMoon_B2F_Text_YouWantDomeFossil, MSGBOX_YESNO
|
||||
compare VAR_RESULT, NO
|
||||
goto_if_eq EventScript_1607DE
|
||||
removeobject 1
|
||||
giveitem_msg gUnknown_8172ECD, ITEM_DOME_FOSSIL, 1, MUS_FAN5
|
||||
goto_if_eq MtMoon_B2F_EventScript_DontTakeFossil
|
||||
removeobject LOCALID_DOME_FOSSIL
|
||||
giveitem_msg MtMoon_B2F_Text_ObtainedDomeFossil, ITEM_DOME_FOSSIL, 1, MUS_FAN5
|
||||
closemessage
|
||||
special sub_8112364
|
||||
delay 10
|
||||
applymovement 3, Movement_16077A
|
||||
applymovement LOCALID_MIGUEL, MtMoon_B2F_Movement_MiguelToHelixFossil
|
||||
waitmovement 0
|
||||
moveobjectoffscreen 3
|
||||
moveobjectoffscreen LOCALID_MIGUEL
|
||||
textcolor 0
|
||||
playfanfare MUS_FAN5
|
||||
message Text_172BD6
|
||||
message MtMoon_B2F_Text_ThenThisFossilIsMine
|
||||
waitmessage
|
||||
waitfanfare
|
||||
removeobject 2
|
||||
removeobject LOCALID_HELIX_FOSSIL
|
||||
setflag FLAG_GOT_DOME_FOSSIL
|
||||
setflag FLAG_GOT_FOSSIL_FROM_MT_MOON
|
||||
release
|
||||
end
|
||||
|
||||
Movement_16077A:: @ 816077A
|
||||
MtMoon_B2F_Movement_MiguelToHelixFossil:: @ 816077A
|
||||
walk_right
|
||||
walk_up
|
||||
walk_up
|
||||
walk_up
|
||||
step_end
|
||||
|
||||
MtMoon_B2F_EventScript_16077F:: @ 816077F
|
||||
MtMoon_B2F_EventScript_HelixFossil:: @ 816077F
|
||||
lock
|
||||
faceplayer
|
||||
msgbox gUnknown_8172E94, MSGBOX_YESNO
|
||||
msgbox MtMoon_B2F_Text_YouWantHelixFossil, MSGBOX_YESNO
|
||||
compare VAR_RESULT, NO
|
||||
goto_if_eq EventScript_1607DE
|
||||
removeobject 2
|
||||
giveitem_msg gUnknown_8172EB2, ITEM_HELIX_FOSSIL, 1, MUS_FAN5
|
||||
goto_if_eq MtMoon_B2F_EventScript_DontTakeFossil
|
||||
removeobject LOCALID_HELIX_FOSSIL
|
||||
giveitem_msg MtMoon_B2F_Text_ObtainedHelixFossil, ITEM_HELIX_FOSSIL, 1, MUS_FAN5
|
||||
closemessage
|
||||
special sub_8112364
|
||||
delay 10
|
||||
applymovement 3, Movement_1607E0
|
||||
applymovement LOCALID_MIGUEL, MtMoon_B2F_Movement_MiguelToDomeFossil
|
||||
waitmovement 0
|
||||
moveobjectoffscreen 3
|
||||
moveobjectoffscreen LOCALID_MIGUEL
|
||||
textcolor 0
|
||||
playfanfare MUS_FAN5
|
||||
message Text_172BD6
|
||||
message MtMoon_B2F_Text_ThenThisFossilIsMine
|
||||
waitmessage
|
||||
waitfanfare
|
||||
removeobject 1
|
||||
removeobject LOCALID_DOME_FOSSIL
|
||||
setflag FLAG_GOT_HELIX_FOSSIL
|
||||
setflag FLAG_GOT_FOSSIL_FROM_MT_MOON
|
||||
release
|
||||
end
|
||||
|
||||
EventScript_1607DE:: @ 81607DE
|
||||
MtMoon_B2F_EventScript_DontTakeFossil:: @ 81607DE
|
||||
release
|
||||
end
|
||||
|
||||
Movement_1607E0:: @ 81607E0
|
||||
MtMoon_B2F_Movement_MiguelToDomeFossil:: @ 81607E0
|
||||
walk_up
|
||||
walk_up
|
||||
walk_up
|
||||
step_end
|
||||
|
||||
MtMoon_B2F_EventScript_1607E4:: @ 81607E4
|
||||
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT, Text_172C5A, Text_172CB8
|
||||
msgbox gUnknown_8172CCB, MSGBOX_AUTOCLOSE
|
||||
MtMoon_B2F_EventScript_Grunt1:: @ 81607E4
|
||||
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT, MtMoon_B2F_Text_Grunt1Intro, MtMoon_B2F_Text_Grunt1Defeat
|
||||
msgbox MtMoon_B2F_Text_Grunt1PostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
MtMoon_B2F_EventScript_1607FB:: @ 81607FB
|
||||
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_2, Text_172CFC, Text_172D46
|
||||
msgbox gUnknown_8172D51, MSGBOX_AUTOCLOSE
|
||||
MtMoon_B2F_EventScript_Grunt2:: @ 81607FB
|
||||
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_2, MtMoon_B2F_Text_Grunt2Intro, MtMoon_B2F_Text_Grunt2Defeat
|
||||
msgbox MtMoon_B2F_Text_Grunt2PostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
MtMoon_B2F_EventScript_160812:: @ 8160812
|
||||
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_3, Text_172D82, Text_172DAF
|
||||
msgbox gUnknown_8172DC1, MSGBOX_AUTOCLOSE
|
||||
MtMoon_B2F_EventScript_Grunt3:: @ 8160812
|
||||
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_3, MtMoon_B2F_Text_Grunt3Intro, MtMoon_B2F_Text_Grunt3Defeat
|
||||
msgbox MtMoon_B2F_Text_Grunt3PostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
MtMoon_B2F_EventScript_160829:: @ 8160829
|
||||
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_4, Text_172DF0, Text_172E3E
|
||||
msgbox gUnknown_8172E4B, MSGBOX_AUTOCLOSE
|
||||
MtMoon_B2F_EventScript_Grunt4:: @ 8160829
|
||||
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_4, MtMoon_B2F_Text_Grunt4Intro, MtMoon_B2F_Text_Grunt4Defeat
|
||||
msgbox MtMoon_B2F_Text_Grunt4PostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
@@ -1,90 +1,84 @@
|
||||
Text_172B00:: @ 8172B00
|
||||
.string "Hi, I'm excavating for fossils here\n"
|
||||
.string "under MT. MOON.\p"
|
||||
.string "Sometimes, BROCK of PEWTER GYM\n"
|
||||
.string "lends me a hand.$"
|
||||
|
||||
Text_172B64:: @ 8172B64
|
||||
MtMoon_B2F_Text_MiguelIntro:: @ 8172B64
|
||||
.string "Hey, stop!\p"
|
||||
.string "I found these fossils!\n"
|
||||
.string "They're both mine!$"
|
||||
|
||||
Text_172B99:: @ 8172B99
|
||||
MtMoon_B2F_Text_MiguelDefeat:: @ 8172B99
|
||||
.string "Okay!\n"
|
||||
.string "I'll share!$"
|
||||
|
||||
gUnknown_8172BAB:: @ 8172BAB
|
||||
MtMoon_B2F_Text_WellEachTakeAFossil:: @ 8172BAB
|
||||
.string "We'll each take a fossil!\n"
|
||||
.string "No being greedy!$"
|
||||
|
||||
Text_172BD6:: @ 8172BD6
|
||||
MtMoon_B2F_Text_ThenThisFossilIsMine:: @ 8172BD6
|
||||
.string "All right.\n"
|
||||
.string "Then this fossil is mine!$"
|
||||
|
||||
gUnknown_8172BFB:: @ 8172BFB
|
||||
MtMoon_B2F_Text_LabOnCinnabarRegeneratesFossils:: @ 8172BFB
|
||||
.string "Far away, on CINNABAR ISLAND,\n"
|
||||
.string "there's a POKéMON LAB.\p"
|
||||
.string "They do research on regenerating\n"
|
||||
.string "fossils.$"
|
||||
|
||||
Text_172C5A:: @ 8172C5A
|
||||
MtMoon_B2F_Text_Grunt1Intro:: @ 8172C5A
|
||||
.string "We, TEAM ROCKET, shall find the\n"
|
||||
.string "fossils!\p"
|
||||
.string "Reviving POKéMON from them will\n"
|
||||
.string "earn us huge riches!$"
|
||||
|
||||
Text_172CB8:: @ 8172CB8
|
||||
MtMoon_B2F_Text_Grunt1Defeat:: @ 8172CB8
|
||||
.string "Urgh!\n"
|
||||
.string "Now I'm mad!$"
|
||||
|
||||
gUnknown_8172CCB:: @ 8172CCB
|
||||
MtMoon_B2F_Text_Grunt1PostBattle:: @ 8172CCB
|
||||
.string "You made me mad!\n"
|
||||
.string "TEAM ROCKET will blacklist you!$"
|
||||
|
||||
Text_172CFC:: @ 8172CFC
|
||||
MtMoon_B2F_Text_Grunt2Intro:: @ 8172CFC
|
||||
.string "We, TEAM ROCKET, are POKéMON\n"
|
||||
.string "gangsters!\l"
|
||||
.string "We strike fear with our strength!$"
|
||||
|
||||
Text_172D46:: @ 8172D46
|
||||
MtMoon_B2F_Text_Grunt2Defeat:: @ 8172D46
|
||||
.string "I blew it!$"
|
||||
|
||||
gUnknown_8172D51:: @ 8172D51
|
||||
MtMoon_B2F_Text_Grunt2PostBattle:: @ 8172D51
|
||||
.string "Darn it all!\n"
|
||||
.string "My associates won't stand for this!$"
|
||||
|
||||
Text_172D82:: @ 8172D82
|
||||
MtMoon_B2F_Text_Grunt3Intro:: @ 8172D82
|
||||
.string "We're pulling a big job here!\n"
|
||||
.string "Get lost, kid!$"
|
||||
|
||||
Text_172DAF:: @ 8172DAF
|
||||
MtMoon_B2F_Text_Grunt3Defeat:: @ 8172DAF
|
||||
.string "So, you are good…$"
|
||||
|
||||
gUnknown_8172DC1:: @ 8172DC1
|
||||
MtMoon_B2F_Text_Grunt3PostBattle:: @ 8172DC1
|
||||
.string "If you find a fossil, give it to me\n"
|
||||
.string "and scram!$"
|
||||
|
||||
Text_172DF0:: @ 8172DF0
|
||||
MtMoon_B2F_Text_Grunt4Intro:: @ 8172DF0
|
||||
.string "Little kids shouldn't be messing\n"
|
||||
.string "around with grown-ups!\p"
|
||||
.string "It could be bad news!$"
|
||||
|
||||
Text_172E3E:: @ 8172E3E
|
||||
MtMoon_B2F_Text_Grunt4Defeat:: @ 8172E3E
|
||||
.string "I'm steamed!$"
|
||||
|
||||
gUnknown_8172E4B:: @ 8172E4B
|
||||
MtMoon_B2F_Text_Grunt4PostBattle:: @ 8172E4B
|
||||
.string "POKéMON lived here long before\n"
|
||||
.string "people came.$"
|
||||
|
||||
gUnknown_8172E77:: @ 8172E77
|
||||
MtMoon_B2F_Text_YouWantDomeFossil:: @ 8172E77
|
||||
.string "Do you want the DOME FOSSIL?$"
|
||||
|
||||
gUnknown_8172E94:: @ 8172E94
|
||||
MtMoon_B2F_Text_YouWantHelixFossil:: @ 8172E94
|
||||
.string "Do you want the HELIX FOSSIL?$"
|
||||
|
||||
gUnknown_8172EB2:: @ 8172EB2
|
||||
MtMoon_B2F_Text_ObtainedHelixFossil:: @ 8172EB2
|
||||
.string "Obtained the HELIX FOSSIL!$"
|
||||
|
||||
gUnknown_8172ECD:: @ 8172ECD
|
||||
MtMoon_B2F_Text_ObtainedDomeFossil:: @ 8172ECD
|
||||
.string "Obtained the DOME FOSSIL!$"
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
"music": "MUS_NANADUNGEON",
|
||||
"region_map_section": "MAPSEC_NAVEL_ROCK",
|
||||
"requires_flash": false,
|
||||
"weather": "WEATHER_CLOUDY",
|
||||
"weather": "WEATHER_SHADE",
|
||||
"map_type": "MAP_TYPE_4",
|
||||
"unknown_18": 0,
|
||||
"unknown_19": 6,
|
||||
|
||||
@@ -1,12 +1,3 @@
|
||||
Text_181569:: @ 8181569
|
||||
.string "This FAN CLUB…\n"
|
||||
.string "No one here has a clue!\p"
|
||||
.string "How could they not recognize\n"
|
||||
.string "the brilliance that is LANCE?\p"
|
||||
.string "He stands for justice!\n"
|
||||
.string "He's cool, and yet passionate!\l"
|
||||
.string "He's the greatest, LANCE!$"
|
||||
|
||||
gUnknown_818161B:: @ 818161B
|
||||
.string "BILL: Here we are!\n"
|
||||
.string "This is ONE ISLAND.\p"
|
||||
|
||||
@@ -1,65 +1,3 @@
|
||||
Text_18CF4D:: @ 818CF4D
|
||||
.string "Training by oneself is certainly\n"
|
||||
.string "not a bad thing.\p"
|
||||
.string "But it's also not bad to aim for\n"
|
||||
.string "the top with a partner.\p"
|
||||
.string "Even BRUNO…\n"
|
||||
.string "He trained with a fellow by the\l"
|
||||
.string "name of BRAWLY before.$"
|
||||
|
||||
Text_18CFFB:: @ 818CFFB
|
||||
.string "Do you know anything about this\n"
|
||||
.string "stone chamber?$"
|
||||
|
||||
Text_18D02A:: @ 818D02A
|
||||
.string "That was uncalled for.\n"
|
||||
.string "You didn't have to be so rough.$"
|
||||
|
||||
Text_18D061:: @ 818D061
|
||||
.string "The TANOBY RUINS date back at\n"
|
||||
.string "least 1,500 years.\p"
|
||||
.string "But it's a baffling mystery as to\n"
|
||||
.string "why it was built in the first place.$"
|
||||
|
||||
Text_18D0D9:: @ 818D0D9
|
||||
.string "A mystic POKéMON is said to sleep\n"
|
||||
.string "inside here.$"
|
||||
|
||||
Text_18D108:: @ 818D108
|
||||
.string "I'm not much good in battle.$"
|
||||
|
||||
Text_18D125:: @ 818D125
|
||||
.string "I hear there are other ruins like\n"
|
||||
.string "the one here.\p"
|
||||
.string "Might they be the resting places\n"
|
||||
.string "of other mystic POKéMON?$"
|
||||
|
||||
Text_18D18F:: @ 818D18F
|
||||
.string "CLIFFORD is teaching me how to\n"
|
||||
.string "paint.$"
|
||||
|
||||
Text_18D1B5:: @ 818D1B5
|
||||
.string "We might get in trouble for being\n"
|
||||
.string "noisy here.$"
|
||||
|
||||
Text_18D1E3:: @ 818D1E3
|
||||
.string "I said that I wanted to paint an\n"
|
||||
.string "old building.\p"
|
||||
.string "So CLIFFORD brought me here.$"
|
||||
|
||||
Text_18D22F:: @ 818D22F
|
||||
.string "Today, in addition to our lesson,\n"
|
||||
.string "we came to see the chamber.$"
|
||||
|
||||
Text_18D26D:: @ 818D26D
|
||||
.string "My, how extraordinary.$"
|
||||
|
||||
Text_18D284:: @ 818D284
|
||||
.string "Ah, so you are studying POKéMON\n"
|
||||
.string "on your own…\p"
|
||||
.string "Yes, you certainly are quite the\n"
|
||||
.string "extraordinary person, indeed.$"
|
||||
|
||||
gUnknown_818D2F0:: @ 818D2F0
|
||||
.string "MOM: …Right.\n"
|
||||
.string "All boys leave home someday.\l"
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "PokemonLeague_AgathasRoom_EventScript_162877",
|
||||
"script": "PokemonLeague_AgathasRoom_EventScript_Agatha",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
|
||||
@@ -7,86 +7,84 @@ PokemonLeague_AgathasRoom_MapScripts:: @ 8162810
|
||||
|
||||
PokemonLeague_AgathasRoom_OnResume:: @ 8162825
|
||||
setvar VAR_0x8004, 2
|
||||
call EventScript_1A75D5
|
||||
call PokemonLeague_EventScript_DoLightingEffect
|
||||
end
|
||||
|
||||
PokemonLeague_AgathasRoom_OnLoad:: @ 8162830
|
||||
call_if_set FLAG_DEFEATED_AGATHA, EventScript_16284B
|
||||
call_if_set FLAG_DEFEATED_AGATHA, PokemonLeague_AgathasRoom_EventScript_SetDoorOpen
|
||||
compare VAR_MAP_SCENE_POKEMON_LEAGUE, 3
|
||||
call_if_eq EventScript_162845
|
||||
call_if_eq PokemonLeague_AgathasRoom_EventScript_CloseEntry
|
||||
end
|
||||
|
||||
EventScript_162845:: @ 8162845
|
||||
call EventScript_1A759C
|
||||
PokemonLeague_AgathasRoom_EventScript_CloseEntry:: @ 8162845
|
||||
call PokemonLeague_EventScript_CloseEntry
|
||||
return
|
||||
|
||||
EventScript_16284B:: @ 816284B
|
||||
call EventScript_1A7538
|
||||
PokemonLeague_AgathasRoom_EventScript_SetDoorOpen:: @ 816284B
|
||||
call PokemonLeague_EventScript_SetDoorOpen
|
||||
return
|
||||
|
||||
PokemonLeague_AgathasRoom_OnWarp:: @ 8162851
|
||||
map_script_2 VAR_TEMP_1, 0, EventScript_16285B
|
||||
map_script_2 VAR_TEMP_1, 0, PokemonLeague_AgathasRoom_EventScript_TurnPlayerNorth
|
||||
.2byte 0
|
||||
|
||||
EventScript_16285B:: @ 816285B
|
||||
PokemonLeague_AgathasRoom_EventScript_TurnPlayerNorth:: @ 816285B
|
||||
turnobject OBJ_EVENT_ID_PLAYER, DIR_NORTH
|
||||
end
|
||||
|
||||
PokemonLeague_AgathasRoom_OnFrame:: @ 8162860
|
||||
map_script_2 VAR_MAP_SCENE_POKEMON_LEAGUE, 2, EventScript_16286A
|
||||
map_script_2 VAR_MAP_SCENE_POKEMON_LEAGUE, 2, PokemonLeague_AgathasRoom_EventScript_EnterRoom
|
||||
.2byte 0
|
||||
|
||||
EventScript_16286A:: @ 816286A
|
||||
PokemonLeague_AgathasRoom_EventScript_EnterRoom:: @ 816286A
|
||||
lockall
|
||||
call EventScript_1A751F
|
||||
call PokemonLeague_EventScript_EnterRoom
|
||||
setvar VAR_MAP_SCENE_POKEMON_LEAGUE, 3
|
||||
releaseall
|
||||
end
|
||||
|
||||
PokemonLeague_AgathasRoom_EventScript_162877:: @ 8162877
|
||||
PokemonLeague_AgathasRoom_EventScript_Agatha:: @ 8162877
|
||||
lock
|
||||
faceplayer
|
||||
famechecker FAMECHECKER_AGATHA, FCPICKSTATE_COLORED, UpdatePickStateFromSpecialVar8005
|
||||
goto_if_set FLAG_DEFEATED_AGATHA, EventScript_162911
|
||||
goto_if_set FLAG_DEFEATED_AGATHA, PokemonLeague_AgathasRoom_EventScript_PostBattle
|
||||
famechecker FAMECHECKER_AGATHA, 0
|
||||
famechecker FAMECHECKER_AGATHA, 4
|
||||
famechecker FAMECHECKER_OAK, 4
|
||||
call_if_unset FLAG_SYS_GAME_CLEAR, EventScript_1628E9
|
||||
call_if_set FLAG_SYS_GAME_CLEAR, EventScript_1628F2
|
||||
call_if_unset FLAG_SYS_GAME_CLEAR, PokemonLeague_AgathasRoom_EventScript_Intro
|
||||
call_if_set FLAG_SYS_GAME_CLEAR, PokemonLeague_AgathasRoom_EventScript_RematchIntro
|
||||
setflag FLAG_TEMP_3
|
||||
setflag FLAG_TEMP_5
|
||||
call_if_unset FLAG_SYS_CAN_LINK_WITH_RS, EventScript_1628FB
|
||||
call_if_set FLAG_SYS_CAN_LINK_WITH_RS, EventScript_162906
|
||||
call_if_unset FLAG_SYS_CAN_LINK_WITH_RS, PokemonLeague_AgathasRoom_EventScript_Battle
|
||||
call_if_set FLAG_SYS_CAN_LINK_WITH_RS, PokemonLeague_AgathasRoom_EventScript_Rematch
|
||||
clearflag FLAG_TEMP_5
|
||||
goto EventScript_16291B
|
||||
|
||||
EventScript_1628E8:: @ 81628E8
|
||||
goto PokemonLeague_AgathasRoom_EventScript_DefeatedAgatha
|
||||
end
|
||||
|
||||
EventScript_1628E9:: @ 81628E9
|
||||
msgbox gUnknown_817844D
|
||||
PokemonLeague_AgathasRoom_EventScript_Intro:: @ 81628E9
|
||||
msgbox PokemonLeague_AgathasRoom_Text_Intro
|
||||
return
|
||||
|
||||
EventScript_1628F2:: @ 81628F2
|
||||
msgbox gUnknown_817858D
|
||||
PokemonLeague_AgathasRoom_EventScript_RematchIntro:: @ 81628F2
|
||||
msgbox PokemonLeague_AgathasRoom_Text_RematchIntro
|
||||
return
|
||||
|
||||
EventScript_1628FB:: @ 81628FB
|
||||
trainerbattle_no_intro TRAINER_ELITE_FOUR_AGATHA, Text_1786D7
|
||||
PokemonLeague_AgathasRoom_EventScript_Battle:: @ 81628FB
|
||||
trainerbattle_no_intro TRAINER_ELITE_FOUR_AGATHA, PokemonLeague_AgathasRoom_Text_Defeat
|
||||
return
|
||||
|
||||
EventScript_162906:: @ 8162906
|
||||
trainerbattle_no_intro TRAINER_ELITE_FOUR_AGATHA_2, Text_1786D7
|
||||
PokemonLeague_AgathasRoom_EventScript_Rematch:: @ 8162906
|
||||
trainerbattle_no_intro TRAINER_ELITE_FOUR_AGATHA_2, PokemonLeague_AgathasRoom_Text_Defeat
|
||||
return
|
||||
|
||||
EventScript_162911:: @ 8162911
|
||||
msgbox gUnknown_8178700
|
||||
PokemonLeague_AgathasRoom_EventScript_PostBattle:: @ 8162911
|
||||
msgbox PokemonLeague_AgathasRoom_Text_PostBattle
|
||||
release
|
||||
end
|
||||
|
||||
EventScript_16291B:: @ 816291B
|
||||
PokemonLeague_AgathasRoom_EventScript_DefeatedAgatha:: @ 816291B
|
||||
setflag FLAG_DEFEATED_AGATHA
|
||||
call EventScript_1A7506
|
||||
msgbox gUnknown_8178700
|
||||
call PokemonLeague_EventScript_OpenDoor
|
||||
msgbox PokemonLeague_AgathasRoom_Text_PostBattle
|
||||
release
|
||||
end
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
gUnknown_817844D:: @ 817844D
|
||||
PokemonLeague_AgathasRoom_Text_Intro:: @ 817844D
|
||||
.string "I am AGATHA of the ELITE FOUR.\p"
|
||||
.string "I hear OAK's taken a lot of\n"
|
||||
.string "interest in you, child.\p"
|
||||
@@ -13,7 +13,7 @@ gUnknown_817844D:: @ 817844D
|
||||
.string "{PLAYER}! I'll show you how a real\n"
|
||||
.string "TRAINER battles!{PLAY_BGM}{MUS_EXEYE}$"
|
||||
|
||||
gUnknown_817858D:: @ 817858D
|
||||
PokemonLeague_AgathasRoom_Text_RematchIntro:: @ 817858D
|
||||
.string "I am AGATHA of the ELITE FOUR.\p"
|
||||
.string "You're the child that OAK's taken\n"
|
||||
.string "under his wing, aren't you?\p"
|
||||
@@ -28,11 +28,11 @@ gUnknown_817858D:: @ 817858D
|
||||
.string "{PLAYER}! I'll show you how a real\n"
|
||||
.string "TRAINER battles!{PLAY_BGM}{MUS_EXEYE}$"
|
||||
|
||||
Text_1786D7:: @ 81786D7
|
||||
PokemonLeague_AgathasRoom_Text_Defeat:: @ 81786D7
|
||||
.string "Oh, my!\n"
|
||||
.string "You're something special, child!$"
|
||||
|
||||
gUnknown_8178700:: @ 8178700
|
||||
PokemonLeague_AgathasRoom_Text_PostBattle:: @ 8178700
|
||||
.string "You win!\p"
|
||||
.string "I see what the old duff sees in\n"
|
||||
.string "you now.\p"
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "PokemonLeague_BrunosRoom_EventScript_1626EC",
|
||||
"script": "PokemonLeague_BrunosRoom_EventScript_Bruno",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
|
||||
@@ -7,118 +7,116 @@ PokemonLeague_BrunosRoom_MapScripts:: @ 8162685
|
||||
|
||||
PokemonLeague_BrunosRoom_OnResume:: @ 816269A
|
||||
setvar VAR_0x8004, 1
|
||||
call EventScript_1A75D5
|
||||
call PokemonLeague_EventScript_DoLightingEffect
|
||||
end
|
||||
|
||||
PokemonLeague_BrunosRoom_OnLoad:: @ 81626A5
|
||||
call_if_set FLAG_DEFEATED_BRUNO, EventScript_1626C0
|
||||
call_if_set FLAG_DEFEATED_BRUNO, PokemonLeague_BrunosRoom_EventScript_SetDoorOpen
|
||||
compare VAR_MAP_SCENE_POKEMON_LEAGUE, 2
|
||||
call_if_eq EventScript_1626BA
|
||||
call_if_eq PokemonLeague_BrunosRoom_EventScript_CloseEntry
|
||||
end
|
||||
|
||||
EventScript_1626BA:: @ 81626BA
|
||||
call EventScript_1A759C
|
||||
PokemonLeague_BrunosRoom_EventScript_CloseEntry:: @ 81626BA
|
||||
call PokemonLeague_EventScript_CloseEntry
|
||||
return
|
||||
|
||||
EventScript_1626C0:: @ 81626C0
|
||||
call EventScript_1A7538
|
||||
PokemonLeague_BrunosRoom_EventScript_SetDoorOpen:: @ 81626C0
|
||||
call PokemonLeague_EventScript_SetDoorOpen
|
||||
return
|
||||
|
||||
PokemonLeague_BrunosRoom_OnWarp:: @ 81626C6
|
||||
map_script_2 VAR_TEMP_1, 0, EventScript_1626D0
|
||||
map_script_2 VAR_TEMP_1, 0, PokemonLeague_BrunosRoom_EventScript_TurnPlayerNorth
|
||||
.2byte 0
|
||||
|
||||
EventScript_1626D0:: @ 81626D0
|
||||
PokemonLeague_BrunosRoom_EventScript_TurnPlayerNorth:: @ 81626D0
|
||||
turnobject OBJ_EVENT_ID_PLAYER, DIR_NORTH
|
||||
end
|
||||
|
||||
PokemonLeague_BrunosRoom_OnFrame:: @ 81626D5
|
||||
map_script_2 VAR_MAP_SCENE_POKEMON_LEAGUE, 1, EventScript_1626DF
|
||||
map_script_2 VAR_MAP_SCENE_POKEMON_LEAGUE, 1, PokemonLeague_BrunosRoom_EventScript_EnterRoom
|
||||
.2byte 0
|
||||
|
||||
EventScript_1626DF:: @ 81626DF
|
||||
PokemonLeague_BrunosRoom_EventScript_EnterRoom:: @ 81626DF
|
||||
lockall
|
||||
call EventScript_1A751F
|
||||
call PokemonLeague_EventScript_EnterRoom
|
||||
setvar VAR_MAP_SCENE_POKEMON_LEAGUE, 2
|
||||
releaseall
|
||||
end
|
||||
|
||||
PokemonLeague_BrunosRoom_EventScript_1626EC:: @ 81626EC
|
||||
PokemonLeague_BrunosRoom_EventScript_Bruno:: @ 81626EC
|
||||
lock
|
||||
faceplayer
|
||||
famechecker FAMECHECKER_BRUNO, FCPICKSTATE_COLORED, UpdatePickStateFromSpecialVar8005
|
||||
goto_if_set FLAG_DEFEATED_BRUNO, EventScript_162779
|
||||
goto_if_set FLAG_DEFEATED_BRUNO, PokemonLeague_BrunosRoom_EventScript_PostBattle
|
||||
famechecker FAMECHECKER_BRUNO, 0
|
||||
famechecker FAMECHECKER_BRUNO, 1
|
||||
call_if_unset FLAG_SYS_GAME_CLEAR, EventScript_162751
|
||||
call_if_set FLAG_SYS_GAME_CLEAR, EventScript_16275A
|
||||
call_if_unset FLAG_SYS_GAME_CLEAR, PokemonLeague_BrunosRoom_EventScript_Intro
|
||||
call_if_set FLAG_SYS_GAME_CLEAR, PokemonLeague_BrunosRoom_EventScript_RematchIntro
|
||||
setflag FLAG_TEMP_3
|
||||
setflag FLAG_TEMP_5
|
||||
call_if_unset FLAG_SYS_CAN_LINK_WITH_RS, EventScript_162763
|
||||
call_if_set FLAG_SYS_CAN_LINK_WITH_RS, EventScript_16276E
|
||||
call_if_unset FLAG_SYS_CAN_LINK_WITH_RS, PokemonLeague_BrunosRoom_EventScript_Battle
|
||||
call_if_set FLAG_SYS_CAN_LINK_WITH_RS, PokemonLeague_BrunosRoom_EventScript_Rematch
|
||||
clearflag FLAG_TEMP_5
|
||||
goto EventScript_1627B0
|
||||
|
||||
EventScript_162750:: @ 8162750
|
||||
goto PokemonLeague_BrunosRoom_EventScript_DefeatedBruno
|
||||
end
|
||||
|
||||
EventScript_162751:: @ 8162751
|
||||
msgbox gUnknown_817820F
|
||||
PokemonLeague_BrunosRoom_EventScript_Intro:: @ 8162751
|
||||
msgbox PokemonLeague_BrunosRoom_Text_Intro
|
||||
return
|
||||
|
||||
EventScript_16275A:: @ 816275A
|
||||
msgbox gUnknown_817830C
|
||||
PokemonLeague_BrunosRoom_EventScript_RematchIntro:: @ 816275A
|
||||
msgbox PokemonLeague_BrunosRoom_Text_RematchIntro
|
||||
return
|
||||
|
||||
EventScript_162763:: @ 8162763
|
||||
trainerbattle_no_intro TRAINER_ELITE_FOUR_BRUNO, Text_178409
|
||||
PokemonLeague_BrunosRoom_EventScript_Battle:: @ 8162763
|
||||
trainerbattle_no_intro TRAINER_ELITE_FOUR_BRUNO, PokemonLeague_BrunosRoom_Text_Defeat
|
||||
return
|
||||
|
||||
EventScript_16276E:: @ 816276E
|
||||
trainerbattle_no_intro TRAINER_ELITE_FOUR_BRUNO_2, Text_178409
|
||||
PokemonLeague_BrunosRoom_EventScript_Rematch:: @ 816276E
|
||||
trainerbattle_no_intro TRAINER_ELITE_FOUR_BRUNO_2, PokemonLeague_BrunosRoom_Text_Defeat
|
||||
return
|
||||
|
||||
EventScript_162779:: @ 8162779
|
||||
msgbox gUnknown_8178420
|
||||
PokemonLeague_BrunosRoom_EventScript_PostBattle:: @ 8162779
|
||||
msgbox PokemonLeague_BrunosRoom_Text_PostBattle
|
||||
closemessage
|
||||
compare VAR_FACING, DIR_NORTH
|
||||
call_if_eq EventScript_1627FA
|
||||
call_if_eq PokemonLeague_BrunosRoom_EventScript_BrunoLookAwayRight
|
||||
compare VAR_FACING, DIR_SOUTH
|
||||
call_if_eq EventScript_1627EF
|
||||
call_if_eq PokemonLeague_BrunosRoom_EventScript_BrunoLookAwayLeft
|
||||
compare VAR_FACING, DIR_WEST
|
||||
call_if_eq EventScript_162805
|
||||
call_if_eq PokemonLeague_BrunosRoom_EventScript_BrunoLookAwayDown
|
||||
compare VAR_FACING, DIR_EAST
|
||||
call_if_eq EventScript_162805
|
||||
call_if_eq PokemonLeague_BrunosRoom_EventScript_BrunoLookAwayDown
|
||||
release
|
||||
end
|
||||
|
||||
EventScript_1627B0:: @ 81627B0
|
||||
PokemonLeague_BrunosRoom_EventScript_DefeatedBruno:: @ 81627B0
|
||||
setflag FLAG_DEFEATED_BRUNO
|
||||
call EventScript_1A7506
|
||||
msgbox gUnknown_8178420
|
||||
call PokemonLeague_EventScript_OpenDoor
|
||||
msgbox PokemonLeague_BrunosRoom_Text_PostBattle
|
||||
closemessage
|
||||
compare VAR_FACING, DIR_NORTH
|
||||
call_if_eq EventScript_1627FA
|
||||
call_if_eq PokemonLeague_BrunosRoom_EventScript_BrunoLookAwayRight
|
||||
compare VAR_FACING, DIR_SOUTH
|
||||
call_if_eq EventScript_1627EF
|
||||
call_if_eq PokemonLeague_BrunosRoom_EventScript_BrunoLookAwayLeft
|
||||
compare VAR_FACING, DIR_WEST
|
||||
call_if_eq EventScript_162805
|
||||
call_if_eq PokemonLeague_BrunosRoom_EventScript_BrunoLookAwayDown
|
||||
compare VAR_FACING, DIR_EAST
|
||||
call_if_eq EventScript_162805
|
||||
call_if_eq PokemonLeague_BrunosRoom_EventScript_BrunoLookAwayDown
|
||||
release
|
||||
end
|
||||
|
||||
EventScript_1627EF:: @ 81627EF
|
||||
PokemonLeague_BrunosRoom_EventScript_BrunoLookAwayLeft:: @ 81627EF
|
||||
applymovement 1, Movement_WalkInPlaceFastestLeft
|
||||
waitmovement 0
|
||||
return
|
||||
|
||||
EventScript_1627FA:: @ 81627FA
|
||||
PokemonLeague_BrunosRoom_EventScript_BrunoLookAwayRight:: @ 81627FA
|
||||
applymovement 1, Movement_WalkInPlaceFastestRight
|
||||
waitmovement 0
|
||||
return
|
||||
|
||||
EventScript_162805:: @ 8162805
|
||||
PokemonLeague_BrunosRoom_EventScript_BrunoLookAwayDown:: @ 8162805
|
||||
applymovement 1, Movement_WalkInPlaceFastestDown
|
||||
waitmovement 0
|
||||
return
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
gUnknown_817820F:: @ 817820F
|
||||
PokemonLeague_BrunosRoom_Text_Intro:: @ 817820F
|
||||
.string "I am BRUNO of the ELITE FOUR!\p"
|
||||
.string "Through rigorous training, people\n"
|
||||
.string "and POKéMON can become stronger\l"
|
||||
@@ -11,7 +11,7 @@ gUnknown_817820F:: @ 817820F
|
||||
.string "superior power!\p"
|
||||
.string "Hoo hah!{PLAY_BGM}{MUS_EXEYE}$"
|
||||
|
||||
gUnknown_817830C:: @ 817830C
|
||||
PokemonLeague_BrunosRoom_Text_RematchIntro:: @ 817830C
|
||||
.string "I am BRUNO of the ELITE FOUR!\p"
|
||||
.string "Through rigorous training, people\n"
|
||||
.string "and POKéMON can become stronger\l"
|
||||
@@ -24,11 +24,11 @@ gUnknown_817830C:: @ 817830C
|
||||
.string "superior power!\p"
|
||||
.string "Hoo hah!{PLAY_BGM}{MUS_EXEYE}$"
|
||||
|
||||
Text_178409:: @ 8178409
|
||||
PokemonLeague_BrunosRoom_Text_Defeat:: @ 8178409
|
||||
.string "Why?\n"
|
||||
.string "How could I lose?$"
|
||||
|
||||
gUnknown_8178420:: @ 8178420
|
||||
PokemonLeague_BrunosRoom_Text_PostBattle:: @ 8178420
|
||||
.string "My job is done.\n"
|
||||
.string "Go face your next challenge.$"
|
||||
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
.equ LOCALID_RIVAL, 1
|
||||
.equ LOCALID_PROF_OAK, 2
|
||||
|
||||
PokemonLeague_ChampionsRoom_MapScripts:: @ 8162AE2
|
||||
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, PokemonLeague_ChampionsRoom_OnWarp
|
||||
map_script MAP_SCRIPT_ON_RESUME, PokemonLeague_ChampionsRoom_OnResume
|
||||
@@ -6,91 +9,91 @@ PokemonLeague_ChampionsRoom_MapScripts:: @ 8162AE2
|
||||
|
||||
PokemonLeague_ChampionsRoom_OnResume:: @ 8162AF2
|
||||
setvar VAR_0x8004, 4
|
||||
call EventScript_1A75D5
|
||||
call PokemonLeague_EventScript_DoLightingEffect
|
||||
compare VAR_STARTER_MON, 2
|
||||
call_if_eq EventScript_162B1E
|
||||
call_if_eq PokemonLeague_ChampionsRoom_EventScript_CheckStopTriggerSquirtle
|
||||
compare VAR_STARTER_MON, 1
|
||||
call_if_eq EventScript_162B31
|
||||
call_if_eq PokemonLeague_ChampionsRoom_EventScript_CheckStopTriggerBulbasaur
|
||||
compare VAR_STARTER_MON, 0
|
||||
call_if_eq EventScript_162B44
|
||||
call_if_eq PokemonLeague_ChampionsRoom_EventScript_CheckStopTriggerCharmander
|
||||
end
|
||||
|
||||
EventScript_162B1E:: @ 8162B1E
|
||||
goto_if_defeated TRAINER_CHAMPION_FIRST_SQUIRTLE, EventScript_162B57
|
||||
goto_if_defeated TRAINER_CHAMPION_REMATCH_SQUIRTLE, EventScript_162B57
|
||||
PokemonLeague_ChampionsRoom_EventScript_CheckStopTriggerSquirtle:: @ 8162B1E
|
||||
goto_if_defeated TRAINER_CHAMPION_FIRST_SQUIRTLE, PokemonLeague_ChampionsRoom_EventScript_StopSceneTrigger
|
||||
goto_if_defeated TRAINER_CHAMPION_REMATCH_SQUIRTLE, PokemonLeague_ChampionsRoom_EventScript_StopSceneTrigger
|
||||
return
|
||||
|
||||
EventScript_162B31:: @ 8162B31
|
||||
goto_if_defeated TRAINER_CHAMPION_FIRST_BULBASAUR, EventScript_162B57
|
||||
goto_if_defeated TRAINER_CHAMPION_REMATCH_BULBASAUR, EventScript_162B57
|
||||
PokemonLeague_ChampionsRoom_EventScript_CheckStopTriggerBulbasaur:: @ 8162B31
|
||||
goto_if_defeated TRAINER_CHAMPION_FIRST_BULBASAUR, PokemonLeague_ChampionsRoom_EventScript_StopSceneTrigger
|
||||
goto_if_defeated TRAINER_CHAMPION_REMATCH_BULBASAUR, PokemonLeague_ChampionsRoom_EventScript_StopSceneTrigger
|
||||
return
|
||||
|
||||
EventScript_162B44:: @ 8162B44
|
||||
goto_if_defeated TRAINER_CHAMPION_FIRST_CHARMANDER, EventScript_162B57
|
||||
goto_if_defeated TRAINER_CHAMPION_REMATCH_CHARMANDER, EventScript_162B57
|
||||
PokemonLeague_ChampionsRoom_EventScript_CheckStopTriggerCharmander:: @ 8162B44
|
||||
goto_if_defeated TRAINER_CHAMPION_FIRST_CHARMANDER, PokemonLeague_ChampionsRoom_EventScript_StopSceneTrigger
|
||||
goto_if_defeated TRAINER_CHAMPION_REMATCH_CHARMANDER, PokemonLeague_ChampionsRoom_EventScript_StopSceneTrigger
|
||||
return
|
||||
|
||||
EventScript_162B57:: @ 8162B57
|
||||
PokemonLeague_ChampionsRoom_EventScript_StopSceneTrigger:: @ 8162B57
|
||||
setvar VAR_TEMP_1, 1
|
||||
return
|
||||
|
||||
PokemonLeague_ChampionsRoom_OnWarp:: @ 8162B5D
|
||||
map_script_2 VAR_TEMP_1, 0, EventScript_162B67
|
||||
map_script_2 VAR_TEMP_1, 0, PokemonLeague_ChampionsRoom_EventScript_TurnPlayerNorth
|
||||
.2byte 0
|
||||
|
||||
EventScript_162B67:: @ 8162B67
|
||||
PokemonLeague_ChampionsRoom_EventScript_TurnPlayerNorth:: @ 8162B67
|
||||
turnobject OBJ_EVENT_ID_PLAYER, DIR_NORTH
|
||||
end
|
||||
|
||||
PokemonLeague_ChampionsRoom_OnFrame:: @ 8162B6C
|
||||
map_script_2 VAR_TEMP_1, 0, EventScript_162B76
|
||||
map_script_2 VAR_TEMP_1, 0, PokemonLeague_ChampionsRoom_EventScript_EnterRoom
|
||||
.2byte 0
|
||||
|
||||
EventScript_162B76:: @ 8162B76
|
||||
PokemonLeague_ChampionsRoom_EventScript_EnterRoom:: @ 8162B76
|
||||
lockall
|
||||
textcolor 0
|
||||
setflag FLAG_TEMP_2
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Movement_162D07
|
||||
applymovement OBJ_EVENT_ID_PLAYER, PokemonLeague_ChampionsRoom_Movement_PlayerEnter
|
||||
waitmovement 0
|
||||
delay 20
|
||||
call_if_unset FLAG_SYS_GAME_CLEAR, EventScript_162CB3
|
||||
call_if_set FLAG_SYS_GAME_CLEAR, EventScript_162CBC
|
||||
goto_if_questlog EventScript_162C68
|
||||
call_if_unset FLAG_SYS_GAME_CLEAR, PokemonLeague_ChampionsRoom_EventScript_Intro
|
||||
call_if_set FLAG_SYS_GAME_CLEAR, PokemonLeague_ChampionsRoom_EventScript_RematchIntro
|
||||
goto_if_questlog PokemonLeague_ChampionsRoom_EventScript_QuestLogEnd
|
||||
setflag FLAG_TEMP_3
|
||||
setflag FLAG_TEMP_5
|
||||
savebgm MUS_WIN_GYM
|
||||
call_if_unset FLAG_SYS_CAN_LINK_WITH_RS, EventScript_162C6F
|
||||
call_if_set FLAG_SYS_CAN_LINK_WITH_RS, EventScript_162C91
|
||||
call_if_unset FLAG_SYS_CAN_LINK_WITH_RS, PokemonLeague_ChampionsRoom_EventScript_Battle
|
||||
call_if_set FLAG_SYS_CAN_LINK_WITH_RS, PokemonLeague_ChampionsRoom_EventScript_Rematch
|
||||
setflag FLAG_TEMP_4
|
||||
clearflag FLAG_TEMP_5
|
||||
setflag FLAG_DEFEATED_CHAMP
|
||||
setflag FLAG_TEMP_4
|
||||
msgbox gUnknown_8178F2F
|
||||
msgbox PokemonLeague_ChampionsRoom_Text_PostBattle
|
||||
playbgm MUS_SLOWMASARA, 0
|
||||
addobject 2
|
||||
msgbox gUnknown_8178FC6
|
||||
addobject LOCALID_PROF_OAK
|
||||
msgbox PokemonLeague_ChampionsRoom_Text_OakPlayer
|
||||
closemessage
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Movement_162D1F
|
||||
applymovement 1, Movement_162D41
|
||||
applymovement 2, Movement_162D2A
|
||||
applymovement OBJ_EVENT_ID_PLAYER, PokemonLeague_ChampionsRoom_Movement_PlayerWatchOakEnter
|
||||
applymovement LOCALID_RIVAL, PokemonLeague_ChampionsRoom_Movement_RivalWatchOakEnter
|
||||
applymovement LOCALID_PROF_OAK, PokemonLeague_ChampionsRoom_Movement_OakEnter
|
||||
waitmovement 0
|
||||
delay 25
|
||||
specialvar VAR_RESULT, ScrSpecial_GetStarter
|
||||
getspeciesname 0, VAR_RESULT
|
||||
msgbox gUnknown_8178FCF
|
||||
applymovement 2, Movement_WalkInPlaceFastestRight
|
||||
applymovement 1, Movement_WalkInPlaceFastestLeft
|
||||
msgbox PokemonLeague_ChampionsRoom_Text_OakCongratulations
|
||||
applymovement LOCALID_PROF_OAK, Movement_WalkInPlaceFastestRight
|
||||
applymovement LOCALID_RIVAL, Movement_WalkInPlaceFastestLeft
|
||||
waitmovement 0
|
||||
msgbox gUnknown_817908F
|
||||
msgbox PokemonLeague_ChampionsRoom_Text_OakImDisappointedRival
|
||||
closemessage
|
||||
applymovement 2, Movement_WalkInPlaceFastestDown
|
||||
applymovement LOCALID_PROF_OAK, Movement_WalkInPlaceFastestDown
|
||||
waitmovement 0
|
||||
delay 20
|
||||
msgbox gUnknown_81791A3
|
||||
msgbox PokemonLeague_ChampionsRoom_Text_OakPlayerComeWithMe
|
||||
closemessage
|
||||
delay 13
|
||||
applymovement 2, Movement_162D37
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Movement_162D12
|
||||
applymovement LOCALID_PROF_OAK, PokemonLeague_ChampionsRoom_Movement_OakExit
|
||||
applymovement OBJ_EVENT_ID_PLAYER, PokemonLeague_ChampionsRoom_Movement_PlayerExit
|
||||
waitmovement 0
|
||||
setvar VAR_TEMP_1, 1
|
||||
warp MAP_POKEMON_LEAGUE_HALL_OF_FAME, 255, 5, 12
|
||||
@@ -98,62 +101,62 @@ EventScript_162B76:: @ 8162B76
|
||||
releaseall
|
||||
end
|
||||
|
||||
EventScript_162C68:: @ 8162C68
|
||||
call EventScript_162B57
|
||||
PokemonLeague_ChampionsRoom_EventScript_QuestLogEnd:: @ 8162C68
|
||||
call PokemonLeague_ChampionsRoom_EventScript_StopSceneTrigger
|
||||
releaseall
|
||||
end
|
||||
|
||||
EventScript_162C6F:: @ 8162C6F
|
||||
PokemonLeague_ChampionsRoom_EventScript_Battle:: @ 8162C6F
|
||||
compare VAR_STARTER_MON, 2
|
||||
call_if_eq EventScript_162CC5
|
||||
call_if_eq PokemonLeague_ChampionsRoom_EventScript_BattleSquirtle
|
||||
compare VAR_STARTER_MON, 1
|
||||
call_if_eq EventScript_162CD0
|
||||
call_if_eq PokemonLeague_ChampionsRoom_EventScript_BattleBulbasaur
|
||||
compare VAR_STARTER_MON, 0
|
||||
call_if_eq EventScript_162CDB
|
||||
call_if_eq PokemonLeague_ChampionsRoom_EventScript_BattleCharmander
|
||||
return
|
||||
|
||||
EventScript_162C91:: @ 8162C91
|
||||
PokemonLeague_ChampionsRoom_EventScript_Rematch:: @ 8162C91
|
||||
compare VAR_STARTER_MON, 2
|
||||
call_if_eq EventScript_162CE6
|
||||
call_if_eq PokemonLeague_ChampionsRoom_EventScript_RematchSquirtle
|
||||
compare VAR_STARTER_MON, 1
|
||||
call_if_eq EventScript_162CF1
|
||||
call_if_eq PokemonLeague_ChampionsRoom_EventScript_RematchBulbasaur
|
||||
compare VAR_STARTER_MON, 0
|
||||
call_if_eq EventScript_162CFC
|
||||
call_if_eq PokemonLeague_ChampionsRoom_EventScript_RematchCharmander
|
||||
return
|
||||
|
||||
EventScript_162CB3:: @ 8162CB3
|
||||
msgbox gUnknown_8178B6C
|
||||
PokemonLeague_ChampionsRoom_EventScript_Intro:: @ 8162CB3
|
||||
msgbox PokemonLeague_ChampionsRoom_Text_Intro
|
||||
return
|
||||
|
||||
EventScript_162CBC:: @ 8162CBC
|
||||
msgbox gUnknown_8178CD4
|
||||
PokemonLeague_ChampionsRoom_EventScript_RematchIntro:: @ 8162CBC
|
||||
msgbox PokemonLeague_ChampionsRoom_Text_RematchIntro
|
||||
return
|
||||
|
||||
EventScript_162CC5:: @ 8162CC5
|
||||
trainerbattle_no_intro TRAINER_CHAMPION_FIRST_SQUIRTLE, Text_178E3F
|
||||
PokemonLeague_ChampionsRoom_EventScript_BattleSquirtle:: @ 8162CC5
|
||||
trainerbattle_no_intro TRAINER_CHAMPION_FIRST_SQUIRTLE, PokemonLeague_ChampionsRoom_Text_Defeat
|
||||
return
|
||||
|
||||
EventScript_162CD0:: @ 8162CD0
|
||||
trainerbattle_no_intro TRAINER_CHAMPION_FIRST_BULBASAUR, Text_178E3F
|
||||
PokemonLeague_ChampionsRoom_EventScript_BattleBulbasaur:: @ 8162CD0
|
||||
trainerbattle_no_intro TRAINER_CHAMPION_FIRST_BULBASAUR, PokemonLeague_ChampionsRoom_Text_Defeat
|
||||
return
|
||||
|
||||
EventScript_162CDB:: @ 8162CDB
|
||||
trainerbattle_no_intro TRAINER_CHAMPION_FIRST_CHARMANDER, Text_178E3F
|
||||
PokemonLeague_ChampionsRoom_EventScript_BattleCharmander:: @ 8162CDB
|
||||
trainerbattle_no_intro TRAINER_CHAMPION_FIRST_CHARMANDER, PokemonLeague_ChampionsRoom_Text_Defeat
|
||||
return
|
||||
|
||||
EventScript_162CE6:: @ 8162CE6
|
||||
trainerbattle_no_intro TRAINER_CHAMPION_REMATCH_SQUIRTLE, Text_178E3F
|
||||
PokemonLeague_ChampionsRoom_EventScript_RematchSquirtle:: @ 8162CE6
|
||||
trainerbattle_no_intro TRAINER_CHAMPION_REMATCH_SQUIRTLE, PokemonLeague_ChampionsRoom_Text_Defeat
|
||||
return
|
||||
|
||||
EventScript_162CF1:: @ 8162CF1
|
||||
trainerbattle_no_intro TRAINER_CHAMPION_REMATCH_BULBASAUR, Text_178E3F
|
||||
PokemonLeague_ChampionsRoom_EventScript_RematchBulbasaur:: @ 8162CF1
|
||||
trainerbattle_no_intro TRAINER_CHAMPION_REMATCH_BULBASAUR, PokemonLeague_ChampionsRoom_Text_Defeat
|
||||
return
|
||||
|
||||
EventScript_162CFC:: @ 8162CFC
|
||||
trainerbattle_no_intro TRAINER_CHAMPION_REMATCH_CHARMANDER, Text_178E3F
|
||||
PokemonLeague_ChampionsRoom_EventScript_RematchCharmander:: @ 8162CFC
|
||||
trainerbattle_no_intro TRAINER_CHAMPION_REMATCH_CHARMANDER, PokemonLeague_ChampionsRoom_Text_Defeat
|
||||
return
|
||||
|
||||
Movement_162D07:: @ 8162D07
|
||||
PokemonLeague_ChampionsRoom_Movement_PlayerEnter:: @ 8162D07
|
||||
walk_up
|
||||
walk_up
|
||||
walk_up
|
||||
@@ -166,7 +169,7 @@ Movement_162D07:: @ 8162D07
|
||||
walk_up
|
||||
step_end
|
||||
|
||||
Movement_162D12:: @ 8162D12
|
||||
PokemonLeague_ChampionsRoom_Movement_PlayerExit:: @ 8162D12
|
||||
delay_16
|
||||
walk_left
|
||||
walk_up
|
||||
@@ -181,7 +184,7 @@ Movement_162D12:: @ 8162D12
|
||||
set_invisible
|
||||
step_end
|
||||
|
||||
Movement_162D1F:: @ 8162D1F
|
||||
PokemonLeague_ChampionsRoom_Movement_PlayerWatchOakEnter:: @ 8162D1F
|
||||
delay_8
|
||||
walk_in_place_fastest_down
|
||||
delay_16
|
||||
@@ -194,7 +197,7 @@ Movement_162D1F:: @ 8162D1F
|
||||
walk_in_place_fastest_left
|
||||
step_end
|
||||
|
||||
Movement_162D2A:: @ 8162D2A
|
||||
PokemonLeague_ChampionsRoom_Movement_OakEnter:: @ 8162D2A
|
||||
delay_16
|
||||
delay_16
|
||||
walk_up
|
||||
@@ -209,7 +212,7 @@ Movement_162D2A:: @ 8162D2A
|
||||
delay_16
|
||||
step_end
|
||||
|
||||
Movement_162D37:: @ 8162D37
|
||||
PokemonLeague_ChampionsRoom_Movement_OakExit:: @ 8162D37
|
||||
walk_up
|
||||
walk_up
|
||||
walk_right
|
||||
@@ -221,7 +224,7 @@ Movement_162D37:: @ 8162D37
|
||||
set_invisible
|
||||
step_end
|
||||
|
||||
Movement_162D41:: @ 8162D41
|
||||
PokemonLeague_ChampionsRoom_Movement_RivalWatchOakEnter:: @ 8162D41
|
||||
delay_16
|
||||
delay_16
|
||||
delay_16
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
gUnknown_8178B6C:: @ 8178B6C
|
||||
PokemonLeague_ChampionsRoom_Text_Intro:: @ 8178B6C
|
||||
.string "{RIVAL}: Hey, {PLAYER}!\p"
|
||||
.string "I was looking forward to seeing\n"
|
||||
.string "you, {PLAYER}.\p"
|
||||
@@ -16,7 +16,7 @@ gUnknown_8178B6C:: @ 8178B6C
|
||||
.string "I am the most powerful TRAINER in\n"
|
||||
.string "the world!$"
|
||||
|
||||
gUnknown_8178CD4:: @ 8178CD4
|
||||
PokemonLeague_ChampionsRoom_Text_RematchIntro:: @ 8178CD4
|
||||
.string "{RIVAL}: Hey, {PLAYER}!\p"
|
||||
.string "You came back, {PLAYER}!\n"
|
||||
.string "Hahah, that is so great!\p"
|
||||
@@ -34,7 +34,7 @@ gUnknown_8178CD4:: @ 8178CD4
|
||||
.string "I am the most powerful TRAINER in\n"
|
||||
.string "the world!$"
|
||||
|
||||
Text_178E3F:: @ 8178E3F
|
||||
PokemonLeague_ChampionsRoom_Text_Defeat:: @ 8178E3F
|
||||
.string "NO!\n"
|
||||
.string "That can't be!\l"
|
||||
.string "You beat me at my best!\p"
|
||||
@@ -43,7 +43,7 @@ Text_178E3F:: @ 8178E3F
|
||||
.string "My reign is over already?\n"
|
||||
.string "It's not fair!$"
|
||||
|
||||
Text_178EC3:: @ 8178EC3
|
||||
PokemonLeague_ChampionsRoom_Text_Victory:: @ 8178EC3
|
||||
.string "はーはッ!\n"
|
||||
.string "かった! かった! かった!\p"
|
||||
.string "{PLAYER}に まける ような\n"
|
||||
@@ -54,7 +54,7 @@ Text_178EC3:: @ 8178EC3
|
||||
.string "ほめて つかわす!\n"
|
||||
.string "はーッ! はーはッはッ!$"
|
||||
|
||||
gUnknown_8178F2F:: @ 8178F2F
|
||||
PokemonLeague_ChampionsRoom_Text_PostBattle:: @ 8178F2F
|
||||
.string "Why?\n"
|
||||
.string "Why did I lose?\p"
|
||||
.string "I never made any mistakes raising\n"
|
||||
@@ -63,10 +63,10 @@ gUnknown_8178F2F:: @ 8178F2F
|
||||
.string "LEAGUE CHAMPION!\p"
|
||||
.string "Although I don't like to admit it…$"
|
||||
|
||||
gUnknown_8178FC6:: @ 8178FC6
|
||||
PokemonLeague_ChampionsRoom_Text_OakPlayer:: @ 8178FC6
|
||||
.string "OAK: {PLAYER}!$"
|
||||
|
||||
gUnknown_8178FCF:: @ 8178FCF
|
||||
PokemonLeague_ChampionsRoom_Text_OakCongratulations:: @ 8178FCF
|
||||
.string "OAK: So, you've won!\n"
|
||||
.string "Sincerely, congratulations!\p"
|
||||
.string "You're the new POKéMON LEAGUE\n"
|
||||
@@ -76,7 +76,7 @@ gUnknown_8178FCF:: @ 8178FCF
|
||||
.string "on the POKéDEX.\p"
|
||||
.string "{PLAYER}, you have come of age!$"
|
||||
|
||||
gUnknown_817908F:: @ 817908F
|
||||
PokemonLeague_ChampionsRoom_Text_OakImDisappointedRival:: @ 817908F
|
||||
.string "OAK: {RIVAL}…\n"
|
||||
.string "I'm disappointed in you.\p"
|
||||
.string "I came when I heard you'd beaten\n"
|
||||
@@ -90,7 +90,7 @@ gUnknown_817908F:: @ 817908F
|
||||
.string "Without them, you will never\n"
|
||||
.string "become a CHAMP again!$"
|
||||
|
||||
gUnknown_81791A3:: @ 81791A3
|
||||
PokemonLeague_ChampionsRoom_Text_OakPlayerComeWithMe:: @ 81791A3
|
||||
.string "OAK: {PLAYER}.\p"
|
||||
.string "You understand that your victory\n"
|
||||
.string "was not just your own doing.\p"
|
||||
|
||||
@@ -12,26 +12,26 @@ EventScript_162D61:: @ 8162D61
|
||||
end
|
||||
|
||||
PokemonLeague_HallOfFame_OnFrame:: @ 8162D66
|
||||
map_script_2 VAR_TEMP_1, 0, EventScript_162D70
|
||||
map_script_2 VAR_TEMP_1, 0, PokemonLeague_HallOfFame_EventScript_EnterRoom
|
||||
.2byte 0
|
||||
|
||||
EventScript_162D70:: @ 8162D70
|
||||
PokemonLeague_HallOfFame_EventScript_EnterRoom:: @ 8162D70
|
||||
lockall
|
||||
textcolor 0
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Movement_162DCD
|
||||
applymovement OBJ_EVENT_ID_PLAYER, PokemonLeague_HallOfFame_Movement_EnterRoom
|
||||
waitmovement 0
|
||||
applymovement 1, Movement_WalkInPlaceFastestLeft
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Movement_WalkInPlaceFastestRight
|
||||
waitmovement 0
|
||||
delay 18
|
||||
msgbox gUnknown_817922F
|
||||
msgbox PokemonLeague_HallOfFame_Text_OakCongratulations
|
||||
closemessage
|
||||
applymovement 1, Movement_WalkInPlaceFastestUp
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Movement_WalkInPlaceFastestUp
|
||||
waitmovement 0
|
||||
delay 20
|
||||
dofieldeffect 62
|
||||
waitfieldeffect 62
|
||||
dofieldeffect FLDEFF_HALL_OF_FAME_RECORD
|
||||
waitfieldeffect FLDEFF_HALL_OF_FAME_RECORD
|
||||
delay 40
|
||||
setvar VAR_TEMP_1, 1
|
||||
call EventScript_1A651A
|
||||
@@ -42,7 +42,7 @@ EventScript_162D70:: @ 8162D70
|
||||
releaseall
|
||||
end
|
||||
|
||||
Movement_162DCD:: @ 8162DCD
|
||||
PokemonLeague_HallOfFame_Movement_EnterRoom:: @ 8162DCD
|
||||
walk_up
|
||||
walk_up
|
||||
walk_up
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
gUnknown_817922F:: @ 817922F
|
||||
PokemonLeague_HallOfFame_Text_OakCongratulations:: @ 817922F
|
||||
.string "OAK: Er-hem!\n"
|
||||
.string "Congratulations, {PLAYER}!\p"
|
||||
.string "This floor is the POKéMON HALL OF\n"
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "PokemonLeague_LancesRoom_EventScript_162A14",
|
||||
"script": "PokemonLeague_LancesRoom_EventScript_Lance",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
|
||||
@@ -7,41 +7,41 @@ PokemonLeague_LancesRoom_MapScripts:: @ 816292D
|
||||
|
||||
PokemonLeague_LancesRoom_OnResume:: @ 8162942
|
||||
setvar VAR_0x8004, 3
|
||||
call EventScript_1A75D5
|
||||
call PokemonLeague_EventScript_DoLightingEffect
|
||||
end
|
||||
|
||||
PokemonLeague_LancesRoom_OnLoad:: @ 816294D
|
||||
compare VAR_MAP_SCENE_POKEMON_LEAGUE, 4
|
||||
call_if_eq EventScript_162962
|
||||
call_if_set FLAG_DEFEATED_LANCE, EventScript_162968
|
||||
call_if_eq PokemonLeague_LancesRoom_EventScript_CloseEntry
|
||||
call_if_set FLAG_DEFEATED_LANCE, PokemonLeague_LancesRoom_EventScript_SetDoorOpen
|
||||
end
|
||||
|
||||
EventScript_162962:: @ 8162962
|
||||
call EventScript_1629A8
|
||||
PokemonLeague_LancesRoom_EventScript_CloseEntry:: @ 8162962
|
||||
call PokemonLeague_LancesRoom_EventScript_SetEntryClosed
|
||||
return
|
||||
|
||||
EventScript_162968:: @ 8162968
|
||||
call EventScript_1A7589
|
||||
PokemonLeague_LancesRoom_EventScript_SetDoorOpen:: @ 8162968
|
||||
call PokemonLeague_EventScript_SetDoorOpenLance
|
||||
return
|
||||
|
||||
PokemonLeague_LancesRoom_OnWarp:: @ 816296E
|
||||
map_script_2 VAR_TEMP_1, 0, EventScript_162978
|
||||
map_script_2 VAR_TEMP_1, 0, PokemonLeague_LancesRoom_EventScript_TurnPlayerNorth
|
||||
.2byte 0
|
||||
|
||||
EventScript_162978:: @ 8162978
|
||||
PokemonLeague_LancesRoom_EventScript_TurnPlayerNorth:: @ 8162978
|
||||
turnobject OBJ_EVENT_ID_PLAYER, DIR_NORTH
|
||||
end
|
||||
|
||||
PokemonLeague_LancesRoom_OnFrame:: @ 816297D
|
||||
map_script_2 VAR_MAP_SCENE_POKEMON_LEAGUE, 3, EventScript_162987
|
||||
map_script_2 VAR_MAP_SCENE_POKEMON_LEAGUE, 3, PokemonLeague_LancesRoom_EventScript_EnterRoom
|
||||
.2byte 0
|
||||
|
||||
EventScript_162987:: @ 8162987
|
||||
PokemonLeague_LancesRoom_EventScript_EnterRoom:: @ 8162987
|
||||
lockall
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Movement_1629F1
|
||||
applymovement OBJ_EVENT_ID_PLAYER, PokemonLeague_LancesRoom_Movement_WalkThroughCorridor
|
||||
waitmovement 0
|
||||
setflag FLAG_TEMP_2
|
||||
call EventScript_1629A8
|
||||
call PokemonLeague_LancesRoom_EventScript_SetEntryClosed
|
||||
playse SE_KI_GASYAN
|
||||
special DrawWholeMapView
|
||||
waitse
|
||||
@@ -49,18 +49,18 @@ EventScript_162987:: @ 8162987
|
||||
releaseall
|
||||
end
|
||||
|
||||
EventScript_1629A8:: @ 81629A8
|
||||
setmetatile 5, 14, 669, 1
|
||||
setmetatile 6, 14, 670, 1
|
||||
setmetatile 7, 14, 671, 1
|
||||
setmetatile 5, 15, 677, 1
|
||||
setmetatile 6, 15, 678, 1
|
||||
setmetatile 7, 15, 679, 1
|
||||
setmetatile 6, 16, 785, 0
|
||||
setmetatile 7, 16, 785, 0
|
||||
PokemonLeague_LancesRoom_EventScript_SetEntryClosed:: @ 81629A8
|
||||
setmetatile 5, 14, METATILE_PokemonLeague_Entry_TopLeft_Closed, 1
|
||||
setmetatile 6, 14, METATILE_PokemonLeague_Entry_TopMid_Closed, 1
|
||||
setmetatile 7, 14, METATILE_PokemonLeague_Entry_TopRight_Closed, 1
|
||||
setmetatile 5, 15, METATILE_PokemonLeague_Entry_BottomLeft_Closed, 1
|
||||
setmetatile 6, 15, METATILE_PokemonLeague_Entry_BottomMid_Closed, 1
|
||||
setmetatile 7, 15, METATILE_PokemonLeague_Entry_BottomRight_Closed, 1
|
||||
setmetatile 6, 16, METATILE_PokemonLeague_Floor_ShadeFull_Lance, 0
|
||||
setmetatile 7, 16, METATILE_PokemonLeague_Floor_ShadeFull_Lance, 0
|
||||
return
|
||||
|
||||
Movement_1629F1:: @ 81629F1
|
||||
PokemonLeague_LancesRoom_Movement_WalkThroughCorridor:: @ 81629F1
|
||||
walk_up
|
||||
walk_up
|
||||
walk_left
|
||||
@@ -97,72 +97,70 @@ Movement_1629F1:: @ 81629F1
|
||||
walk_up
|
||||
step_end
|
||||
|
||||
PokemonLeague_LancesRoom_EventScript_162A14:: @ 8162A14
|
||||
PokemonLeague_LancesRoom_EventScript_Lance:: @ 8162A14
|
||||
lock
|
||||
faceplayer
|
||||
famechecker FAMECHECKER_LANCE, FCPICKSTATE_COLORED, UpdatePickStateFromSpecialVar8005
|
||||
goto_if_set FLAG_DEFEATED_LANCE, EventScript_162AA1
|
||||
goto_if_set FLAG_DEFEATED_LANCE, PokemonLeague_LancesRoom_EventScript_PostBattle
|
||||
famechecker FAMECHECKER_LANCE, 0
|
||||
famechecker FAMECHECKER_LANCE, 1
|
||||
call_if_unset FLAG_SYS_GAME_CLEAR, EventScript_162A79
|
||||
call_if_set FLAG_SYS_GAME_CLEAR, EventScript_162A82
|
||||
call_if_unset FLAG_SYS_GAME_CLEAR, PokemonLeague_LancesRoom_EventScript_Intro
|
||||
call_if_set FLAG_SYS_GAME_CLEAR, PokemonLeague_LancesRoom_EventScript_RematchIntro
|
||||
setflag FLAG_TEMP_3
|
||||
setflag FLAG_TEMP_5
|
||||
call_if_unset FLAG_SYS_CAN_LINK_WITH_RS, EventScript_162A8B
|
||||
call_if_set FLAG_SYS_CAN_LINK_WITH_RS, EventScript_162A96
|
||||
call_if_unset FLAG_SYS_CAN_LINK_WITH_RS, PokemonLeague_LancesRoom_EventScript_Battle
|
||||
call_if_set FLAG_SYS_CAN_LINK_WITH_RS, PokemonLeague_LancesRoom_EventScript_Rematch
|
||||
clearflag FLAG_TEMP_5
|
||||
goto EventScript_162AAB
|
||||
|
||||
EventScript_162A78:: @ 8162A78
|
||||
goto PokemonLeague_LancesRoom_EventScript_DefeatedLance
|
||||
end
|
||||
|
||||
EventScript_162A79:: @ 8162A79
|
||||
msgbox gUnknown_8178764
|
||||
PokemonLeague_LancesRoom_EventScript_Intro:: @ 8162A79
|
||||
msgbox PokemonLeague_LancesRoom_Text_Intro
|
||||
return
|
||||
|
||||
EventScript_162A82:: @ 8162A82
|
||||
msgbox gUnknown_81788BD
|
||||
PokemonLeague_LancesRoom_EventScript_RematchIntro:: @ 8162A82
|
||||
msgbox PokemonLeague_LancesRoom_Text_RematchIntro
|
||||
return
|
||||
|
||||
EventScript_162A8B:: @ 8162A8B
|
||||
trainerbattle_no_intro TRAINER_ELITE_FOUR_LANCE, Text_178A15
|
||||
PokemonLeague_LancesRoom_EventScript_Battle:: @ 8162A8B
|
||||
trainerbattle_no_intro TRAINER_ELITE_FOUR_LANCE, PokemonLeague_LancesRoom_Text_Defeat
|
||||
return
|
||||
|
||||
EventScript_162A96:: @ 8162A96
|
||||
trainerbattle_no_intro TRAINER_ELITE_FOUR_LANCE_2, Text_178A15
|
||||
PokemonLeague_LancesRoom_EventScript_Rematch:: @ 8162A96
|
||||
trainerbattle_no_intro TRAINER_ELITE_FOUR_LANCE_2, PokemonLeague_LancesRoom_Text_Defeat
|
||||
return
|
||||
|
||||
EventScript_162AA1:: @ 8162AA1
|
||||
msgbox gUnknown_8178A52
|
||||
PokemonLeague_LancesRoom_EventScript_PostBattle:: @ 8162AA1
|
||||
msgbox PokemonLeague_LancesRoom_Text_PostBattle
|
||||
release
|
||||
end
|
||||
|
||||
EventScript_162AAB:: @ 8162AAB
|
||||
PokemonLeague_LancesRoom_EventScript_DefeatedLance:: @ 8162AAB
|
||||
setvar VAR_0x8004, 0
|
||||
special Special_TryGainNewFanFromCounter
|
||||
setflag FLAG_DEFEATED_LANCE
|
||||
call EventScript_1A7563
|
||||
msgbox gUnknown_8178A52
|
||||
call PokemonLeague_EventScript_OpenDoorLance
|
||||
msgbox PokemonLeague_LancesRoom_Text_PostBattle
|
||||
closemessage
|
||||
release
|
||||
end
|
||||
|
||||
EventScript_162AC6:: @ 8162AC6
|
||||
applymovement 1, Movement_162ADC
|
||||
PokemonLeague_LancesRoom_EventScript_LanceMoveOutOfWayLeft:: @ 8162AC6
|
||||
applymovement 1, PokemonLeague_LancesRoom_Movement_LanceMoveOutOfWayLeft
|
||||
waitmovement 0
|
||||
return
|
||||
|
||||
EventScript_162AD1:: @ 8162AD1
|
||||
applymovement 1, Movement_162ADF
|
||||
PokemonLeague_LancesRoom_EventScript_LanceMoveOutOfWayRight:: @ 8162AD1
|
||||
applymovement 1, PokemonLeague_LancesRoom_Movement_LanceMoveOutOfWayRight
|
||||
waitmovement 0
|
||||
return
|
||||
|
||||
Movement_162ADC:: @ 8162ADC
|
||||
PokemonLeague_LancesRoom_Movement_LanceMoveOutOfWayLeft:: @ 8162ADC
|
||||
walk_left
|
||||
walk_in_place_fastest_right
|
||||
step_end
|
||||
|
||||
Movement_162ADF:: @ 8162ADF
|
||||
PokemonLeague_LancesRoom_Movement_LanceMoveOutOfWayRight:: @ 8162ADF
|
||||
walk_right
|
||||
walk_in_place_fastest_left
|
||||
step_end
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
gUnknown_8178764:: @ 8178764
|
||||
PokemonLeague_LancesRoom_Text_Intro:: @ 8178764
|
||||
.string "Ah! I've heard about you,\n"
|
||||
.string "{PLAYER}!\p"
|
||||
.string "I lead the ELITE FOUR.\p"
|
||||
@@ -14,7 +14,7 @@ gUnknown_8178764:: @ 8178764
|
||||
.string "Your LEAGUE challenge ends with\n"
|
||||
.string "me, {PLAYER}!{PLAY_BGM}{MUS_EXEYE}$"
|
||||
|
||||
gUnknown_81788BD:: @ 81788BD
|
||||
PokemonLeague_LancesRoom_Text_RematchIntro:: @ 81788BD
|
||||
.string "Ah!\n"
|
||||
.string "So, you've returned, {PLAYER}!\p"
|
||||
.string "I lead the ELITE FOUR.\p"
|
||||
@@ -30,12 +30,12 @@ gUnknown_81788BD:: @ 81788BD
|
||||
.string "Your LEAGUE challenge ends with\n"
|
||||
.string "me, {PLAYER}!{PLAY_BGM}{MUS_EXEYE}$"
|
||||
|
||||
Text_178A15:: @ 8178A15
|
||||
PokemonLeague_LancesRoom_Text_Defeat:: @ 8178A15
|
||||
.string "That's it!\p"
|
||||
.string "I hate to admit it, but you are a\n"
|
||||
.string "POKéMON master!$"
|
||||
|
||||
gUnknown_8178A52:: @ 8178A52
|
||||
PokemonLeague_LancesRoom_Text_PostBattle:: @ 8178A52
|
||||
.string "I still can't believe my dragons\n"
|
||||
.string "lost to you, {PLAYER}.\p"
|
||||
.string "You are now the POKéMON LEAGUE\n"
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "PokemonLeague_LoreleisRoom_EventScript_1625DC",
|
||||
"script": "PokemonLeague_LoreleisRoom_EventScript_Lorelei",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
|
||||
@@ -8,21 +8,21 @@ PokemonLeague_LoreleisRoom_MapScripts:: @ 816256C
|
||||
|
||||
PokemonLeague_LoreleisRoom_OnResume:: @ 8162586
|
||||
setvar VAR_0x8004, 0
|
||||
call EventScript_1A75D5
|
||||
call PokemonLeague_EventScript_DoLightingEffect
|
||||
end
|
||||
|
||||
PokemonLeague_LoreleisRoom_OnLoad:: @ 8162591
|
||||
call_if_set FLAG_DEFEATED_LORELEI, EventScript_1625AC
|
||||
call_if_set FLAG_DEFEATED_LORELEI, PokemonLeague_LoreleisRoom_EventScript_SetDoorOpen
|
||||
compare VAR_MAP_SCENE_POKEMON_LEAGUE, 1
|
||||
call_if_eq EventScript_1625A6
|
||||
call_if_eq PokemonLeague_LoreleisRoom_EventScript_CloseEntry
|
||||
end
|
||||
|
||||
EventScript_1625A6:: @ 81625A6
|
||||
call EventScript_1A759C
|
||||
PokemonLeague_LoreleisRoom_EventScript_CloseEntry:: @ 81625A6
|
||||
call PokemonLeague_EventScript_CloseEntry
|
||||
return
|
||||
|
||||
EventScript_1625AC:: @ 81625AC
|
||||
call EventScript_1A7538
|
||||
PokemonLeague_LoreleisRoom_EventScript_SetDoorOpen:: @ 81625AC
|
||||
call PokemonLeague_EventScript_SetDoorOpen
|
||||
return
|
||||
|
||||
PokemonLeague_LoreleisRoom_OnTransition:: @ 81625B2
|
||||
@@ -30,67 +30,65 @@ PokemonLeague_LoreleisRoom_OnTransition:: @ 81625B2
|
||||
end
|
||||
|
||||
PokemonLeague_LoreleisRoom_OnWarp:: @ 81625B6
|
||||
map_script_2 VAR_TEMP_1, 0, EventScript_1625C0
|
||||
map_script_2 VAR_TEMP_1, 0, PokemonLeague_LoreleisRoom_EventScript_TurnPlayerNorth
|
||||
.2byte 0
|
||||
|
||||
EventScript_1625C0:: @ 81625C0
|
||||
PokemonLeague_LoreleisRoom_EventScript_TurnPlayerNorth:: @ 81625C0
|
||||
turnobject OBJ_EVENT_ID_PLAYER, DIR_NORTH
|
||||
end
|
||||
|
||||
PokemonLeague_LoreleisRoom_OnFrame:: @ 81625C5
|
||||
map_script_2 VAR_MAP_SCENE_POKEMON_LEAGUE, 0, EventScript_1625CF
|
||||
map_script_2 VAR_MAP_SCENE_POKEMON_LEAGUE, 0, PokemonLeague_LoreleisRoom_EventScript_EnterRoom
|
||||
.2byte 0
|
||||
|
||||
EventScript_1625CF:: @ 81625CF
|
||||
PokemonLeague_LoreleisRoom_EventScript_EnterRoom:: @ 81625CF
|
||||
lockall
|
||||
call EventScript_1A751F
|
||||
call PokemonLeague_EventScript_EnterRoom
|
||||
setvar VAR_MAP_SCENE_POKEMON_LEAGUE, 1
|
||||
releaseall
|
||||
end
|
||||
|
||||
PokemonLeague_LoreleisRoom_EventScript_1625DC:: @ 81625DC
|
||||
PokemonLeague_LoreleisRoom_EventScript_Lorelei:: @ 81625DC
|
||||
lock
|
||||
faceplayer
|
||||
famechecker FAMECHECKER_LORELEI, FCPICKSTATE_COLORED, UpdatePickStateFromSpecialVar8005
|
||||
goto_if_set FLAG_DEFEATED_LORELEI, EventScript_162669
|
||||
goto_if_set FLAG_DEFEATED_LORELEI, PokemonLeague_LoreleisRoom_EventScript_PostBattle
|
||||
famechecker FAMECHECKER_LORELEI, 0
|
||||
famechecker FAMECHECKER_LORELEI, 1
|
||||
call_if_unset FLAG_SYS_CAN_LINK_WITH_RS, EventScript_162641
|
||||
call_if_set FLAG_SYS_CAN_LINK_WITH_RS, EventScript_16264A
|
||||
call_if_unset FLAG_SYS_CAN_LINK_WITH_RS, PokemonLeague_LoreleisRoom_EventScript_Intro
|
||||
call_if_set FLAG_SYS_CAN_LINK_WITH_RS, PokemonLeague_LoreleisRoom_EventScript_RematchIntro
|
||||
setflag FLAG_TEMP_3
|
||||
setflag FLAG_TEMP_5
|
||||
call_if_unset FLAG_SYS_CAN_LINK_WITH_RS, EventScript_162653
|
||||
call_if_set FLAG_SYS_CAN_LINK_WITH_RS, EventScript_16265E
|
||||
call_if_unset FLAG_SYS_CAN_LINK_WITH_RS, PokemonLeague_LoreleisRoom_EventScript_Battle
|
||||
call_if_set FLAG_SYS_CAN_LINK_WITH_RS, PokemonLeague_LoreleisRoom_EventScript_Rematch
|
||||
clearflag FLAG_TEMP_5
|
||||
goto EventScript_162673
|
||||
|
||||
EventScript_162640:: @ 8162640
|
||||
goto PokemonLeague_LoreleisRoom_EventScript_DefeatedLorelei
|
||||
end
|
||||
|
||||
EventScript_162641:: @ 8162641
|
||||
msgbox gUnknown_8177FA4
|
||||
PokemonLeague_LoreleisRoom_EventScript_Intro:: @ 8162641
|
||||
msgbox PokemonLeague_LoreleisRoom_Text_Intro
|
||||
return
|
||||
|
||||
EventScript_16264A:: @ 816264A
|
||||
msgbox gUnknown_8178089
|
||||
PokemonLeague_LoreleisRoom_EventScript_RematchIntro:: @ 816264A
|
||||
msgbox PokemonLeague_LoreleisRoom_Text_RematchIntro
|
||||
return
|
||||
|
||||
EventScript_162653:: @ 8162653
|
||||
trainerbattle_no_intro TRAINER_ELITE_FOUR_LORELEI, Text_178191
|
||||
PokemonLeague_LoreleisRoom_EventScript_Battle:: @ 8162653
|
||||
trainerbattle_no_intro TRAINER_ELITE_FOUR_LORELEI, PokemonLeague_LoreleisRoom_Text_Defeat
|
||||
return
|
||||
|
||||
EventScript_16265E:: @ 816265E
|
||||
trainerbattle_no_intro TRAINER_ELITE_FOUR_LORELEI_2, Text_178191
|
||||
PokemonLeague_LoreleisRoom_EventScript_Rematch:: @ 816265E
|
||||
trainerbattle_no_intro TRAINER_ELITE_FOUR_LORELEI_2, PokemonLeague_LoreleisRoom_Text_Defeat
|
||||
return
|
||||
|
||||
EventScript_162669:: @ 8162669
|
||||
msgbox gUnknown_81781B0
|
||||
PokemonLeague_LoreleisRoom_EventScript_PostBattle:: @ 8162669
|
||||
msgbox PokemonLeague_LoreleisRoom_Text_PostBattle
|
||||
release
|
||||
end
|
||||
|
||||
EventScript_162673:: @ 8162673
|
||||
PokemonLeague_LoreleisRoom_EventScript_DefeatedLorelei:: @ 8162673
|
||||
setflag FLAG_DEFEATED_LORELEI
|
||||
call EventScript_1A7506
|
||||
msgbox gUnknown_81781B0
|
||||
call PokemonLeague_EventScript_OpenDoor
|
||||
msgbox PokemonLeague_LoreleisRoom_Text_PostBattle
|
||||
release
|
||||
end
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
gUnknown_8177FA4:: @ 8177FA4
|
||||
PokemonLeague_LoreleisRoom_Text_Intro:: @ 8177FA4
|
||||
.string "Welcome to the POKéMON LEAGUE.\p"
|
||||
.string "I am LORELEI of the ELITE FOUR.\p"
|
||||
.string "No one can best me when it comes\n"
|
||||
@@ -9,7 +9,7 @@ gUnknown_8177FA4:: @ 8177FA4
|
||||
.string "Hahaha!\n"
|
||||
.string "Are you ready?{PLAY_BGM}{MUS_EXEYE}$"
|
||||
|
||||
gUnknown_8178089:: @ 8178089
|
||||
PokemonLeague_LoreleisRoom_Text_RematchIntro:: @ 8178089
|
||||
.string "Welcome to the POKéMON LEAGUE.\p"
|
||||
.string "I, LORELEI of the ELITE FOUR,\n"
|
||||
.string "have returned!\p"
|
||||
@@ -22,10 +22,10 @@ gUnknown_8178089:: @ 8178089
|
||||
.string "Hahaha!\n"
|
||||
.string "Are you ready?{PLAY_BGM}{MUS_EXEYE}$"
|
||||
|
||||
Text_178191:: @ 8178191
|
||||
PokemonLeague_LoreleisRoom_Text_Defeat:: @ 8178191
|
||||
.string "…Things shouldn't be this way!$"
|
||||
|
||||
gUnknown_81781B0:: @ 81781B0
|
||||
PokemonLeague_LoreleisRoom_Text_PostBattle:: @ 81781B0
|
||||
.string "You're better than I thought.\n"
|
||||
.string "Go on ahead.\p"
|
||||
.string "You only got a taste of the\n"
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
"music": "MUS_POKEYASHI",
|
||||
"region_map_section": "MAPSEC_POKEMON_MANSION",
|
||||
"requires_flash": false,
|
||||
"weather": "WEATHER_CLOUDY",
|
||||
"weather": "WEATHER_SHADE",
|
||||
"map_type": "MAP_TYPE_8",
|
||||
"unknown_18": 0,
|
||||
"unknown_19": 7,
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
"music": "MUS_POKEYASHI",
|
||||
"region_map_section": "MAPSEC_POKEMON_MANSION",
|
||||
"requires_flash": false,
|
||||
"weather": "WEATHER_CLOUDY",
|
||||
"weather": "WEATHER_SHADE",
|
||||
"map_type": "MAP_TYPE_8",
|
||||
"unknown_18": 0,
|
||||
"unknown_19": 7,
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
"music": "MUS_POKEYASHI",
|
||||
"region_map_section": "MAPSEC_POKEMON_MANSION",
|
||||
"requires_flash": false,
|
||||
"weather": "WEATHER_CLOUDY",
|
||||
"weather": "WEATHER_SHADE",
|
||||
"map_type": "MAP_TYPE_8",
|
||||
"unknown_18": 0,
|
||||
"unknown_19": 7,
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
"music": "MUS_POKEYASHI",
|
||||
"region_map_section": "MAPSEC_POKEMON_MANSION",
|
||||
"requires_flash": false,
|
||||
"weather": "WEATHER_CLOUDY",
|
||||
"weather": "WEATHER_SHADE",
|
||||
"map_type": "MAP_TYPE_8",
|
||||
"unknown_18": 0,
|
||||
"unknown_19": 7,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "MAP_UNKNOWN_MAP_03_50",
|
||||
"name": "UnknownMap_03_50",
|
||||
"layout": "LAYOUT_UNKNOWN_MAP_03_50",
|
||||
"id": "MAP_PROTOTYPE_SEVII_ISLE_6",
|
||||
"name": "Prototype_SeviiIsle_6",
|
||||
"layout": "LAYOUT_PROTOTYPE_SEVII_ISLE_6",
|
||||
"music": "MUS_NANASHIMA",
|
||||
"region_map_section": "MAPSEC_SEVII_ISLE_6",
|
||||
"requires_flash": false,
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user