From d271d6917549074e721f3e5064b77e1ad1dbe44a Mon Sep 17 00:00:00 2001 From: Remy Oukaour Date: Mon, 29 Jan 2018 02:31:32 -0500 Subject: Add warp, sign, and warp_to macros for data/mapObjects definitions --- data/mapObjects/powerplant.asm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'data/mapObjects/powerplant.asm') diff --git a/data/mapObjects/powerplant.asm b/data/mapObjects/powerplant.asm index a04cb657..01fc94c7 100755 --- a/data/mapObjects/powerplant.asm +++ b/data/mapObjects/powerplant.asm @@ -2,9 +2,9 @@ PowerPlantObject: db $2e ; border block db $3 ; warps - db $23, $4, $3, $ff - db $23, $5, $3, $ff - db $b, $0, $3, $ff + warp $4, $23, $3, $ff + warp $5, $23, $3, $ff + warp $0, $b, $3, $ff db $0 ; signs @@ -25,6 +25,6 @@ PowerPlantObject: object SPRITE_BALL, $14, $20, STAY, NONE, $e, TM_33 ; warp-to - EVENT_DISP POWER_PLANT_WIDTH, $23, $4 - EVENT_DISP POWER_PLANT_WIDTH, $23, $5 - EVENT_DISP POWER_PLANT_WIDTH, $b, $0 + warp_to $4, $23, POWER_PLANT_WIDTH + warp_to $5, $23, POWER_PLANT_WIDTH + warp_to $0, $b, POWER_PLANT_WIDTH -- cgit v1.3.1-sl0p