diff --git a/src/engine/fox_beam.c b/src/engine/fox_beam.c index 7defccb2..ae19d6f7 100644 --- a/src/engine/fox_beam.c +++ b/src/engine/fox_beam.c @@ -1310,7 +1310,14 @@ void PlayerShot_DrawShot(PlayerShot* shot) { Matrix_SetGfxMtx(&gMasterDisp); gSPDisplayList(gMasterDisp++, aOrbDL); } else { - Matrix_Scale(gGfxMatrix, shot->scale, shot->scale, shot->scale, MTXF_APPLY); + + if (CVarGetInteger("gRestoreBetaBombExplosion", 0) != 1) { + Matrix_Scale(gGfxMatrix, shot->scale, shot->scale, shot->scale, MTXF_APPLY); + } else { + Matrix_Scale(gGfxMatrix, shot->scale / 1.5f, shot->scale / 1.5f, shot->scale / 1.5f, + MTXF_APPLY); + } + Matrix_SetGfxMtx(&gMasterDisp); if (gVersusMode) { RCP_SetupDL_49(); @@ -1333,7 +1340,12 @@ void PlayerShot_DrawShot(PlayerShot* shot) { RCP_SetupDL_64_2(); gDPSetPrimColor(gMasterDisp++, 0x00, 0x00, 255, 255, 255, shot->unk_58); } - gSPDisplayList(gMasterDisp++, D_1031EC0); + + if (CVarGetInteger("gRestoreBetaBombExplosion", 0) != 1) { + gSPDisplayList(gMasterDisp++, D_1031EC0); + } else { + gSPDisplayList(gMasterDisp++, D_102FF90); + } } break; case PLAYERSHOT_TANK: diff --git a/src/port/ui/ImguiUI.cpp b/src/port/ui/ImguiUI.cpp index f488aedf..67dfb7e1 100644 --- a/src/port/ui/ImguiUI.cpp +++ b/src/port/ui/ImguiUI.cpp @@ -606,6 +606,10 @@ void DrawEnhancementsMenu() { .tooltip = "Restores the missile cutscene bug present in JP 1.0" }); + UIWidgets::CVarCheckbox("Beta: Restore beta bomb explosion", "gRestoreBetaBombExplosion", { + .tooltip = "Restores the beta bomb explosion found inside the game" + }); + UIWidgets::CVarCheckbox("Beta: Restore beta coin", "gRestoreBetaCoin", { .tooltip = "Restores the beta coin that got replaced with the gold ring" });