fix unusable infinite bombs with empty inventory

This commit is contained in:
Bonta-kun
2019-12-30 06:23:55 +01:00
committed by caitsith2
parent f843ef9eb8
commit af4c84c1aa
3 changed files with 17 additions and 6 deletions

View File

@@ -26,6 +26,12 @@ StoreBombCount:
.finite
PLA : STA $7EF343
RTL
SearchForEquippedItem:
LDA !INFINITE_BOMBS : BEQ +
LDA.b #$01 : LDX.b #$00 : RTL
+
LDA $7EF340 ; thing we wrote over
RTL
!INFINITE_ARROWS = "$7F50C8"
DecrementArrows: