Paper Mario DX
Paper Mario (N64) modding
Loading...
Searching...
No Matches
Functions
ChangeNpcToPartner.inc.c File Reference
Go to the source code of this file.
Functions
void
func_800EB2A4
(s32 arg0)
Function Documentation
◆
func_800EB2A4()
void func_800EB2A4
(
s32
arg0
)
Definition at line
949
of file
partners.c
.
949
{
950
if
(
wCurrentPartnerId
!= partnerID) {
951
D_8010CFE0
= 1;
952
NextPartnerID
= partnerID;
953
954
if
(
wCurrentPartnerId
!=
PARTNER_NONE
&& partnerID !=
PARTNER_NONE
) {
955
NextPartnerCommand
=
PARTNER_CMD_SWITCH
;
956
}
else
if
(partnerID ==
PARTNER_NONE
) {
957
NextPartnerCommand
=
PARTNER_CMD_INSTA_PUT_AWAY
;
958
}
else
{
959
NextPartnerCommand
=
PARTNER_CMD_INSTA_TAKE_OUT
;
960
}
961
}
962
}
PARTNER_NONE
@ PARTNER_NONE
Definition
enums.h:2885
PARTNER_CMD_INSTA_TAKE_OUT
@ PARTNER_CMD_INSTA_TAKE_OUT
Definition
enums.h:2952
PARTNER_CMD_INSTA_PUT_AWAY
@ PARTNER_CMD_INSTA_PUT_AWAY
Definition
enums.h:2950
PARTNER_CMD_SWITCH
@ PARTNER_CMD_SWITCH
Definition
enums.h:2948
NextPartnerCommand
BSS s32 NextPartnerCommand
Definition
partners.c:61
NextPartnerID
BSS s32 NextPartnerID
Definition
partners.c:60
wCurrentPartnerId
BSS s32 wCurrentPartnerId
Definition
partners.c:57
D_8010CFE0
BSS s32 D_8010CFE0
Definition
partners.c:59
src
world
common
util
ChangeNpcToPartner.inc.c
Generated by
1.10.0