summaryrefslogtreecommitdiff
path: root/constants
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2015-08-14 02:46:12 -0700
committerYamaArashi <shadow962@live.com>2015-08-14 02:46:12 -0700
commitb6ac1018c29592d667a559016baa18301f21dad4 (patch)
treeed4bc64da7db87958b7b27e0e4590bcf27a2eddc /constants
parent599a6aeaaf81e7174577c782f3b3ba113a4a4c39 (diff)
add border constant and clear up misnomer
Diffstat (limited to 'constants')
-rwxr-xr-xconstants/connection_constants.asm4
-rw-r--r--constants/misc_constants.asm9
2 files changed, 9 insertions, 4 deletions
diff --git a/constants/connection_constants.asm b/constants/connection_constants.asm
index 916d6c4f..154c4163 100755
--- a/constants/connection_constants.asm
+++ b/constants/connection_constants.asm
@@ -1,3 +1,7 @@
+; width of east/west connections
+; height of north/south connections
+MAP_BORDER EQU 3
+
; connection directions
EAST EQU 1
WEST EQU 2
diff --git a/constants/misc_constants.asm b/constants/misc_constants.asm
index 9fa50e9c..43dc908e 100644
--- a/constants/misc_constants.asm
+++ b/constants/misc_constants.asm
@@ -25,13 +25,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
+SCREEN_WIDTH_PIXELS EQU SCREEN_WIDTH * 8
+SCREEN_HEIGHT_PIXELS EQU SCREEN_HEIGHT * 8
+
+BG_MAP_WIDTH EQU 32
+BG_MAP_HEIGHT EQU 32
NPC_MOVEMENT_DOWN EQU $00
NPC_MOVEMENT_UP EQU $40