2022-05-19 19:14:13 +02:00
|
|
|
.set LOCALID_NURSE, 1
|
|
|
|
.set LOCALID_SCOTT, 4
|
|
|
|
|
|
|
|
EverGrandeCity_PokemonCenter_1F_MapScripts::
|
|
|
|
map_script MAP_SCRIPT_ON_TRANSITION, EverGrandeCity_PokemonCenter_1F_OnTransition
|
|
|
|
map_script MAP_SCRIPT_ON_RESUME, CableClub_OnResume
|
|
|
|
.byte 0
|
|
|
|
|
|
|
|
EverGrandeCity_PokemonCenter_1F_OnTransition:
|
|
|
|
setrespawn HEAL_LOCATION_EVER_GRANDE_CITY
|
|
|
|
call_if_unset FLAG_MET_SCOTT_IN_EVERGRANDE, EverGrandeCity_PokemonCenter_1F_EventScript_TryShowScott
|
|
|
|
end
|
|
|
|
|
|
|
|
EverGrandeCity_PokemonCenter_1F_EventScript_TryShowScott::
|
|
|
|
goto_if_unset FLAG_BADGE06_GET, Common_EventScript_NopReturn
|
|
|
|
clearflag FLAG_HIDE_EVER_GRANDE_POKEMON_CENTER_1F_SCOTT
|
|
|
|
return
|
|
|
|
|
|
|
|
EverGrandeCity_PokemonCenter_1F_EventScript_Nurse::
|
|
|
|
setvar VAR_0x800B, LOCALID_NURSE
|
|
|
|
call Common_EventScript_PkmnCenterNurse
|
|
|
|
waitmessage
|
|
|
|
waitbuttonpress
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
EverGrandeCity_PokemonCenter_1F_EventScript_Woman::
|
|
|
|
msgbox EverGrandeCity_PokemonCenter_1F_Text_LeagueAfterVictoryRoad, MSGBOX_NPC
|
|
|
|
end
|
|
|
|
|
|
|
|
EverGrandeCity_PokemonCenter_1F_EventScript_ExpertM::
|
|
|
|
msgbox EverGrandeCity_PokemonCenter_1F_Text_BelieveInYourPokemon, MSGBOX_NPC
|
|
|
|
end
|
|
|
|
|
|
|
|
EverGrandeCity_PokemonCenter_1F_EventScript_Scott::
|
|
|
|
lock
|
|
|
|
faceplayer
|
|
|
|
msgbox EverGrandeCity_PokemonCenter_1F_Text_ScottHappyForYou, MSGBOX_DEFAULT
|
|
|
|
closemessage
|
|
|
|
call_if_eq VAR_FACING, DIR_NORTH, EverGrandeCity_PokemonCenter_1F_EventScript_ScottExitNorth
|
|
|
|
call_if_eq VAR_FACING, DIR_EAST, EverGrandeCity_PokemonCenter_1F_EventScript_ScottExit
|
|
|
|
call_if_eq VAR_FACING, DIR_WEST, EverGrandeCity_PokemonCenter_1F_EventScript_ScottExit
|
|
|
|
addvar VAR_SCOTT_STATE, 1
|
|
|
|
setflag FLAG_MET_SCOTT_IN_EVERGRANDE
|
|
|
|
playse SE_EXIT
|
|
|
|
waitse
|
|
|
|
removeobject LOCALID_SCOTT
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
EverGrandeCity_PokemonCenter_1F_EventScript_ScottExitNorth::
|
|
|
|
applymovement LOCALID_SCOTT, EverGrandeCity_PokemonCenter_1F_Movement_ScottExitNorth
|
|
|
|
waitmovement 0
|
|
|
|
return
|
|
|
|
|
|
|
|
EverGrandeCity_PokemonCenter_1F_EventScript_ScottExit::
|
|
|
|
applymovement LOCALID_SCOTT, EverGrandeCity_PokemonCenter_1F_Movement_ScottExit
|
|
|
|
waitmovement 0
|
|
|
|
return
|
|
|
|
|
|
|
|
EverGrandeCity_PokemonCenter_1F_Movement_ScottExitNorth:
|
|
|
|
walk_left
|
|
|
|
walk_down
|
|
|
|
walk_down
|
|
|
|
walk_left
|
|
|
|
walk_down
|
|
|
|
walk_down
|
|
|
|
step_end
|
|
|
|
|
|
|
|
EverGrandeCity_PokemonCenter_1F_Movement_ScottExit:
|
|
|
|
walk_down
|
|
|
|
walk_down
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_down
|
|
|
|
walk_down
|
|
|
|
step_end
|
|
|
|
|
|
|
|
EverGrandeCity_PokemonCenter_1F_Text_LeagueAfterVictoryRoad:
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "The Pokémon League is only a short\n"
|
|
|
|
.string "distance after the Victory Road.\p"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "If you've come this far, what choice\n"
|
|
|
|
.string "do you have but to keep going?$"
|
|
|
|
|
|
|
|
EverGrandeCity_PokemonCenter_1F_Text_BelieveInYourPokemon:
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "The long and harrowing Victory Road…\p"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "It's like reliving the path one has\n"
|
|
|
|
.string "traveled in life…\p"
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "Believe in your Pokémon and give it\n"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "your very best!$"
|
|
|
|
|
|
|
|
EverGrandeCity_PokemonCenter_1F_Text_ScottHappyForYou:
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "Scott: {PLAYER}{KUN}, you've clawed your\n"
|
|
|
|
.string "way up to face the Pokémon League!\p"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "I'm happy for you!\n"
|
|
|
|
.string "You made my cheering worthwhile!\p"
|
|
|
|
.string "{PLAYER}{KUN}, if you were to become\n"
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "the Pokémon League Champion…\p"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "I'll get in touch with you then.\p"
|
|
|
|
.string "Okay, {PLAYER}{KUN}.\n"
|
|
|
|
.string "Go for greatness!$"
|
|
|
|
|