diff --git a/CHANGELOG.md b/CHANGELOG.md
index 051a9541..0d6bbe98 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -8,7 +8,8 @@ The **"Breaking Changes"** listed below are changes that have been made in the d
## [Unreleased]
### Added
-- Added new config options for reorganizing metatile attributes.
+- Add new config options for reorganizing metatile attributes.
+- Add `setScale` to the scripting API.
## [5.0.0] - 2022-10-30
### Breaking Changes
diff --git a/docs/_sources/manual/scripting-capabilities.rst.txt b/docs/_sources/manual/scripting-capabilities.rst.txt
index 013460fa..99f7ceba 100644
--- a/docs/_sources/manual/scripting-capabilities.rst.txt
+++ b/docs/_sources/manual/scripting-capabilities.rst.txt
@@ -18,7 +18,7 @@ Let's write a custom script that will randomize grass patterns when the user is
First, create a new script file called ``my_script.js``--place it in the project directory (e.g. ``pokefirered/``).
-Next, open the Porymap project config file, ``porymap.project.cfg``, in the project directory. Add the script file to the ``custom_scripts`` configuration value. Multiple script files can be loaded by separating the filepaths with a comma.
+Next, open the Porymap project config file, ``porymap.user.cfg``, in the project directory. Add the script file to the ``custom_scripts`` configuration value. Multiple script files can be loaded by separating the filepaths with a comma.
.. code-block::
@@ -745,30 +745,6 @@ All tileset functions are callable via the global ``map`` object.
:param array palettes: array of arrays of colors. Each color is a 3-element RGB array
:param boolean forceRedraw: Redraw the elements with the updated palettes. Defaults to ``true``. Redrawing the elements that use palettes is expensive, so it can be useful to batch together many calls to palette functions and only set ``redraw`` to ``true`` on the final call.
-.. js:function:: map.getMetatileLayerOrder()
-
- Gets the order that metatile layers are rendered.
-
- :returns array: array of layers. The bottom layer is represented as 0.
-
-.. js:function:: map.setMetatileLayerOrder(order)
-
- Sets the order that metatile layers are rendered.
-
- :param array order: array of layers. The bottom layer is represented as 0.
-
-.. js:function:: map.getMetatileLayerOpacity()
-
- Gets the opacities that metatile layers are rendered with.
-
- :returns array: array of opacities for each layer. The bottom layer is the first element.
-
-.. js:function:: map.setMetatileLayerOpacity(opacities)
-
- Sets the opacities that metatile layers are rendered with.
-
- :param array opacities: array of opacities for each layer. The bottom layer is the first element.
-
.. js:function:: map.getMetatileLabel(metatileId)
Gets the label for the specified metatile.
@@ -1375,6 +1351,31 @@ All settings functions are callable via the global ``utility`` object.
:param number tab: index of the tab to select
+.. js:function:: utility.getMetatileLayerOrder()
+
+ Gets the order that metatile layers are rendered.
+
+ :returns array: array of layers. The bottom layer is represented as 0.
+
+.. js:function:: utility.setMetatileLayerOrder(order)
+
+ Sets the order that metatile layers are rendered.
+
+ :param array order: array of layers. The bottom layer is represented as 0.
+
+.. js:function:: utility.getMetatileLayerOpacity()
+
+ Gets the opacities that metatile layers are rendered with.
+
+ :returns array: array of opacities for each layer. The bottom layer is the first element.
+
+.. js:function:: utility.setMetatileLayerOpacity(opacities)
+
+ Sets the opacities that metatile layers are rendered with.
+
+ :param array opacities: array of opacities for each layer. The bottom layer is the first element.
+
+
Utility Functions
^^^^^^^^^^^^^^^^^
diff --git a/docs/genindex.html b/docs/genindex.html
index b84ddbfc..e07fc4bb 100644
--- a/docs/genindex.html
+++ b/docs/genindex.html
@@ -456,10 +456,6 @@
map.getMetatileId() (map method)
map.getMetatileLabel() (map method)
-
- map.getMetatileLayerOpacity() (map method)
-
- map.getMetatileLayerOrder() (map method)
map.getMetatileLayerType() (map method)
@@ -560,10 +556,6 @@
map.setMetatileId() (map method)
map.setMetatileLabel() (map method)
-
- map.setMetatileLayerOpacity() (map method)
-
- map.setMetatileLayerOrder() (map method)
map.setMetatileLayerType() (map method)
@@ -736,6 +728,10 @@
utility.getMapViewTab() (utility method)
utility.getMetatileBehaviorNames() (utility method)
+
+ utility.getMetatileLayerOpacity() (utility method)
+
+ utility.getMetatileLayerOrder() (utility method)
utility.getPrimaryTilesetNames() (utility method)
@@ -766,6 +762,10 @@
utility.setMainTab() (utility method)
utility.setMapViewTab() (utility method)
+
+ utility.setMetatileLayerOpacity() (utility method)
+
+ utility.setMetatileLayerOrder() (utility method)
utility.setSmartPathsEnabled() (utility method)
diff --git a/docs/manual/scripting-capabilities.html b/docs/manual/scripting-capabilities.html
index 90417691..9ef463a9 100644
--- a/docs/manual/scripting-capabilities.html
+++ b/docs/manual/scripting-capabilities.html
@@ -386,7 +386,7 @@
Writing a Custom Script
Let’s write a custom script that will randomize grass patterns when the user is editing the map. This is useful, since it’s cumbersome to manually add randomness to grass patches. With the custom script, it will happen automatically. Whenever the user paints a grass tile onto the map, the script will overwrite the tile with a random grass tile instead.
First, create a new script file called my_script.js
–place it in the project directory (e.g. pokefirered/
).
-Next, open the Porymap project config file, porymap.project.cfg
, in the project directory. Add the script file to the custom_scripts
configuration value. Multiple script files can be loaded by separating the filepaths with a comma.
+Next, open the Porymap project config file, porymap.user.cfg
, in the project directory. Add the script file to the custom_scripts
configuration value. Multiple script files can be loaded by separating the filepaths with a comma.
custom_scripts=my_script.js
@@ -1678,54 +1678,6 @@
-
--
-
map.
getMetatileLayerOrder
()
-Gets the order that metatile layers are rendered.
-
-- Returns array
-array of layers. The bottom layer is represented as 0.
-
-
-
-
-
--
-
map.
setMetatileLayerOrder
(order)
-Sets the order that metatile layers are rendered.
-
-- Arguments
--
-
-
-
-
-
--
-
map.
getMetatileLayerOpacity
()
-Gets the opacities that metatile layers are rendered with.
-
-- Returns array
-array of opacities for each layer. The bottom layer is the first element.
-
-
-
-
-
--
-
map.
setMetatileLayerOpacity
(opacities)
-Sets the opacities that metatile layers are rendered with.
-
-- Arguments
--
-
-
-
-
-
map.
getMetatileLabel
(metatileId)
@@ -2853,6 +2805,54 @@
+
+-
+
utility.
getMetatileLayerOrder
()
+Gets the order that metatile layers are rendered.
+
+- Returns array
+array of layers. The bottom layer is represented as 0.
+
+
+
+
+
+-
+
utility.
setMetatileLayerOrder
(order)
+Sets the order that metatile layers are rendered.
+
+- Arguments
+-
+
+
+
+
+
+-
+
utility.
getMetatileLayerOpacity
()
+Gets the opacities that metatile layers are rendered with.
+
+- Returns array
+array of opacities for each layer. The bottom layer is the first element.
+
+
+
+
+
+-
+
utility.
setMetatileLayerOpacity
(opacities)
+Sets the opacities that metatile layers are rendered with.
+
+- Arguments
+-
+
+
+
+
Utility Functions
diff --git a/docs/objects.inv b/docs/objects.inv
index 08474987..158fdac1 100644
Binary files a/docs/objects.inv and b/docs/objects.inv differ
diff --git a/docs/searchindex.js b/docs/searchindex.js
index 32113114..6c8ebab6 100644
--- a/docs/searchindex.js
+++ b/docs/searchindex.js
@@ -1 +1 @@
-Search.setIndex({docnames:["index","manual/creating-new-maps","manual/editing-map-collisions","manual/editing-map-connections","manual/editing-map-events","manual/editing-map-header","manual/editing-map-tiles","manual/editing-wild-encounters","manual/introduction","manual/navigation","manual/project-files","manual/region-map-editor","manual/scripting-capabilities","manual/settings-and-options","manual/shortcuts","manual/tileset-editor","reference/changelog","reference/related-projects"],envversion:{"sphinx.domains.c":2,"sphinx.domains.changeset":1,"sphinx.domains.citation":1,"sphinx.domains.cpp":2,"sphinx.domains.index":1,"sphinx.domains.javascript":2,"sphinx.domains.math":2,"sphinx.domains.python":2,"sphinx.domains.rst":2,"sphinx.domains.std":1,sphinx:56},filenames:["index.rst","manual\\creating-new-maps.rst","manual\\editing-map-collisions.rst","manual\\editing-map-connections.rst","manual\\editing-map-events.rst","manual\\editing-map-header.rst","manual\\editing-map-tiles.rst","manual\\editing-wild-encounters.rst","manual\\introduction.rst","manual\\navigation.rst","manual\\project-files.rst","manual\\region-map-editor.rst","manual\\scripting-capabilities.rst","manual\\settings-and-options.rst","manual\\shortcuts.rst","manual\\tileset-editor.rst","reference\\changelog.md","reference\\related-projects.rst"],objects:{"":{onBlockChanged:[12,1,1,""],onBlockHoverChanged:[12,1,1,""],onBlockHoverCleared:[12,1,1,""],onBorderMetatileChanged:[12,1,1,""],onBorderResized:[12,1,1,""],onBorderVisibilityToggled:[12,1,1,""],onMainTabChanged:[12,1,1,""],onMapOpened:[12,1,1,""],onMapResized:[12,1,1,""],onMapShifted:[12,1,1,""],onMapViewTabChanged:[12,1,1,""],onProjectClosed:[12,1,1,""],onProjectOpened:[12,1,1,""],onTilesetUpdated:[12,1,1,""]},"constants.version":{major:[12,0,1,""],minor:[12,0,1,""],patch:[12,0,1,""]},constants:{base_game_version:[12,0,1,""],layers_per_metatile:[12,0,1,""],max_primary_metatiles:[12,0,1,""],max_primary_tiles:[12,0,1,""],max_secondary_metatiles:[12,0,1,""],max_secondary_tiles:[12,0,1,""],tiles_per_metatile:[12,0,1,""]},map:{bucketFill:[12,1,1,""],bucketFillFromSelection:[12,1,1,""],commit:[12,1,1,""],getAllowBiking:[12,1,1,""],getAllowEscaping:[12,1,1,""],getAllowRunning:[12,1,1,""],getBattleScene:[12,1,1,""],getBlock:[12,1,1,""],getBorderDimensions:[12,1,1,""],getBorderHeight:[12,1,1,""],getBorderMetatileId:[12,1,1,""],getBorderWidth:[12,1,1,""],getCollision:[12,1,1,""],getDimensions:[12,1,1,""],getElevation:[12,1,1,""],getFloorNumber:[12,1,1,""],getHeight:[12,1,1,""],getLocation:[12,1,1,""],getMetatileAttributes:[12,1,1,""],getMetatileBehavior:[12,1,1,""],getMetatileEncounterType:[12,1,1,""],getMetatileId:[12,1,1,""],getMetatileLabel:[12,1,1,""],getMetatileLayerOpacity:[12,1,1,""],getMetatileLayerOrder:[12,1,1,""],getMetatileLayerType:[12,1,1,""],getMetatileTerrainType:[12,1,1,""],getMetatileTile:[12,1,1,""],getMetatileTiles:[12,1,1,""],getNumPrimaryTilesetMetatiles:[12,1,1,""],getNumPrimaryTilesetTiles:[12,1,1,""],getNumSecondaryTilesetMetatiles:[12,1,1,""],getNumSecondaryTilesetTiles:[12,1,1,""],getPrimaryTileset:[12,1,1,""],getPrimaryTilesetPalette:[12,1,1,""],getPrimaryTilesetPalettePreview:[12,1,1,""],getPrimaryTilesetPalettes:[12,1,1,""],getPrimaryTilesetPalettesPreview:[12,1,1,""],getRequiresFlash:[12,1,1,""],getSecondaryTileset:[12,1,1,""],getSecondaryTilesetPalette:[12,1,1,""],getSecondaryTilesetPalettePreview:[12,1,1,""],getSecondaryTilesetPalettes:[12,1,1,""],getSecondaryTilesetPalettesPreview:[12,1,1,""],getShowLocationName:[12,1,1,""],getSong:[12,1,1,""],getTilePixels:[12,1,1,""],getType:[12,1,1,""],getWeather:[12,1,1,""],getWidth:[12,1,1,""],magicFill:[12,1,1,""],magicFillFromSelection:[12,1,1,""],redraw:[12,1,1,""],setAllowBiking:[12,1,1,""],setAllowEscaping:[12,1,1,""],setAllowRunning:[12,1,1,""],setBattleScene:[12,1,1,""],setBlock:[12,1,1,"id0"],setBlocksFromSelection:[12,1,1,""],setBorderDimensions:[12,1,1,""],setBorderHeight:[12,1,1,""],setBorderMetatileId:[12,1,1,""],setBorderWidth:[12,1,1,""],setCollision:[12,1,1,""],setDimensions:[12,1,1,""],setElevation:[12,1,1,""],setFloorNumber:[12,1,1,""],setHeight:[12,1,1,""],setLocation:[12,1,1,""],setMetatileAttributes:[12,1,1,""],setMetatileBehavior:[12,1,1,""],setMetatileEncounterType:[12,1,1,""],setMetatileId:[12,1,1,""],setMetatileLabel:[12,1,1,""],setMetatileLayerOpacity:[12,1,1,""],setMetatileLayerOrder:[12,1,1,""],setMetatileLayerType:[12,1,1,""],setMetatileTerrainType:[12,1,1,""],setMetatileTile:[12,1,1,"id1"],setMetatileTiles:[12,1,1,"id2"],setPrimaryTileset:[12,1,1,""],setPrimaryTilesetPalette:[12,1,1,""],setPrimaryTilesetPalettePreview:[12,1,1,""],setPrimaryTilesetPalettes:[12,1,1,""],setPrimaryTilesetPalettesPreview:[12,1,1,""],setRequiresFlash:[12,1,1,""],setSecondaryTileset:[12,1,1,""],setSecondaryTilesetPalette:[12,1,1,""],setSecondaryTilesetPalettePreview:[12,1,1,""],setSecondaryTilesetPalettes:[12,1,1,""],setSecondaryTilesetPalettesPreview:[12,1,1,""],setShowLocationName:[12,1,1,""],setSong:[12,1,1,""],setType:[12,1,1,""],setWeather:[12,1,1,""],setWidth:[12,1,1,""],shift:[12,1,1,""]},overlay:{addImage:[12,1,1,""],addMetatileImage:[12,1,1,""],addPath:[12,1,1,"id18"],addRect:[12,1,1,""],addText:[12,1,1,""],addTileImage:[12,1,1,"id20"],clear:[12,1,1,"id3"],clearClippingRect:[12,1,1,"id15"],createImage:[12,1,1,""],getHorizontalScale:[12,1,1,""],getOpacity:[12,1,1,""],getPosition:[12,1,1,""],getRotation:[12,1,1,""],getVerticalScale:[12,1,1,""],getVisibility:[12,1,1,""],getX:[12,1,1,""],getY:[12,1,1,""],hide:[12,1,1,"id4"],move:[12,1,1,"id17"],rotate:[12,1,1,"id11"],setClippingRect:[12,1,1,"id14"],setHorizontalScale:[12,1,1,"id8"],setOpacity:[12,1,1,"id7"],setPosition:[12,1,1,"id16"],setRotation:[12,1,1,"id10"],setVerticalScale:[12,1,1,"id9"],setVisibility:[12,1,1,"id6"],setX:[12,1,1,"id12"],setY:[12,1,1,"id13"],show:[12,1,1,"id5"]},utility:{error:[12,1,1,""],getBattleSceneNames:[12,1,1,""],getBorderVisibility:[12,1,1,""],getCustomScripts:[12,1,1,""],getGridVisibility:[12,1,1,""],getInputItem:[12,1,1,""],getInputNumber:[12,1,1,""],getInputText:[12,1,1,""],getLocationNames:[12,1,1,""],getMainTab:[12,1,1,""],getMapNames:[12,1,1,""],getMapTypeNames:[12,1,1,""],getMapViewTab:[12,1,1,""],getMetatileBehaviorNames:[12,1,1,""],getPrimaryTilesetNames:[12,1,1,""],getSecondaryTilesetNames:[12,1,1,""],getSmartPathsEnabled:[12,1,1,""],getSongNames:[12,1,1,""],getTilesetNames:[12,1,1,""],getWeatherNames:[12,1,1,""],isPrimaryTileset:[12,1,1,""],isSecondaryTileset:[12,1,1,""],log:[12,1,1,""],registerAction:[12,1,1,""],setBorderVisibility:[12,1,1,""],setGridVisibility:[12,1,1,""],setMainTab:[12,1,1,""],setMapViewTab:[12,1,1,""],setSmartPathsEnabled:[12,1,1,""],setTimeout:[12,1,1,""],showError:[12,1,1,""],showMessage:[12,1,1,""],showQuestion:[12,1,1,""],showWarning:[12,1,1,""],warn:[12,1,1,""]}},objnames:{"0":["js","attribute","JavaScript attribute"],"1":["js","function","JavaScript function"]},objtypes:{"0":"js:attribute","1":"js:function"},terms:{"0e8ccfc4fd3544001f4c25fafd401f7558bdefba":16,"0x10":12,"0x11":12,"0x4":8,"0x8":12,"0x9":12,"2x2":13,"32x20":[],"3x3":6,"4bpp":11,"82abc164dc9f6a74fdf0c535cc1621b7ed05318b":16,"8bpp":11,"8x8":[12,15],"boolean":12,"case":[2,4],"const":12,"default":[4,6,7,9,10,11,12,13,14,16],"export":[12,15,16],"final":[8,12],"function":[4,8,11,16],"goto":4,"import":[2,6,12,13,16],"long":[2,12,16],"new":[0,2,3,4,6,9,10,11,12,13,14,15,16],"pok\u00e9":6,"pok\u00e9cent":4,"pok\u00e9mon":[4,6,9,16],"return":[4,12],"switch":[9,12,15,16],"true":[2,12],"try":[2,12],"var":[4,10],"while":[2,4,6,12,14,16],AND:4,Adding:0,For:[1,2,3,4,5,6,7,9,10,11,12,13,14,15,16],IDs:16,Its:[8,16],NOT:12,One:[7,12],That:8,The:[0,1,2,4,5,6,7,8,9,10,12,13,16],Then:[2,6,7,12],There:[4,8,11,12,13,15],These:[2,3,6,7,12,15],Use:[4,6],Used:[5,15],Useful:12,Will:[],With:[4,12],Yes:12,a0ba1b7c6353f7e4f3066025514c05b323a0123d:16,a1ea3b5e394bc115ba9b86348c161094a00dcca7:16,aarrggbb:12,abil:[2,4,12,16],abl:[2,4,11,12],about:[0,12,16],abov:[2,4,6,8,9,11,12,15,16],accept:7,access:[4,12,13,15,16],accomod:16,accomplish:6,accord:16,accordingli:16,account:[],accur:16,across:15,act:16,action:[0,6,14],actionnam:12,activ:[4,7,12],actual:[4,12,16],ad365a35c1536740cbcbc10bee66e5dd908c39e7:16,adb0a444577b59eb02788c782a3d04bc285be0ba:16,add:[1,3,4,7,10,11,12,13,15,16],added:[12,16],addfilledrect:16,addimag:12,adding:[7,13,16],addit:[5,8,12,15],addition:[4,6,12,16],addmetatileimag:12,addpath:12,addrect:[12,16],addtext:12,addtileimag:12,adher:16,adjac:[4,12],adjust:[6,7,15],adob:15,advanc:[8,16,17],affect:12,after:[2,4,6,8,12,16],again:[4,6],alia:11,all:[2,3,4,6,7,9,11,12,14,15,16],allow:[1,2,4,5,6,7,8,9,12,13,15,16],along:2,alreadi:14,also:[2,4,5,6,7,10,11,12,13,14,15,16],alter:7,altern:[1,4],altogeth:15,alwai:[2,4,16],amount:16,angl:12,ani:[1,2,4,6,9,11,12,13,15,16],anim:[4,12,16],anoth:[4,6,7,9,11],anyth:[4,6],api:[0,16],app:13,appdata:[13,14],appear:[4,6,9,11,12,16],append:[5,10],appli:[12,16],applic:[9,13,14,16],applymov:4,applynighttint:12,appropri:2,arbitrarili:16,area:[2,4,6,8,9,11,12,16],argument:[12,15,16],around:[4,6,9,11,13,16],arrai:[11,12],arriv:4,arrow:[4,16],assign:[4,7,16],associ:[1,2,4,11,15],assum:[12,16],attempt:[15,16],attribut:[12,15,16],auto:16,autocomplet:16,automat:[3,4,5,12,13,15,16],avail:[4,6,7,8,9,11],awai:7,awar:6,axi:6,back:[6,16],background:[0,5,9,12,15],bar:[12,16],base:[0,1,6,7,11,13,16],base_game_vers:[12,13,16],basement:5,basic:[2,6,8,9],batch:12,battl:[4,5,12],battlescen:12,becaus:[2,4,9],becom:16,been:[12,16],befor:[2,6,8,12,16],begin:10,behav:[4,12,16],behavior:[12,16],behind:12,being:[2,8,16],bele:1,belong:5,below:[2,4,6,7,12,16],berri:4,better:16,between:[2,3,4,9,11,12,15,16],beyond:16,bigger:6,bike:[1,5,12],bin:10,binari:[8,11,15],bit:[12,15,16],black:12,blank:[],block:[1,2,12,16],blockdata:[],blue:4,boi:17,border:[0,1,4,10,12,13,16],bordercolor:[12,16],both:[3,6,15,16],bottom:[6,12,15,16],bound:[4,16],boundari:16,box:[4,7,11,12,13,15,16],bread:6,bridg:2,brief:4,briefli:9,bring:[4,6,7,9,11],browser:12,brush:12,bucket:[0,12,14],bucketfil:12,bucketfillfromselect:12,bug:16,build:[4,6,8,12],built:[6,16],bulk:16,bump:16,butter:6,button:[0,3,6,7,8,9,11,12,13,16],bvd:[15,16],c68ba9f4e8e260f2e3389eccd15f6ee5f4bdcd3:16,c73de8bed752ca538d90cfc93c4a9e8c7965f8c9:16,cach:12,call:[6,12,16],callabl:12,callback:[13,16],can:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16],cancel:[12,14],cannot:[1,4,5,14,16],capabl:[0,16],categori:15,caus:[12,16],cave:7,cdae0c1444bed98e652c87dc3e3edcecacfef8b:16,ceil:12,center:[1,4,6,9,16],certain:[4,10,12,15,16],cfg:[6,10,12,13,14,16],chain:6,chanc:7,chang:[0,1,3,4,7,8,9,11,12,13],changelog:0,charact:[4,16],check:[4,6,7,9,12,16],checkbox:[3,6,16],choos:[4,6,7,8,9,12],citi:[3,8],clear:[11,12,16],clearclippingrect:12,clearoverlai:[],click:[1,2,3,4,6,7,8,9,11,12,13,14,16],cliff:2,clip:[12,16],clipboard:16,clockwis:12,clone:[0,13,16],close:[4,12,16],code:[4,12,15],collaps:[9,16],collect:5,collid:12,collis:[0,4,6,8,9,12,13,16],collision_opac:13,color:[12,13,15,16,17],column:2,com:[0,13,16],combin:15,combo:[4,13,16],combobox:[11,16],comma:12,command:[4,13,14,16],comment:16,commit:[12,13,16],commitchang:12,common:2,commonli:2,compat:16,compil:8,complet:12,compos:[],comprehens:[14,16],concept:2,config:[6,10,12,13,16],configur:[0,6,11,12,13,16],conjunct:6,connect:[0,4,6,8,9,12,16],consecut:12,consist:[12,16],constant:[10,11,15,16],constants_event_bg:10,constants_fieldmap:10,constants_flag:10,constants_glob:10,constants_heal_loc:10,constants_item:10,constants_map_group:10,constants_map_typ:10,constants_metatile_behavior:10,constants_metatile_label:10,constants_obj_ev:10,constants_obj_event_mov:10,constants_oppon:10,constants_pokemon:10,constants_region_map_sect:10,constants_secret_bas:10,constants_song:10,constants_trainer_typ:10,constants_var:10,constants_weath:10,contain:[4,9,12,13,15,16],content:12,context:[9,15],contigu:[6,16],continu:[2,6],control:[2,4,5,8],conveni:[4,6,12,15,16],convert:[15,16],coord:12,coordin:[4,11,12,16],coorespond:16,copi:[6,7,16],corner:[3,12],correctli:16,correspond:[11,16],corrupt:16,could:[12,16],count:[2,15,16],counterclockwis:12,coupl:11,cover:[4,9,15],crash:16,creat:[0,4,6,7,9,11,12,13,16],create_map_text_fil:13,createimag:[12,16],creation:6,critic:12,cross:8,crosshair:13,ctrl:[3,4,6,8,9,11,12,14,16],cumbersom:12,current:[2,4,6,7,8,9,11,12,14,15,16],cursor:[4,6,11,13,14,16],custom:[0,1,5,6,11,13,14,16],custom_script:[12,13],cut:16,dai:[7,12],dark:16,data:[6,7,8,10,11,12,13,15,16],data_event_script:10,data_heal_loc:10,data_layouts_fold:10,data_map_fold:10,data_obj_event_gfx:10,data_obj_event_gfx_info:10,data_obj_event_gfx_point:10,data_obj_event_pic_t:10,data_pokemon_gfx:10,data_scripts_fold:10,data_tilesets_fold:10,date:16,daunt:9,deactiv:4,debug:12,decim:12,decompil:[8,16,17],decor:12,default_primary_tileset:13,default_secondary_tileset:13,defin:[6,10,11,12,15,16],degre:12,del:[14,16],delai:12,delaym:12,delet:[0,3,11,14,15,16],deltai:12,deltax:12,demand:12,demonstr:6,denot:2,depend:[1,6,12,13,16],depth:15,describ:[4,7],descript:[4,13],design:6,desir:[3,6,9],despit:16,destin:[3,4],detail:[4,6,9,11,12,16],detailedtext:12,detect:12,determin:[2,4,11,13,15],diagonist:12,dialog:[8,9,12,14,16],did:16,diff:16,differ:[1,2,4,6,9,11,12,15,16],difficulti:8,dig:[5,12],dimens:[6,11,12,16],direct:[2,3,4,6,16],directli:[4,12],directori:12,disabl:[6,7,16],disallow:16,disappear:16,disassembl:17,disk:[7,12],displai:[1,4,6,7,8,11,12,13,15,16],dissect:4,distanc:[4,16],distinguish:11,dive:0,document:[12,16],doe:[4,6,8,12],doesn:[2,6,12,16],doing:8,don:[3,16],done:11,doubl:[3,4,9,11,16],down:[6,7,8,16],download:8,drag:[3,4,6,11,14,16],draw:[4,8,11,12,14,15,16],drawn:[12,16],drop:[7,16],dropdown:[3,6,12,15,16],due:16,dummi:4,duplic:[4,14,16],dure:[2,4,16],dynam:4,each:[2,4,5,6,7,9,10,11,12,15,16],easi:[1,4,6],easier:[6,11,15,16],easiest:3,east:[2,3],ecmascript:12,edg:12,edit:[0,8,9,10,11,13,14,15,16],editor:[0,4,8,12,13,16,17],effect:[15,16],either:[2,6,9,12,15],element:[12,16],elev:[1,2,4,12,13],ellips:16,ellipt:12,els:[2,4],emerg:0,empti:[7,8,16],enabl:[3,6,12,13,16],enable_event_clone_object:13,enable_event_secret_bas:13,enable_event_weather_trigg:13,enable_floor_numb:13,enable_heal_location_respawn_data:13,enable_hidden_item_quant:13,enable_hidden_item_requires_itemfind:13,enable_object_event_in_connect:[],enable_triple_layer_metatil:[12,13],enclos:12,encount:[0,12,13,16],encountertyp:12,end:[10,16],endless:12,enforc:7,engin:[4,5,13],enhanc:12,ensur:4,enter:[1,2,4,5,9,11,12,14],entir:[6,11,12,15,16],entranc:4,entri:[0,12,16],equal:4,equival:8,eras:12,error:[12,16],escap:[1,5,12],essenti:12,etc:16,evalu:16,even:[6,12,14],event:[0,1,3,8,9,12,13,14,16],event_bg:10,event_object:10,event_object_mov:10,event_script:10,everi:[6,11,12,15],exactli:6,exampl:[1,2,3,4,5,6,10,11,12,15,16],except:[2,4],exchang:11,exclus:[4,5,15],execut:[4,12,13],exist:[1,4,6,8,11,12,16],exit:[12,16],expand:[5,9,16],expect:10,expens:12,explain:4,explan:11,explanatori:5,explicitli:16,explor:2,express:16,extend:[4,16],extens:[4,12,16],extra:16,extrem:3,eyedropp:[6,14,15],face:[4,15,16],fake:12,fall:16,fals:12,familiar:8,fan:16,featur:[2,3,8,9,11,16],feel:0,few:[4,6,8,9],fewer:[],field:[0,4,5,6,11,13,16],fieldmap:10,file:[0,3,4,6,8,9,11,12,13,15,16],filepath:[10,11,12,13],fill:[0,2,12,13,14,16],fillcolor:[12,16],filter:[9,16],find:[0,10],finish:[2,11],first:[2,4,6,7,8,9,11,12,13,16],fit:16,fix:6,flag:[4,10,16],flash:[5,12],flip:[11,12,16],floor:[1,5,12,13,16],floornumb:12,flow:[2,6],flower:8,floweri:8,fly:[1,4],focu:16,folder:[1,8,9,16],follow:[0,6,8,12],font:12,forc:[12,13],forceredraw:12,fork:12,form:[12,15],format:[6,11,12,15,16,17],found:[4,8,10,15,16],four:7,frame:16,frlg:16,from:[1,2,4,6,7,8,9,10,11,12,14,16,17],front:[4,16],full:[12,16],fullest:9,func:12,functionnam:12,futur:[],game:[2,4,5,6,7,8,9,11,12,16,17],gameplai:[2,4,9],gba:[13,15],gen:[8,17],gener:[2,8,10,12,14,15],get:[0,6,12],getallowbik:12,getallowescap:12,getallowrun:12,getbasegamevers:[],getbattlescen:12,getbattlescenenam:12,getblock:12,getborderdimens:12,getborderheight:12,getbordermetatileid:12,getbordervis:12,getborderwidth:12,getcollis:12,getcustomscript:12,getdimens:12,getelev:12,getfloornumb:12,getgridvis:12,getheight:12,gethorizontalscal:12,geti:12,getinputitem:12,getinputnumb:12,getinputtext:12,getloc:12,getlocationnam:12,getmaintab:12,getmapnam:12,getmaptypenam:12,getmapviewtab:12,getmaxprimarytilesetmetatil:[],getmaxprimarytilesettil:[],getmaxsecondarytilesetmetatil:[],getmaxsecondarytilesettil:[],getmetatileattribut:12,getmetatilebehavior:12,getmetatilebehaviornam:12,getmetatileencountertyp:12,getmetatileid:12,getmetatilelabel:12,getmetatilelayeropac:12,getmetatilelayerord:12,getmetatilelayertyp:12,getmetatileterraintyp:12,getmetatiletil:12,getnummetatilelay:[],getnumprimarytilesetmetatil:12,getnumprimarytilesettil:12,getnumsecondarytilesetmetatil:12,getnumsecondarytilesettil:12,getnumtilesinmetatil:[],getopac:12,getoverlayi:[],getoverlayopac:[],getoverlayposit:[],getoverlayvis:[],getoverlayx:[],getporymapvers:[],getposit:12,getprimarytileset:12,getprimarytilesetnam:12,getprimarytilesetpalett:12,getprimarytilesetpalettepreview:12,getprimarytilesetpalettespreview:12,getrequiresflash:12,getrot:12,getsecondarytileset:12,getsecondarytilesetnam:12,getsecondarytilesetpalett:12,getsecondarytilesetpalettepreview:12,getsecondarytilesetpalettespreview:12,getshowlocationnam:12,getsmartpathsen:12,getsong:12,getsongnam:12,gettilepixel:12,gettilesetnam:12,gettyp:12,getverticalscal:12,getvis:12,getweath:12,getweathernam:12,getwidth:12,getx:12,gif:[6,16],ginitialmovementtypefacingdirect:10,git:[4,8],github:[0,13,16],gitignor:13,give:[4,6,7,9,16],given:[7,12,15,16],global:[4,10,12,13],gmonicont:10,goe:12,going:[4,14],good:[10,12],gpl:16,graphic:[4,5,10,16],graphics_file_rul:15,grass:[2,8,12,15],grasstil:12,great:8,green:[4,7],greet:8,grid:[6,12,14,16],group:[0,1,6,9,13,14,16],grow:16,gtileset_gener:13,gtileset_pallettown:13,gtileset_petalburg:13,guarante:[12,16],hack:[8,15],half:2,handl:16,happen:[4,12,16],hardcod:[4,16],hardwar:15,has:[2,3,4,5,9,11,14,15,16],have:[2,3,4,6,7,8,9,11,12,13,14,15,16],head:11,headbutt_mon:7,header:[0,9,10,13,16],heal:[0,1,13,16],heal_loc:[4,10],heal_location_:16,healspot:0,height:[1,11,12,16],help:[6,15,16],here:[2,12,14,15],hex:[15,16],hexadecim:2,hidden:[0,6,12,13,16],hide:[1,5,12,16],hideoverlai:[],hierarch:9,high:17,higher:12,highli:8,highlight:16,higlight:11,histori:[2,12,14,16],hit:16,hold:[4,6,14,16],home:16,hop:2,horizont:[3,12,16],hous:16,hover:[6,13,16],how:[2,4,6,8,9,12,16],howev:[4,6,12],hscale:[12,16],html:12,http:[0,13,16],huderlem:[0,16],huge:16,ice:15,icon:[6,10,12,16],idea:10,ident:[2,6],ids:[12,13],ignor:[8,16],illustr:[2,6],imag:[0,4,6,10,12,16],immedi:16,impass:[2,12],implement:7,implicitli:12,improperli:16,improv:8,inanim:16,inc:[4,10,13,16],includ:[2,4,6,7,9,10,11,15,16],inclus:12,incompat:6,incorrect:16,increment:12,independ:16,index:[7,12,15,16],indexof:12,indic:[6,12,15,16],individu:[6,12,15,16],indoor:1,info:12,inform:[12,16],informativetext:12,inherit:4,initi:[12,16],initial_facing_t:10,input:[12,16],insert:12,insid:[4,12],instal:8,instanc:11,instead:[4,12,16],integ:[11,16],integr:[10,16],interact:[2,4,9,12,16],interchang:16,interest:12,interpret:16,interv:12,introduc:16,introduct:0,invalid:16,invis:[4,12],involv:4,iscompress:13,isprimarytileset:12,issecondarytileset:12,issu:16,item:[0,5,10,12,13,16],itemfind:[4,13],iter:16,its:[4,6,16],itself:12,jasc:[15,16],javascript:[12,16],json:[6,7,10,11,13,16],json_layout:10,json_map_group:10,json_region_map_entri:10,json_region_porymap_cfg:10,json_wild_encount:10,jump:16,junk:16,just:[1,2,6,7,15],kanto:16,keep:[3,5,13,16],kei:[6,14,16],keyboard:[11,12,14,16],keyword:12,known:4,label:[10,11,12,13,16],laid:6,land:[2,12],languag:17,larg:[6,16],larger:[6,9],last:[12,16],later:12,launch:[8,12,13,16],layer:[12,13,16],layers_per_metatil:12,layertyp:12,layout:[0,1,9,10,16],layouts_t:16,learn:[6,8,9],leav:2,left:[2,4,6,8,9,11,12,14,15,16],length:12,let:[2,4,6,7,8,9,11,12,17],letter:12,level:[2,7,10,16,17],librari:[13,14],life:[4,6],like:[2,4,6,9,12,15,16],limit:[5,12,15,16],line:[4,6,16],link:[],linux:[8,16],list:[0,1,4,6,10,11,12,13,14,16],listen:17,littl:4,load:[4,8,9,12,13,16],local:4,locat:[0,1,5,6,8,10,11,12,13,16],lock:[4,6,16],log:[12,16],logic:12,longer:[4,16],look:[0,4,8,9,11],lose:16,lot:15,lower:[12,16],mac:[8,16],maco:[13,14,16],macro:15,made:[7,16],magic:[12,14,16],magicfil:12,magicfillfromselect:12,mai:[1,4,7,13,15,16],main:[0,6,7,8,11,12,16],main_splitter_st:13,maintain:[2,10],major:[12,16],make:[2,4,6,8,11,12,15,16],makefil:15,mani:[4,8,9,11,12,14,16],manipul:[7,12],manual:[0,12,13],map:[0,7,8,10,13,16,17],map_dynam:16,map_group:10,map_groups_count:16,map_non:16,map_sort_ord:13,map_splitter_st:13,map_typ:10,map_type_indoor:5,mapjson:16,mapnam:12,mapsec_new_mapsec:[],mapsec_non:11,mark:4,mart:6,match:[4,6,16],math:12,max:[10,12,16],max_primary_metatil:12,max_primary_til:12,max_secondary_metatil:12,max_secondary_til:12,maximum:[7,12,16],mean:[2,3,4,12],meant:17,measur:[4,16],memori:12,menu:[0,3,7,12,13,16],messag:[12,16],metatil:[0,1,2,4,8,9,10,12,13,14,16],metatile_behavior:[10,15],metatile_id:15,metatile_label:[10,15,16],metatileid:12,metatiles_zoom:13,method:[6,16],middl:[6,12,14,15,16],might:[7,12],millisecond:12,mimic:16,min:[10,12,16],minimum:[7,12,16],minor:[12,16],mirror:0,miscellan:[5,12],miss:[0,16],mistak:[6,11],mode:[1,9,14,16],modif:2,modifi:[6,9,11,12,15,16],monitor:[13,16],monitor_fil:13,more:[4,6,8,9,11,12,14,15,16],most:[2,8,9,11,13,16],mostli:5,mountain:[2,6],mous:[4,6,11,12,16],mouseov:16,move:[2,3,4,5,12,14,16],movement:[4,16],moveoverlai:[],much:8,multi:[2,16],multilin:16,multipl:[4,6,7,11,12,14,16],music:[5,9,16,17],must:[3,4,6,7,8,12,15],my_script:12,name:[1,4,5,6,7,9,10,11,12,15,16],navig:[0,3,4,7,8,11,16],nearli:2,need:[2,3,4,5,6,11,15,16],neg:[5,11,12,16],never:4,new_map_border_metatil:13,new_map_elev:13,new_map_metatil:13,newblock:12,newheight:12,newli:[12,16],newmetatileid:12,newtab:12,newwidth:12,next:[2,4,7,8,9,12,13,16],nice:12,night:12,nodej:12,nodep:8,non:[4,11],none:12,normal:[4,6,12,15],north:2,notabl:[8,16],note:[5,10,12],noth:[4,12,16],notic:[11,16],now:[2,6,7,8,12,16],npc:[4,13],num_til:15,number:[1,2,4,5,7,12,13,16],object:[0,2,6,9,12,13,16],object_ev:10,object_event_graph:10,object_event_graphics_info:[10,16],object_event_graphics_info_point:10,object_event_pic_t:10,object_event_templates_count:10,occur:[12,16],odd:12,off:[2,6,12,16],offici:16,offset:[3,11,16],old:[14,16],oldheight:12,oldtab:12,oldwidth:12,onblockchang:[12,16],onblockhoverchang:12,onblockhoverclear:12,onbordermetatilechang:12,onborderres:12,onbordervisibilitytoggl:12,onc:[4,6,12,16],one:[2,3,6,7,9,11,12,16],ones:16,onli:[2,3,4,6,7,9,10,12,15,16],onmaintabchang:12,onmapopen:12,onmapres:12,onmapshift:12,onmapviewtabchang:12,onprojectclos:12,onprojectopen:12,ontilesetupd:12,onto:[2,6,9,11,12],opac:[12,13,16],opaqu:12,open:[0,3,6,7,8,9,11,12,13,14,15,16],oper:[9,12,15,16],oppon:10,optim:6,option:[0,4,9,10,11,12,13,14,15,16],order:[1,4,7,12,13,16],organ:9,origin:[4,12,16],other:[4,6,9,11,12,13,16,17],otherwis:[7,10,12],our:[7,8,12],out:[0,4,6,7,9,11,12,14,16],outdoor:1,outlin:[6,12,14,16],output:15,outsid:[12,16],over:[2,4,5,6,9,16],overhaul:16,overlai:[13,16],overload:12,overrid:10,overridden:10,overview:12,overworld:4,overwrit:[12,14],overwritten:12,own:12,paint:[0,6,8,9,11,12,14,16],pair:12,pal:[11,15,16],palett:[0,10,11,12,16],paletteid:12,paletteindex:12,pane:[6,9,11,15,16],panel:[8,15,16],pars:16,part:9,partial:[6,16],particular:2,particularli:4,passabl:12,past:16,patch:12,path:[0,2,10,11,12,14,16],pathwai:6,patient:9,pattern:[6,12],pencil:[0,4,8,14,16],per:[14,16],percent:12,perform:[6,12,16],perman:12,persist:16,petalburg:[3,8],pick:[4,15],picker:[6,16],pictur:[7,15,16],pink:4,pixel:[12,15,16],place:[4,6,8,11,12,16],placehold:16,plai:5,plain:[11,16],plain_grass:15,platform:[8,13,16],player:[1,2,3,4,6,9,11,14,15,16],pleas:0,plu:[3,4],png:[15,16],pointer:[0,4,14,16],pokecryst:17,pokeemerald:[4,6,8,10,11,12,13,16],pokefir:[4,5,6,8,11,12,13,15,16],pokemon:[1,7,9,10,12,16],pokemon_icon:10,pokemon_icon_t:10,poker:17,pokerubi:[4,6,8,10,12,16],polish:17,pond:6,pop:8,popul:[7,11,12,15],popular:17,popup:[1,5,11],pori:[4,10,13,16],port:16,portion:6,porycript:4,porymap:[1,3,4,6,7,9,10,11,12,14,15,16],porymap_config:10,poryscript:[16,17],posit:[0,6,11,12,16],possibl:[7,12,16],power:[6,12],pre:[6,16],prefab:[0,12,13,16],prefabr:6,prefabs_filepath:[6,13],prefabs_import_prompt:13,prefer:[4,14,16],prefix:[5,12,16],present:[],preserv:16,press:[3,4,6,8,9,16],pret:[8,13,14,16],pretti:7,pretty_cursor:13,prevblock:12,prevent:16,preview:[6,12],previou:[2,16],previous:[12,16],prevmetatileid:12,primari:[1,6,8,10,12,13,15,16],pro:15,probabl:[10,12],procedur:12,process:[2,4],program:17,project:[0,1,4,5,6,8,9,11,12,13,14,15,16],project_root:[6,13],projectpath:12,prompt:[6,13,14,16],proper:16,properli:16,properti:[0,2,4,5,8,9,11,12,16],provid:[4,6,7,8,12,15,16],pull:16,purpos:[2,9],qt6:16,quantiti:[4,13],question:12,quick:6,quickli:9,radiu:[4,6,13],rais:16,randint:12,random:12,rang:[4,12],rate:7,rather:[6,12,16],ratio:7,raw:12,rawvalu:12,reach:0,reactiv:16,read:[4,8,10,11,12,13,16],realist:15,reason:[7,15],receiv:4,recent:[13,16],recent_map:13,recent_project:13,recommend:8,rectangl:[6,12,13,16],rectangular:12,red:[2,7,16],redo:[0,2,4,8,11,14,16],redraw:12,reduc:16,refer:[0,14],referenc:15,refresh:12,region:[0,1,5,6,8,12,16],region_map:[10,11],region_map_dimens:[],region_map_entri:[],region_map_sect:[10,11],regist:0,registeract:12,registri:16,regress:16,regular:6,rejoic:16,rel:[11,12],relat:[0,10,12],releas:[6,8,16],reli:10,reload:[12,16],remain:12,rememb:[2,12,16],remov:[15,16],renam:[10,16],render:[12,16],reopen_on_launch:13,reorder:16,replac:[11,16],repo:[13,16],report:16,repres:[2,7,12],requir:[4,5,12,13,16],reselect:16,reset:[11,14,16],resili:16,resiz:[6,16],resolut:16,respawn:[4,13],respect:[8,16],respond:16,rest:12,restor:[13,14,16],restrict:11,result:8,retriev:12,rgb:[12,16],right:[1,2,3,4,6,7,9,11,12,14,15,16],rival:4,rme:11,rom:8,rooftop:5,root:[11,13],rope:[1,5,12],rotat:[12,16],round:[12,16],rout:[2,3],row:[2,16],rrggbb:12,rubi:5,rule:[12,15],ruler:[0,16],run:[1,5,12],same:[2,4,6,8,12,14,16],save:[3,6,7,8,12,14,15,16],scale:[12,13,14,16],scenario:[15,16],scene:[5,12],scratch:[11,15],screen:[7,8,13,15,16],script:[0,9,10,13,16,17],scroll:6,seamlessli:3,second:[2,8,9,13],secondari:[1,6,10,12,13,15,16],secret:[0,13,16],secret_bas:[4,10],section:[1,4,5,6,9,11],see:[1,4,6,7,8,9,12,13,16],seem:9,seen:16,select:[0,3,4,7,8,9,11,12,14,15,16],selector:[2,6,11,16],self:5,semant:16,sensibl:16,separ:12,session:16,set:[0,4,6,7,9,11,14,15,16],setallowbik:12,setallowescap:12,setallowrun:12,setbattlescen:12,setblock:12,setblocksfromselect:12,setborderdimens:12,setborderheight:12,setbordermetatileid:12,setbordervis:12,setborderwidth:12,setclippingrect:12,setcollis:12,setdimens:12,setelev:12,setfloornumb:12,setgridvis:12,setheight:12,sethorizontalscal:12,seti:12,setloc:12,setmaintab:12,setmapviewtab:12,setmetatileattribut:12,setmetatilebehavior:12,setmetatileencountertyp:12,setmetatileid:12,setmetatilelabel:12,setmetatilelayeropac:12,setmetatilelayerord:12,setmetatilelayertyp:12,setmetatileterraintyp:12,setmetatiletil:12,setopac:12,setoverlayi:[],setoverlayopac:[],setoverlayposit:[],setoverlaysi:[],setoverlaysopac:[],setoverlaysposit:[],setoverlaysvis:[],setoverlaysx:[],setoverlayvis:[],setoverlayx:[],setposit:12,setprimarytileset:12,setprimarytilesetpalett:12,setprimarytilesetpalettepreview:12,setprimarytilesetpalettespreview:12,setrequiresflash:12,setrot:12,setsecondarytileset:12,setsecondarytilesetpalett:12,setsecondarytilesetpalettepreview:12,setsecondarytilesetpalettespreview:12,setshowlocationnam:12,setsmartpathsen:12,setsong:12,settimeout:12,settranspar:12,settyp:12,setup:8,setverticalscal:12,setvis:12,setweath:12,setwhiteoutrespawnwarpandhealernpc:4,setwidth:12,setx:12,sever:[7,12,13,15],shape:12,share:16,shift:[0,3,4,12,14,16],shoe:5,shortcut:[0,2,6,8,11,12,16],should:[2,4,6,7,8,10,11,12,13,16],shouldn:8,show:[1,5,6,8,9,12,14,15,16],show_cursor_til:13,show_player_view:13,showerror:12,showmessag:12,shown:12,showoverlai:[],showquest:12,showwarn:12,shrink:16,side:[2,3,6,8,9,15],sight:4,sign:[0,16],signific:16,signpost:[2,4],silenc:16,similar:[2,3,7],simpl:[4,7],simpli:[3,4,6,9,11,15],simplifi:6,simultan:11,sinc:[3,8,12,15,16],singl:[7,9,11,12],situat:[9,16],size:[6,11,12,13,16],slider:[2,6,11,15,16],slot:7,slow:12,small:4,smaller:12,smart:[0,2,12,14,16],smooth:16,snap:6,some:[1,2,4,6,8,9,12,13,16],someth:[0,2,4,7,11],sometim:16,somewhat:16,song:[5,10,12],sort:[1,9,13,16],sourc:[8,15],south:2,space:16,span:11,spawn_:16,speci:7,special:[2,4],specif:[4,13,16],specifi:[4,12,16],specifieid:12,specifii:12,spinbox:11,spinner:[4,12,15,16],split:15,spot:4,sprint:1,sprite:[4,10,16],squar:[4,11,16],src:[4,10,11],ssecretbaseentrancemetatil:4,stai:16,stair:2,stand:[4,15],standard:4,start:[0,2,6,12],startup:16,state:12,statu:16,step:12,still:16,stitch:16,stop:12,store:[11,13,14,16],straight:[0,12,14,16],straightforward:7,strict:[],string:[11,12,16],struct:16,studio:17,stuff:10,successfulli:[8,12],suffici:[11,12],summar:9,support:[5,6,8,11,12,13,14,16],sure:[2,3,8],surf:2,surround:[6,9],swap:11,symbol:16,sync:[3,16],system:16,tab:[0,2,3,4,6,7,9,12,16],tabl:[10,12,13,15,16],tag:12,take:[6,7,8,9,11,12,16],taken:16,tall:15,target:[4,12],technic:[4,12],templat:16,temporarili:[6,16],terrain:12,terraintyp:12,test:12,text:[2,4,9,12,13,16],text_editor_goto_lin:13,text_editor_open_directori:13,than:[6,12,16],thei:[1,3,4,5,6,9,12,14,15,16],them:[2,3,4,5,6,7,12,16],theme:[13,16],therefor:[7,8],thi:[1,2,3,4,5,6,7,9,10,11,12,13,15,16],thing:[4,5,6,7,8,9],think:[6,8],those:[6,8,12],though:[6,16],three:[4,11],through:[2,3,16],tied:[],tile:[0,2,4,8,9,10,11,12,16],tileend:12,tileid:12,tileindex:12,tilemap:[11,16,17],tiles_per_metatil:12,tileset:[0,1,8,10,11,13,16],tilesetnam:12,tilesets_graph:10,tilesets_graphics_asm:10,tilesets_have_callback:13,tilesets_have_is_compress:13,tilesets_head:10,tilesets_headers_asm:10,tilesets_metatil:10,tilesets_metatiles_asm:10,tilestart:12,time:[2,4,6,7,8,9,12,13,15,16],timelaps:16,tint:12,titl:12,togeth:[3,4,6,12,14,15],toggl:[6,12,13,14,16],toggld:16,too:[2,16],tool:[0,1,2,8,11,12,16],toolbar:[6,8],toolbutton:[14,15],top:[2,3,4,11,12,15,16],total:[2,7],tpl:16,track:13,tradit:8,trainer:[4,10,16],trainer_sight_or_berry_tree_id:16,trainer_typ:[10,16],trainer_type_norm:4,transform:12,transit:[2,4],transpar:[2,12,16],treat:16,tree:[4,6,16],trigger:[0,9,12,13],tripl:[13,16],turn:16,two:[3,6,9,11,15],type:[0,1,4,5,9,11,12,16],typic:[2,4],ubuntu:16,unabl:2,unavail:4,uncheck:11,uncommit:12,under:[2,11],underli:[12,16],underlin:12,underscor:12,undertand:2,underw:16,undo:[0,2,4,8,11,12,14,16],undoabl:16,unexpect:16,unfortun:4,unhappi:11,uniq:7,uniqu:[4,11],unknown:16,unless:[10,12],unlik:2,unlock:4,unnecessari:16,unreleas:0,unsav:16,until:7,unus:[15,16],updat:[2,3,6,12,16],upstream:16,usabl:8,usag:15,use:[1,2,4,6,7,8,9,11,12,13,14,15,16],use_custom_border_s:[6,12,13,16],use_encounter_json:13,use_poryscript:[13,16],usecach:12,used:[2,3,4,5,6,9,12,13,14,15,16,17],useful:[3,4,5,6,12,15,16],user:[0,1,2,6,8,10,11,12,13,15,16],uses:[2,4,6,7,12,13,15,16],using:[4,6,8,12,14,16],usual:12,util:16,valid:[11,16],valu:[3,4,5,6,11,12,15,16],vanilla:7,var_valu:16,variabl:[4,13],varieti:15,variou:[5,6,8,9,16],veri:[2,3,4,6,12],version:[2,4,5,6,8,12,16],vertic:[3,12,16],via:[6,12,13,16],video:17,view:[2,3,4,5,6,9,11,12,14,16],visibl:[4,6,12,16],vision:5,visual:[0,2,16],vscale:[12,16],wai:[3,4,6,12],wait:12,walk:[2,3,4,9],want:[7,10,11,12,13],warn:[12,16],warp:[0,9,15,16],wasn:16,watch:16,water:[12,15],waterfal:12,weather:[0,5,9,10,12,13],web:12,websit:16,were:[4,6,16],weren:16,west:[2,3],what:[0,2,4,5,6,9,11],wheel:6,when:[1,2,3,4,5,6,8,9,11,12,13,15,16],whenev:[2,6,12,15],where:[4,6,11,12,15,16],whether:[1,2,5,12,13,15,16],which:[1,2,3,5,6,7,9,11,12,15,16],whichev:6,white:[2,4,6],whose:16,why:2,widget:[13,16],width:[1,11,12,16],wiki:13,wild:[0,9,12,13,15,16],wild_encount:10,window:[0,1,4,5,6,7,8,11,12,13,15,16],window_geometri:13,window_st:13,within:[4,9,14,15],without:[6,11,12,16],woman:4,won:[2,12],word:12,work:[6,8,9,15,16],workflow:[6,8,12],would:[2,10,12,16],wouldn:16,wrap:6,write:[0,8,10,16],written:16,wsl:16,xcoord:12,xdelta:12,xflip:[12,16],xoffset:[12,16],ycoord:12,ydelta:12,yes:[10,13],yet:[12,16],yflip:[12,16],yoffset:[12,16],you:[0,1,2,3,4,5,6,7,8,9,10,11,13,14,15,16,17],your:[1,3,4,5,6,7,8,9,10,11,13,14],yourself:[10,14],zoom:[6,11,14,16]},titles:["Porymap Documentation","Creating New Maps","Editing Map Collisions","Editing Map Connections","Editing Map Events","Editing Map Headers","Editing Map Tiles","Editing Wild Encounters","Introduction","Navigation","Project Files","The Region Map Editor","Scripting Capabilities","Porymap Settings","Shortcuts","The Tileset Editor","Changelog","Related Projects"],titleterms:{"break":16,"function":12,"import":15,"new":[1,7],Added:16,Adding:[4,7],The:[11,15],about:8,action:12,advanc:15,api:12,background:11,base:4,behavior:15,border:6,bucket:6,button:4,callback:12,capabl:12,chang:[6,15,16],changelog:16,citi:[],clone:4,collis:2,configur:7,connect:3,constant:12,creat:1,custom:12,delet:4,dive:3,document:0,edit:[2,3,4,5,6,7,12],editor:[9,11,14,15],emerg:3,encount:[7,15],entri:11,event:4,field:7,file:10,fill:6,fix:16,follow:3,from:15,get:8,group:7,header:[5,12],heal:4,healspot:4,hidden:4,imag:[11,15],introduct:8,item:4,label:15,layer:15,layout:11,list:9,locat:4,main:[9,14],map:[1,2,3,4,5,6,9,11,12,14,15],menu:15,metatil:[6,15],mirror:3,navig:9,number:15,object:4,open:4,option:[1,6],other:15,overlai:12,paint:2,palett:15,path:6,pencil:6,pointer:6,porymap:[0,8,13],posit:4,prefab:6,project:[10,17],properti:15,redo:6,region:[9,11,14],regist:12,relat:17,ruler:4,script:[4,12],secret:4,select:[2,6],set:[12,13],shift:6,shortcut:14,sign:4,smart:6,start:8,straight:6,tab:11,terrain:15,tile:[6,15],tileset:[6,9,12,14,15],tool:[4,6,15],trigger:4,type:[2,15],undo:6,unreleas:16,util:12,visual:6,warp:[3,4],weather:4,wild:7,window:[9,14],write:12}})
\ No newline at end of file
+Search.setIndex({docnames:["index","manual/creating-new-maps","manual/editing-map-collisions","manual/editing-map-connections","manual/editing-map-events","manual/editing-map-header","manual/editing-map-tiles","manual/editing-wild-encounters","manual/introduction","manual/navigation","manual/project-files","manual/region-map-editor","manual/scripting-capabilities","manual/settings-and-options","manual/shortcuts","manual/tileset-editor","reference/changelog","reference/related-projects"],envversion:{"sphinx.domains.c":2,"sphinx.domains.changeset":1,"sphinx.domains.citation":1,"sphinx.domains.cpp":2,"sphinx.domains.index":1,"sphinx.domains.javascript":2,"sphinx.domains.math":2,"sphinx.domains.python":2,"sphinx.domains.rst":2,"sphinx.domains.std":1,sphinx:56},filenames:["index.rst","manual\\creating-new-maps.rst","manual\\editing-map-collisions.rst","manual\\editing-map-connections.rst","manual\\editing-map-events.rst","manual\\editing-map-header.rst","manual\\editing-map-tiles.rst","manual\\editing-wild-encounters.rst","manual\\introduction.rst","manual\\navigation.rst","manual\\project-files.rst","manual\\region-map-editor.rst","manual\\scripting-capabilities.rst","manual\\settings-and-options.rst","manual\\shortcuts.rst","manual\\tileset-editor.rst","reference\\changelog.md","reference\\related-projects.rst"],objects:{"":{onBlockChanged:[12,1,1,""],onBlockHoverChanged:[12,1,1,""],onBlockHoverCleared:[12,1,1,""],onBorderMetatileChanged:[12,1,1,""],onBorderResized:[12,1,1,""],onBorderVisibilityToggled:[12,1,1,""],onMainTabChanged:[12,1,1,""],onMapOpened:[12,1,1,""],onMapResized:[12,1,1,""],onMapShifted:[12,1,1,""],onMapViewTabChanged:[12,1,1,""],onProjectClosed:[12,1,1,""],onProjectOpened:[12,1,1,""],onTilesetUpdated:[12,1,1,""]},"constants.version":{major:[12,0,1,""],minor:[12,0,1,""],patch:[12,0,1,""]},constants:{base_game_version:[12,0,1,""],layers_per_metatile:[12,0,1,""],max_primary_metatiles:[12,0,1,""],max_primary_tiles:[12,0,1,""],max_secondary_metatiles:[12,0,1,""],max_secondary_tiles:[12,0,1,""],tiles_per_metatile:[12,0,1,""]},map:{bucketFill:[12,1,1,""],bucketFillFromSelection:[12,1,1,""],commit:[12,1,1,""],getAllowBiking:[12,1,1,""],getAllowEscaping:[12,1,1,""],getAllowRunning:[12,1,1,""],getBattleScene:[12,1,1,""],getBlock:[12,1,1,""],getBorderDimensions:[12,1,1,""],getBorderHeight:[12,1,1,""],getBorderMetatileId:[12,1,1,""],getBorderWidth:[12,1,1,""],getCollision:[12,1,1,""],getDimensions:[12,1,1,""],getElevation:[12,1,1,""],getFloorNumber:[12,1,1,""],getHeight:[12,1,1,""],getLocation:[12,1,1,""],getMetatileAttributes:[12,1,1,""],getMetatileBehavior:[12,1,1,""],getMetatileEncounterType:[12,1,1,""],getMetatileId:[12,1,1,""],getMetatileLabel:[12,1,1,""],getMetatileLayerType:[12,1,1,""],getMetatileTerrainType:[12,1,1,""],getMetatileTile:[12,1,1,""],getMetatileTiles:[12,1,1,""],getNumPrimaryTilesetMetatiles:[12,1,1,""],getNumPrimaryTilesetTiles:[12,1,1,""],getNumSecondaryTilesetMetatiles:[12,1,1,""],getNumSecondaryTilesetTiles:[12,1,1,""],getPrimaryTileset:[12,1,1,""],getPrimaryTilesetPalette:[12,1,1,""],getPrimaryTilesetPalettePreview:[12,1,1,""],getPrimaryTilesetPalettes:[12,1,1,""],getPrimaryTilesetPalettesPreview:[12,1,1,""],getRequiresFlash:[12,1,1,""],getSecondaryTileset:[12,1,1,""],getSecondaryTilesetPalette:[12,1,1,""],getSecondaryTilesetPalettePreview:[12,1,1,""],getSecondaryTilesetPalettes:[12,1,1,""],getSecondaryTilesetPalettesPreview:[12,1,1,""],getShowLocationName:[12,1,1,""],getSong:[12,1,1,""],getTilePixels:[12,1,1,""],getType:[12,1,1,""],getWeather:[12,1,1,""],getWidth:[12,1,1,""],magicFill:[12,1,1,""],magicFillFromSelection:[12,1,1,""],redraw:[12,1,1,""],setAllowBiking:[12,1,1,""],setAllowEscaping:[12,1,1,""],setAllowRunning:[12,1,1,""],setBattleScene:[12,1,1,""],setBlock:[12,1,1,"id0"],setBlocksFromSelection:[12,1,1,""],setBorderDimensions:[12,1,1,""],setBorderHeight:[12,1,1,""],setBorderMetatileId:[12,1,1,""],setBorderWidth:[12,1,1,""],setCollision:[12,1,1,""],setDimensions:[12,1,1,""],setElevation:[12,1,1,""],setFloorNumber:[12,1,1,""],setHeight:[12,1,1,""],setLocation:[12,1,1,""],setMetatileAttributes:[12,1,1,""],setMetatileBehavior:[12,1,1,""],setMetatileEncounterType:[12,1,1,""],setMetatileId:[12,1,1,""],setMetatileLabel:[12,1,1,""],setMetatileLayerType:[12,1,1,""],setMetatileTerrainType:[12,1,1,""],setMetatileTile:[12,1,1,"id1"],setMetatileTiles:[12,1,1,"id2"],setPrimaryTileset:[12,1,1,""],setPrimaryTilesetPalette:[12,1,1,""],setPrimaryTilesetPalettePreview:[12,1,1,""],setPrimaryTilesetPalettes:[12,1,1,""],setPrimaryTilesetPalettesPreview:[12,1,1,""],setRequiresFlash:[12,1,1,""],setSecondaryTileset:[12,1,1,""],setSecondaryTilesetPalette:[12,1,1,""],setSecondaryTilesetPalettePreview:[12,1,1,""],setSecondaryTilesetPalettes:[12,1,1,""],setSecondaryTilesetPalettesPreview:[12,1,1,""],setShowLocationName:[12,1,1,""],setSong:[12,1,1,""],setType:[12,1,1,""],setWeather:[12,1,1,""],setWidth:[12,1,1,""],shift:[12,1,1,""]},overlay:{addImage:[12,1,1,""],addMetatileImage:[12,1,1,""],addPath:[12,1,1,"id18"],addRect:[12,1,1,""],addText:[12,1,1,""],addTileImage:[12,1,1,"id20"],clear:[12,1,1,"id3"],clearClippingRect:[12,1,1,"id15"],createImage:[12,1,1,""],getHorizontalScale:[12,1,1,""],getOpacity:[12,1,1,""],getPosition:[12,1,1,""],getRotation:[12,1,1,""],getVerticalScale:[12,1,1,""],getVisibility:[12,1,1,""],getX:[12,1,1,""],getY:[12,1,1,""],hide:[12,1,1,"id4"],move:[12,1,1,"id17"],rotate:[12,1,1,"id11"],setClippingRect:[12,1,1,"id14"],setHorizontalScale:[12,1,1,"id8"],setOpacity:[12,1,1,"id7"],setPosition:[12,1,1,"id16"],setRotation:[12,1,1,"id10"],setVerticalScale:[12,1,1,"id9"],setVisibility:[12,1,1,"id6"],setX:[12,1,1,"id12"],setY:[12,1,1,"id13"],show:[12,1,1,"id5"]},utility:{error:[12,1,1,""],getBattleSceneNames:[12,1,1,""],getBorderVisibility:[12,1,1,""],getCustomScripts:[12,1,1,""],getGridVisibility:[12,1,1,""],getInputItem:[12,1,1,""],getInputNumber:[12,1,1,""],getInputText:[12,1,1,""],getLocationNames:[12,1,1,""],getMainTab:[12,1,1,""],getMapNames:[12,1,1,""],getMapTypeNames:[12,1,1,""],getMapViewTab:[12,1,1,""],getMetatileBehaviorNames:[12,1,1,""],getMetatileLayerOpacity:[12,1,1,""],getMetatileLayerOrder:[12,1,1,""],getPrimaryTilesetNames:[12,1,1,""],getSecondaryTilesetNames:[12,1,1,""],getSmartPathsEnabled:[12,1,1,""],getSongNames:[12,1,1,""],getTilesetNames:[12,1,1,""],getWeatherNames:[12,1,1,""],isPrimaryTileset:[12,1,1,""],isSecondaryTileset:[12,1,1,""],log:[12,1,1,""],registerAction:[12,1,1,""],setBorderVisibility:[12,1,1,""],setGridVisibility:[12,1,1,""],setMainTab:[12,1,1,""],setMapViewTab:[12,1,1,""],setMetatileLayerOpacity:[12,1,1,""],setMetatileLayerOrder:[12,1,1,""],setSmartPathsEnabled:[12,1,1,""],setTimeout:[12,1,1,""],showError:[12,1,1,""],showMessage:[12,1,1,""],showQuestion:[12,1,1,""],showWarning:[12,1,1,""],warn:[12,1,1,""]}},objnames:{"0":["js","attribute","JavaScript attribute"],"1":["js","function","JavaScript function"]},objtypes:{"0":"js:attribute","1":"js:function"},terms:{"0e8ccfc4fd3544001f4c25fafd401f7558bdefba":16,"0x10":12,"0x11":12,"0x4":8,"0x8":12,"0x9":12,"2x2":13,"32x20":[],"3x3":6,"4bpp":11,"82abc164dc9f6a74fdf0c535cc1621b7ed05318b":16,"8bpp":11,"8x8":[12,15],"boolean":12,"case":[2,4],"const":12,"default":[4,6,7,9,10,11,12,13,14,16],"export":[12,15,16],"final":[8,12],"function":[4,8,11,16],"goto":4,"import":[2,6,12,13,16],"long":[2,12,16],"new":[0,2,3,4,6,9,10,11,12,13,14,15,16],"pok\u00e9":6,"pok\u00e9cent":4,"pok\u00e9mon":[4,6,9,16],"return":[4,12],"switch":[9,12,15,16],"true":[2,12],"try":[2,12],"var":[4,10],"while":[2,4,6,12,14,16],AND:4,Adding:0,For:[1,2,3,4,5,6,7,9,10,11,12,13,14,15,16],IDs:16,Its:[8,16],NOT:12,One:[7,12],That:8,The:[0,1,2,4,5,6,7,8,9,10,12,13,16],Then:[2,6,7,12],There:[4,8,11,12,13,15],These:[2,3,6,7,12,15],Use:[4,6],Used:[5,15],Useful:12,Will:[],With:[4,12],Yes:12,a0ba1b7c6353f7e4f3066025514c05b323a0123d:16,a1ea3b5e394bc115ba9b86348c161094a00dcca7:16,aarrggbb:12,abil:[2,4,12,16],abl:[2,4,11,12],about:[0,12,16],abov:[2,4,6,8,9,11,12,15,16],accept:7,access:[4,12,13,15,16],accomod:16,accomplish:6,accord:16,accordingli:16,account:[],accur:16,across:15,act:16,action:[0,6,14],actionnam:12,activ:[4,7,12],actual:[4,12,16],ad365a35c1536740cbcbc10bee66e5dd908c39e7:16,adb0a444577b59eb02788c782a3d04bc285be0ba:16,add:[1,3,4,7,10,11,12,13,15,16],added:[12,16],addfilledrect:16,addimag:12,adding:[7,13,16],addit:[5,8,12,15],addition:[4,6,12,16],addmetatileimag:12,addpath:12,addrect:[12,16],addtext:12,addtileimag:12,adher:16,adjac:[4,12],adjust:[6,7,15],adob:15,advanc:[8,16,17],affect:12,after:[2,4,6,8,12,16],again:[4,6],alia:11,all:[2,3,4,6,7,9,11,12,14,15,16],allow:[1,2,4,5,6,7,8,9,12,13,15,16],along:2,alreadi:14,also:[2,4,5,6,7,10,11,12,13,14,15,16],alter:7,altern:[1,4],altogeth:15,alwai:[2,4,16],amount:16,angl:12,ani:[1,2,4,6,9,11,12,13,15,16],anim:[4,12,16],anoth:[4,6,7,9,11],anyth:[4,6],api:[0,16],app:13,appdata:[13,14],appear:[4,6,9,11,12,16],append:[5,10],appli:[12,16],applic:[9,13,14,16],applymov:4,applynighttint:12,appropri:2,arbitrarili:16,area:[2,4,6,8,9,11,12,16],argument:[12,15,16],around:[4,6,9,11,13,16],arrai:[11,12],arriv:4,arrow:[4,16],assign:[4,7,16],associ:[1,2,4,11,15],assum:[12,16],attempt:[15,16],attribut:[12,15,16],auto:16,autocomplet:16,automat:[3,4,5,12,13,15,16],avail:[4,6,7,8,9,11],awai:7,awar:6,axi:6,back:[6,16],background:[0,5,9,12,15],bar:[12,16],base:[0,1,6,7,11,13,16],base_game_vers:[12,13,16],basement:5,basic:[2,6,8,9],batch:12,battl:[4,5,12],battlescen:12,becaus:[2,4,9],becom:16,been:[12,16],befor:[2,6,8,12,16],begin:10,behav:[4,12,16],behavior:[12,16],behind:12,being:[2,8,16],bele:1,belong:5,below:[2,4,6,7,12,16],berri:4,better:16,between:[2,3,4,9,11,12,15,16],beyond:16,bigger:6,bike:[1,5,12],bin:10,binari:[8,11,15],bit:[12,15,16],black:12,blank:[],block:[1,2,12,16],blockdata:[],blue:4,boi:17,border:[0,1,4,10,12,13,16],bordercolor:[12,16],both:[3,6,15,16],bottom:[6,12,15,16],bound:[4,16],boundari:16,box:[4,7,11,12,13,15,16],bread:6,bridg:2,brief:4,briefli:9,bring:[4,6,7,9,11],browser:12,brush:12,bucket:[0,12,14],bucketfil:12,bucketfillfromselect:12,bug:16,build:[4,6,8,12],built:[6,16],bulk:16,bump:16,butter:6,button:[0,3,6,7,8,9,11,12,13,16],bvd:[15,16],c68ba9f4e8e260f2e3389eccd15f6ee5f4bdcd3:16,c73de8bed752ca538d90cfc93c4a9e8c7965f8c9:16,cach:12,call:[6,12,16],callabl:12,callback:[13,16],can:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16],cancel:[12,14],cannot:[1,4,5,14,16],capabl:[0,16],categori:15,caus:[12,16],cave:7,cdae0c1444bed98e652c87dc3e3edcecacfef8b:16,ceil:12,center:[1,4,6,9,16],certain:[4,10,12,15,16],cfg:[6,10,12,13,14,16],chain:6,chanc:7,chang:[0,1,3,4,7,8,9,11,12,13],changelog:0,charact:[4,16],check:[4,6,7,9,12,16],checkbox:[3,6,16],choos:[4,6,7,8,9,12],citi:[3,8],clear:[11,12,16],clearclippingrect:12,clearoverlai:[],click:[1,2,3,4,6,7,8,9,11,12,13,14,16],cliff:2,clip:[12,16],clipboard:16,clockwis:12,clone:[0,13,16],close:[4,12,16],code:[4,12,15],collaps:[9,16],collect:5,collid:12,collis:[0,4,6,8,9,12,13,16],collision_opac:13,color:[12,13,15,16,17],column:2,com:[0,13,16],combin:15,combo:[4,13,16],combobox:[11,16],comma:12,command:[4,13,14,16],comment:16,commit:[12,13,16],commitchang:12,common:2,commonli:2,compat:16,compil:8,complet:12,compos:[],comprehens:[14,16],concept:2,config:[6,10,12,13,16],configur:[0,6,11,12,13,16],conjunct:6,connect:[0,4,6,8,9,12,16],consecut:12,consist:[12,16],constant:[10,11,15,16],constants_event_bg:10,constants_fieldmap:10,constants_flag:10,constants_glob:10,constants_heal_loc:10,constants_item:10,constants_map_group:10,constants_map_typ:10,constants_metatile_behavior:10,constants_metatile_label:10,constants_obj_ev:10,constants_obj_event_mov:10,constants_oppon:10,constants_pokemon:10,constants_region_map_sect:10,constants_secret_bas:10,constants_song:10,constants_trainer_typ:10,constants_var:10,constants_weath:10,contain:[4,9,12,13,15,16],content:12,context:[9,15],contigu:[6,16],continu:[2,6],control:[2,4,5,8],conveni:[4,6,12,15,16],convert:[15,16],coord:12,coordin:[4,11,12,16],coorespond:16,copi:[6,7,16],corner:[3,12],correctli:16,correspond:[11,16],corrupt:16,could:[12,16],count:[2,15,16],counterclockwis:12,coupl:11,cover:[4,9,15],crash:16,creat:[0,4,6,7,9,11,12,13,16],create_map_text_fil:13,createimag:[12,16],creation:6,critic:12,cross:8,crosshair:13,ctrl:[3,4,6,8,9,11,12,14,16],cumbersom:12,current:[2,4,6,7,8,9,11,12,14,15,16],cursor:[4,6,11,13,14,16],custom:[0,1,5,6,11,13,14,16],custom_script:[12,13],cut:16,dai:[7,12],dark:16,data:[6,7,8,10,11,12,13,15,16],data_event_script:10,data_heal_loc:10,data_layouts_fold:10,data_map_fold:10,data_obj_event_gfx:10,data_obj_event_gfx_info:10,data_obj_event_gfx_point:10,data_obj_event_pic_t:10,data_pokemon_gfx:10,data_scripts_fold:10,data_tilesets_fold:10,date:16,daunt:9,deactiv:4,debug:12,decim:12,decompil:[8,16,17],decor:12,default_primary_tileset:13,default_secondary_tileset:13,defin:[6,10,11,12,15,16],degre:12,del:[14,16],delai:12,delaym:12,delet:[0,3,11,14,15,16],deltai:12,deltax:12,demand:12,demonstr:6,denot:2,depend:[1,6,12,13,16],depth:15,describ:[4,7],descript:[4,13],design:6,desir:[3,6,9],despit:16,destin:[3,4],detail:[4,6,9,11,12,16],detailedtext:12,detect:12,determin:[2,4,11,13,15],diagonist:12,dialog:[8,9,12,14,16],did:16,diff:16,differ:[1,2,4,6,9,11,12,15,16],difficulti:8,dig:[5,12],dimens:[6,11,12,16],direct:[2,3,4,6,16],directli:[4,12],directori:12,disabl:[6,7,16],disallow:16,disappear:16,disassembl:17,disk:[7,12],displai:[1,4,6,7,8,11,12,13,15,16],dissect:4,distanc:[4,16],distinguish:11,dive:0,document:[12,16],doe:[4,6,8,12],doesn:[2,6,12,16],doing:8,don:[3,16],done:11,doubl:[3,4,9,11,16],down:[6,7,8,16],download:8,drag:[3,4,6,11,14,16],draw:[4,8,11,12,14,15,16],drawn:[12,16],drop:[7,16],dropdown:[3,6,12,15,16],due:16,dummi:4,duplic:[4,14,16],dure:[2,4,16],dynam:4,each:[2,4,5,6,7,9,10,11,12,15,16],easi:[1,4,6],easier:[6,11,15,16],easiest:3,east:[2,3],ecmascript:12,edg:12,edit:[0,8,9,10,11,13,14,15,16],editor:[0,4,8,12,13,16,17],effect:[15,16],either:[2,6,9,12,15],element:[12,16],elev:[1,2,4,12,13],ellips:16,ellipt:12,els:[2,4],emerg:0,empti:[7,8,16],enabl:[3,6,12,13,16],enable_event_clone_object:13,enable_event_secret_bas:13,enable_event_weather_trigg:13,enable_floor_numb:13,enable_heal_location_respawn_data:13,enable_hidden_item_quant:13,enable_hidden_item_requires_itemfind:13,enable_object_event_in_connect:[],enable_triple_layer_metatil:[12,13],enclos:12,encount:[0,12,13,16],encountertyp:12,end:[10,16],endless:12,enforc:7,engin:[4,5,13],enhanc:12,ensur:4,enter:[1,2,4,5,9,11,12,14],entir:[6,11,12,15,16],entranc:4,entri:[0,12,16],equal:4,equival:8,eras:12,error:[12,16],escap:[1,5,12],essenti:12,etc:16,evalu:16,even:[6,12,14],event:[0,1,3,8,9,12,13,14,16],event_bg:10,event_object:10,event_object_mov:10,event_script:10,everi:[6,11,12,15],exactli:6,exampl:[1,2,3,4,5,6,10,11,12,15,16],except:[2,4],exchang:11,exclus:[4,5,15],execut:[4,12,13],exist:[1,4,6,8,11,12,16],exit:[12,16],expand:[5,9,16],expect:10,expens:12,explain:4,explan:11,explanatori:5,explicitli:16,explor:2,express:16,extend:[4,16],extens:[4,12,16],extra:16,extrem:3,eyedropp:[6,14,15],face:[4,15,16],fake:12,fall:16,fals:12,familiar:8,fan:16,featur:[2,3,8,9,11,16],feel:0,few:[4,6,8,9],fewer:[],field:[0,4,5,6,11,13,16],fieldmap:10,file:[0,3,4,6,8,9,11,12,13,15,16],filepath:[10,11,12,13],fill:[0,2,12,13,14,16],fillcolor:[12,16],filter:[9,16],find:[0,10],finish:[2,11],first:[2,4,6,7,8,9,11,12,13,16],fit:16,fix:6,flag:[4,10,16],flash:[5,12],flip:[11,12,16],floor:[1,5,12,13,16],floornumb:12,flow:[2,6],flower:8,floweri:8,fly:[1,4],focu:16,folder:[1,8,9,16],follow:[0,6,8,12],font:12,forc:[12,13],forceredraw:12,fork:12,form:[12,15],format:[6,11,12,15,16,17],found:[4,8,10,15,16],four:7,frame:16,frlg:16,from:[1,2,4,6,7,8,9,10,11,12,14,16,17],front:[4,16],full:[12,16],fullest:9,func:12,functionnam:12,futur:[],game:[2,4,5,6,7,8,9,11,12,16,17],gameplai:[2,4,9],gba:[13,15],gen:[8,17],gener:[2,8,10,12,14,15],get:[0,6,12],getallowbik:12,getallowescap:12,getallowrun:12,getbasegamevers:[],getbattlescen:12,getbattlescenenam:12,getblock:12,getborderdimens:12,getborderheight:12,getbordermetatileid:12,getbordervis:12,getborderwidth:12,getcollis:12,getcustomscript:12,getdimens:12,getelev:12,getfloornumb:12,getgridvis:12,getheight:12,gethorizontalscal:12,geti:12,getinputitem:12,getinputnumb:12,getinputtext:12,getloc:12,getlocationnam:12,getmaintab:12,getmapnam:12,getmaptypenam:12,getmapviewtab:12,getmaxprimarytilesetmetatil:[],getmaxprimarytilesettil:[],getmaxsecondarytilesetmetatil:[],getmaxsecondarytilesettil:[],getmetatileattribut:12,getmetatilebehavior:12,getmetatilebehaviornam:12,getmetatileencountertyp:12,getmetatileid:12,getmetatilelabel:12,getmetatilelayeropac:12,getmetatilelayerord:12,getmetatilelayertyp:12,getmetatileterraintyp:12,getmetatiletil:12,getnummetatilelay:[],getnumprimarytilesetmetatil:12,getnumprimarytilesettil:12,getnumsecondarytilesetmetatil:12,getnumsecondarytilesettil:12,getnumtilesinmetatil:[],getopac:12,getoverlayi:[],getoverlayopac:[],getoverlayposit:[],getoverlayvis:[],getoverlayx:[],getporymapvers:[],getposit:12,getprimarytileset:12,getprimarytilesetnam:12,getprimarytilesetpalett:12,getprimarytilesetpalettepreview:12,getprimarytilesetpalettespreview:12,getrequiresflash:12,getrot:12,getsecondarytileset:12,getsecondarytilesetnam:12,getsecondarytilesetpalett:12,getsecondarytilesetpalettepreview:12,getsecondarytilesetpalettespreview:12,getshowlocationnam:12,getsmartpathsen:12,getsong:12,getsongnam:12,gettilepixel:12,gettilesetnam:12,gettyp:12,getverticalscal:12,getvis:12,getweath:12,getweathernam:12,getwidth:12,getx:12,gif:[6,16],ginitialmovementtypefacingdirect:10,git:[4,8],github:[0,13,16],gitignor:13,give:[4,6,7,9,16],given:[7,12,15,16],global:[4,10,12,13],gmonicont:10,goe:12,going:[4,14],good:[10,12],gpl:16,graphic:[4,5,10,16],graphics_file_rul:15,grass:[2,8,12,15],grasstil:12,great:8,green:[4,7],greet:8,grid:[6,12,14,16],group:[0,1,6,9,13,14,16],grow:16,gtileset_gener:13,gtileset_pallettown:13,gtileset_petalburg:13,guarante:[12,16],hack:[8,15],half:2,handl:16,happen:[4,12,16],hardcod:[4,16],hardwar:15,has:[2,3,4,5,9,11,14,15,16],have:[2,3,4,6,7,8,9,11,12,13,14,15,16],head:11,headbutt_mon:7,header:[0,9,10,13,16],heal:[0,1,13,16],heal_loc:[4,10],heal_location_:16,healspot:0,height:[1,11,12,16],help:[6,15,16],here:[2,12,14,15],hex:[15,16],hexadecim:2,hidden:[0,6,12,13,16],hide:[1,5,12,16],hideoverlai:[],hierarch:9,high:17,higher:12,highli:8,highlight:16,higlight:11,histori:[2,12,14,16],hit:16,hold:[4,6,14,16],home:16,hop:2,horizont:[3,12,16],hous:16,hover:[6,13,16],how:[2,4,6,8,9,12,16],howev:[4,6,12],hscale:[12,16],html:12,http:[0,13,16],huderlem:[0,16],huge:16,ice:15,icon:[6,10,12,16],idea:10,ident:[2,6],ids:[12,13],ignor:[8,16],illustr:[2,6],imag:[0,4,6,10,12,16],immedi:16,impass:[2,12],implement:7,implicitli:12,improperli:16,improv:8,inanim:16,inc:[4,10,13,16],includ:[2,4,6,7,9,10,11,15,16],inclus:12,incompat:6,incorrect:16,increment:12,independ:16,index:[7,12,15,16],indexof:12,indic:[6,12,15,16],individu:[6,12,15,16],indoor:1,info:12,inform:[12,16],informativetext:12,inherit:4,initi:[12,16],initial_facing_t:10,input:[12,16],insert:12,insid:[4,12],instal:8,instanc:11,instead:[4,12,16],integ:[11,16],integr:[10,16],interact:[2,4,9,12,16],interchang:16,interest:12,interpret:16,interv:12,introduc:16,introduct:0,invalid:16,invis:[4,12],involv:4,iscompress:13,isprimarytileset:12,issecondarytileset:12,issu:16,item:[0,5,10,12,13,16],itemfind:[4,13],iter:16,its:[4,6,16],itself:12,jasc:[15,16],javascript:[12,16],json:[6,7,10,11,13,16],json_layout:10,json_map_group:10,json_region_map_entri:10,json_region_porymap_cfg:10,json_wild_encount:10,jump:16,junk:16,just:[1,2,6,7,15],kanto:16,keep:[3,5,13,16],kei:[6,14,16],keyboard:[11,12,14,16],keyword:12,known:4,label:[10,11,12,13,16],laid:6,land:[2,12],languag:17,larg:[6,16],larger:[6,9],last:[12,16],later:12,launch:[8,12,13,16],layer:[12,13,16],layers_per_metatil:12,layertyp:12,layout:[0,1,9,10,16],layouts_t:16,learn:[6,8,9],leav:2,left:[2,4,6,8,9,11,12,14,15,16],length:12,let:[2,4,6,7,8,9,11,12,17],letter:12,level:[2,7,10,16,17],librari:[13,14],life:[4,6],like:[2,4,6,9,12,15,16],limit:[5,12,15,16],line:[4,6,16],link:[],linux:[8,16],list:[0,1,4,6,10,11,12,13,14,16],listen:17,littl:4,load:[4,8,9,12,13,16],local:4,locat:[0,1,5,6,8,10,11,12,13,16],lock:[4,6,16],log:[12,16],logic:12,longer:[4,16],look:[0,4,8,9,11],lose:16,lot:15,lower:[12,16],mac:[8,16],maco:[13,14,16],macro:15,made:[7,16],magic:[12,14,16],magicfil:12,magicfillfromselect:12,mai:[1,4,7,13,15,16],main:[0,6,7,8,11,12,16],main_splitter_st:13,maintain:[2,10],major:[12,16],make:[2,4,6,8,11,12,15,16],makefil:15,mani:[4,8,9,11,12,14,16],manipul:[7,12],manual:[0,12,13],map:[0,7,8,10,13,16,17],map_dynam:16,map_group:10,map_groups_count:16,map_non:16,map_sort_ord:13,map_splitter_st:13,map_typ:10,map_type_indoor:5,mapjson:16,mapnam:12,mapsec_new_mapsec:[],mapsec_non:11,mark:4,mart:6,match:[4,6,16],math:12,max:[10,12,16],max_primary_metatil:12,max_primary_til:12,max_secondary_metatil:12,max_secondary_til:12,maximum:[7,12,16],mean:[2,3,4,12],meant:17,measur:[4,16],memori:12,menu:[0,3,7,12,13,16],messag:[12,16],metatil:[0,1,2,4,8,9,10,12,13,14,16],metatile_behavior:[10,15],metatile_id:15,metatile_label:[10,15,16],metatileid:12,metatiles_zoom:13,method:[6,16],middl:[6,12,14,15,16],might:[7,12],millisecond:12,mimic:16,min:[10,12,16],minimum:[7,12,16],minor:[12,16],mirror:0,miscellan:[5,12],miss:[0,16],mistak:[6,11],mode:[1,9,14,16],modif:2,modifi:[6,9,11,12,15,16],monitor:[13,16],monitor_fil:13,more:[4,6,8,9,11,12,14,15,16],most:[2,8,9,11,13,16],mostli:5,mountain:[2,6],mous:[4,6,11,12,16],mouseov:16,move:[2,3,4,5,12,14,16],movement:[4,16],moveoverlai:[],much:8,multi:[2,16],multilin:16,multipl:[4,6,7,11,12,14,16],music:[5,9,16,17],must:[3,4,6,7,8,12,15],my_script:12,name:[1,4,5,6,7,9,10,11,12,15,16],navig:[0,3,4,7,8,11,16],nearli:2,need:[2,3,4,5,6,11,15,16],neg:[5,11,12,16],never:4,new_map_border_metatil:13,new_map_elev:13,new_map_metatil:13,newblock:12,newheight:12,newli:[12,16],newmetatileid:12,newtab:12,newwidth:12,next:[2,4,7,8,9,12,13,16],nice:12,night:12,nodej:12,nodep:8,non:[4,11],none:12,normal:[4,6,12,15],north:2,notabl:[8,16],note:[5,10,12],noth:[4,12,16],notic:[11,16],now:[2,6,7,8,12,16],npc:[4,13],num_til:15,number:[1,2,4,5,7,12,13,16],object:[0,2,6,9,12,13,16],object_ev:10,object_event_graph:10,object_event_graphics_info:[10,16],object_event_graphics_info_point:10,object_event_pic_t:10,object_event_templates_count:10,occur:[12,16],odd:12,off:[2,6,12,16],offici:16,offset:[3,11,16],old:[14,16],oldheight:12,oldtab:12,oldwidth:12,onblockchang:[12,16],onblockhoverchang:12,onblockhoverclear:12,onbordermetatilechang:12,onborderres:12,onbordervisibilitytoggl:12,onc:[4,6,12,16],one:[2,3,6,7,9,11,12,16],ones:16,onli:[2,3,4,6,7,9,10,12,15,16],onmaintabchang:12,onmapopen:12,onmapres:12,onmapshift:12,onmapviewtabchang:12,onprojectclos:12,onprojectopen:12,ontilesetupd:12,onto:[2,6,9,11,12],opac:[12,13,16],opaqu:12,open:[0,3,6,7,8,9,11,12,13,14,15,16],oper:[9,12,15,16],oppon:10,optim:6,option:[0,4,9,10,11,12,13,14,15,16],order:[1,4,7,12,13,16],organ:9,origin:[4,12,16],other:[4,6,9,11,12,13,16,17],otherwis:[7,10,12],our:[7,8,12],out:[0,4,6,7,9,11,12,14,16],outdoor:1,outlin:[6,12,14,16],output:15,outsid:[12,16],over:[2,4,5,6,9,16],overhaul:16,overlai:[13,16],overload:12,overrid:10,overridden:10,overview:12,overworld:4,overwrit:[12,14],overwritten:12,own:12,paint:[0,6,8,9,11,12,14,16],pair:12,pal:[11,15,16],palett:[0,10,11,12,16],paletteid:12,paletteindex:12,pane:[6,9,11,15,16],panel:[8,15,16],pars:16,part:9,partial:[6,16],particular:2,particularli:4,passabl:12,past:16,patch:12,path:[0,2,10,11,12,14,16],pathwai:6,patient:9,pattern:[6,12],pencil:[0,4,8,14,16],per:[14,16],percent:12,perform:[6,12,16],perman:12,persist:16,petalburg:[3,8],pick:[4,15],picker:[6,16],pictur:[7,15,16],pink:4,pixel:[12,15,16],place:[4,6,8,11,12,16],placehold:16,plai:5,plain:[11,16],plain_grass:15,platform:[8,13,16],player:[1,2,3,4,6,9,11,14,15,16],pleas:0,plu:[3,4],png:[15,16],pointer:[0,4,14,16],pokecryst:17,pokeemerald:[4,6,8,10,11,12,13,16],pokefir:[4,5,6,8,11,12,13,15,16],pokemon:[1,7,9,10,12,16],pokemon_icon:10,pokemon_icon_t:10,poker:17,pokerubi:[4,6,8,10,12,16],polish:17,pond:6,pop:8,popul:[7,11,12,15],popular:17,popup:[1,5,11],pori:[4,10,13,16],port:16,portion:6,porycript:4,porymap:[1,3,4,6,7,9,10,11,12,14,15,16],porymap_config:10,poryscript:[16,17],posit:[0,6,11,12,16],possibl:[7,12,16],power:[6,12],pre:[6,16],prefab:[0,12,13,16],prefabr:6,prefabs_filepath:[6,13],prefabs_import_prompt:13,prefer:[4,14,16],prefix:[5,12,16],present:[],preserv:16,press:[3,4,6,8,9,16],pret:[8,13,14,16],pretti:7,pretty_cursor:13,prevblock:12,prevent:16,preview:[6,12],previou:[2,16],previous:[12,16],prevmetatileid:12,primari:[1,6,8,10,12,13,15,16],pro:15,probabl:[10,12],procedur:12,process:[2,4],program:17,project:[0,1,4,5,6,8,9,11,12,13,14,15,16],project_root:[6,13],projectpath:12,prompt:[6,13,14,16],proper:16,properli:16,properti:[0,2,4,5,8,9,11,12,16],provid:[4,6,7,8,12,15,16],pull:16,purpos:[2,9],qt6:16,quantiti:[4,13],question:12,quick:6,quickli:9,radiu:[4,6,13],rais:16,randint:12,random:12,rang:[4,12],rate:7,rather:[6,12,16],ratio:7,raw:12,rawvalu:12,reach:0,reactiv:16,read:[4,8,10,11,12,13,16],realist:15,reason:[7,15],receiv:4,recent:[13,16],recent_map:13,recent_project:13,recommend:8,rectangl:[6,12,13,16],rectangular:12,red:[2,7,16],redo:[0,2,4,8,11,14,16],redraw:12,reduc:16,refer:[0,14],referenc:15,refresh:12,region:[0,1,5,6,8,12,16],region_map:[10,11],region_map_dimens:[],region_map_entri:[],region_map_sect:[10,11],regist:0,registeract:12,registri:16,regress:16,regular:6,rejoic:16,rel:[11,12],relat:[0,10,12],releas:[6,8,16],reli:10,reload:[12,16],remain:12,rememb:[2,12,16],remov:[15,16],renam:[10,16],render:[12,16],reopen_on_launch:13,reorder:16,replac:[11,16],repo:[13,16],report:16,repres:[2,7,12],requir:[4,5,12,13,16],reselect:16,reset:[11,14,16],resili:16,resiz:[6,16],resolut:16,respawn:[4,13],respect:[8,16],respond:16,rest:12,restor:[13,14,16],restrict:11,result:8,retriev:12,rgb:[12,16],right:[1,2,3,4,6,7,9,11,12,14,15,16],rival:4,rme:11,rom:8,rooftop:5,root:[11,13],rope:[1,5,12],rotat:[12,16],round:[12,16],rout:[2,3],row:[2,16],rrggbb:12,rubi:5,rule:[12,15],ruler:[0,16],run:[1,5,12],same:[2,4,6,8,12,14,16],save:[3,6,7,8,12,14,15,16],scale:[12,13,14,16],scenario:[15,16],scene:[5,12],scratch:[11,15],screen:[7,8,13,15,16],script:[0,9,10,13,16,17],scroll:6,seamlessli:3,second:[2,8,9,13],secondari:[1,6,10,12,13,15,16],secret:[0,13,16],secret_bas:[4,10],section:[1,4,5,6,9,11],see:[1,4,6,7,8,9,12,13,16],seem:9,seen:16,select:[0,3,4,7,8,9,11,12,14,15,16],selector:[2,6,11,16],self:5,semant:16,sensibl:16,separ:12,session:16,set:[0,4,6,7,9,11,14,15,16],setallowbik:12,setallowescap:12,setallowrun:12,setbattlescen:12,setblock:12,setblocksfromselect:12,setborderdimens:12,setborderheight:12,setbordermetatileid:12,setbordervis:12,setborderwidth:12,setclippingrect:12,setcollis:12,setdimens:12,setelev:12,setfloornumb:12,setgridvis:12,setheight:12,sethorizontalscal:12,seti:12,setloc:12,setmaintab:12,setmapviewtab:12,setmetatileattribut:12,setmetatilebehavior:12,setmetatileencountertyp:12,setmetatileid:12,setmetatilelabel:12,setmetatilelayeropac:12,setmetatilelayerord:12,setmetatilelayertyp:12,setmetatileterraintyp:12,setmetatiletil:12,setopac:12,setoverlayi:[],setoverlayopac:[],setoverlayposit:[],setoverlaysi:[],setoverlaysopac:[],setoverlaysposit:[],setoverlaysvis:[],setoverlaysx:[],setoverlayvis:[],setoverlayx:[],setposit:12,setprimarytileset:12,setprimarytilesetpalett:12,setprimarytilesetpalettepreview:12,setprimarytilesetpalettespreview:12,setrequiresflash:12,setrot:12,setsecondarytileset:12,setsecondarytilesetpalett:12,setsecondarytilesetpalettepreview:12,setsecondarytilesetpalettespreview:12,setshowlocationnam:12,setsmartpathsen:12,setsong:12,settimeout:12,settranspar:12,settyp:12,setup:8,setverticalscal:12,setvis:12,setweath:12,setwhiteoutrespawnwarpandhealernpc:4,setwidth:12,setx:12,sever:[7,12,13,15],shape:12,share:16,shift:[0,3,4,12,14,16],shoe:5,shortcut:[0,2,6,8,11,12,16],should:[2,4,6,7,8,10,11,12,13,16],shouldn:8,show:[1,5,6,8,9,12,14,15,16],show_cursor_til:13,show_player_view:13,showerror:12,showmessag:12,shown:12,showoverlai:[],showquest:12,showwarn:12,shrink:16,side:[2,3,6,8,9,15],sight:4,sign:[0,16],signific:16,signpost:[2,4],silenc:16,similar:[2,3,7],simpl:[4,7],simpli:[3,4,6,9,11,15],simplifi:6,simultan:11,sinc:[3,8,12,15,16],singl:[7,9,11,12],situat:[9,16],size:[6,11,12,13,16],slider:[2,6,11,15,16],slot:7,slow:12,small:4,smaller:12,smart:[0,2,12,14,16],smooth:16,snap:6,some:[1,2,4,6,8,9,12,13,16],someth:[0,2,4,7,11],sometim:16,somewhat:16,song:[5,10,12],sort:[1,9,13,16],sourc:[8,15],south:2,space:16,span:11,spawn_:16,speci:7,special:[2,4],specif:[4,13,16],specifi:[4,12,16],specifieid:12,specifii:12,spinbox:11,spinner:[4,12,15,16],split:15,spot:4,sprint:1,sprite:[4,10,16],squar:[4,11,16],src:[4,10,11],ssecretbaseentrancemetatil:4,stai:16,stair:2,stand:[4,15],standard:4,start:[0,2,6,12],startup:16,state:12,statu:16,step:12,still:16,stitch:16,stop:12,store:[11,13,14,16],straight:[0,12,14,16],straightforward:7,strict:[],string:[11,12,16],struct:16,studio:17,stuff:10,successfulli:[8,12],suffici:[11,12],summar:9,support:[5,6,8,11,12,13,14,16],sure:[2,3,8],surf:2,surround:[6,9],swap:11,symbol:16,sync:[3,16],system:16,tab:[0,2,3,4,6,7,9,12,16],tabl:[10,12,13,15,16],tag:12,take:[6,7,8,9,11,12,16],taken:16,tall:15,target:[4,12],technic:[4,12],templat:16,temporarili:[6,16],terrain:12,terraintyp:12,test:12,text:[2,4,9,12,13,16],text_editor_goto_lin:13,text_editor_open_directori:13,than:[6,12,16],thei:[1,3,4,5,6,9,12,14,15,16],them:[2,3,4,5,6,7,12,16],theme:[13,16],therefor:[7,8],thi:[1,2,3,4,5,6,7,9,10,11,12,13,15,16],thing:[4,5,6,7,8,9],think:[6,8],those:[6,8,12],though:[6,16],three:[4,11],through:[2,3,16],tied:[],tile:[0,2,4,8,9,10,11,12,16],tileend:12,tileid:12,tileindex:12,tilemap:[11,16,17],tiles_per_metatil:12,tileset:[0,1,8,10,11,13,16],tilesetnam:12,tilesets_graph:10,tilesets_graphics_asm:10,tilesets_have_callback:13,tilesets_have_is_compress:13,tilesets_head:10,tilesets_headers_asm:10,tilesets_metatil:10,tilesets_metatiles_asm:10,tilestart:12,time:[2,4,6,7,8,9,12,13,15,16],timelaps:16,tint:12,titl:12,togeth:[3,4,6,12,14,15],toggl:[6,12,13,14,16],toggld:16,too:[2,16],tool:[0,1,2,8,11,12,16],toolbar:[6,8],toolbutton:[14,15],top:[2,3,4,11,12,15,16],total:[2,7],tpl:16,track:13,tradit:8,trainer:[4,10,16],trainer_sight_or_berry_tree_id:16,trainer_typ:[10,16],trainer_type_norm:4,transform:12,transit:[2,4],transpar:[2,12,16],treat:16,tree:[4,6,16],trigger:[0,9,12,13],tripl:[13,16],turn:16,two:[3,6,9,11,15],type:[0,1,4,5,9,11,12,16],typic:[2,4],ubuntu:16,unabl:2,unavail:4,uncheck:11,uncommit:12,under:[2,11],underli:[12,16],underlin:12,underscor:12,undertand:2,underw:16,undo:[0,2,4,8,11,12,14,16],undoabl:16,unexpect:16,unfortun:4,unhappi:11,uniq:7,uniqu:[4,11],unknown:16,unless:[10,12],unlik:2,unlock:4,unnecessari:16,unreleas:0,unsav:16,until:7,unus:[15,16],updat:[2,3,6,12,16],upstream:16,usabl:8,usag:15,use:[1,2,4,6,7,8,9,11,12,13,14,15,16],use_custom_border_s:[6,12,13,16],use_encounter_json:13,use_poryscript:[13,16],usecach:12,used:[2,3,4,5,6,9,12,13,14,15,16,17],useful:[3,4,5,6,12,15,16],user:[0,1,2,6,8,10,11,12,13,15,16],uses:[2,4,6,7,12,13,15,16],using:[4,6,8,12,14,16],usual:12,util:16,valid:[11,16],valu:[3,4,5,6,11,12,15,16],vanilla:7,var_valu:16,variabl:[4,13],varieti:15,variou:[5,6,8,9,16],veri:[2,3,4,6,12],version:[2,4,5,6,8,12,16],vertic:[3,12,16],via:[6,12,13,16],video:17,view:[2,3,4,5,6,9,11,12,14,16],visibl:[4,6,12,16],vision:5,visual:[0,2,16],vscale:[12,16],wai:[3,4,6,12],wait:12,walk:[2,3,4,9],want:[7,10,11,12,13],warn:[12,16],warp:[0,9,15,16],wasn:16,watch:16,water:[12,15],waterfal:12,weather:[0,5,9,10,12,13],web:12,websit:16,were:[4,6,16],weren:16,west:[2,3],what:[0,2,4,5,6,9,11],wheel:6,when:[1,2,3,4,5,6,8,9,11,12,13,15,16],whenev:[2,6,12,15],where:[4,6,11,12,15,16],whether:[1,2,5,12,13,15,16],which:[1,2,3,5,6,7,9,11,12,15,16],whichev:6,white:[2,4,6],whose:16,why:2,widget:[13,16],width:[1,11,12,16],wiki:13,wild:[0,9,12,13,15,16],wild_encount:10,window:[0,1,4,5,6,7,8,11,12,13,15,16],window_geometri:13,window_st:13,within:[4,9,14,15],without:[6,11,12,16],woman:4,won:[2,12],word:12,work:[6,8,9,15,16],workflow:[6,8,12],would:[2,10,12,16],wouldn:16,wrap:6,write:[0,8,10,16],written:16,wsl:16,xcoord:12,xdelta:12,xflip:[12,16],xoffset:[12,16],ycoord:12,ydelta:12,yes:[10,13],yet:[12,16],yflip:[12,16],yoffset:[12,16],you:[0,1,2,3,4,5,6,7,8,9,10,11,13,14,15,16,17],your:[1,3,4,5,6,7,8,9,10,11,13,14],yourself:[10,14],zoom:[6,11,14,16]},titles:["Porymap Documentation","Creating New Maps","Editing Map Collisions","Editing Map Connections","Editing Map Events","Editing Map Headers","Editing Map Tiles","Editing Wild Encounters","Introduction","Navigation","Project Files","The Region Map Editor","Scripting Capabilities","Porymap Settings","Shortcuts","The Tileset Editor","Changelog","Related Projects"],titleterms:{"break":16,"function":12,"import":15,"new":[1,7],Added:16,Adding:[4,7],The:[11,15],about:8,action:12,advanc:15,api:12,background:11,base:4,behavior:15,border:6,bucket:6,button:4,callback:12,capabl:12,chang:[6,15,16],changelog:16,citi:[],clone:4,collis:2,configur:7,connect:3,constant:12,creat:1,custom:12,delet:4,dive:3,document:0,edit:[2,3,4,5,6,7,12],editor:[9,11,14,15],emerg:3,encount:[7,15],entri:11,event:4,field:7,file:10,fill:6,fix:16,follow:3,from:15,get:8,group:7,header:[5,12],heal:4,healspot:4,hidden:4,imag:[11,15],introduct:8,item:4,label:15,layer:15,layout:11,list:9,locat:4,main:[9,14],map:[1,2,3,4,5,6,9,11,12,14,15],menu:15,metatil:[6,15],mirror:3,navig:9,number:15,object:4,open:4,option:[1,6],other:15,overlai:12,paint:2,palett:15,path:6,pencil:6,pointer:6,porymap:[0,8,13],posit:4,prefab:6,project:[10,17],properti:15,redo:6,region:[9,11,14],regist:12,relat:17,ruler:4,script:[4,12],secret:4,select:[2,6],set:[12,13],shift:6,shortcut:14,sign:4,smart:6,start:8,straight:6,tab:11,terrain:15,tile:[6,15],tileset:[6,9,12,14,15],tool:[4,6,15],trigger:4,type:[2,15],undo:6,unreleas:16,util:12,visual:6,warp:[3,4],weather:4,wild:7,window:[9,14],write:12}})
\ No newline at end of file
diff --git a/docsrc/manual/scripting-capabilities.rst b/docsrc/manual/scripting-capabilities.rst
index 013460fa..903ab51c 100644
--- a/docsrc/manual/scripting-capabilities.rst
+++ b/docsrc/manual/scripting-capabilities.rst
@@ -18,7 +18,7 @@ Let's write a custom script that will randomize grass patterns when the user is
First, create a new script file called ``my_script.js``--place it in the project directory (e.g. ``pokefirered/``).
-Next, open the Porymap project config file, ``porymap.project.cfg``, in the project directory. Add the script file to the ``custom_scripts`` configuration value. Multiple script files can be loaded by separating the filepaths with a comma.
+Next, open the Porymap project config file, ``porymap.user.cfg``, in the project directory. Add the script file to the ``custom_scripts`` configuration value. Multiple script files can be loaded by separating the filepaths with a comma.
.. code-block::
@@ -745,30 +745,6 @@ All tileset functions are callable via the global ``map`` object.
:param array palettes: array of arrays of colors. Each color is a 3-element RGB array
:param boolean forceRedraw: Redraw the elements with the updated palettes. Defaults to ``true``. Redrawing the elements that use palettes is expensive, so it can be useful to batch together many calls to palette functions and only set ``redraw`` to ``true`` on the final call.
-.. js:function:: map.getMetatileLayerOrder()
-
- Gets the order that metatile layers are rendered.
-
- :returns array: array of layers. The bottom layer is represented as 0.
-
-.. js:function:: map.setMetatileLayerOrder(order)
-
- Sets the order that metatile layers are rendered.
-
- :param array order: array of layers. The bottom layer is represented as 0.
-
-.. js:function:: map.getMetatileLayerOpacity()
-
- Gets the opacities that metatile layers are rendered with.
-
- :returns array: array of opacities for each layer. The bottom layer is the first element.
-
-.. js:function:: map.setMetatileLayerOpacity(opacities)
-
- Sets the opacities that metatile layers are rendered with.
-
- :param array opacities: array of opacities for each layer. The bottom layer is the first element.
-
.. js:function:: map.getMetatileLabel(metatileId)
Gets the label for the specified metatile.
@@ -1058,6 +1034,21 @@ All overlay functions are callable via the global ``overlay`` object.
:param number scale: the scale to set
+.. js:function:: overlay.setScale(hScale, vScale, layer)
+
+ Sets the horizontal and vertical scale of the specified overlay layer. ``1.0`` is normal size.
+
+ :param number hScale: the horizontal scale to set
+ :param number vScale: the vertical scale to set
+ :param number layer: the layer id
+
+.. js:function:: overlay.setScale(hScale, vScale)
+
+ This is an overloaded function. Sets the horizontal and vertical scale of all active overlay layers. Layers that have not been used yet will not have their scale changed. ``1.0`` is normal size.
+
+ :param number hScale: the horizontal scale to set
+ :param number vScale: the vertical scale to set
+
.. js:function:: overlay.getRotation(layer = 0)
Gets the angle the specified overlay layer is rotated to.
@@ -1375,6 +1366,31 @@ All settings functions are callable via the global ``utility`` object.
:param number tab: index of the tab to select
+.. js:function:: utility.getMetatileLayerOrder()
+
+ Gets the order that metatile layers are rendered.
+
+ :returns array: array of layers. The bottom layer is represented as 0.
+
+.. js:function:: utility.setMetatileLayerOrder(order)
+
+ Sets the order that metatile layers are rendered.
+
+ :param array order: array of layers. The bottom layer is represented as 0.
+
+.. js:function:: utility.getMetatileLayerOpacity()
+
+ Gets the opacities that metatile layers are rendered with.
+
+ :returns array: array of opacities for each layer. The bottom layer is the first element.
+
+.. js:function:: utility.setMetatileLayerOpacity(opacities)
+
+ Sets the opacities that metatile layers are rendered with.
+
+ :param array opacities: array of opacities for each layer. The bottom layer is the first element.
+
+
Utility Functions
^^^^^^^^^^^^^^^^^
diff --git a/include/ui/mapview.h b/include/ui/mapview.h
index 0d727b2a..9176c825 100644
--- a/include/ui/mapview.h
+++ b/include/ui/mapview.h
@@ -50,6 +50,8 @@ public:
Q_INVOKABLE void setHorizontalScale(qreal scale);
Q_INVOKABLE void setVerticalScale(qreal scale, int layer);
Q_INVOKABLE void setVerticalScale(qreal scale);
+ Q_INVOKABLE void setScale(qreal hScale, qreal vScale, int layer);
+ Q_INVOKABLE void setScale(qreal hScale, qreal vScale);
Q_INVOKABLE int getRotation(int layer = 0);
Q_INVOKABLE void setRotation(int angle, int layer);
Q_INVOKABLE void setRotation(int angle);
diff --git a/include/ui/overlay.h b/include/ui/overlay.h
index 60c5f904..8f64d058 100644
--- a/include/ui/overlay.h
+++ b/include/ui/overlay.h
@@ -93,6 +93,7 @@ public:
qreal getVScale();
void setHScale(qreal scale);
void setVScale(qreal scale);
+ void setScale(qreal hScale, qreal vScale);
int getRotation();
void setRotation(int angle);
void rotate(int degrees);
diff --git a/src/project.cpp b/src/project.cpp
index b6db8f24..2856c40c 100644
--- a/src/project.cpp
+++ b/src/project.cpp
@@ -1367,7 +1367,7 @@ void Project::loadTilesetAssets(Tileset* tileset) {
this->readTilesetPaths(tileset);
QImage image;
if (QFile::exists(tileset->tilesImagePath)) {
- image = QImage(tileset->tilesImagePath);
+ image = QImage(tileset->tilesImagePath).convertToFormat(QImage::Format_Indexed8, Qt::ThresholdDither);
} else {
image = QImage(8, 8, QImage::Format_Indexed8);
}
diff --git a/src/scriptapi/apioverlay.cpp b/src/scriptapi/apioverlay.cpp
index 79c5e4aa..bee473ff 100644
--- a/src/scriptapi/apioverlay.cpp
+++ b/src/scriptapi/apioverlay.cpp
@@ -179,6 +179,18 @@ void MapView::setVerticalScale(qreal scale) {
this->scene()->update();
}
+void MapView::setScale(qreal hScale, qreal vScale, int layer) {
+ this->getOverlay(layer)->setScale(hScale, vScale);
+ this->scene()->update();
+}
+
+// Overload. No layer provided, set scale of all layers
+void MapView::setScale(qreal hScale, qreal vScale) {
+ foreach (Overlay * layer, this->overlayMap)
+ layer->setScale(hScale, vScale);
+ this->scene()->update();
+}
+
int MapView::getRotation(int layer) {
return this->getOverlay(layer)->getRotation();
}
diff --git a/src/ui/overlay.cpp b/src/ui/overlay.cpp
index 9516c9a0..38e2b4de 100644
--- a/src/ui/overlay.cpp
+++ b/src/ui/overlay.cpp
@@ -106,6 +106,11 @@ void Overlay::setVScale(qreal scale) {
this->vScale = scale;
}
+void Overlay::setScale(qreal hScale, qreal vScale) {
+ this->hScale = hScale;
+ this->vScale = vScale;
+}
+
int Overlay::getRotation() {
return this->angle;
}