##東方弾幕風 #Title[メモリテスト] #ScriptVersion[2] script_enemy_main { let array = []; @Initialize { SetLife(400); let temp = []; ascent (let i in 0..100) { temp = temp ~ [i]; array = array ~ [temp]; } } @MainLoop { loop (1000) { let i = rand_int(0,99); let j = rand_int(0,i); let temp = array[i]; temp[j] = i+j; array[i] = temp; } } }