class Game_Party def tree_includes_map? (name) # Load mapinfos for map name mapinfos = load_data("Data/MapInfos.rxdata") # If his name is the name searched if mapinfos[$game_map.map_id].name == name return true end