Go to the source code of this file.
◆ player_jump()
ApiStatus player_jump |
( |
Evt * | script, |
|
|
s32 | isInitialCall, |
|
|
s32 | mode ) |
Internal function for PlayerJump(), PlayerJump1(), and PlayerJump2().
Definition at line 214 of file player_api.c.
214 {
221 s32 duration;
224
226 script->functionTemp[0] = 0;
227 }
228
229 if (
script->functionTemp[0] == 0) {
234
243
245 if (dist > 1.0) {
247 }
248
250
253 } else {
255 }
256
260
261 if (mode == 0) {
265 } else {
267 }
268 } else {
270 }
273 }
274 script->functionTemp[0] = 1;
275 }
276
281
286 } else {
288 }
289 } else {
291 }
293 }
294
298
299 if (mode == 0) {
301 }
302
307
308 if (mode == 0) {
312 } else {
314 }
315 } else {
317 }
320 }
321
322 if (mode == 0 || mode == 2) {
323 s32 colliderID;
324
326
331 }
332 }
334 }
336}
BSS s32 PopupMenu_SelectedIndex
@ SOUND_QUICK_PLAYER_JUMP
s32 evt_get_variable(Evt *script, Bytecode var)
f32 player_check_collision_below(f32, s32 *colliderID)
f32 dist2D(f32 ax, f32 ay, f32 bx, f32 by)
void player_handle_floor_collider_type(s32 colliderID)
void suggest_player_anim_allow_backward(AnimID anim)
void player_surface_spawn_fx(void)
void npc_surface_spawn_fx(Npc *npc, SurfaceInteractMode mode)
void npc_move_heading(Npc *npc, f32 speed, f32 yaw)
void sfx_play_sound_at_player(s32 soundID, s32 arg1)
PlayerStatus gPlayerStatus
◆ func_802D23F8()
s32 func_802D23F8 |
( |
void | | ) |
|
Definition at line 582 of file player_api.c.
582 {
588 }
590}
@ ACTION_STATE_STEP_DOWN_LAND
@ ACTION_STATE_SPIN_POUND
@ ACTION_STATE_TORNADO_POUND
◆ playerNpcData
◆ PlayerImgFXFlags
◆ D_802DB5B4
◆ playerNpc