Skip to content

Fix 00300 ElectroBall

eaven Jungko requested to merge eavenJ/pokemonsdk:fix_electro_ball into development

MR Description

Electro Ball wasn't working properly because of an integer division. Changing user.spd to a float fixes it.

Tests to realize

  • When target is faster than launcher, base power must be 40
  • When target is slower than launcher, base power must vary accordingly to the ratio

Sources related to this MR

Edited by Aerun

Merge request reports