11 switch (itemBox->
state) {
13 itemBox->
rot[0] += 0xB6;
14 itemBox->
rot[1] -= 0x16C;
15 itemBox->
rot[2] += 0xB6;
20 itemBox->
flags = -0x4000;
23 itemBox->
rot[0] += 0x444;
24 itemBox->
rot[1] -= 0x2D8;
25 itemBox->
rot[2] += 0x16C;
37 switch (itemBox->
state) {
42 if ((itemBox->
pos[1] - itemBox->
origY) < 8.66f) {
43 itemBox->
pos[1] += 0.45f;
45 itemBox->
pos[1] = itemBox->
origY + 8.66f;
47 itemBox->
flags = 0xC000;
51 itemBox->
rot[0] += 0xB6;
52 itemBox->
rot[1] -= 0x16C;
53 itemBox->
rot[2] += 0xB6;
59 itemBox->
flags = 0xC000;
62 itemBox->
rot[0] += 0x444;
63 itemBox->
rot[1] -= 0x2D8;
64 itemBox->
rot[2] += 0x16C;
void update_actor_item_box_hot_air_balloon(struct ItemBox *itemBox)
Updates the item box under the hot air balloon object. It used in Luigi Raceway. (here it's just upda...
Definition update.inc.c:10
void update_actor_item_box(struct ItemBox *itemBox)
Updates the item box actor.
Definition update.inc.c:36
Definition actor_types.h:331
s16 someTimer
Definition actor_types.h:334
s16 flags
Definition actor_types.h:333
f32 origY
Definition actor_types.h:343
Vec3f pos
Definition actor_types.h:342
s16 state
Definition actor_types.h:335
f32 resetDistance
Definition actor_types.h:336
Vec3s rot
Definition actor_types.h:340