aboutsummaryrefslogtreecommitdiffstats
path: root/constants
diff options
context:
space:
mode:
authorDaniel Harding <corrnondacqb@yahoo.com>2015-07-17 10:49:54 -0500
committerDaniel Harding <corrnondacqb@yahoo.com>2015-07-17 10:49:54 -0500
commit6e46ec61f9a324116ef016397cdce9e67f75e77f (patch)
tree101d51fea00a852808f2a76d9e45a4b3779cab56 /constants
parentMore direction constants (diff)
parentmoney / coins hram constants (diff)
downloadpokeyellow-6e46ec61f9a324116ef016397cdce9e67f75e77f.tar.gz
pokeyellow-6e46ec61f9a324116ef016397cdce9e67f75e77f.tar.xz
pokeyellow-6e46ec61f9a324116ef016397cdce9e67f75e77f.zip
Merge pull request #103 from YamaArashi/master
Misc changes again
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