pokeemerald/data/maps/LilycoveCity_PokemonCenter_1F/scripts.inc

71 lines
2.4 KiB
PHP
Raw Normal View History

.set LOCALID_NURSE, 1
2017-11-10 01:21:31 +00:00
LilycoveCity_PokemonCenter_1F_MapScripts:: @ 821C5B2
map_script MAP_SCRIPT_ON_TRANSITION, LilycoveCity_PokemonCenter_1F_OnTransition
2019-10-12 02:23:05 +00:00
map_script MAP_SCRIPT_ON_RESUME, CableClub_OnResume
2017-11-10 01:21:31 +00:00
.byte 0
LilycoveCity_PokemonCenter_1F_OnTransition: @ 821C5BD
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
LilycoveCity_PokemonCenter_1F_EventScript_SetLilycoveLadyGfx:: @ 821C5C6
2019-08-04 08:22:19 +00: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
2019-11-03 17:29:41 +00:00
LilycoveCity_PokemonCenter_1F_EventScript_HideContestLadyMon:: @ 821C5E0
setflag FLAG_HIDE_LILYCOVE_POKEMON_CENTER_CONTEST_LADY_MON
2017-11-10 01:21:31 +00:00
end
2019-11-03 17:29:41 +00:00
LilycoveCity_PokemonCenter_1F_EventScript_ShowContestLadyMon:: @ 821C5E4
clearflag FLAG_HIDE_LILYCOVE_POKEMON_CENTER_CONTEST_LADY_MON
2017-11-10 01:21:31 +00:00
end
2019-11-03 17:29:41 +00:00
LilycoveCity_PokemonCenter_1F_EventScript_Nurse:: @ 821C5E8
setvar VAR_0x800B, LOCALID_NURSE
2019-08-15 03:38:42 +00:00
call Common_EventScript_PkmnCenterNurse
2017-11-10 01:21:31 +00:00
waitmessage
waitbuttonpress
release
end
2019-11-03 17:29:41 +00:00
LilycoveCity_PokemonCenter_1F_EventScript_Boy:: @ 821C5F6
msgbox LilycoveCity_PokemonCenter_1F_Text_HowManyKindsOfPokemon, MSGBOX_NPC
2017-11-10 01:21:31 +00:00
end
2019-11-03 17:29:41 +00:00
LilycoveCity_PokemonCenter_1F_EventScript_Maniac:: @ 821C5FF
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
2019-11-03 17:29:41 +00:00
LilycoveCity_PokemonCenter_1F_EventScript_ManiacBadTeamGone:: @ 821C614
msgbox LilycoveCity_PokemonCenter_1F_Text_HaventSeenRottenScoundrels, MSGBOX_DEFAULT
2017-11-10 01:21:31 +00:00
release
end
2019-11-03 17:29:41 +00:00
LilycoveCity_PokemonCenter_1F_Text_HowManyKindsOfPokemon: @ 821C61E
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.$"
2019-11-03 17:29:41 +00:00
LilycoveCity_PokemonCenter_1F_Text_HeardAboutRottenScoundrels: @ 821C69D
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.$"
2019-11-03 17:29:41 +00:00
LilycoveCity_PokemonCenter_1F_Text_HaventSeenRottenScoundrels: @ 821C6F6
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