
CreateCommonDataArea("SPHERIA_SPHERE");
CreateCommonDataArea("SPHERIA_ENEMY");
CreateCommonDataArea("SPHERIA_PLAYER");

//type, x, y, angle, speed, graphic, 
let default_EnemyShotData = [NULL, 0, 0, 0, 0, 0];
SetCommonDataEx("SPHERIA_ENEMY", "ENEMY_SHOT", []);
SetCommonDataEx("SPHERIA_ENEMY", "ENEMY_WEIGHT", []);

SetCommonDataEx("SPHERIA_SPHERE", "SPHERE_POSITION", [0,0]);
SetCommonDataEx("SPHERIA_SPHERE", "SPHERE_RADIUS", 0);
SetCommonDataEx("SPHERIA_SPHERE", "SPHERE_STATE", 0);
SetCommonDataEx("SPHERIA_SPHERE", "SPHERE_REFLECTION", NULL);

SetCommonDataEx("SPHERIA_PLAYER", "PLAYER_LIFE", 1);
SetCommonDataEx("SPHERIA_PLAYER", "PLAYER_START", false);
SetCommonDataEx("SPHERIA_PLAYER", "PLAYER_LIFE_CHIP", 0);

let _SPHERE_STOP = 0;
let _SPHERE_CHARGE = 1;
let _SPHERE_MOVESTART = 2;
let _SPHERE_MOVE = 3;
let _SPHERE_HIT = 4;
let _SPHERE_ROLLING = 5;
let _SPHERE_FOLLOW = 6;
let _BURST_SHOT = 1;

//global



//--------------------------
//ショットタイプ
let _TYPE_MAIN = 0;
let _TYPE_BREAKIN = 1;
let _TYPE_RANCE = 2;
let _TYPE_ANCHOR = 3;

//移動タイプ
let _MOVE_NORMAL = 0;
let _MOVE_STRAIGHT = 1;
let _MOVE_CIRCLE = 2;
let _MOVE_STAY = 3;


//ショットデータ
let _SHOT_MAIN01 = 1;
let _SHOT_MAIN02 = 2;
let _SHOT_RANCE01 = 3;
let _SHOT_RANCE02 = 4;
let _SHOT_ANCHOR = 5;
let _SHOT_BREAKIN = 6;

let _VALUE_MAX = 65536;
let _RENDERTARGET_DEFAULT = "DEFAULT";

//
//--------------------------


