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/Route7Gate.asm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'data/maps/objects/Route7Gate.asm') diff --git a/data/maps/objects/Route7Gate.asm b/data/maps/objects/Route7Gate.asm index 6f7557f9..dc050767 100755 --- a/data/maps/objects/Route7Gate.asm +++ b/data/maps/objects/Route7Gate.asm @@ -1,15 +1,15 @@ Route7Gate_Object: db $a ; border block - db 4 ; warps + def_warps warp 0, 3, 3, LAST_MAP warp 0, 4, 3, LAST_MAP warp 5, 3, 0, LAST_MAP warp 5, 4, 1, LAST_MAP - db 0 ; signs + def_signs - db 1 ; objects + def_objects object SPRITE_GUARD, 3, 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/Route7Gate.asm | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'data/maps/objects/Route7Gate.asm') diff --git a/data/maps/objects/Route7Gate.asm b/data/maps/objects/Route7Gate.asm index dc050767..70628740 100755 --- a/data/maps/objects/Route7Gate.asm +++ b/data/maps/objects/Route7Gate.asm @@ -12,8 +12,4 @@ Route7Gate_Object: def_objects object SPRITE_GUARD, 3, 1, STAY, DOWN, 1 ; person - ; warp-to - warp_to 0, 3, ROUTE_7_GATE_WIDTH - warp_to 0, 4, ROUTE_7_GATE_WIDTH - warp_to 5, 3, ROUTE_7_GATE_WIDTH - warp_to 5, 4, ROUTE_7_GATE_WIDTH + def_warps_to ROUTE_7_GATE -- cgit v1.2.3