From da9b26f5fe66f691fee4e4cb502b0bae9ebad784 Mon Sep 17 00:00:00 2001 From: neauoire Date: Sat, 10 Dec 2022 21:04:10 -0800 Subject: [PATCH] Fixed drawing issue --- src/dexe.tal | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/dexe.tal b/src/dexe.tal index 60a3960..48aa6d8 100644 --- a/src/dexe.tal +++ b/src/dexe.tal @@ -623,10 +623,12 @@ JMP2 INC GTHk ,&bytes-loop JCN POP2 - .tile-frame/x LDZ2 .Screen/y DEI2 ;&row LDA2 #01 + ( tiles ) + .tile-frame/x LDZ2 ;&y LDA2 ;&row LDA2 #01 ;draw-tile JSR2 - .tile-frame/x LDZ2 #0010 ADD2 .Screen/y DEI2 #0010 SUB2 ;&row LDA2 #0008 ADD2 #01 + .tile-frame/x LDZ2 #0010 ADD2 ;&y LDA2 ;&row LDA2 #0008 ADD2 #01 ;draw-tile JSR2 + ;&y LDA2 .Screen/y DEO2 .char-frame/x LDZ2 .Screen/x DEO2 -- 2.45.2