Reply to Re: Oops...
If you don't have an account, just leave the password field blank.
void hit( void )
{
playsound(28, 22050,0,&current_sprite, 0);
int &rcrap = random(4, 1);
if (&rcrap > 2)
{
say("`2Why you hit me? I'm a good goblin.", &current_sprite);
} else
{
//set flag for Goblin to attack Dink
&myflag = 100;
editor_seq(&donk, &myflag);
attackdink:
say("`2I gonna use your head for pounding practice", &current_sprite);
sp_base_attack(&current_sprite, 750);
sp_distance(&current_sprite, 50);
sp_target(&current_sprite, 1);
sp_defense(&current_sprite, 2);
sp_strength(&current_sprite, 15);
sp_touch_damage(&current_sprite, 10);
sp_hitpoints(&current_sprite, 40);
sp_exp(&current_sprite, 40);
sp_brain(&current_sprite, 9);
}
}
and with this is the main() proc... you're in trouble...
if (&myflag >= 100)
goto attackdink;
How many times have you hit the goblin?
{
playsound(28, 22050,0,&current_sprite, 0);
int &rcrap = random(4, 1);
if (&rcrap > 2)
{
say("`2Why you hit me? I'm a good goblin.", &current_sprite);
} else
{
//set flag for Goblin to attack Dink
&myflag = 100;
editor_seq(&donk, &myflag);
attackdink:
say("`2I gonna use your head for pounding practice", &current_sprite);
sp_base_attack(&current_sprite, 750);
sp_distance(&current_sprite, 50);
sp_target(&current_sprite, 1);
sp_defense(&current_sprite, 2);
sp_strength(&current_sprite, 15);
sp_touch_damage(&current_sprite, 10);
sp_hitpoints(&current_sprite, 40);
sp_exp(&current_sprite, 40);
sp_brain(&current_sprite, 9);
}
}
and with this is the main() proc... you're in trouble...
if (&myflag >= 100)
goto attackdink;
How many times have you hit the goblin?