Big heart
I want an enemy to always drop a big heart when killed. What do I put in the void die to achieve that?
To make it by the beautyfull way you must change it at "emake" script
Add there (on emake.c):
void heart ( void )
{
//lets give 'em a large heart
int &crap = create_sprite(&save_x, &save_y, 6, 54, 1);
sp_script(&crap, "heart");
return;
}
At the monster "void die" change the 'external' command to:
external("emake", "heart");
This will call the script "emake" and run the "heart" void procedure which is create a big heart

Add there (on emake.c):
void heart ( void )
{
//lets give 'em a large heart
int &crap = create_sprite(&save_x, &save_y, 6, 54, 1);
sp_script(&crap, "heart");
return;
}
At the monster "void die" change the 'external' command to:
external("emake", "heart");
This will call the script "emake" and run the "heart" void procedure which is create a big heart
