summaryrefslogtreecommitdiff
path: root/data/maps/attributes/Route2.asm
diff options
context:
space:
mode:
authorluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2018-07-17 14:10:02 -0400
committerluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2018-07-17 14:10:02 -0400
commit4a526ba36123dbd96ac7f4770ec04f04f56ea56e (patch)
tree282d57ff3c2926376c960561af113c46480402c8 /data/maps/attributes/Route2.asm
parent3b704c267c4810b0d7ec2048300fcd08bad21a53 (diff)
Split attributes into individual files.
Diffstat (limited to 'data/maps/attributes/Route2.asm')
-rw-r--r--data/maps/attributes/Route2.asm25
1 files changed, 25 insertions, 0 deletions
diff --git a/data/maps/attributes/Route2.asm b/data/maps/attributes/Route2.asm
new file mode 100644
index 0000000..594d1ed
--- /dev/null
+++ b/data/maps/attributes/Route2.asm
@@ -0,0 +1,25 @@
+INCLUDE "constants.asm"
+
+SECTION "data/maps/attributes/Route2.asm", ROMX
+ map_attributes Route2, ROUTE_2, WEST | EAST
+ connection west, West, WEST, -3, 2, 15
+ connection east, OldCity, OLD_CITY, -3, 2, 15
+
+Route2_MapEvents::
+ dw $4000 ; unknown
+
+ db 2 ; warp events
+ warp_event 6, 5, 3, ROUTE_2_GATE_1F, wOverworldMapBlocks + 67
+ warp_event 15, 4, 1, ROUTE_2_HOUSE, wOverworldMapBlocks + 71
+
+ db 3 ; bg events
+ bg_event 15, 4, 0, 3
+ bg_event 14, 5, 0, 1
+ bg_event 24, 10, 0, 2
+
+ db 3 ; person events
+ object_event 19, 11, SPRITE_YOUNGSTER, SLOW_STEP_LEFT, 0, 0, -1, -1, 0, 0, 0, 5, 0, 0
+ object_event 15, 7, SPRITE_YOUNGSTER, FACE_UP, 1, 1, -1, -1, 0, 0, 0, 0, 0, 0
+ object_event 10, 8, SPRITE_YOUNGSTER, STEP_DOWN, 0, 0, -1, -1, 0, 0, 0, 3, 0, 0
+
+Route2_Blocks:: INCBIN "maps/blk/Route2.blk"