2019-08-25 04:46:40 +00:00
|
|
|
// bully.c.inc
|
|
|
|
|
|
|
|
static struct ObjectHitbox sSmallBullyHitbox = {
|
|
|
|
/* interactType: */ INTERACT_BULLY,
|
|
|
|
/* downOffset: */ 0,
|
|
|
|
/* damageOrCoinValue: */ 1,
|
|
|
|
/* health: */ 0,
|
|
|
|
/* numLootCoins: */ 0,
|
|
|
|
/* radius: */ 73,
|
|
|
|
/* height: */ 123,
|
|
|
|
/* hurtboxRadius: */ 63,
|
|
|
|
/* hurtboxHeight: */ 113,
|
|
|
|
};
|
|
|
|
|
|
|
|
static struct ObjectHitbox sBigBullyHitbox = {
|
|
|
|
/* interactType: */ INTERACT_BULLY,
|
|
|
|
/* downOffset: */ 0,
|
|
|
|
/* damageOrCoinValue: */ 1,
|
|
|
|
/* health: */ 0,
|
|
|
|
/* numLootCoins: */ 0,
|
|
|
|
/* radius: */ 115,
|
|
|
|
/* height: */ 235,
|
|
|
|
/* hurtboxRadius: */ 105,
|
|
|
|
/* hurtboxHeight: */ 225,
|
|
|
|
};
|
|
|
|
|
|
|
|
void bhv_small_bully_init(void) {
|
2020-03-02 03:42:52 +00:00
|
|
|
cur_obj_init_animation(0);
|
2019-08-25 04:46:40 +00:00
|
|
|
|
|
|
|
o->oHomeX = o->oPosX;
|
|
|
|
o->oHomeZ = o->oPosZ;
|
|
|
|
o->oBehParams2ndByte = BULLY_BP_SIZE_SMALL;
|
|
|
|
o->oGravity = 4.0;
|
|
|
|
o->oFriction = 0.91;
|
|
|
|
o->oBuoyancy = 1.3;
|
|
|
|
|
2020-03-02 03:42:52 +00:00
|
|
|
obj_set_hitbox(o, &sSmallBullyHitbox);
|
2019-08-25 04:46:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void bhv_big_bully_init(void) {
|
2020-03-02 03:42:52 +00:00
|
|
|
cur_obj_init_animation(0);
|
2019-08-25 04:46:40 +00:00
|
|
|
|
|
|
|
o->oHomeX = o->oPosX;
|
|
|
|
o->oHomeY = o->oPosY;
|
|
|
|
o->oHomeZ = o->oPosZ;
|
|
|
|
o->oBehParams2ndByte = BULLY_BP_SIZE_BIG;
|
|
|
|
o->oGravity = 5.0;
|
|
|
|
o->oFriction = 0.93;
|
|
|
|
o->oBuoyancy = 1.3;
|
|
|
|
|
2020-03-02 03:42:52 +00:00
|
|
|
obj_set_hitbox(o, &sBigBullyHitbox);
|
2019-08-25 04:46:40 +00:00
|
|
|
}
|
|
|
|
|
2020-03-02 03:42:52 +00:00
|
|
|
void bully_check_mario_collision(void) {
|
2019-10-05 19:08:05 +00:00
|
|
|
if (o->oInteractStatus & INT_STATUS_INTERACTED) {
|
2019-08-25 04:46:40 +00:00
|
|
|
if (o->oBehParams2ndByte == BULLY_BP_SIZE_SMALL)
|
2020-03-02 03:42:52 +00:00
|
|
|
cur_obj_play_sound_2(SOUND_OBJ2_BULLY_ATTACKED);
|
2019-08-25 04:46:40 +00:00
|
|
|
else
|
2020-03-02 03:42:52 +00:00
|
|
|
cur_obj_play_sound_2(SOUND_OBJ2_LARGE_BULLY_ATTACKED);
|
2019-08-25 04:46:40 +00:00
|
|
|
|
2019-10-05 19:08:05 +00:00
|
|
|
o->oInteractStatus &= ~INT_STATUS_INTERACTED;
|
2019-08-25 04:46:40 +00:00
|
|
|
o->oAction = BULLY_ACT_KNOCKBACK;
|
|
|
|
o->oFlags &= ~0x8; /* bit 3 */
|
2020-03-02 03:42:52 +00:00
|
|
|
cur_obj_init_animation(3);
|
2019-08-25 04:46:40 +00:00
|
|
|
o->oBullyMarioCollisionAngle = o->oMoveAngleYaw;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-03-02 03:42:52 +00:00
|
|
|
void bully_act_chase_mario(void) {
|
2019-08-25 04:46:40 +00:00
|
|
|
f32 homeX = o->oHomeX;
|
|
|
|
f32 posY = o->oPosY;
|
|
|
|
f32 homeZ = o->oHomeZ;
|
|
|
|
|
|
|
|
if (o->oTimer < 10) {
|
|
|
|
o->oForwardVel = 3.0;
|
|
|
|
obj_turn_toward_object(o, gMarioObject, 16, 4096);
|
|
|
|
} else if (o->oBehParams2ndByte == BULLY_BP_SIZE_SMALL) {
|
|
|
|
o->oForwardVel = 20.0;
|
|
|
|
if (o->oTimer >= 31)
|
|
|
|
o->oTimer = 0;
|
|
|
|
} else {
|
|
|
|
o->oForwardVel = 30.0;
|
|
|
|
if (o->oTimer >= 36)
|
|
|
|
o->oTimer = 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
if (!is_point_within_radius_of_mario(homeX, posY, homeZ, 1000)) {
|
|
|
|
o->oAction = BULLY_ACT_PATROL;
|
2020-03-02 03:42:52 +00:00
|
|
|
cur_obj_init_animation(0);
|
2019-08-25 04:46:40 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-03-02 03:42:52 +00:00
|
|
|
void bully_act_knockback(void) {
|
2019-08-25 04:46:40 +00:00
|
|
|
if (o->oForwardVel < 10.0 && (s32) o->oVelY == 0) {
|
|
|
|
o->oForwardVel = 1.0;
|
|
|
|
o->oBullyKBTimerAndMinionKOCounter++;
|
|
|
|
o->oFlags |= 0x8; /* bit 3 */
|
|
|
|
o->oMoveAngleYaw = o->oFaceAngleYaw;
|
|
|
|
obj_turn_toward_object(o, gMarioObject, 16, 1280);
|
|
|
|
} else
|
|
|
|
o->header.gfx.unk38.animFrame = 0;
|
|
|
|
|
|
|
|
if (o->oBullyKBTimerAndMinionKOCounter == 18) {
|
|
|
|
o->oAction = BULLY_ACT_CHASE_MARIO;
|
|
|
|
o->oBullyKBTimerAndMinionKOCounter = 0;
|
2020-03-02 03:42:52 +00:00
|
|
|
cur_obj_init_animation(1);
|
2019-08-25 04:46:40 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-03-02 03:42:52 +00:00
|
|
|
void bully_act_back_up(void) {
|
2019-08-25 04:46:40 +00:00
|
|
|
if (o->oTimer == 0) {
|
|
|
|
o->oFlags &= ~0x8; /* bit 3 */
|
|
|
|
o->oMoveAngleYaw += 0x8000;
|
|
|
|
}
|
|
|
|
|
|
|
|
o->oForwardVel = 5.0;
|
|
|
|
|
2020-03-02 03:42:52 +00:00
|
|
|
//! bully_backup_check() happens after this function, and has the potential to reset
|
2019-08-25 04:46:40 +00:00
|
|
|
// the bully's action to BULLY_ACT_BACK_UP. Because the back up action is only
|
|
|
|
// set to end when the timer EQUALS 15, if this happens on that frame, the bully
|
|
|
|
// will be stuck in BULLY_ACT_BACK_UP forever until Mario hits it or its death
|
|
|
|
// conditions are activated. However because its angle is set to its facing angle,
|
|
|
|
// it will walk forward instead of backing up.
|
|
|
|
|
|
|
|
if (o->oTimer == 15) {
|
|
|
|
o->oMoveAngleYaw = o->oFaceAngleYaw;
|
|
|
|
o->oFlags |= 0x8; /* bit 3 */
|
|
|
|
o->oAction = BULLY_ACT_PATROL;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-03-02 03:42:52 +00:00
|
|
|
void bully_backup_check(s16 collisionFlags) {
|
2019-08-25 04:46:40 +00:00
|
|
|
if (!(collisionFlags & 0x8) && o->oAction != BULLY_ACT_KNOCKBACK) /* bit 3 */
|
|
|
|
{
|
|
|
|
o->oPosX = o->oBullyPrevX;
|
|
|
|
o->oPosZ = o->oBullyPrevZ;
|
|
|
|
o->oAction = BULLY_ACT_BACK_UP;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-03-02 03:42:52 +00:00
|
|
|
void bully_play_stomping_sound(void) {
|
2019-08-25 04:46:40 +00:00
|
|
|
s16 sp26 = o->header.gfx.unk38.animFrame;
|
|
|
|
switch (o->oAction) {
|
|
|
|
case BULLY_ACT_PATROL:
|
|
|
|
if (sp26 == 0 || sp26 == 12) {
|
|
|
|
if (o->oBehParams2ndByte == BULLY_BP_SIZE_SMALL)
|
2020-03-02 03:42:52 +00:00
|
|
|
cur_obj_play_sound_2(SOUND_OBJ_BULLY_WALK);
|
2019-08-25 04:46:40 +00:00
|
|
|
else
|
2020-03-02 03:42:52 +00:00
|
|
|
cur_obj_play_sound_2(SOUND_OBJ_BULLY_WALKING);
|
2019-08-25 04:46:40 +00:00
|
|
|
}
|
|
|
|
break;
|
|
|
|
|
|
|
|
case BULLY_ACT_CHASE_MARIO:
|
|
|
|
case BULLY_ACT_BACK_UP:
|
|
|
|
if (sp26 == 0 || sp26 == 5) {
|
|
|
|
if (o->oBehParams2ndByte == BULLY_BP_SIZE_SMALL)
|
2020-03-02 03:42:52 +00:00
|
|
|
cur_obj_play_sound_2(SOUND_OBJ_BULLY_WALK);
|
2019-08-25 04:46:40 +00:00
|
|
|
else
|
2020-03-02 03:42:52 +00:00
|
|
|
cur_obj_play_sound_2(SOUND_OBJ_BULLY_WALKING);
|
2019-08-25 04:46:40 +00:00
|
|
|
}
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-03-02 03:42:52 +00:00
|
|
|
void bully_step(void) {
|
2019-08-25 04:46:40 +00:00
|
|
|
s16 collisionFlags = 0;
|
2019-12-02 02:52:53 +00:00
|
|
|
collisionFlags = object_step();
|
2020-03-02 03:42:52 +00:00
|
|
|
bully_backup_check(collisionFlags);
|
|
|
|
bully_play_stomping_sound();
|
2019-12-02 02:52:53 +00:00
|
|
|
obj_check_floor_death(collisionFlags, sObjFloor);
|
2019-08-25 04:46:40 +00:00
|
|
|
|
|
|
|
if (o->oBullySubtype & BULLY_STYPE_CHILL) {
|
|
|
|
if (o->oPosY < 1030.0f)
|
|
|
|
o->oAction = BULLY_ACT_LAVA_DEATH;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-03-02 03:42:52 +00:00
|
|
|
void bully_spawn_coin(void) {
|
2019-08-25 04:46:40 +00:00
|
|
|
struct Object *coin = spawn_object(o, MODEL_YELLOW_COIN, bhvMovingYellowCoin);
|
2020-02-03 05:51:26 +00:00
|
|
|
#ifdef VERSION_JP //TODO: maybe move this ifdef logic to the header?
|
2020-03-02 03:42:52 +00:00
|
|
|
cur_obj_play_sound_2(SOUND_GENERAL_COIN_SPURT);
|
2020-02-03 05:51:26 +00:00
|
|
|
#elif VERSION_EU
|
2020-03-02 03:42:52 +00:00
|
|
|
cur_obj_play_sound_2(SOUND_GENERAL_COIN_SPURT_EU);
|
2019-08-25 04:46:40 +00:00
|
|
|
#else
|
2020-03-02 03:42:52 +00:00
|
|
|
cur_obj_play_sound_2(SOUND_GENERAL_COIN_SPURT_2);
|
2019-08-25 04:46:40 +00:00
|
|
|
#endif
|
|
|
|
coin->oForwardVel = 10.0f;
|
|
|
|
coin->oVelY = 100.0f;
|
|
|
|
coin->oPosY = o->oPosY + 310.0f;
|
2020-04-03 18:57:26 +00:00
|
|
|
coin->oMoveAngleYaw = (f32)(o->oBullyMarioCollisionAngle + 0x8000) + random_float() * 1024.0f;
|
2019-08-25 04:46:40 +00:00
|
|
|
}
|
|
|
|
|
2020-03-02 03:42:52 +00:00
|
|
|
void bully_act_level_death(void) {
|
2019-12-02 02:52:53 +00:00
|
|
|
if (obj_lava_death() == 1) {
|
2019-08-25 04:46:40 +00:00
|
|
|
if (o->oBehParams2ndByte == BULLY_BP_SIZE_SMALL) {
|
|
|
|
if (o->oBullySubtype == BULLY_STYPE_MINION)
|
|
|
|
o->parentObj->oBullyKBTimerAndMinionKOCounter++;
|
2020-03-02 03:42:52 +00:00
|
|
|
bully_spawn_coin();
|
2019-08-25 04:46:40 +00:00
|
|
|
} else {
|
2020-03-02 03:42:52 +00:00
|
|
|
spawn_mist_particles();
|
2019-08-25 04:46:40 +00:00
|
|
|
|
|
|
|
if (o->oBullySubtype == BULLY_STYPE_CHILL)
|
2020-03-02 03:42:52 +00:00
|
|
|
spawn_default_star(130.0f, 1600.0f, -4335.0f);
|
2019-08-25 04:46:40 +00:00
|
|
|
else {
|
2020-03-02 03:42:52 +00:00
|
|
|
spawn_default_star(0, 950.0f, -6800.0f);
|
2019-08-25 04:46:40 +00:00
|
|
|
spawn_object_abs_with_rot(o, 0, MODEL_NONE, bhvLllTumblingBridge, 0, 154, -5631, 0, 0,
|
|
|
|
0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
void bhv_bully_loop(void) {
|
|
|
|
o->oBullyPrevX = o->oPosX;
|
|
|
|
o->oBullyPrevY = o->oPosY;
|
|
|
|
o->oBullyPrevZ = o->oPosZ;
|
|
|
|
|
|
|
|
//! Because this function runs no matter what, Mario is able to interrupt the bully's
|
|
|
|
// death action by colliding with it. Since the bully hitbox is tall enough to collide
|
|
|
|
// with Mario even when it is under a lava floor, this can get the bully stuck OOB
|
|
|
|
// if there is nothing under the lava floor.
|
2020-03-02 03:42:52 +00:00
|
|
|
bully_check_mario_collision();
|
2019-08-25 04:46:40 +00:00
|
|
|
|
|
|
|
switch (o->oAction) {
|
|
|
|
case BULLY_ACT_PATROL:
|
|
|
|
o->oForwardVel = 5.0;
|
|
|
|
|
2019-12-02 02:52:53 +00:00
|
|
|
if (obj_return_home_if_safe(o, o->oHomeX, o->oPosY, o->oHomeZ, 800) == 1) {
|
2019-08-25 04:46:40 +00:00
|
|
|
o->oAction = BULLY_ACT_CHASE_MARIO;
|
2020-03-02 03:42:52 +00:00
|
|
|
cur_obj_init_animation(1);
|
2019-08-25 04:46:40 +00:00
|
|
|
}
|
|
|
|
|
2020-03-02 03:42:52 +00:00
|
|
|
bully_step();
|
2019-08-25 04:46:40 +00:00
|
|
|
break;
|
|
|
|
|
|
|
|
case BULLY_ACT_CHASE_MARIO:
|
2020-03-02 03:42:52 +00:00
|
|
|
bully_act_chase_mario();
|
|
|
|
bully_step();
|
2019-08-25 04:46:40 +00:00
|
|
|
break;
|
|
|
|
|
|
|
|
case BULLY_ACT_KNOCKBACK:
|
2020-03-02 03:42:52 +00:00
|
|
|
bully_act_knockback();
|
|
|
|
bully_step();
|
2019-08-25 04:46:40 +00:00
|
|
|
break;
|
|
|
|
|
|
|
|
case BULLY_ACT_BACK_UP:
|
2020-03-02 03:42:52 +00:00
|
|
|
bully_act_back_up();
|
|
|
|
bully_step();
|
2019-08-25 04:46:40 +00:00
|
|
|
break;
|
|
|
|
|
|
|
|
case BULLY_ACT_LAVA_DEATH:
|
2020-03-02 03:42:52 +00:00
|
|
|
bully_act_level_death();
|
2019-08-25 04:46:40 +00:00
|
|
|
break;
|
|
|
|
|
|
|
|
case BULLY_ACT_DEATH_PLANE_DEATH:
|
|
|
|
o->activeFlags = 0;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
|
2019-12-02 02:52:53 +00:00
|
|
|
set_object_visibility(o, 3000);
|
2019-08-25 04:46:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// sp38 = arg0
|
|
|
|
// sp3c = arg1
|
|
|
|
// sp40 = arg2
|
|
|
|
// sp44 = arg3
|
|
|
|
|
2020-03-02 03:42:52 +00:00
|
|
|
void big_bully_spawn_minion(s32 arg0, s32 arg1, s32 arg2, s16 arg3) {
|
2019-08-25 04:46:40 +00:00
|
|
|
struct Object *bully =
|
|
|
|
spawn_object_abs_with_rot(o, 0, MODEL_BULLY, bhvSmallBully, arg0, arg1, arg2, 0, arg3, 00);
|
|
|
|
bully->oBullySubtype = BULLY_STYPE_MINION;
|
|
|
|
bully->oBehParams2ndByte = BULLY_BP_SIZE_SMALL;
|
|
|
|
}
|
|
|
|
|
|
|
|
void bhv_big_bully_with_minions_init(void) {
|
2020-03-02 03:42:52 +00:00
|
|
|
big_bully_spawn_minion(4454, 307, -5426, 0);
|
|
|
|
big_bully_spawn_minion(3840, 307, -6041, 0);
|
|
|
|
big_bully_spawn_minion(3226, 307, -5426, 0);
|
2019-08-25 04:46:40 +00:00
|
|
|
|
2020-04-03 18:57:26 +00:00
|
|
|
o->header.gfx.node.flags |= GRAPH_RENDER_INVISIBLE;
|
2019-08-25 04:46:40 +00:00
|
|
|
|
2020-03-02 03:42:52 +00:00
|
|
|
cur_obj_become_intangible();
|
2019-08-25 04:46:40 +00:00
|
|
|
|
|
|
|
o->oAction = BULLY_ACT_INACTIVE;
|
|
|
|
}
|
|
|
|
|
2020-03-02 03:42:52 +00:00
|
|
|
void big_bully_spawn_star(void) {
|
2019-12-02 02:52:53 +00:00
|
|
|
if (obj_lava_death() == 1) {
|
2020-03-02 03:42:52 +00:00
|
|
|
spawn_mist_particles();
|
|
|
|
spawn_default_star(3700.0f, 600.0f, -5500.0f);
|
2019-08-25 04:46:40 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
void bhv_big_bully_with_minions_loop(void) {
|
2019-09-01 19:50:50 +00:00
|
|
|
#ifdef VERSION_EU
|
|
|
|
s32 collisionFlags;
|
|
|
|
#else
|
2019-08-25 04:46:40 +00:00
|
|
|
s16 collisionFlags;
|
2019-09-01 19:50:50 +00:00
|
|
|
#endif
|
2019-08-25 04:46:40 +00:00
|
|
|
|
|
|
|
o->oBullyPrevX = o->oPosX;
|
|
|
|
o->oBullyPrevY = o->oPosY;
|
|
|
|
o->oBullyPrevZ = o->oPosZ;
|
|
|
|
|
2020-03-02 03:42:52 +00:00
|
|
|
bully_check_mario_collision();
|
2019-08-25 04:46:40 +00:00
|
|
|
|
|
|
|
switch (o->oAction) {
|
|
|
|
case BULLY_ACT_PATROL:
|
|
|
|
o->oForwardVel = 5.0;
|
|
|
|
|
2019-12-02 02:52:53 +00:00
|
|
|
if (obj_return_home_if_safe(o, o->oHomeX, o->oPosY, o->oHomeZ, 1000) == 1) {
|
2019-08-25 04:46:40 +00:00
|
|
|
o->oAction = BULLY_ACT_CHASE_MARIO;
|
2020-03-02 03:42:52 +00:00
|
|
|
cur_obj_init_animation(1);
|
2019-08-25 04:46:40 +00:00
|
|
|
}
|
|
|
|
|
2020-03-02 03:42:52 +00:00
|
|
|
bully_step();
|
2019-08-25 04:46:40 +00:00
|
|
|
break;
|
|
|
|
|
|
|
|
case BULLY_ACT_CHASE_MARIO:
|
2020-03-02 03:42:52 +00:00
|
|
|
bully_act_chase_mario();
|
|
|
|
bully_step();
|
2019-08-25 04:46:40 +00:00
|
|
|
break;
|
|
|
|
|
|
|
|
case BULLY_ACT_KNOCKBACK:
|
2020-03-02 03:42:52 +00:00
|
|
|
bully_act_knockback();
|
|
|
|
bully_step();
|
2019-08-25 04:46:40 +00:00
|
|
|
break;
|
|
|
|
|
|
|
|
case BULLY_ACT_BACK_UP:
|
2020-03-02 03:42:52 +00:00
|
|
|
bully_act_back_up();
|
|
|
|
bully_step();
|
2019-08-25 04:46:40 +00:00
|
|
|
break;
|
|
|
|
|
|
|
|
case BULLY_ACT_INACTIVE:
|
|
|
|
//! The Big Bully that spawns from killing its 3 minions uses the knockback timer
|
|
|
|
// for counting the number of dead minions. This means that when it activates,
|
|
|
|
// the knockback timer is at 3 instead of 0. So the bully knockback time will
|
|
|
|
// be reduced by 3 frames (16.67%) on the first hit.
|
|
|
|
if (o->oBullyKBTimerAndMinionKOCounter == 3) {
|
|
|
|
play_puzzle_jingle();
|
|
|
|
|
|
|
|
if (o->oTimer >= 91)
|
|
|
|
o->oAction = BULLY_ACT_ACTIVATE_AND_FALL;
|
|
|
|
}
|
|
|
|
break;
|
|
|
|
|
|
|
|
case BULLY_ACT_ACTIVATE_AND_FALL:
|
2019-12-02 02:52:53 +00:00
|
|
|
collisionFlags = object_step();
|
2019-08-25 04:46:40 +00:00
|
|
|
if ((collisionFlags & 0x9) == 0x9) /* bits 0 and 3 */
|
|
|
|
o->oAction = BULLY_ACT_PATROL;
|
|
|
|
|
|
|
|
if (collisionFlags == 1) {
|
2020-03-02 03:42:52 +00:00
|
|
|
cur_obj_play_sound_2(SOUND_OBJ_THWOMP);
|
2020-01-03 15:38:57 +00:00
|
|
|
set_camera_shake_from_point(SHAKE_POS_SMALL, o->oPosX, o->oPosY, o->oPosZ);
|
2020-03-02 03:42:52 +00:00
|
|
|
spawn_mist_particles();
|
2019-08-25 04:46:40 +00:00
|
|
|
}
|
|
|
|
|
2020-04-03 18:57:26 +00:00
|
|
|
o->header.gfx.node.flags &= ~GRAPH_RENDER_INVISIBLE;
|
2020-03-02 03:42:52 +00:00
|
|
|
cur_obj_become_tangible();
|
2019-08-25 04:46:40 +00:00
|
|
|
break;
|
|
|
|
|
|
|
|
case BULLY_ACT_LAVA_DEATH:
|
2020-03-02 03:42:52 +00:00
|
|
|
big_bully_spawn_star();
|
2019-08-25 04:46:40 +00:00
|
|
|
break;
|
|
|
|
|
|
|
|
case BULLY_ACT_DEATH_PLANE_DEATH:
|
|
|
|
o->activeFlags = 0;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|