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/SSAnneKitchen.asm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'data/maps/objects/SSAnneKitchen.asm') diff --git a/data/maps/objects/SSAnneKitchen.asm b/data/maps/objects/SSAnneKitchen.asm index 5ef35e02..e2559536 100755 --- a/data/maps/objects/SSAnneKitchen.asm +++ b/data/maps/objects/SSAnneKitchen.asm @@ -1,12 +1,12 @@ SSAnneKitchen_Object: db $c ; border block - db 1 ; warps + def_warps warp 6, 0, 10, SS_ANNE_1F - db 0 ; signs + def_signs - db 7 ; objects + def_objects object SPRITE_COOK, 1, 8, WALK, UP_DOWN, 1 ; person object SPRITE_COOK, 5, 8, WALK, UP_DOWN, 2 ; person object SPRITE_COOK, 9, 7, WALK, UP_DOWN, 3 ; person -- 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/SSAnneKitchen.asm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'data/maps/objects/SSAnneKitchen.asm') diff --git a/data/maps/objects/SSAnneKitchen.asm b/data/maps/objects/SSAnneKitchen.asm index e2559536..0bc9adfb 100755 --- a/data/maps/objects/SSAnneKitchen.asm +++ b/data/maps/objects/SSAnneKitchen.asm @@ -15,5 +15,4 @@ SSAnneKitchen_Object: object SPRITE_COOK, 13, 10, STAY, NONE, 6 ; person object SPRITE_COOK, 11, 13, STAY, UP, 7 ; person - ; warp-to - warp_to 6, 0, SS_ANNE_KITCHEN_WIDTH ; SS_ANNE_1F + def_warps_to SS_ANNE_KITCHEN -- cgit v1.2.3