Paper Mario DX
Paper Mario (N64) modding
Loading...
Searching...
No Matches
GetLastEventType.inc.c
Go to the documentation of this file.
1
#include "common.h"
2
3
API_CALLABLE(N(
GetLastEventType
)) {
4
Bytecode
* args =
script
->ptrReadPos;
5
Actor
* actor =
get_actor
(
script
->owner1.actorID);
6
7
actor->
lastEventType
=
evt_get_variable
(
script
, *args++);
8
9
return
ApiStatus_DONE2
;
10
}
PopupMenu_SelectedIndex
BSS s32 PopupMenu_SelectedIndex
Definition
8a860_len_3f30.c:84
Actor::lastEventType
s8 lastEventType
Definition
common_structs.h:1902
Actor
Definition
common_structs.h:1855
ApiStatus_DONE2
#define ApiStatus_DONE2
Definition
evt.h:118
Bytecode
s32 Bytecode
Definition
evt.h:7
evt_get_variable
s32 evt_get_variable(Evt *script, Bytecode var)
Definition
evt.c:1689
get_actor
Actor * get_actor(s32 actorID)
Definition
actor_api.c:155
src
common
GetLastEventType.inc.c
Generated by
1.10.0