又下了一个SLG系统,在使用的时候发现在事件中要定义如下脚本,
哪位高手能告诉我,这段脚本是来干什么的。。。。
$game_temp.shop_goods = $game_variables[5]
for i in [2,5]
$game_temp.shop_goods.push [0,i]
end
for i in 29...37
$game_temp.shop_goods.push [2,i]
end
$game_variables[5] = $game_temp.shop_goods
如图