pokeemerald/data/maps/PacifidlogTown_House5/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

38 lines
1.0 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.

PacifidlogTown_House5_MapScripts:: @ 8204110
.byte 0
PacifidlogTown_House5_EventScript_204111:: @ 8204111
lock
faceplayer
specialvar VAR_RESULT, IsMirageIslandPresent
compare VAR_RESULT, 1
goto_eq PacifidlogTown_House5_EventScript_20412D
msgbox PacifidlogTown_House5_Text_204140, MSGBOX_DEFAULT
release
end
PacifidlogTown_House5_EventScript_20412D:: @ 820412D
msgbox PacifidlogTown_House5_Text_204161, MSGBOX_DEFAULT
release
end
PacifidlogTown_House5_EventScript_204137:: @ 8204137
msgbox PacifidlogTown_House5_Text_20418B, MSGBOX_NPC
end
PacifidlogTown_House5_Text_204140: @ 8204140
.string "I cant see MIRAGE ISLAND today…$"
PacifidlogTown_House5_Text_204161: @ 8204161
.string "Oh! Oh my!\n"
.string "I can see MIRAGE ISLAND today!$"
PacifidlogTown_House5_Text_20418B: @ 820418B
.string "MIRAGE ISLAND…\p"
.string "It must become visible and invisible\n"
.string "depending on the weather conditions\l"
.string "that make mirages appear.\p"
.string "Or is it really appearing and\n"
.string "disappearing?$"