From e2c99f19103856426966e30cf1910d07995bb936 Mon Sep 17 00:00:00 2001 From: Rangi Date: Mon, 17 Aug 2020 16:54:59 -0400 Subject: Use def_* macros for automatic map event counts --- data/maps/objects/Route8Gate.asm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'data/maps/objects/Route8Gate.asm') diff --git a/data/maps/objects/Route8Gate.asm b/data/maps/objects/Route8Gate.asm index d6739d3d..ae68bce0 100755 --- a/data/maps/objects/Route8Gate.asm +++ b/data/maps/objects/Route8Gate.asm @@ -1,15 +1,15 @@ Route8Gate_Object: db $a ; border block - db 4 ; warps + def_warps warp 0, 3, 0, LAST_MAP warp 0, 4, 1, LAST_MAP warp 5, 3, 2, LAST_MAP warp 5, 4, 3, LAST_MAP - db 0 ; signs + def_signs - db 1 ; objects + def_objects object SPRITE_GUARD, 2, 1, STAY, DOWN, 1 ; person ; warp-to -- cgit v1.2.3 From 4373aafac152f64621bf3d8c6b8d037cd9c76f7b Mon Sep 17 00:00:00 2001 From: Rangi Date: Mon, 17 Aug 2020 17:47:28 -0400 Subject: Use def_warps_to macro for automatic warp_to entries --- data/maps/objects/Route8Gate.asm | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'data/maps/objects/Route8Gate.asm') diff --git a/data/maps/objects/Route8Gate.asm b/data/maps/objects/Route8Gate.asm index ae68bce0..6e406a3c 100755 --- a/data/maps/objects/Route8Gate.asm +++ b/data/maps/objects/Route8Gate.asm @@ -12,8 +12,4 @@ Route8Gate_Object: def_objects object SPRITE_GUARD, 2, 1, STAY, DOWN, 1 ; person - ; warp-to - warp_to 0, 3, ROUTE_8_GATE_WIDTH - warp_to 0, 4, ROUTE_8_GATE_WIDTH - warp_to 5, 3, ROUTE_8_GATE_WIDTH - warp_to 5, 4, ROUTE_8_GATE_WIDTH + def_warps_to ROUTE_8_GATE -- cgit v1.2.3