|
Digimon World 3 decomp
The European version, SLES_039.36
|
What a usable item does (its ItemInfo.data, an ITEM_EFFECT_*) More...
#include <engine/game_state.h>
Data Fields | |
| u8 | flags |
| ITEM_USE_*. | |
| u8 | kind |
| 1 heals amount HP, 2-17 raise a stat by up to amount (STSTATUS_useItem) | |
| u16 | amount |
| the HP it heals, the gauge it fills, a boost in 128ths | |
What a usable item does (its ItemInfo.data, an ITEM_EFFECT_*)
Definition at line 200 of file game_state.h.
| u8 ItemEffect::flags |
ITEM_USE_*.
Definition at line 201 of file game_state.h.
Referenced by FIGHTSTG_updateItemMenu(), STSTATUS_drawItemList(), and STSTATUS_runItemList().
| u8 ItemEffect::kind |
1 heals amount HP, 2-17 raise a stat by up to amount (STSTATUS_useItem)
Definition at line 202 of file game_state.h.
Referenced by STSTATUS_useItem().
| u16 ItemEffect::amount |
the HP it heals, the gauge it fills, a boost in 128ths
Definition at line 203 of file game_state.h.
Referenced by boostAttack(), boostDefense(), boostSpeed(), confuseFighters(), fillGauge(), healPartner(), lowerEnemySpeed(), setItemScript(), and STSTATUS_useItem().