aboutsummaryrefslogtreecommitdiff
path: root/src/driver.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/driver.s')
-rw-r--r--src/driver.s13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/driver.s b/src/driver.s
index 1bcef27..fca43f1 100644
--- a/src/driver.s
+++ b/src/driver.s
@@ -892,6 +892,19 @@
lda #$80
sta Driver::zp_flags
+ ;; Clear the sprites from the animation now, as it will be distracting
+ ;; before the player et al are initialized.
+ ldx #0
+ lda #$FF
+ @clear_loop:
+ sta OAM::m_sprites, x
+ inx
+ inx
+ inx
+ inx
+ cpx #(12 * 4) ; NOTE: 12 sprites from the shuttle.
+ bne @clear_loop
+
;; Increase the level :)
inc Globals::zp_level
lda Globals::zp_level