mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-28 23:13:02 +00:00
Fix animations for late-join penguin baby
This commit is contained in:
parent
cf7d4bc8d2
commit
9d824c545d
1 changed files with 20 additions and 0 deletions
|
@ -2451,12 +2451,32 @@ const BehaviorScript bhvTuxiesMother[] = {
|
|||
const BehaviorScript bhvPenguinBaby[] = {
|
||||
BEGIN(OBJ_LIST_GENACTOR),
|
||||
ID(id_bhvPenguinBaby),
|
||||
OR_INT(oFlags, (OBJ_FLAG_COMPUTE_ANGLE_TO_MARIO | OBJ_FLAG_HOLDABLE | OBJ_FLAG_COMPUTE_DIST_TO_MARIO | OBJ_FLAG_SET_FACE_YAW_TO_MOVE_YAW | OBJ_FLAG_UPDATE_GFX_POS_AND_ANGLE)),
|
||||
DROP_TO_FLOOR(),
|
||||
LOAD_ANIMATIONS(oAnimations, &penguin_seg5_anims_05008B74),
|
||||
ANIMATE(0),
|
||||
SET_OBJ_PHYSICS(/*Wall hitbox radius*/ 30, /*Gravity*/ -400, /*Bounciness*/ -50, /*Drag strength*/ 0, /*Friction*/ 0, /*Buoyancy*/ 200, /*Unused*/ 0, 0),
|
||||
SET_INT(oInteractType, INTERACT_GRABBABLE),
|
||||
SET_INT(oInteractionSubtype, INT_SUBTYPE_HOLDABLE_NPC),
|
||||
SET_INT(oIntangibleTimer, 0),
|
||||
SET_HITBOX(/*Radius*/ 40, /*Height*/ 40),
|
||||
SET_HOME(),
|
||||
BREAK(),
|
||||
};
|
||||
|
||||
const BehaviorScript bhvUnused20E0[] = {
|
||||
BEGIN(OBJ_LIST_GENACTOR),
|
||||
ID(id_bhvUnused20E0),
|
||||
OR_INT(oFlags, (OBJ_FLAG_COMPUTE_ANGLE_TO_MARIO | OBJ_FLAG_HOLDABLE | OBJ_FLAG_COMPUTE_DIST_TO_MARIO | OBJ_FLAG_SET_FACE_YAW_TO_MOVE_YAW | OBJ_FLAG_UPDATE_GFX_POS_AND_ANGLE)),
|
||||
DROP_TO_FLOOR(),
|
||||
LOAD_ANIMATIONS(oAnimations, &penguin_seg5_anims_05008B74),
|
||||
ANIMATE(0),
|
||||
SET_OBJ_PHYSICS(/*Wall hitbox radius*/ 30, /*Gravity*/ -400, /*Bounciness*/ -50, /*Drag strength*/ 0, /*Friction*/ 0, /*Buoyancy*/ 200, /*Unused*/ 0, 0),
|
||||
SET_INT(oInteractType, INTERACT_GRABBABLE),
|
||||
SET_INT(oInteractionSubtype, INT_SUBTYPE_HOLDABLE_NPC),
|
||||
SET_INT(oIntangibleTimer, 0),
|
||||
SET_HITBOX(/*Radius*/ 40, /*Height*/ 40),
|
||||
SET_HOME(),
|
||||
BREAK(),
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue