;Power Bombs as Charge Beam "ammo" by person701
;Purpose of code: if player has Power Bombs and Charge Beam both equiped,
;they will fire a charge shot at the cost of 1 Power Bomb.
lorom

org $90B8D0
	JMP $F640

org $90F640
	LDA $09D2
	CMP #$0003
	BNE +
	LDA $09A7
	BIT #$0010
	BNE ++
	+
	LDA $09A6
	JMP $B8D3
	++
	DEC $09CE
	BNE +
	STZ $09D2
	+
	JMP $B9C7