赞 | 23 |
VIP | 207 |
好人卡 | 31 |
积分 | 31 |
经验 | 48797 |
最后登录 | 2024-11-30 |
在线时间 | 1535 小时 |
Lv3.寻梦者 孤独守望
- 梦石
- 0
- 星屑
- 3137
- 在线时间
- 1535 小时
- 注册时间
- 2006-10-16
- 帖子
- 4321
|
- class Scene_Map
- #--------------------------------------------------------------------------
- # ● 调用战斗
- #--------------------------------------------------------------------------
- def call_battle
- # 清除战斗调用标志
- $game_temp.battle_calling = false
- # 清除菜单调用标志
- $game_temp.menu_calling = false
- $game_temp.menu_beep = false
- # 生成遇敌计数
- $game_player.make_encounter_count
- # 记忆地图 BGM 、停止 BGM
- $game_temp.map_bgm = $game_system.playing_bgm
- $game_system.bgm_stop
- # 演奏战斗开始 SE
- $game_system.se_play($data_system.battle_start_se)
- # 演奏战斗 BGM
- if $game_switches[10] == false
- randbgm = rand(14)
- case randbgm
- when 0
- Audio.bgm_play("Audio/BGM/zd1")
- when 1
- Audio.bgm_play("Audio/BGM/zd2")
- when 2
- Audio.bgm_play("Audio/BGM/zd3")
- when 3
- Audio.bgm_play("Audio/BGM/zd4")
- when 4
- Audio.bgm_play("Audio/BGM/zd5")
- when 5
- Audio.bgm_play("Audio/BGM/zd6")
- when 6
- Audio.bgm_play("Audio/BGM/zd7")
- when 7
- Audio.bgm_play("Audio/BGM/zd8")
- when 8
- Audio.bgm_play("Audio/BGM/zd9")
- when 9
- Audio.bgm_play("Audio/BGM/zd10")
- when 10
- Audio.bgm_play("Audio/BGM/zd11")
- when 11
- Audio.bgm_play("Audio/BGM/zd12")
- when 12
- Audio.bgm_play("Audio/BGM/zd13")
- when 13
- Audio.bgm_play("Audio/BGM/zd14")
- when 14
- Audio.bgm_play("Audio/BGM/zd15")
- end
- else
- $game_system.bgm_play($game_system.battle_bgm)
- end
- # 矫正主角姿势
- $game_player.straighten
- # 切换到战斗画面
- $scene = Scene_Battle.new
- end
- end
复制代码 系统信息:本贴由楼主认可为正确答案,66RPG感谢您的热情解答~ |
|