Hey. When you use wish, and the user dies, the pokemon you switch next should get the health. this game just cancels the wish. please fix.
https://pokemonrevolution.net/forum/topic/59986-bug-with-healing-wish/ : seems this is a known issue for 5 years. hopefully you will decide to finally do smt about it, thanks!