A_BrainAwake

From DoomWiki.org

Revision as of 16:56, 4 January 2024 by Nockson (talk | contribs) (fix caps and wls, fmtg, add wls)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

John Romero's head on a stick is the "boss brain" but it is a different thing, the invisible monster spawner, that plays the wakeup sound.

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:

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]