aboutsummaryrefslogtreecommitdiffstats
path: root/constants
diff options
context:
space:
mode:
authorEngezerstorung <154867622+Engezerstorung@users.noreply.github.com>2025-01-28 18:08:12 +0100
committerGitHub <noreply@github.com>2025-01-28 12:08:12 -0500
commit96fc617c69bca4fe717bd590e03bdd1fae1349e4 (patch)
tree3f93427841648bc5ae1dd35f523548409abdf46f /constants
parentUse `EFFECT_1E` (diff)
downloadpokeyellow-96fc617c69bca4fe717bd590e03bdd1fae1349e4.tar.gz
pokeyellow-96fc617c69bca4fe717bd590e03bdd1fae1349e4.tar.xz
pokeyellow-96fc617c69bca4fe717bd590e03bdd1fae1349e4.zip
Correct wTileMapBackup declared space (#487)
Diffstat (limited to 'constants')
-rw-r--r--constants/gfx_constants.asm7
1 files changed, 7 insertions, 0 deletions
diff --git a/constants/gfx_constants.asm b/constants/gfx_constants.asm
index 79d9647f..08cf8dc7 100644
--- a/constants/gfx_constants.asm
+++ b/constants/gfx_constants.asm
@@ -10,6 +10,13 @@ DEF SCREEN_HEIGHT_PX EQU SCREEN_HEIGHT * TILE_WIDTH ; pixels
DEF BG_MAP_WIDTH EQU 32 ; tiles
DEF BG_MAP_HEIGHT EQU 32 ; tiles
+DEF BLOCK_WIDTH EQU 4 ; tiles
+DEF BLOCK_HEIGHT EQU BLOCK_WIDTH ; tiles
+DEF SCREEN_BLOCK_WIDTH EQU 6 ; blocks
+DEF SCREEN_BLOCK_HEIGHT EQU 5 ; blocks
+DEF SURROUNDING_WIDTH EQU SCREEN_BLOCK_WIDTH * BLOCK_WIDTH ; tiles
+DEF SURROUNDING_HEIGHT EQU SCREEN_BLOCK_HEIGHT * BLOCK_HEIGHT ; tiles
+
DEF SPRITEBUFFERSIZE EQU 7 * 7 * LEN_1BPP_TILE
; HP bar