
####animationscript function main#####
# data/chars/megaman/megaman_.txt
########################################
void main()
{
    int frame = getlocalvar("frame");
    int animnum = getlocalvar("animnum");
    if(animnum==5)
    {


if(frame == 0)

changeentityproperty(getlocalvar("self"), "mp", getentityproperty(getlocalvar("self"), "mp") + 5);

        return;
    }

}

####animationscript function main#####
# data/chars/megaman/megaman.txt
########################################
void main()
{
    int frame = getlocalvar("frame");
    int animnum = getlocalvar("animnum");
    if(animnum==5)
    {


if(frame == 0)

changeentityproperty(getlocalvar("self"), "mp", getentityproperty(getlocalvar("self"), "mp") + 5);

        return;
    }

}

####animationscript function main#####
# data/chars/goku/goku.txt
########################################
void main()
{
    int frame = getlocalvar("frame");
    int animnum = getlocalvar("animnum");
    if(animnum==5)
    {


if(frame == 0)

changeentityproperty(getlocalvar("self"), "mp", getentityproperty(getlocalvar("self"), "mp") + 5);

        return;
    }
    if(animnum==20)
    {


if(frame == 0)

changeentityproperty(getlocalvar("self"), "mp", getentityproperty(getlocalvar("self"), "mp") + 10);

        return;
    }

}

####animationscript function main#####
# data/chars/wolvy/wolvy.txt
########################################
void main()
{
    int frame = getlocalvar("frame");
    int animnum = getlocalvar("animnum");
    if(animnum==25)
    {


if(frame == 0)

changeentityproperty(getlocalvar("self"), "health", getentityproperty(getlocalvar("self"), "health") + 20);

        return;
    }
    if(animnum==5)
    {


if(frame == 0)

changeentityproperty(getlocalvar("self"), "mp", getentityproperty(getlocalvar("self"), "mp") + 5);

        return;
    }

}

####animationscript function main#####
# data/chars/jax/jax.txt
########################################
void main()
{
    int frame = getlocalvar("frame");
    int animnum = getlocalvar("animnum");
    if(animnum==5)
    {


if(frame == 0)

changeentityproperty(getlocalvar("self"), "mp", getentityproperty(getlocalvar("self"), "mp") + 5);

        return;
    }

}

####animationscript function main#####
# data/chars/alucard/alucard.txt
########################################
void main()
{
    int frame = getlocalvar("frame");
    int animnum = getlocalvar("animnum");
    if(animnum==5)
    {


if(frame == 0)

changeentityproperty(getlocalvar("self"), "mp", getentityproperty(getlocalvar("self"), "mp") + 10);

        return;
    }

}
