move storage of BOMB_LEVEL to make it play nicely with starting equipment

This commit is contained in:
2021-07-13 11:02:59 -07:00
parent e81905a517
commit bdd665db24
9 changed files with 14 additions and 15 deletions

View File

@@ -1,6 +1,5 @@
;--------------------------------------------------------------------------------
!ANCILLA_DAMAGE = "$06EC84"
!BOMB_LEVEL = "$7EF4A8"
; start with X = sprite index, A = ancilla type index
;--------------------------------------------------------------------------------
DamageClassCalc:
@@ -262,7 +261,7 @@ DrawSwordInMenu:
LDA.w #$F859 : STA $04
RTL
.bombSword
LDA $7EF4A8 : AND.w #$00FF : STA $02
LDA !BOMB_LEVEL : AND.w #$00FF : STA $02
LDA.w #$FC51 : STA $04
RTL
;--------------------------------------------------------------------------------