From f2947738326da82aa785601e43a37bbaa111478a Mon Sep 17 00:00:00 2001 From: codemann8 Date: Wed, 21 Apr 2021 00:10:45 -0500 Subject: [PATCH] Fixed issue with DW transitions causing hardlocking mapwrap crashes --- owrando.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/owrando.asm b/owrando.asm index 5e67a1c..73cb072 100644 --- a/owrando.asm +++ b/owrando.asm @@ -196,7 +196,7 @@ OWNewDestination: ora #$ff00 ;extend 8-bit negative to 16-bit negative + pha cpy #$0002 : lda $700 : !bge + - and #$00f0 : pha : lda $04 : asl : and #$00f0 : !sub 1,s : tax : pla : txa + and #$00f0 : pha : lda $04 : asl : and #$0070 : !sub 1,s : tax : pla : txa !add 1,s : tax : pla : txa : asl : asl : asl : asl : asl : pha : bra ++ + and #$000f : pha : lda $04 : asl : and #$000f : !sub 1,s : !add 3,s sep #$10 : tax : phx : ldx #$0 : phx : rep #$10 : pla : plx : plx : pha