赞 | 0 |
VIP | 0 |
好人卡 | 2 |
积分 | 0 |
经验 | 713 |
最后登录 | 2012-2-15 |
在线时间 | 678 小时 |
Lv1.梦旅人
- 梦石
- 0
- 星屑
- 48
- 在线时间
- 678 小时
- 注册时间
- 2010-8-11
- 帖子
- 1533
|
- #==============================================================================
- # ■ Fade Battle End ME
- # 6.5.2008
- #------------------------------------------------------------------------------
- # Script by: Kylock
- #==============================================================================
- # This script fades the Battle End ME at the end of the battle instead of
- # playing out the entire sound file.
- #==============================================================================
- class Scene_Battle < Scene_Base
- def battle_end(result)
- if result == 2 and not $game_troop.can_lose
- call_gameover
- else
- $game_party.clear_actions
- $game_party.remove_states_battle
- $game_troop.clear
- if $game_temp.battle_proc != nil
- $game_temp.battle_proc.call(result)
- $game_temp.battle_proc = nil
- end
- #Fades Fanfare ME
- RPG::ME.fade(1000)
- unless $BTEST
- $game_temp.map_bgm.play
- $game_temp.map_bgs.play
- end
- $scene = Scene_Map.new
- @message_window.clear
- Graphics.fadeout(30)
- #Stops fanfare me, starts Map BGM
- RPG::ME.stop
- end
- $game_temp.in_battle = false
- end
- end
复制代码 |
|