EVENT CHECKTOUCHDAMAGE
EVENT_CHECKTOUCHDAMAGE is a Game Event.
This event is triggered in P_CheckTouchDamage() whenever the player collides with walls and sprites. The value of RETURN is set to the result provided by clipmove() and so can be decoded in the same way. The value of RETURN when the event is over can also be manipulated to control some of the hard coded damage effects.