diff --git a/demosplash/create_update_type2.s b/demosplash/create_update_type2.s index df0d512a..d38a0418 100644 --- a/demosplash/create_update_type2.s +++ b/demosplash/create_update_type2.s @@ -151,8 +151,25 @@ setup_escape_inner_loop: tax cpy #43 + bne no_fixup + + iny ; special case last one + iny + +no_fixup: + cpy #50 bne setup_escape_inner_loop + ; fix the one at the end + dey + dey + dey + dey + dey + lda (OUTL),Y + and #$f8 + sta (OUTL),Y + clc lda #47 adc OUTL