lhearachel / plat-engine

MIT License
3 stars 2 forks source link

Poison Touch #56

Open lhearachel opened 1 year ago

lhearachel commented 1 year ago

Documentation

https://bulbapedia.bulbagarden.net/wiki/Poison_Touch_(Ability)

If a Pokémon with this Ability uses a move that makes contact, there is a 30% chance the target will become poisoned.

Relevant Code Points

Function 0x0225708C currently only checks for abilities owned by the defending battler, but can be modified to also check for abilities owned by the attacking battler. A branch should be added in the case that the attacker has Poison Touch.