Skip to content

Commit

Permalink
Fix sfx when spinjumping into progressive SJ
Browse files Browse the repository at this point in the history
  • Loading branch information
Miepee committed Jan 2, 2024
1 parent 2a3e5c8 commit 01d1040
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ This format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
## [1.1.3] - 2024-01-??
### Fixed
- Item fanfare and starting fanfare overlapping when starting with random items.
- Don't look the spinjump sound effect, when spinjumping into a progressive Space Jump.

## [1.1.2] - 2023-12-31
### Fixed
Expand Down
2 changes: 1 addition & 1 deletion YAMS-LIB/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2390,7 +2390,7 @@ void RotateTextureAndSaveToTexturePage(int rotation, UndertaleTexturePageItem te
ItemEnum.Speedbooster => "event_inherited(); if (active) { global.speedbooster = 1; global.hasSpeedbooster = 1; }",
ItemEnum.Hijump => "event_inherited(); if (active) { global.hijump = 1; global.hasHijump = 1; }",
ItemEnum.ProgressiveJump =>
"event_inherited(); if (active) { if (global.hasSpacejump) exit; else if (global.hasHijump) { global.spacejump = 1; global.hasSpacejump = 1; } else { global.hijump = 1; global.hasHijump = 1; } }",
"event_inherited(); if (active) { if (global.hasSpacejump) exit; else if (global.hasHijump) { global.spacejump = 1; global.hasSpacejump = 1; with (oCharacter) sfx_stop(spinjump_sound); } else { global.hijump = 1; global.hasHijump = 1; } }",
ItemEnum.Gravity => """
event_inherited();
global.SuitChange = !global.skipItemFanfare;
Expand Down

0 comments on commit 01d1040

Please sign in to comment.