Add rumble to Fortuna exploding cutscene

This commit is contained in:
Sonic Dreamcaster
2026-01-15 20:11:54 -03:00
parent d4094ec9d2
commit d2ae1bae4a
2 changed files with 7 additions and 1 deletions
+3 -1
View File
@@ -2422,7 +2422,7 @@ void ActorCutscene_Update(ActorCutscene* this) {
break;
case LEVEL_FORTUNA:
if (this->animFrame == 11) {
if (this->animFrame == ACTOR_CS_FO_EXPLOSION) {
switch (this->state) {
case 0:
if (gCsFrameCount == 100) {
@@ -2430,6 +2430,8 @@ void ActorCutscene_Update(ActorCutscene* this) {
this->timer_0BC = 50;
this->iwork[0] = 255;
AUDIO_PLAY_SFX(NA_SE_EN_BOSS_EXPLOSION, this->sfxSource, 0);
// @port: Add rumble to this explosion
gControllerRumbleTimers[0] = 4;
}
break;
+4
View File
@@ -3875,6 +3875,8 @@ s32 FoBase_ExplodeCs(FoBase* this) {
Math_SmoothStepToF(&this->fwork[4], this->obj.pos.x + 0.0f, 0.02f, 10000.0f, 0.0f);
Math_SmoothStepToF(&this->fwork[5], this->obj.pos.y + 500.0f, 0.02f, 10000.0f, 0.0f);
Math_SmoothStepToF(&this->fwork[6], this->obj.pos.z + 1500.0f, 0.02f, 10000.0f, 0.0f);
// @port: Add rumble to this cutscene
gControllerRumbleTimers[0] = 60;
break;
case 2:
@@ -3890,6 +3892,8 @@ s32 FoBase_ExplodeCs(FoBase* this) {
Math_SmoothStepToF(&this->fwork[4], this->obj.pos.x + 0.0f, 0.02f, 10000.0f, 0.0f);
Math_SmoothStepToF(&this->fwork[5], this->obj.pos.y + 1500.0f, 0.02f, 10000.0f, 0.0f);
Math_SmoothStepToF(&this->fwork[6], this->obj.pos.z + 1500.0f, 0.02f, 10000.0f, 0.0f);
// @port: Add rumble to this cutscene
gControllerRumbleTimers[0] = 60;
break;
case 3: