• 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.
  • Congratulations to all of the game jam participants! 🥳 The winners have all been decided and announced.
    If you haven't yet, check out the entries for Eevee Expo's Game Jam here!
  • Reminder: AI-generated content is not allowed on the forums per the Rules and Regulations. Please contact us if you have any questions!
Resource icon

PSDK Save File Checks 1.0.0

This resource pertains to Pokémon SDK.
Pokémon Essentials Version
Non-applicable

Save File Checks

Easily get data from switches, variables, mons and more from another save.

Installation:​

1.) Drop the plugin file in your scripts folder, launch the game

How to use:​

The idea is that you're just getting data from another save. Use that how you wish.
The script command will look something like: GamePlay::Load.new.{method}

Example:
In a conditional branch, you could:
GamePlay::Load.new.nuzlocke_enabled?(1) - which would check if the first save has nuzlocke enabled.

All the new methods you can use:​

  • check_switch(save_slot, switch_id) - Returns the value of a switch
  • check_var(save_slot, var_id) - Returns the value of a variable
  • check_actors(save_slot, index = nil) - Returns all the actors in a party, or just the specified one
  • check_map_id(save_slot) - Returns the map ID
  • check_player_position(save_slot) - Returns the X, Y, Z, and direction
  • nuzlocke_enabled?(save_slot) - Returns if the save is a nuzlocke run
  • check_user_data(save_slot, key) - Returns the value of your $user_data[:key]

This script was inspired by Tech's Save File Calls for Essentials
Credits
Invatorzen
Author
Invatorzen
Downloads
130
Views
471
First release
Last update

Ratings

0.00 star(s) 0 ratings

More resources from Invatorzen

Back
Top