From 0d9e1c3dd901f1e52d158d173ae226cc86656c25 Mon Sep 17 00:00:00 2001 From: Miepee Date: Fri, 5 Jul 2024 01:21:10 +0200 Subject: [PATCH 1/2] Revert "Track bosses in MW" This reverts commit d0d071d6bbbdd5531a33ab32e20ebec9b03cd5b0. --- YAMS-LIB/Program.cs | 1 - YAMS-LIB/patches/AddBossMWTracking.cs | 30 --------------------------- 2 files changed, 31 deletions(-) delete mode 100644 YAMS-LIB/patches/AddBossMWTracking.cs diff --git a/YAMS-LIB/Program.cs b/YAMS-LIB/Program.cs index 530c4ac..e75daf5 100644 --- a/YAMS-LIB/Program.cs +++ b/YAMS-LIB/Program.cs @@ -596,7 +596,6 @@ public static void Main(string am2rPath, string outputAm2rPath, string jsonPath) // Multiworld stuff Multiworld.Apply(gmData, decompileContext, seedObject); - AddBossMWTracking.Apply(gmData, decompileContext, seedObject); // Write back to disk using (FileStream fs = new FileInfo(outputAm2rPath).OpenWrite()) diff --git a/YAMS-LIB/patches/AddBossMWTracking.cs b/YAMS-LIB/patches/AddBossMWTracking.cs deleted file mode 100644 index 30145cf..0000000 --- a/YAMS-LIB/patches/AddBossMWTracking.cs +++ /dev/null @@ -1,30 +0,0 @@ -using UndertaleModLib; -using UndertaleModLib.Decompiler; -using UndertaleModLib.Models; - -namespace YAMS_LIB.patches; - -public class AddBossMWTracking -{ - public static void Apply(UndertaleData gmData, GlobalDecompileContext decompileContext, SeedObject seedObject) - { - // Guardian - gmData.Code.ByName("gml_Object_oBoss1Head_Step_0").ReplaceGMLInCode("sfx_play(sndBoss1Death)", "sfx_play(sndBoss1Death); global.collectedItems += \"Guardian|1,\"; send_location_and_inventory_packet();"); - gmData.Code.ByName("gml_Object_oBoss1Head_Collision_382").ReplaceGMLInCode("sfx_play(sndBoss1Death)", "sfx_play(sndBoss1Death); global.collectedItems += \"Guardian|1,\"; send_location_and_inventory_packet();"); - - // Arachnus - gmData.Code.ByName("gml_Object_oArachnus_Step_0").ReplaceGMLInCode("sfx_play(sndArachnusDeath)", "sfx_play(sndArachnusDeath); global.collectedItems += \"Arachnus|1,\"; send_location_and_inventory_packet();"); - - // Torizo - gmData.Code.ByName("gml_Object_oTorizo2_Step_0").ReplaceGMLInCode("sfx_play(sndTorizoDeath)", "{ sfx_play(sndTorizoDeath); global.collectedItems += \"Torizo|1,\"; send_location_and_inventory_packet(); }"); - - // Tester - gmData.Code.ByName("gml_Object_oTester_Step_0").ReplaceGMLInCode("sfx_play(sndTesterDeath)", "sfx_play(sndTesterDeath); global.collectedItems += \"Tester|1,\"; send_location_and_inventory_packet();"); - - // Serris - gmData.Code.ByName("gml_Object_oErisHead_Step_0").ReplaceGMLInCode("sfx_play(sndErisDeath)", "sfx_play(sndErisDeath); global.collectedItems += \"Serris|1,\"; send_location_and_inventory_packet();"); - - // Genesis - gmData.Code.ByName("gml_Object_oGenesis_Step_0").ReplaceGMLInCode("sfx_play(sndGenesisDeath)", "sfx_play(sndGenesisDeath); global.collectedItems += \"Genesis|1,\"; send_location_and_inventory_packet();"); - } -} From 51481d6e7a35f5935624b868809bbe602950f90b Mon Sep 17 00:00:00 2001 From: Miepee Date: Fri, 5 Jul 2024 01:23:55 +0200 Subject: [PATCH 2/2] Release 2.7.6 --- CHANGELOG.md | 5 +++++ YAMS-LIB/YAMS-LIB.csproj | 2 +- pyproject.toml | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2476dd2..bf15f42 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,11 @@ 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 (tries to) adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) +## [2.7.6] - 2024-07-05 + +### Fixed +- Tower rooms are now have their correct lighting status. + ## [2.7.5] - 2024-07-01 ### Fixed diff --git a/YAMS-LIB/YAMS-LIB.csproj b/YAMS-LIB/YAMS-LIB.csproj index c98d764..c52d558 100644 --- a/YAMS-LIB/YAMS-LIB.csproj +++ b/YAMS-LIB/YAMS-LIB.csproj @@ -1,7 +1,7 @@ - 2.7.5 + 2.7.6 net6.0 enable enable diff --git a/pyproject.toml b/pyproject.toml index 9dd1908..4b3af9a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "am2r_yams" -version = "2.7.5" +version = "2.7.6" authors = [ {name = "Miepee"}, ]