| 
 
| 赞 | 481 |  
| VIP | 56 |  
| 好人卡 | 75 |  
| 积分 | 471 |  
| 经验 | 124650 |  
| 最后登录 | 2025-10-31 |  
| 在线时间 | 7737 小时 |  
 Lv5.捕梦者 (管理员) 老黄鸡 
	梦石4 星屑43076 在线时间7737 小时注册时间2009-7-6帖子13548    
 | 
| 本帖最后由 fux2 于 2011-10-1 15:57 编辑 
 插
 妹子啊,这是我原创的啊。
 复制代码class Scene_Battle < Scene_Base
  
  def battle_end(result)
    if result == 2 and not $game_troop.can_lose
      continue_game
      #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
      unless $BTEST
        $game_temp.map_bgm.play
        $game_temp.map_bgs.play
      end
      $scene = Scene_Map.new
      @message_window.clear
      Graphics.fadeout(30)
    end
    $game_temp.in_battle = false
  end
  
  def continue_game
    $game_party.clear_actions
    $game_party.remove_states_battle
    $game_troop.clear
    $scene = Scene_Map.new
    @message_window.clear
    Graphics.fadeout(30)
    $game_temp.in_battle = false
    $game_temp.common_event_id = 10
  end
  
end
 | 
 |