summaryrefslogtreecommitdiff
path: root/constants.asm
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2012-01-11 11:45:21 -0600
committerBryan Bishop <kanzure@gmail.com>2012-01-11 11:45:21 -0600
commit3dc998e060b0b5eef9edfdb7f48cceb4f8d318fa (patch)
tree297f43bd38afdf5235f8d338c99dec84fbaa8d70 /constants.asm
parent58f94c6b0d21f4bf12684dc9bac9244d33dcf92c (diff)
parent92a0acca73fcb9c71b01757da9ceadc7e862355e (diff)
Merge in sawakita's coincase work.
hg-commit-id: 3265210c8894
Diffstat (limited to 'constants.asm')
-rw-r--r--constants.asm11
1 files changed, 11 insertions, 0 deletions
diff --git a/constants.asm b/constants.asm
index f3ec0a5c..dafee50e 100644
--- a/constants.asm
+++ b/constants.asm
@@ -2,6 +2,8 @@ RED EQU 1
BLUE EQU 0
GREEN EQU 0
+;\1 = X
+;\2 = Y
FuncCoord: MACRO
Coord = $C3A0 + 20 * \2 + \1
ENDM
@@ -139,10 +141,16 @@ W_CURENEMYLVL EQU $D127
W_ISLINKBATTLE EQU $D12B
+W_PRIZE1 EQU $D13D
+W_PRIZE2 EQU $D13E
+W_PRIZE3 EQU $D13F
+
W_PLAYERNAME EQU $D158 ; 11 characters, including null
W_NUMINPARTY EQU $D163
+W_NUMBAGITEMS EQU $D31D
+
W_RIVALNAME EQU $D34A ; 11 characters, including null
W_CURMAP EQU $D35E
@@ -150,6 +158,9 @@ W_CURMAP EQU $D35E
W_YCOORD EQU $D361 ; player’s position on the current map
W_XCOORD EQU $D362
+W_PLAYERCOINS1 EQU $D5A4
+W_PLAYERCOINS2 EQU $D5A5
+
W_RIVALSTARTER EQU $D715
W_PLAYERSTARTER EQU $D717