From 6bb20712236d6851070bbb84bdd124594a00784a Mon Sep 17 00:00:00 2001 From: Miepee <38186597+Miepee@users.noreply.github.com> Date: Tue, 10 Oct 2023 14:19:27 +0200 Subject: [PATCH] Fix progressive suits giving grav on skipped cutscenees (#99) --- YAMS-LIB/Program.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/YAMS-LIB/Program.cs b/YAMS-LIB/Program.cs index 1be1f49..9612944 100644 --- a/YAMS-LIB/Program.cs +++ b/YAMS-LIB/Program.cs @@ -2606,7 +2606,10 @@ void RotateTextureAndSaveToTexturePage(int rotation, UndertaleTexturePageItem te if (active) { with (oCharacter) - alarm[4] = 1; + if (global.hasGravity) + alarm[4] = 1; + else if (global.hasVaria) + alarm[1] = 1; } """, ItemEnum.Charge => "btn1_name = \"Fire\"; event_inherited(); if (active) { global.cbeam = 1; global.hasCbeam = 1; }",