• Do not use Discord to host any images you post, these links expire quickly! You can learn how to add images to your posts here.
  • Apologies if you've had troubles connecting to the site, you may need a VPN to access it. Staff are also facing issues connecting, so if it's urgent please message Cat on-site or through Discord directly.
  • Hey Guest, staff applications are open! If you are interested in becoming a forum staff member and/or Discord staff member, please apply through this Google Form before April 2! You can also message Cat with any questions.
Persistent Switches and Variables

v20.1 Persistent Switches and Variables 1.0

This resource pertains to version 20.1 of Pokémon Essentials.
Pokémon Essentials Version
v20.1 ➖
A Persistent Switch or Variable is one that's value will be saved even if the player doesn't end up saving the game,
or if they start a new game. This could be used for something like a New Game+ or an achievement that the player
only needs to complete once across all save files.

To turn a Switch or Variable into a persistent one, simply include "[p]" in the Switch/Variable name.
- Example: To create a persistent variable for the player's favorite number, name the variable:
[p]Favorite Number
- Example: To create a persistent switch for if the player completed the Pokedex, name the variable:
[p]Completed Pokedex

To control a persistent Switch or Variable, you can manipulate it in all the normal ways like through event commands
or script calls. There isn't any special handling.
Credits
Credit if used: wrigty12
Author
wrigty12
Downloads
783
Views
1,825
First release
Last update

Ratings

5.00 star(s) 3 ratings

More resources from wrigty12

Latest reviews

This is FIRE !!! Thank you for sharing this, man !
Back
Top