Yes, I made sure the conditions were perfect for the Oddish to level up fast:
False swiped to one HP by Scyther multiple times
Black sludge on Scyther to ensure he faints
Paralyzed by Magneton and ensure that Magneton faints
Golbat is fully paralyzed which ensures that my Oddish can hit it
Here is where the bug happens:
Golbat is at 1 HP
The Absorb didn't miss
Golbat survives the attack and kills my Oddish next turn