More changes to console messages

This commit is contained in:
Maruno17
2021-10-23 23:56:54 +01:00
parent e417e4c659
commit 18049c22b9
6 changed files with 162 additions and 180 deletions

View File

@@ -1436,7 +1436,7 @@ module Compiler
Graphics.update
trainerChecker = TrainerChecker.new
change_record = []
echo _INTL("Processing {1} maps...", mapData.mapinfos.keys.length)
echo _INTL(" -> Processing {1} maps...", mapData.mapinfos.keys.length)
idx = 0
for id in mapData.mapinfos.keys.sort
echo "." if idx % 20 == 0
@@ -1476,7 +1476,7 @@ module Compiler
if changed
mapData.saveMap(id)
mapData.saveTilesets
change_record.push(_INTL("Map {1}: '{2}' modified and saved.", id, mapData.mapinfos[id].name))
change_record.push(_INTL(" Map {1}: '{2}' was modified and saved.", id, mapData.mapinfos[id].name))
end
end
echoln_good "done"
@@ -1484,7 +1484,7 @@ module Compiler
changed = false
Graphics.update
commonEvents = load_data("Data/CommonEvents.rxdata")
echo _INTL("Processing common events...")
echo _INTL(" -> Processing common events...")
for key in 0...commonEvents.length
newevent = fix_event_use(commonEvents[key],0,mapData)
if newevent
@@ -1495,9 +1495,7 @@ module Compiler
save_data(commonEvents,"Data/CommonEvents.rxdata") if changed
echoln_good "done"
if change_record.length > 0 || changed
echoln ""
echoln_warn _INTL("!!! RMXP data was altered. Close RMXP now to ensure changes are applied. !!!")
echoln ""
echoln_bad _INTL("!!! RMXP data was altered. Close RMXP now to ensure changes are applied. !!!")
end
end
end