lhearachel / plat-engine

MIT License
4 stars 2 forks source link

Sap Sipper #68

Closed lhearachel closed 1 year ago

lhearachel commented 1 year ago

Documentation

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

When a Pokémon with Sap Sipper is hit by a Grass-type move, its Attack is increased by one stage, and the move will have no effect on that Pokémon.

Multi-strike moves, such as Bullet Seed, will only increase the Pokémon's Attack once. Aromatherapy will activate Sap Sipper of allies.

Sap Sipper will not activate if the Pokémon is protected from the Grass-type move.

Relevant Code Points

Function 0x02256148 needs a new branch to account for Sap Sipper. It should invoke the stat-change subscript with the Attack Up code.

lhearachel commented 1 year ago

https://github.com/lhearachel/plat-engine/pull/85