aboutsummaryrefslogtreecommitdiffstats
path: root/constants/gfx_constants.asm
diff options
context:
space:
mode:
Diffstat (limited to 'constants/gfx_constants.asm')
-rw-r--r--constants/gfx_constants.asm6
1 files changed, 5 insertions, 1 deletions
diff --git a/constants/gfx_constants.asm b/constants/gfx_constants.asm
index 1a06238c..c3f29ca5 100644
--- a/constants/gfx_constants.asm
+++ b/constants/gfx_constants.asm
@@ -7,7 +7,11 @@ 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 * TILE_1BPP_SIZE
+DEF PIC_WIDTH EQU 7 ; tiles
+DEF PIC_HEIGHT EQU PIC_WIDTH ; tiles
+DEF PIC_SIZE EQU PIC_WIDTH * PIC_HEIGHT ; tiles
+
+DEF SPRITEBUFFERSIZE EQU PIC_WIDTH * PIC_HEIGHT * TILE_1BPP_SIZE
; HP bar
DEF HP_BAR_GREEN EQU 0