Skip to content

Implement QuarkDrive

Zøzo requested to merge Zodiarche/pokemonsdk:add/QuarkDrive into development

MR Description

  • Implement QuarkDrive

Before testing

  • Add the ability to Studio

Notes to acknowledge before testing

  • To have current atk : $scene.logic.battler(0,0).atk
  • To have the original atk : $scene.logic.battler(0,0).original.atk
  • You can do it with dfe / dfs / ats / spd
  • (0,0) is your first pokemon / (0,1) your second / (1,0) is the first ennemy pokemon / (1,1) the second

Tests to realize

  • When a Pokémon with Quark Drive is on the field and Electric Terrain is active, or the Pokémon is holding Booster Energy, its highest stat is increased by 30%, or 50% if Speed is the highest stat.
  • If multiple stats are tied for highest, Quark Drive breaks the tie by prioritizing Attack, Defense, Special Attack, Special Defense, and Speed, in that order.
  • Quark Drive will activate even if the Pokémon is not grounded.
  • Electric Terrain will activate Quark Drive before a held Booster Energy, so the Booster Energy will not be consumed if the Pokémon with Quark Drive is on Electric Terrain.
  • If activated by terrain, the effect of Quark Drive will end when the field is no longer affected by electric terrain.
Edited by Zøzo

Merge request reports