Advertisement
Dekita

SDR v2.o

Dec 24th, 2012
613
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.17 KB | None | 0 0
  1. # v2.0
  2. # SNIPPET TO SAVE CUSTOM ACTOR DATA INTO SAVE FILES .
  3. # This is HIGHLY reccommended to use if using any of the following scripts...
  4. #
  5. # Evolutions,
  6. # Pokémon Capture,
  7. #
  8. # If you choose to N0T use this then the chances of your save games remembering
  9. # your party members is very very slim (e.g no fucking chance) ^_^
  10. #
  11. if true # << make false to turn snippet off.
  12. #==============================================================================
  13. module DataManager
  14. #==============================================================================
  15.  
  16. class << self ; alias msc_datareq make_save_contents
  17. alias esc_datareq extract_save_contents ; end
  18.  
  19. def self.make_save_contents
  20. contents = msc_datareq ; contents[:cust_act] = $data_actors ; contents
  21. end
  22.  
  23. def self.extract_save_contents(contents)
  24. esc_datareq(contents) ; $data_actors = contents[:cust_act]
  25. end
  26.  
  27. end
  28.  
  29. end # if true
  30. #===============================================================================#
  31. # http://dekitarpg.wordpress.com/ #
  32. #===============================================================================#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement