Skip to Content
The Alchemy Project

struct SPR_ATTR2_HIGH

A field sprite's byte 9: the top of its first tile and its priority (OAM attribute 2), read as bit-fields.

Declared in scene_actors.h.

Fields

NameDescription
Uint8link [4]
Uint8yattribute 0's y
Uint8attr0Highattribute 0's high byte
Uint8attr1 [2]
Uint8tileLowattribute 2's low byte
Uint8tileHigh : 2
Uint8priority : 2

Description

A field sprite's byte 9: the top of its first tile and its priority (OAM attribute 2), read as bit-fields.

struct SPR_ATTR2_HIGH

Referenced by scActorSetupScriptedPart() and scDehkanPlateauKeepPriorityWithLeader().

Definition at line 12 of file scene_actors.h.

Fields in detail

Uint8 link[4]

y

Uint8 y

attribute 0's y

attr0High

Uint8 attr0High

attribute 0's high byte

attr1

Uint8 attr1[2]

tileLow

Uint8 tileLow

attribute 2's low byte

tileHigh

Uint8 tileHigh : 2

priority

Uint8 priority : 2