Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
CompareFloats.inc.c
Go to the documentation of this file.
1#include "common.h"
2
3API_CALLABLE(N(CompareFloats)) {
4 Bytecode* args = script->ptrReadPos;
7
8 if (temp < temp_f20) {
10 } else {
11 evt_set_variable(script, *args++, FALSE);
12 }
13 return ApiStatus_DONE2;
14}
BSS s32 PopupMenu_SelectedIndex
#define ApiStatus_DONE2
Definition evt.h:118
s32 Bytecode
Definition evt.h:7
s32 evt_set_variable(Evt *script, Bytecode var, s32 value)
Definition evt.c:1846
f32 evt_get_float_variable(Evt *script, Bytecode var)
Definition evt.c:1929