diff --git a/pixi/slope_sprite_base.asm b/pixi/slope_sprite_base.asm index 8c92a58..6d6acdd 100644 --- a/pixi/slope_sprite_base.asm +++ b/pixi/slope_sprite_base.asm @@ -32,6 +32,13 @@ ; INIT CODE ;======================================================================================================================= print "INIT ",pc + LDA !D8,x ;\ + SEC ;| offset y-position by 1 pixel + SBC #$01 ;| + STA !D8,x ;| + LDA !14D4,x ;| + SBC #$00 ;| + STA !14D4,x ;/ ;======================================================================================================================= ; MAIN JSL CODE ;======================================================================================================================= @@ -237,4 +244,4 @@ MOVEMENT: RETURN_MOVEMENT: - RTS \ No newline at end of file + RTS