Alchemy
Loading...
Searching...
No Matches

vault_itemobj.h File Reference

Go to the source code of this file.

Functions

void Vault_PlaceItemIcon (s32 item, s32 fixed_x, s32 fixed_y, s32 fixed_z)
 Creates object 22 at the 16.16 position and draws it as the item's icon: the sprite's own animation is stopped (flags and count 0, 16-colour, palette 0), the object stays put (motionFlags 0), and the icon's tiles, decoded into heap block 17, are loaded into the sprite's VRAM block.

Function Documentation

◆ Vault_PlaceItemIcon()

void Vault_PlaceItemIcon ( s32 item,
s32 fixed_x,
s32 fixed_y,
s32 fixed_z )

Creates object 22 at the 16.16 position and draws it as the item's icon: the sprite's own animation is stopped (flags and count 0, 16-colour, palette 0), the object stays put (motionFlags 0), and the icon's tiles, decoded into heap block 17, are loaded into the sprite's VRAM block.

Definition at line 12 of file vault_itemobj.h.

Referenced by Scene_Initialize(), and Vault_PlaceItemIcon().