Skip to Content
The Alchemy Project

src/scene/shared/item_equip.c

Colosseum Final 1, 2 and 3, and Goma Cave Entrance: giving a character an item and putting it on.

Included by colosseum_azart_match.c, colosseum_navampa_match.c, colosseum_satrage_match.c and goma_cave_entrance.c.

Functions

NameDescription
static voidscGiveAndEquipItem (Sint32 character, Sint32 item)Gives the character the item, then equips every inventory slot that holds it.

Description

Colosseum Final 1, 2 and 3, and Goma Cave Entrance: giving a character an item and putting it on.

Functions in detail

scGiveAndEquipItem

static void scGiveAndEquipItem(Sint32 character, Sint32 item)

Gives the character the item, then equips every inventory slot that holds it.

References gmInventoryAddItem(), gmInventoryEquip(), gmUnitGet() and Sint32.

Definition at line 7 of file item_equip.c.