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
3API_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
10API_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}
@ FX_SPARKLES_2
Definition effects.h:236
@ FX_SPARKLES_4
Definition effects.h:238
@ NPC_PARTNER
Definition enums.h:2528
#define ApiStatus_DONE2
Definition evt.h:118
Npc * get_npc_safe(s32 npcID)
Definition npc.c:1010
Vec3f pos