Skip to content

Commit

Permalink
Make proper fix for screw attack blocks not being destroyed in their …
Browse files Browse the repository at this point in the history
…CC (#83)
  • Loading branch information
Miepee authored Sep 16, 2023
1 parent 5a35d28 commit 0b8106e
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 0b8106e

Please sign in to comment.