ref: 4e85ad1df5ce4e781e186c8feb4c50a7d5cf9e28
parent: 6cb8957e44a7fdae43822cf282eaa375241beaf1
author: Snesrev <snesrev@protonmail.com>
date: Thu Sep 29 19:44:07 EDT 2022
Fix Mushroom Glitch garbled graphics (#126)
--- a/sprite_main.c
+++ b/sprite_main.c
@@ -6601,6 +6601,11 @@
SpriteDraw_SingleLarge(k);
if (Sprite_CheckIfLinkIsBusy())
return;
+
+ // If we're in the middle of a mirror warp, don't get the mushroom yet
+ if (enhanced_features0 & kFeatures0_MiscBugFixes && submodule_index != 0)
+ return;
+
if (Sprite_CheckDamageToLink_same_layer(k)) {
sprite_state[k] = 0;
item_receipt_method = 0;