diff options
| author | Sonic Dreamcaster <alejandro.asenjo88@gmail.com> | 2026-01-15 20:11:54 -0300 |
|---|---|---|
| committer | Sonic Dreamcaster <alejandro.asenjo88@gmail.com> | 2026-01-15 20:11:54 -0300 |
| commit | d2ae1bae4a37173a712ccd7ca8f990afdf464adb (patch) | |
| tree | e3a3fad1075ee1a24864bd314c1f05cf3a1bd624 /src/engine | |
| parent | d4094ec9d27d4e4ebd3ef35e6859d164c4ff8144 (diff) | |
Add rumble to Fortuna exploding cutscene
Diffstat (limited to 'src/engine')
| -rw-r--r-- | src/engine/fox_demo.c | 4 | ||||
| -rw-r--r-- | src/engine/fox_hud.c | 4 |
2 files changed, 7 insertions, 1 deletions
diff --git a/src/engine/fox_demo.c b/src/engine/fox_demo.c index 392fe14c..8b243ca6 100644 --- a/src/engine/fox_demo.c +++ b/src/engine/fox_demo.c @@ -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; diff --git a/src/engine/fox_hud.c b/src/engine/fox_hud.c index b35256d4..e31a1f40 100644 --- a/src/engine/fox_hud.c +++ b/src/engine/fox_hud.c @@ -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: |
