hooray PrintNumber_PrintLeadingZero is also shared

This commit is contained in:
Bryan Bishop
2012-05-29 15:04:19 -05:00
parent 0526702a5e
commit e954781618
2 changed files with 22 additions and 6 deletions

View File

@@ -342,7 +342,16 @@ SpecialsPointers: ; 0xc029
dbw $24,$4a88
dbw $03,$4224
INCBIN "baserom.gbc",$c224,$ffff - $c224
INCBIN "baserom.gbc",$c224,$c644 - $c224
; prints a leading zero unless they are turned off in the flags
PrintNumber_PrintLeadingZero: ; c644
bit 7,d ; print leading zeroes?
ret z
ld [hl],"0"
ret
INCBIN "baserom.gbc",$c64a,$ffff - $c64a
;UnknownText_0xffff: ; 0xffff
; db $0, $21, "ふまひ?へKぷへ", $57