-chaos-
2006-05-16 20:55:47
this is a procedure that handles fights i was bored so i made this :p
[PHP]
procedure HandleFight;
begin
if (FindFight) then
Writeln('Fight Found Running Away);
SetRun('True')
RunTo(Dir, False);
Flag;
Writeln('Running Back');
RunBack;
[/PHP]
all you have to do is put "Dir" as a const and put a direction in there ex. N, E, S, W
hope this helps :D
[PHP]
procedure HandleFight;
begin
if (FindFight) then
Writeln('Fight Found Running Away);
SetRun('True')
RunTo(Dir, False);
Flag;
Writeln('Running Back');
RunBack;
[/PHP]
all you have to do is put "Dir" as a const and put a direction in there ex. N, E, S, W
hope this helps :D