mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 13:15:01 +00:00
Overhauled text translations
This commit is contained in:
@@ -185,7 +185,7 @@ class PokemonRegionMap_Scene
|
||||
@map.point.each do |point|
|
||||
next if point[0] != x || point[1] != y
|
||||
return "" if point[7] && (@wallmap || point[7] <= 0 || !$game_switches[point[7]])
|
||||
name = pbGetMessageFromHash(MessageTypes::PlaceNames, point[2])
|
||||
name = pbGetMessageFromHash(MessageTypes::RegionLocations, point[2])
|
||||
return (@editor) ? point[2] : name
|
||||
end
|
||||
return ""
|
||||
@@ -213,7 +213,8 @@ class PokemonRegionMap_Scene
|
||||
@map.point.each do |point|
|
||||
next if point[0] != x || point[1] != y
|
||||
return "" if point[7] && (@wallmap || point[7] <= 0 || !$game_switches[point[7]])
|
||||
mapdesc = pbGetMessageFromHash(MessageTypes::PlaceDescriptions, point[3])
|
||||
return "" if !point[3]
|
||||
mapdesc = pbGetMessageFromHash(MessageTypes::RegionDescriptions, point[3])
|
||||
return (@editor) ? point[3] : mapdesc
|
||||
end
|
||||
return ""
|
||||
|
||||
@@ -95,7 +95,7 @@ class PokemonPhone_Scene
|
||||
end
|
||||
# Set info text
|
||||
infotext = _INTL("Registered<br>")
|
||||
infotext += _INTL(" <r>{1}<br>", @sprites["list"].commands.length)
|
||||
infotext += _INTL("<r>{1}<br>", @sprites["list"].commands.length)
|
||||
infotext += _INTL("Waiting for a rematch<r>{1}", rematch_count)
|
||||
@sprites["info"].text = infotext
|
||||
pbRefreshScreen
|
||||
|
||||
@@ -325,7 +325,7 @@ class PokemonLoadScreen
|
||||
when cmd_language
|
||||
@scene.pbEndScene
|
||||
$PokemonSystem.language = pbChooseLanguage
|
||||
pbLoadMessages("Data/" + Settings::LANGUAGES[$PokemonSystem.language][1])
|
||||
MessageTypes.load_message_files(Settings::LANGUAGES[$PokemonSystem.language][1])
|
||||
if show_continue
|
||||
@save_data[:pokemon_system] = $PokemonSystem
|
||||
File.open(SaveData::FILE_PATH, "wb") { |file| Marshal.dump(@save_data, file) }
|
||||
|
||||
Reference in New Issue
Block a user