From 5062da19d411219eef15ccb4b9f50fffa5bfa49a Mon Sep 17 00:00:00 2001 From: codemann8 Date: Wed, 21 Apr 2021 00:09:43 -0500 Subject: [PATCH] Fixed visual issue with megatiles with VRAM --- owrando.asm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/owrando.asm b/owrando.asm index 76476e7..5e67a1c 100644 --- a/owrando.asm +++ b/owrando.asm @@ -169,7 +169,9 @@ OWNewDestination: inx #2 ;LinkOpp inx #2 ;ScrollOpp inx #2 ;CamOpp - inx #2 ;: lda.w $0000,x : sta $84;VRAM + inx #2 : lda.w $0000,x : sta $84;VRAM + SEC : SBC #$0400 : AND #$0F00 : ASL : XBA : STA $88 + LDA $84 : SEC : SBC #$0010 : AND #$003E : LSR : STA $86 inx #2 ;: lda.w $0000,x : and #$00ff : sta $624 ;UnknownY inx ;: lda.w $0000,x : and #$00ff : sta $628 ;UnknownX