// creator  : weidu.exe (version 23600)
// argument : TTSER1.DLG
// game     : .
// source   : ./DATA/TUTORIAL.BIF
// dialog   : lang\en_us/dialog.tlk
// dialogF  : (none)

BEGIN ~TTSER1~
//////////////////////////////////////////////////
// WARNING: this file contains non-trivial WEIGHTs
//////////////////////////////////////////////////

IF WEIGHT #1 /* Triggers after states #: 2 even though they appear after this state */
~  NumberOfTimesTalkedTo(0)
~ THEN BEGIN 0 // from:
  SAY #30141 /* ~Hey there! Wasn't that easy? What I'm going to do now is turn hostile. My circle will turn red, and then you can LEFT-CLICK on me to attack.~ [TTSER101] */
  IF ~~ THEN GOTO 1
END

IF ~~ THEN BEGIN 1 // from: 0.0
  SAY #30143 /* ~All right then! Let's go... Hit me if you can!~ */
  IF ~~ THEN DO ~Enemy()
~ EXIT
END

IF WEIGHT #0 ~  Global("Hit","LOCALS",1)
~ THEN BEGIN 2 // from:
  SAY #30144 /* ~Well done, that was a good hit. Belt will talk with you now.~ [TTSER102] */
  IF ~~ THEN DO ~SetGlobal("Hit","LOCALS",0)
SetGlobal("TutorialLesson","GLOBAL",3)
EscapeArea()
~ EXIT
END
