* apply safe switching to trainer doubles battles - with a config * get rid of the config * make it compile