let maxlife=0;
let oldlife=0;
let timercount=0;

let sides=0;
let sides1=[];
let sidesmove=0;
let health=0;
let health1=[];

let timerbar=0;
let timereffect=0;
let timercounter=[];

let spellseffect=0;

let GRhealthbar=("\script\Images\OtherEffects\HealthBar.png");
let SElowhealth1=("script\SoundEffects\lowhealth1.wav");
let SElowhealth2=("script\SoundEffects\lowhealth2.wav");
let SEtimeout1=("script\SoundEffects\timeout1.wav");
let SEtimeout2=("script\SoundEffects\timeout2.wav");

LoadGraphic("\script\Images\OtherEffects\HealthBar.png");
LoadSE("script\SoundEffects\lowhealth1.wav");
LoadSE("script\SoundEffects\lowhealth2.wav");
LoadSE("script\SoundEffects\timeout1.wav");
LoadSE("script\SoundEffects\timeout2.wav");