IfNe(pitch, 10000) \
ApiStatus SetCamPitch(Evt *script, b32 isInitialCall)
ApiStatus GetCamPitch(Evt *script, b32 isInitialCall)
ApiStatus SetCamDistance(Evt *script, b32 isInitialCall)
ApiStatus GetCamDistance(Evt *script, b32 isInitialCall)
#define EndIf
Marks the end of an if statement or an else block.
#define Call(FUNC, ARGS...)
Calls a given C EVT API function with any number of arguments.
10#define EVT_SPIRIT_ADJUST_CAM(pitch) \
11 Call(GetCamDistance, CAM_DEFAULT, LVar1) \
12 Sub(LVar1, 100) \
13 Call(SetCamDistance, CAM_DEFAULT, LVar1) \
14 IfNe(pitch, 10000) \
15 Call(GetCamPitch, CAM_DEFAULT, LVar2, LVar3) \
16 Call(SetCamPitch, CAM_DEFAULT, LVar2, pitch) \
17 EndIf