New Setting: Suggested by @REALMUGEN: you can now have the name of a Location be replaced with "???" or whatever text you want as long as this Game Maphasn't been visited yet. IMPORTANT: It is very important that the Game Map and the Point name is named exactlythe same or it'll not work, it won't crash your game but instead it'll still show the point's name.
You can do the same with Point of Interests on some Locations on the Region map, you can either make these empty by doing ""orname themsomething else.
Below demo video of how it looks in game:
Bug fixes:
Fixed and issue with the quest name displaying for hidden locations on the region map. Everything else does work as intended.
If you have any new feature suggestions, issues, questions or need help with anything, feel free to contact me either here or on discord: Arcky1997
The game might crash if you open the Region Map from a Game Map that has not a mapPosition defined in the map_metadata PBS file. To fix this, just make sure you have a position defined on the region map. Even if I find a work around for this issue, every single Game Map should have a position defined on the Region Map.
Bug fixes:
Fixed an issue with the script not using the correct (or expected) unvisited map image. This issue only appears when a location is set on the top left point of a city/town. As you might set a different highlight image for the Location.
Fixed the Quest Preview not showing and disappearing properly (I fixed this but removed the animation for now)
New Setting:
To fix the above mentioned issue, I've added a new setting in 001_RegionMap_Settings.rb.
The Points setin the PBS for a location like this would be:
Point = 11, 11, Example City, Example Location, 3, 11, 12, ,Size1x1Small
Point = 12, 11, Example City, , 3, 11, 12, ,Size2x2
Point = 11, 12, Example City, ,3, 11, 12, ,Size2x2
Point = 12, 12, Example City, ,3, 11, 12, ,Size2x2
As you can see on the above shown points, the first point (top left one) has "Size1x1Small" set as highlight location. As you might knowthis name is as well used to find the unvisited map image for this location. The script only looks at the top left position. So to fix this you can either name your unvisited map image "mapSize1x1Small" but then you can't use this name if you have a location in a city with a different size. So to fix this more easily I provided a new setting:
You simply need to add the fly point (MapID, MapX, MapY) and the name of the unvisited map image you want the script to use for this point.(don't include "map" in this setting but don't forget to include it in the image name itself).
fixed an issue when the map isn't properly centered based on the player's location (when opening the region map).
fixed an issue when the map in the pokedex isn't properly shown when the player's position is higher then 29 (x position) and 19 (y position). Thanks to @Drqiu for the fix :)
fixed a typo in the "highlight" folder, it's now named correctly (if you noticed this, just rename the folder, thank you)
Improvements:
when previewing a quest, if the map can be moved upward, the arrow pointing up will now be hidden behind the quest preview window as long as the quest preview window is shown.
when you are inside a building or any other place you can't use fly, the "ACTION: Fly" text on the top right will not be shown as you can't activate the fly mode anyways (this is when you allow to use fly on the pokegear/town map other than the fly field move)
when you are using a map that is the standard map size (480x320), pressing USE won't do anything in the pokedex area page as you can't scroll the map anyway.
Fixed an issue that appeared when you would put "Pallet Town" in the PBS file and the game map's name is set to "Lappet Town" it'll now ignore the name of the game map's name and use the one in the PBS.
Fixed an issue with the unvisited Map marking appearing above the Fly Icons for locations that you can't fly to yet (well unvisited :D )
Fixed another issue with the unvisited Map marking, if you put 2 points for the same location in random order (based on the x and y values), it'll now take the lowest point so the unvisited Map is placed correctly.
Fixed an issue when choosing "No" or pressing BACK when it asks to confirm the fly location, it would exit the map completely.
Fixed a crash when trying to load the map withouth the MQS (Modern Quest System) installed (probably didn't crash when the SHOW_QUEST_ICONS setting is set to false in 001_RegionMap_Settings.rb