pokeemerald/data/maps/MossdeepCity_House4/scripts.inc

63 lines
1.8 KiB
PHP

MossdeepCity_House4_MapScripts:: @ 8222DD7
.byte 0
MossdeepCity_House4_EventScript_Woman:: @ 8222DD8
lock
faceplayer
goto_if_set FLAG_SYS_GAME_CLEAR, MossdeepCity_House4_EventScript_CanBattleAtSecretBases
msgbox MossdeepCity_House4_Text_BrotherLikesToFindBases, MSGBOX_DEFAULT
release
end
MossdeepCity_House4_EventScript_CanBattleAtSecretBases:: @ 8222DED
msgbox MossdeepCity_House4_Text_BrotherLikesToVisitBasesAndBattle, MSGBOX_DEFAULT
release
end
MossdeepCity_House4_EventScript_NinjaBoy:: @ 8222DF7
lock
faceplayer
special CheckPlayerHasSecretBase
compare VAR_RESULT, FALSE
goto_if_eq MossdeepCity_House4_EventScript_NoSecretBase
special GetSecretBaseNearbyMapName
msgbox MossdeepCity_House4_Text_YouMadeSecretBaseNearX, MSGBOX_DEFAULT
release
end
MossdeepCity_House4_EventScript_NoSecretBase:: @ 8222E14
msgbox MossdeepCity_House4_Text_MakeSecretBase, MSGBOX_DEFAULT
release
end
MossdeepCity_House4_EventScript_Skitty:: @ 8222E1E
lock
faceplayer
waitse
playmoncry SPECIES_SKITTY, 0
msgbox MossdeepCity_House4_Text_Skitty, MSGBOX_DEFAULT
waitmoncry
release
end
MossdeepCity_House4_Text_BrotherLikesToFindBases: @ 8222E31
.string "My little brother says he likes to go\n"
.string "find people's SECRET BASES.$"
MossdeepCity_House4_Text_BrotherLikesToVisitBasesAndBattle: @ 8222E73
.string "My little brother says he likes to\n"
.string "visit people's SECRET BASES and have\l"
.string "POKéMON battles.$"
MossdeepCity_House4_Text_YouMadeSecretBaseNearX: @ 8222ECC
.string "Was it you who made a SECRET BASE\n"
.string "near {STR_VAR_1}?$"
MossdeepCity_House4_Text_MakeSecretBase: @ 8222EF7
.string "You should make a SECRET BASE\n"
.string "somewhere. I'll go find it!$"
MossdeepCity_House4_Text_Skitty: @ 8222F31
.string "SKITTY: Miyaan?$"