Player Transport problem

Hello, I recently got into RPG maker and I'm working on a pokemon game and I keep having this problem. My player cant transport from his house to the town.

Here is a screen shot if it helps

Capture.PNG
That is a problem with one of the script you are using. This should be in scripting support.
oh ok thanks
how do i move it there?
A moderator will do it. I looked at the kit your using. The particular script that is giving you problems is the map name script. You should be able to safely remove it from the script editor. I'm not super familliar with XP scripting but it appears that some things in that script are undefined properly. Go to your script editor, right click on the script "Location Name" and delete it. 

Alternatively you can add the lines:

=begin # to the top of the script and

=end at the bottom to comment the entire script out.
Moving


Note to readers, this question is in regard to XP, not Ace.
which script are you using? it seems a problem with the script
Im using the CNGS pokemon HGSS kit
@Dark Paladin 

Thanks i added the end and begin and it works fine now

Original thread: https://forums.rpgmakerweb.com/threads/player-transport-problem.15190/