ref: 2b1a6f582221a38d97ca478c2c037f0a5c2f11e9
parent: 274de92cfe14d85c33501308083c24085f54e943
author: Bryan Bishop <kanzure@gmail.com>
date: Thu Jan 19 09:56:37 EST 2012
player id, money, and coins hg-commit-id: fdfaad9605f8
--- a/constants.asm
+++ b/constants.asm
@@ -203,8 +203,16 @@
W_BAGITEM20 EQU $D344
W_BAGCOUNT20 EQU $D345
+; money is in decimal
+W_PLAYERMONEY3 EQU $D347
+W_PLAYERMONEY2 EQU $D348
+W_PLAYERMONEY1 EQU $D349
+
W_RIVALNAME EQU $D34A ; 11 characters, including null
+W_PLAYERIDHI EQU $D359
+W_PLAYERIDLO EQU $D35A
+
W_CURMAP EQU $D35E
W_YCOORD EQU $D361 ; player’s position on the current map
@@ -360,6 +368,10 @@
W_BOXITEM50 EQU $D59D
W_BOXCOUNT50 EQU $D59E
;box end of list $D59F
+
+; coins are in decimal
+W_PLAYERCOINSHI EQU $D5A4
+W_PLAYERCOINSLO EQU $D5A5
W_SAFARITIMERHI EQU $D70D ; use 01 for maximum
W_SAFARITIMERLO EQU $D70E ; use F4 for maximum