project-restoration icon indicating copy to clipboard operation
project-restoration copied to clipboard

Odolwa jumping while in the air

Open Anonymine opened this issue 4 years ago • 1 comments

When hit by one of FDL’s beams while in the air, Odolwa will initiate a jump again despite not being grounded. The original 3DS version didn’t have this issue, as him being able to fall to the ground prevented this.

While controversial, I’d like to suggest that the ability to make Odolwa fall be reimplemented to fix this - maybe changing Deku Nuts to only stagger him instead of outright stun him, as that was too broken a mechanic in the original. The eye, for obvious reasons would also not be added back.

A video of the air hopping in action: https://youtu.be/z_7CHSmIcuE A video of what it looks like in the original: https://youtu.be/6x9z3x9ygo0

Anonymine avatar Apr 25 '20 18:04 Anonymine

That's just because Odolwa is programmed to always jump away when 3 damage points have been dealt:

https://github.com/leoetlino/project-restoration/blob/fe301d4efbe0c0165201beabe3710f08f2642f7b/source/rst/fixes/boss.cpp#L197-L202

And beams deal at least 3 damage points (or exactly 3, I can't remember).

The easy fix would be to check whether Odolwa is already in the jumping state (0x55B0FC) and to skip the call to OdolwaJumpAway if he is.

leoetlino avatar Apr 25 '20 19:04 leoetlino