A_Punch
From DoomWiki.org
![]() | This article or section is a stub. Please help the Doom Wiki by adding to it. |

Player punching an imp in E2M2. When the berserk pack is equipped,
A_Punch
can inflict a large amount of damage.A_Punch is a code pointer used in the attack animation for the Fists.
Uses[edit]
The A_Punch
code pointer appears in the following states in Doom's state table:
Frame number | Doom internal name | Use |
---|---|---|
6 | S_PUNCH2 | attack animation for the Fists |
Example[edit]
The following is an example of how to set the A_Punch
code pointer in a Dehacked file:
Pointer 21 (Frame 34) Codep Frame = 6
Or using BEX syntax:
[CODEPTR] Frame 1234 = Punch