本帖最后由 八宝粥先生 于 2013-2-21 19:09 编辑
直接范例:
战斗.rar
(237.42 KB, 下载次数: 37)
@protosssonny 已修改,能否合格?
继续附上修改后的地方:
Scene_Map 注释掉202和205行。
#-------------------------------------------------------------------------- # ● 切换至战斗画面 #-------------------------------------------------------------------------- def call_battle @spriteset.update Graphics.update $game_player.make_encounter_count $game_player.straighten $game_temp.map_bgm = RPG::BGM.last $game_temp.map_bgs = RPG::BGS.last # RPG::BGM.stop RPG::BGS.stop Sound.play_battle_start # $game_system.battle_bgm.play $game_temp.next_scene = nil $scene = Scene_Battle.new end
#--------------------------------------------------------------------------
# ● 切换至战斗画面
#--------------------------------------------------------------------------
def call_battle
@spriteset.update
Graphics.update
$game_player.make_encounter_count
$game_player.straighten
$game_temp.map_bgm = RPG::BGM.last
$game_temp.map_bgs = RPG::BGS.last
# RPG::BGM.stop
RPG::BGS.stop
Sound.play_battle_start
# $game_system.battle_bgm.play
$game_temp.next_scene = nil
$scene = Scene_Battle.new
end
Scene_Battle 注释掉585和588行。
#-------------------------------------------------------------------------- # ● 胜利处理 #-------------------------------------------------------------------------- def process_victory @info_viewport.visible = false @message_window.visible = true # RPG::BGM.stop $game_system.battle_end_me.play unless $BTEST # $game_temp.map_bgm.play $game_temp.map_bgs.play end display_exp_and_gold display_drop_items display_level_up battle_end(0) end
#--------------------------------------------------------------------------
# ● 胜利处理
#--------------------------------------------------------------------------
def process_victory
@info_viewport.visible = false
@message_window.visible = true
# RPG::BGM.stop
$game_system.battle_end_me.play
unless $BTEST
# $game_temp.map_bgm.play
$game_temp.map_bgs.play
end
display_exp_and_gold
display_drop_items
display_level_up
battle_end(0)
end
|