summaryrefslogtreecommitdiff
path: root/data/maps/objects/Route1.asm
diff options
context:
space:
mode:
authorYoann Fievez <yoann.fievez@gmail.com>2021-09-27 04:56:09 +0200
committerGitHub <noreply@github.com>2021-09-26 21:56:09 -0500
commit2c4f35848b786864822a3f211df91de30a2857c9 (patch)
treefcf65394ef3a2361d4dce8bd6cadaac8c9d021d3 /data/maps/objects/Route1.asm
parentf1285f8584ce7ff50ceb5e3134c0efc867209096 (diff)
Unify map event gen1 gen2 (#335)
* Update sign to bg_event #289 * Rename warp to warp_event * Replace object to object_event * Move warp macro parameter from warp x, y, id, map to warp_event x, y, map, id
Diffstat (limited to 'data/maps/objects/Route1.asm')
-rw-r--r--data/maps/objects/Route1.asm12
1 files changed, 6 insertions, 6 deletions
diff --git a/data/maps/objects/Route1.asm b/data/maps/objects/Route1.asm
index ee1b03a5..d7e2c751 100644
--- a/data/maps/objects/Route1.asm
+++ b/data/maps/objects/Route1.asm
@@ -1,14 +1,14 @@
Route1_Object:
db $b ; border block
- def_warps
+ def_warp_events
- def_signs
- sign 9, 27, 3 ; Route1Text3
+ def_bg_events
+ bg_event 9, 27, 3 ; Route1Text3
- def_objects
- object SPRITE_YOUNGSTER, 5, 24, WALK, UP_DOWN, 1 ; person
- object SPRITE_YOUNGSTER, 15, 13, WALK, LEFT_RIGHT, 2 ; person
+ def_object_events
+ object_event 5, 24, SPRITE_YOUNGSTER, WALK, UP_DOWN, 1 ; person
+ object_event 15, 13, SPRITE_YOUNGSTER, WALK, LEFT_RIGHT, 2 ; person
def_warps_to ROUTE_1