Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.
Try getting the move effect of Solar Beam (because changes with sun) and the effect of Venoshock, that doubles damage when poisoned. Just see the if condition of Solar Beam and put it into Venoshock.
You can activate a Global Switch when reloading the map (at the exit teleport) if the Switch is activated you can battle, when is deactivated you can't. Just disable the Switch when you win.