summaryrefslogtreecommitdiff
path: root/constants
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2015-07-17 00:16:27 -0700
committerYamaArashi <shadow962@live.com>2015-07-17 01:22:00 -0700
commitaa3da5f3b07b8965bf7d4f1b5449ce67bed4fb87 (patch)
tree1e0c335792f3635c3c71bb60aee1e8006def102f /constants
parent9fbd9e9a1f23ff3fe09eee2518dd752a6d2e132c (diff)
title / diploma / vending machine
Diffstat (limited to 'constants')
-rw-r--r--constants/misc_constants.asm5
1 files changed, 5 insertions, 0 deletions
diff --git a/constants/misc_constants.asm b/constants/misc_constants.asm
index a0cc1d0a..5eecb38f 100644
--- a/constants/misc_constants.asm
+++ b/constants/misc_constants.asm
@@ -20,9 +20,14 @@ D_LEFT EQU %00100000
D_UP EQU %01000000
D_DOWN EQU %10000000
+PIXELS_PER_TILE EQU 8
+
SCREEN_WIDTH EQU 20
SCREEN_HEIGHT EQU 18
+SCREEN_WIDTH_PIXELS EQU SCREEN_WIDTH * PIXELS_PER_TILE
+SCREEN_HEIGHT_PIXELS EQU SCREEN_HEIGHT * PIXELS_PER_TILE
+
NPC_MOVEMENT_DOWN EQU $00
NPC_MOVEMENT_UP EQU $40
NPC_MOVEMENT_LEFT EQU $80