Made world checks table-based rather than based on OW ID

This commit is contained in:
codemann8
2021-06-03 00:50:25 -05:00
parent ff87b09d4b
commit 6c616a20b2
8 changed files with 110 additions and 12 deletions

View File

@@ -202,7 +202,7 @@ MirrorBonk:
; otherwise fall through to .normal
PHX : PHP
PHB : PHK : PLB
LDA $8A : AND.b #$40 : BEQ .endLoop ;World we're in? branch if we are in LW we don't want bonks
LDX $8A : LDA.l OWTileWorldAssoc, X : BEQ .endLoop ;World we're in? branch if we are in LW we don't want bonks
REP #$30
LDX #$0000
.loop