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
4
API_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
}
PopupMenu_SelectedIndex
BSS s32 PopupMenu_SelectedIndex
Definition
8a860_len_3f30.c:84
npc_raycast_down_sides
#define npc_raycast_down_sides
Definition
effect_shims.h:58
COLLIDER_FLAG_IGNORE_PLAYER
@ COLLIDER_FLAG_IGNORE_PLAYER
Definition
enums.h:4695
ApiStatus_DONE2
#define ApiStatus_DONE2
Definition
evt.h:118
npc.h
src
world
common
todo
UnkFunc46.inc.c
Generated by
1.10.0