A_BounceCheck

From ZDoom Wiki
Jump to navigation Jump to search

A_BounceCheck
(no parameters)

Decrements the calling actor's args[4] variable. If resulting value is negative, also decrements the args[3] variable by one. If that one becomes negative too, plays the sound "SorcererBigBallExplode" and sets the calling actor in its Death state; otherwise resets the args[4] field to a value of 17.

This codepointer is restricted to SorcBall and actors inheriting from it.