void drawStageEffect(StageEffect *task, void *arg, s32 idx)
Draws sprite idx of a StageEffect (the second, the one-shot one, 0x20 higher) on LAYER,...
FieldState FIELDSTG_state
FileCache FILE_CACHE
The file cache.
void initSpriteDrawer(SpriteDrawer *obj)
Clears a sprite drawer to neutral (no scale, gray tint, follows the scroll), gives it its methods and...
s32 sheetEntry
the stage's sprite sheet, loaded before the field starts, or 0
void *(* getEntry)(u32 fileAndIndex)
A drawing layer (GFX.funcs.createLayer): a DRAWENV with a pair of ordering tables,...
Draws sprites from a sprite sheet (such as file 0x277, the menu graphics): a sheet has a table of fra...
void(* setLayer)()
(layer, depth)
void(* setClutRow)()
(row)
void(* draw)()
(sheet, frame, x, y)
void(* setTexture)()
(x, y)
A sprite at (x, y) from the stage's sheet (FieldState.sheetEntry) with an animated palette,...
StageSprite sprites[2]
drawn at depth 6 and 4
A sprite of a StageEffect: its frame (0 for none) and palette row.