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
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user