sovereignx/data/maps/LilycoveCity_PokemonCenter_1F/scripts.inc

71 lines
2.3 KiB
PHP
Raw Normal View History

.set LOCALID_NURSE, 1
2021-07-20 20:18:31 +01:00
LilycoveCity_PokemonCenter_1F_MapScripts::
map_script MAP_SCRIPT_ON_TRANSITION, LilycoveCity_PokemonCenter_1F_OnTransition
2019-10-12 03:23:05 +01:00
map_script MAP_SCRIPT_ON_RESUME, CableClub_OnResume
2017-11-10 01:21:31 +00:00
.byte 0
2021-07-20 20:18:31 +01:00
LilycoveCity_PokemonCenter_1F_OnTransition:
setrespawn HEAL_LOCATION_LILYCOVE_CITY
2019-11-03 17:29:41 +00:00
goto LilycoveCity_PokemonCenter_1F_EventScript_SetLilycoveLadyGfx
2017-11-10 01:21:31 +00:00
end
2019-11-03 17:29:41 +00:00
@ SetLilycoveLadyGfx returns TRUE if its the Contest Lady
2021-07-20 20:18:31 +01:00
LilycoveCity_PokemonCenter_1F_EventScript_SetLilycoveLadyGfx::
2019-08-04 09:22:19 +01:00
special SetLilycoveLadyGfx
2019-11-03 17:29:41 +00:00
compare VAR_RESULT, FALSE
goto_if_eq LilycoveCity_PokemonCenter_1F_EventScript_HideContestLadyMon
compare VAR_RESULT, TRUE
goto_if_eq LilycoveCity_PokemonCenter_1F_EventScript_ShowContestLadyMon
2017-11-10 01:21:31 +00:00
end
2021-07-20 20:18:31 +01:00
LilycoveCity_PokemonCenter_1F_EventScript_HideContestLadyMon::
2019-11-03 17:29:41 +00:00
setflag FLAG_HIDE_LILYCOVE_POKEMON_CENTER_CONTEST_LADY_MON
2017-11-10 01:21:31 +00:00
end
2021-07-20 20:18:31 +01:00
LilycoveCity_PokemonCenter_1F_EventScript_ShowContestLadyMon::
2019-11-03 17:29:41 +00:00
clearflag FLAG_HIDE_LILYCOVE_POKEMON_CENTER_CONTEST_LADY_MON
2017-11-10 01:21:31 +00:00
end
2021-07-20 20:18:31 +01:00
LilycoveCity_PokemonCenter_1F_EventScript_Nurse::
setvar VAR_0x800B, LOCALID_NURSE
2019-08-15 04:38:42 +01:00
call Common_EventScript_PkmnCenterNurse
2017-11-10 01:21:31 +00:00
waitmessage
waitbuttonpress
release
end
2021-07-20 20:18:31 +01:00
LilycoveCity_PokemonCenter_1F_EventScript_Boy::
2019-11-03 17:29:41 +00:00
msgbox LilycoveCity_PokemonCenter_1F_Text_HowManyKindsOfPokemon, MSGBOX_NPC
2017-11-10 01:21:31 +00:00
end
2021-07-20 20:18:31 +01:00
LilycoveCity_PokemonCenter_1F_EventScript_Maniac::
2017-11-10 01:21:31 +00:00
lock
faceplayer
2019-11-03 17:29:41 +00:00
goto_if_set FLAG_BADGE07_GET, LilycoveCity_PokemonCenter_1F_EventScript_ManiacBadTeamGone
msgbox LilycoveCity_PokemonCenter_1F_Text_HeardAboutRottenScoundrels, MSGBOX_DEFAULT
2017-11-10 01:21:31 +00:00
release
end
2021-07-20 20:18:31 +01:00
LilycoveCity_PokemonCenter_1F_EventScript_ManiacBadTeamGone::
2019-11-03 17:29:41 +00:00
msgbox LilycoveCity_PokemonCenter_1F_Text_HaventSeenRottenScoundrels, MSGBOX_DEFAULT
2017-11-10 01:21:31 +00:00
release
end
2021-07-20 20:18:31 +01:00
LilycoveCity_PokemonCenter_1F_Text_HowManyKindsOfPokemon:
2017-11-10 01:21:31 +00:00
.string "I wonder how many kinds of POKéMON\n"
.string "there are in the world.\p"
2018-12-07 15:41:08 +00:00
.string "It'd be great to cross seas and\n"
2017-11-10 01:21:31 +00:00
.string "trade POKéMON with people far away.$"
2021-07-20 20:18:31 +01:00
LilycoveCity_PokemonCenter_1F_Text_HeardAboutRottenScoundrels:
2018-12-07 15:41:08 +00:00
.string "I've been hearing about some rotten\n"
2017-11-10 01:21:31 +00:00
.string "scoundrels who steal POKéMON and rip\l"
.string "off METEORITES.$"
2021-07-20 20:18:31 +01:00
LilycoveCity_PokemonCenter_1F_Text_HaventSeenRottenScoundrels:
2017-11-10 01:21:31 +00:00
.string "Those rotten scoundrels who steal\n"
.string "POKéMON and rip off METEORITES…\p"
2018-12-07 15:41:08 +00:00
.string "I haven't seen them around recently.$"
2017-11-10 01:21:31 +00:00