summaryrefslogtreecommitdiff
path: root/hram.asm
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2015-07-17 01:21:40 -0700
committerYamaArashi <shadow962@live.com>2015-07-17 01:22:00 -0700
commit6931ce96259d366263c63e704dfaac6f241d8e4a (patch)
tree101d51fea00a852808f2a76d9e45a4b3779cab56 /hram.asm
parentaa3da5f3b07b8965bf7d4f1b5449ce67bed4fb87 (diff)
money / coins hram constants
Diffstat (limited to 'hram.asm')
-rw-r--r--hram.asm6
1 files changed, 6 insertions, 0 deletions
diff --git a/hram.asm b/hram.asm
index ee71d4d6..b0d5a942 100644
--- a/hram.asm
+++ b/hram.asm
@@ -92,6 +92,12 @@ hNPCPlayerRelativePosPerspective EQU $FF9B
; 1 = target is to the west
hNPCPlayerRelativePosFlags EQU $FF9D
+hMoney EQU $FF9F ; 3-byte BCD number
+hCoins EQU $FFA0 ; 2-byte BCD number
+
+hDivideBCDDivisor EQU $FFA2 ; 3-byte BCD number
+hDivideBCDQuotient EQU $FFA2 ; 3-byte BCD number
+
hSerialReceivedNewData EQU $FFA9
; $01 = using external clock