I'm going to see if pokemon that know HMs can go to the poke bank. If that's the case I just need to wait until yellow pokemon can go there and then transfer him to sun or moon and move delete. I can get away with winning yellow with only 3 moves for mew and then will put him on the backburner.