Skip to navigation


Drawing sprites: SetScreenForUpdate

[NES version, Bank 7]

Name: SetScreenForUpdate [Show more] Type: Subroutine Category: Drawing sprites Summary: Get the screen ready for updating by hiding all sprites, after fading the screen to black if we are changing view
Context: See this subroutine in context in the source code References: This subroutine is called as follows: * BuyAndSellCargo calls SetScreenForUpdate * DEATH calls SetScreenForUpdate * EQSHP calls SetScreenForUpdate * SVE calls SetScreenForUpdate * TT23 calls SetScreenForUpdate * TT66 calls SetScreenForUpdate * UpdateViewWithFade calls SetScreenForUpdate
.SetScreenForUpdate LDA QQ11a ; If QQ11 = QQ11a, then we are not currently changing CMP QQ11 ; view, so jump to HideMostSprites to hide all sprites BEQ HideMostSprites ; except for sprite 0 and the icon bar pointer ; Otherwise fall through into FadeAndHideSprites to fade ; the screen to black and hide all the sprites