aboutsummaryrefslogtreecommitdiffstats
path: root/constants
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2014-09-17 21:02:59 -0700
committeryenatch <yenatch@gmail.com>2014-09-17 21:14:32 -0700
commit3de9d14d3e1ed14b880c0064a6141d9d9ca9b828 (patch)
tree666cc6232cd0d77b1995899020f453fbdb4f1946 /constants
parentDon't define addresses for ROM0 sections in home.asm. (diff)
downloadpokeyellow-3de9d14d3e1ed14b880c0064a6141d9d9ca9b828.tar.gz
pokeyellow-3de9d14d3e1ed14b880c0064a6141d9d9ca9b828.tar.xz
pokeyellow-3de9d14d3e1ed14b880c0064a6141d9d9ca9b828.zip
Recomment misc functions in home.asm.
Diffstat (limited to 'constants')
-rw-r--r--constants/misc_constants.asm22
1 files changed, 13 insertions, 9 deletions
diff --git a/constants/misc_constants.asm b/constants/misc_constants.asm
index 29f15035..62067171 100644
--- a/constants/misc_constants.asm
+++ b/constants/misc_constants.asm
@@ -1,12 +1,3 @@
-A_BUTTON EQU %00000001
-B_BUTTON EQU %00000010
-SELECT EQU %00000100
-START EQU %00001000
-D_RIGHT EQU %00010000
-D_LEFT EQU %00100000
-D_UP EQU %01000000
-D_DOWN EQU %10000000
-
MAX_LEVEL EQU 100
NUM_MOVES EQU 4
@@ -18,3 +9,16 @@ NUM_BOXES EQU 12
HOF_MON EQU $10
HOF_TEAM EQU PARTY_LENGTH * HOF_MON
NUM_HOF_TEAMS EQU 50
+
+
+A_BUTTON EQU %00000001
+B_BUTTON EQU %00000010
+SELECT EQU %00000100
+START EQU %00001000
+D_RIGHT EQU %00010000
+D_LEFT EQU %00100000
+D_UP EQU %01000000
+D_DOWN EQU %10000000
+
+SCREEN_WIDTH EQU 20
+SCREEN_HEIGHT EQU 18