diff options
author | IIMarckus <iimarckus@gmail.com> | 2018-10-03 12:35:21 -0600 |
---|---|---|
committer | IIMarckus <iimarckus@gmail.com> | 2018-10-03 12:35:21 -0600 |
commit | 1ef55364cb911ed70d51f8d01ea7f9a09d2d8d3b (patch) | |
tree | 4e3400e91af17e2d2fa6d85433482d54516cbc7f /maps/Route5.asm | |
parent | ed33ea6efc98761b1902dd43fe047d2fc6ad2a68 (diff) |
Add map objects from bank 4F.
Diffstat (limited to 'maps/Route5.asm')
-rw-r--r-- | maps/Route5.asm | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/maps/Route5.asm b/maps/Route5.asm new file mode 100644 index 00000000..103c17d5 --- /dev/null +++ b/maps/Route5.asm @@ -0,0 +1,56 @@ + const_def 2 ; object constants + const ROUTE5_POKEFAN_M + +Route5_MapScripts: + db 0 ; scene scripts + + db 0 ; callbacks + +Route5PokefanMScript: + jumptextfaceplayer Route5PokefanMText + +Route5UndergroundPathSign: + jumptext Route5UndergroundPathSignText + +HouseForSaleSign: + jumptext HouseForSaleSignText + +Route5PokefanMText: + text "The road is closed" + line "until the problem" + + para "at the POWER PLANT" + line "is solved." + done + +Route5UndergroundPathSignText: + text "UNDERGROUND PATH" + + para "CERULEAN CITY -" + line "VERMILION CITY" + done + +HouseForSaleSignText: + text "What's this?" + + para "House for Sale…" + line "Nobody lives here." + done + +Route5_MapEvents: + db 0, 0 ; filler + + db 4 ; warp events + warp_event 17, 15, ROUTE_5_UNDERGROUND_PATH_ENTRANCE, 1 + warp_event 8, 17, ROUTE_5_SAFFRON_GATE, 1 + warp_event 9, 17, ROUTE_5_SAFFRON_GATE, 2 + warp_event 10, 11, ROUTE_5_CLEANSE_TAG_HOUSE, 1 + + db 0 ; coord events + + db 2 ; bg events + bg_event 17, 17, BGEVENT_READ, Route5UndergroundPathSign + bg_event 10, 11, BGEVENT_READ, HouseForSaleSign + + db 1 ; object events + object_event 17, 16, SPRITE_POKEFAN_M, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, Route5PokefanMScript, EVENT_ROUTE_5_6_POKEFAN_M_BLOCKS_UNDERGROUND_PATH |