From 6336ffd699cb04a31a1349e2ec66ae6f450a53b9 Mon Sep 17 00:00:00 2001 From: JeffGainsNGames Date: Fri, 24 May 2024 07:50:59 -0400 Subject: [PATCH 1/3] Add pb drops to bosses --- CHANGELOG.md | 1 + YAMS-LIB/Program.cs | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bba0819..ebc561a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ This format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) ### Added - Added ammo drops to Queen +- Added PB drops to all bosses ### Changed - The Walljump item has been renamed to Walljump Boots. diff --git a/YAMS-LIB/Program.cs b/YAMS-LIB/Program.cs index 28c0786..93891fd 100644 --- a/YAMS-LIB/Program.cs +++ b/YAMS-LIB/Program.cs @@ -159,7 +159,7 @@ public static void Main(string am2rPath, string outputAm2rPath, string jsonPath) gmData.Code.ByName("gml_RoomCC_rm_a0h01_3762_Create").AppendGMLInCode("instance_destroy()"); gmData.Code.ByName("gml_Room_rm_a0h01_Create").AppendGMLInCode("tile_layer_delete(-119)"); - // Killing Queen spawns pickups (helps prevent softlocks with DLR + // Killing Queen spawns pickups (helps prevent softlocks with DLR) gmData.Code.ByName("gml_Object_oQueen_Other_20").AppendGMLInCode("spawn_many_powerups(x, y-70, 100, 60)"); // Make Logbook colored @@ -2736,6 +2736,9 @@ public static void Main(string am2rPath, string outputAm2rPath, string jsonPath) } } + // Make Bosses now spawns PB drops on death + gmData.Code.ByName("gml_Script_spawn_many_powerups").ReplaceGMLInCode("if ((global.hasBombs == 0 && global.maxpbombs > 0) || (oControl.mod_insanitymode == 1 && global.maxpbombs > 0))", "if (global.maxpbombs > 0)"); + // Add patch to see room names on minimap DisplayRoomNamesOnMap.Apply(gmData, decompileContext, seedObject); From 03242de32c3b138934788bdf30418761fdcc7531 Mon Sep 17 00:00:00 2001 From: JeffGainsNGames Date: Fri, 24 May 2024 07:54:25 -0400 Subject: [PATCH 2/3] add new changelog entry --- CHANGELOG.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ebc561a..fd90abe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,11 +3,13 @@ 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) +## [2.4.0] - 2024-05-xx +- Added PB drops to all bosses + ## [2.3.0] - 2024-05-xx ### Added - Added ammo drops to Queen -- Added PB drops to all bosses ### Changed - The Walljump item has been renamed to Walljump Boots. From 5bfad473492cb872ed7d7f31029c22289a6ebd4e Mon Sep 17 00:00:00 2001 From: JeffGainsNGames Date: Fri, 24 May 2024 07:57:41 -0400 Subject: [PATCH 3/3] add suggested formatting Co-authored-by: Miepee <38186597+Miepee@users.noreply.github.com> --- CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fd90abe..d79b6b6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,8 @@ 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) ## [2.4.0] - 2024-05-xx -- Added PB drops to all bosses +### Added +- All Bosses now drop Power Bombs on death. ## [2.3.0] - 2024-05-xx