Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
NormalItemChoice.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 NormalItemChoice.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 95 of file NormalItemChoice.inc.c.

95#define EVT_CHOOSE_ANY_CONSUMABLE(unkMode) \
96 Set(LVar0, NULL) \
97 Set(LVar1, unkMode) \
98 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 100 of file NormalItemChoice.inc.c.

100#define EVT_CHOOSE_CONSUMABLE_FROM(itemList, unkMode) \
101 Set(LVar0, Ref(itemList)) \
102 Set(LVar1, unkMode) \
103 ExecWait(N(EVS_ChooseItem))