Heretic Phoenix Rod with Tome of Power attack.
Fire: PHNX B 3 A_InitPhoenixPL2 Hold: PHNX C 1 bright A_FirePhoenixPL2 PHNX B 4 A_ReFire Powerdown: PHNX B 4 A_SubtractAmmo goto Ready
Must be called from a player weapon state. Checks weapon counter 0, which shall be called here as flamecount. Decrements it.
- If after the decrement flamecount is 0, it will jump the weapon to the Powerdown Decorate state, and reset the refire count (thus blocking weapon autofire if the weaponinfo has the NOAUTOFIRE flag).
- If after the decrement flamecount is nonzero, it will shoot a projectile of dehackednum 442 (HereticPhoenixFX2 in Heretic) towards the view pitch (autoaiming will not work). It will also play sound of dehackednum 416 (ht_phopow in Heretic) on first fire and at every 38 gametics.
This action does not consume ammo; it's up to other codepointers to do so for this attack.