Go to the source code of this file.
◆ USE_STATE
#define USE_STATE functionTemp[0] |
◆ entity_try_partner_interaction_trigger()
void entity_try_partner_interaction_trigger |
( |
s32 | arg0 | ) |
|
Definition at line 677 of file entity.c.
677 {
682
683 switch (partnerID) {
685 switch (entityType) {
686 default:
705 }
706 break;
708 switch (entityType) {
709 default:
728 }
729 break;
730 }
732}
BSS s32 PopupMenu_SelectedIndex
Entity * get_entity_by_index(s32 index)
u32 get_entity_type(s32 index)
@ ENTITY_TYPE_HAMMER1_BLOCK
@ ENTITY_TYPE_SINGLE_TRIGGER_BLOCK
@ ENTITY_TYPE_BOMBABLE_ROCK
@ ENTITY_TYPE_HIDDEN_RED_BLOCK
@ ENTITY_TYPE_SUPER_BLOCK
@ ENTITY_TYPE_HEALING_BLOCK
@ ENTITY_TYPE_BLUE_SWITCH
@ ENTITY_TYPE_MULTI_COIN_BRICK
@ ENTITY_TYPE_BRICK_BLOCK
@ ENTITY_TYPE_HIDDEN_YELLOW_BLOCK
@ ENTITY_TYPE_MULTI_TRIGGER_BLOCK
@ ENTITY_TYPE_HAMMER1_BLOCK_TINY
@ ENTITY_TYPE_YELLOW_BLOCK
@ ENTITY_FLAG_PARTNER_COLLISION
s8 get_current_partner_id(void)
Referenced by blast_affect_entities().
◆ blast_affect_entities()
void N blast_affect_entities |
( |
Npc * | npc | ) |
|
Definition at line 20 of file bombette.c.
20 {
23
24
25 while (angle < 360.0f) {
32 ) {
33 break;
34 }
35 angle += 45.0f;
36 }
37
38
39 if (angle >= 360.0f) {
40 angle = 0.0f;
41
42 while (angle < 360.0f) {
49 ) {
50 break;
51 }
52 angle += 45.0f;
53 }
54
55 if (angle >= 360.0f) {
56 return;
57 }
58 }
59
60
63 }
64}
@ COLLISION_ONLY_ENTITIES
@ COLLISION_IGNORE_ENTITIES
b32 npc_test_move_taller_with_slipping(s32, f32 *, f32 *, f32 *, f32, f32, f32, f32)
#define COLLISION_WITH_ENTITY_BIT
s32 NpcHitQueryColliderID
void entity_try_partner_interaction_trigger(s32 arg0)
◆ init()
◆ try_cancel_tweester()
void N try_cancel_tweester |
( |
Npc * | npc | ) |
|
Definition at line 186 of file bombette.c.
186 {
192 }
193}
void partner_clear_player_tracking(Npc *partner)
Entity * TweesterTouchingPartner
◆ can_use_ability()
s32 N can_use_ability |
( |
Npc * | npc | ) |
|
Definition at line 195 of file bombette.c.
195 {
199 }
201}
PartnerStatus gPartnerStatus
◆ can_open_menus()
s32 N can_open_menus |
( |
Npc * | npc | ) |
|
◆ test_first_strike()
s32 N test_first_strike |
( |
Npc * | bombette, |
|
|
Npc * | enemy ) |
Definition at line 597 of file bombette.c.
597 {
605
608 }
609
612
615
619
624
627 }
628
631
632
637
640 }
641
643}
f32 dist2D(f32 ax, f32 ay, f32 bx, f32 by)
◆ pre_battle()
void N pre_battle |
( |
Npc * | bombette | ) |
|
Definition at line 645 of file bombette.c.
645 {
648
652 }
653
658
661
664
668
672 } else {
675 }
676
684
688 }
689 }
690}
@ SOUND_LOOP_BOMBETTE_FUSE
void disable_npc_blur(Npc *npc)
s32 enable_player_input(void)
void set_action_state(s32 actionState)
void add_vec2D_polar(f32 *x, f32 *y, f32 r, f32 theta)
void sfx_stop_sound(s32 soundID)
PlayerStatus gPlayerStatus
◆ EVS_WorldBombette_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 87 of file bombette.c.
◆ EVS_WorldBombette_Update
◆ EVS_WorldBombette_UseAbility
◆ EVS_WorldBombette_PutAway