Welcome to Smogon! Take a moment to read the Introduction to Smogon for a run-down on everything Smogon, and make sure you take some time to read the global rules.
IF (Heliolisk is in the evasive state of Dig when you would act) THEN (use Substitute (15 HP) on the first instance, and Cosmic Power on future instances)
IF (Focus Blast is used outside of a combination) AND (you do not have a Substitute up) THEN (use Mirror Coat)
w/ Sand Veil
19 | 67 | 1/2/4/3/126 [+17]
====== Thunder x3
IF Mirror Coat, THEN Thunder + Thunder
IF Sky Uppercut in a combination, THEN Agility (Evasive)
Glalie: Avalanche
Crit: 4760 NO
[12+3+1.5] = 16.5
-7 EN
A2
Lopunny: Fire Punch
Crit: 7958 NO
Burn: 4733 NO
[(8+1.5) × 1.5] = 14.25
-6 EN
Glalie: Ice Fang
Crit: 42 YES
Freeze: 3636 NO
[7+3+3+1.5] = 14.5
-4 EN
A3
Lopunny: Iron Tail
Hit: 8310 YES
Crit: 1004 NO
-Def: 649 YES
[(10+1.5) × 1.5] = 17.25
-7 EN
Glalie: Avalanche
Crit: 101 YES
[12+3+3+1.5] = 19.5
-7 EN
Glalie: Moody
RNG: 7933 (Naive)
======
HP: 49 EN: 80 Ability: Limber Stats: 4/3/1/4/105 Other: Fine
HP: 48 EN: 82 Ability: Moody[Naive] Stats: 4/3/3/3[2]/69[90] Other: -10% Evasion, +20% Accuracy
====== Avalanche ~ Ice Fang ~ Avalanche
IF Lopunny is underground when you are to act, THEN Earthquake and push back
IF Lopunny has Double Team clones up when you are to act, THEN Icy Wind and push back
Sliggoo: Sludge Wave
Crit: 4926 NO
Poison: 5486 NO
[10] = 10
-7 EN
A2
Lopunny: Return
Crit: 4099 NO
[10+3+3] = 16
Gooey: -1 Spe (Lopunny)
-6 EN
Sliggoo: Sludge Bomb
Crit: 8470 NO
Poison: 9860 NO
[9] = 9
-7 EN
A3
Sliggoo: Sludge Wave
Crit: 6984 NO
Poison: 4316 NO
[10] = 10
-7 EN Lopunny: Ice Punch
Crit: 8842 NO
Freeze: 2728 NO
[(8+3) × 1.5] = 16.5
Gooey: -1 Spe (Lopunny)
-6 EN
====== Elevator Music
IF (Swagger is used) THEN (use Fake Out on the first instance and Magic Coat on the second instance)
IF (Encore is used) THEN (use Protect on the first instance, Magic Coat on the second instance, and Protect on the third instance)
HP: 100 EN: 100 Ability: Limber Stats: 4/3/1/4/105 Other: Fine
HP: 100 EN: 100 Ability: Prankster Stats: 4/2/3/1/106 Other: Fine
======
Liepard: Foul Play
Crit: 6344 NO
[10+3+1.5] = 14.5
-6 EN
Lopunny: Sky Uppercut
Crit: 662 NO
[(9+3) × 1.5] = 18
-6 EN
Lopunny: Protect
-7 EN
Liepard: Encore
Blocked
-10 EN
Liepard: Foul Play
Crit: 8903 NO
[10+3+1.5] = 14.5
-6 EN
Lopunny: Sky Uppercut
Crit: 2617 NO
[(9+3) × 1.5] = 18
-6 EN
======
HP: 71 EN: 81 Ability: Limber Stats: 4/3/1/4/105 Other: Fine
HP: 64 EN: 78 Ability: Prankster Stats: 4/2/3/1/106 Other: Fine
====== Foul Play ~ Dark Pulse ~ Foul Play
IF Sky Uppercut, Torment and push back
IF D/E AND Lopunny is faster at the start of the action, Pursuit and push back