alexanderpas
Sponsor
Delete Savegame after Loading
Status:
Description:
This script deletes your savegame after it has been sucessfully loaded
Bugs:
None Yet
Compability issues:
None Yet
Version:
Version 0.9
Considered finished... but waiting for something to happen.
SDK:
This Script is SDK compatible and compliant!
A non-SDK version will also be availble with the release of v1.0
Credits:
If you use it, credit the proper persons!
Status:




Description:
This script deletes your savegame after it has been sucessfully loaded
Bugs:
None Yet
Compability issues:
None Yet
Version:
Version 0.9
Considered finished... but waiting for something to happen.
SDK:
This Script is SDK compatible and compliant!
A non-SDK version will also be availble with the release of v1.0
Credits:
If you use it, credit the proper persons!
Code:
#==============================================================================
# ** Delete after Load
#------------------------------------------------------------------------------
# alexanderpas
# Build Date - 2007-01-07
# Version 0.9 - alexanderpas - 2007-01-07
#==============================================================================
Â
#------------------------------------------------------------------------------
# * SDK Log Script
#------------------------------------------------------------------------------
SDK.log('Delete after Load', 'alexanderpas', 0.9, '2007-01-07')
 #----------------------------------------------------------------------------
 # Begin SDK Enabled Check
 #----------------------------------------------------------------------------
 if SDK.state('Delete after Load') == true
  class Scene_Load < Scene_File
   alias alx_dal_scene_load_on_decision on_decision
   #------------------------------------------------------------------------
   # * Decision Processing
   #------------------------------------------------------------------------
   def on_decision(filename)
    alx_dal_scene_load_on_decision(filename)
    File.delete(filename)
   end
  end
 end
 #----------------------------------------------------------------------------
 # End SDK Enabled Test
 #----------------------------------------------------------------------------
Â