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/Route6Gate.asm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'data/maps/objects/Route6Gate.asm') diff --git a/data/maps/objects/Route6Gate.asm b/data/maps/objects/Route6Gate.asm index 2f8a6f20..4fb88e74 100755 --- a/data/maps/objects/Route6Gate.asm +++ b/data/maps/objects/Route6Gate.asm @@ -1,15 +1,15 @@ Route6Gate_Object: db $a ; border block - db 4 ; warps + def_warps warp 3, 5, 2, LAST_MAP warp 4, 5, 2, LAST_MAP warp 3, 0, 1, LAST_MAP warp 4, 0, 1, LAST_MAP - db 0 ; signs + def_signs - db 1 ; objects + def_objects object SPRITE_GUARD, 6, 2, STAY, LEFT, 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/Route6Gate.asm | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'data/maps/objects/Route6Gate.asm') diff --git a/data/maps/objects/Route6Gate.asm b/data/maps/objects/Route6Gate.asm index 4fb88e74..fb6dbc14 100755 --- a/data/maps/objects/Route6Gate.asm +++ b/data/maps/objects/Route6Gate.asm @@ -12,8 +12,4 @@ Route6Gate_Object: def_objects object SPRITE_GUARD, 6, 2, STAY, LEFT, 1 ; person - ; warp-to - warp_to 3, 5, ROUTE_6_GATE_WIDTH - warp_to 4, 5, ROUTE_6_GATE_WIDTH - warp_to 3, 0, ROUTE_6_GATE_WIDTH - warp_to 4, 0, ROUTE_6_GATE_WIDTH + def_warps_to ROUTE_6_GATE -- cgit v1.2.3