Paper Mario DX
Paper Mario (N64) modding
Loading...
Searching...
No Matches
UnkFunc50.inc.c
Go to the documentation of this file.
1
#include "common.h"
2
#include "
npc.h
"
3
4
API_CALLABLE(N(
UnkFunc50
)) {
5
f32
x =
UNK_FUNC_50_LVar1
-
script
->varTable[0];
6
f32
z =
UNK_FUNC_50_LVar2
-
script
->varTable[2];
7
8
script
->varTable[3] = -
sqrtf
(
SQ
(x) +
SQ
(z));
9
10
return
ApiStatus_DONE2
;
11
}
PopupMenu_SelectedIndex
BSS s32 PopupMenu_SelectedIndex
Definition
8a860_len_3f30.c:84
sqrtf
#define sqrtf
Definition
effect_shims.h:60
ApiStatus_DONE2
#define ApiStatus_DONE2
Definition
evt.h:118
npc.h
SQ
#define SQ(x)
Definition
macros.h:170
src
world
common
todo
UnkFunc50.inc.c
Generated by
1.10.0