• Hi, Guest!
    Some images might be missing as we move away from using embedded images, sorry for the mess!
    From now on, you'll be required to use a third party to host images. You can learn how to add images here, and if your thread is missing images you can request them here.
    Do not use Discord to host any images you post, these links expire quickly!
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
586
Views
1,612
First release
Last update
Rating
5.00 star(s) 3 ratings

More resources from wrigty12

Latest reviews

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