Skip to navigation

Elite on the BBC Micro and NES

Charts: HideCrosshairs

[NES version, Bank 0]

Name: HideCrosshairs [Show more] Type: Subroutine Category: Charts Summary: Hide the moveable crosshairs (i.e. the square reticle)
Context: See this subroutine in context in the source code References: This subroutine is called as follows: * TT105 calls HideCrosshairs
.HideCrosshairs LDA #240 ; Set the y-coordinate of sprite 15 to 240, so it is STA ySprite15 ; below the bottom of the screen and is therefore hidden RTS ; Return from the subroutine