summaryrefslogtreecommitdiff
path: root/data/maps/objects/Route12Gate1F.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/Route12Gate1F.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/Route12Gate1F.asm')
-rw-r--r--data/maps/objects/Route12Gate1F.asm18
1 files changed, 9 insertions, 9 deletions
diff --git a/data/maps/objects/Route12Gate1F.asm b/data/maps/objects/Route12Gate1F.asm
index 356bf67a..3f1692e8 100644
--- a/data/maps/objects/Route12Gate1F.asm
+++ b/data/maps/objects/Route12Gate1F.asm
@@ -1,16 +1,16 @@
Route12Gate1F_Object:
db $a ; border block
- def_warps
- warp 4, 0, 0, LAST_MAP
- warp 5, 0, 1, LAST_MAP
- warp 4, 7, 2, LAST_MAP
- warp 5, 7, 2, LAST_MAP
- warp 8, 6, 0, ROUTE_12_GATE_2F
+ def_warp_events
+ warp_event 4, 0, LAST_MAP, 0
+ warp_event 5, 0, LAST_MAP, 1
+ warp_event 4, 7, LAST_MAP, 2
+ warp_event 5, 7, LAST_MAP, 2
+ warp_event 8, 6, ROUTE_12_GATE_2F, 0
- def_signs
+ def_bg_events
- def_objects
- object SPRITE_GUARD, 1, 3, STAY, NONE, 1 ; person
+ def_object_events
+ object_event 1, 3, SPRITE_GUARD, STAY, NONE, 1 ; person
def_warps_to ROUTE_12_GATE_1F