.HideSightSprites LDA #240 ; Set A to the y-coordinate that's just below the bottom ; of the screen, so we can hide the sight sprites by ; moving them off-screen STA ySprite5 ; Set the y-coordinates for the five laser sight sprites STA ySprite6 ; to 240, to move them off-screen STA ySprite7 STA ySprite8 STA ySprite9 RTS ; Return from the subroutineName: HideSightSprites [Show more] Type: Subroutine Category: Flight Summary: Hide the sprites for the laser sights in the space viewContext: See this subroutine in context in the source code References: This subroutine is called as follows: * SIGHT calls HideSightSprites
[X]
Variable ySprite5 in workspace Sprite buffer
Screen y-coordinate for sprite 5
[X]
Variable ySprite6 in workspace Sprite buffer
Screen y-coordinate for sprite 6
[X]
Variable ySprite7 in workspace Sprite buffer
Screen y-coordinate for sprite 7
[X]
Variable ySprite8 in workspace Sprite buffer
Screen y-coordinate for sprite 8
[X]
Variable ySprite9 in workspace Sprite buffer
Screen y-coordinate for sprite 9