Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
UnkFunc46.inc.c
Go to the documentation of this file.
1#include "common.h"
2#include "npc.h"
3
4API_CALLABLE(N(UnkFunc46)) {
5 f32 var1 = script->varTable[0];
6 f32 var2 = script->varTable[2];
7 f32 var3 = 0.0f;
8 f32 var4 = 2000.0f;
9
10 if (npc_raycast_down_sides(COLLIDER_FLAG_IGNORE_PLAYER, &var1, &var2, &var3, &var4)) {
11 script->varTable[0] = var1;
12 script->varTable[2] = var2 + 55.0f;
13 }
14
15 return ApiStatus_DONE2;
16}
#define npc_raycast_down_sides
@ COLLIDER_FLAG_IGNORE_PLAYER
Definition enums.h:4696
#define ApiStatus_DONE2
Definition evt.h:118