From ddd86a96cfc1ad1a674cd727c22c9602694108e7 Mon Sep 17 00:00:00 2001 From: codemann8 Date: Wed, 2 Feb 2022 20:00:49 -0600 Subject: [PATCH] Minor code improvement --- invertedmaps.asm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/invertedmaps.asm b/invertedmaps.asm index 692d54e..c4ddc47 100644 --- a/invertedmaps.asm +++ b/invertedmaps.asm @@ -1340,8 +1340,7 @@ Overworld_InvertedTRPuzzle: REP #$30 LDA.w #$0212 : LDX.w #$0720 : STA.l $2000,X ; what we wrote over JSL.l Overworld_MemorizeMap16Change : JSL.l Overworld_DrawPersistentMap16+4 ; what we wrote over - SEP #$20 : PLB : REP #$30 - RTL + BRA .return .inverted LDA.b #$A4 : PHA : PLB ; Set the data bank to $7E @@ -1351,6 +1350,8 @@ Overworld_InvertedTRPuzzle: LDA.w #$0184 : LDX.w #$0AA0 : JSL.l Overworld_DrawPersistentMap16 LDA.w #$0185 : LDX.w #$0A22 : JSL.l Overworld_DrawPersistentMap16 LDA.w #$0185 : LDX.w #$0AA2 : JSL.l Overworld_DrawPersistentMap16 + + .return SEP #$20 : PLB : REP #$30 RTL }