mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-08 13:44:59 +00:00
Rewrote load game screen inc. supporting multiple save files, allowed \PN and \v[42] in map names and Town Map point names
This commit is contained in:
@@ -186,6 +186,8 @@ class PokemonRegionMap_Scene
|
||||
next if point[0] != x || point[1] != y
|
||||
return "" if point[7] && (@wallmap || point[7] <= 0 || !$game_switches[point[7]])
|
||||
name = pbGetMessageFromHash(MessageTypes::REGION_LOCATION_NAMES, point[2])
|
||||
name = name.gsub(/\\PN/, $player.name)
|
||||
name = name.gsub(/\\v\[(\d+)\]/) { |num| $game_variables[$~[1].to_i].to_s }
|
||||
return (@editor) ? point[2] : name
|
||||
end
|
||||
return ""
|
||||
@@ -336,7 +338,7 @@ class PokemonRegionMapScreen
|
||||
end
|
||||
|
||||
def pbStartScreen
|
||||
@scene.pbStartScene($DEBUG)
|
||||
@scene.pbStartScene # ($DEBUG)
|
||||
ret = @scene.pbMapScene
|
||||
@scene.pbEndScene
|
||||
return ret
|
||||
|
||||
Reference in New Issue
Block a user