Alchemy
Loading...
Searching...
No Matches

resource.h File Reference

The parts of a battle sprite id. More...

Go to the source code of this file.

Macros

#define SPRITE_ID_MASK   0xfff
 A battle sprite id's low twelve bits; the two-part sprites' second part is their id + 0x2001.
#define SPRITE_SECOND_PART   0x2001

Detailed Description

The parts of a battle sprite id.

Definition in file resource.h.

Macro Definition Documentation

◆ SPRITE_ID_MASK

#define SPRITE_ID_MASK   0xfff

A battle sprite id's low twelve bits; the two-part sprites' second part is their id + 0x2001.

Definition at line 13 of file resource.h.

Referenced by BattleActor_SpawnObjectsForList().

◆ SPRITE_SECOND_PART

#define SPRITE_SECOND_PART   0x2001

Definition at line 14 of file resource.h.

Referenced by BattleActor_SpawnObjectsForList(), and BattleFx_RunParticleStreams().