| 赞 | 0  | 
 
| VIP | 30 | 
 
| 好人卡 | 5 | 
 
| 积分 | 2 | 
 
| 经验 | 13932 | 
 
| 最后登录 | 2025-2-20 | 
 
| 在线时间 | 289 小时 | 
 
 
 
 
 
Lv1.梦旅人 
	- 梦石
 - 0 
 
        - 星屑
 - 154 
 
        - 在线时间
 - 289 小时
 
        - 注册时间
 - 2012-10-20
 
        - 帖子
 - 173
 
 
  
 
 | 
	
楼主,你确定是X键吗,这不是打开菜单的吗?你这样做要把原来的脚本覆盖才行 
 
如果没有错,就把Scene_Map的122-130改为- if Input.trigger?(Input::B)
 
 -   unless $game_system.map_interpreter.running?
 
 -     $game_system.se_play($data_system.decision_se)
 
 -     $game_player.straighten
 
 -     $scene = Scene_Item.new
 
 -   end
 
 - end
 
  复制代码 在Scene_Item的20-21中插入@use_item = false 
把68-74改为(是加入上面一句后的行数)- if Input.trigger?(Input::B)
 
 -   if @use_item or $game_switches[1] == false
 
 -     $game_system.se_play($data_system.cancel_se)
 
 -     $scene = Scene_Map.new
 
 -     return
 
 -   else
 
 -     $game_system.se_play($data_system.buzzer_se)
 
 -     return
 
 -   end
 
 - end
 
 
  复制代码 在199-200(同上)插入@use_item = true 
这样就达到你要的效果了 
当开关1开启时,打开物品栏不能退出,要使用物品退出(开关在上面的$game_switches[1]中改) |   
 
评分
- 
查看全部评分
 
 
 
 
 
 |