Reply to Re: 3 Answers
If you don't have an account, just leave the password field blank.
The grass/bush/undergrowth script looks like this:
void main( void )
{
}
void hit (void)
{
int &bla = compare_weapon("Item-sw3");
if (&bla == 1)
{
//hopefully this will shrink it
sp_brain_parm(¤t_sprite, 5);
sp_brain(¤t_sprite, 12);
sp_touch_damage(¤t_sprite, 0);
sp_timing(¤t_sprite, 0);
int &hold = sp_editor_num (¤t_sprite);
if (&hold != 0)
editor_type(&hold, 1);
sp_hard(¤t_sprite, 1);
//sprite ain't hard no more! Let's redraw the hard map in one area
draw_hard_sprite(¤t_sprite);
}
}
I think it's from the Prophecy of the Ancients, but I'm not sure. And I have modified it a bit.
And this bugg only appear, when I have uesd the claw sword first. If I hit the sprite with the fist and then fire it with a fireball, nothing happens.
void main( void )
{
}
void hit (void)
{
int &bla = compare_weapon("Item-sw3");
if (&bla == 1)
{
//hopefully this will shrink it
sp_brain_parm(¤t_sprite, 5);
sp_brain(¤t_sprite, 12);
sp_touch_damage(¤t_sprite, 0);
sp_timing(¤t_sprite, 0);
int &hold = sp_editor_num (¤t_sprite);
if (&hold != 0)
editor_type(&hold, 1);
sp_hard(¤t_sprite, 1);
//sprite ain't hard no more! Let's redraw the hard map in one area
draw_hard_sprite(¤t_sprite);
}
}
I think it's from the Prophecy of the Ancients, but I'm not sure. And I have modified it a bit.
And this bugg only appear, when I have uesd the claw sword first. If I hit the sprite with the fist and then fire it with a fireball, nothing happens.