Add getPorymapVersion

This commit is contained in:
GriffinR
2022-08-31 13:38:07 -04:00
parent af2f1b6f7d
commit 268cc9b30b
8 changed files with 42 additions and 4 deletions

View File

@@ -1167,6 +1167,12 @@ The following functions are related to settings.
:returns string: ``"pokeruby"``, ``"pokefirered"``, or ``"pokeemerald"``
.. js:function:: map.getPorymapVersion()
Gets the current version of Porymap (``MAJOR.MINOR.PATCH``).
:returns {major, minor, patch}: the version object
.. js:function:: map.getCustomScripts()
Gets the list of paths to custom scripts.