A_FAxeCheckUpG

Calls A_Raise and checks if the current weapon has enough ammo. If it doesn't, jumps to its Select state.

A_FAxeCheckUpG
(no parameters)

It's a shortcut for doing the following, in Timon's Axe SelectGlow state:

    FAXE L 0 A_JumpIfNoAmmo ("Select")
    FAXE L 1 A_Raise
    FAXE L 0 A_JumpIfNoAmmo ("Select")
    FAXE L 1 A_Raise
    FAXE L 0 A_JumpIfNoAmmo ("Select")
    FAXE L 1 A_Raise
    FAXE M 0 A_JumpIfNoAmmo ("Select")
    FAXE M 1 A_Raise
    FAXE M 0 A_JumpIfNoAmmo ("Select")
    FAXE M 1 A_Raise
    FAXE M 0 A_JumpIfNoAmmo ("Select")
    FAXE M 1 A_Raise
    loop

This codepointer is restricted to FWeapAxe and derived classes.

This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.