查看: 5672|回复: 1

[RMVA发布] [无限大小事件脚本框]的事件脚本

[复制链接]
头像被屏蔽
梦石
0
星屑
653
在线时间
3774 小时
注册时间
2011-2-26
回帖
1577

开拓者

发表于 2013-1-28 00:05:19 | 显示全部楼层 |阅读模式
提示: 作者被禁止或删除 内容自动屏蔽
签名被屏蔽
梦石
0
星屑
660
在线时间
1286 小时
注册时间
2011-6-14
回帖
3949
发表于 2013-1-29 20:17:58 | 显示全部楼层
甚至还可以用这个做点简写什么的……
[pre lang="ruby" line="1"]class Game_Interpreter
  def 下一条开始是简写脚本
    x,y = @index+1, @list
    orgx = x
    if y[x].code==105
      y[x].code = 355
      y[x].parameters = ['']
      y[x].code = 655 while y[x+=1].code==405
      x = orgx
      y[x].parameters[0].gsub!(/\\v\[(\d+)\]/) { $game_variables[$1.to_i] } while y[x+=1].code == 405
    end
  end
end[/pre]
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册会员

本版积分规则

Powered by Discuz! X5.0 © 2001-2026 Discuz! Team.

在本版发帖返回顶部