![]() |
Routines |
| Prev: BC10 | Up: Map | Next: BC7A |
|
Used by the routines at RunGame and DisplaySunMoonFrame.
Prints the number of days that have passed on the panel, and makes the attributes there bright white.
|
||||
|
Print the days and make their attributes bright white.
|
||||
| PrintDays | BC66 | LD HL,$D9E2 | Point HL at the position of the days in the screen buffer, ScreenBuffer_PanelDays. | |
| BC69 | LD DE,$5BB9 | Point DE at Days. | ||
| BC6C | LD B,$01 | Set the number of bytes to print to 01. | ||
| BC6E | CALL PrintBCDNumber | Print the number of days. | ||
| BC71 | LD HL,$5AEF | Point HL at the attributes of the days. | ||
| BC74 | LD (HL),$47 | Make the first one bright white. | ||
| BC76 | INC L | Move on to the next one. | ||
| BC77 | LD (HL),$47 | Make it bright white as well. | ||
| BC79 | RET | Return. | ||
| Prev: BC10 | Up: Map | Next: BC7A |