Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
ConsumableItemChoice.inc.c File Reference

Go to the source code of this file.

Macros

#define _COMMON_CONSUMABLE_CHOICE_
 
#define _CHOICE_SUPPORT_
 
#define EVT_CHOOSE_ANY_CONSUMABLE(unkMode)
 
#define EVT_CHOOSE_CONSUMABLE_FROM(itemList, unkMode)
 

Macro Definition Documentation

◆ _COMMON_CONSUMABLE_CHOICE_

#define _COMMON_CONSUMABLE_CHOICE_

Definition at line 2 of file ConsumableItemChoice.inc.c.

◆ _CHOICE_SUPPORT_

#define _CHOICE_SUPPORT_

◆ EVT_CHOOSE_ANY_CONSUMABLE

#define EVT_CHOOSE_ANY_CONSUMABLE ( unkMode)
Value:
Set(LVar0, NULL) \
Set(LVar1, unkMode) \
ExecWait(N(EVS_ChooseItem))
#define Set(VAR, INT_VALUE)
Sets the given variable to a given value casted to an integer.
Definition macros.h:365
#define LVar1
Definition macros.h:149
#define LVar0
Definition macros.h:148

Definition at line 99 of file ConsumableItemChoice.inc.c.

99#define EVT_CHOOSE_ANY_CONSUMABLE(unkMode) \
100 Set(LVar0, NULL) \
101 Set(LVar1, unkMode) \
102 ExecWait(N(EVS_ChooseItem))

◆ EVT_CHOOSE_CONSUMABLE_FROM

#define EVT_CHOOSE_CONSUMABLE_FROM ( itemList,
unkMode )
Value:
Set(LVar0, Ref(itemList)) \
Set(LVar1, unkMode) \
ExecWait(N(EVS_ChooseItem))
#define Ref(sym)
Address/pointer constant.
Definition macros.h:60

Definition at line 104 of file ConsumableItemChoice.inc.c.

104#define EVT_CHOOSE_CONSUMABLE_FROM(itemList, unkMode) \
105 Set(LVar0, Ref(itemList)) \
106 Set(LVar1, unkMode) \
107 ExecWait(N(EVS_ChooseItem))