mirror of
https://github.com/snesrev/zelda3.git
synced 2025-12-19 18:05:55 -05:00
Fix dying as permabunny palette bug (#184)
* fix dying as permabunny palette bug (#126) * fix dying as a permabunny palette bug (#126)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user