Fixed issue with Inverted Mirror Bonks not getting applied appropriately

This commit is contained in:
codemann8
2022-01-18 03:14:09 -06:00
parent b72f89ff87
commit c79863aad2

View File

@@ -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