Reply to Re: PROBLEM!!
If you don't have an account, just leave the password field blank.
MAIN.c
{
make_gobal_int("&druidq",0);
}
druidboss-1.c
void talk (void)
{
freeze(1);
freeze(¤t_sprite);
if(&druidq == 0)
{
say_stop("`4Dink we need your help!",¤t_sprite);
say_stop("Ok,What do you need",1);
say_stop("`4We are out of healing powder",¤t_sprite);
say_stop("So?",1);
say_stop("`4We need it for experiments and such",¤t_sprite);
say_stop("Can't you get it yourself?",1);
say_stop("`4No,we are buisy can you go and talk to healer?",¤t_sprite);
say_stop("Ok i guess",1);
say_stop("`4Hurry!",¤t_sprite);
say_stop("I will",1);
&druidq = 1;
goto done;
}
if(&druidq == 1)
{
say_stop("`4Do you have it?",¤t_sprite);
say_stop("Nope not yet",¤t_sprite);
say_stop("`4Please go get it",¤t_sprite);
say_stop("Ok",1);
}
if(&druidq == 2)
{
say_stop("She sad she's gonna send it to you",1);
say_stop("`4Good",¤t_sprite);
say_stop("Where is my reward?",1);
say_stop("`4Ah.Here it is",¤t_sprite);
choice_start();
title_start();
Chose your reward:
title_end();
"Strenght +1"
"Defense +1"
"Magic +1"
choice_end();
if(&result == 1)
{
&druidq = 3;
&strenght += 1;
goto done;
}
if(&result == 2)
{
&druidq = 3;
&defense += 1;
goto done;
}
if(&result == 3)
{
&druidq = 3;
&magic += 1;
goto done;
}
if(&druidq == 3)
{
say_stop("`4Hi Dink",¤t_sprite);
say_stop("Hi",1);
}
done:
unfreeze(1);
unfreze(¤t_sprite);
}
healer.c
void talk (void)
{
freeze(1);
choice_start();
(&life<&lifemax) "Heal me"
(&druidq == 1) "Druid's told me to ask you to give em some healing powder"
"Leave"
choice_end();
if(&result == 1)
{
&life=&lifemax
goto kraj;
}
if(&result == 2)
{
say_stop("`8Say to them that i will send it",¤t_sprite);
wait(250);
say_stop("Ok",1);
&druidq = 2
goto kraj;
}
kraj:
unfreeze(1);
}
ITS REWRITEN BUT IT STILL DOESNT WORK
{
make_gobal_int("&druidq",0);
}
druidboss-1.c
void talk (void)
{
freeze(1);
freeze(¤t_sprite);
if(&druidq == 0)
{
say_stop("`4Dink we need your help!",¤t_sprite);
say_stop("Ok,What do you need",1);
say_stop("`4We are out of healing powder",¤t_sprite);
say_stop("So?",1);
say_stop("`4We need it for experiments and such",¤t_sprite);
say_stop("Can't you get it yourself?",1);
say_stop("`4No,we are buisy can you go and talk to healer?",¤t_sprite);
say_stop("Ok i guess",1);
say_stop("`4Hurry!",¤t_sprite);
say_stop("I will",1);
&druidq = 1;
goto done;
}
if(&druidq == 1)
{
say_stop("`4Do you have it?",¤t_sprite);
say_stop("Nope not yet",¤t_sprite);
say_stop("`4Please go get it",¤t_sprite);
say_stop("Ok",1);
}
if(&druidq == 2)
{
say_stop("She sad she's gonna send it to you",1);
say_stop("`4Good",¤t_sprite);
say_stop("Where is my reward?",1);
say_stop("`4Ah.Here it is",¤t_sprite);
choice_start();
title_start();
Chose your reward:
title_end();
"Strenght +1"
"Defense +1"
"Magic +1"
choice_end();
if(&result == 1)
{
&druidq = 3;
&strenght += 1;
goto done;
}
if(&result == 2)
{
&druidq = 3;
&defense += 1;
goto done;
}
if(&result == 3)
{
&druidq = 3;
&magic += 1;
goto done;
}
if(&druidq == 3)
{
say_stop("`4Hi Dink",¤t_sprite);
say_stop("Hi",1);
}
done:
unfreeze(1);
unfreze(¤t_sprite);
}
healer.c
void talk (void)
{
freeze(1);
choice_start();
(&life<&lifemax) "Heal me"
(&druidq == 1) "Druid's told me to ask you to give em some healing powder"
"Leave"
choice_end();
if(&result == 1)
{
&life=&lifemax
goto kraj;
}
if(&result == 2)
{
say_stop("`8Say to them that i will send it",¤t_sprite);
wait(250);
say_stop("Ok",1);
&druidq = 2
goto kraj;
}
kraj:
unfreeze(1);
}
ITS REWRITEN BUT IT STILL DOESNT WORK