diff options
author | Daniel Harding <corrnondacqb@yahoo.com> | 2015-07-17 10:49:54 -0500 |
---|---|---|
committer | Daniel Harding <corrnondacqb@yahoo.com> | 2015-07-17 10:49:54 -0500 |
commit | 6e46ec61f9a324116ef016397cdce9e67f75e77f (patch) | |
tree | 101d51fea00a852808f2a76d9e45a4b3779cab56 /constants | |
parent | fb559f1f4e0104bfc59350359a2fb82fbe88ebba (diff) | |
parent | 6931ce96259d366263c63e704dfaac6f241d8e4a (diff) |
Merge pull request #103 from YamaArashi/master
Misc changes again
Diffstat (limited to 'constants')
-rw-r--r-- | constants/misc_constants.asm | 5 |
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 |