Go to the source code of this file.
◆ entity_BellbellPlant_idle()
Definition at line 41 of file Plants2.c.
41 {
46 }
47}
BSS s32 PopupMenu_SelectedIndex
AnimScript Entity_BellbellPlant_AnimationUse
@ PA_FLAG_INTERACT_PROMPT_AVAILABLE
! prompt
@ ENTITY_COLLISION_PLAYER_HAMMER
@ ENTITY_COLLISION_PLAYER_TOUCH_WALL
void play_model_animation(s32, s16 *)
void exec_entity_commandlist(Entity *entity)
PlayerStatus gPlayerStatus
◆ entity_TrumpetPlant_idle()
Definition at line 49 of file Plants2.c.
49 {
54 }
55}
AnimScript Entity_TrumpetPlant_AnimationUse
◆ entity_TrumpetPlant_create_effect()
| void entity_TrumpetPlant_create_effect |
( |
Entity * | entity | ) |
|
◆ entity_TrumpetPlant_spawn_coin()
| void entity_TrumpetPlant_spawn_coin |
( |
Entity * | entity | ) |
|
Definition at line 66 of file Plants2.c.
66 {
68
72
74 xOffset = -26.0 *
cos_rad(angle);
76
86 }
87 }
88}
void entity_TrumpetPlant_create_effect(Entity *entity)
@ ITEM_SPAWN_MODE_TOSS_SPAWN_ALWAYS
s32 make_item_entity(s32 itemID, f32 x, f32 y, f32 z, s32 itemSpawnMode, s32 pickupDelay, s32 angle, s32 pickupVar)
◆ entity_Munchlesia_init()
Definition at line 90 of file Plants2.c.
90 {
93}
@ ITEM_SPAWN_MODE_FIXED_SPAWN_ALWAYS_NEVER_VANISH
s32 make_item_entity_nodelay(s32 itemID, f32 x, f32 y, f32 z, s32 itemSpawnMode, s32 pickupVar)
◆ func_802BC050_E2E980()
Definition at line 95 of file Plants2.c.
95 {
96
104 }
105}
@ PA_FLAG_INTERRUPT_USE_PARTNER
forces actions with bow, parakarry, watt, and lakilester to end (sushie not tested)
@ ENTITY_COLLISION_PLAYER_TOUCH_FLOOR
Entity * get_entity_by_index(s32 index)
◆ func_802BC0B8_E2E9E8()
Definition at line 107 of file Plants2.c.
107 {
111}
AnimScript Entity_MunchlesiaReset_AnimationReset
s32 disable_player_input(void)
void disable_player_shadow(void)
◆ func_802BC0F0_E2EA20()
Definition at line 113 of file Plants2.c.
113 {
117}
f32 dist2D(f32 ax, f32 ay, f32 bx, f32 by)
◆ func_802BC17C_E2EAAC()
Definition at line 119 of file Plants2.c.
119 {
121
126}
void add_vec2D_polar(f32 *x, f32 *y, f32 r, f32 theta)
◆ entity_Munchlesia_create_child()
◆ func_802BC220_E2EB50()
Definition at line 132 of file Plants2.c.
132 {
135}
EntityBlueprint Entity_MunchlesiaReset
s32 entity_Munchlesia_create_child(Entity *entity, EntityBlueprint *EntityBlueprint)
◆ func_802BC250_E2EB80()
Definition at line 137 of file Plants2.c.
137 {
139}
EntityBlueprint Entity_MunchlesiaGrab
◆ func_802BC274_E2EBA4()
Definition at line 141 of file Plants2.c.
141 {
145}
EntityBlueprint Entity_MunchlesiaEnvelop
@ ACTION_STATE_USE_SPRING
void set_action_state(s32 actionState)
void subtract_hp(s32 amt)
◆ func_802BC2B4_E2EBE4()
Definition at line 147 of file Plants2.c.
147 {
153}
EntityBlueprint Entity_MunchlesiaBeginChew
void suggest_player_anim_always_forward(AnimID anim)
◆ func_802BC308_E2EC38()
Definition at line 155 of file Plants2.c.
155 {
157}
EntityBlueprint Entity_MunchlesiaChewing
◆ func_802BC32C_E2EC5C()
Definition at line 159 of file Plants2.c.
159 {
162}
EntityBlueprint Entity_MunchlesiaSpitOut
void enable_partner_ai(void)
◆ entity_Munchlesia_create_child_reset1()
| void entity_Munchlesia_create_child_reset1 |
( |
Entity * | entity | ) |
|
Definition at line 164 of file Plants2.c.
164 {
166}
EntityBlueprint Entity_MunchlesiaReset1
◆ entity_Munchlesia_create_child_reset2()
| void entity_Munchlesia_create_child_reset2 |
( |
Entity * | entity | ) |
|
Definition at line 168 of file Plants2.c.
168 {
170}
EntityBlueprint Entity_MunchlesiaReset2
◆ func_802BC3A0_E2ECD0()
Definition at line 172 of file Plants2.c.
172 {
176}
@ ACTION_STATE_USE_MUNCHLESIA
Set by the jan_09 squishy flower entity; throws the player in the air.
s32 enable_player_input(void)
void enable_player_shadow(void)
◆ entity_MunchlesiaChewing_init()
| void entity_MunchlesiaChewing_init |
( |
Entity * | entity | ) |
|
◆ func_802BC3E4_E2ED14()
Definition at line 184 of file Plants2.c.
184 {
187
189 if (data->
unk_10 > 360.0f) {
191 }
192 if (data->
unk_10 == 96.0f) {
194 }
195}
void sfx_play_sound(s32 soundID)
◆ Entity_MunchlesiaReset
Initial value:= {
.fpInit = nullptr,
.fpHandleCollision = nullptr,
.aabbSize = { 40, 20, 40 }
}
StaticAnimatorNode * Entity_MunchlesiaReset_Mesh[]
DmaEntry Entity_MunchlesiaReset_dma[]
AnimScript Entity_MunchlesiaReset_AnimationIdle
EntityScript Entity_MunchlesiaReset_Script
@ ENTITY_TYPE_RESET_MUNCHLESIA
@ ENTITY_FLAG_HAS_ANIMATED_MODEL
@ ENTITY_FLAG_DISABLE_COLLISION
Definition at line 369 of file Plants2.c.
369 {
374 .fpInit = nullptr,
376 .fpHandleCollision = nullptr,
379 .aabbSize = { 40, 20, 40 }
380};
Referenced by func_802BC220_E2EB50().
◆ Entity_MunchlesiaGrab
Initial value:= {
.fpInit = nullptr,
.fpHandleCollision = nullptr,
.aabbSize = { 40, 20, 40 }
}
AnimScript Entity_MunchlesiaGrab_Animation
DmaEntry Entity_MunchlesiaGrab_dma[]
StaticAnimatorNode * Entity_MunchlesiaGrab_Mesh[]
EntityScript Entity_MunchlesiaGrab_Script
@ ENTITY_TYPE_MUNCHLESIA_GRAB
Definition at line 382 of file Plants2.c.
382 {
387 .fpInit = nullptr,
389 .fpHandleCollision = nullptr,
392 .aabbSize = { 40, 20, 40 }
393};
Referenced by func_802BC250_E2EB80().
◆ Entity_MunchlesiaEnvelop
Initial value:= {
.fpInit = nullptr,
.fpHandleCollision = nullptr,
.aabbSize = { 40, 20, 40 }
}
StaticAnimatorNode * Entity_MunchlesiaEnvelop_Mesh[]
EntityScript Entity_MunchlesiaEnvelop_Script
DmaEntry Entity_MunchlesiaEnvelop_dma[]
AnimScript Entity_MunchlesiaEnvelop_Animation
@ ENTITY_TYPE_MUNCHLESIA_ENVELOP
Definition at line 395 of file Plants2.c.
395 {
400 .fpInit = nullptr,
402 .fpHandleCollision = nullptr,
405 .aabbSize = { 40, 20, 40 }
406};
Referenced by func_802BC274_E2EBA4().
◆ Entity_MunchlesiaBeginChew
Initial value:= {
.fpInit = nullptr,
.fpHandleCollision = nullptr,
.aabbSize = { 40, 20, 40 }
}
DmaEntry Entity_MunchlesiaBeginChew_dma[]
AnimScript Entity_MunchlesiaBeginChew_Animation
EntityScript Entity_MunchlesiaBeginChew_Script
StaticAnimatorNode * Entity_MunchlesiaBeginChew_Mesh[]
@ ENTITY_TYPE_MUNCHLESIA_BEGIN_CHEW
Definition at line 408 of file Plants2.c.
408 {
413 .fpInit = nullptr,
415 .fpHandleCollision = nullptr,
418 .aabbSize = { 40, 20, 40 }
419};
Referenced by func_802BC2B4_E2EBE4().
◆ Entity_MunchlesiaChewing
Initial value:= {
.fpHandleCollision = nullptr,
.aabbSize = { 40, 20, 40 }
}
AnimScript Entity_MunchlesiaChewing_Animation
DmaEntry Entity_MunchlesiaChewing_dma[]
EntityScript Entity_MunchlesiaChewing_Script
void entity_MunchlesiaChewing_init(Entity *entity)
StaticAnimatorNode * Entity_MunchlesiaChewing_Mesh[]
@ ENTITY_TYPE_MUNCHLESIA_CHEWING
Definition at line 421 of file Plants2.c.
421 {
428 .fpHandleCollision = nullptr,
431 .aabbSize = { 40, 20, 40 }
432};
Referenced by func_802BC308_E2EC38().
◆ Entity_MunchlesiaSpitOut
Initial value:= {
.fpInit = nullptr,
.fpHandleCollision = nullptr,
.aabbSize = { 40, 20, 40 }
}
EntityScript Entity_MunchlesiaSpitOut_Script
DmaEntry Entity_MunchlesiaSpitOut_dma[]
AnimScript Entity_MunchlesiaSpitOut_Animation
StaticAnimatorNode * Entity_MunchlesiaSpitOut_Mesh[]
@ ENTITY_TYPE_MUNCHLESIA_SPIT_OUT
Definition at line 434 of file Plants2.c.
434 {
439 .fpInit = nullptr,
441 .fpHandleCollision = nullptr,
444 .aabbSize = { 40, 20, 40 }
445};
Referenced by func_802BC32C_E2EC5C().
◆ Entity_MunchlesiaReset1
Initial value:= {
.fpInit = nullptr,
.fpHandleCollision = nullptr,
.aabbSize = { 40, 20, 40 }
}
EntityScript Entity_MunchlesiaReset1_Script
StaticAnimatorNode * Entity_MunchlesiaReset1_Mesh[]
AnimScript Entity_MunchlesiaReset1_Animation
DmaEntry Entity_MunchlesiaReset1_dma[]
@ ENTITY_TYPE_MUNCHLESIA_RESET1
Definition at line 447 of file Plants2.c.
447 {
452 .fpInit = nullptr,
454 .fpHandleCollision = nullptr,
457 .aabbSize = { 40, 20, 40 }
458};
Referenced by entity_Munchlesia_create_child_reset1().
◆ Entity_MunchlesiaReset2
Initial value:= {
.fpInit = nullptr,
.fpHandleCollision = nullptr,
.aabbSize = { 40, 20, 40 }
}
EntityScript Entity_MunchlesiaReset2_Script
@ ENTITY_TYPE_MUNCHLESIA_RESET2
Definition at line 460 of file Plants2.c.
460 {
465 .fpInit = nullptr,
467 .fpHandleCollision = nullptr,
470 .aabbSize = { 40, 20, 40 }
471};
Referenced by entity_Munchlesia_create_child_reset2().
◆ Entity_RenderNone_Script
Definition at line 73 of file Shadow.c.
73 {
77};
#define ems_Draw(dlist, holdTime)
◆ Entity_BellbellPlant_AnimationIdle
Definition at line 449 of file BellbellPlant_anim.c.
449 {
469};
#define as_DisableMirroring
#define as_SetPos(node, x, y, z)
#define as_SetRotation(node, x, y, z)
#define as_SetScale(node, x, y, z)
◆ Entity_BellbellPlant_AnimationUse
◆ Entity_BellbellPlant_Mesh
Definition at line 47 of file BellbellPlant_anim.c.
47 {
54};
StaticAnimatorNode Entity_BellbellPlant_Node1
StaticAnimatorNode Entity_BellbellPlant_Node2
StaticAnimatorNode Entity_BellbellPlant_Node5
StaticAnimatorNode Entity_BellbellPlant_Node4
StaticAnimatorNode Entity_BellbellPlant_Node3
◆ Entity_TrumpetPlant_AnimationIdle
◆ Entity_TrumpetPlant_AnimationUse
◆ Entity_TrumpetPlant_Mesh
Definition at line 21 of file TrumpetPlant_anim.c.
21 {
25};
StaticAnimatorNode Entity_TrumpetPlant_Node1
StaticAnimatorNode Entity_TrumpetPlant_Node2
◆ Entity_MunchlesiaReset_AnimationIdle
◆ Entity_MunchlesiaReset_AnimationReset
◆ Entity_MunchlesiaReset_Mesh
Definition at line 224 of file MunchlesiaReset_anim.c.
224 {
234};
StaticAnimatorNode Entity_MunchlesiaReset_Node6
StaticAnimatorNode Entity_MunchlesiaReset_Node5
StaticAnimatorNode Entity_MunchlesiaReset_Node8
StaticAnimatorNode Entity_MunchlesiaReset_Node1
StaticAnimatorNode Entity_MunchlesiaReset_Node4
StaticAnimatorNode Entity_MunchlesiaReset_Node2
StaticAnimatorNode Entity_MunchlesiaReset_Node7
StaticAnimatorNode Entity_MunchlesiaReset_Node3
◆ Entity_MunchlesiaGrab_Animation
◆ Entity_MunchlesiaGrab_Mesh
Definition at line 210 of file MunchlesiaGrab_anim.c.
210 {
220};
StaticAnimatorNode Entity_MunchlesiaGrab_Node5
StaticAnimatorNode Entity_MunchlesiaGrab_Node8
StaticAnimatorNode Entity_MunchlesiaGrab_Node7
StaticAnimatorNode Entity_MunchlesiaGrab_Node3
StaticAnimatorNode Entity_MunchlesiaGrab_Node4
StaticAnimatorNode Entity_MunchlesiaGrab_Node1
StaticAnimatorNode Entity_MunchlesiaGrab_Node2
StaticAnimatorNode Entity_MunchlesiaGrab_Node6
◆ Entity_MunchlesiaEnvelop_Animation
◆ Entity_MunchlesiaEnvelop_Mesh
Definition at line 205 of file MunchlesiaEnvelop_anim.c.
205 {
215};
StaticAnimatorNode Entity_MunchlesiaEnvelop_Node8
StaticAnimatorNode Entity_MunchlesiaEnvelop_Node4
StaticAnimatorNode Entity_MunchlesiaEnvelop_Node6
StaticAnimatorNode Entity_MunchlesiaEnvelop_Node2
StaticAnimatorNode Entity_MunchlesiaEnvelop_Node3
StaticAnimatorNode Entity_MunchlesiaEnvelop_Node5
StaticAnimatorNode Entity_MunchlesiaEnvelop_Node7
StaticAnimatorNode Entity_MunchlesiaEnvelop_Node1
◆ Entity_MunchlesiaBeginChew_Animation
◆ Entity_MunchlesiaBeginChew_Mesh
Definition at line 216 of file MunchlesiaBeginChew_anim.c.
216 {
227};
StaticAnimatorNode Entity_MunchlesiaBeginChew_Node1
StaticAnimatorNode Entity_MunchlesiaBeginChew_Node4
StaticAnimatorNode Entity_MunchlesiaBeginChew_Node9
StaticAnimatorNode Entity_MunchlesiaBeginChew_Node5
StaticAnimatorNode Entity_MunchlesiaBeginChew_Node6
StaticAnimatorNode Entity_MunchlesiaBeginChew_Node2
StaticAnimatorNode Entity_MunchlesiaBeginChew_Node8
StaticAnimatorNode Entity_MunchlesiaBeginChew_Node3
StaticAnimatorNode Entity_MunchlesiaBeginChew_Node7
◆ Entity_MunchlesiaChewing_Animation
◆ Entity_MunchlesiaChewing_Mesh
◆ Entity_MunchlesiaSpitOut_Animation
◆ Entity_MunchlesiaSpitOut_Mesh
Definition at line 216 of file MunchlesiaSpitOut_anim.c.
216 {
227};
StaticAnimatorNode Entity_MunchlesiaSpitOut_Node7
StaticAnimatorNode Entity_MunchlesiaSpitOut_Node1
StaticAnimatorNode Entity_MunchlesiaSpitOut_Node8
StaticAnimatorNode Entity_MunchlesiaSpitOut_Node9
StaticAnimatorNode Entity_MunchlesiaSpitOut_Node4
StaticAnimatorNode Entity_MunchlesiaSpitOut_Node5
StaticAnimatorNode Entity_MunchlesiaSpitOut_Node3
StaticAnimatorNode Entity_MunchlesiaSpitOut_Node6
StaticAnimatorNode Entity_MunchlesiaSpitOut_Node2
◆ Entity_MunchlesiaReset1_Animation
◆ Entity_MunchlesiaReset1_Mesh
Definition at line 216 of file MunchlesiaReset1_anim.c.
216 {
227};
StaticAnimatorNode Entity_MunchlesiaReset1_Node2
StaticAnimatorNode Entity_MunchlesiaReset1_Node3
StaticAnimatorNode Entity_MunchlesiaReset1_Node9
StaticAnimatorNode Entity_MunchlesiaReset1_Node8
StaticAnimatorNode Entity_MunchlesiaReset1_Node1
StaticAnimatorNode Entity_MunchlesiaReset1_Node6
StaticAnimatorNode Entity_MunchlesiaReset1_Node4
StaticAnimatorNode Entity_MunchlesiaReset1_Node7
StaticAnimatorNode Entity_MunchlesiaReset1_Node5
◆ Entity_BellbellPlant_Script
Initial value:= {
}
void entity_BellbellPlant_idle(Entity *entity)
#define es_SetCallback(func, time)
#define es_SetFlags(flags)
#define es_PlaySound(soundId)
#define es_ClearFlags(flags)
@ ENTITY_FLAG_SHOWS_INSPECT_PROMPT
Definition at line 197 of file Plants2.c.
◆ Entity_TrumpetPlant_Script
Initial value:= {
}
void entity_TrumpetPlant_idle(Entity *entity)
void entity_TrumpetPlant_spawn_coin(Entity *entity)
Definition at line 207 of file Plants2.c.
◆ Entity_Munchlesia_Script
Initial value:= {
}
void func_802BC050_E2E980(Entity *entity)
void func_802BC220_E2EB50(Entity *entity)
#define es_Label(labelId)
Definition at line 229 of file Plants2.c.
◆ Entity_MunchlesiaReset_Script
Initial value:= {
}
void func_802BC250_E2EB80(Entity *entity)
void func_802BC0B8_E2E9E8(Entity *entity)
@ SOUND_MUNCHLESIA_SUCTION
@ ENTITY_FLAG_PENDING_INSTANCE_DELETE
Definition at line 238 of file Plants2.c.
◆ Entity_MunchlesiaGrab_Script
Initial value:= {
}
void func_802BC274_E2EBA4(Entity *entity)
void func_802BC0F0_E2EA20(Entity *entity)
void func_802BC17C_E2EAAC(Entity *entity)
Definition at line 250 of file Plants2.c.
◆ Entity_MunchlesiaEnvelop_Script
Initial value:= {
}
void func_802BC2B4_E2EBE4(Entity *entity)
Definition at line 261 of file Plants2.c.
◆ Entity_MunchlesiaBeginChew_Script
Initial value:= {
}
void func_802BC308_E2EC38(Entity *entity)
Definition at line 270 of file Plants2.c.
◆ Entity_MunchlesiaChewing_Script
Initial value:= {
}
void func_802BC32C_E2EC5C(Entity *entity)
void func_802BC3E4_E2ED14(Entity *entity)
Definition at line 279 of file Plants2.c.
◆ Entity_MunchlesiaSpitOut_Script
Initial value:= {
}
void entity_Munchlesia_create_child_reset1(Entity *entity)
void func_802BC3A0_E2ECD0(void)
Definition at line 290 of file Plants2.c.
◆ Entity_MunchlesiaReset1_Script
Initial value:= {
}
void entity_Munchlesia_create_child_reset2(Entity *entity)
Definition at line 302 of file Plants2.c.
◆ Entity_MunchlesiaReset2_Script
◆ Entity_MunchlesiaReset_dma
◆ Entity_MunchlesiaGrab_dma
◆ Entity_MunchlesiaEnvelop_dma
◆ Entity_MunchlesiaBeginChew_dma
◆ Entity_MunchlesiaChewing_dma
◆ Entity_MunchlesiaSpitOut_dma
◆ Entity_MunchlesiaReset1_dma
◆ Entity_BellbellPlant_dma
◆ Entity_TrumpetPlant_dma
◆ Entity_BellbellPlant
Initial value:= {
.typeDataSize = 0,
.fpInit = nullptr,
.fpHandleCollision = nullptr,
.aabbSize = { 30, 40, 30 }
}
EntityScript Entity_BellbellPlant_Script
AnimScript Entity_BellbellPlant_AnimationIdle
DmaEntry Entity_BellbellPlant_dma[]
StaticAnimatorNode * Entity_BellbellPlant_Mesh[]
@ ENTITY_TYPE_BELLBELL_PLANT
@ ENTITY_FLAG_FIXED_SHADOW_SIZE
@ ENTITY_FLAG_CIRCULAR_SHADOW
Definition at line 330 of file Plants2.c.
330 {
332 .typeDataSize = 0,
335 .fpInit = nullptr,
337 .fpHandleCollision = nullptr,
340 .aabbSize = { 30, 40, 30 }
341};
◆ Entity_TrumpetPlant
Initial value:= {
.fpInit = nullptr,
.fpHandleCollision = nullptr,
.aabbSize = { 30, 40, 30 }
}
AnimScript Entity_TrumpetPlant_AnimationIdle
StaticAnimatorNode * Entity_TrumpetPlant_Mesh[]
EntityScript Entity_TrumpetPlant_Script
DmaEntry Entity_TrumpetPlant_dma[]
@ ENTITY_TYPE_TRUMPET_PLANT
Definition at line 343 of file Plants2.c.
343 {
348 .fpInit = nullptr,
350 .fpHandleCollision = nullptr,
353 .aabbSize = { 30, 40, 30 }
354};
◆ Entity_Munchlesia
Initial value:= {
.modelAnimationNodes = 0,
.fpHandleCollision = nullptr,
{ .dmaList = nullptr },
.aabbSize = { 45, 20, 45 }
}
EntityModelScript Entity_RenderNone_Script
EntityScript Entity_Munchlesia_Script
void entity_Munchlesia_init(Entity *entity)
Definition at line 356 of file Plants2.c.
356 {
360 .modelAnimationNodes = 0,
363 .fpHandleCollision = nullptr,
364 { .dmaList = nullptr },
366 .aabbSize = { 45, 20, 45 }
367};