Move non-swords not damaging enemies to high bit of special weapons

This commit is contained in:
2023-09-04 14:46:34 -05:00
parent 52c3033282
commit 826f6f6795
12 changed files with 116 additions and 155 deletions

View File

@@ -664,20 +664,20 @@ ItemBehavior:
.prog_weapon
LDA.l SpecialWeaponLevel : INC : STA.l SpecialWeaponLevel
LDA.l SpecialWeapons : CMP #$01 : BEQ ..bombs
CMP #$03 : BEQ ..byrna
CMP #$04 : BEQ ..somaria
CMP #$08 : BEQ ..bug_net
LDA.l SpecialWeapons : AND.b #$7F : CMP.b #$01 : BEQ ..bombs
CMP.b #$03 : BEQ ..byrna
CMP.b #$04 : BEQ ..somaria
CMP.b #$08 : BEQ ..bug_net
RTS
..bombs
LDA #$01 : STA.l InfiniteBombs : RTS
LDA.b #$01 : STA.l InfiniteBombs : RTS
INC.w UpdateHUD
..byrna
LDA #$01 : STA.l ByrnaEquipment : RTS
LDA.b #$01 : STA.l ByrnaEquipment : RTS
..somaria
LDA #$01 : STA.l SomariaEquipment : RTS
LDA.b #$01 : STA.l SomariaEquipment : RTS
..bug_net
LDA #$01 : STA.l BugNetEquipment : RTS
LDA.b #$01 : STA.l BugNetEquipment : RTS
ResolveReceipt:
PHA : PHX