home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer 3.8 / 1997-11_Disc_3.8.bin / PATCHES / ZNPATCH.EXE / ZNPatch / Addon / subpatch.zfs / tj4e.scr < prev    next >
Text File  |  1997-06-04  |  21KB  |  538 lines

  1. # THIS SCRIPT WAS GENERATED ON 03-16-1996 AT 06:07:43
  2. world T                     # Temple
  3. room J                      # Flute/Fountain Room
  4. nodeview 4E                 # Nodeview 4E (195)
  5. # SCRIPT VERSION: 24.2
  6.  
  7. # PUZZLES
  8. puzzle:1112 {               # INITIAL_TJ4E
  9.               criteria { 
  10.               }
  11.               results {
  12.                             action:assign(1113, 0)      # TJ4E A Note (ctrl)
  13.                             action:assign(1119, 0)      # TJ4E B Note (ctrl)
  14.                             action:assign(1123, 0)      # TJ4E C Note (ctrl)
  15.                             action:assign(1128, 0)      # TJ4E D Note (ctrl)
  16.                             action:assign(1132, 0)      # TJ4E E Note (ctrl)
  17.                             action:assign(1136, 0)      # TJ4E F Note (ctrl)
  18.                             action:assign(1140, 0)      # TJ4E G Note (ctrl)
  19.                             action:assign(1114, 1)      # TJ4E A Note (turn off) puzl
  20.                             action:assign(1120, 1)      # TJ4E B Note (turn off) puzl
  21.                             action:assign(1124, 1)      # TJ4E C Note (turn off) puzl
  22.                             action:assign(1129, 1)      # TJ4E D Note (turn off) puzl
  23.                             action:assign(1133, 1)      # TJ4E E Note (turn off) puzl
  24.                             action:assign(1137, 1)      # TJ4E F Note (turn off) puzl
  25.                             action:assign(1141, 1)      # TJ4E G Note (turn off) puzl
  26.                             action:set_screen(tj4eb11c.tga)
  27.  
  28.               }
  29.               flags {
  30.                             ONCE_PER_INST
  31.                             DO_ME_NOW
  32.               }
  33. }
  34. puzzle:1114 {               # TJ4E A Note (turn off) puzl
  35.               criteria { 
  36.                             [1113] = 0                  # TJ4E A Note (ctrl)
  37.               }
  38.               results {
  39.                             action:assign(1115, 0)      # TJ4E A Note (turn on) puzl
  40.                             action:stop(1116)
  41.                             action:stop(2606)
  42.                             action:stop(1092)
  43.                             background:animplay:1091(tj4ea61c.rlf 294 151 317 302 38 58 1 0 0 0 15)
  44.               }
  45.               flags {
  46.                             ONCE_PER_INST
  47.               }
  48. }
  49. puzzle:1115 {               # TJ4E A Note (turn on) puzl
  50.               criteria { 
  51.                             [1113] = 1                  # TJ4E A Note (ctrl)
  52.               }
  53.               results {
  54.                             action:assign(1114, 0)      # TJ4E A Note (turn off) puzl
  55.                             action:assign(2619, 0)
  56.                             background:music:1116(4 74 57 127)
  57.                             action:stop(1092)
  58.                             background:animplay:1093(tj4ea61c.rlf 294 151 317 302 0 25 1 0 0 0 15)
  59.                             background:animplay:1092(tj4ea61c.rlf 294 151 317 302 26 37 0 0 0 0 15)
  60.               }
  61.               flags {
  62.                             ONCE_PER_INST
  63.               }
  64. }
  65. puzzle:1117 {               # TJ4E Animations Not Stopped
  66.               criteria { 
  67.                             [1092] = 1                  # A note on loop
  68.               }
  69.               criteria { 
  70.                             [1095] = 1                  # B note on loop
  71.               }
  72.               criteria { 
  73.                             [1098] = 1                  # C note on loop
  74.               }
  75.               criteria { 
  76.                             [1101] = 1                  # D note on loop
  77.               }
  78.               criteria { 
  79.                             [1104] = 1                  # E note on loop
  80.               }
  81.               criteria { 
  82.                             [1107] = 1                  # F note on loop
  83.               }
  84.               criteria { 
  85.                             [1110] = 1                  # G note on loop
  86.               }
  87.               criteria { 
  88.                             [1091] = 1                  # A note off nonloop
  89.               }
  90.               criteria { 
  91.                             [1094] = 1                  # B note off nonloop
  92.               }
  93.               criteria { 
  94.                             [1097] = 1                  # C note off nonloop
  95.               }
  96.               results {
  97.                             action:assign(1118, 0)      # TJ4E Animations Stopped
  98.               }
  99.               flags {
  100.                             ONCE_PER_INST
  101.               }
  102. }
  103. puzzle:1118 {               # TJ4E Animations Stopped
  104.               criteria { 
  105.                             [1097] ! 1                  # C note off nonloop
  106.                             [1094] ! 1                  # B note off nonloop
  107.                             [1091] ! 1                  # A note off nonloop
  108.                             [1110] ! 1                  # G note on loop
  109.                             [1107] ! 1                  # F note on loop
  110.                             [1104] ! 1                  # E note on loop
  111.                             [1101] ! 1                  # D note on loop
  112.                             [1098] ! 1                  # C note on loop
  113.                             [1095] ! 1                  # B note on loop
  114.                             [1092] ! 1                  # A note on loop
  115.               }
  116.               results {
  117.                             action:assign(1117, 0)      # TJ4E Animations Not Stopped
  118.               }
  119.               flags {
  120.                             ONCE_PER_INST
  121.               }
  122. }
  123. puzzle:1120 {               # TJ4E B Note (turn off) puzl
  124.               criteria { 
  125.                             [1119] = 0                  # TJ4E B Note (ctrl)
  126.               }
  127.               results {
  128.                             action:assign(1121, 0)      # TJ4E B Note (turn on) puzl
  129.                             action:stop(1122)
  130.                             action:stop(2607)
  131.                             action:stop(1095)
  132.                             background:animplay:1094(tj4ea71c.rlf 319 113 342 304 35 61 1 0 0 0 15)
  133.               }
  134.               flags {
  135.                             ONCE_PER_INST
  136.               }
  137. }
  138. puzzle:1121 {               # TJ4E B Note (turn on) puzl
  139.               criteria { 
  140.                             [1119] = 1                  # TJ4E B Note (ctrl)
  141.               }
  142.               results {
  143.                             action:assign(1120, 0)      # TJ4E B Note (turn off) puzl
  144.                             action:assign(2620, 0)
  145.                             background:music:1122(4 74 59 127)
  146.                             action:stop(1095)
  147.                             background:animplay:1096(tj4ea71c.rlf 319 113 342 304 0 26 1 0 0 0 15)
  148.                             background:animplay:1095(tj4ea71c.rlf 319 113 342 304 27 34 0 0 0 0 15)
  149.               }
  150.               flags {
  151.                             ONCE_PER_INST
  152.               }
  153. }
  154. puzzle:1124 {               # TJ4E C Note (turn off) puzl
  155.               criteria { 
  156.                             [1123] = 0                  # TJ4E C Note (ctrl)
  157.               }
  158.               results {
  159.                             action:assign(1125, 0)      # TJ4E C Note (turn on) puzl
  160.                             action:stop(4626)
  161.                             action:stop(2601)
  162.                             action:stop(1098)
  163.                             background:animplay:1097(tj4ea11c.rlf 154 108 177 299 30 47 1 0 0 0 15)
  164.               }
  165.               flags {
  166.                             ONCE_PER_INST
  167.               }
  168. }
  169. puzzle:1125 {               # TJ4E C Note (turn on) puzl
  170.               criteria { 
  171.                             [1123] = 1                  # TJ4E C Note (ctrl)
  172.               }
  173.               results {
  174.                             action:assign(1124, 0)      # TJ4E C Note (turn off) puzl
  175.                             action:assign(2614, 0)
  176.                             background:music:4626(4 74 60 127)
  177.                             action:stop(1098)
  178.                             background:animplay:1099(tj4ea11c.rlf 154 108 177 299 0 18 1 0 0 0 15)
  179.                             background:animplay:1098(tj4ea11c.rlf 154 108 177 299 19 29 0 0 0 0 15)
  180.               }
  181.               flags {
  182.                             ONCE_PER_INST
  183.               }
  184. }
  185. puzzle:1129 {               # TJ4E D Note (turn off) puzl
  186.               criteria { 
  187.                             [1128] = 0                  # TJ4E D Note (ctrl)
  188.               }
  189.               results {
  190.                             action:assign(1130, 0)      # TJ4E D Note (turn on) puzl
  191.                             action:stop(1131)
  192.                             action:stop(2602)
  193.                             action:stop(1101)
  194.                             background:animplay:1100(tj4ea21c.rlf 181 156 204 299 39 62 1 0 0 0 15)
  195.               }
  196.               flags {
  197.                             ONCE_PER_INST
  198.               }
  199. }
  200. puzzle:1130 {               # TJ4E D Note (turn on) puzl
  201.               criteria { 
  202.                             [1128] = 1                  # TJ4E D Note (ctrl)
  203.               }
  204.               results {
  205.                             action:assign(1129, 0)      # TJ4E D Note (turn off) puzl
  206.                             action:assign(2615, 0)
  207.                             background:music:1131(4 74 62 127)
  208.                             action:stop(1101)
  209.                             background:animplay:1102(tj4ea21c.rlf 181 156 204 299 0 34 1 0 0 0 15)
  210.                             background:animplay:1101(tj4ea21c.rlf 181 156 204 299 35 38 0 0 0 0 15)
  211.               }
  212.               flags {
  213.                             ONCE_PER_INST
  214.               }
  215. }
  216. puzzle:1133 {               # TJ4E E Note (turn off) puzl
  217.               criteria { 
  218.                             [1132] = 0                  # TJ4E E Note (ctrl)
  219.               }
  220.               results {
  221.                             action:assign(1134, 0)      # TJ4E E Note (turn on) puzl
  222.                             action:stop(1135)
  223.                             action:stop(2603)
  224.                             action:stop(1104)
  225.                             background:animplay:1103(tj4ea31c.rlf 214 122 237 305 38 65 1 0 0 0 15)
  226.               }
  227.               flags {
  228.                             ONCE_PER_INST
  229.               }
  230. }
  231. puzzle:1134 {               # TJ4E E Note (turn on) puzl
  232.               criteria { 
  233.                             [1132] = 1                  # TJ4E E Note (ctrl)
  234.               }
  235.               results {
  236.                             action:assign(1133, 0)      # TJ4E E Note (turn off) puzl
  237.                             action:assign(2616, 0)
  238.                             background:music:1135(4 74 64 127)
  239.                             action:stop(1104)
  240.                             background:animplay:1105(tj4ea31c.rlf 214 122 237 305 0 27 1 0 0 0 15)
  241.                             background:animplay:1104(tj4ea31c.rlf 214 122 237 305 28 37 0 0 0 0 15)
  242.               }
  243.               flags {
  244.                             ONCE_PER_INST
  245.               }
  246. }
  247. puzzle:1137 {               # TJ4E F Note (turn off) puzl
  248.               criteria { 
  249.                             [1136] = 0                  # TJ4E F Note (ctrl)
  250.               }
  251.               results {
  252.                             action:assign(1138, 0)      # TJ4E F Note (turn on) puzl
  253.                             action:stop(4628)
  254.                             action:stop(2604)
  255.                             action:stop(1107)
  256.                             background:animplay:1106(tj4ea41c.rlf 253 152 276 303 27 40 1 0 0 0 15)
  257.               }
  258.               flags {
  259.                             ONCE_PER_INST
  260.               }
  261. }
  262. puzzle:1138 {               # TJ4E F Note (turn on) puzl
  263.               criteria { 
  264.                             [1136] = 1                  # TJ4E F Note (ctrl)
  265.               }
  266.               results {
  267.                             action:assign(1137, 0)      # TJ4E F Note (turn off) puzl
  268.                             action:assign(2617, 0)
  269.                             background:music:4628(4 74 65 127)
  270.                             action:stop(1107)
  271.                             background:animplay:1108(tj4ea41c.rlf 253 152 276 303 0 15 1 0 0 0 15)
  272.                             background:animplay:1107(tj4ea41c.rlf 253 152 276 303 16 26 0 0 0 0 15)
  273.               }
  274.               flags {
  275.                             ONCE_PER_INST
  276.               }
  277. }
  278. puzzle:1141 {               # TJ4E G Note (turn off) puzl
  279.               criteria { 
  280.                             [1140] = 0                  # TJ4E G Note (ctrl)
  281.               }
  282.               results {
  283.                             action:assign(1142, 0)      # TJ4E G Note (turn on) puzl
  284.                             action:stop(4629)
  285.                             action:stop(2605)
  286.                             action:stop(1110)
  287.                             background:animplay:1109(tj4ea51c.rlf 265 106 288 305 25 40 1 0 0 0 15)
  288.               }
  289.               flags {
  290.                             ONCE_PER_INST
  291.               }
  292. }
  293. puzzle:1142 {               # TJ4E G Note (turn on) puzl
  294.               criteria { 
  295.                             [1140] = 1                  # TJ4E G Note (ctrl)
  296.               }
  297.               results {
  298.                             action:assign(1141, 0)      # TJ4E G Note (turn off) puzl
  299.                             action:assign(2618, 0)
  300.                             background:music:4629(4 74 67 127)
  301.                             action:stop(1110)
  302.                             background:animplay:1111(tj4ea51c.rlf 265 106 288 305 0 15 1 0 0 0 15)
  303.                             background:animplay:1110(tj4ea51c.rlf 265 106 288 305 16 24 0 0 0 0 15)
  304.               }
  305.               flags {
  306.                             ONCE_PER_INST
  307.               }
  308. }
  309. puzzle:1144 {               # TJ4E Play Unlocking Sound
  310.               criteria { 
  311.                             [1147] = 2                  # TJ4E Solve Fountain_bg_task
  312.               }
  313.               results {
  314.                             action:stop(2601)
  315.                             action:stop(2602)
  316.                             action:stop(2603)
  317.                             action:stop(2604)
  318.                             action:stop(2605)
  319.                             action:stop(2606)
  320.                             action:stop(2607)
  321.                             background:music:1145(0 tj4eh4tc.raw 0)
  322.               }
  323. }
  324. puzzle:1146 {               # TJ4E Solve Fountain
  325.               criteria { 
  326.                             [1110] = 1                  # G note on loop
  327.                             [1107] = 1                  # F note on loop
  328.                             [1098] = 1                  # C note on loop
  329.                             [1119] = 0                  # TJ4E B Note (ctrl)
  330.                             [1113] = 0                  # TJ4E A Note (ctrl)
  331.                             [1140] = 1                  # TJ4E G Note (ctrl)
  332.                             [1136] = 1                  # TJ4E F Note (ctrl)
  333.                             [1132] = 0                  # TJ4E E Note (ctrl)
  334.                             [1128] = 0                  # TJ4E D Note (ctrl)
  335.                             [1123] = 1                  # TJ4E C Note (ctrl)
  336.               }
  337.               results {
  338.                             background:music:1147(0 tj4eh5tc.raw 0)
  339.               }
  340. }
  341. puzzle:1148 {               # TJ4E to TJ40 nav (1)
  342.               criteria { 
  343.                             [1150] = 1                  # TJ4E-TJ40
  344.               }
  345.               results {
  346.                             action:assign(1150, 0)      # TJ4E-TJ40
  347.                             action:assign(1113, 0)      # TJ4E A Note (ctrl)
  348.                             action:assign(1119, 0)      # TJ4E B Note (ctrl)
  349.                             action:assign(1123, 0)      # TJ4E C Note (ctrl)
  350.                             action:assign(1128, 0)      # TJ4E D Note (ctrl)
  351.                             action:assign(1132, 0)      # TJ4E E Note (ctrl)
  352.                             action:assign(1136, 0)      # TJ4E F Note (ctrl)
  353.                             action:assign(1140, 0)      # TJ4E G Note (ctrl)
  354.                             action:cursor(busy)
  355.               }
  356.               flags {
  357.                             ONCE_PER_INST
  358.               }
  359. }
  360. puzzle:1149 {               # TJ4E to TJ40 nav (2)
  361.               criteria { 
  362.                             [1109] ! 1                  # G note off nonloop
  363.                             [1106] ! 1                  # F note off nonloop
  364.                             [1103] ! 1                  # E note off nonloop
  365.                             [1100] ! 1                  # D note off nonloop
  366.                             [1145] ! 1                  # TJ4E Play Unlocking Sound_bg_task
  367.                             [1147] ! 1                  # TJ4E Solve Fountain_bg_task
  368.                             [1118] = 1                  # TJ4E Animations Stopped
  369.                             [1148] = 1                  # TJ4E to TJ40 nav (1)
  370.               }
  371.               results {
  372.                             action:cursor(idle)
  373.                             action:dissolve
  374.                             event:change_location(T,J,40,538)
  375.               }
  376.               flags {
  377.                             ONCE_PER_INST
  378.               }
  379. }
  380. puzzle:4630 {               # TJ4E Puzzle
  381.               criteria { 
  382.                             [1146] = 1                  # TJ4E Solve Fountain
  383.                             [1149] = 1                  # TJ4E to TJ40 nav (2)
  384.               }
  385.               results {
  386.                             action:assign(1144, 1)      # TJ4E Play Unlocking Sound
  387.               }
  388.               flags {
  389.                             ONCE_PER_INST
  390.               }
  391. }
  392. puzzle:4669 {               # TJ4E Enable Venus 11
  393.               criteria { 
  394.                             [171] > 0
  395.               }
  396.               results {
  397.                             action:assign(13, 171)
  398.               }
  399.               flags {
  400.                             ONCE_PER_INST
  401.               }
  402. }
  403. puzzle:2614 {
  404.     criteria {
  405.         [4626] = 1
  406.     }
  407.     results {
  408.         background:music:2601(0 tj4eh1sc.raw -1 100)
  409.     }
  410.     flags {
  411.         ONCE_PER_INST
  412.     }
  413. }
  414. puzzle:2615 {
  415.     criteria {
  416.         [1131] = 1
  417.     }
  418.     results {
  419.         background:music:2602(0 tj4eh2sc.raw -1 100)
  420.     }
  421.     flags {
  422.         ONCE_PER_INST
  423.     }
  424. }
  425. puzzle:2616 {
  426.     criteria {
  427.         [1132] = 1
  428.     }
  429.     results {
  430.         background:music:2603(0 tj4eh3sc.raw -1 100)
  431.     }
  432.     flags {
  433.         ONCE_PER_INST
  434.     }
  435. }
  436. puzzle:2617 {
  437.     criteria {
  438.         [1136] = 1
  439.     }
  440.     results {
  441.         background:music:2604(0 tj4eh4sc.raw -1 100)
  442.     }
  443.     flags {
  444.         ONCE_PER_INST
  445.     }
  446. }
  447. puzzle:2618 {
  448.     criteria {
  449.         [1140] = 1
  450.     }
  451.     results {
  452.         background:music:2605(0 tj4eh5sc.raw -1 100)
  453.     }
  454.     flags {
  455.         ONCE_PER_INST
  456.     }
  457. }
  458. puzzle:2619 {
  459.     criteria {
  460.         [1113] = 1
  461.     }
  462.     results {
  463.         background:music:2606(0 tj4eh6sc.raw -1 100)
  464.     }
  465.     flags {
  466.         ONCE_PER_INST
  467.     }
  468. }
  469. puzzle:2620 {
  470.     criteria {
  471.         [1119] = 1
  472.     }
  473.     results {
  474.         background:music:2607(0 tj4eh7sc.raw -1 100)
  475.     }
  476.     flags {
  477.         ONCE_PER_INST
  478.     }
  479. }
  480. puzzle:2621 {
  481.     criteria {
  482.         [39] = 1
  483.     }
  484.     results {
  485.         action:assign(39, 0)
  486.         action:assign(2614, 0)
  487.         action:assign(2615, 0)
  488.         action:assign(2616, 0)
  489.         action:assign(2617, 0)
  490.         action:assign(2618, 0)
  491.         action:assign(2619, 0)
  492.         action:assign(2620, 0)
  493.         action:assign(2621, 0)
  494.     }
  495.     flags {
  496.         ONCE_PER_INST
  497.     }
  498. }
  499.  
  500.  
  501. # CONTROLS
  502. control:1113 push_toggle {                # TJ4E A Note (ctrl)
  503.               flat_hotspot(292,136,31,37)
  504.               cursor(active)
  505. }
  506. control:1119 push_toggle {                # TJ4E B Note (ctrl)
  507.               flat_hotspot(315,100,34,35)
  508.               cursor(active)
  509. }
  510. control:1123 push_toggle {                # TJ4E C Note (ctrl)
  511.               flat_hotspot(163,93,34,39)
  512.               cursor(active)
  513. }
  514. control:1128 push_toggle {                # TJ4E D Note (ctrl)
  515.               flat_hotspot(175,141,41,36)
  516.               cursor(active)
  517. }
  518. control:1132 push_toggle {                # TJ4E E Note (ctrl)
  519.               flat_hotspot(208,108,35,32)
  520.               cursor(active)
  521. }
  522. control:1136 push_toggle {                # TJ4E F Note (ctrl)
  523.               flat_hotspot(241,141,31,35)
  524.               cursor(active)
  525. }
  526. control:1140 push_toggle {                # TJ4E G Note (ctrl)
  527.               flat_hotspot(264,95,38,32)
  528.               cursor(active)
  529. }
  530. control:1150 push_toggle {                # TJ4E-TJ40
  531.               flat_hotspot(0,265,511,54)
  532.               cursor(backward)
  533. }
  534.  
  535. # AUTO-BACKWARDS PUZZLES AND CONTROLS
  536. control:25572 flat {
  537. }
  538.