Fix 2nd silver arrow issue in easy mode

Don't use X/4 to index into `ItemSubstitutionRules`.
This commit is contained in:
Kevin Cathcart
2018-03-16 10:36:55 -04:00
committed by GitHub
parent 3d55dc357e
commit ede55dee85

View File

@@ -1003,10 +1003,11 @@ AttemptItemSubstitution:
PHX
TXA : LSR #2 : TAX
LDA !ITEM_LIMIT_COUNTS, X
PLX
CMP.l ItemSubstitutionRules+1, X : !BLT +
LDA.l ItemSubstitutionRules+2, X : STA 2,s
+
PLX
BEQ .exit
.noMatch
INX #4