// creator  : weidu.exe (version 23100)
// argument : ELEARB04.DLG
// game		 : .
// source	 : ./DATA/DIALOG.BIF
// dialog	 : ./DIALOG.TLK
// dialogF  : (none)

BEGIN ~ELEARB04~

IF ~NumTimesTalkedTo(0)
~ THEN BEGIN 0 // from:
  SAY #47923 /* ~A simple task. You are quick of foot, and respond well. I applaud, though my approval means little.~ */
  IF ~~ THEN DO ~SetGlobal("1504TrapStop","GLOBAL",1)~ GOTO 1
END

IF ~~ THEN BEGIN 1 // from: 0.0
  SAY #47924 /* ~Tell me, were you fearful of the trap? Did you hesitate? My queries are to clarify your state of mind. Answer true and clear.~ */
  IF ~~ THEN REPLY #47925 /* ~Are you mad, specter? That trap was vicious! By what right did you endanger me?~ */ GOTO 2
  IF ~~ THEN REPLY #47926 /* ~I was fearful, but not to the point of faltering. I had to proceed, as you have said.~ */ GOTO 5
  IF ~~ THEN REPLY #47927 /* ~Why don't you wander through it yourself and see how fearful it is?~ */ GOTO 2
  IF ~~ THEN REPLY #47928 /* ~An interesting contraption. Would that I had more time to study it.~ */ GOTO 5
END

IF ~~ THEN BEGIN 2 // from: 1.2 1.0
  SAY #47938 /* ~Your demands are unproductive. I must ask that you respond in a helpful manner while you are evaluated.~ */
  IF ~~ THEN GOTO 3
END

IF ~~ THEN BEGIN 3 // from: 2.0
  SAY #47939 /* ~You have no more choice than I. The spells that guide me have been in place for years. If you have issue with them you should take it up with the builder. 
~ */
  IF ~~ THEN GOTO 4
END

IF ~~ THEN BEGIN 4 // from: 3.0
  SAY #47940 /* ~In the meantime, your path is harder.~ */
  IF ~~ THEN DO ~IncrementGlobal("MindTestBad","GLOBAL",1)
StateOverrideFlag(TRUE)
CreateVisualEffectObject("SPCLOUD1",Player1)
CreateVisualEffectObject("SPCLOUD1",Player2)
CreateVisualEffectObject("SPCLOUD1",Player3)
CreateVisualEffectObject("SPCLOUD1",Player4)
CreateVisualEffectObject("SPCLOUD1",Player5)
CreateVisualEffectObject("SPCLOUD1",Player6)
FadeToColor([20.0],0)
Wait(1)
ActionOverride(Player1,LeaveAreaLUAPanic("AR1510","",[449.671],8))
ActionOverride(Player1,LeaveAreaLUA("AR1510","",[449.671],8))
ActionOverride(Player2,LeaveAreaLUA("AR1510","",[400.683],8))
ActionOverride(Player3,LeaveAreaLUA("AR1510","",[498.682],8))
ActionOverride(Player4,LeaveAreaLUA("AR1510","",[364.708],8))
ActionOverride(Player5,LeaveAreaLUA("AR1510","",[445.726],8))
ActionOverride(Player6,LeaveAreaLUA("AR1510","",[534.719],8))
ActionOverride(Player1,CreateVisualEffectObject("SPCLOUD1",Myself))
ActionOverride(Player1,FadeFromColor([20.0],0))
ActionOverride(Player2,CreateVisualEffectObject("SPCLOUD1",Myself))
ActionOverride(Player3,CreateVisualEffectObject("SPCLOUD1",Myself))
ActionOverride(Player4,CreateVisualEffectObject("SPCLOUD1",Myself))
ActionOverride(Player5,CreateVisualEffectObject("SPCLOUD1",Myself))
ActionOverride(Player6,CreateVisualEffectObject("SPCLOUD1",Myself))
ActionOverride(Player1,StateOverrideFlag(FALSE))
ActionOverride(Player1,MultiplayerSync())
~ EXIT
END

IF ~~ THEN BEGIN 5 // from: 1.3 1.1
  SAY #47941 /* ~You display acceptance of circumstance, and have dealt with it as best you could. A good sign, as far as I am capable of judging.~ */
  IF ~~ THEN GOTO 6
END

IF ~~ THEN BEGIN 6 // from: 5.0
  SAY #47942 /* ~The path becomes smoother to reflect your state. Smooth, but not without all danger.~ */
  IF ~~ THEN DO ~IncrementGlobal("MindTestGood","GLOBAL",1)
StateOverrideFlag(TRUE)
CreateVisualEffectObject("SPCLOUD1",Player1)
CreateVisualEffectObject("SPCLOUD1",Player2)
CreateVisualEffectObject("SPCLOUD1",Player3)
CreateVisualEffectObject("SPCLOUD1",Player4)
CreateVisualEffectObject("SPCLOUD1",Player5)
CreateVisualEffectObject("SPCLOUD1",Player6)
FadeToColor([20.0],0)
Wait(1)
ActionOverride(Player1,LeaveAreaLUAPanic("AR1502","",[356.828],10))
ActionOverride(Player1,LeaveAreaLUA("AR1502","",[356.828],10))
ActionOverride(Player2,LeaveAreaLUA("AR1502","",[398.869],10))
ActionOverride(Player3,LeaveAreaLUA("AR1502","",[439.908],10))
ActionOverride(Player4,LeaveAreaLUA("AR1502","",[334.864],10))
ActionOverride(Player5,LeaveAreaLUA("AR1502","",[377.906],10))
ActionOverride(Player6,LeaveAreaLUA("AR1502","",[414.944],10))
ActionOverride(Player1,CreateVisualEffectObject("SPCLOUD1",Myself))
ActionOverride(Player1,FadeFromColor([20.0],0))
ActionOverride(Player2,CreateVisualEffectObject("SPCLOUD1",Myself))
ActionOverride(Player3,CreateVisualEffectObject("SPCLOUD1",Myself))
ActionOverride(Player4,CreateVisualEffectObject("SPCLOUD1",Myself))
ActionOverride(Player5,CreateVisualEffectObject("SPCLOUD1",Myself))
ActionOverride(Player6,CreateVisualEffectObject("SPCLOUD1",Myself))
ActionOverride(Player1,StateOverrideFlag(FALSE))
ActionOverride(Player1,MultiplayerSync())
~ EXIT
END
