Help with error in map names causing crash

A strange problem is happening with this script. currently I have 64 maps, there is no problems at all for maps 1 ~ 60. After map 60 if I try and access my menu the game crashes.

also, if I comment out line line 150 everything is fine, but no location appears in my main menu, save screen and I also added a popup script to show map name on screen , this also shows up blank.

AND!

the name of the map in the map properties is displaying a different map name in the main menu. Only maps after the 60th map in the game are doing this.

# XaiL System - Menu Delux

# Author: Nicke

# Created: 20/11/2012

# Edited: 08/02/2013

# Version: 1.1b

Any ideas would be awesome, I've been pouring over these scripts for hours and I'm not in anyway a proficient scripter.

Thanks

005.jpg
Hey guys, problem solved. It was conflicting the the YSE patch script for some reason

Close me please.

Original thread: https://forums.rpgmakerweb.com/threads/help-with-error-in-map-names-causing-crash.47679/