Prev: 49860 Up: Map Next: 49887
49864: Draw Compass Icon
Used by the routine at StartGame.
Draws the compass icon in the status panel, which is made of two blocks of four characters (two by two) to make an icon that is four characters wide and two high.
Print the left block of the icon.
DrawCompassIcon 49864 LD HL,31343 Point at the character set of the status panel icons.
49867 LD (48044),HL Set it as the font.
49870 LD HL,20603 Set the screen position of the first block of the icon to 20603 (in the screen buffer).
49873 LD DE,49887 Point at the list of characters of the icon.
49876 LD A,70 Use bright yellow ink (attribute 70).
49878 EX AF,AF' Stash the colour on the stack.
49879 CALL PrintCharacterBlock Print the first block of the icon.
Print the right block of the icon.
49882 INC L Move the screen position on by two characters.
49883 INC L
49884 JP PrintCharacterBlock Jump to PrintCharacterBlock to print the second block of the icon.
Prev: 49860 Up: Map Next: 49887