The Dink Network

merder's Profile

knights.gif
merder
Peasant He/Him Netherlands
The Voice in the back of your head! 
-I love making D-Mods even if it is a relatively slow pace.
-I learn quickly. But i can get frustrated if i don't learn stuff fast enough.
-I love writing fiction. and i mean really do.
-I like to draw. but i think my digital drawing skills suck.
-I have weird luck
-I hate math but i am really skilled at it.

E-Mail indianboyster@gmail.com
Web Page http://merder222.deviantart.com
Private Message

2012-06-10 06:26:09
knights.gif
merder
Peasant He/Him Netherlands
The Voice in the back of your head! 
updates syntax highlithging for notepad++ and the new feature of collapsing helped tons so fixed bracket error and th missed &
and it is fixed

so her is the fixed code and doubt i've missed anything now (as usual feel free too use in your mods with proper credits and if used i recommend adding new sectiosns like i will ofr when i have new bosses scripted for the other dungeons and don't forget to chage counter names or add the globals i've used(bet you can tell their names by just looking at script .

Also Kyle the script i set up so it works only once per chosen dungeon floor so don't think the initiating should be that much of a problem.

// guess what i spawn monsters in the dungeons

void main(void)
{
if (&dungeon == 1)
{
if (&special == 0)
{
//ok just arrived so letsspawn some pillbugs

int &temp = create_sprite(295,160,9,131,1);

sp_dir(&temp,1);

sp_script(&temp,"en-pill");

int &temp = create_sprite(295,230,9,131,1);

sp_dir(&temp,1);

sp_script(&temp,"en-pill");

int &temp = create_sprite(511,160,9,131,1);

sp_dir(&temp,1);

sp_script(&temp,"en-pill");

int &temp = create_sprite(511,230,9,131,1);

sp_dir(&temp,1);

sp_script(&temp,"en-pill");

if (random(2,1) == 1)
{
int &temp = create_sprite(332,139,9,131,1);

sp_dir(&temp,1);

sp_script(&temp,"en-pill");

}

if (random(2,1) == 1)
{
int &temp = create_sprite(332,220,9,131,1);

sp_dir(&temp,1);

sp_script(&temp,"en-pill");

}
&special += 1;
//tells the mod you've been here so the monsters won't respawn again after you've left the screen

}
}

if (&dungeon == 3)
{

if (&special == 0)
{
//ok just arrived so lets choose what to spawn via randomness

int &who = random(3,1);

if (&who == 1)
// pillies won so lets spawn them
{
int &temp = create_sprite(295,160,9,131,1);

sp_dir(&temp,1);

sp_script(&temp,"en-pill1");

int &temp = create_sprite(295,230,9,131,1);

sp_dir(&temp,1);

sp_script(&temp,"en-pill1");

int &temp = create_sprite(511,160,9,131,1);

sp_dir(&temp,1);

sp_script(&temp,"en-pill1");

int &temp = create_sprite(511,230,9,131,1);

sp_dir(&temp,1);

sp_script(&temp,"en-pill1");

if (random(2,1) == 1)
{
int &temp = create_sprite(332,139,9,131,1);

sp_dir(&temp,1);

sp_script(&temp,"en-pill1");

}

if (random(2,1) == 1)
{
int &temp = create_sprite(332,220,9,131,1);

sp_dir(&temp,1);

sp_script(&temp,"en-pill1");

}
}
if (&who == 2)
// half pillies and purple bonca's won so lets spawn them
{
int &temp = create_sprite(295,160,9,131,1);

sp_dir(&temp,1);

sp_script(&temp,"en-pill1");

int &temp = create_sprite(295,230,9,131,1);

sp_dir(&temp,1);

sp_script(&temp,"en-pill1");

int &temp = create_sprite(511,160,9,131,1);

sp_dir(&temp,1);

sp_script(&temp,"en-pbon");

int &temp = create_sprite(511,230,9,131,1);

sp_dir(&temp,1);

sp_script(&temp,"en-pbon");

if (random(2,1) == 1)
{
int &temp = create_sprite(332,139,9,131,1);

sp_dir(&temp,1);

sp_script(&temp,"en-pill1");

}

if (random(2,1) == 1)
{
int &temp = create_sprite(332,220,9,131,1);

sp_dir(&temp,1);

sp_script(&temp,"en-pbon");

}
}

if (&who == 3)
// bonca's won so lets spawn them
{
int &temp = create_sprite(295,160,9,131,1);

sp_dir(&temp,1);

sp_script(&temp,"en-pbon");

int &temp = create_sprite(295,230,9,131,1);

sp_dir(&temp,1);

sp_script(&temp,"en-pbon");

int &temp = create_sprite(511,160,9,131,1);

sp_dir(&temp,1);

sp_script(&temp,"en-pbon");

int &temp = create_sprite(511,230,9,131,1);

sp_dir(&temp,1);

sp_script(&temp,"en-pbon");

if (random(2,1) == 1)
{
int &temp = create_sprite(332,139,9,131,1);

sp_dir(&temp,1);

sp_script(&temp,"en-pbon");

}

if (random(2,1) == 1)
{
int &temp = create_sprite(332,220,9,131,1);

sp_dir(&temp,1);

sp_script(&temp,"en-pbon");

}
}

&special += 1;
//tells the mod you've been here so the monsters won't respawn again after you've left the screen

}

merder has released 4 files

TitleCategoryAvgUpdated
Dink and the 4 TowersD-Mod, QuestTolerable 4.8August 11th, 2013
Christmas Fan Dinktion 1 - StoriesMiscellaneous, Fan WorkExceptional 9.1December 22nd, 2011
End of Snoresville (The)D-Mod, RompFair 5.2April 11th, 2011
Tears of the DevilD-Mod, DemoFair 5.4December 8th, 2009

merder has written 1 review

TitleFileTypeScoreDate
great to lose some steam. Dink's NightmareFeaturedGood 7.5December 2nd, 2009