f26de63
From 3d5811d8f5ef8b14e39635c7ec9fb9f01ca6c62f Mon Sep 17 00:00:00 2001
f26de63
From: jede <jede@oric.org>
f26de63
Date: Sat, 6 Jul 2019 10:19:45 +0200
a4f04fe
Subject: [PATCH 018/170] Fix gotoy changecolor
f26de63
f26de63
---
f26de63
 libsrc/telestrat/gotoy.s | 6 ++++++
f26de63
 1 file changed, 6 insertions(+)
f26de63
f26de63
diff --git a/libsrc/telestrat/gotoy.s b/libsrc/telestrat/gotoy.s
f26de63
index c6010cc2..99ab3ec6 100644
f26de63
--- a/libsrc/telestrat/gotoy.s
f26de63
+++ b/libsrc/telestrat/gotoy.s
f26de63
@@ -10,5 +10,11 @@
f26de63
 .proc _gotoy
f26de63
    sta     SCRY
f26de63
    jsr     _update_adscr
f26de63
+
f26de63
+   ; We change the current line, it means that we need to put color attributes again.
f26de63
+   ; That is not the case with _gotox because, it's on the same line attribute are already set
f26de63
+   lda     #$01             
f26de63
+   sta     CHARCOLOR_CHANGE
f26de63
+   sta     BGCOLOR_CHANGE
f26de63
    rts
f26de63
 .endproc
f26de63
-- 
a4f04fe
2.26.0
f26de63