Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
RemoveChillOut.inc.c
Go to the documentation of this file.
1#include "common.h"
2#include "map.h"
3
4API_CALLABLE(N(RemoveChillOut)) {
5 Actor* actor = get_actor(script->owner1.actorID);
6 s32 hudElementDataIndex = actor->hudElementDataIndex;
7
8 actor->chillOutTurns = 0;
9 actor->chillOutAmount = 0;
10 remove_status_chill_out(hudElementDataIndex);
11
12 return ApiStatus_DONE2;
13}
s8 chillOutAmount
s16 hudElementDataIndex
#define ApiStatus_DONE2
Definition evt.h:118
Actor * get_actor(s32 actorID)
Definition actor_api.c:155
void remove_status_chill_out(s32)