Prev: 48144 Up: Map Next: 48250
48230: Print Days
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 48230 LD HL,55778 Point HL at the position of the days in the screen buffer, ScreenBuffer_PanelDays.
48233 LD DE,23481 Point DE at Days.
48236 LD B,1 Set the number of bytes to print to 1.
48238 CALL PrintBCDNumber Print the number of days.
48241 LD HL,23279 Point HL at the attributes of the days.
48244 LD (HL),71 Make the first one bright white.
48246 INC L Move on to the next one.
48247 LD (HL),71 Make it bright white as well.
48249 RET Return.
Prev: 48144 Up: Map Next: 48250