diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2018-04-04 16:14:48 -0400 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2018-04-04 16:14:48 -0400 |
commit | 145efc13535fbc9d8ab2786d29209d97aebf0481 (patch) | |
tree | d5cb92f123195ba8b063b245c04ad9198e7982cb /constants/gfx_constants.asm | |
parent | aec3802587c8cd6955cce119d56a4e4970e83ba5 (diff) |
Use constants for screen size in metatiles
Diffstat (limited to 'constants/gfx_constants.asm')
-rw-r--r-- | constants/gfx_constants.asm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/constants/gfx_constants.asm b/constants/gfx_constants.asm index 71220d58d..04cd41b6d 100644 --- a/constants/gfx_constants.asm +++ b/constants/gfx_constants.asm @@ -18,8 +18,10 @@ BG_MAP_WIDTH EQU 32 ; tiles BG_MAP_HEIGHT EQU 32 ; tiles METATILE_WIDTH EQU 4 ; tiles -SURROUNDING_WIDTH EQU 6 * METATILE_WIDTH ; tiles -SURROUNDING_HEIGHT EQU 5 * METATILE_WIDTH ; tiles +SCREEN_META_WIDTH EQU 6 ; metatiles +SCREEN_META_HEIGHT EQU 5 ; metatiles +SURROUNDING_WIDTH EQU SCREEN_META_WIDTH * METATILE_WIDTH ; tiles +SURROUNDING_HEIGHT EQU SCREEN_META_HEIGHT * METATILE_WIDTH ; tiles HP_BAR_LENGTH EQU 6 ; tiles |