struct SELECTION_SPR
A selection screen sprite: a list link and its OAM attributes.
Declared in select.h.
Fields
| Name | Description | |
|---|---|---|
struct SELECTION_SPR * | next | |
Uint8 | y | |
Uint8 | affine : 2 | |
Uint8 | mode : 2 | |
Uint8 | mosaic : 1 | |
Uint8 | colors : 1 | |
Uint8 | shape : 2 | |
Uint16 | x : 9 | |
Uint16 | matrix : 5 | the affine matrix |
Uint16 | size : 2 | |
Uint16 | tile : 10 | |
Uint16 | priority : 2 | |
Uint16 | palette : 4 |
Description
A selection screen sprite: a list link and its OAM attributes.
struct SELECTION_SPR
Referenced by mnBattleTargetRunSelection(), mnConfirmSelection(), mnSelectionMenuCreate(), mnSelectionMenuDraw(), mnSelectionMenuDrawArrow(), mnSelectionMenuSetupArrow() and mnSelectionMenuSetupIcon().
Definition at line 13 of file select.h.
Fields in detail
next
struct SELECTION_SPR *next
y
Uint8 y
affine
Uint8 affine : 2
mode
Uint8 mode : 2
mosaic
Uint8 mosaic : 1
colors
Uint8 colors : 1
shape
Uint8 shape : 2
x
Uint16 x : 9
matrix
Uint16 matrix : 5
the affine matrix
size
Uint16 size : 2
tile
Uint16 tile : 10
priority
Uint16 priority : 2
palette
Uint16 palette : 4