all you need to do is set enemy 177 up and maybe have misc 11 and 12 as 1. also hp and damage can be set.
import "string.zh"
import "ghost.zh"
ffc script ghost
{
void run()
{
npc ghost;
ghost=Ghost_InitAutoGhost(this, 177);
Ghost_SpawnAnimationPuff(this, ghost);
int frame = 0;
int a= 0;
while(true)
{
Screen->DrawInteger(7, 56, 56, FONT_Z1, 0, -1, -1, -1, a, 0, 128);
frame++;
if (frame == 100) a = a +1;
if (a == 2) a = 0;
if (frame = 100) frame = 0;
Ghost_Move(a, 1, 1);
Ghost_Waitframe(this, ghost, true, true);
}
}
}
Edited by tox_von, 20 February 2013 - 07:08 PM.


