Skip to navigation


Drawing ships: HideExplosionBurst

[NES version, Bank 7]

Name: HideExplosionBurst [Show more] Type: Subroutine Category: Drawing ships Summary: Hide the four sprites that make up the explosion burst that flashes up when a ship explodes
Context: See this subroutine in context in the source code References: This subroutine is called as follows: * DOEXP calls HideExplosionBurst * LL164 calls HideExplosionBurst * RES2 calls HideExplosionBurst
.HideExplosionBurst LDX #4 ; Set X = 4 so we hide four sprites LDY #236 ; Set Y so we start hiding from sprite 236 / 4 = 59 JMP HideSprites ; Jump to HideSprites to hide four sprites from sprite ; 59 onwards (i.e. 59 to 62), returning from the ; subroutine using a tail call