you're in nightmare city which is towards the end of v9. when you updated to v9 you probably didn't go to the garen city pokecenter and got stuck in a changed map. ill put you in the right map. tried teleporting you out but its saying saved failed which i can assume its because you didn't get patch 10.
if you haven't download bugfix patch 10 which is right below the v9 patch link, do it. replace folders, open up the game and save it then post the game.rxdata and always remember to save in a pokemon center before a patch as they are rarely changed, unlike the 3rd gmy. After that the event will pushed you a bit back to when you actually get to the mansion.