1#ifndef _COMMON_GIVE_REWARD_H_
2#define _COMMON_GIVE_REWARD_H_
18#define EVT_GIVE_REWARD(itemID) \
20 ExecWait(N(GiveItemReward)) \
21 Call(AddItem, itemID, LVar1)
23#define EVT_GIVE_STAR_PIECE() \
24 Set(LVar0, ITEM_STAR_PIECE) \
25 ExecWait(N(GiveItemReward)) \
26 Call(AddStarPieces, 1)
@ ITEM_PICKUP_FLAG_1_COIN
ApiStatus ShowGotItem(Evt *script, b32 isInitialCall)
#define End
Signals the end of EVT script data. A script missing this will likely crash on load.
#define Call(FUNC, ARGS...)
Calls a given C EVT API function with any number of arguments.
#define Return
Kills the current EVT thread.