Well, what I have found out, is that i'll go back into the house, and he'll still be there, i'll take the pokémon off him and leave the house again. I go back in and he's gone for good.
I did edit the script a little bit, to fit my needs. I'll repost it to see if I have change something I...