A_BrainAwake
From DoomWiki.org
A_BrainAwake is a code pointer used in the normal animation for the monster spawner.
A_BrainAwake
is activated when the monster spawner observes the player for the first time. It initializes the internal table of boss targets that are used by A_BrainSpit when firing spawn cubes. Secondly, it plays the DSBOSSIT sound effect, the infamous backmasked message of "To win the game you must kill me, John Romero".
Uses[edit]
The A_BrainAwake
code pointer appears in the following states in Doom's state table:
Frame number | Doom internal name | Use |
---|---|---|
785 | S_BRAINEYESEE | normal animation for the monster spawner |
Example[edit]
The following is an example of how to set the A_BrainAwake
code pointer in a DeHackEd file:
Pointer 21 (Frame 34) Codep Frame = 785
Or using BEX syntax:
[CODEPTR] Frame 1234 = BrainAwake
External links[edit]
- A_BrainAwake in the Doom source code.
- A_BrainAwake at the ZDoom wiki
- BrainAwake at the Eternity Engine wiki