Skip to content

Commit

Permalink
Fix Metroid message showing up multiple times (#136)
Browse files Browse the repository at this point in the history
  • Loading branch information
Miepee authored Jan 5, 2024
1 parent a3fd85c commit 9dedce0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file.

This format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html)

## [1.1.4] - 2024-01-05
### Fixed
- Entering "Hatchling Room Underside" will now show the Metroid scan notification only once.

## [1.1.3] - 2024-01-02
### Fixed
- Item fanfare and starting fanfare overlapping when starting with random items.
Expand Down
2 changes: 1 addition & 1 deletion YAMS-LIB/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2804,7 +2804,7 @@ void RotateTextureAndSaveToTexturePage(int rotation, UndertaleTexturePageItem te
characterVarsCode.AppendGMLInCode("global.event[302] = global.skipCutscenes");
// Also still increase the metroid counters from the hatchling cutscene
gmData.Code.ByName("gml_Object_oEggTrigger_Create_0").PrependGMLInCode("""
if (global.skipCutscenes)
if (global.skipCutscenes && !global.event[302])
{
if (oControl.mod_monstersextremecheck == 1)
oControl.mod_monstersextreme = 1
Expand Down

0 comments on commit 9dedce0

Please sign in to comment.