struct WORLD_MAP_OAM
A FIELD_SPR read as its sprite attribute 1, whose top two bits are the sprite size where FIELD_SPR names them its flips.
Declared in world_map.c.
Fields
| Name | Description | |
|---|---|---|
Uint8 | filler [6] | FIELD_SPR's unused bytes and attribute 0, not read here. |
Uint16 | x : 9 | |
Uint16 | affineIndex : 5 | |
Uint16 | size : 2 |
Description
A FIELD_SPR read as its sprite attribute 1, whose top two bits are the sprite
size where FIELD_SPR names them its flips.
struct WORLD_MAP_OAM
Referenced by scWorldMapSpawnTwinSparks().
Definition at line 41 of file world_map.c.
Fields in detail
filler
Uint8 filler[6]
FIELD_SPR's unused bytes and attribute 0, not read here.
x
Uint16 x : 9
affineIndex
Uint16 affineIndex : 5
size
Uint16 size : 2