09-14-2024, 01:56 PM
(This post was last modified: 09-14-2024, 01:58 PM by DerVVulfman.)
(09-13-2024, 10:38 PM)Steel Beast 6Beets Wrote: Quick question: in which RMXP .rxdata files are switches and variables stored?
Kyonides is correct. And for clarification, here are two sections of the default scripts:
Within the 'write_save_data' method of Scene_Save
Within the 'read_save_data' method of Scene_Load
The values highlighted in red are obviously your switches and variables, and are stored within your save game. The other values stored and loaded cover the condition of your actors, map position, and other data. And unless you're extremely good at scripting, its usually not good to touch these methods to add new data objects with their own tracking data.
However, I highlighted $game_system in pink... because its a usual go-to for scripters to add data into the Game_System class for custom script configuration values and feature-controlling data.