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
+13
View File
@@ -0,0 +1,13 @@
MossdeepCity_Mart_EventObjects: @ 8532B50
object_event 1, EVENT_OBJ_GFX_MART_EMPLOYEE, 0, 1, 3, 3, 10, 0, 0, 0, 0, MossdeepCity_Mart_EventScript_2223C8, 0
object_event 2, EVENT_OBJ_GFX_WOMAN_7, 0, 1, 5, 3, 7, 0, 0, 0, 0, MossdeepCity_Mart_EventScript_2223F6, 0
object_event 3, EVENT_OBJ_GFX_BOY_2, 0, 8, 3, 3, 3, 0, 1, 0, 0, MossdeepCity_Mart_EventScript_2223FF, 0
object_event 4, EVENT_OBJ_GFX_SAILOR, 0, 5, 3, 3, 2, 1, 1, 0, 0, MossdeepCity_Mart_EventScript_222408, 0
MossdeepCity_Mart_MapWarps: @ 8532BB0
warp_def 3, 7, 0, 4, MAP_MOSSDEEP_CITY
warp_def 4, 7, 0, 4, MAP_MOSSDEEP_CITY
MossdeepCity_Mart_MapEvents:: @ 8532BC0
map_events MossdeepCity_Mart_EventObjects, MossdeepCity_Mart_MapWarps, 0x0, 0x0
+60
View File
@@ -0,0 +1,60 @@
MossdeepCity_Mart_MapScripts:: @ 82223C7
.byte 0
MossdeepCity_Mart_EventScript_2223C8:: @ 82223C8
lock
faceplayer
message gUnknown_08272A21
waitmessage
pokemart MossdeepCity_Mart_Pokemart_2223E0
msgbox gUnknown_08272A3F, 4
release
end
.align 2
MossdeepCity_Mart_Pokemart_2223E0: @ 82223E0
.2byte ITEM_ULTRA_BALL
.2byte ITEM_NET_BALL
.2byte ITEM_DIVE_BALL
.2byte ITEM_HYPER_POTION
.2byte ITEM_FULL_HEAL
.2byte ITEM_REVIVE
.2byte ITEM_MAX_REPEL
.2byte ITEM_X_ATTACK
.2byte ITEM_X_DEFEND
.2byte ITEM_NONE
release
end
MossdeepCity_Mart_EventScript_2223F6:: @ 82223F6
msgbox MossdeepCity_Mart_Text_222411, 2
end
MossdeepCity_Mart_EventScript_2223FF:: @ 82223FF
msgbox MossdeepCity_Mart_Text_2224A0, 2
end
MossdeepCity_Mart_EventScript_222408:: @ 8222408
msgbox MossdeepCity_Mart_Text_2224FA, 2
end
MossdeepCity_Mart_Text_222411: @ 8222411
.string "REVIVE is fantastic!\p"
.string "Give it to a fainted POKéMON,\n"
.string "and the POKéMON will arise.\p"
.string "But be careful, REVIVE doesnt restore\n"
.string "the used-up PP of moves.$"
MossdeepCity_Mart_Text_2224A0: @ 82224A0
.string "MAX REPEL keeps all weak POKéMON away.\p"
.string "Out of all the REPEL sprays, it lasts\n"
.string "the longest.$"
MossdeepCity_Mart_Text_2224FA: @ 82224FA
.string "The NET and DIVE BALLS are rare POKé\n"
.string "BALLS that are only made in MOSSDEEP.\p"
.string "A NET BALL is effective against\n"
.string "BUG-type and WATER-type POKéMON.\p"
.string "A DIVE BALL works best on POKéMON\n"
.string "at the bottom of the sea.$"