jojobear13 / shinpokered

Mostly-vanilla hack of Pokémon Red/Blue focused on bugfixes and trainer ai
210 stars 42 forks source link

Bug: repels will waste the mew encounter #222

Closed jojobear13 closed 1 year ago

jojobear13 commented 1 year ago

If mew would be encountered, but the encounter is blocked by a repel, the game still treats things as if mew was encountered. This is because the function for encountering mew happens before repels are taken into account instead of when an encounter is actually confirmed.