Fix 2nd silver arrow issue in easy mode
Don't use X/4 to index into `ItemSubstitutionRules`.
This commit is contained in:
@@ -1003,10 +1003,11 @@ AttemptItemSubstitution:
|
|||||||
PHX
|
PHX
|
||||||
TXA : LSR #2 : TAX
|
TXA : LSR #2 : TAX
|
||||||
LDA !ITEM_LIMIT_COUNTS, X
|
LDA !ITEM_LIMIT_COUNTS, X
|
||||||
CMP.l ItemSubstitutionRules+1, X : !BLT +
|
|
||||||
LDA.l ItemSubstitutionRules+2, X : STA 2,s
|
|
||||||
+
|
|
||||||
PLX
|
PLX
|
||||||
|
CMP.l ItemSubstitutionRules+1, X : !BLT +
|
||||||
|
LDA.l ItemSubstitutionRules+2, X : STA 2,s
|
||||||
|
+
|
||||||
|
|
||||||
BEQ .exit
|
BEQ .exit
|
||||||
.noMatch
|
.noMatch
|
||||||
INX #4
|
INX #4
|
||||||
|
|||||||
Reference in New Issue
Block a user