A_FAxeCheckAtk

From ZDoom Wiki
Jump to navigation Jump to search

A_FAxeCheckAtk
(no parameters)

Checks if the current weapon has enough ammo, and if so, jumps to its FireGlow state.

It's an equivalent of doing the following, in Timon's Axe Fire state:

    FAXE B 4 Offset (15, 32) A_JumpIfInventory ("Mana1", 1, "FireGlow")

This codepointer is restricted to FWeapAxe and derived classes.