.BOMBOFF LDA #%11000000 ; Clear bit 4 of moonflower so the screen returns to STA moonflower ; standard bitmap mode, so the space view goes back to ; its normal monochrome, small-pixel appearance LDA #0 ; Set welcome to 0 to stop the background colour from STA welcome ; flashing different colours (as 0 represents black, and ; the energy bomb flashes between black and the colour ; in welcome) RTS ; Return from the subroutineName: BOMBOFF [Show more] Type: Subroutine Category: Drawing the screen Summary: Switch off the energy bomb effectContext: See this subroutine in context in the source code References: This subroutine is called as follows: * Main flight loop (Part 13 of 16) calls BOMBOFF * RES2 calls BOMBOFF
Returns: A A is set to 0
[X]
Variable moonflower (category: Drawing the screen)
Controls the energy bomb effect by switching between multicolour and standard mode
[X]
Variable welcome (category: Drawing the screen)
The background colour for the upper and lower parts of the screen, used by the energy bomb to flash the screen's background colour