diff options
| -rw-r--r-- | .nasm/segments.txt | 2 | ||||
| -rw-r--r-- | src/driver.s | 13 |
2 files changed, 14 insertions, 1 deletions
diff --git a/.nasm/segments.txt b/.nasm/segments.txt index 7f0b6d9..5d8e4c8 100644 --- a/.nasm/segments.txt +++ b/.nasm/segments.txt @@ -1,4 +1,4 @@ - HEADER: 16/16 (100%) -- ROM0: 9201/32762 (28.08%) +- ROM0: 9216/32762 (28.13%) - ROMV: 6/6 (100%) - ROM2: 8192/8192 (100%) 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 |
