2020-06-21 01:56:57 -04:00
|
|
|
.set LOCALID_NURSE, 1
|
|
|
|
.set LOCALID_SCOTT, 4
|
|
|
|
|
2021-07-20 15:18:31 -04:00
|
|
|
EverGrandeCity_PokemonCenter_1F_MapScripts::
|
2019-04-22 16:31:51 -04:00
|
|
|
map_script MAP_SCRIPT_ON_TRANSITION, EverGrandeCity_PokemonCenter_1F_OnTransition
|
2019-10-11 22:23:05 -04:00
|
|
|
map_script MAP_SCRIPT_ON_RESUME, CableClub_OnResume
|
2017-11-09 19:21:31 -06:00
|
|
|
.byte 0
|
|
|
|
|
2021-07-20 15:18:31 -04:00
|
|
|
EverGrandeCity_PokemonCenter_1F_OnTransition:
|
2020-03-20 03:04:38 -04:00
|
|
|
setrespawn HEAL_LOCATION_EVER_GRANDE_CITY
|
2019-11-03 12:29:41 -05:00
|
|
|
call_if_unset FLAG_MET_SCOTT_IN_EVERGRANDE, EverGrandeCity_PokemonCenter_1F_EventScript_TryShowScott
|
2017-11-09 19:21:31 -06:00
|
|
|
end
|
|
|
|
|
2021-07-20 15:18:31 -04:00
|
|
|
EverGrandeCity_PokemonCenter_1F_EventScript_TryShowScott::
|
2019-02-22 20:21:26 -05:00
|
|
|
goto_if_unset FLAG_BADGE06_GET, Common_EventScript_NopReturn
|
2018-10-17 22:07:23 -04:00
|
|
|
clearflag FLAG_HIDE_EVER_GRANDE_POKEMON_CENTER_1F_SCOTT
|
2017-11-09 19:21:31 -06:00
|
|
|
return
|
|
|
|
|
2021-07-20 15:18:31 -04:00
|
|
|
EverGrandeCity_PokemonCenter_1F_EventScript_Nurse::
|
2020-06-21 01:56:57 -04:00
|
|
|
setvar VAR_0x800B, LOCALID_NURSE
|
2019-08-14 23:38:42 -04:00
|
|
|
call Common_EventScript_PkmnCenterNurse
|
2017-11-09 19:21:31 -06:00
|
|
|
waitmessage
|
|
|
|
waitbuttonpress
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2021-07-20 15:18:31 -04:00
|
|
|
EverGrandeCity_PokemonCenter_1F_EventScript_Woman::
|
2019-11-03 12:29:41 -05:00
|
|
|
msgbox EverGrandeCity_PokemonCenter_1F_Text_LeagueAfterVictoryRoad, MSGBOX_NPC
|
2017-11-09 19:21:31 -06:00
|
|
|
end
|
|
|
|
|
2021-07-20 15:18:31 -04:00
|
|
|
EverGrandeCity_PokemonCenter_1F_EventScript_ExpertM::
|
2019-11-03 12:29:41 -05:00
|
|
|
msgbox EverGrandeCity_PokemonCenter_1F_Text_BelieveInYourPokemon, MSGBOX_NPC
|
2017-11-09 19:21:31 -06:00
|
|
|
end
|
|
|
|
|
2021-07-20 15:18:31 -04:00
|
|
|
EverGrandeCity_PokemonCenter_1F_EventScript_Scott::
|
2017-11-09 19:21:31 -06:00
|
|
|
lock
|
|
|
|
faceplayer
|
2019-11-03 12:29:41 -05:00
|
|
|
msgbox EverGrandeCity_PokemonCenter_1F_Text_ScottHappyForYou, MSGBOX_DEFAULT
|
2017-11-09 19:21:31 -06:00
|
|
|
closemessage
|
2019-10-07 00:14:10 -04:00
|
|
|
compare VAR_FACING, DIR_NORTH
|
2019-11-03 12:29:41 -05:00
|
|
|
call_if_eq EverGrandeCity_PokemonCenter_1F_EventScript_ScottExitNorth
|
2019-10-07 00:14:10 -04:00
|
|
|
compare VAR_FACING, DIR_EAST
|
2019-11-03 12:29:41 -05:00
|
|
|
call_if_eq EverGrandeCity_PokemonCenter_1F_EventScript_ScottExit
|
2019-10-07 00:14:10 -04:00
|
|
|
compare VAR_FACING, DIR_WEST
|
2019-11-03 12:29:41 -05:00
|
|
|
call_if_eq EverGrandeCity_PokemonCenter_1F_EventScript_ScottExit
|
2019-02-27 20:25:09 -05:00
|
|
|
addvar VAR_SCOTT_STATE, 1
|
2019-01-02 21:12:43 +00:00
|
|
|
setflag FLAG_MET_SCOTT_IN_EVERGRANDE
|
2020-08-20 18:02:00 -04:00
|
|
|
playse SE_EXIT
|
2017-11-09 19:21:31 -06:00
|
|
|
waitse
|
2020-06-21 01:56:57 -04:00
|
|
|
removeobject LOCALID_SCOTT
|
2017-11-09 19:21:31 -06:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2021-07-20 15:18:31 -04:00
|
|
|
EverGrandeCity_PokemonCenter_1F_EventScript_ScottExitNorth::
|
2020-06-21 01:56:57 -04:00
|
|
|
applymovement LOCALID_SCOTT, EverGrandeCity_PokemonCenter_1F_Movement_ScottExitNorth
|
2017-11-09 19:21:31 -06:00
|
|
|
waitmovement 0
|
|
|
|
return
|
|
|
|
|
2021-07-20 15:18:31 -04:00
|
|
|
EverGrandeCity_PokemonCenter_1F_EventScript_ScottExit::
|
2020-06-21 01:56:57 -04:00
|
|
|
applymovement LOCALID_SCOTT, EverGrandeCity_PokemonCenter_1F_Movement_ScottExit
|
2017-11-09 19:21:31 -06:00
|
|
|
waitmovement 0
|
|
|
|
return
|
|
|
|
|
2021-07-20 15:18:31 -04:00
|
|
|
EverGrandeCity_PokemonCenter_1F_Movement_ScottExitNorth:
|
2018-06-13 18:19:19 -05:00
|
|
|
walk_left
|
|
|
|
walk_down
|
|
|
|
walk_down
|
|
|
|
walk_left
|
|
|
|
walk_down
|
|
|
|
walk_down
|
2017-11-09 19:21:31 -06:00
|
|
|
step_end
|
|
|
|
|
2021-07-20 15:18:31 -04:00
|
|
|
EverGrandeCity_PokemonCenter_1F_Movement_ScottExit:
|
2018-06-13 18:19:19 -05:00
|
|
|
walk_down
|
|
|
|
walk_down
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_down
|
|
|
|
walk_down
|
2017-11-09 19:21:31 -06:00
|
|
|
step_end
|
|
|
|
|
2021-07-20 15:18:31 -04:00
|
|
|
EverGrandeCity_PokemonCenter_1F_Text_LeagueAfterVictoryRoad:
|
2017-11-09 19:21:31 -06:00
|
|
|
.string "The POKéMON LEAGUE is only a short\n"
|
|
|
|
.string "distance after the VICTORY ROAD.\p"
|
2018-12-07 10:41:08 -05:00
|
|
|
.string "If you've come this far, what choice\n"
|
2017-11-09 19:21:31 -06:00
|
|
|
.string "do you have but to keep going?$"
|
|
|
|
|
2021-07-20 15:18:31 -04:00
|
|
|
EverGrandeCity_PokemonCenter_1F_Text_BelieveInYourPokemon:
|
2017-11-09 19:21:31 -06:00
|
|
|
.string "The long and harrowing VICTORY ROAD…\p"
|
2018-12-07 10:41:08 -05:00
|
|
|
.string "It's like reliving the path one has\n"
|
2017-11-09 19:21:31 -06:00
|
|
|
.string "traveled in life…\p"
|
|
|
|
.string "Believe in your POKéMON and give it\n"
|
|
|
|
.string "your very best!$"
|
|
|
|
|
2021-07-20 15:18:31 -04:00
|
|
|
EverGrandeCity_PokemonCenter_1F_Text_ScottHappyForYou:
|
2018-12-07 10:41:08 -05:00
|
|
|
.string "SCOTT: {PLAYER}{KUN}, you've clawed your\n"
|
2017-11-09 19:21:31 -06:00
|
|
|
.string "way up to face the POKéMON LEAGUE!\p"
|
2018-12-07 10:41:08 -05:00
|
|
|
.string "I'm happy for you!\n"
|
2017-11-09 19:21:31 -06:00
|
|
|
.string "You made my cheering worthwhile!\p"
|
|
|
|
.string "{PLAYER}{KUN}, if you were to become\n"
|
|
|
|
.string "the POKéMON LEAGUE CHAMPION…\p"
|
2018-12-07 10:41:08 -05:00
|
|
|
.string "I'll get in touch with you then.\p"
|
2017-11-09 19:21:31 -06:00
|
|
|
.string "Okay, {PLAYER}{KUN}.\n"
|
|
|
|
.string "Go for greatness!$"
|
|
|
|
|