mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-28 04:34:28 +01:00
71 lines
2.4 KiB
PHP
71 lines
2.4 KiB
PHP
.set LOCALID_NURSE, 1
|
|
|
|
LilycoveCity_PokemonCenter_1F_MapScripts:: @ 821C5B2
|
|
map_script MAP_SCRIPT_ON_TRANSITION, LilycoveCity_PokemonCenter_1F_OnTransition
|
|
map_script MAP_SCRIPT_ON_RESUME, CableClub_OnResume
|
|
.byte 0
|
|
|
|
LilycoveCity_PokemonCenter_1F_OnTransition: @ 821C5BD
|
|
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:: @ 821C5C6
|
|
special SetLilycoveLadyGfx
|
|
compare VAR_RESULT, FALSE
|
|
goto_if_eq LilycoveCity_PokemonCenter_1F_EventScript_HideContestLadyMon
|
|
compare VAR_RESULT, TRUE
|
|
goto_if_eq LilycoveCity_PokemonCenter_1F_EventScript_ShowContestLadyMon
|
|
end
|
|
|
|
LilycoveCity_PokemonCenter_1F_EventScript_HideContestLadyMon:: @ 821C5E0
|
|
setflag FLAG_HIDE_LILYCOVE_POKEMON_CENTER_CONTEST_LADY_MON
|
|
end
|
|
|
|
LilycoveCity_PokemonCenter_1F_EventScript_ShowContestLadyMon:: @ 821C5E4
|
|
clearflag FLAG_HIDE_LILYCOVE_POKEMON_CENTER_CONTEST_LADY_MON
|
|
end
|
|
|
|
LilycoveCity_PokemonCenter_1F_EventScript_Nurse:: @ 821C5E8
|
|
setvar VAR_0x800B, LOCALID_NURSE
|
|
call Common_EventScript_PkmnCenterNurse
|
|
waitmessage
|
|
waitbuttonpress
|
|
release
|
|
end
|
|
|
|
LilycoveCity_PokemonCenter_1F_EventScript_Boy:: @ 821C5F6
|
|
msgbox LilycoveCity_PokemonCenter_1F_Text_HowManyKindsOfPokemon, MSGBOX_NPC
|
|
end
|
|
|
|
LilycoveCity_PokemonCenter_1F_EventScript_Maniac:: @ 821C5FF
|
|
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:: @ 821C614
|
|
msgbox LilycoveCity_PokemonCenter_1F_Text_HaventSeenRottenScoundrels, MSGBOX_DEFAULT
|
|
release
|
|
end
|
|
|
|
LilycoveCity_PokemonCenter_1F_Text_HowManyKindsOfPokemon: @ 821C61E
|
|
.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: @ 821C69D
|
|
.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: @ 821C6F6
|
|
.string "Those rotten scoundrels who steal\n"
|
|
.string "POKéMON and rip off METEORITES…\p"
|
|
.string "I haven't seen them around recently.$"
|
|
|