From aa85c0046d06b306d99e3b48460782ac04814975 Mon Sep 17 00:00:00 2001 From: Rangi42 Date: Wed, 2 Jul 2025 17:25:03 -0400 Subject: Define `MAX_WARP_EVENTS` --- ram/wram.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ram') diff --git a/ram/wram.asm b/ram/wram.asm index f93d37d7..4e3e6411 100644 --- a/ram/wram.asm +++ b/ram/wram.asm @@ -1815,11 +1815,11 @@ wObjectDataPointerTemp:: dw ; the tile shown outside the boundaries of the map wMapBackgroundTile:: db -; number of warps in current map (up to 32) +; number of warps in current map (up to MAX_WARP_EVENTS) wNumberOfWarps:: db ; current map warp entries -wWarpEntries:: ds 32 * 4 ; Y, X, warp ID, map ID +wWarpEntries:: ds MAX_WARP_EVENTS * 4 ; Y, X, warp ID, map ID ; if $ff, the player's coordinates are not updated when entering the map wDestinationWarpID:: db -- cgit v1.3.1-sl0p