Go to the source code of this file.
◆ _COMMON_GIVE_REWARD_H_
#define _COMMON_GIVE_REWARD_H_ |
◆ EVT_GIVE_REWARD
#define EVT_GIVE_REWARD |
( |
| itemID | ) |
|
Value:
ExecWait(N(GiveItemReward)) \
ApiStatus AddItem(Evt *script, b32 isInitialCall)
#define Set(VAR, INT_VALUE)
Sets the given variable to a given value casted to an integer.
Definition at line 18 of file GiveReward.inc.c.
18#define EVT_GIVE_REWARD(itemID) \
19 Set(LVar0, itemID) \
20 ExecWait(N(GiveItemReward)) \
21 Call(AddItem, itemID, LVar1)
◆ EVT_GIVE_STAR_PIECE
#define EVT_GIVE_STAR_PIECE |
( |
| ) |
|
Value:
ExecWait(N(GiveItemReward)) \
ApiStatus AddStarPieces(Evt *script, b32 isInitialCall)
Definition at line 23 of file GiveReward.inc.c.
23#define EVT_GIVE_STAR_PIECE() \
24 Set(LVar0, ITEM_STAR_PIECE) \
25 ExecWait(N(GiveItemReward)) \
26 Call(AddStarPieces, 1)