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 | the sprite queue's link |
Uint8 | y | screen pixels |
Uint8 | affine : 2 | 0 plain, 1 affine, 3 affine at double size |
Uint8 | mode : 2 | 0 normal, 1 semi-transparent, 2 OBJ |
Uint8 | mosaic : 1 | window |
Uint8 | colors : 1 | 1 for 256 colours |
Uint8 | shape : 2 | 0 square, 1 wide, 2 tall |
Uint16 | x : 9 | screen pixels |
Uint16 | matrix : 5 | the affine matrix |
Uint16 | size : 2 | with shape, the sprite's size |
Uint16 | tile : 10 | first sprite tile in VRAM |
Uint16 | priority : 2 | |
Uint16 | palette : 4 | 16-colour palette |
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 12 of file select.h.
Fields in detail
next
struct SELECTION_SPR *next
the sprite queue's link
y
Uint8 y
screen pixels
affine
Uint8 affine : 2
0 plain, 1 affine, 3 affine at double size
mode
Uint8 mode : 2
0 normal, 1 semi-transparent, 2 OBJ
mosaic
Uint8 mosaic : 1
window
colors
Uint8 colors : 1
1 for 256 colours
shape
Uint8 shape : 2
0 square, 1 wide, 2 tall
x
Uint16 x : 9
screen pixels
matrix
Uint16 matrix : 5
the affine matrix
size
Uint16 size : 2
with shape, the sprite's size
tile
Uint16 tile : 10
first sprite tile in VRAM
priority
Uint16 priority : 2
palette
Uint16 palette : 4
16-colour palette