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 @@
BattleFrontier_Mart_EventObjects: @ 853D68C
object_event 1, EVENT_OBJ_GFX_MART_EMPLOYEE, 0, 1, 3, 3, 10, 0, 0, 0, 0, BattleFrontier_Mart_EventScript_267ACC, 0
object_event 2, EVENT_OBJ_GFX_OLD_WOMAN_2, 0, 5, 4, 3, 10, 0, 0, 0, 0, BattleFrontier_Mart_EventScript_267B0B, 0
object_event 3, EVENT_OBJ_GFX_OLD_MAN_2, 0, 5, 5, 3, 10, 0, 0, 0, 0, BattleFrontier_Mart_EventScript_267B02, 0
object_event 4, EVENT_OBJ_GFX_BOY_2, 0, 8, 4, 3, 9, 0, 0, 0, 0, BattleFrontier_Mart_EventScript_267B20, 0
BattleFrontier_Mart_MapWarps: @ 853D6EC
warp_def 3, 7, 0, 4, MAP_BATTLE_FRONTIER_OUTSIDE_WEST
warp_def 4, 7, 0, 4, MAP_BATTLE_FRONTIER_OUTSIDE_WEST
BattleFrontier_Mart_MapEvents:: @ 853D6FC
map_events BattleFrontier_Mart_EventObjects, BattleFrontier_Mart_MapWarps, 0x0, 0x0
+67
View File
@@ -0,0 +1,67 @@
BattleFrontier_Mart_MapScripts:: @ 8267ACB
.byte 0
BattleFrontier_Mart_EventScript_267ACC:: @ 8267ACC
lock
faceplayer
message gUnknown_08272A21
waitmessage
pokemart BattleFrontier_Mart_Pokemart_267AE4
msgbox gUnknown_08272A3F, 4
release
end
.align 2
BattleFrontier_Mart_Pokemart_267AE4: @ 8267AE4
.2byte ITEM_ULTRA_BALL
.2byte ITEM_HYPER_POTION
.2byte ITEM_MAX_POTION
.2byte ITEM_FULL_RESTORE
.2byte ITEM_FULL_HEAL
.2byte ITEM_REVIVE
.2byte ITEM_MAX_REPEL
.2byte ITEM_PROTEIN
.2byte ITEM_CALCIUM
.2byte ITEM_IRON
.2byte ITEM_ZINC
.2byte ITEM_CARBOS
.2byte ITEM_HP_UP
.2byte ITEM_NONE
release
end
BattleFrontier_Mart_EventScript_267B02:: @ 8267B02
msgbox BattleFrontier_Mart_Text_267B29, 2
end
BattleFrontier_Mart_EventScript_267B0B:: @ 8267B0B
lock
applymovement 2, BattleFrontier_Mart_Movement_2725B0
waitmovement 0
msgbox BattleFrontier_Mart_Text_267B8F, 4
release
end
BattleFrontier_Mart_EventScript_267B20:: @ 8267B20
msgbox BattleFrontier_Mart_Text_267C01, 2
end
BattleFrontier_Mart_Text_267B29: @ 8267B29
.string "We came here to chaperon our\n"
.string "grandson.\p"
.string "But since were here, we thought\n"
.string "we should get some souvenirs.$"
BattleFrontier_Mart_Text_267B8F: @ 8267B8F
.string "Dear, what do you think of this?\n"
.string "Wouldnt this make a nice gift?\p"
.string "Its…PRO…TE…IN?\n"
.string "It sounds delicious, doesnt it?$"
BattleFrontier_Mart_Text_267C01: @ 8267C01
.string "A lot of the BATTLE FRONTIERs\n"
.string "facilities dont allow the use of items\l"
.string "during battles.\p"
.string "That rule makes things tougher than\n"
.string "they already are!$"