2025-06-02 14:17:22 +08:00

60 lines
2.1 KiB
PHP

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_LILYCOVE_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 "我想知道世界上\n有多少种宝可梦。\p穿越海洋和远方的人\n交换宝可梦一定不错。$"
LilycoveCity_PokemonCenter_1F_Text_HeardAboutRottenScoundrels:
.string "我听说过那些\n偷宝可梦抢陨石的\l恶徒的事情。$"
LilycoveCity_PokemonCenter_1F_Text_HaventSeenRottenScoundrels:
.string "那些偷宝可梦\n抢陨石的恶徒……\p最近在这附近没看到他们。$"