至于我怎么会知道,就是因为:
Game_Interpreter有一句:$game_temp.shop_goods.push(@list[@index].parameters)
看见这一句就肯定的说是数组了。
然后Window_ShopBuy里有:
@shop_goods = $game_temp.shop_goods
for goods_item in @shop_goods
case goods_item[0]
when 0
item = $data_items[goods_item[1]]
when 1
item = $data_weapons[goods_item[1]]
when 2
item = $data_armors[goods_item[1]]
end
这句我就奇怪了,怎么@shop_goods是数组,却能判断[X]然后还判断是武器还是什么的,
然后看到item被代入几个类型的物品后,还有:
@data.push(item)
这时候就知道数组中的数组了!