home *** CD-ROM | disk | FTP | other *** search
/ Level 2004 April / Level_2004-04_112_cda.bin / data1.cab / GameFiles / Modules / Ahkuilon.rvm / forest.s < prev    next >
Encoding:
Text File  |  1999-09-28  |  41.1 KB  |  2,354 lines

  1.  
  2.  
  3. OBJECT "FAIRYENT"
  4. BEGIN
  5.     CUBE 9600,16134,0 9646,16233,100
  6.     BEGIN
  7.         FADESCREENOUT
  8.         WAIT SCREENFADE
  9.         LOCKE.POS 7900 9200 760 39
  10.         FADESCREENIN
  11.     END
  12. END
  13.  
  14.  
  15. OBJECT "AUSTIN"
  16. BEGIN
  17.     CUBE 12190,17514,110 12194,17518,114
  18.     BEGIN
  19.         IF RINGSTATE = 0
  20.         BEGIN
  21.             CONTROL OFF
  22.             PLAYER.PIVOT 64
  23.             CHICK1.TRY CHEER
  24.             SCROLLTO BAEZ
  25.             WAIT 48
  26.             NOWAIT BAEZ.GOTO 12482 17265
  27.             NOWAIT CHICK2.GOTO 12403 17092
  28.             CHICK3.GOTO 12547 17094
  29.             NOWAIT CHICK2.TRY STANDR
  30.             CHICK3.TRY STANDL
  31.             WAIT 24
  32.             BAEZ.TRY WALK
  33.             BAEZ.TRY COMBAT    
  34.             BAEZ.TRY ROAR    
  35.             BAEZ.STAT AGGRESSIVE = 1
  36.             WAIT 24
  37.             SCROLLTO PLAYER
  38.             WAIT 24
  39.             NOWAIT CHICK1.DELETE
  40.             NOWAIT CHICK2.DELETE
  41.             CHICK3.DELETE
  42.             RINGWALL.TOGGLE NOWALK = 0
  43.             NOWAIT CONTROL ON
  44.             SET RINGSTATE = 1
  45.             TOGGLE PAUSE = 1
  46.         END
  47.     END
  48. END
  49.  
  50.  
  51. OBJECT "Shari1"
  52. BEGIN
  53.     DIALOG
  54.     BEGIN
  55.         SETCDVOLUME HALF
  56.         WAIT 1
  57.         CONTROL OFF
  58.         player.STOP
  59.         player.COMBAT OFF
  60.         NOWAIT PIVOTOBJECT player
  61.         player.PIVOTOBJECT SHARIL1
  62.         SAY II23TW300
  63.         SAY II23TW301
  64.         SAY II23TW302
  65.         SAY II23TW303
  66.         PIVOT 30
  67.         CONTROL ON
  68.         SETCDVOLUME FULL
  69.     END
  70. END
  71.  
  72.  
  73.  
  74. OBJECT "Pepper1"
  75. BEGIN
  76.     DIALOG
  77.     BEGIN
  78.         SETCDVOLUME HALF
  79.         WAIT 1
  80.         CONTROL OFF
  81.         player.STOP    
  82.         player.COMBAT OFF
  83.         NOWAIT PIVOTOBJECT player
  84.         player.PIVOTOBJECT PEPPER1
  85.         SAY II23TM500
  86.         SAY II23TM501
  87.         PIVOT 64
  88.         CONTROL ON
  89.         SETCDVOLUME FULL
  90.     END
  91. END
  92.  
  93.  
  94. OBJECT "BOY1"
  95. BEGIN
  96.     DIALOG
  97.     BEGIN
  98.         CONTROL OFF
  99.         player.STOP
  100.         player.COMBAT OFF
  101.         NOWAIT player.PIVOTOBJECT BOY1
  102.         PIVOTOBJECT player
  103.         WAIT 48
  104.         PIVOT 240
  105.         CONTROL ON    
  106.     END
  107. END
  108.  
  109.  
  110. OBJECT "GIRL1"
  111. BEGIN
  112.     DIALOG
  113.     BEGIN
  114.         CONTROL OFF
  115.         player.STOP
  116.         player.COMBAT OFF
  117.         NOWAIT player.PIVOTOBJECT GIRL1
  118.         PIVOTOBJECT player
  119.         WAIT 48
  120.         PIVOT 220
  121.         CONTROL ON    
  122.     END
  123. END
  124.  
  125.  
  126. OBJECT "Lucas1"
  127. BEGIN
  128.     DIALOG
  129.     BEGIN
  130.         SETCDVOLUME HALF
  131.         WAIT 1
  132.         CONTROL OFF
  133.         player.STOP
  134.         player.COMBAT OFF
  135.         NOWAIT player.PIVOTOBJECT LUCAS1
  136.         PIVOTOBJECT player
  137.  
  138.         IF MISTSTATE < 4
  139.         BEGIN
  140.             IF LUCASSTATE = 1
  141.             BEGIN
  142.                 say II11LUC11
  143.             END
  144.             IF LUCASSTATE = 0
  145.             BEGIN
  146.                  player.say II11LOC07
  147.                 say II11LUC00
  148.                 say II11LUC01
  149.                 say II11LUC02
  150.                 say II11LUC03
  151.                 player.say II11LOC08
  152.                 say II11LUC04
  153.                 say II11LUC05
  154.                 say II11LUC06
  155.                 player.say II11LOC09
  156.                 say II11LUC07
  157.                 say II11LUC08
  158.                 player.say II11LOC10
  159.                 say II11LUC09
  160.                 say II11LUC10
  161.                 say II11LUC11
  162.                 player.say II11LOC11
  163.                 say II11LUC12
  164.                 SET LUCASSTATE = 1
  165.                 END
  166.             END
  167.         IF MISTSTATE > 3
  168.         BEGIN
  169.         IF MISTSTATE < 6
  170.         BEGIN
  171.             IF LUCASSTATE = 2
  172.             BEGIN
  173.                 say II21LUC08
  174.             END
  175.             IF LUCASSTATE < 2
  176.             BEGIN
  177.                  say II21LUC00
  178.                 say II21LUC01
  179.                 say II21LUC02
  180.                 player.say II21LOC10
  181.         
  182.                 :Start1
  183.  
  184.                     Choice Boat II21LOC11
  185.                     Choice Hidden II21LOC12
  186.                     wait response
  187.     
  188.                 :Hidden
  189.  
  190.                     player.say II21LOC12
  191.                     say II21LUC03
  192.                     say II21LUC04
  193.                     Jump Start1
  194.     
  195.                 :Boat
  196.         
  197.                     player.say II21LOC11
  198.                     say II21LUC05
  199.                     say II21LUC06
  200.                     player.say II21LOC13
  201.                     say II21LUC07
  202.                     say II21LUC08
  203.                     player.say II21LOC14
  204.                     SET LUCASSTATE = 2
  205.             END
  206.         END
  207.         END
  208.         IF MISTSTATE > 5
  209.         BEGIN
  210.             IF LUCASSTATE = 3
  211.             BEGIN
  212.                 say V8LUC00
  213.                 player.say V8LOC10
  214.             END
  215.             IF LUCASSTATE < 3
  216.             BEGIN
  217.                  say V8LUC00
  218.                 player.say V8LOC10
  219.                 say V8LUC01
  220.                 player.say V8LOC11
  221.                 player.say V8LOC12
  222.                 say V8LUC02
  223.                 say V8LUC03
  224.                 player.say V8LOC13
  225.                 say V8LUC04
  226.                 SET LUCASSTATE = 3
  227.             END
  228.         END
  229.         PIVOT 128
  230.         CONTROL ON
  231.         SETCDVOLUME FULL
  232.     END
  233. END
  234.  
  235.  
  236.  
  237. OBJECT "FORSTYXXTOMB"
  238. BEGIN
  239.     ALWAYS
  240.     BEGIN
  241.         IF THIS.STAT LOCKED = 0
  242.         BEGIN
  243.             STYXXCHEST.TOGGLE NOWALK = 0
  244.             STYXXCHEST.TOGGLE INVISIBLE = 0
  245.             PLAYER.DELINV ROSE
  246.             ADDAT 4268 23080 105 CYANFONT
  247.             TOGGLE PAUSE = 1
  248.         END
  249.         IF THIS.STAT LOCKED = 1
  250.         BEGIN
  251.             STYXXCHEST.TOGGLE NOWALK = 1
  252.             STYXXCHEST.TOGGLE INVISIBLE = 1
  253.             WAIT 24
  254.         END
  255.     END
  256. END
  257.  
  258.  
  259. OBJECT "Olihoot1"
  260. BEGIN
  261.     DIALOG
  262.     BEGIN
  263.         SETCDVOLUME HALF
  264.         WAIT 1
  265.         IF MISTSTATE < 5
  266.         BEGIN
  267.             CONTROL OFF
  268.             player.STOP
  269.             player.COMBAT OFF
  270.             NOWAIT player.PIVOTOBJECT OLIHOOT1
  271.             PIVOTOBJECT player
  272.             IF OLIHOOTSTATE = 1
  273.             BEGIN
  274.                 say III11OLI19
  275.                 TRY "FLOATING"
  276.             END
  277.             IF OLIHOOTSTATE < 1
  278.             BEGIN
  279.                 player.say III11LOC00
  280.                 say III11OLI00
  281.                 player.say III11LOC01
  282.                 say III11OLI01
  283.                 player.say III11LOC02
  284.                 say III11OLI02
  285.                 say III11OLI03
  286.                 player.say III11LOC03
  287.                 say III11OLI04
  288.                 player.say III11LOC04
  289.                 say III11OLI05
  290.                 player.say III11LOC05
  291.                 
  292.                 :Start
  293.  
  294.                     Choice Useful III11LOC06
  295.                     Choice Recover III11LOC07
  296.                     Choice Getthere III11LOC08
  297.                     Choice Nothing III11LOC09
  298.                     wait response
  299.     
  300.                 :Useful
  301.  
  302.                     player.say III11LOC06
  303.                     say III11OLI06
  304.                     say III11OLI07
  305.                     say III11OLI08
  306.                     Jump Start
  307.     
  308.                 :Recover
  309.         
  310.                     player.say III11LOC07
  311.                     say III11OLI09
  312.                     say III11OLI10
  313.                     say III11OLI11
  314.                     say III11OLI12
  315.                     Jump Start
  316.     
  317.                 :Getthere
  318.  
  319.                     player.say III11LOC08
  320.                     say III11OLI13
  321.                     say III11OLI14
  322.                     Jump Start
  323.  
  324.                 :Nothing
  325.  
  326.                     player.say III11LOC09
  327.                     NOWAIT say III11OLI15
  328.                     player.ADDINV "SKY"
  329.                     say III11OLI16
  330.                     say III11OLI17
  331.                     player.say III11LOC10
  332.                     say III11OLI18
  333.                     say III11OLI19
  334.                     TRY "FLOATING"
  335.                     SET OLIHOOTSTATE = 1
  336.             END
  337.         END
  338.         IF MISTSTATE = 5
  339.         BEGIN
  340.             CONTROL OFF
  341.             player.STOP
  342.             player.COMBAT OFF
  343.             NOWAIT player.PIVOTOBJECT OLIHOOT1
  344.             PIVOTOBJECT player
  345.             IF OLIHOOTSTATE = 2
  346.             BEGIN
  347.                 say III13OLI17
  348.                 say III13OLI18
  349.                 TRY "FLOATING"
  350.             END
  351.             IF OLIHOOTSTATE < 2
  352.             BEGIN
  353.                  say III13OLI00
  354.                 
  355.                 :Start2
  356.  
  357.                     Choice Quest III13LOC00
  358.                     Choice Caves III13LOC01
  359.                     Choice Help III13LOC02
  360.                     wait response
  361.     
  362.                 :Quest
  363.  
  364.                     player.say III13LOC00
  365.                     say III13OLI01
  366.                     say III13OLI02
  367.                     Jump Start2
  368.  
  369.                 :Caves
  370.         
  371.                     player.say III13LOC01
  372.                     say III13OLI05
  373.                     player.say III13LOC03
  374.                     say III13OLI06
  375.                     say III13OLI07
  376.                     Jump Start3
  377.     
  378.                 :Help
  379.                     player.say III13LOC02
  380.                     say III13OLI03
  381.                     say III13OLI04
  382.                     Jump Start2
  383.     
  384.                 :Start3
  385.  
  386.                     Choice Killer III13LOC04
  387.                     Choice Treasure III13LOC05
  388.                     Choice Fools III13LOC06
  389.                     wait response
  390.     
  391.                 :Killer
  392.  
  393.                     player.say III13LOC04
  394.                     say III13OLI08
  395.                     say III13OLI09
  396.                     Jump Start3
  397.  
  398.                 :Treasure
  399.  
  400.                     player.say III13LOC05
  401.                     say III13OLI10
  402.                     say III13OLI11
  403.                     Jump Start3
  404.  
  405.                 :Fools
  406.  
  407.                     player.say III13LOC06
  408.                     say III13OLI12
  409.                     say III13OLI13
  410.                     say III13OLI14
  411.                     say III13OLI15
  412.                     player.say III13LOC07
  413.                     say III13OLI16
  414.                     say III13OLI17
  415.                     say III13OLI18
  416.                     TRY "FLOATING"
  417.                     SET OLIHOOTSTATE = 2
  418.                 END
  419.             END
  420.         IF MISTSTATE = 6
  421.         BEGIN
  422.             CONTROL OFF
  423.             player.STOP
  424.             player.COMBAT OFF
  425.             NOWAIT player.PIVOTOBJECT OLIHOOT1
  426.             PIVOTOBJECT player
  427.  
  428.             IF OLIHOOTSTATE = 3
  429.             BEGIN
  430.                 say III14OLI17
  431.                 TRY "FLOATING"
  432.             END
  433.             IF OLIHOOTSTATE < 3
  434.             BEGIN
  435.                  player.say III14LOC00
  436.                 say III14OLI00
  437.                 player.say III14LOC01
  438.                 say III14OLI01
  439.                 player.say III14LOC02
  440.                 say III14OLI02
  441.                 say III14OLI03
  442.                 
  443.                 :Start4
  444.  
  445.                     Choice Why III14LOC03
  446.                     Choice Empire III14LOC04
  447.                     Choice Vision III14LOC05
  448.                     wait response
  449.     
  450.                 :Vision
  451.  
  452.                     player.say III14LOC05
  453.                     say III14OLI04
  454.                 
  455.                 :Why
  456.         
  457.                     player.say III14LOC03
  458.                     say III14OLI05
  459.                     say III14OLI06
  460.                     player.say III14LOC06
  461.                     say III14OLI07
  462.                     say III14OLI08
  463.                     say III14OLI09
  464.                     player.say III14LOC07
  465.                     say III14OLI10
  466.                     Jump Start5
  467.     
  468.                 :Empire
  469.         
  470.                     player.say III14LOC04
  471.                     say III14OLI05
  472.                     say III14OLI06
  473.                     player.say III14LOC06
  474.                     say III14OLI07
  475.                     say III14OLI08
  476.                     say III14OLI09
  477.                     player.say III14LOC07
  478.                     say III14OLI10
  479.                         
  480.                 :Start5
  481.  
  482.                     Choice Something III14LOC08
  483.                     Choice Cav III14LOC09
  484.                     wait response
  485.     
  486.                 :Cav
  487.  
  488.                     player.say III14LOC09
  489.                     say III14OLI11
  490.                     say III14OLI12
  491.                             
  492.                 :Something
  493.  
  494.                     player.say III14LOC08
  495.                     player.say III14LOC10
  496.                     player.say III14LOC11
  497.                     player.say III14LOC12
  498.                     player.say III14LOC13
  499.                     say III14OLI13
  500.                     say III14OLI14
  501.                     say III14OLI16
  502.                     player.say III14LOC14
  503.                     say III14OLI17
  504.                     TRY "FLOATING"
  505.                     SET OLIHOOTSTATE = 3
  506.             END
  507.         END
  508.         IF MISTSTATE = 7
  509.         BEGIN
  510.             CONTROL OFF
  511.             player.STOP
  512.             player.COMBAT OFF
  513.             player.GOTO 5857 24869
  514.             NOWAIT player.PIVOTOBJECT OLIHOOT1
  515.             PIVOTOBJECT player
  516.             player.say III15LOC00
  517.             say III15OLI00
  518.             player.say III15LOC01
  519.             say III15OLI01
  520.             say III15OLI02
  521.             say III15OLI03
  522.             player.say III15LOC02
  523.             player.say III15LOC03
  524.             say III15OLI04
  525.             player.say III15LOC04
  526.             player.say III15LOC05
  527.             player.say III15LOC06
  528.             say III15OLI05
  529.             player.say III15LOC07
  530.             say III15OLI06
  531.             say III15OLI07
  532.             say III15OLI08
  533.             say III15OLI09
  534.             say III15OLI10
  535.             say III15OLI11
  536.             Sardok9.POS 5742 24924 35
  537.             NOWAIT SARDOK9.TOGGLE INVISIBLE
  538.             NOWAIT FADECHARACTERIN SARDOK9
  539.             NOWAIT SARDOK9.TRY SPELL
  540.             ADDAT 5742 24924 35 TELEPORTER
  541.             SARDOK9.STAT MANA = 1000
  542.             WAIT 24
  543.             NOWAIT PIVOTOBJECT SARDOK9
  544.             player.PIVOTOBJECT SARDOK9
  545.             WAIT 48
  546.             SARDOK9.PIVOTOBJECT OLIHOOT1
  547.             SARDOK9.say III15SAR00
  548.             WAIT 24
  549.             NOWAIT SARDOK9.CAST "napalm"
  550.             NOWAIT SARDOK9.TRY spell
  551.             player.PIVOTOBJECT OLIHOOT1
  552.             BURN
  553.             NOWAIT PLAY III15OLI12
  554.             BURN
  555.             STATE 9
  556.             TRY DEAD
  557.             player.PIVOTOBJECT SARDOK9
  558.             NOWAIT player.say III15LOC08
  559.             NOWAIT SARDOK9.PIVOTOBJECT playeR
  560.             FADECHARACTEROUT OLIHOOT1
  561.             WAIT 24
  562.             Sardok9.say III15SAR01
  563.             player.say III15LOC09
  564.             OLIHOOT1.TOGGLE INVISIBLE = 1
  565.             OLIHOOT1.POS 5744 24800 35
  566.             Sardok9.say III15SAR02
  567.             Sardok9.say III15SAR03
  568.             player.say III15LOC10
  569.             Sardok9.say III15SAR04
  570.             Sardok9.say III15SAR05
  571.             NOWAIT SARDOK9.TRY SPELL
  572.             ADDAT 5742 24924 35 TELEPORTER
  573.             
  574.             //ADDAT 5857 24869 35 TELEPORTER
  575.             
  576.             WAIT 48
  577.             SARDOK9.TOGGLE INVISIBLE = 1
  578.             SARDOK9.POS 5622 24734 46
  579.             
  580.             //FADESCREENOUT
  581.             //CONTROL ON
  582.             //WAIT SCREENFADE
  583.             //FADESCREENIN
  584.             //player.POS 11973 9645 304 2
  585.         
  586.         END
  587.         
  588.         CONTROL ON
  589.         SETCDVOLUME FULL
  590.     END
  591.     ALWAYS
  592.     BEGIN
  593.         TRY "FLOATING"
  594.         WAIT 24
  595.     END    
  596. END
  597.  
  598. //    TOWN
  599.  
  600.  
  601. OBJECT "KEEPIN"
  602. BEGIN
  603.     USE
  604.     BEGIN
  605.         CONTROL OFF
  606.         player.STOP
  607.         player.COMBAT OFF
  608.         player.GOTORELATIVEPOSITION THIS 0 60
  609.         player.FACEOBJECT THIS
  610.          STATE "OPENING"
  611.         WAIT 12
  612.         FADESCREENOUT
  613.         WAIT SCREENFADE
  614.         CONTROL ON
  615.         FADESCREENIN
  616.         player.POS 12212 12688 161 2
  617.         STATE "CLOSED"
  618.         STATE "CLOSED"
  619.     END
  620. END
  621.  
  622.  
  623. OBJECT "TOWERIN"
  624. BEGIN
  625.     USE
  626.     BEGIN
  627.         CONTROL OFF
  628.         player.STOP
  629.         player.COMBAT OFF
  630.         player.GOTORELATIVEPOSITION THIS 60 0
  631.         player.FACEOBJECT THIS
  632.          STATE "OPENING"
  633.         WAIT 12
  634.         FADESCREENOUT
  635.         WAIT SCREENFADE
  636.         CONTROL ON
  637.         FADESCREENIN
  638.         player.POS 10412 10080 18 3
  639.         STATE "CLOSED"
  640.         STATE "CLOSED"
  641.     END
  642. END
  643.  
  644.  
  645. OBJECT "Jong1"
  646. BEGIN
  647.     DATA
  648.     BEGIN
  649.         NUMBER MUDOX1 0
  650.         NUMBER MUDOY1 0
  651.     END
  652.     DIALOG
  653.     BEGIN
  654.         IF TRAINSTATE = 1
  655.         BEGIN
  656.             JUMP NOCOMPLETE1
  657.         END
  658.         IF TRAINSTATE = 2
  659.         BEGIN
  660.             JUMP NOCOMPLETE2
  661.         END
  662.         IF TRAINSTATE = 3
  663.         BEGIN
  664.             JUMP NOCOMPLETE3
  665.         END
  666.         IF TRAINSTATE = 4
  667.         BEGIN
  668.             JUMP NOCOMPLETE4
  669.         END
  670.         IF TRAINSTATE = 5
  671.         BEGIN
  672.             JUMP NOCOMPLETE5
  673.         END
  674.         IF TRAINSTATE = 6
  675.         BEGIN
  676.             JUMP NOCOMPLETE6
  677.         END
  678.         IF TRAINSTATE = 7
  679.         BEGIN
  680.             JUMP NOCOMPLETE7
  681.         END
  682.         IF TRAINSTATE = 8
  683.         BEGIN
  684.             JUMP NOCOMPLETE8
  685.         END
  686.         IF TRAINSTATE = 9
  687.         BEGIN
  688.             JUMP NOCOMPLETE9
  689.         END
  690.         
  691.         SETCDVOLUME HALF
  692.         WAIT 1
  693.         SET MUDOKONSTATE = 1
  694.         COMBAT2IN.STAT LOCKED = 1
  695.         CONTROL OFF
  696.         player.STOP
  697.         player.COMBAT OFF
  698.         player.GOTORELATIVEPOSITION JONGWAY00 0 80
  699.         NOWAIT player.PIVOTOBJECT JONG1
  700.         
  701.         IF JONGMEETSTATE = 1
  702.         BEGIN
  703.             IF MISTSTATE < 4
  704.             BEGIN
  705.                 SAY II6JON00
  706.                 
  707.                 :START
  708.         
  709.                 CHOICE SPARYES SPAR
  710.                 CHOICE COMBAT FIGHT
  711.                 WAIT RESPONSE
  712.             END
  713.             IF MISTSTATE > 3
  714.             BEGIN
  715.                 IF MISTSTATE < 6
  716.                 BEGIN
  717.                     SAY II14JON00
  718.                     player.SAY II14LOC00
  719.                     SAY II14JON01
  720.                     SAY II14JON02
  721.                     :START2
  722.         
  723.                     CHOICE SPARYES SPAR
  724.                     CHOICE COMBAT FIGHT
  725.                     WAIT RESPONSE
  726.                 END
  727.             END
  728.             IF MISTSTATE = 6
  729.             BEGIN
  730.                 SAY V2JON00
  731.                 :START3
  732.         
  733.                 CHOICE SPARYES SPAR
  734.                 CHOICE COMBAT FIGHT
  735.                 WAIT RESPONSE
  736.             END
  737.             IF MISTSTATE = 7
  738.             BEGIN
  739.                 player.SAY VIII3LOC00
  740.                 SAY VIII3JON00
  741.                 player.SAY VIII3LOC01
  742.                 SAY VIII3JON01
  743.                 player.SAY VIII3LOC02
  744.                 player.SAY VIII3LOC03
  745.                 SAY VIII3JON02
  746.                 player.SAY VIII3LOC04
  747.                 SAY VIII3JON03
  748.                 player.SAY VIII3LOC05
  749.                 :START4
  750.         
  751.                 CHOICE SPARYES SPAR
  752.                 CHOICE COMBAT FIGHT
  753.                 WAIT RESPONSE
  754.             END
  755.         END
  756.         IF JONGMEETSTATE < 1
  757.         BEGIN
  758.             player.SAY II2LOC00
  759.             SAY II2JON00
  760.             player.SAY II2LOC01
  761.             SAY II2JON01
  762.             player.SAY II2LOC02
  763.             SAY II2JON02
  764.             SAY II2JON03
  765.             player.TRY combat
  766.             WAIT 48
  767.             SAY II2JON04
  768.             SAY II2JON05
  769.             SAY II2JON06
  770.             SAY II2JON07
  771.             SAY II2JON08
  772.             SAY II2JON09
  773.             SAY II2JON10
  774.             SAY II2JON11
  775.             player.SAY ANIM COMBAT II2LOC03
  776.             PLAYER.TRY WALK
  777.             WAIT 12
  778.             SAY II2JON12
  779.             player.SAY II2LOC04
  780.             SAY II2JON13
  781.             SAY II2JON14
  782.             SAY II2JON15
  783.             player.SAY II2LOC05
  784.             SET JONGMEETSTATE = 1
  785.         END
  786.  
  787.         
  788. //    *****  player PRACTICES NEW COMBAT MOVES  *****
  789.  
  790.         :COMBAT
  791.  
  792.  
  793.  
  794. //    *****  THE CHARGING THRUST - LEVEL 1 REQUIREMENT  *****
  795.  
  796.         IF player.STAT LEVEL > 0
  797.         BEGIN
  798.         IF player.STAT ATTACKLEVEL < 1
  799.         BEGIN
  800.             player.STAT ATTACKLEVEL = 1
  801.             SAY II2JON16
  802.             WAIT 24
  803.             SET JONGLOOKSTATE = 2
  804.             SET EQUIPSTATE = 1
  805.                     
  806.             //    *****    REPOSITION MUDUKON IF OUT OF RANGE  *****
  807.             NOWAIT SETPROTOVARIABLE MUDOX1 = MUDOKON1.POSITION.X
  808.             SETPROTOVARIABLE MUDOY1 = MUDOKON1.POSITION.Y
  809.             IF MUDOX1 > 1114
  810.             BEGIN
  811.             IF MUDOX1 < 1200
  812.             BEGIN
  813.             IF MUDOY1 > 29852
  814.             BEGIN
  815.             IF MUDOY1 < 29952
  816.             BEGIN
  817.                 JUMP REPOS1
  818.             END
  819.             END
  820.             END
  821.             END
  822.  
  823.             TRY CASTSPELL
  824.             NOWAIT FADECHARACTEROUT MUDOKON1
  825.             ADDAT MUDOX1 MUDOY1 FIREFLASH
  826.             WAIT 48
  827.             MUDOKON1.POS 1155 29902 17
  828.             WAIT 48
  829.             NOWAIT FADECHARACTERIN MUDOKON1
  830.             ADDAT 1155 29902 FIREFLASH
  831.  
  832.             :REPOS1
  833.  
  834.             GOTORELATIVEPOSITION MUDOKON1 -150 0
  835.             SCROLLTO JONG1
  836.             MESSAGE JONGM1
  837.             MESSAGE JONGM1B
  838.             PIVOTOBJECT MUDOKON1
  839.             TOGGLE AI = 0
  840.             BEGINFIGHTING MUDOKON1
  841.             WAIT 48
  842.             NOWAIT SPECIFICATTACK 25
  843.             WAIT 48
  844.             TOGGLE AI = 1
  845.             COMBAT OFF
  846.             WAIT 12
  847.             GOTORELATIVEPOSITION JONGWAY00 0 0
  848.             NOWAIT pivotobject player
  849.             SCROLLTO player
  850.             WAIT 24
  851.             SET TRAINSTATE = 1
  852.             CONTROL ON
  853.             SET JONGLOOKSTATE = 1
  854.             
  855.             :nocomplete1
  856.             
  857.             if player.lastattack = "CHARGETHRUST"
  858.             begin
  859.                 jump complete1
  860.             end
  861.             
  862.             wait 4    
  863.             jump nocomplete1
  864.  
  865.             :complete1
  866.             
  867.             MESSAGE "EXCELLENT !"
  868.             CONTROL OFF
  869.             PLAYER.STOP
  870.             WAIT 24
  871.             player.TRY WALK
  872.             SET EQUIPSTATE = 0
  873.             SET TRAINSTATE = 0
  874.             WAIT 24
  875.             player.PIVOTOBJECT JONG1
  876.             NOWAIT TRY CLAPPING
  877.             player.TRY BOWING
  878.             WAIT 12
  879.             player.GOTORELATIVEPOSITION JONGWAY00 0 80
  880.             player.PIVOTOBJECT JONG1
  881.             player.UNEQUIP "TRAINING SWORD"
  882.             WAIT 24
  883.             player.DELINV "TRAINING SWORD"
  884.             SET LEARNSTATE = 1
  885.         END
  886.         END
  887.  
  888.  
  889. //    *****  THE SPINNING SLASH - LEVEL 3 REQUIREMENT  *****
  890.  
  891.         IF player.STAT LEVEL > 2
  892.         BEGIN
  893.         IF player.STAT ATTACKLEVEL < 3
  894.         BEGIN
  895.             player.STAT ATTACKLEVEL = 3
  896.             SAY II2JON16
  897.             WAIT 24
  898.             SET JONGLOOKSTATE = 2
  899.             SET EQUIPSTATE = 1
  900.             
  901.             //    *****    REPOSITION MUDUKON IF OUT OF RANGE  *****
  902.             NOWAIT SETPROTOVARIABLE MUDOX1 = MUDOKON1.POSITION.X
  903.             SETPROTOVARIABLE MUDOY1 = MUDOKON1.POSITION.Y
  904.             IF MUDOX1 > 1114
  905.             BEGIN
  906.             IF MUDOX1 < 1200
  907.             BEGIN
  908.             IF MUDOY1 > 29852
  909.             BEGIN
  910.             IF MUDOY1 < 29952
  911.             BEGIN
  912.                 JUMP REPOS2
  913.             END
  914.             END
  915.             END
  916.             END
  917.  
  918.             TRY CASTSPELL
  919.             NOWAIT FADECHARACTEROUT MUDOKON1
  920.             ADDAT MUDOX1 MUDOY1 FIREFLASH
  921.             WAIT 48
  922.             MUDOKON1.POS 1155 29902 17
  923.             WAIT 48
  924.             NOWAIT FADECHARACTERIN MUDOKON1
  925.             ADDAT 1155 29902 FIREFLASH
  926.  
  927.             :REPOS2
  928.  
  929.             GOTORELATIVEPOSITION MUDOKON1 -120 0
  930.             SCROLLTO JONG1
  931.             MESSAGE JONGM2
  932.             MESSAGE JONGM2B
  933.             PIVOTOBJECT MUDOKON1
  934.             TOGGLE AI = 0
  935.             BEGINFIGHTING MUDOKON1
  936.             WAIT 48
  937.             NOWAIT SPECIFICATTACK 26
  938.             WAIT 48
  939.             TOGGLE AI = 1
  940.             COMBAT OFF
  941.             WAIT 12
  942.             GOTORELATIVEPOSITION JONGWAY00 0 0
  943.             pivotobject player
  944.             SCROLLTO player
  945.             WAIT 12
  946.             SET TRAINSTATE = 2
  947.             CONTROL ON
  948.             SET JONGLOOKSTATE = 1
  949.             
  950.             :nocomplete2
  951.             
  952.             if player.lastattack = "SPINSWING"
  953.             begin
  954.                 jump complete2
  955.             end
  956.             
  957.             wait 4    
  958.             jump nocomplete2
  959.  
  960.             :complete2
  961.             
  962.             MESSAGE "EXCELLENT !"
  963.             CONTROL OFF
  964.             PLAYER.STOP
  965.             WAIT 24
  966.             player.TRY WALK
  967.             SET EQUIPSTATE = 0
  968.             SET TRAINSTATE = 0
  969.             WAIT 24
  970.             player.PIVOTOBJECT JONG1
  971.             NOWAIT TRY CLAPPING
  972.             player.TRY BOWING
  973.             WAIT 12
  974.             player.GOTORELATIVEPOSITION JONGWAY00 0 80
  975.             player.PIVOTOBJECT JONG1
  976.             player.UNEQUIP "TRAINING SWORD"
  977.             WAIT 24
  978.             player.DELINV "TRAINING SWORD"
  979.             SET LEARNSTATE = 1
  980.         END
  981.         END
  982.  
  983.  
  984. //    *****  THE JUMPING CHOP - LEVEL 6 REQUIREMENT  *****
  985.  
  986.         IF player.STAT LEVEL > 5
  987.         BEGIN
  988.         IF player.STAT ATTACKLEVEL < 6
  989.         BEGIN
  990.             player.STAT ATTACKLEVEL = 6
  991.             SAY II2JON16
  992.             WAIT 24
  993.             SET JONGLOOKSTATE = 2
  994.             SET EQUIPSTATE = 1
  995.             
  996.             //    *****    REPOSITION MUDUKON IF OUT OF RANGE  *****
  997.             NOWAIT SETPROTOVARIABLE MUDOX1 = MUDOKON1.POSITION.X
  998.             SETPROTOVARIABLE MUDOY1 = MUDOKON1.POSITION.Y
  999.             IF MUDOX1 > 1114
  1000.             BEGIN
  1001.             IF MUDOX1 < 1200
  1002.             BEGIN
  1003.             IF MUDOY1 > 29852
  1004.             BEGIN
  1005.             IF MUDOY1 < 29952
  1006.             BEGIN
  1007.                 JUMP REPOS3
  1008.             END
  1009.             END
  1010.             END
  1011.             END
  1012.  
  1013.             TRY CASTSPELL
  1014.             NOWAIT FADECHARACTEROUT MUDOKON1
  1015.             ADDAT MUDOX1 MUDOY1 FIREFLASH
  1016.             WAIT 48
  1017.             MUDOKON1.POS 1155 29902 17
  1018.             WAIT 48
  1019.             NOWAIT FADECHARACTERIN MUDOKON1
  1020.             ADDAT 1155 29902 FIREFLASH
  1021.  
  1022.             :REPOS3
  1023.  
  1024.             GOTORELATIVEPOSITION MUDOKON1 -160 0
  1025.             SCROLLTO JONG1
  1026.             MESSAGE JONGM3
  1027.             MESSAGE JONGM3B
  1028.             PIVOTOBJECT MUDOKON1
  1029.             TOGGLE AI = 0
  1030.             BEGINFIGHTING MUDOKON1
  1031.             WAIT 48
  1032.             NOWAIT SPECIFICATTACK 27
  1033.             WAIT 48
  1034.             TOGGLE AI = 1
  1035.             COMBAT OFF
  1036.             WAIT 12
  1037.             GOTORELATIVEPOSITION JONGWAY00 0 0
  1038.             pivotobject player
  1039.             SCROLLTO player
  1040.             WAIT 12
  1041.             SET TRAINSTATE = 3
  1042.             CONTROL ON
  1043.             SET JONGLOOKSTATE = 1
  1044.             
  1045.             :nocomplete3
  1046.             
  1047.             if player.lastattack = "JUMPCHOP"
  1048.             begin
  1049.                 jump complete3
  1050.             end
  1051.             
  1052.             wait 4    
  1053.             jump nocomplete3
  1054.  
  1055.             :complete3
  1056.             
  1057.             MESSAGE "EXCELLENT !"
  1058.             CONTROL OFF
  1059.             PLAYER.STOP
  1060.             WAIT 24
  1061.             player.TRY WALK
  1062.             SET EQUIPSTATE = 0
  1063.             SET TRAINSTATE = 0
  1064.             WAIT 24
  1065.             player.PIVOTOBJECT JONG1
  1066.             NOWAIT TRY CLAPPING
  1067.             player.TRY BOWING
  1068.             WAIT 12
  1069.             player.GOTORELATIVEPOSITION JONGWAY00 0 80
  1070.             player.PIVOTOBJECT JONG1
  1071.             player.UNEQUIP "TRAINING SWORD"
  1072.             WAIT 24
  1073.             player.DELINV "TRAINING SWORD"
  1074.             SET LEARNSTATE = 1
  1075.         END
  1076.         END
  1077.  
  1078.  
  1079.  
  1080. //    *****  COMBO A - LEVEL 9 REQUIREMENT *****
  1081.  
  1082.         IF player.STAT LEVEL > 8
  1083.         BEGIN
  1084.         IF player.STAT ATTACKLEVEL < 9
  1085.         BEGIN
  1086.             player.STAT ATTACKLEVEL = 9
  1087.             SAY II2JON16
  1088.             WAIT 24
  1089.             SET JONGLOOKSTATE = 2
  1090.             SET EQUIPSTATE = 1
  1091.             
  1092.             //    *****    REPOSITION MUDUKON IF OUT OF RANGE  *****
  1093.             NOWAIT SETPROTOVARIABLE MUDOX1 = MUDOKON1.POSITION.X
  1094.             SETPROTOVARIABLE MUDOY1 = MUDOKON1.POSITION.Y
  1095.             IF MUDOX1 > 1114
  1096.             BEGIN
  1097.             IF MUDOX1 < 1200
  1098.             BEGIN
  1099.             IF MUDOY1 > 29852
  1100.             BEGIN
  1101.             IF MUDOY1 < 29952
  1102.             BEGIN
  1103.                 JUMP REPOS4
  1104.             END
  1105.             END
  1106.             END
  1107.             END
  1108.  
  1109.             TRY CASTSPELL
  1110.             NOWAIT FADECHARACTEROUT MUDOKON1
  1111.             ADDAT MUDOX1 MUDOY1 FIREFLASH
  1112.             WAIT 48
  1113.             MUDOKON1.POS 1155 29902 17
  1114.             WAIT 48
  1115.             NOWAIT FADECHARACTERIN MUDOKON1
  1116.             ADDAT 1155 29902 FIREFLASH
  1117.  
  1118.             :REPOS4
  1119.  
  1120.             GOTORELATIVEPOSITION MUDOKON1 -120 0
  1121.             SCROLLTO JONG1
  1122.             MESSAGE JONGM4
  1123.             MESSAGE JONGM4B
  1124.             PIVOTOBJECT MUDOKON1
  1125.             TOGGLE AI = 0
  1126.             BEGINFIGHTING MUDOKON1
  1127.             WAIT 48
  1128.             NOWAIT GOTORELATIVEPOSITION MUDOKON1 -100 0
  1129.             WAIT 12
  1130.             NOWAIT SPECIFICATTACK 0
  1131.             WAIT 24
  1132.             NOWAIT SPECIFICATTACK 1
  1133.             WAIT 48
  1134.             TOGGLE AI = 1
  1135.             COMBAT OFF
  1136.             WAIT 12
  1137.             GOTORELATIVEPOSITION JONGWAY00 0 0
  1138.             pivotobject player
  1139.             SCROLLTO player
  1140.             WAIT 12
  1141.             SET TRAINSTATE = 4
  1142.             CONTROL ON
  1143.             SET JONGLOOKSTATE = 1
  1144.             
  1145.             :nocomplete4
  1146.             
  1147.             if player.lastattack = "COMBOA2"
  1148.             begin
  1149.                 jump complete4
  1150.             end
  1151.             
  1152.             wait 4    
  1153.             jump nocomplete4
  1154.  
  1155.             :complete4
  1156.             
  1157.             MESSAGE "EXCELLENT !"
  1158.             CONTROL OFF
  1159.             PLAYER.STOP
  1160.             WAIT 24
  1161.             player.TRY WALK
  1162.             SET EQUIPSTATE = 0
  1163.             SET TRAINSTATE = 0
  1164.             WAIT 24
  1165.             player.PIVOTOBJECT JONG1
  1166.             NOWAIT TRY CLAPPING
  1167.             player.TRY BOWING
  1168.             WAIT 12
  1169.             player.GOTORELATIVEPOSITION JONGWAY00 0 80
  1170.             player.PIVOTOBJECT JONG1
  1171.             player.UNEQUIP "TRAINING SWORD"
  1172.             WAIT 24
  1173.             player.DELINV "TRAINING SWORD"
  1174.             SET LEARNSTATE = 1
  1175.         END
  1176.         END
  1177.  
  1178. //    *****  THRUST COMBO - LEVEL 12 REQUIREMENT *****
  1179.  
  1180.         IF player.STAT LEVEL > 11
  1181.         BEGIN
  1182.         IF player.STAT ATTACKLEVEL < 12
  1183.         BEGIN
  1184.             player.STAT ATTACKLEVEL = 12
  1185.             SAY II2JON16
  1186.             WAIT 24
  1187.             SET JONGLOOKSTATE = 2
  1188.             SET EQUIPSTATE = 1
  1189.             
  1190.             //    *****    REPOSITION MUDUKON IF OUT OF RANGE  *****
  1191.             NOWAIT SETPROTOVARIABLE MUDOX1 = MUDOKON1.POSITION.X
  1192.             SETPROTOVARIABLE MUDOY1 = MUDOKON1.POSITION.Y
  1193.             IF MUDOX1 > 1114
  1194.             BEGIN
  1195.             IF MUDOX1 < 1200
  1196.             BEGIN
  1197.             IF MUDOY1 > 29852
  1198.             BEGIN
  1199.             IF MUDOY1 < 29952
  1200.             BEGIN
  1201.                 JUMP REPOS5
  1202.             END
  1203.             END
  1204.             END
  1205.             END
  1206.  
  1207.             TRY CASTSPELL
  1208.             NOWAIT FADECHARACTEROUT MUDOKON1
  1209.             ADDAT MUDOX1 MUDOY1 FIREFLASH
  1210.             WAIT 48
  1211.             MUDOKON1.POS 1155 29902 17
  1212.             WAIT 48
  1213.             NOWAIT FADECHARACTERIN MUDOKON1
  1214.             ADDAT 1155 29902 FIREFLASH
  1215.  
  1216.             :REPOS5
  1217.  
  1218.             GOTORELATIVEPOSITION MUDOKON1 -130 0
  1219.             SCROLLTO JONG1
  1220.             MESSAGE JONGM5
  1221.             MESSAGE JONGM5B
  1222.             PIVOTOBJECT MUDOKON1
  1223.             TOGGLE AI = 0
  1224.             BEGINFIGHTING MUDOKON1
  1225.             WAIT 48
  1226.             NOWAIT GOTORELATIVEPOSITION MUDOKON1 -120 0
  1227.             WAIT 12
  1228.             NOWAIT SPECIFICATTACK 10
  1229.             WAIT 24
  1230.             NOWAIT SPECIFICATTACK 11
  1231.             WAIT 2
  1232.             NOWAIT SPECIFICATTACK 12
  1233.             WAIT 48
  1234.             TOGGLE AI = 1
  1235.             COMBAT OFF
  1236.             WAIT 12
  1237.             GOTORELATIVEPOSITION JONGWAY00 0 0
  1238.             pivotobject player
  1239.             SCROLLTO player
  1240.             WAIT 12
  1241.             SET TRAINSTATE = 5
  1242.             CONTROL ON
  1243.             SET JONGLOOKSTATE = 1
  1244.             
  1245.             :nocomplete5
  1246.             
  1247.             if player.lastattack = "THRUSTCHAIN3"
  1248.             begin
  1249.                 jump complete5
  1250.             end
  1251.             
  1252.             wait 4    
  1253.             jump nocomplete5
  1254.  
  1255.             :complete5
  1256.             
  1257.             MESSAGE "EXCELLENT !"
  1258.             CONTROL OFF
  1259.             PLAYER.STOP
  1260.             WAIT 24
  1261.             player.TRY WALK
  1262.             SET EQUIPSTATE = 0
  1263.             SET TRAINSTATE = 0
  1264.             WAIT 24
  1265.             player.PIVOTOBJECT JONG1
  1266.             NOWAIT TRY CLAPPING
  1267.             player.TRY BOWING
  1268.             WAIT 12
  1269.             player.GOTORELATIVEPOSITION JONGWAY00 0 80
  1270.             player.PIVOTOBJECT JONG1
  1271.             player.UNEQUIP "TRAINING SWORD"
  1272.             WAIT 24
  1273.             player.DELINV "TRAINING SWORD"
  1274.             SET LEARNSTATE = 1
  1275.         END
  1276.         END
  1277.  
  1278.  
  1279.  
  1280. //    *****  SWING COMBO - LEVEL 15 REQUIREMENT
  1281.  
  1282.         IF player.STAT LEVEL > 14
  1283.         BEGIN
  1284.         IF player.STAT ATTACKLEVEL < 15
  1285.         BEGIN
  1286.             player.STAT ATTACKLEVEL = 15
  1287.             SAY II2JON16
  1288.             WAIT 24
  1289.             SET JONGLOOKSTATE = 2
  1290.             SET EQUIPSTATE = 1
  1291.             
  1292.             //    *****    REPOSITION MUDUKON IF OUT OF RANGE  *****
  1293.             NOWAIT SETPROTOVARIABLE MUDOX1 = MUDOKON1.POSITION.X
  1294.             SETPROTOVARIABLE MUDOY1 = MUDOKON1.POSITION.Y
  1295.             IF MUDOX1 > 1114
  1296.             BEGIN
  1297.             IF MUDOX1 < 1200
  1298.             BEGIN
  1299.             IF MUDOY1 > 29852
  1300.             BEGIN
  1301.             IF MUDOY1 < 29952
  1302.             BEGIN
  1303.                 JUMP REPOS6
  1304.             END
  1305.             END
  1306.             END
  1307.             END
  1308.  
  1309.             TRY CASTSPELL
  1310.             NOWAIT FADECHARACTEROUT MUDOKON1
  1311.             ADDAT MUDOX1 MUDOY1 FIREFLASH
  1312.             WAIT 48
  1313.             MUDOKON1.POS 1155 29902 17
  1314.             WAIT 48
  1315.             NOWAIT FADECHARACTERIN MUDOKON1
  1316.             ADDAT 1155 29902 FIREFLASH
  1317.  
  1318.             :REPOS6
  1319.  
  1320.             GOTORELATIVEPOSITION MUDOKON1 -130 0
  1321.             SCROLLTO JONG1
  1322.             MESSAGE JONGM6
  1323.             MESSAGE JONGM6B
  1324.             PIVOTOBJECT MUDOKON1
  1325.             TOGGLE AI = 0
  1326.             BEGINFIGHTING MUDOKON1
  1327.             WAIT 48
  1328.             NOWAIT GOTORELATIVEPOSITION MUDOKON1 -120 0
  1329.             WAIT 12
  1330.             NOWAIT SPECIFICATTACK 13
  1331.             WAIT 24
  1332.             NOWAIT SPECIFICATTACK 14
  1333.             WAIT 2
  1334.             NOWAIT SPECIFICATTACK 15
  1335.             WAIT 48
  1336.             TOGGLE AI = 1
  1337.             COMBAT OFF
  1338.             WAIT 12
  1339.             GOTORELATIVEPOSITION JONGWAY00 0 0
  1340.             pivotobject player
  1341.             SCROLLTO player
  1342.             WAIT 12
  1343.             SET TRAINSTATE = 6
  1344.             CONTROL ON
  1345.             SET JONGLOOKSTATE = 1
  1346.             
  1347.             :nocomplete6
  1348.             
  1349.             if player.lastattack = "SWINGCHAIN3"
  1350.             begin
  1351.                 jump complete6
  1352.             end
  1353.             
  1354.             wait 4    
  1355.             jump nocomplete6
  1356.  
  1357.             :complete6
  1358.             
  1359.             MESSAGE "EXCELLENT !"
  1360.             CONTROL OFF
  1361.             PLAYER.STOP
  1362.             WAIT 24
  1363.             player.TRY WALK
  1364.             SET EQUIPSTATE = 0
  1365.             SET TRAINSTATE = 0
  1366.             WAIT 24
  1367.             player.PIVOTOBJECT JONG1
  1368.             NOWAIT TRY CLAPPING
  1369.             player.TRY BOWING
  1370.             WAIT 12
  1371.             player.GOTORELATIVEPOSITION JONGWAY00 0 80
  1372.             player.PIVOTOBJECT JONG1
  1373.             player.UNEQUIP "TRAINING SWORD"
  1374.             WAIT 24
  1375.             player.DELINV "TRAINING SWORD"
  1376.             SET LEARNSTATE = 1
  1377.         END
  1378.         END
  1379.  
  1380.  
  1381. //    *****  CHOP COMBO - LEVEL 18 REQUIREMENT *****
  1382.  
  1383.         IF player.STAT LEVEL > 17
  1384.         BEGIN
  1385.         IF player.STAT ATTACKLEVEL < 18
  1386.         BEGIN
  1387.             player.STAT ATTACKLEVEL = 18
  1388.             SAY II2JON16
  1389.             WAIT 24
  1390.             SET JONGLOOKSTATE = 2
  1391.             SET EQUIPSTATE = 1
  1392.             
  1393.             //    *****    REPOSITION MUDUKON IF OUT OF RANGE  *****
  1394.             NOWAIT SETPROTOVARIABLE MUDOX1 = MUDOKON1.POSITION.X
  1395.             SETPROTOVARIABLE MUDOY1 = MUDOKON1.POSITION.Y
  1396.             IF MUDOX1 > 1114
  1397.             BEGIN
  1398.             IF MUDOX1 < 1200
  1399.             BEGIN
  1400.             IF MUDOY1 > 29852
  1401.             BEGIN
  1402.             IF MUDOY1 < 29952
  1403.             BEGIN
  1404.                 JUMP REPOS7
  1405.             END
  1406.             END
  1407.             END
  1408.             END
  1409.  
  1410.             TRY CASTSPELL
  1411.             NOWAIT FADECHARACTEROUT MUDOKON1
  1412.             ADDAT MUDOX1 MUDOY1 FIREFLASH
  1413.             WAIT 48
  1414.             MUDOKON1.POS 1155 29902 17
  1415.             WAIT 48
  1416.             NOWAIT FADECHARACTERIN MUDOKON1
  1417.             ADDAT 1155 29902 FIREFLASH
  1418.  
  1419.             :REPOS7
  1420.  
  1421.             GOTORELATIVEPOSITION MUDOKON1 -130 0
  1422.             SCROLLTO JONG1
  1423.             MESSAGE JONGM7
  1424.             MESSAGE JONGM7B
  1425.             PIVOTOBJECT MUDOKON1
  1426.             TOGGLE AI = 0
  1427.             BEGINFIGHTING MUDOKON1
  1428.             WAIT 48
  1429.             NOWAIT GOTORELATIVEPOSITION MUDOKON1 -120 0
  1430.             WAIT 12
  1431.             NOWAIT SPECIFICATTACK 16
  1432.             WAIT 24
  1433.             NOWAIT SPECIFICATTACK 17
  1434.             WAIT 2
  1435.             NOWAIT SPECIFICATTACK 18
  1436.             WAIT 48
  1437.             TOGGLE AI = 1
  1438.             COMBAT OFF
  1439.             WAIT 12
  1440.             GOTORELATIVEPOSITION JONGWAY00 0 0
  1441.             pivotobject player
  1442.             SCROLLTO player
  1443.             WAIT 12
  1444.             SET TRAINSTATE = 7
  1445.             CONTROL ON
  1446.             SET JONGLOOKSTATE = 1
  1447.             
  1448.             :nocomplete7
  1449.             
  1450.             if player.lastattack = "CHOPCHAIN3"
  1451.             begin
  1452.                 jump complete7
  1453.             end
  1454.             
  1455.             wait 4    
  1456.             jump nocomplete7
  1457.  
  1458.             :complete7
  1459.             
  1460.             MESSAGE "EXCELLENT !"
  1461.             CONTROL OFF
  1462.             PLAYER.STOP
  1463.             WAIT 24
  1464.             player.TRY WALK
  1465.             SET EQUIPSTATE = 0
  1466.             SET TRAINSTATE = 0
  1467.             WAIT 24
  1468.             player.PIVOTOBJECT JONG1
  1469.             NOWAIT TRY CLAPPING
  1470.             player.TRY BOWING
  1471.             WAIT 12
  1472.             player.GOTORELATIVEPOSITION JONGWAY00 0 80
  1473.             player.PIVOTOBJECT JONG1
  1474.             player.UNEQUIP "TRAINING SWORD"
  1475.             WAIT 24
  1476.             player.DELINV "TRAINING SWORD"
  1477.             SET LEARNSTATE = 1
  1478.         END
  1479.         END
  1480.  
  1481.  
  1482.  
  1483. //    *****  COMBO B - LEVEL 21 REQUIREMENT *****
  1484.  
  1485.         IF player.STAT LEVEL > 20
  1486.         BEGIN
  1487.         IF player.STAT ATTACKLEVEL < 21
  1488.         BEGIN
  1489.             player.STAT ATTACKLEVEL = 21
  1490.             SAY II2JON16
  1491.             WAIT 24
  1492.             SET JONGLOOKSTATE = 2
  1493.             SET EQUIPSTATE = 1
  1494.             
  1495.             //    *****    REPOSITION MUDUKON IF OUT OF RANGE  *****
  1496.             NOWAIT SETPROTOVARIABLE MUDOX1 = MUDOKON1.POSITION.X
  1497.             SETPROTOVARIABLE MUDOY1 = MUDOKON1.POSITION.Y
  1498.             IF MUDOX1 > 1114
  1499.             BEGIN
  1500.             IF MUDOX1 < 1200
  1501.             BEGIN
  1502.             IF MUDOY1 > 29852
  1503.             BEGIN
  1504.             IF MUDOY1 < 29952
  1505.             BEGIN
  1506.                 JUMP REPOS8
  1507.             END
  1508.             END
  1509.             END
  1510.             END
  1511.  
  1512.             TRY CASTSPELL
  1513.             NOWAIT FADECHARACTEROUT MUDOKON1
  1514.             ADDAT MUDOX1 MUDOY1 FIREFLASH
  1515.             WAIT 48
  1516.             MUDOKON1.POS 1155 29902 17
  1517.             WAIT 48
  1518.             NOWAIT FADECHARACTERIN MUDOKON1
  1519.             ADDAT 1155 29902 FIREFLASH
  1520.  
  1521.             :REPOS8
  1522.  
  1523.             GOTORELATIVEPOSITION MUDOKON1 -120 0
  1524.             SCROLLTO JONG1
  1525.             MESSAGE JONGM8
  1526.             MESSAGE JONGM8B
  1527.             PIVOTOBJECT MUDOKON1
  1528.             TOGGLE AI = 0
  1529.             BEGINFIGHTING MUDOKON1
  1530.             WAIT 48
  1531.             NOWAIT GOTORELATIVEPOSITION MUDOKON1 -100 0
  1532.             WAIT 12
  1533.             NOWAIT SPECIFICATTACK 2
  1534.             WAIT 24
  1535.             NOWAIT SPECIFICATTACK 3
  1536.             WAIT 2
  1537.             NOWAIT SPECIFICATTACK 4
  1538.             WAIT 24
  1539.             TOGGLE AI = 1
  1540.             COMBAT OFF
  1541.             WAIT 12
  1542.             GOTORELATIVEPOSITION JONGWAY00 0 0
  1543.             pivotobject player
  1544.             SCROLLTO player
  1545.             WAIT 12
  1546.             SET TRAINSTATE = 8
  1547.             CONTROL ON
  1548.             SET JONGLOOKSTATE = 1
  1549.             
  1550.             :nocomplete8
  1551.             
  1552.             if player.lastattack = "COMBOB3"
  1553.             begin
  1554.                 jump complete8
  1555.             end
  1556.             
  1557.             wait 4    
  1558.             jump nocomplete8
  1559.  
  1560.             :complete8
  1561.             
  1562.             MESSAGE "EXCELLENT !"
  1563.             CONTROL OFF
  1564.             PLAYER.STOP
  1565.             WAIT 24
  1566.             player.TRY WALK
  1567.             SET EQUIPSTATE = 0
  1568.             SET TRAINSTATE = 0
  1569.             WAIT 24
  1570.             player.PIVOTOBJECT JONG1
  1571.             NOWAIT TRY CLAPPING
  1572.             player.TRY BOWING
  1573.             WAIT 12
  1574.             player.GOTORELATIVEPOSITION JONGWAY00 0 80
  1575.             player.PIVOTOBJECT JONG1
  1576.             player.UNEQUIP "TRAINING SWORD"
  1577.             WAIT 24
  1578.             player.DELINV "TRAINING SWORD"
  1579.             SET LEARNSTATE = 1
  1580.         END
  1581.         END
  1582.  
  1583.  
  1584.  
  1585. //    *****  COMBO C - LEVEL 24 REQUIREMENT *****
  1586.  
  1587.         IF player.STAT LEVEL > 23
  1588.         BEGIN
  1589.         IF player.STAT ATTACKLEVEL < 24
  1590.         BEGIN
  1591.             player.STAT ATTACKLEVEL = 24
  1592.             SAY II2JON16
  1593.             WAIT 24
  1594.             SET JONGLOOKSTATE = 2
  1595.             SET EQUIPSTATE = 1
  1596.             
  1597.             //    *****    REPOSITION MUDUKON IF OUT OF RANGE  *****
  1598.             NOWAIT SETPROTOVARIABLE MUDOX1 = MUDOKON1.POSITION.X
  1599.             SETPROTOVARIABLE MUDOY1 = MUDOKON1.POSITION.Y
  1600.             IF MUDOX1 > 1114
  1601.             BEGIN
  1602.             IF MUDOX1 < 1200
  1603.             BEGIN
  1604.             IF MUDOY1 > 29852
  1605.             BEGIN
  1606.             IF MUDOY1 < 29952
  1607.             BEGIN
  1608.                 JUMP REPOS9
  1609.             END
  1610.             END
  1611.             END
  1612.             END
  1613.  
  1614.             TRY CASTSPELL
  1615.             NOWAIT FADECHARACTEROUT MUDOKON1
  1616.             ADDAT MUDOX1 MUDOY1 FIREFLASH
  1617.             WAIT 48
  1618.             MUDOKON1.POS 1155 29902 17
  1619.             WAIT 48
  1620.             NOWAIT FADECHARACTERIN MUDOKON1
  1621.             ADDAT 1155 29902 FIREFLASH
  1622.  
  1623.             :REPOS9
  1624.  
  1625.             GOTORELATIVEPOSITION MUDOKON1 -120 0
  1626.             SCROLLTO JONG1
  1627.             MESSAGE JONGM9
  1628.             MESSAGE JONGM9B
  1629.             PIVOTOBJECT MUDOKON1
  1630.             TOGGLE AI = 0
  1631.             BEGINFIGHTING MUDOKON1
  1632.             WAIT 48
  1633.             NOWAIT GOTORELATIVEPOSITION MUDOKON1 -100 0
  1634.             WAIT 12
  1635.             NOWAIT SPECIFICATTACK 5
  1636.             WAIT 24
  1637.             NOWAIT SPECIFICATTACK 6
  1638.             WAIT 24
  1639.             NOWAIT SPECIFICATTACK 7
  1640.             WAIT 24
  1641.             NOWAIT SPECIFICATTACK 8
  1642.             WAIT 24
  1643.             NOWAIT SPECIFICATTACK 9
  1644.             WAIT 48
  1645.             TOGGLE AI = 1
  1646.             COMBAT OFF
  1647.             WAIT 12
  1648.             GOTORELATIVEPOSITION JONGWAY00 0 0
  1649.             pivotobject player
  1650.             SCROLLTO player
  1651.             WAIT 12
  1652.             SET TRAINSTATE = 9
  1653.             CONTROL ON
  1654.             SET JONGLOOKSTATE = 1
  1655.             
  1656.             :nocomplete9
  1657.             
  1658.             if player.lastattack = "COMBOC5"
  1659.             begin
  1660.                 jump complete1
  1661.             end
  1662.             
  1663.             wait 4    
  1664.             jump nocomplete9
  1665.  
  1666.             :complete1
  1667.             
  1668.             MESSAGE "EXCELLENT !"
  1669.             CONTROL OFF
  1670.             PLAYER.STOP
  1671.             WAIT 24
  1672.             player.TRY WALK
  1673.             SET EQUIPSTATE = 0
  1674.             SET TRAINSTATE = 0
  1675.             WAIT 24
  1676.             player.PIVOTOBJECT JONG1
  1677.             NOWAIT TRY CLAPPING
  1678.             player.TRY BOWING
  1679.             WAIT 12
  1680.             player.GOTORELATIVEPOSITION JONGWAY00 0 80
  1681.             player.PIVOTOBJECT JONG1
  1682.             player.UNEQUIP "TRAINING SWORD"
  1683.             WAIT 24
  1684.             player.DELINV "TRAINING SWORD"
  1685.             SET LEARNSTATE = 1
  1686.         END
  1687.         END
  1688.  
  1689.     
  1690. //    JONG AND player FINISH CONVERSATION
  1691.  
  1692.         IF LEARNSTATE = 1
  1693.         BEGIN
  1694.             IF MISTSTATE < 4
  1695.             BEGIN
  1696.                 SAY II2JON17
  1697.                 SAY II2JON18
  1698.                 player.SAY II2LOC06
  1699.             END
  1700.             IF MISTSTATE > 3
  1701.             BEGIN
  1702.                 IF MISTSTATE < 6
  1703.                 BEGIN
  1704.                     SAY V2JON06
  1705.                     SAY V2JON07
  1706.                     SAY V2JON08
  1707.                     SAY V2JON09
  1708.                     player.SAY V2LOC00
  1709.                 END
  1710.             END
  1711.         END
  1712.         IF LEARNSTATE = 0
  1713.         BEGIN
  1714.             IF MISTSTATE < 5
  1715.             BEGIN
  1716.                 SAY II6JON01
  1717.                 SAY II6JON02
  1718.             END
  1719.             IF MISTSTATE = 5
  1720.             BEGIN
  1721.                 SAY II14JON03
  1722.                 SAY II14JON04
  1723.             END
  1724.             IF MISTSTATE = 6
  1725.             BEGIN
  1726.                 SAY V2JON01
  1727.                 SAY V2JON02
  1728.             END
  1729.             IF MISTSTATE = 7
  1730.             BEGIN
  1731.                 SAY VIII3JON02
  1732.             END
  1733.         END
  1734.         CONTROL ON
  1735.         JUMP TRAINEND
  1736.     
  1737.         :SPARYES
  1738.  
  1739.             SET EQUIPSTATE = 1
  1740.             SET JONGLOOKSTATE = 3
  1741.             MUDOKON1.STAT AGGRESSIVE = 0
  1742.  
  1743.             //    *****    REPOSITION MUDUKON  *****
  1744.             
  1745.             NOWAIT SETPROTOVARIABLE MUDOX1 = MUDOKON1.POSITION.X
  1746.             SETPROTOVARIABLE MUDOY1 = MUDOKON1.POSITION.Y
  1747.             PIVOTOBJECT MUDOKON1
  1748.             TRY CASTSPELL
  1749.             NOWAIT FADECHARACTEROUT MUDOKON1
  1750.             ADDAT MUDOX1 MUDOY1 FIREFLASH
  1751.             WAIT 24
  1752.             MUDOKON1.POS 1000 29638 32
  1753.             PIVOTOBJECT player
  1754.             NOWAIT TRY BOWING
  1755.             player.TRY BOWING
  1756.             player.COMBAT ON
  1757.             TRY ROLLBACK
  1758.             STAT AGGRESSIVE = 1
  1759.             BEGINFIGHTING player
  1760.             CONTROL ON
  1761.         
  1762.         :START2
  1763.                 
  1764.             CHOICE SPARENDYES ENDSPAR
  1765.             WAIT RESPCTRLON
  1766.  
  1767.         :SPARENDYES
  1768.                 
  1769.             WAIT 12
  1770.             CONTROL OFF
  1771.             TOGGLE AI = 0
  1772.             STAT AGGRESSIVE = 0
  1773.             NOWAIT COMBAT OFF
  1774.             player.COMBAT OFF
  1775.             TOGGLE AI = 1
  1776.             SET EQUIPSTATE = 0
  1777.             WAIT 12
  1778.             player.UNEQUIP "TRAINING SWORD"
  1779.             WAIT 12
  1780.             player.DELINV "TRAINING SWORD"
  1781.             IF JONG1.POSITION.X < 940
  1782.             BEGIN
  1783.                 GOTO JONGWAY00
  1784.             END
  1785.             GOTO JONGWAY00
  1786.             PIVOT 65
  1787.             MUDOKON1.POS 1155 29902 17
  1788.             TRY CASTSPELL
  1789.             NOWAIT ADDAT 1155 29902 FIREFLASH    
  1790.             FADECHARACTERIN MUDOKON1
  1791.             MUDOKON1.STAT AGGRESSIVE = 1
  1792.             CONTROL ON
  1793.                     
  1794.         :TRAINEND
  1795.  
  1796.         IF PLAYER.GETITEMAMOUNT "TRAINING SWORD" > 0
  1797.         BEGIN
  1798.             SET EQUIPSTATE = 0
  1799.             player.DELINV "TRAINING SWORD"
  1800.             JUMP TRAINEND
  1801.         END
  1802.         SET JONGLOOKSTATE = 1
  1803.         SET LEARNSTATE = 0
  1804.         combat2in.STAT LOCKED = 0
  1805.         SETCDVOLUME FULL
  1806.  
  1807.     END
  1808.     ALWAYS
  1809.     BEGIN
  1810.         WAIT 24
  1811.  
  1812.         IF JONGLOOKSTATE = 3
  1813.         BEGIN
  1814.             player.STAT HEALTH = LOKHEALTH        
  1815.         END
  1816.     END
  1817. END
  1818.  
  1819.  
  1820. OBJECT "MUDOKON1"
  1821. BEGIN
  1822.     DATA
  1823.     BEGIN
  1824.         NUMBER MUDOX 0
  1825.         NUMBER MUDOY 0
  1826.         NUMBER LOKHEALTH 0
  1827.     END
  1828.     ALWAYS
  1829.     BEGIN
  1830.         WAIT 24
  1831.         STAT HEALTH = 1800
  1832.         JONG1.STAT HEALTH = 1800
  1833.         
  1834.         IF MUDOKONSTATE = 1
  1835.         BEGIN
  1836.             SETPROTOVARIABLE LOKHEALTH = player.STAT HEALTH
  1837.             SET MUDOKONSTATE = 0        
  1838.         END
  1839.         IF JONGLOOKSTATE = 3
  1840.         BEGIN
  1841.             player.STAT HEALTH = LOKHEALTH        
  1842.         END
  1843.         IF JONGLOOKSTATE = 1
  1844.         BEGIN
  1845.             SETPROTOVARIABLE MUDOX = MUDOKON1.POSITION.X
  1846.             SETPROTOVARIABLE MUDOY = MUDOKON1.POSITION.Y
  1847.             JONG1.PIVOTOBJECT player
  1848.             
  1849.             IF MUDOY < 29796
  1850.             BEGIN
  1851.                 JUMP ORIGPOS
  1852.             END
  1853.             IF MUDOY > 30264
  1854.             BEGIN
  1855.                 JUMP ORIGPOS
  1856.             END
  1857.             IF MUDOX < 750
  1858.             BEGIN
  1859.                 JUMP ORIGPOS
  1860.             END
  1861.             IF MUDOX > 1416
  1862.             BEGIN
  1863.                 JUMP ORIGPOS
  1864.             END
  1865.             IF MUDOY < 29990
  1866.             BEGIN
  1867.             IF MUDOX < 940
  1868.             BEGIN
  1869.                 JUMP ORIGPOS
  1870.             END
  1871.             END
  1872.             IF MUDOY < 29910
  1873.             BEGIN
  1874.             IF MUDOX < 1021
  1875.             BEGIN
  1876.                 JUMP ORIGPOS
  1877.             END
  1878.             END
  1879.             
  1880.             JUMP ORIGPOSEND
  1881.  
  1882.             :ORIGPOS
  1883.             
  1884.             NOWAIT SETPROTOVARIABLE MUDOX = MUDOKON1.POSITION.X
  1885.             SETPROTOVARIABLE MUDOY = MUDOKON1.POSITION.Y
  1886.             JONG1.TRY CASTSPELL
  1887.             WAIT 12
  1888.             NOWAIT FADECHARACTEROUT MUDOKON1
  1889.             ADDAT MUDOX MUDOY FIREFLASH
  1890.             WAIT 24
  1891.             POS 1155 29902 17    
  1892.             NOWAIT FADECHARACTERIN MUDOKON1
  1893.             ADDAT 1155 29902 FIREFLASH
  1894.             
  1895.             :ORIGPOSEND
  1896.         
  1897.         END    
  1898.         IF JONGLOOKSTATE = 2
  1899.         BEGIN
  1900.             player.PIVOTOBJECT JONG1
  1901.         END
  1902.         IF EQUIPSTATE = 1
  1903.         BEGIN
  1904.             IF player.GETITEMAMOUNT "TRAINING SWORD" = 0
  1905.             BEGIN
  1906.                 WAIT 24
  1907.                 "TRAINING SWORD".DELETE
  1908.                 player.ADDINV "TRAINING SWORD"
  1909.             END
  1910.             player.EQUIP "TRAINING SWORD"    
  1911.         END
  1912.     END
  1913. END
  1914.  
  1915.  
  1916.  
  1917. OBJECT "GUS3"
  1918. BEGIN
  1919.     CUBE player 500,28250,0 600,28300,100
  1920.     BEGIN
  1921.         CONTROL OFF
  1922.         WAIT 12
  1923.         player.PIVOT 190
  1924.         WAIT 48
  1925.         say II13GUS12
  1926.         say II13GUS13
  1927.         say II13GUS14
  1928.         player.say II13LOC08
  1929.         say II13GUS15
  1930.         player.say II13LOC09
  1931.         say II13GUS16
  1932.         FADESCREENOUT
  1933.         WAIT SCREENFADE
  1934.         FADESCREENIN
  1935.         player.POS 10000 10000 16 4
  1936.         CONTROL ON
  1937.         TOGGLE PAUSE
  1938.     END
  1939. END
  1940.  
  1941.  
  1942.  
  1943.  
  1944.  
  1945. //    DRUHG CAMP
  1946.  
  1947.  
  1948. OBJECT "JASON1"
  1949. BEGIN
  1950.     DIALOG
  1951.     BEGIN
  1952.         FACE 80
  1953.         CONTROL OFF
  1954.         player.STOP
  1955.         player.COMBAT OFF
  1956.  
  1957.             PLAYER.GOTORELATIVEPOSITION JASON1 30 0
  1958.             PLAYER.PIVOT 190
  1959.             NOWAIT PLAYER.TRY SAY
  1960.             WAIT 24
  1961.             PLAYER.GOTORELATIVEPOSITION JASON1 140 0
  1962.             TRY WALKF
  1963.             player.PIVOTOBJECT JASON1
  1964.             WAIT 12
  1965.             SETCDVOLUME HALF
  1966.             WAIT 12
  1967.             Say III16JAS00
  1968.             say III16JAS01
  1969.             player.say III16LOC00
  1970.             say III16JAS02
  1971.             say III16JAS03
  1972.             player.say III16LOC01
  1973.             say III16JAS04
  1974.             player.say III16LOC02
  1975.             say III16JAS05
  1976.             player.ADDINV "GOLDEN SUN KEY"
  1977.             say III16JAS06
  1978.             say III16JAS07
  1979.             say III16JAS08
  1980.             GOTORELATIVEPOSITION DRUWAY03 0 0
  1981.             WAIT 1
  1982.             GOTORELATIVEPOSITION DRUWAY05 0 0
  1983.             WAIT 1
  1984.             CONTROL ON
  1985.             SET JASONSTATE = 3
  1986.             WAIT 1
  1987.             SETCDVOLUME FULL
  1988.             WAIT 1
  1989.             
  1990.     END
  1991.     ALWAYS
  1992.     BEGIN
  1993.         IF JASONSTATE = 1
  1994.         BEGIN
  1995.             TRY TIEDTOTREE
  1996.             WAIT 24
  1997.         END
  1998.         IF MISTSTATE > 1
  1999.         BEGIN
  2000.             IF JASONSTATE = 0
  2001.             BEGIN
  2002.                 TOGGLE INVISIBLE = 0
  2003.                 SET JASONSTATE = 1
  2004.             END
  2005.             IF JASONSTATE = 3
  2006.             BEGIN
  2007.                 TOGGLE INVISIBLE = 1
  2008.                 POS 3016 15870 47
  2009.                 TOGGLE PAUSE = 1
  2010.             END
  2011.  
  2012.             WAIT 24
  2013.         END
  2014.         IF MISTSTATE = 1
  2015.         BEGIN
  2016.             TOGGLE INVISIBLE = 1
  2017.             WAIT 24
  2018.         END
  2019.     END
  2020. END
  2021.  
  2022.  
  2023. //    OGROK CAMP
  2024.  
  2025.  
  2026.  
  2027.  
  2028. OBJECT "Gatekeeper1"
  2029. BEGIN
  2030.     DIALOG
  2031.     BEGIN
  2032.         SETCDVOLUME HALF
  2033.         WAIT 1
  2034.         
  2035.         IF MISTSTATE < 5
  2036.         BEGIN
  2037.         
  2038.         IF player.GETITEMAMOUNT "AMULET OF ROGOSS" = 0
  2039.         BEGIN
  2040.             IF gatekeeperstate = 1
  2041.             BEGIN
  2042.                 CONTROL OFF
  2043.                 player.STOP
  2044.                 player.COMBAT OFF
  2045.                 NOWAIT PIVOTOBJECT player
  2046.                 player.PIVOTOBJECT GATEKEEPER
  2047.                 say III6GAT08
  2048.                 say III6GAT09
  2049.                 CONTROL ON
  2050.             END
  2051.             IF gatekeeperstate < 1
  2052.             BEGIN
  2053.                 CONTROL OFF
  2054.                 player.STOP
  2055.                 player.COMBAT OFF
  2056.                 NOWAIT PIVOTOBJECT player
  2057.                 player.PIVOTOBJECT GATEKEEPER
  2058.                 say III6GAT00
  2059.                 say III6GAT01
  2060.                 player.say III6LOC00
  2061.                 say III6GAT02
  2062.                 
  2063.                 :Start
  2064.  
  2065.                     Choice CHIEF III6LOC01
  2066.                     Choice THREAT III6LOC02
  2067.                     wait response
  2068.     
  2069.                 :CHIEF
  2070.  
  2071.                     player.say III6LOC01
  2072.                     say III6GAT03
  2073.  
  2074.                 :THREAT
  2075.                     
  2076.                     player.say III6LOC02
  2077.                     say III6GAT04
  2078.                     player.say III6LOC03
  2079.                     say III6GAT05
  2080.                     say III6GAT06
  2081.                     player.say III6LOC04
  2082.                     say III6GAT07
  2083.                     say III6GAT08
  2084.                     SAY III6GAT09
  2085.                     SET gatekeeperstate = 1
  2086.                     CONTROL ON
  2087.             END
  2088.         END
  2089.         
  2090.         IF player.GETITEMAMOUNT "AMULET OF ROGOSS" = 1
  2091.         BEGIN
  2092.             CONTROL OFF
  2093.             player.STOP
  2094.             player.COMBAT OFF
  2095.             NOWAIT PIVOTOBJECT player
  2096.             player.PIVOTOBJECT GATEKEEPER
  2097.         
  2098.             IF gatekeeperstate = 1
  2099.             BEGIN
  2100.             say III7GAT00
  2101.             SAY III7GAT01
  2102.             END
  2103.  
  2104.             PIVOT 0
  2105.             SAY III7GAT02
  2106.             player.SAY III7LOC00
  2107.             PIVOTOBJECT player
  2108.             SAY III7GAT03
  2109.             SAY III7GAT04
  2110.             FADESCREENOUT
  2111.             WAIT SCREENFADE
  2112.             FADESCREENIN
  2113.             player.POS 13500 17728 32
  2114.             CONTROL ON
  2115.         END
  2116.         
  2117.         END
  2118.  
  2119.         IF MISTSTATE > 4
  2120.         BEGIN
  2121.             CONTROL OFF
  2122.             player.STOP
  2123.             player.COMBAT OFF
  2124.             NOWAIT PIVOTOBJECT player
  2125.             player.PIVOTOBJECT GATEKEEPER
  2126.             SAY III7GAT04
  2127.             FADESCREENOUT
  2128.             WAIT SCREENFADE
  2129.             FADESCREENIN
  2130.             player.POS 13500 17728 32
  2131.             CONTROL ON
  2132.         END
  2133.         
  2134.         SETCDVOLUME FULL
  2135.     END
  2136.     ALWAYS
  2137.     BEGIN
  2138.         GOTORELATIVEPOSITION GATEWAY01 0 0
  2139.         WAIT 24
  2140.         PIVOT 120
  2141.         WAIT 24
  2142.         WAIT 24
  2143.         WAIT 24
  2144.         WAIT 24
  2145.         PIVOTOBJECT GATEWAY02
  2146.         WAIT 24
  2147.         GOTORELATIVEPOSITION GATEWAY02 0 0
  2148.         WAIT 24
  2149.         PIVOT 120
  2150.         WAIT 24
  2151.         WAIT 24
  2152.         WAIT 24
  2153.         WAIT 24
  2154.         PIVOTOBJECT GATEWAY01
  2155.         WAIT 24
  2156.     END
  2157. END
  2158.  
  2159.  
  2160. OBJECT "CHIEF1"
  2161. BEGIN
  2162.     CUBE 13499,17727,0 13501,17729,100
  2163.     BEGIN
  2164.         IF player.GETITEMAMOUNT "AMULET OF ROGOSS" = 1
  2165.         BEGIN
  2166.             SETCDVOLUME HALF
  2167.             WAIT 1
  2168.             CONTROL OFF
  2169.             player.STOP
  2170.             player.COMBAT OFF
  2171.             PIVOTOBJECT player
  2172.             player.PIVOTOBJECT CHIEF1
  2173.             say III8CHI00
  2174.             say III8CHI01
  2175.             player.say III8LOC00
  2176.             player.say III8LOC01
  2177.             say III8CHI02
  2178.             say III8CHI03
  2179.             say III8CHI04
  2180.             player.say III8LOC02
  2181.             say III8CHI05                
  2182.             
  2183.             :Start
  2184.     
  2185.                 Choice CAVES III8LOC03
  2186.                 Choice TRYING III8LOC04
  2187.                 wait response
  2188.         
  2189.             :TRYING
  2190.     
  2191.                 player.SAY III8LOC04
  2192.                 say III8CHI06
  2193.                 JUMP START
  2194.     
  2195.             :CAVES
  2196.                         
  2197.                 player.SAY III8LOC03
  2198.                 say III8CHI07
  2199.                 say III8CHI08
  2200.                 say III8CHI09
  2201.                     
  2202.             :START2
  2203.     
  2204.                 CHOICE WORTHY III8LOC05
  2205.                 CHOICE NOTHING III8LOC06
  2206.                 WAIT RESPONSE
  2207.                         
  2208.             :NOTHING
  2209.                     
  2210.                 player.SAY III8LOC06
  2211.                 say III8CHI10
  2212.                 say III8CHI11
  2213.                 say III8CHI12
  2214.                 JUMP START2
  2215.                         
  2216.             :WORTHY
  2217.                 
  2218.                 SET VINCESTATE = 1
  2219.     
  2220.                 player.SAY III8LOC05
  2221.                 say III8CHI13
  2222.                 SAY III8CHI14
  2223.                 player.SAY III8LOC07
  2224.                 SAY III8CHI15
  2225.                 SAY III8CHI16
  2226.                 player.SAY III8LOC08
  2227.                 player.SAY III8LOC09
  2228.                 SAY III8CHI17
  2229.                 PLAYER.DELINV "AMULET OF ROGOSS"
  2230.                 WAIT 24
  2231.                 SETCDVOLUME FULL
  2232.                 WAIT 1
  2233.                 FADESCREENOUT
  2234.                 WAIT SCREENFADE
  2235.                 FADESCREENIN
  2236.                 player.POS 12192 17516 112
  2237.                 TOGGLE INVISIBLE
  2238.                 TOGGLE PAUSE = 1            
  2239.         END
  2240.     END
  2241. END
  2242.  
  2243.  
  2244. OBJECT "CHIEF2"
  2245. BEGIN
  2246.     DIALOG
  2247.     BEGIN
  2248.         SETCDVOLUME HALF
  2249.         WAIT 1
  2250.         CONTROL OFF
  2251.         player.STOP
  2252.         player.COMBAT OFF
  2253.  
  2254.         IF MISTSTATE = 5
  2255.         BEGIN
  2256.             SAY III9CHI08
  2257.         END
  2258.         IF MISTSTATE > 5
  2259.         BEGIN
  2260.             IF CHIEFSTATE = 2
  2261.             BEGIN
  2262.                 SAY III12CHI01
  2263.             END
  2264.             IF CHIEFSTATE = 1
  2265.             BEGIN
  2266.                 say III12CHI00
  2267.                 player.SAY III12LOC00
  2268.                 SAY III12CHI01
  2269.                 SET CHIEFSTATE = 2
  2270.             END
  2271.         END
  2272.         CONTROL ON
  2273.         SETCDVOLUME FULL
  2274.     END
  2275.     ALWAYS
  2276.     BEGIN
  2277.         WAIT 24
  2278.  
  2279.         IF MISTSTATE < 5
  2280.         BEGIN
  2281.  
  2282.         IF VINCESTATE = 1
  2283.         BEGIN
  2284.             LOCKE.GIVEWEAPONS "CHIEF2"
  2285.             SET VINCESTATE = 2
  2286.         END
  2287.         IF BAEZ.STAT HEALTH < 1
  2288.         BEGIN
  2289.             WAIT 12
  2290.             player.COMBAT OFF
  2291.             WAIT 12
  2292.             PLAYER.GOTO 12272 17024
  2293.             NOWAIT CHIEF2.PIVOTOBJECT player
  2294.             player.PIVOTOBJECT CHIEF2
  2295.             CHIEF2.SAY III9CHI00
  2296.             CHIEF2.SAY III9CHI01
  2297.             CHIEF2.SAY III9CHI02
  2298.             CHIEF2.SAY III12CHI02
  2299.             CHIEF2.SAY III12CHI03
  2300.             CHIEF2.SAY III12CHI04
  2301.             CHIEF2.SAY III12CHI05
  2302.             CHIEF2.SAY III12CHI06
  2303.             CHIEF2.SAY III12CHI07
  2304.             player.ADDINV "SOUL CLEAVER" 
  2305.             player.SAY III12LOC01
  2306.             CHIEF2.SAY III9CHI03
  2307.             CHIEF2.SAY III9CHI04
  2308.             player.SAY III9LOC00
  2309.             CHIEF2.SAY III9CHI05
  2310.             CHIEF2.SAY III9CHI06
  2311.             
  2312.             GIVEWEAPONS "LOCKE"
  2313.             SET CHIEFSTATE = 1
  2314.             SET MISTSTATE = 5
  2315.  
  2316.             MARK.DELETE
  2317.             VINCE.DELETE
  2318.             MATT.DELETE
  2319.             REDO.DELETE
  2320.             RIZ.DELETE
  2321.             AUSTIN.DELETE
  2322.             JASON.DELETE
  2323.             HERSH.DELETE
  2324.             REX.DELETE
  2325.             PAUL.DELETE
  2326.             CARL.DELETE
  2327.  
  2328.             CONTROL ON
  2329.         END
  2330.  
  2331.         END
  2332.     END
  2333. END
  2334.  
  2335.  
  2336.  
  2337. //    CAVE ENTRANCE AND EXIT
  2338.  
  2339. OBJECT "CAVENTER"
  2340. BEGIN
  2341.     CUBE 14030,17150,0 14115,17195,100
  2342.     BEGIN
  2343.         NOWAIT CONTROL OFF
  2344.         player.STOP
  2345.         FADESCREENOUT
  2346.         WAIT SCREENFADE
  2347.          FADESCREENIN
  2348.         player.POS 10560 10496 16 30
  2349.         CONTROL ON
  2350.     END
  2351. END
  2352.  
  2353.  
  2354.