You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
AM2R-Multitroid-Fair-Team-PVP/Export_Code/gml_Object_oMGammaMutate_Dr...

16 lines
602 B

if (oControl.mod_fusion == 1 || oControl.MonsterPalettesFusionOnly == 0)
{
if (global.shaders_compiled && os_type != os_android)
pal_swap_set(oControl.GammaPalette, 1, 0)
}
alpha2 = (image_index - floor(image_index))
alpha1 = (1 - alpha2)
if (state == 2)
{
draw_sprite_ext(sprite_index, image_index, (x + xoffset), (y + yoffset), 1, 1, 0, -1, (alpha1 * 1.5))
draw_sprite_ext(sprite_index, (image_index + 1), (x + xoffset), (y + yoffset), 1, 1, 0, -1, (alpha2 * 1.5))
}
else
draw_sprite_ext(sprite_index, image_index, (x + xoffset), (y + yoffset), 1, 1, 0, -1, 1)
shader_reset()