12 if ((
egg->flags & 0x400) != 0) {
13 egg->pathCenter[1] -= 0.12;
14 if (
egg->pathCenter[1] < -3.0f) {
15 egg->pathCenter[1] = -3.0f;
17 egg->pos[1] +=
egg->pathCenter[1];
18 if (
egg->pos[1] < 0.0f) {
20 egg->pathCenter[1] = 0.0f;
21 egg->flags &= ~(1 << 10);
s16 gCourseMaxZ
Definition code_800029B0.c:92
f32 sins(u16 arg0)
Definition math_util.c:1055
f32 coss(u16 arg0)
Definition math_util.c:1059
Definition actor_types.h:212
void update_actor_yoshi_egg(struct YoshiValleyEgg *egg)
Updates the Yoshi egg actor.
Definition update.inc.c:8