06-26-2015, 03:17 AM 
	
	
	
		Well, if you deleted the MACL (or specifically one piece if you just downloaded segments... it's possible), you deleted one module that handled battle simulation.  If you had a custom battlesystem that needs the MACL, you need the MACL... or at least a part thereof.
Below is the MACL Battle Simulator module at the very least
  			
		
	
	
	
Below is the MACL Battle Simulator module at the very least
 MACL - Battle Simulator
  			Code:
#==============================================================================
# ** Modules.Battle Simulator (1.0)                           By SephirothSpawn
#------------------------------------------------------------------------------
# * Description :
#
#   This script was designed to let you create custom troops easily and test
#   them or default test battles.
#------------------------------------------------------------------------------
# * Syntax :
#
#   Starting Battle Simulator vs. Single Enemy
#    - BattleSimulator.start_enemy_battle(enemy_id)
#
#   Starting Battle Simulator vs. Multiple Enemies
#    - BattleSimulator.start_custom_troop_battle([enemy_id, ...])
#------------------------------------------------------------------------------
# * Changing Battle Simulator Settings
#
#   Enemy EXP Drop Percent (Defaults to 100%)
#    - $game_system.battle_simulator.exp_percent = n
#
#   Enemy Gold Drop Percent (Defaults to 100%)
#    - $game_system.battle_simulator.gold_percent = n
#
#   Enemy Treasure Drop Probability
#    - $game_system.battle_simulator.drop_percent = n
#==============================================================================
MACL::Loaded << 'Modules.Battle Simulator'
  
#==============================================================================
# ** BattleSimulator
#==============================================================================
  
module BattleSimulator
  #--------------------------------------------------------------------------
  # * Flags
  #--------------------------------------------------------------------------
  @delete_last_troop     = false
  @previous_scene        = $scene.class
  #--------------------------------------------------------------------------
  # * Start Enemy Battle
  #--------------------------------------------------------------------------
  def self.start_enemy_battle(enemy_id)
    # Start Custom Troop Battle
    self.start_custom_troop_battle([enemy_id])
  end
  #--------------------------------------------------------------------------
  # * Start Custom Troop Battle
  #--------------------------------------------------------------------------
  def self.start_custom_troop_battle(enemies)
    # Create Dummy Troop
    new_troop = RPG::Troop.new
    new_troop.id = $data_troops.size
    new_troop.name = 'Battle Simulator'
    new_troop.members = []
    # Pass Through Enemies
    for i in 0...enemies.size
      # Create Member Page
      member = RPG::Troop::Member.new
      member.enemy_id = enemies[i]
      member.x = 640 / (enemies.size + 1) * (i + 1)
      member.y = 320 - rand(40)
      new_troop.members << member
    end
    # Add Troop to Data Troop
    $data_troops << new_troop
    # Set Flags
    @delete_last_troop   = true
    # Start Troop Battle
    self.start_troop_battle(new_troop.id)
  end
  #--------------------------------------------------------------------------
  # * Start Troop Battle
  #--------------------------------------------------------------------------
  def self.start_troop_battle(troop_id)
    # Change Battle Simulator Settings
    $game_system.battle_simulator.on = true
    # Memorize map BGM and stop BGM
    $game_temp.map_bgm = $game_system.playing_bgm
    $game_system.bgm_stop
    # Play battle start SE
    $game_system.se_play($data_system.battle_start_se)
    # Play battle BGM
    $game_system.bgm_play($game_system.battle_bgm)
    # Straighten player position
    $game_player.straighten
    # Memorize Scene
    @previous_scene = $scene.class
    # Set Battle Troop ID
    $game_temp.battle_troop_id = troop_id
    # Switch to battle screen
    $scene = Scene_Battle.new
  end
  #--------------------------------------------------------------------------
  # * End Battle
  #
  #   Result - 0 : Win ; 1 : Lose ; 2 : Escape
  #--------------------------------------------------------------------------
  def self.end_battle(result = 0)
    # Change Battle Simulator Settings
    $game_system.battle_simulator.on = false
    # Delete Troop if Flag set
    $data_troops.pop if @delete_last_troop
    # Turn Delete Last Troop Flag Off
    @delete_last_troop = false
    # Return to Previous Scene
    @previous_scene = @previous_scene.new
  end
end
#============================================================================
# ** Game_System::Battle Simulator
#============================================================================
class Game_System::Battle_Simulator
  #------------------------------------------------------------------------
  # * Public Instance Variables
  #------------------------------------------------------------------------
  attr_accessor :on
  attr_accessor :exp_percent
  attr_accessor :gold_percent
  attr_accessor :drop_percent
  #------------------------------------------------------------------------
  # * Object Initialization
  #------------------------------------------------------------------------
  def initialize
    @on, @exp_percent, @gold_percent, @drop_percent = false, 100, 100, 100
  end
end
#==============================================================================
# ** Game_System
#==============================================================================
  
class Game_System
  #------------------------------------------------------------------------
  # * Public Instance Variables
  #------------------------------------------------------------------------
  attr_accessor :battle_simulator
  #--------------------------------------------------------------------------
  # * Alias Listings
  #--------------------------------------------------------------------------
  alias_method :macl_gmsys_init,  :initialize
  #--------------------------------------------------------------------------
  # * Object Initialization
  #--------------------------------------------------------------------------
  def initialize
    # Original Initialization
    macl_gmsys_init
    # Set game system settings
    @battle_simulator = Game_System::Battle_Simulator.new
  end
end
#==============================================================================
# ** Game_Temp
#==============================================================================
class Game_Temp
  #--------------------------------------------------------------------------
  # * Alias Listings
  #--------------------------------------------------------------------------
  alias_method :seph_battlesimulator_gmtmp_bcl, :battle_can_lose
  #--------------------------------------------------------------------------
  # * Battle can lose test
  #--------------------------------------------------------------------------
  def battle_can_lose
    result = $game_temp.nil? ? false : $game_system.battle_simulator.on
    return seph_battlesimulator_gmtmp_bcl || result
  end
end
#==============================================================================
# ** Game_Enemy
#==============================================================================
class Game_Enemy
  #--------------------------------------------------------------------------
  # * Alias Listings
  #--------------------------------------------------------------------------
  alias_method :seph_battlesimulator_gmeny_exp, :exp
  alias_method :seph_battlesimulator_gmeny_gld, :gold
  alias_method :seph_battlesimulator_gmeny_tsp, :treasure_prob
  #--------------------------------------------------------------------------
  # * Get EXP
  #--------------------------------------------------------------------------
  def exp
    n = seph_battlesimulator_gmeny_exp
    if $game_system.battle_simulator.on
      n = Integer(n * ($game_system.battle_simulator.exp_percent / 100.0))
    end
    return n
  end
  #--------------------------------------------------------------------------
  # * Get Gold
  #--------------------------------------------------------------------------
  def gold
    n = seph_battlesimulator_gmeny_gld
    if $game_system.battle_simulator.on
      n = Integer(n * ($game_system.battle_simulator.gold_percent / 100.0))
    end
    return n
  end
  #--------------------------------------------------------------------------
  # * Get Treasure Appearance Probability
  #--------------------------------------------------------------------------
  def treasure_prob
    n = seph_battlesimulator_gmeny_tsp
    if $game_system.battle_simulator.on
      n = Integer(n * ($game_system.battle_simulator.drop_percent / 100.0))
    end
    return n
  end
end
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)
	  Above are clickable links

 
 
 Weird error when using a custom save script.
 Weird error when using a custom save script.
 
 
![[Image: QrnbKlx.jpg]](https://i.imgur.com/QrnbKlx.jpg)
![[Image: sGz1ErF.png]](https://i.imgur.com/sGz1ErF.png)
![[Image: liM4ikn.png]](https://i.imgur.com/liM4ikn.png)
![[Image: fdzKgZA.png]](https://i.imgur.com/fdzKgZA.png)
![[Image: sj0H81z.png]](https://i.imgur.com/sj0H81z.png)
![[Image: QL7oRau.png]](https://i.imgur.com/QL7oRau.png)
![[Image: uSqjY09.png]](https://i.imgur.com/uSqjY09.png)
![[Image: GAA3qE9.png]](https://i.imgur.com/GAA3qE9.png)
![[Image: 2Hmnx1G.png]](https://i.imgur.com/2Hmnx1G.png)
![[Image: BwtNdKw.png%5B]](https://i.imgur.com/BwtNdKw.png%5B)
