.BOMBEFF2 JSR P%+3 \ This pair of JSRs runs the following code four times JSR BOMBEFF .BOMBEFF LDY #sobomb \ Call the NOISE routine with Y = 6 to make the sound of JSR NOISE \ an energy bomb going off JSR BOMBOFF \ Our energy bomb is going off, so call BOMBOFF to draw \ the current zig-zag lightning bolt, which will erase \ it from the screen \ Fall through into BOMBON to set up and display a new \ zig-zag lightning boltName: BOMBEFF2 [Show more] Type: Subroutine Category: Drawing lines Summary: Erase the energy bomb zig-zag lightning bolt, make the sound of the energy bomb going off, draw a new bolt and repeat four timesContext: See this subroutine in context in the source code References: This subroutine is called as follows: * Main flight loop (Part 13 of 16) calls BOMBEFF2
[X]
Label BOMBEFF is local to this routine
[X]
Subroutine BOMBOFF (category: Drawing lines)
Draw the zig-zag lightning bolt for the energy bomb
[X]
Subroutine NOISE (category: Sound)
Make the sound whose number is in Y by populating the sound buffer
[X]
Configuration variable sobomb = 6
Sound 6 = Energy bomb