// Evol scripts.
// Author:
// Reid
// Description:
// Moon, main NPC for the urchin quest.
001-1,52,44,0 script Xilaxa#001-1 NPC_UKAR_MALE_LEGION_ARTIS,{
npc_pausemove();
getmapxy(.@map$, .@cx, .@cy, 0);
npc_turntoxy(.@cx, .@cy);
npctalkonce("Hello.");
npc_resumemove();
close;
OnTimer1000:
dographmovestep;
OnInit:
.bodytype = BODYTYPE_3;
.distance = 5;
initmovegraph "mid", 54, 43, 60, 46,
"left", 47, 50, 52, 55,
"right", 62, 50, 67, 55;
setmovegraphcmd "mid", "left", 1, "dir 0; wait 4",
"mid", "left", 4, "dir 2; wait 3; dir 0; wait 2; dir 6; wait 1; dir 0",
"mid", "left", 2, "dir 4; wait 5; dir 0; wait 2",
"mid", "left", 3, "dir 6; wait 1; dir 0; wait 3; dir 2; wait 3; dir 0",
"mid", "left", 1, "dir 0; wait 1; dir 2; wait 1; dir 0; wait 1; dir 6; wait 5",
"mid", "right", 3, "dir 0; wait 4",
"mid", "right", 4, "dir 2; wait 3; dir 0; wait 2; dir 6; wait 1; dir 0",
"mid", "right", 2, "dir 4; wait 5; dir 0; wait 2",
"mid", "right", 1, "dir 6; wait 1; dir 0; wait 3; dir 2; wait 3; dir 0",
"mid", "right", 2, "dir 0; wait 1; dir 2; wait 1; dir 0; wait 1; dir 6; wait 5",
"left", "mid", 2, "dir 0; wait 4",
"left", "mid", 1, "dir 2; wait 3; dir 0; wait 2; dir 6; wait 1; dir 0",
"left", "mid", 3, "dir 4; wait 5; dir 0; wait 2",
"left", "mid", 2, "dir 6; wait 1; dir 0; wait 3; dir 2; wait 3; dir 0",
"left", "mid", 3, "dir 0; wait 1; dir 2; wait 1; dir 0; wait 1; dir 6; wait 5",
"right", "mid", 3, "dir 0; wait 4",
"right", "mid", 2, "dir 2; wait 3; dir 0; wait 2; dir 6; wait 1; dir 0",
"right", "mid", 1, "dir 4; wait 5; dir 0; wait 2",
"right", "mid", 1, "dir 6; wait 1; dir 0; wait 3; dir 2; wait 3; dir 0",
"right", "mid", 2, "dir 0; wait 1; dir 2; wait 1; dir 0; wait 1; dir 6; wait 5";
firstmove "wait 5", "mid";
initnpctimer;
}