A_BrainAwake
From DoomWiki.org
A_BrainAwake is a code pointer used in the normal animation for the Demon Spawner.
A_BrainAwake
is activated when the demon 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
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 Demon Spawner |
Example
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
- A_BrainAwake in the Doom source code.