Advertisement
diamondandplatinum3

Don't Play Battle BGM on Battle Test ~ RGSS3

Jun 16th, 2013
236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.66 KB | None | 0 0
  1. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  2. #             Don't Play Battle BGM on Battle Test
  3. #             Author: DiamondandPlatinum3
  4. #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5. #  Description:
  6. #
  7. #    This script simply stops Battle BGM from playing when you are battle
  8. #    testing
  9. #
  10. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  11. module BattleManager
  12.   class << self
  13.     alias dontplaybattlebgmonbattletest_playbattlebgm   play_battle_bgm
  14.     def play_battle_bgm
  15.       dontplaybattlebgmonbattletest_playbattlebgm unless $BTEST
  16.     end
  17.   end
  18. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement