You forgot Download and to include the Speed drop from Rock Tomb in the post round, so TTar should be at 21 HP and Genesect should be +1 SpA, -1 Spe.
Now finish off this Genesect!
Fire Punch+Giga Impact, Fire Punch+Giga Impact, Fire Punch+Giga Impact
IF Genesect successfully uses a Protective move, THEN Dragon Dance.
IF Genesect successfully uses Endure, THEN initiate action string Whirlpool+Earthquake, Fire Punch.