Prev: CD50 Up: Map Next: CE72
CE64: Apply Wave Border Colour
Used by the routine at Stage_Next_Wave.
Reads the border colour byte from the wave definition at HL, stores it in Border_Colour, then redraws the playfield border and refreshes the attribute colour bar. Called from Stage_Next_Wave.
Input
HL Pointer to the border colour byte in the wave definition
Apply_Wave_Border_Colour CE64 LD A,(HL) Read the new border colour and write it to Border_Colour.
CE65 LD ($C42E),A
CE68 INC HL Advance HL to the next wave definition byte.
CE69 PUSH HL Redraw the playfield border and refresh the colour bar.
CE6A CALL DrawPlayfieldBorder
CE6D CALL UpdateAttributeBar
CE70 POP HL
CE71 RET Return.
Prev: CD50 Up: Map Next: CE72