let BossNormal = GetCurrentScriptDirectory ~ "./img/FeeDesFlammesNormal.png";
let BossEnerve = GetCurrentScriptDirectory ~ "./img/FeeDesFlammesEnerve.png";
let BossConfiante = GetCurrentScriptDirectory ~ "./img/FeeDesFlammesConfiante.png";
let BossOmbre = GetCurrentScriptDirectory ~ "./img/FeeDesFlammesOmbre.png";


task FeeDesFlammesNormal {
	let portrait = ObjPrim_Create(OBJ_SPRITE_2D);
	Obj_SetRenderPriority(portrait, 0.51);
	ObjPrim_SetTexture(portrait, BossNormal);
	ObjRender_SetBlendType(portrait, BLEND_ALPHA);
	ObjRender_SetAlpha(portrait, 255);
	ObjSprite2D_SetSourceRect(portrait, 0, 0, 720, 720);
	ObjSprite2D_SetDestRect(portrait, 180, 130, 680, 630);
	Obj_SetRenderPriorityI(portrait, 99);
	while(teste == 1){yield;}
	Obj_Delete(portrait);
}

task FeeDesFlammesNormalOmbre {
	let portrait = ObjPrim_Create(OBJ_SPRITE_2D);
	Obj_SetRenderPriority(portrait, 0.51);
	ObjPrim_SetTexture(portrait, BossNormal);
	ObjRender_SetBlendType(portrait, BLEND_ALPHA);
	ObjSprite2D_SetSourceRect(portrait, 0, 0, 720, 720);
	ObjRender_SetColor(portrait,111,111,111);
	ObjSprite2D_SetDestRect(portrait, 180, 130, 680, 630);
	Obj_SetRenderPriorityI(portrait, 99);
	while(teste == 0){yield;}
	Obj_Delete(portrait);
}

task FeeDesFlammesEnerve {
	let portrait = ObjPrim_Create(OBJ_SPRITE_2D);
	Obj_SetRenderPriority(portrait, 0.51);
	ObjPrim_SetTexture(portrait, BossEnerve);
	ObjRender_SetBlendType(portrait, BLEND_ALPHA);
	ObjRender_SetAlpha(portrait, 255);
	ObjSprite2D_SetSourceRect(portrait, 0, 0, 720, 720);
	ObjSprite2D_SetDestRect(portrait, 180, 130, 680, 630);
	Obj_SetRenderPriorityI(portrait, 99);
	while(teste == 1){yield;}
	Obj_Delete(portrait);
}

task FeeDesFlammesEnerveOmbre {
	let portrait = ObjPrim_Create(OBJ_SPRITE_2D);
	Obj_SetRenderPriority(portrait, 0.51);
	ObjPrim_SetTexture(portrait, BossEnerve);
	ObjRender_SetBlendType(portrait, BLEND_ALPHA);
	ObjSprite2D_SetSourceRect(portrait, 0, 0, 720, 720);
	ObjRender_SetColor(portrait,111,111,111);
	ObjSprite2D_SetDestRect(portrait, 180, 130, 680, 630);
	Obj_SetRenderPriorityI(portrait, 99);
	while(teste == 0){yield;}
	Obj_Delete(portrait);
}

task FeeDesFlammesConfiante {
	let portrait = ObjPrim_Create(OBJ_SPRITE_2D);
	Obj_SetRenderPriority(portrait, 0.51);
	ObjPrim_SetTexture(portrait, BossConfiante);
	ObjRender_SetBlendType(portrait, BLEND_ALPHA);
	ObjRender_SetAlpha(portrait, 255);
	ObjSprite2D_SetSourceRect(portrait, 0, 0, 720, 720);
	ObjSprite2D_SetDestRect(portrait, 180, 130, 680, 630);
	Obj_SetRenderPriorityI(portrait, 99);
	while(teste == 1){yield;}
	Obj_Delete(portrait);
}

task FeeDesFlammesConfianteOmbre {
	let portrait = ObjPrim_Create(OBJ_SPRITE_2D);
	Obj_SetRenderPriority(portrait, 0.51);
	ObjPrim_SetTexture(portrait, BossConfiante);
	ObjRender_SetBlendType(portrait, BLEND_ALPHA);
	ObjSprite2D_SetSourceRect(portrait, 0, 0, 720, 720);
	ObjRender_SetColor(portrait,111,111,111);
	ObjSprite2D_SetDestRect(portrait, 180, 130, 680, 630);
	Obj_SetRenderPriorityI(portrait, 99);
	while(teste == 0){yield;}
	Obj_Delete(portrait);
}

task FeeDesFlammesOmbreNoir {
	let portrait = ObjPrim_Create(OBJ_SPRITE_2D);
	Obj_SetRenderPriority(portrait, 0.51);
	ObjPrim_SetTexture(portrait, BossOmbre);
	ObjRender_SetBlendType(portrait, BLEND_ALPHA);
	ObjRender_SetAlpha(portrait, 255);
	ObjSprite2D_SetSourceRect(portrait, 0, 0, 720, 720);
	ObjSprite2D_SetDestRect(portrait, 180, 130, 680, 630);
	Obj_SetRenderPriorityI(portrait, 99);
	while(teste == 1){yield;}
	Obj_Delete(portrait);
}