// Create Array
tmpArr = [false, 6, false, 6, false, 6, false, 6, false, 6, false, 6, false, 6];
// chest 1, loc, 2, loc, 3, loc, 4, loc, 5, loc, Ext1, loc, Ext2, loc
// Save Array to Game Variables
$gameVariables.setValue(46, tmpArr);
$gameVariables.setValue(47, tmpArr);
$gameVariables.setValue(48, tmpArr);
$gameVariables.setValue(49, tmpArr);
$gameVariables.setValue(50, tmpArr);
// what in the hell is this wizardry

array = $gameVariables.value(46);
array[0] = $gameSwitches.value(56);
array[2] = $gameSwitches.value(57);
array[4] = $gameSwitches.value(58);
array[6] = $gameSwitches.value(59);
array[8] = $gameSwitches.value(60);
array[10] = $gameSwitches.value(61);
array[12] = $gameSwitches.value(62);
// this is black magic
// this is called to save to array
array = $gameVariables.value(46);
array[1] = $gameVariables.value(51);
array[3] = $gameVariables.value(52);
array[5] = $gameVariables.value(53);
array[7] = $gameVariables.value(54);
array[9] = $gameVariables.value(55);
array[11] = $gameVariables.value(56);
array[13] = $gameVariables.value(57);
// saves loc, split because limited
// length allowed in this window
