pokeemerald/data/maps/LilycoveCity_PokemonCenter_1F/scripts.inc
Melody c557ac61ae adds constants, cleans up callstd and msgbox code
* adds some constants for standard script names and messagebox types
* replaces some callstd calls with msgbox calls where equivalent
* replaces msgbox and callstd calls using raw digits with versions that use the constants
2018-12-02 03:37:46 -05:00

69 lines
2.1 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

LilycoveCity_PokemonCenter_1F_MapScripts:: @ 821C5B2
map_script 3, LilycoveCity_PokemonCenter_1F_MapScript1_21C5BD
map_script 5, LilycoveCity_PokemonCenter_1F_MapScript1_277C30
.byte 0
LilycoveCity_PokemonCenter_1F_MapScript1_21C5BD: @ 821C5BD
setrespawn HEAL_LOCATION_LILYCOVE_CITY
goto LilycoveCity_PokemonCenter_1F_EventScript_21C5C6
end
LilycoveCity_PokemonCenter_1F_EventScript_21C5C6:: @ 821C5C6
special sub_818D9C0
compare VAR_RESULT, 0
goto_eq LilycoveCity_PokemonCenter_1F_EventScript_21C5E0
compare VAR_RESULT, 1
goto_eq LilycoveCity_PokemonCenter_1F_EventScript_21C5E4
end
LilycoveCity_PokemonCenter_1F_EventScript_21C5E0:: @ 821C5E0
setflag FLAG_HIDE_LILYCOVE_POKEMON_CENTER_LADY
end
LilycoveCity_PokemonCenter_1F_EventScript_21C5E4:: @ 821C5E4
clearflag FLAG_HIDE_LILYCOVE_POKEMON_CENTER_LADY
end
LilycoveCity_PokemonCenter_1F_EventScript_21C5E8:: @ 821C5E8
setvar VAR_0x800B, 1
call LilycoveCity_PokemonCenter_1F_EventScript_27191E
waitmessage
waitbuttonpress
release
end
LilycoveCity_PokemonCenter_1F_EventScript_21C5F6:: @ 821C5F6
msgbox LilycoveCity_PokemonCenter_1F_Text_21C61E, MSGBOX_NPC
end
LilycoveCity_PokemonCenter_1F_EventScript_21C5FF:: @ 821C5FF
lock
faceplayer
checkflag FLAG_BADGE07_GET
goto_eq LilycoveCity_PokemonCenter_1F_EventScript_21C614
msgbox LilycoveCity_PokemonCenter_1F_Text_21C69D, MSGBOX_DEFAULT
release
end
LilycoveCity_PokemonCenter_1F_EventScript_21C614:: @ 821C614
msgbox LilycoveCity_PokemonCenter_1F_Text_21C6F6, MSGBOX_DEFAULT
release
end
LilycoveCity_PokemonCenter_1F_Text_21C61E: @ 821C61E
.string "I wonder how many kinds of POKéMON\n"
.string "there are in the world.\p"
.string "Itd be great to cross seas and\n"
.string "trade POKéMON with people far away.$"
LilycoveCity_PokemonCenter_1F_Text_21C69D: @ 821C69D
.string "Ive been hearing about some rotten\n"
.string "scoundrels who steal POKéMON and rip\l"
.string "off METEORITES.$"
LilycoveCity_PokemonCenter_1F_Text_21C6F6: @ 821C6F6
.string "Those rotten scoundrels who steal\n"
.string "POKéMON and rip off METEORITES…\p"
.string "I havent seen them around recently.$"