Paper Mario DX
Paper Mario (N64) modding
Loading...
Searching...
No Matches
UnkPartnerPosFuncs.inc.c
Go to the documentation of this file.
1
#include "common.h"
2
3
API_CALLABLE(N(SuperBlock_PartnerSparkles2)) {
4
Npc
* partner =
get_npc_safe
(
NPC_PARTNER
);
5
6
fx_sparkles(
FX_SPARKLES_2
, partner->
pos
.
x
, partner->
pos
.
y
+ 30.0f, partner->
pos
.
z
, 30.0f);
7
return
ApiStatus_DONE2
;
8
}
9
10
API_CALLABLE(N(SuperBlock_PartnerSparkles4)) {
11
Npc
* partner =
get_npc_safe
(
NPC_PARTNER
);
12
13
fx_sparkles(
FX_SPARKLES_4
, partner->
pos
.
x
, partner->
pos
.
y
+ 30.0f, partner->
pos
.
z
, 30.0f);
14
return
ApiStatus_DONE2
;
15
}
Vec3f::z
f32 z
Definition
common_structs.h:102
Vec3f::x
f32 x
Definition
common_structs.h:100
Vec3f::y
f32 y
Definition
common_structs.h:101
FX_SPARKLES_2
@ FX_SPARKLES_2
Definition
effects.h:236
FX_SPARKLES_4
@ FX_SPARKLES_4
Definition
effects.h:238
NPC_PARTNER
@ NPC_PARTNER
Definition
enums.h:2528
ApiStatus_DONE2
#define ApiStatus_DONE2
Definition
evt.h:118
get_npc_safe
Npc * get_npc_safe(s32 npcID)
Definition
npc.c:1010
Npc
Definition
common_structs.h:213
Npc::pos
Vec3f pos
Definition
common_structs.h:236
src
world
common
todo
UnkPartnerPosFuncs.inc.c
Generated by
1.10.0