This seemed like a fun battle, until i realised Magnemite has 80 HP and is Timid ;-;
Thunder-Wave -> Thunder-Wave -> Electroball
90 HP
100 EN
3/2/2/1/69
Inner Focus
80 HP
100 EN
1/3/3/2/52
Magnet Pull
72 HP
74 EN
3/2/2/1/69
Inner Focus
42 HP
77 EN
1/3/3/2/52
Magnet Pull
Electroball*3
If Dig AND you are not Taunted AND you are not under the effects of Magnet Rise, use Magnet Rise that action and push-back.
If you are Taunted, use Volt-Switch that action and push-back.
BONUS SUB BECAUSE I CAN: If damaging fighting type move, scream.
Thunder-Wave -> Thunder-Wave -> Electroball

90 HP
100 EN
3/2/2/1/69
Inner Focus

80 HP
100 EN
1/3/3/2/52
Magnet Pull
Action 1
Riolu used Protect - 7 energy
Magne used Thunder-Wave - 6 energy
Action 2
Riolu used Cross Chop - 6 energy
To hit (8419) - Yes
To crit (9318) - No
(10 + 3)*1,5 = 19,5 damage
Magnemite used Thunder-Wave - 10 energy
Action 3
Magnemite used Electroball - 7 energy
To crit (1075) - No
(12 + 3 + 3) = 18 damage
Riolu used Dig - 10 energy
To crit (9812) - No
(8)*2,25 = 18 damage
Riolu used Protect - 7 energy
Magne used Thunder-Wave - 6 energy
Action 2
Riolu used Cross Chop - 6 energy
To hit (8419) - Yes
To crit (9318) - No
(10 + 3)*1,5 = 19,5 damage
Magnemite used Thunder-Wave - 10 energy
Action 3
Magnemite used Electroball - 7 energy
To crit (1075) - No
(12 + 3 + 3) = 18 damage
Riolu used Dig - 10 energy
To crit (9812) - No
(8)*2,25 = 18 damage

72 HP
74 EN
3/2/2/1/69
Inner Focus

42 HP
77 EN
1/3/3/2/52
Magnet Pull
Electroball*3
If Dig AND you are not Taunted AND you are not under the effects of Magnet Rise, use Magnet Rise that action and push-back.
If you are Taunted, use Volt-Switch that action and push-back.
BONUS SUB BECAUSE I CAN: If damaging fighting type move, scream.