Skip to Content
The Alchemy Project

struct OAM_WORDS

The oam_words group. More…

Declared in definitions.h.

Fields

NameDescription
volatile Uint32attr01attr0 | attr1 << 16
volatile Uint32attr2attr2 | affine value << 16

Description

The oam_words group. OAM_WORDS, a sprite entry a function builds by hand and DMA copies to OAM. One sprite's two OAM words. volatile: the words are built in place for the DMA to copy to OAM.

struct OAM_WORDS

Referenced by fdLuckyDiceRun() and fdLuckyWheelsUpdate().

Definition at line 1166 of file definitions.h.

Fields in detail

attr01

volatile Uint32 attr01

attr0 | attr1 << 16

attr2

volatile Uint32 attr2

attr2 | affine value << 16