Tidied up, removed unused code

This commit is contained in:
Maruno17
2021-01-17 21:26:20 +00:00
parent cb684094be
commit 7f254c6434
17 changed files with 26 additions and 567 deletions

View File

@@ -771,7 +771,7 @@ end
def pbDebugFixInvalidTiles
num_errors = 0
num_error_maps = 0
@tilesets = pbLoadRxData("Data/Tilesets")
@tilesets = load_data("Data/Tilesets.rxdata")
mapData = MapData.new
t = Time.now.to_i
Graphics.update

View File

@@ -604,7 +604,7 @@ def pbMetadataScreen(map_id = 0)
end
def pbEditMetadata(map_id = 0)
mapinfos = pbLoadRxData("Data/MapInfos")
mapinfos = load_data("Data/MapInfos.rxdata")
data = []
if map_id == 0 # Global metadata
map_name = _INTL("Global Metadata")

View File

@@ -59,7 +59,7 @@ def pbAllocateAnimation(animations,name)
end
def pbMapTree
mapinfos = pbLoadRxData("Data/MapInfos")
mapinfos = load_data("Data/MapInfos.rxdata")
maplevels = []
retarray = []
for i in mapinfos.keys

View File

@@ -344,8 +344,7 @@ class MapScreenScene
if $game_map
@currentmap=$game_map.map_id
else
system=load_data("Data/System.rxdata")
@currentmap=system.edit_map_id
@currentmap=($data_system) ? $data_system.edit_map_id : 1
end
putSprite(@currentmap)
end