hidden ability maps

This commit is contained in:
infinitefusion
2021-07-28 20:18:51 -04:00
parent 2b9f96d07c
commit 980517c0a2
5 changed files with 39 additions and 3 deletions

View File

@@ -54,7 +54,9 @@ class BetterRegionMap
def initialize(region = -1, show_player = true, can_fly = false, wallmap = false, species = nil,fly_anywhere=false)
showBlk
map_metadata = GameData::MapMetadata.try_get($game_map.map_id)
playerpos = $game_map ? map_metadata.town_map_position : nil#pbGetMetadata($game_map.map_id, MetadataMapPosition) : nil
if map_metadata
playerpos = $game_map ? map_metadata.town_map_position : nil#pbGetMetadata($game_map.map_id, MetadataMapPosition) : nil
end
if playerpos == nil
playerpos = [0,0]
end