A_FAxeCheckAtk

From ZDoom Wiki
Revision as of 18:42, 4 May 2012 by Blzut3 (talk | contribs) (Created page with "{{DISPLAYTITLE:A_FAxeCheckAtk}} '''A_FAxeCheckAtk'''<br /> (no parameters) Checks if the current weapon has enough ammo, and if so, jumps to its FireGlow state. It's an equi...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.