From c79863aad21aaed1945a75d63edaca5411118011 Mon Sep 17 00:00:00 2001 From: codemann8 Date: Tue, 18 Jan 2022 03:14:09 -0600 Subject: [PATCH] Fixed issue with Inverted Mirror Bonks not getting applied appropriately --- inverted.asm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/inverted.asm b/inverted.asm index 2d4f6a6..4adedd6 100644 --- a/inverted.asm +++ b/inverted.asm @@ -202,7 +202,10 @@ MirrorBonk: ; otherwise fall through to .normal PHX : PHP PHB : PHK : PLB - LDX $8A : LDA.l OWTileWorldAssoc, X : BNE .endLoop ;World we're in? branch if we are in LW we don't want bonks + LDX $8A : LDA.l OWTileWorldAssoc, X + TAX : LDA.l InvertedMode : BEQ + + TXA : EOR #$40 : TAX + + TXA : BNE .endLoop ;World we're in? branch if we are in LW we don't want bonks REP #$30 LDX #$0000 .loop