Reply to Script(s) Problem(s)
If you don't have an account, just leave the password field blank.
Dink is going to get some nut from an alktree for his mother, when he gets back is his village on fire, and after dink has fainted and the fire is gone, can dink go and get more nuts, but then is the village on fire again.
//Nut Script
void main( void )
{
sp_touch_damage(¤t_sprite, -1);
}
void touch( void )
{
int &junk = free_items();
if (&junk < 1)
{
say("I'm full! I can't pick up anything else.", 1);
return;
}
Playsound(10,22050,0,0,0);
add_item("item-nut",438, 19);
if (&nuttree < 1)
{
&nuttree = 1;
&story = 2;
}
say("I picked up a nut!",1);
sp_active(¤t_sprite, 0);
}
//Vision Script
void main( void )
{
if (&story == 2)
{
&vision = 1;
say("OH NO, My village is on fire!! I need to check if mom is ok!", 1);
}
if (&story >= 3)
{
&vision = 2;
}
}
//Nut Script
void main( void )
{
sp_touch_damage(¤t_sprite, -1);
}
void touch( void )
{
int &junk = free_items();
if (&junk < 1)
{
say("I'm full! I can't pick up anything else.", 1);
return;
}
Playsound(10,22050,0,0,0);
add_item("item-nut",438, 19);
if (&nuttree < 1)
{
&nuttree = 1;
&story = 2;
}
say("I picked up a nut!",1);
sp_active(¤t_sprite, 0);
}
//Vision Script
void main( void )
{
if (&story == 2)
{
&vision = 1;
say("OH NO, My village is on fire!! I need to check if mom is ok!", 1);
}
if (&story >= 3)
{
&vision = 2;
}
}