From f1aca0fc46446c93af40c8c6f01af68dbba39f67 Mon Sep 17 00:00:00 2001 From: LiquidCat64 <74896918+LiquidCat64@users.noreply.github.com> Date: Sat, 29 Nov 2025 11:07:02 -0700 Subject: [PATCH] CVCotM: Add a client safeguard in case the player doesn't have Dash Boots #5500 --- worlds/cvcotm/client.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/worlds/cvcotm/client.py b/worlds/cvcotm/client.py index 36019cd60e..74a853bbaa 100644 --- a/worlds/cvcotm/client.py +++ b/worlds/cvcotm/client.py @@ -247,6 +247,10 @@ class CastlevaniaCotMClient(BizHawkClient): await bizhawk.write(ctx.bizhawk_ctx, [(QUEUED_TEXTBOX_1_ADDRESS, [0 for _ in range(12)], "EWRAM")]) return + # If the player doesn't have Dash Boots for whatever reason, put them in their inventory now. + if not magic_items_array[0]: + await bizhawk.write(ctx.bizhawk_ctx, [(MAGIC_ITEMS_ARRAY_START, [1], "EWRAM")]) + # Enable DeathLink if it's in our slot_data. if "DeathLink" not in ctx.tags and ctx.slot_data["death_link"]: await ctx.update_death_link(True)