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

Go to the source code of this file.

Macros

#define _COMMON_KEY_CHOICE_
 
#define _CHOICE_SUPPORT_
 
#define EVT_CHOOSE_ANY_KEY_ITEM()
 
#define EVT_CHOOSE_KEY_ITEM_FROM(itemList)
 

Macro Definition Documentation

◆ _COMMON_KEY_CHOICE_

#define _COMMON_KEY_CHOICE_

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

◆ _CHOICE_SUPPORT_

#define _CHOICE_SUPPORT_

◆ EVT_CHOOSE_ANY_KEY_ITEM

#define EVT_CHOOSE_ANY_KEY_ITEM ( )
Value:
Set(LVar0, NULL) \
Set(LVar1, 0) \
ExecWait(N(EVS_ChooseKeyItem))
#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 100 of file KeyItemChoice.inc.c.

100#define EVT_CHOOSE_ANY_KEY_ITEM() \
101 Set(LVar0, NULL) \
102 Set(LVar1, 0) \
103 ExecWait(N(EVS_ChooseKeyItem))

◆ EVT_CHOOSE_KEY_ITEM_FROM

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

Definition at line 105 of file KeyItemChoice.inc.c.

105#define EVT_CHOOSE_KEY_ITEM_FROM(itemList) \
106 Set(LVar0, Ref(itemList)) \
107 Set(LVar1, 0) \
108 ExecWait(N(EVS_ChooseKeyItem))