let VoyanteNormale = GetCurrentScriptDirectory ~ "./img/VoyanteNormal.png";
let VoyanteContent = GetCurrentScriptDirectory ~ "./img/VoyanteContent.png";
let VoyanteEnerve = GetCurrentScriptDirectory ~ "./img/VoyanteEnerve.png";
let VoyanteSerieux = GetCurrentScriptDirectory ~ "./img/VoyanteSerieux.png";
let VoyanteOmbreTotal = GetCurrentScriptDirectory ~ "./img/VoyanteOmbreTotal.png";


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

task VoyanteNormalOmbre {
	let portrait = ObjPrim_Create(OBJ_SPRITE_2D);
	Obj_SetRenderPriority(portrait, 0.51);
	ObjPrim_SetTexture(portrait, VoyanteNormale);
	ObjRender_SetBlendType(portrait, BLEND_ALPHA);
	ObjSprite2D_SetSourceRect(portrait, 0, 0, 720, 720);
	ObjRender_SetColor(portrait,111,111,111);
	ObjSprite2D_SetDestRect(portrait, 180, 110, 680, 610);
	Obj_SetRenderPriorityI(portrait, 99);
	while(teste == 0){yield;}
	Obj_Delete(portrait);
}

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

task VoyanteContenteOmbre {
	let portrait = ObjPrim_Create(OBJ_SPRITE_2D);
	Obj_SetRenderPriority(portrait, 0.51);
	ObjPrim_SetTexture(portrait, VoyanteContent);
	ObjRender_SetBlendType(portrait, BLEND_ALPHA);
	ObjSprite2D_SetSourceRect(portrait, 0, 0, 720, 720);
	ObjRender_SetColor(portrait,111,111,111);
	ObjSprite2D_SetDestRect(portrait, 180, 110, 680, 610);
	Obj_SetRenderPriorityI(portrait, 99);
	while(teste == 0){yield;}
	Obj_Delete(portrait);
}

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

task VoyanteEnerverOmbre {
	let portrait = ObjPrim_Create(OBJ_SPRITE_2D);
	Obj_SetRenderPriority(portrait, 0.51);
	ObjPrim_SetTexture(portrait, VoyanteEnerve);
	ObjRender_SetBlendType(portrait, BLEND_ALPHA);
	ObjSprite2D_SetSourceRect(portrait, 0, 0, 720, 720);
	ObjRender_SetColor(portrait,111,111,111);
	ObjSprite2D_SetDestRect(portrait, 180, 110, 680, 610);
	Obj_SetRenderPriorityI(portrait, 99);
	while(teste == 0){yield;}
	Obj_Delete(portrait);
}

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

task VoyanteSerieuseOmbre {
	let portrait = ObjPrim_Create(OBJ_SPRITE_2D);
	Obj_SetRenderPriority(portrait, 0.51);
	ObjPrim_SetTexture(portrait, VoyanteSerieux);
	ObjRender_SetBlendType(portrait, BLEND_ALPHA);
	ObjSprite2D_SetSourceRect(portrait, 0, 0, 720, 720);
	ObjRender_SetColor(portrait,111,111,111);
	ObjSprite2D_SetDestRect(portrait, 180, 110, 680, 610);
	Obj_SetRenderPriorityI(portrait, 99);
	while(teste == 0){yield;}
	Obj_Delete(portrait);
}

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

task VoyanteOmbreTotaleOmbre {
	let portrait = ObjPrim_Create(OBJ_SPRITE_2D);
	Obj_SetRenderPriority(portrait, 0.51);
	ObjPrim_SetTexture(portrait, VoyanteOmbreTotal);
	ObjRender_SetBlendType(portrait, BLEND_ALPHA);
	ObjSprite2D_SetSourceRect(portrait, 0, 0, 720, 720);
	ObjRender_SetColor(portrait,111,111,111);
	ObjSprite2D_SetDestRect(portrait, 180, 110, 680, 610);
	Obj_SetRenderPriorityI(portrait, 99);
	while(teste == 0){yield;}
	Obj_Delete(portrait);
}