Skip to content

Commit

Permalink
Fix progressive suits giving grav on skipped cutscenees (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
Miepee authored Oct 10, 2023
1 parent a1fdb26 commit 6bb2071
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion YAMS-LIB/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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; }",
Expand Down

0 comments on commit 6bb2071

Please sign in to comment.