You could use pixel_to _bitmap, or maybe more simple use different skins. They can be animated simply like this (example from the manual):

action animate
{
while(1)
{
my.skin += time;
if (my.skin > ent_skins(my))
{
my.frame -= ent_skins(my);
}
wait(1);
}
}