diff options
author | IIMarckus <iimarckus@gmail.com> | 2011-12-27 16:31:22 -0700 |
---|---|---|
committer | IIMarckus <iimarckus@gmail.com> | 2011-12-27 16:31:22 -0700 |
commit | 582fa012796ba1a75f88ff3f95d3cfa779016b3c (patch) | |
tree | 0433c873bb2b23d6392a1e4c8d0ef244df74dc25 /constants.asm | |
parent | f7d5b6eb6b0c43f93a1e2c5b71639a1d7c6d0004 (diff) |
Expand some already‐referenced text.
hg-commit-id: d2cf570756e9
Diffstat (limited to 'constants.asm')
-rw-r--r-- | constants.asm | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/constants.asm b/constants.asm index 6338441b..598dd888 100644 --- a/constants.asm +++ b/constants.asm @@ -47,6 +47,16 @@ RGB: MACRO ENDM ; text macros +TX_NUM: MACRO +; print a big-endian decimal number. +; \1: address to read from +; \2: number of bytes to read +; \3: number of digits to display + db $09 + dw \1 + db \2 << 4 | \3 + ENDM + TX_FAR: MACRO db $17 dw \1 @@ -84,6 +94,10 @@ W_CURENEMYLVL EQU $D127 W_ISLINKBATTLE EQU $D12B +W_PLAYERNAME EQU $D158 ; 11 characters, including null + +W_RIVALNAME EQU $D34A ; 11 characters, including null + W_CURMAP EQU $D35E W_YCOORD EQU $D361 ; player’s position on the current map |