#==============================================================================
#  @> Use Map as Battle Background ~ Karin's Soulkeeper, 2015
#------------------------------------------------------------------------------
#   v1.0 - Oct 28 : Started & finished.
#------------------------------------------------------------------------------
#  * Description:
#    This allows you to use a bitmap of the current map as the battle
#    background, and that's pretty much it.
#    Safeguards are placed to prevent crashes when testing battles in
#    the database.
#------------------------------------------------------------------------------
#  * To Use:
#    Put this script below Materials and above Main.
#------------------------------------------------------------------------------
#  * Compatibility:
#    This script overwrites battleback1_bitmap & battleback2_bitmap
#    in Spriteset_Battle
#------------------------------------------------------------------------------
#  * Terms:
#    Free to use in any kind of project, with or without credit. I wouldn't
#    really mind. Though I'd appreciate it! (^w^)/
#    Just don't, you know, claim that you made this here script yourself,
#    Because that's just mean (._.)
#==============================================================================
class Spriteset_Battle
  def battleback1_bitmap
    return Cache.battleback1(battleback1_name) if $BTEST
    return SceneManager.background_bitmap
  end
  def battleback2_bitmap
    return Cache.battleback2(battleback2_name) if $BTEST
    return Bitmap.new(1,1)
  end
end
class Game_Map
  def display_name
    @map.display_name unless $BTEST
  end
end