Prev: 52560 Up: Map Next: 52850
52836: 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 52836 LD A,(HL) Read the new border colour and write it to Border_Colour.
52837 LD (50222),A
52840 INC HL Advance HL to the next wave definition byte.
52841 PUSH HL Redraw the playfield border and refresh the colour bar.
52842 CALL DrawPlayfieldBorder
52845 CALL UpdateAttributeBar
52848 POP HL
52849 RET Return.
Prev: 52560 Up: Map Next: 52850