Paper Mario DX
Paper Mario (N64) modding
Loading...
Searching...
No Matches
UnkFunc51.inc.c
Go to the documentation of this file.
1
#include "common.h"
2
#include "
npc.h
"
3
4
API_CALLABLE(N(UnkFunc51)) {
5
Bytecode
* args = script->ptrReadPos;
6
7
script->functionTemp[0] =
evt_get_variable
(script, *args++);
8
script->functionTemp[1] =
evt_get_variable
(script, *args++);
9
script->functionTemp[2] =
evt_get_variable
(script, *args++);
10
sfx_adjust_env_sound_pos
(
SOUND_LRAW_TROMP_ROLL
,
SOUND_SPACE_DEFAULT
, script->functionTemp[0], script->functionTemp[1], script->functionTemp[2]);
11
12
return
ApiStatus_DONE2
;
13
}
SOUND_LRAW_TROMP_ROLL
@ SOUND_LRAW_TROMP_ROLL
Definition
enums.h:614
SOUND_SPACE_DEFAULT
@ SOUND_SPACE_DEFAULT
Definition
enums.h:1737
ApiStatus_DONE2
#define ApiStatus_DONE2
Definition
evt.h:118
Bytecode
s32 Bytecode
Definition
evt.h:7
evt_get_variable
s32 evt_get_variable(Evt *script, Bytecode var)
Definition
evt.c:1690
npc.h
sfx_adjust_env_sound_pos
s32 sfx_adjust_env_sound_pos(s32 soundID, s32 sourceFlags, f32 x, f32 y, f32 z)
Definition
sfx.c:431
src
world
common
todo
UnkFunc51.inc.c
Generated by
1.10.0