diff options
| author | Rangi42 <sylvie.oukaour+rangi42@gmail.com> | 2025-07-02 17:25:03 -0400 |
|---|---|---|
| committer | Rangi42 <sylvie.oukaour+rangi42@gmail.com> | 2025-07-02 17:25:03 -0400 |
| commit | aa85c0046d06b306d99e3b48460782ac04814975 (patch) | |
| tree | 2917e98c91c0ad8a00ce4c471b964bc5279c7746 /ram | |
| parent | Use more audio constants (diff) | |
| download | pokeyellow-aa85c0046d06b306d99e3b48460782ac04814975.tar.gz pokeyellow-aa85c0046d06b306d99e3b48460782ac04814975.tar.xz pokeyellow-aa85c0046d06b306d99e3b48460782ac04814975.zip | |
Define `MAX_WARP_EVENTS`
Diffstat (limited to 'ram')
| -rw-r--r-- | ram/wram.asm | 4 |
1 files changed, 2 insertions, 2 deletions
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 |
