"ERROR!"

AuthorTopic: "ERROR!"
Agent
Member # 4506
Profile Homepage #0
Guys, could you please help, (again) with another error I've got. It's really annoying, but it's stopping the scenario, about halfwya this time, but still annoying. What do you think's wrong?

IMAGE(http://hometown.aol.co.uk/Micael%20456/FORUMSPIDWEB/eekeres.JPG)

begintownscript;

variables;
//

int i,j,k,
choice;
body;

beginstate 0;

break;

beginstate 1;

break;

beginstate 2;

break;

beginstate 57;
reset_dialog();
add_dialog_str(0,"You are standing in front of the Vahnatai's controls - the one thing which can be used to stop their invasion. Do you smash them?",0);
add_dialog_choice(0,"Leave it Alone (carry on playing for longer)");
add_dialog_choice(1,"Smash the Controls (Destroy the Vahnatai's plans and win)");
choice = run_dialog(1);
if (choice == 1)
end();
if (choice == 2)
set_state_continue(58);
break;

beginstate 58;
message_dialog("You smash the controls to the power, and the hum stops immediatly. You've stopped the Vahnatai!!! You soon reach the Magical Town and teleport yourselves home, where you are congratulated for foiling the Vahnatai. THE END","");
end_scenario(1);
break;

beginstate 56;
if (get_flag(6,7) < 1){ message_dialog("You enter the final Tower of the Vahnatai, only to find it a Pit. Two ranks of Spirits guard it, as well as several Zombie Dragons. It looks like the fighting's going to get even tougher!",""); set_flag(6,7,1);}
break;

beginstate 67;
if (get_flag(25,5) < 1){ message_dialog("You come face to face with Rentar Ihnro - again. This time she's really here, and she doesn't look happy.",""); set_flag(25,5,1);}
break;

beginstate = 65;
if (get_flag(30,0) == 1){ message_dialog("You blink. Just as you had dealt Rentar-Inro a killing blow, she disappeared. No trace of her body remains. You are sure that using powerful Vahnatai magic, she will soon be able to bother you again. For now at least, she's gone",""); set_flag(30,0,0);}
break;

beginstate 13;
change_outdoor_location(1,2,26,2);
break;

beginstate 77;
if (get_flag(67,1) < 1){
change_outdoor_location(1,2,26,2);
message_dialog("You step towards the exit, and at once begin to feel queasy. Something's wrong...","");}
break;


--------------------
"You dare Trifle with Avernum?" ~ Erika the Archmage
--------------------
My Scenarios:
Undead Valley : A small Undead problem, what could possibly go wrong?
--------------------
Richard Black - PROOF of his existance (the Infernal one's website).
--------------------
MY FORUM! Randomosity at it's highest! :)
Posts: 1370 | Registered: Thursday, June 10 2004 07:00
...b10010b...
Member # 869
Profile Homepage #1
quote:

beginstate = 65;

Compare that to the other lines. Whoops.

--------------------
The Empire Always Loses: This Time For Sure!
Posts: 9973 | Registered: Saturday, March 30 2002 08:00
Agent
Member # 4506
Profile Homepage #2
quote:
Originally written by Thuryl:

quote:

beginstate = 65;

Compare that to the other lines. Whoops.

Whoops indeed...

THAMKS!!!!!!

--------------------
"You dare Trifle with Avernum?" ~ Erika the Archmage
--------------------
My Scenarios:
Undead Valley : A small Undead problem, what could possibly go wrong?
--------------------
Richard Black - PROOF of his existance (the Infernal one's website).
--------------------
MY FORUM! Randomosity at it's highest! :)
Posts: 1370 | Registered: Thursday, June 10 2004 07:00
BANNED
Member # 4
Profile Homepage #3
THAMKS!!!

--------------------
*
Posts: 6936 | Registered: Tuesday, September 18 2001 07:00