Go to the source code of this file.
◆ USE_STATE
#define USE_STATE functionTemp[0] |
◆ end_outta_sight_cleanup()
void N end_outta_sight_cleanup |
( |
Npc * | partner | ) |
|
Definition at line 366 of file bow.c.
366 {
369 s32 actionState;
370
375
376 if (N(LockingPlayerInput)) {
378 }
379
382 N(LockingPlayerInput) = FALSE;
384
387 }
388
392 playerStatus->
flags &= ~PS_FLAG_PAUSE_DISABLED;
394 N(IsHiding) = FALSE;
395}
@ PS_FLAG_HAZARD_INVINCIBILITY
@ RENDER_MODE_SURFACE_XLU_LAYER1
@ NPC_FLAG_IGNORE_WORLD_COLLISION
void partner_clear_player_tracking(Npc *partner)
Shadow * get_shadow_by_index(s32 index)
s32 enable_player_input(void)
void set_action_state(s32 actionState)
void npc_set_imgfx_params(Npc *npc, s32 arg1, s32 arg2, s32 arg3, s32 arg4, s32 arg5, s32 arg6)
PartnerStatus gPartnerStatus
PlayerStatus gPlayerStatus
◆ check_for_treadmill_overlaps()
s32 N check_for_treadmill_overlaps |
( |
void | | ) |
|
Definition at line 144 of file bow.c.
144 {
146 f32 x, y, z;
147 f32 yaw;
148
149
152 }
153
156 }
157
159 x = playerStatus->
pos.
x;
161 z = playerStatus->
pos.
z;
162
165}
s32 player_test_lateral_overlap(s32, PlayerStatus *, f32 *, f32 *, f32 *, f32, f32)
void add_vec2D_polar(f32 *x, f32 *y, f32 r, f32 theta)
GameStatus * gGameStatusPtr
◆ init()
Definition at line 19 of file bow.c.
19 {
23 N(LockingPlayerInput) = FALSE;
24 N(IsHiding) = FALSE;
25}
◆ try_cancel_tweester()
void N try_cancel_tweester |
( |
Npc * | bow | ) |
|
Definition at line 134 of file bow.c.
134 {
137 bow->
flags = N(TweesterPhysicsPtr)->prevFlags;
140 }
141}
Entity * TweesterTouchingPartner
◆ pre_battle()
void N pre_battle |
( |
Npc * | bow | ) |
|
Definition at line 421 of file bow.c.
421 {
423
424 if (N(IsHiding)) {
430 N(IsHiding) = FALSE;
431 bow->
flags &= ~NPC_FLAG_INVISIBLE;
432 }
433}
◆ EVS_WorldBow_TakeOut
Initial value:= {
}
#define End
Signals the end of EVT script data. A script missing this will likely crash on load.
#define Call(FUNC, ARGS...)
Calls a given C EVT API function with any number of arguments.
#define Return
Kills the current EVT thread.
Definition at line 41 of file bow.c.
◆ EVS_WorldBow_Update
Initial value:
Definition at line 128 of file bow.c.
◆ EVS_WorldBow_UseAbility
Initial value:
Definition at line 360 of file bow.c.
◆ EVS_WorldBow_PutAway
Initial value:
Definition at line 415 of file bow.c.