The Dink Network

Reply to Re: Quest For Revenge -- Romp -- Dev Thread!

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
April 10th 2010, 08:18 AM
goblinh.gif
mkbul
Peasant He/Him Greece
TPA~ 
void main( void )
{
	int &fenceguy;
	&fenceguy = create_sprite(128, 131, 0, 343, 9);
}

void talk( void )
{
	freeze(1);
	if (&fence_removal == 1)
	{
		choice:
		choice_start()

		set_y 240
		set_title_color 4

		title_start()
		Except from trying to hide, i have a slime at the basement...
		title_end()

		"I need to remove a fence"
		"Why are you here?"
		"Leave"

		choice_end()
		if (&result = 1)
		{
			say_stop("`4You're not the only one with a problem...", &fenceguy);
			say_stop("`4I also have a slime at the basement", &fenceguy);
			say_stop("`4I'll tell you what, kill the slime, and then, i will open your fence", &fenceguy);
			say_stop("I can handle that...", 1);
			say_stop("`4Thank you, now go!", &fenceguy);
			unfreeze(1);
		}
		if (&result = 2)
		{
			say_stop("`4Because i'm trying to hide from the pillbugs", &fenceguy);
			goto choice;
		}
		if (&result = 3)
		{
			unfreeze(1);
		}

	}
	if (&fence_removal == 0)
	{
		
		choice_start()

		set_y 240
		set_title_color 4

		title_start()
		God, what do you want?
		title_end()

		"I need to go to the land of Firtis"
		"Leave"

		choice_end()
		if (&result == 1)
		{
			say_stop("`4Entrance is east of here", &fenceguy);
			goto choice;
		}
		if (&result == 2)
		{
			unfreeze(1);
		}

	}
	if (&fence_removal == 3)
	{
		
		choice_start()

		set_y 240
		set_title_color 4

		title_start()
		Goddang it, what d'ya want again?
		title_end()

		"Leave"

		choice_end()
		if (&result == 1)
		{
			unfreeze(1);
		}

	}
	if (&fence_removal == 2)
	{
		
		choice_start()

		set_y 240
		set_title_color 4

		title_start()
		Yes?
		title_end()

		"I killed the slime"
		"Leave"

		choice_end()
		if (&result == 1)
		{
			say_stop("I killed the slime", 1);
			say_stop("`4Very good, the fence is now removed", &fenceguy);
			say_stop("What? Really?", 1);
			say_stop("`4Yeah, magic my friend!", &fenceguy);
		}
		if (&result == 2)
		{
			unfreeze(1);
		}

	}
}


For some reason, &fence_removal variable's choices keep changing on random...what's wrong?