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

64 lines
1.6 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.

MossdeepCity_House4_MapScripts:: @ 8222DD7
.byte 0
MossdeepCity_House4_EventScript_222DD8:: @ 8222DD8
lock
faceplayer
checkflag FLAG_SYS_GAME_CLEAR
goto_eq MossdeepCity_House4_EventScript_222DED
msgbox MossdeepCity_House4_Text_222E31, MSGBOX_DEFAULT
release
end
MossdeepCity_House4_EventScript_222DED:: @ 8222DED
msgbox MossdeepCity_House4_Text_222E73, MSGBOX_DEFAULT
release
end
MossdeepCity_House4_EventScript_222DF7:: @ 8222DF7
lock
faceplayer
special sub_80E8BC8
compare VAR_RESULT, 0
goto_eq MossdeepCity_House4_EventScript_222E14
special GetSecretBaseNearbyMapName
msgbox MossdeepCity_House4_Text_222ECC, MSGBOX_DEFAULT
release
end
MossdeepCity_House4_EventScript_222E14:: @ 8222E14
msgbox MossdeepCity_House4_Text_222EF7, MSGBOX_DEFAULT
release
end
MossdeepCity_House4_EventScript_222E1E:: @ 8222E1E
lock
faceplayer
waitse
playmoncry SPECIES_SKITTY, 0
msgbox MossdeepCity_House4_Text_222F31, MSGBOX_DEFAULT
waitmoncry
release
end
MossdeepCity_House4_Text_222E31: @ 8222E31
.string "My little brother says he likes to go\n"
.string "find peoples SECRET BASES.$"
MossdeepCity_House4_Text_222E73: @ 8222E73
.string "My little brother says he likes to\n"
.string "visit peoples SECRET BASES and have\l"
.string "POKéMON battles.$"
MossdeepCity_House4_Text_222ECC: @ 8222ECC
.string "Was it you who made a SECRET BASE\n"
.string "near {STR_VAR_1}?$"
MossdeepCity_House4_Text_222EF7: @ 8222EF7
.string "You should make a SECRET BASE\n"
.string "somewhere. Ill go find it!$"
MossdeepCity_House4_Text_222F31: @ 8222F31
.string "SKITTY: Miyaan?$"