A_FAxeCheckReadyG

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

A_FAxeCheckReadyG
(no parameters)

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

    FAXE L 1 A_WeaponReady
    FAXE L 0 A_JumpIfNoAmmo ("Ready")
    FAXE L 1 A_WeaponReady
    FAXE L 0 A_JumpIfNoAmmo ("Ready")
    FAXE L 1 A_WeaponReady
    FAXE L 0 A_JumpIfNoAmmo ("Ready")
    FAXE M 1 A_WeaponReady
    FAXE M 0 A_JumpIfNoAmmo ("Ready")
    FAXE M 1 A_WeaponReady
    FAXE M 0 A_JumpIfNoAmmo ("Ready")
    FAXE M 1 A_WeaponReady
    FAXE M 0 A_JumpIfNoAmmo ("Ready")
    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.