pokeemerald/data/maps/LilycoveCity_PokemonCenter_1F/scripts.inc

69 lines
2.3 KiB
PHP
Raw Normal View History

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