// フレーム番号を6,7,8入れ替え this.frame = core.frame % 3 + 6; // フレーム番号を4,7の入れから this.frame = this.frame == 7 ? 4 : 7; //1次元配列 weapons = ['Tripple', 'LINE', '3x3']; button.text = weapons[core.shot_type]; //2次元配列 var stage = []; stage[0] = [10,8, 30,4]; stage[1] = [10,48]; stage[2] = [10,48, 60,48]; stage[3] = [10,48, 60,48, 110,48]; stage[4] = [10,64, 80,64]; core.stages = 4; for (var i in stage[core.stage]) { if (i % 2 == 0) var bx = stage[core.stage][i]; else var sz = stage[core.stage][i];