diff --git a/ancilla.c b/ancilla.c index f5b9c12..a984b9d 100644 --- a/ancilla.c +++ b/ancilla.c @@ -5487,6 +5487,9 @@ void RevivalFairy_MonitorHP() { // 88f430 } else if (link_is_bunny) { link_player_handler_state = kPlayerState_PermaBunny; link_is_bunny_mirror = 1; + //bugfix: dying as permabunny doesn't restore link palette during death animation + if (enhanced_features0 & kFeatures0_MiscBugFixes) + LoadGearPalettes_bunny(); } else { link_player_handler_state = kPlayerState_Ground; } diff --git a/messaging.c b/messaging.c index b94ebae..7ddcf18 100644 --- a/messaging.c +++ b/messaging.c @@ -3008,6 +3008,9 @@ void Death_PrepFaint() { // 8ffa6f if (link_item_moon_pearl) link_is_bunny = 0; link_timer_tempbunny = 0; + //bugfix: dying as permabunny doesn't restore link palette during death animation + if (enhanced_features0 & kFeatures0_MiscBugFixes) + LoadActualGearPalettes(); sound_effect_1 = 0x27 | Link_CalculateSfxPan(); for (int i = 0; i != 4; i++) { if (link_bottle_info[i] == 6)