69 lines
2.3 KiB
PHP
69 lines
2.3 KiB
PHP
|
.set LOCALID_NURSE, 1
|
||
|
|
||
|
LilycoveCity_PokemonCenter_1F_MapScripts::
|
||
|
map_script MAP_SCRIPT_ON_TRANSITION, LilycoveCity_PokemonCenter_1F_OnTransition
|
||
|
map_script MAP_SCRIPT_ON_RESUME, CableClub_OnResume
|
||
|
.byte 0
|
||
|
|
||
|
LilycoveCity_PokemonCenter_1F_OnTransition:
|
||
|
setrespawn HEAL_LOCATION_LILYCOVE_CITY
|
||
|
goto LilycoveCity_PokemonCenter_1F_EventScript_SetLilycoveLadyGfx
|
||
|
end
|
||
|
|
||
|
@ SetLilycoveLadyGfx returns TRUE if its the Contest Lady
|
||
|
LilycoveCity_PokemonCenter_1F_EventScript_SetLilycoveLadyGfx::
|
||
|
special SetLilycoveLadyGfx
|
||
|
goto_if_eq VAR_RESULT, FALSE, LilycoveCity_PokemonCenter_1F_EventScript_HideContestLadyMon
|
||
|
goto_if_eq VAR_RESULT, TRUE, LilycoveCity_PokemonCenter_1F_EventScript_ShowContestLadyMon
|
||
|
end
|
||
|
|
||
|
LilycoveCity_PokemonCenter_1F_EventScript_HideContestLadyMon::
|
||
|
setflag FLAG_HIDE_LILYCOVE_POKEMON_CENTER_CONTEST_LADY_MON
|
||
|
end
|
||
|
|
||
|
LilycoveCity_PokemonCenter_1F_EventScript_ShowContestLadyMon::
|
||
|
clearflag FLAG_HIDE_LILYCOVE_POKEMON_CENTER_CONTEST_LADY_MON
|
||
|
end
|
||
|
|
||
|
LilycoveCity_PokemonCenter_1F_EventScript_Nurse::
|
||
|
setvar VAR_0x800B, LOCALID_NURSE
|
||
|
call Common_EventScript_PkmnCenterNurse
|
||
|
waitmessage
|
||
|
waitbuttonpress
|
||
|
release
|
||
|
end
|
||
|
|
||
|
LilycoveCity_PokemonCenter_1F_EventScript_Boy::
|
||
|
msgbox LilycoveCity_PokemonCenter_1F_Text_HowManyKindsOfPokemon, MSGBOX_NPC
|
||
|
end
|
||
|
|
||
|
LilycoveCity_PokemonCenter_1F_EventScript_Maniac::
|
||
|
lock
|
||
|
faceplayer
|
||
|
goto_if_set FLAG_BADGE07_GET, LilycoveCity_PokemonCenter_1F_EventScript_ManiacBadTeamGone
|
||
|
msgbox LilycoveCity_PokemonCenter_1F_Text_HeardAboutRottenScoundrels, MSGBOX_DEFAULT
|
||
|
release
|
||
|
end
|
||
|
|
||
|
LilycoveCity_PokemonCenter_1F_EventScript_ManiacBadTeamGone::
|
||
|
msgbox LilycoveCity_PokemonCenter_1F_Text_HaventSeenRottenScoundrels, MSGBOX_DEFAULT
|
||
|
release
|
||
|
end
|
||
|
|
||
|
LilycoveCity_PokemonCenter_1F_Text_HowManyKindsOfPokemon:
|
||
|
.string "I wonder how many kinds of POKéMON\n"
|
||
|
.string "there are in the world.\p"
|
||
|
.string "It'd be great to cross seas and\n"
|
||
|
.string "trade POKéMON with people far away.$"
|
||
|
|
||
|
LilycoveCity_PokemonCenter_1F_Text_HeardAboutRottenScoundrels:
|
||
|
.string "I've been hearing about some rotten\n"
|
||
|
.string "scoundrels who steal POKéMON and rip\l"
|
||
|
.string "off METEORITES.$"
|
||
|
|
||
|
LilycoveCity_PokemonCenter_1F_Text_HaventSeenRottenScoundrels:
|
||
|
.string "Those rotten scoundrels who steal\n"
|
||
|
.string "POKéMON and rip off METEORITES…\p"
|
||
|
.string "I haven't seen them around recently.$"
|
||
|
|