include/game/inventory.h
OverflowItem, an item slot the spoils code uses when items are handed out.
#include "edition.h"#include "types.h"#include "battle/battle_action_run.h"#include "battle/playback_queue.h"#include "game/item.h"#include "system.h"#include "game/main_routine_state.h"
Included by battle_internal.h and item_equip.c.
Variables
| Name | Description | |
|---|---|---|
extern Uint16 | OverflowItem | The item the battle spoils could not fit in the inventory. |
Description
OverflowItem, an item slot the spoils code uses when items are handed out.
Variables in detail
OverflowItem
extern Uint16 OverflowItem
The item the battle spoils could not fit in the inventory. It is
MainRoutineStateWork.pendingItem under a second name (system/ewram.s places
it at that offset), which fdEngineRun gives on the return to the field when
the party has room.
Referenced by btAwardSpoils().
Definition at line 18 of file inventory.h.