Digimon World 3 decomp
The European version, SLES_039.36
Loading...
Searching...
No Matches
ItemEffect Struct Reference

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
 

Detailed Description

What a usable item does (its ItemInfo.data, an ITEM_EFFECT_*)

Definition at line 200 of file game_state.h.

Field Documentation

◆ flags

u8 ItemEffect::flags

ITEM_USE_*.

Definition at line 201 of file game_state.h.

Referenced by FIGHTSTG_updateItemMenu(), STSTATUS_drawItemList(), and STSTATUS_runItemList().

◆ kind

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().

◆ amount

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().


The documentation for this struct was generated from the following file: