DeHackEd / BEX Reference/Eternity Extension: SPRITES Block

From Eternity Wiki
Jump to: navigation, search

In Ty Halderman's change log he noted that sprite, sound, and music renaming should be implemented as separate blocks. Up until now, it has only been possible to replace these strings with the old DeHackEd-style text blocks, which are impractical to use and have limitations.

The SPRITES block can change the 4-letter prefix of any sprite type.

Back to DeHackEd / BEX Reference


  <mnemonic> = <string>

The <mnemonic> to use is the normal sprite name. That is, if you want to rename the sprite that's normally named TROO, you use the mnemonic TROO, even if TROO has already been changed to a new string. Changing the sprite names will not change their corresponding mnemonics.

<string> must be exactly 4 characters long, or the substitution will not occur.