| 
 
| 赞 | 1 |  
| VIP | 95 |  
| 好人卡 | 8 |  
| 积分 | 1 |  
| 经验 | 23267 |  
| 最后登录 | 2020-10-15 |  
| 在线时间 | 433 小时 |  
 Lv1.梦旅人 
	梦石0 星屑65 在线时间433 小时注册时间2007-5-1帖子993 | 
| 这是个狠问题,于是得用狠方法处理……(Main前新开脚本页放进去) 复制代码class Window_Selectable < Window_Base
  #--------------------------------------------------------------------------
  # ● 刷新画面
  #--------------------------------------------------------------------------
  def update
    if @opening
      self.openness += 48
      @opening = false if self.openness == 255
    elsif @closing
      self.openness -= 48
      @closing = false if self.openness == 0
    end
    if cursor_movable?
      last_index = @index
      if Input.repeat?(Input::DOWN)
        cursor_down(Input.trigger?(Input::DOWN))
      end
      if Input.repeat?(Input::UP)
        cursor_up(Input.trigger?(Input::UP))
      end
      if Input.repeat?(Input::RIGHT)
        cursor_right(Input.trigger?(Input::RIGHT))
      end
      if Input.repeat?(Input::LEFT)
        cursor_left(Input.trigger?(Input::LEFT))
      end
      if Input.repeat?(Input::R)
        cursor_pagedown
      end
      if Input.repeat?(Input::L)
        cursor_pageup
      end
      if @index != last_index
        Sound.play_cursor
      end
    end
    update_cursor
    call_update_help
  end
end
 | 
 评分
查看全部评分
 |