A_BrainDie
From DoomWiki.org
A_BrainDie is a code pointer used in the death animation for the Romero's head.
A_BrainDie
immediately exits the level, analogous to pressing a level exit switch or crossing an exit line special type. It is used for the last frame of the boss brain death sequence for the final level.
Uses[edit]
The A_BrainDie
code pointer appears in the following states in Doom's state table:
Frame number | Doom internal name | Use |
---|---|---|
783 | S_BRAIN_DIE4 | death animation for the Romero's head |
Example[edit]
The following is an example of how to set the A_BrainDie
code pointer in a DeHackEd file:
Pointer 21 (Frame 34) Codep Frame = 783
Or using BEX syntax:
[CODEPTR] Frame 1234 = BrainDie
External links[edit]
- A_BrainDie in the Doom source code.
- A_BrainDie at the ZDoom wiki
- BrainDie at the Eternity Engine wiki