Move events and scripts into map dirs

This commit is contained in:
Marcus Huderle
2018-06-20 17:41:41 -05:00
parent 89d35e82a2
commit 135a11e50e
1038 changed files with 1036 additions and 1036 deletions
+12
View File
@@ -0,0 +1,12 @@
MossdeepCity_House4_EventObjects: @ 8532CAC
object_event 1, EVENT_OBJ_GFX_WOMAN_3, 0, 3, 4, 3, 9, 0, 0, 0, 0, MossdeepCity_House4_EventScript_222DD8, 0
object_event 2, EVENT_OBJ_GFX_LITTLE_BOY_1, 0, 6, 6, 3, 5, 1, 0, 0, 0, MossdeepCity_House4_EventScript_222DF7, 0
object_event 3, EVENT_OBJ_GFX_SKITTY, 0, 2, 4, 3, 1, 1, 1, 0, 0, MossdeepCity_House4_EventScript_222E1E, 0
MossdeepCity_House4_MapWarps: @ 8532CF4
warp_def 4, 7, 0, 7, MAP_MOSSDEEP_CITY
warp_def 3, 7, 0, 7, MAP_MOSSDEEP_CITY
MossdeepCity_House4_MapEvents:: @ 8532D04
map_events MossdeepCity_House4_EventObjects, MossdeepCity_House4_MapWarps, 0x0, 0x0
+63
View File
@@ -0,0 +1,63 @@
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, 4
release
end
MossdeepCity_House4_EventScript_222DED:: @ 8222DED
msgbox MossdeepCity_House4_Text_222E73, 4
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, 4
release
end
MossdeepCity_House4_EventScript_222E14:: @ 8222E14
msgbox MossdeepCity_House4_Text_222EF7, 4
release
end
MossdeepCity_House4_EventScript_222E1E:: @ 8222E1E
lock
faceplayer
waitse
playmoncry SPECIES_SKITTY, 0
msgbox MossdeepCity_House4_Text_222F31, 4
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?$"