Skip to content

Commit

Permalink
Make proper fix for screw attack blocks not being destroyed in their CC
Browse files Browse the repository at this point in the history
  • Loading branch information
Miepee committed Sep 16, 2023
1 parent 5a35d28 commit db496d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion YAMS-LIB/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2670,7 +2670,7 @@ void RotateTextureAndSaveToTexturePage(int rotation, UndertaleTexturePageItem te
{
if (gameObject.CreationCode is null) continue;

ReplaceGMLInCode(gameObject.CreationCode, "instance_destroy()", "while (false) {}");
ReplaceGMLInCode(gameObject.CreationCode, "global.hasScrewattack == 0", "false");
}
}
// A bunch of tiles in a5c13 - screw blocks before pipe hub
Expand Down

0 comments on commit db496d7

Please sign in to comment.