From bb97b63af1fbeca208cb30a41f8195b4408821dc Mon Sep 17 00:00:00 2001 From: luckytyphlosion Date: Sun, 18 Oct 2015 15:37:40 -0400 Subject: Complete documentation of bank3 Also: split out bcd predefs from yellow/main.asm, start removing traces of W_ --- hram.asm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'hram.asm') diff --git a/hram.asm b/hram.asm index 29d38ecb..37eaf029 100644 --- a/hram.asm +++ b/hram.asm @@ -155,6 +155,8 @@ hCoins EQU $FFA0 ; 2-byte BCD number hDivideBCDDivisor EQU $FFA2 ; 3-byte BCD number hDivideBCDQuotient EQU $FFA2 ; 3-byte BCD number +hDivideBCDBuffer EQU $FFA5 ; 3 bytes + hSerialReceivedNewData EQU $FFA9 @@ -322,8 +324,6 @@ hReadJoypad EQU $FFF8 ; 0 to read joypad, anything else skips joypad check ; bit 0: draw HP fraction to the right of bar instead of below (for party menu) ; bit 1: menu is double spaced -hFlags_0xFFF6 EQU $FFFA - hFlags_0xFFFA EQU $FFFA -hGBC EQU $FFFE ; 0 if DMG, 1 if GBC +hGBC EQU $FFFE ; 0 if DMG, != 0 if GBC -- cgit v1.3.1-sl0p