Skip to Content
The Alchemy Project

src/battle/unused_portrait_pairs.c

Unused: a copy of the speakers' portrait maps, linked among the battle code and read by nothing. More…

Variables

NameDescription
const Sint16BattleUnusedCharacterPortraits [][2]{character, portrait} pairs, ending in -1, as in PortraitCharacterMap.
const Sint16BattleUnusedSpritePortraits [][2]Djinn, shopkeepers, townspeople and named people who speak with a portrait, each portrait counted from PORTRAIT_FIRST_SPRITE_PORTRAIT.

Description

Unused: a copy of the speakers' portrait maps, linked among the battle code and read by nothing. The message window looks portraits up in its own PortraitCharacterMap and PortraitSpriteMap, which hold the same pairs.

Variables in detail

BattleUnusedCharacterPortraits

const Sint16 BattleUnusedCharacterPortraits[][2]

{character, portrait} pairs, ending in -1, as in PortraitCharacterMap.

Definition at line 11 of file unused_portrait_pairs.c.

BattleUnusedSpritePortraits

const Sint16 BattleUnusedSpritePortraits[][2]

Djinn, shopkeepers, townspeople and named people who speak with a portrait, each portrait counted from PORTRAIT_FIRST_SPRITE_PORTRAIT.

Definition at line 27 of file unused_portrait_pairs.c.