Paper Mario DX
Paper Mario (N64) modding
Loading...
Searching...
No Matches
RemovePadlock.inc.c
Go to the documentation of this file.
1
#include "common.h"
2
#include "
npc.h
"
3
4
API_CALLABLE(N(RemovePadlock)) {
5
Entity
* entity =
get_entity_by_index
(script->varTable[0]);
6
7
entity->
flags
|=
ENTITY_FLAG_USED
;
8
return
ApiStatus_DONE2
;
9
}
ENTITY_FLAG_USED
@ ENTITY_FLAG_USED
Definition
enums.h:2633
ApiStatus_DONE2
#define ApiStatus_DONE2
Definition
evt.h:118
get_entity_by_index
Entity * get_entity_by_index(s32 index)
Definition
entity.c:530
npc.h
Entity
Definition
common_structs.h:550
Entity::flags
s32 flags
Definition
common_structs.h:551
src
world
common
todo
RemovePadlock.inc.c
Generated by
1.10.0