Better looking dirt explosions, at cost of some terrain artifcats

This commit is contained in:
blondie7575 2020-01-05 16:18:01 -08:00
parent 1c880dba1d
commit 0f2d1e7f06
2 changed files with 2 additions and 2 deletions

4
dirt.s
View File

@ -266,8 +266,8 @@ updateDirtParticleContinue:
beq updateDirtParticleKill ; Offscreen, so we're done beq updateDirtParticleKill ; Offscreen, so we're done
lda SHADOWVRAMBANK,x lda SHADOWVRAMBANK,x
beq updateDirtParticleStillAlive ; All sky, so carry on beq updateDirtParticleStillAlive ; All sky, so carry on
cmp #$11 ; cmp #$11
bne updateDirtParticleKill ; Not dirt, so we're done ; bne updateDirtParticleKill ; Not dirt, so we're done
lda dirtParticles+DP_VY,y lda dirtParticles+DP_VY,y
bmi updateDirtParticleKill ; +Y velocity on dirt, so we're done bmi updateDirtParticleKill ; +Y velocity on dirt, so we're done

Binary file not shown.