LunaLua icon indicating copy to clipboard operation
LunaLua copied to clipboard

NPC ceiling bug fix

Open MrDoubleA232 opened this issue 1 year ago • 0 comments

Fixes NPCs often getting an incorrect vertical speed assigned when hitting a ceiling. Just NOPs out the chunk of code that moves B into the edi register, thus allowing winningBlock to stay in place (relevant source). Revertible by an FFI function. Thanks, of course, to ds-sloth for finding and explaining the cause of the issue!

MrDoubleA232 avatar Feb 25 '24 23:02 MrDoubleA232