Paper Mario DX
Paper Mario (N64) modding
Loading...
Searching...
No Matches
WaitForPlayerToLand.inc.c
Go to the documentation of this file.
1
#include "common.h"
2
#include "
npc.h
"
3
4
API_CALLABLE(N(WaitForPlayerToLand)) {
5
script->varTable[0] = 0;
6
if
((
gPartnerStatus
.
partnerActionState
!=
PARTNER_ACTION_NONE
) && (
gPartnerStatus
.
actingPartner
==
PARTNER_BOMBETTE
)) {
7
script->varTable[0] = 1;
8
}
9
return
ApiStatus_DONE2
;
10
}
PartnerStatus::actingPartner
s8 actingPartner
Definition
common_structs.h:2226
PartnerStatus::partnerActionState
s8 partnerActionState
Definition
common_structs.h:2223
PARTNER_ACTION_NONE
@ PARTNER_ACTION_NONE
Definition
enums.h:2932
PARTNER_BOMBETTE
@ PARTNER_BOMBETTE
Definition
enums.h:2888
ApiStatus_DONE2
#define ApiStatus_DONE2
Definition
evt.h:118
npc.h
gPartnerStatus
PartnerStatus gPartnerStatus
Definition
partners.c:42
src
world
common
todo
WaitForPlayerToLand.inc.c
Generated by
1.10.0