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
4
API_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
}
Actor::chillOutAmount
s8 chillOutAmount
Definition
common_structs.h:1935
Actor::hudElementDataIndex
s16 hudElementDataIndex
Definition
common_structs.h:1953
Actor::chillOutTurns
s8 chillOutTurns
Definition
common_structs.h:1936
Actor
Definition
common_structs.h:1854
ApiStatus_DONE2
#define ApiStatus_DONE2
Definition
evt.h:118
get_actor
Actor * get_actor(s32 actorID)
Definition
actor_api.c:155
remove_status_chill_out
void remove_status_chill_out(s32)
Definition
status_icons.c:1154
src
common
RemoveChillOut.inc.c
Generated by
1.10.0