ref: ca656497b4a8b27ff3d766b966e834b39cfc9078
parent: 41367329f9145f23e912a521eccee3d0e2131c93
author: Snesrev <[email protected]>
date: Sun Oct 16 23:45:20 EDT 2022
Variable was not cleared on save/load which affects bonk items (#126) Bug Report: If you defeat the last Armos Knight in Ganon's Tower in the middle of its stomp effect, then save+quit, then go to the lumberjack's tree in the light world using only the mirror, the tree will fall on its own once you get close to it.
--- a/player.c
+++ b/player.c
@@ -6224,8 +6224,12 @@
link_spin_attack_step_counter = 0;
// This fixes the jump ledge exploration glitch
- if (enhanced_features0 & kFeatures0_MiscBugFixes)
+ if (enhanced_features0 & kFeatures0_MiscBugFixes) {
about_to_jump_off_ledge = 0;
+
+ // These could be 1 if quitting while killing armos knight
+ bg1_y_offset = bg1_x_offset = 0;
+ }
}
void Link_ResetProperties_A() { // 87f1a3