summaryrefslogtreecommitdiff
path: root/npc/quests/The_Sign_Quest.txt
blob: af2768646c45ff9410929d63a5d8554e3672b007 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
//===== eAthena Script ======================================= 
//= The Sign Quest
//===== By: ================================================== 
//= SinSloth(Most of the NPCs), MasterOfMuppets(Some of the NPCs + bug fixes) & Kargha(The quiz NPCs)
//===== Current Version: ===================================== 
//= 2.7
//===== Compatible With: ===================================== 
//= eAthena SVN 3422+(Requires jA Script System)
//===== Description: ========================================= 
//= - Quest for opening the doors to Geffenia.
//===== Comments: ============================================
//= This script uses sign_01.bmp - sign_04.bmp, these will be
//= found in the language of your client.
//===== Additional Comments: ================================= 
//= 1.0 First version, beware of potential nasty bugs :x [MasterOfMuppets]
//= 1.1 Finalized for stable, might still contain bugs though. [MasterOfMuppets]
//= 1.1a moved #aldesignwarp to fix enless warp [Lupus]
//= 1.2 Fixed a minor bug that prevented people from advancing [MasterOfMuppets]
//= 	quest at one point.
//= 1.3 Removed duplicates [Toms]
//= 1.4 Fixed a bug in Dearles script where it was checking for the wrong items.
//=     Fixed a major bug that was allowing players to continue before
//=     getting all the Sobbing Starlight pieces.
//=     Also moved the Alberta sign since another NPC was on top of it. [Llyr]
//= 1.5 Fixed exploits and bugs. Plus add a removal of exttra sobbing pieces
//= 	as suggested Tantarian, to let people Reborn [Lupus]
//= 1.6 Minor fix, thanks to theultramage for pointing it out. [MasterOfMuppets]
//= 1.7 Fixed exploit [KarLaeda]
//= 1.7a Fixed wrong dialogue [Lupus]
//= 1.7b Fixed possible exploit [Lupus]
//= 1.7c Reformatted for future bughunt. WIP [Lupus]
//= 1.8 Fixed some bugs and exploit which allowed players helping in the final
//= fight to finish the quest as well. Completely revamped quiz system. [SinSloth]
//= 1.9 Made some changes in last event to reflect recent bug exploit fix. [SinSloth]
//= 2.0 Fixed some various minor bugs. [SinSloth]
//= 2.1 Fixed experience gains to match upcoming rate adjustments. [SinSloth]
//= 2.2 Fixed a small bug which occured when people had to return The Sign around midnight. [SinSloth]
//= 2.3 Made some adjustments in last event with dialogs/summoning and fixed a possible exploit earlier. [SinSloth]
//= 2.4 Optimized/simplified some poorly written code; fixed wrong quiz answers [ultramage]
//= 2.5 Updated to fall within proper name restrictions. [L0ne_W0lf]
//= 2.5a Corrected a Typo error ";;". [Samuray22]
//= 2.6 Fixed Engel giving back 7 Sobbing Starlight on failing to refine it, bugreport:1473 [Brainstorm]
//= 2.7 Replaced effect numerics with constants. [Samuray22]
//============================================================ 
//===== Configuration : ======================================
prontera,1,1,1	script	TheSignConfig	-1,{
OnInit:
//= This string will be used to show which timezone your server
//= is located in, it's necessary for the quest, so please change it.

	set $timezonestring$,"^FF0000GMT^000000";

//= This variable determines whether the "sign_xx.bmps" will be used or
//= if raw text will be used in the 'Sign::GeffeniaSigns' script.
//= Set it to 0 if you want to use text.
//= The bmp's are in the language of your client. If you are using a
//= kRO Client, you may want to download the English bmp's available in
//= the Texture.rar at http://mrmagoo.psiblade.net/translation/index.php?section=downloads

	set $signbmps,1;
}
//============================================================

alberta,34,241,1	script	Sign::GeffeniaSigns	111,{
    if (signquest < 1)set signquest,1;
    if ($signbmps) {
        cutin "sign_01",4;
        mes "^3355FFNext";
        next;
        cutin "",255;
        cutin "sign_02",4;
        mes "^3355FFNext";
        next;
        cutin "",255;
        cutin "sign_03",4;
        mes "^3355FFNext";
        next;
        cutin "",255;
        cutin "sign_04",4;
        mes "^3355FFClose";
        close2;
        cutin "",255;
        end;
    } else {
        mes "^3355FFTo the talented and";
        mes "experienced adventurers who";
        mes "have dreams of achieving true";
        mes "greatness...";
        next;
        mes "^3355FFI present a once in a";
        mes "lifetime opportunity to the one";
        mes "who proves most worthy. You must";
        mes "have the courage to risk peril,";
        mes "the wisdowm to perforum right";
        mes "action and the strength to be";
        mes "victorious in combat.";
        next;
        mes "^3355FFThe way will be fraught";
        mes "with danger and only the most";
        mes "adept adventurers may have a";
        mes "chance of surviving. But if we";
        mes "can succeed, I promies on my";
        mes "good name that power beyond";
        mes "imagining will become yours.";
        next;
        mes "^3355FFThose of you who are interested,";
        mes "come to me and I will test";
        mes "your abilities. The one who";
        mes "can manage to pass this testing";
        mes "just might be capable of helping";
        mes "me prove a forgotten legend";
        mes "and uncover a long lost power";
        next;
        mes "^3355FFI shall be waiting.";
        mes "";
        mes "^000000-Metz Brayde";
        close;
    }
}

morocc,168,264,1	duplicate(GeffeniaSigns)	Sign#2	111
payon,160,183,1	duplicate(GeffeniaSigns)	Sign#3	111
prontera,147,305,1	duplicate(GeffeniaSigns)	Sign#4	111
geffen,168,175,1	duplicate(GeffeniaSigns)	Sign#5	111
aldebaran,54,223,1	duplicate(GeffeniaSigns)	Sign#6	111

prt_in,228,26,4	script	Steward	55,{

    if (signquest > 22) goto L_Situation;
    if (signquest == 14) goto L_Artisan;
    if (signquest > 1) {
        mes "[Vendez]";
        mes "Ah, master " + strcharinfo(0) + ".";
        mes "Welcome. How may I be";
        mes "of service today?";
        next;
        menu "Who is Arian?",s_Arian,"What is Metz doing?",-,"How is Elle?",s_Elle;

        mes "[Vendez]";
        mes "Althought I've served";
        mes "the Brayde family for years";
        mes "I'm unfamiliar with Master";
        mes "Metz's work. My appologies, but";
        mes "I simply cannot even begin to";
        mes "fathom his research...";
        close;
s_Arian:
        mes "[Vendez]";
        mes "Ah yes, Arian.";
        mes "I consider him to be";
        mes "a man of few words. The";
        mes "words he does choose to";
        mes "use are rather harsh and";
        mes "brutish, you might say.";
        close;
s_Elle:
        mes "[Vendez]";
        mes "Ah, Mistress Elle";
        mes "has been working here";
        mes "since she was a very young";
        mes "girl. She is almost like";
        mes "a granddaughter to me.";
        mes "Ha ha-^222222*Ahem*";
        close;

    } else {
        mes "[Vendez]";
        mes "Welcome to the";
        mes "Brayde Estate. How";
        mes "may I be of service?";
        next;
        menu "Nothing",-,"I'm here to see Metz",s_Metz,"Gimmie your cash!",s_Cash;

        mes "[Vendez]";
        mes "If you do not have";
        mes "any business to conduct";
        mes "with Master Metz, please";
        mes "leave immediately";
        close;

s_Metz:
        mes "[Vendez]";
        mes "Very good, sir.";
        mes "Please wait a moment";
        mes "while I consult with";
        mes "the master in his study.";
        close;

s_Cash:
        mes "[Vendez]";
        mes "My apologies,";
        mes "but I insist that";
        mes "you leave the premises";
        mes "^FF0000immediately^000000.";
        close2;
        warp "prontera",150,150;
        end;
    }

L_Artisan:
    mes "[Vendez]";
    mes "Oh, congratulations~";
    mes "You finally passed all";
    mes "of the tests. I know they";
    mes "must have been incredibly";
    mes "taxing and challenging.";
    next;
    mes "[Vendez]";
    mes "Master Metz has informed";
    mes "me that he wishes for you";
    mes "to find someone";
    mes "to restore the Sobbing";
    mes "Starlight. I wish you luck";
    mes "in that endeavor.";
    close;

L_Situation:
    mes "[Vendez]";
    mes "There will always";
    mes "be situations where";
    mes "you won't be getting";
    mes "any second chances.";
    mes "Anyways remember that.";
    close;

}

prt_in,227,45,4	script	Archaeologist	804,{
    cutin "mets_alpha",2;
    if (sign_fail) goto L_Stop;
    if (signquest)goto s_Cont;
    mes "[Metz]";
    mes "Although you need everlasting";
    mes "patience in an archaeological";
    mes "excavation, the feeling you get";
    mes "when you find something makes";
    mes "all those long hours of study and";
    mes "research worth it.";
    close2;
    cutin "",255;
    end;

s_Cont:
    if (signquest == 1) {
        mes "[Metz]";
        mes "Hm...?";
        mes "Can I help you?";
        next;
        menu "I've been following these signs and...",s_Sign,"I was just passing by",-;

        mes "[Metz]";
        mes "Oh really?";
        mes "I see, I though you";
        mes "were an applicant for";
        mes "the position I'm offering";
        mes "to brave adventurers.";
        close2;
        cutin "",255;
        end;

s_Sign:
        mes "[Metz]";
        mes "Great...!";
        mes "Welcome to my";
        mes "humble lodgings.";
        mes "Hmm, let me see...";
        next;
        if (BaseLevel < 70) {
            mes "[Metz]";
            mes "Uh, it pains me to say this, but I";
            mes "don't think you qualify to help";
            mes "me out. Once you gain enough";
            mes "experience though, I'll be happy";
            mes "to have you on board~";
            close2;
            cutin "",255;
            end;
        }
        mes "[Metz]";
        mes "Hey, I think you might";
        mes "be well suited for the job!";
        mes "But do you think you could come";
        mes "back later? I've got my hands full";
        mes "with some other business.";
        next;
        mes "[Metz]";
        mes "Oh right, would you tell";
        mes "me your name? " + strcharinfo(0) + "?";
        mes "Okay then, I'll remember that.";
        mes "Talk to you later, alright?";
        set signquest,2;
        close2;
        cutin "",255;
        end;
    } else if (signquest == 2) {
        mes "[Metz]";
        mes "I'm sorry I made you wait,";
        mes "but I had some research to finish";
        mes "and it took longer than I";
        mes "expected. Now, before I tell you";
        mes "more about the job, I want to";
        mes "test your competency";
        next;
        mes "[Metz]";
        mes "The job I'm offering is";
        mes "pretty risky and not just";
        mes "anybody can handle it.";
        mes "You'll actually go through";
        mes "a series of tests conducted";
        mes "by my trusted friends.";
        next;
        mes "[Metz]";
        mes "Now, the first person";
        mes "you must visit is ^FF0000Arian^000000";
        mes "in Morroc. Please speak";
        mes "to him and he'll give you";
        mes "all the details about his";
        mes "examination... I hope";
        next;
        mes "[Metz]";
        mes "Once you're finished with";
        mes "the test, Arian will tell you";
        mes "what to do next. Afterwards,";
        mes "come back to me so that we";
        mes "can finally talk business.";
        next;
        mes "[Metz]";
        mes "Ah, almost forgot.";
        mes "Arian won't talk to anybody";
        mes "unless he knows them or";
        mes "receives a message from me.";
        mes "So if he's snubbed you in the past,";
        mes "just understand that's his";
        mes "way.";
        set signquest,3;
        close2;
        cutin "",255;
        end;
    } else if (signquest == 3 || signquest == 4) {
        mes "[Metz]";
        mes "Hm...?";
        mes "Shouldn't you leave";
        mes "for Morroc to see Arian?";
        mes "You better hurrty in case";
        mes "somebody else applies";
        mes "for this little job.";
        close2;
        cutin "",255;
        end;
    } else if (signquest == 13) {
        mes "[Metz]";
        mes "Congratulations~";
        mes "You managed to pass";
        mes "all of the tests! You seem";
        mes "to be the perfect person";
        mes "to carry out this special";
        mes "assignment!";
        next;
        mes "[Metz]";
        mes "By now, you must have";
        mes "six Sobbing Starlight pieces.";
        mes "I'm sure that you want to know";
        mes "more about those fragments.";
        next;
        mes "[Metz]";
        mes "I remember last summer,";
        mes "I found the wholly formed";
        mes "Sobbing Starlight north";
        mes "of Mount Mjolnir during";
        mes "one of my expeditions.";
        next;
        mes "[Metz]";
        mes "Although it was in perfect";
        mes "shape, once it was exposed";
        mes "to the air, it began to crack";
        mes "and shattered into the pieces";
        mes "you now hold in your hands.";
        next;
        mes "[Metz]";
        mes "Now, an ordinary artisan";
        mes "can't put the Sobbing Starlight";
        mes "back together. This mysterious";
        mes "stone has some strange properties.";
        mes "But it's imperative to me to get";
        mes "this stone reassembled.";
        next;
        mes "[Metz]";
        mes "Once restored, a strange";
        mes "pattern can be seen within";
        mes "the Sobbing Starlight. I guess";
        mes "that the pattern is a message";
        mes "written in an ancient language.";
        next;
        mes "[Metz]";
        mes "Would you let me borrow";
        mes "the pieces for a second ?";
        mes "I'll show you something";
        mes "quite interesting...";
        next;
        mes "^0066CCOnce you hand the pieces";
        mes "of the Sobbing Starlight to";
        mes "Metz, he pulls out a seventh";
        mes "piece. Once gathered, they";
        mes "begin to emit a strange light.";
        misceffect 34;
        next;
        mes "[Metz]";
        mes "Since the pieces still";
        mes "respond to each other,";
        mes "I believe that it's possible";
        mes "for the Sobbing Starlight";
        mes "to be restored to its";
        mes "original form.";
        next;
        mes "[Metz]";
        mes "We're still seeking";
        mes "an artisan of great";
        mes "skill for this task. Once";
        mes "know right away. For now,";
        mes "please hold on these pieces.";
        getitem 7177,1;
        set signquest,14;
        close2;
        cutin "",255;
        end;
    } else if (signquest == 14) {
        mes "[Metz]";
        if (rand(5)){
        	mes "Although I've made";
        	mes "some progress, I still";
        	mes "haven't found an artisan";
        	mes "capable of restoring the";
        	mes "Sobbing Starlight. Please";
        	mes "give me a little more time.";
        	close2;
        	cutin "",255;
        	end;
		}
        mes "Ah, you've come just";
        mes "just in the nick of time!";
        mes "I just found someone who";
        mes "may be capable of restoring";
        mes "the Sobbing Starlight.";
        next;
        mes "[Metz]";
        mes "His name is";
        mes "^FF0000Engel Howard^000000,";
        mes "a legendary Blacksmith";
        mes "in Rune Midgard. I don't";
        mes "know where he is, but maybe";
        mes "his family in Geffen may know.";
        next;
        mes "[Metz]";
        mes "Unfortunately, that's all";
        mes "the information that I have";
        mes "to give you for now. You'll";
        mes "have to investigate this lead";
        mes "on your own, "+ strcharinfo(0) +".";
        set signquest,15;
        close2;
        cutin "",255;
        end;

    } else if (signquest == 23) {
        mes "[Metz]";
        mes "Amazing...! You've";
        mes "managed to restore";
        mes "the Sobbing Starlight!";
        mes "Now, I recently learned that";
        mes "this stone can lead you to";
        mes "an ancient place...";
        next;
        mes "[Metz]";
        mes "That's why we need to";
        mes "know what the message in";
        mes "the Sobbing Starlight means.";
        mes "First, we need a Wizard that";
        mes "is skilled in unlocking the";
        mes "messages stored in gems...";
        next;
        mes "[Metz]";
        mes "Hmm. It would probably";
        mes "be best to visit the Wizards";
        mes "on the top floor of the Geffen";
        mes "Tower. There's someone I know";
        mes "there who might just be up for";
        mes "this task...";
        set signquest,24;
        close2;
        cutin "",255;
        end;

    } else if (signquest == 24) {
        mes "[Metz]";
        mes "Now that the";
        mes "Sobbing Starlight";
        mes "is restored, we need";
        mes "to find someone who can";
        mes "break the seal on the";
        mes "gem's message...";
        next;
        mes "[Metz]";
        mes "For now, please visit";
        mes "the Wizards at the top";
        mes "floor of the Geffen Tower.";
        mes "I know that one of them is";
        mes "capable of getting the gem's";
        mes "text on a paper...";
        close2;
        cutin "",255;
        end;
    } else if (signquest == 28) {
        mes "[Metz]";
        mes "Great...!";
        mes "You were able to get the";
        mes "text in the gem printed on a";
        mes "Record of Ancient Language?";
        next;
        mes "[Metz]";
        mes "Just as I thought.";
        mes "This language isn't";
        mes "one I recognize. It's";
        mes "probably too ancient.";
        next;
        mes "[Metz]";
        mes "Fortunately, I know";
        mes "one person who may";
        mes "be able to translate this.";
        mes "If he's not able to do it...";
        mes "We'll have to give up.";
        next;
        mes "[Metz]";
        mes "Bring this Record";
        mes "of Ancient Language";
        mes "to a man named Frank.";
        mes "I hope he'll be able to";
        mes "understand what it says.";
L_Frank:
        next;
        menu "Who is Frank?",L_Who,"Where is he?",L_Where,"I see.",-;
        mes "[Metz]";
        mes "Good luck, then.";
        mes "I hope that you can";
        mes "find a way to get Frank";
        mes "Franklin to help us.";
        set signquest,29;
        close2;
        cutin "",255;
        end;

L_Who:
        mes "[Metz]";
        mes "Frank Franklin has lived";
        mes "in seclusion and only a few";
        mes "people are aware of his skill.";
        mes "But I can assure you that his";
        mes "knowledge of ancient languages";
        mes "isn't rivaled by any mortal.";
        next;
        mes "[Metz]";
        mes "I suppose his interest";
        mes "in history is what drives";
        mes "him in work. Still, I've";
        mes "heard that he doesn't like";
        mes "meeting people. I hope you";
        mes "can convince him to help us...";
        goto L_Frank;

L_Where:
        mes "[Metz]";
        mes "It's said that";
        mes "Frank Franklin lives";
        mes "on the Alberta Sunken Ship";
        mes "where he devotes his time";
        mes "to his researches. He may not";
        mes "always be home though...";
        goto L_Frank;

    } else if (signquest == 29) {
        mes "[Metz]";
        mes "So far, I've learned";
        mes "from my research that";
        mes "the gem's message has";
        mes "details about a certain";
        mes "location and an item that";
        mes "serves as some kind of key...";
        next;
        mes "[Metz]";
        mes "While I investigate,";
        mes "please try to have Frank";
        mes "Franklin translate the";
        mes "message in the Record of";
        mes "Ancient Language. Keep up";
        mes "the good work," + strcharinfo(0) + ".";
        close2;
        cutin "",255;
        end;
    } else if (signquest == 53) {
        mes "[Metz]";
        mes "Angrboda...?!";
        mes "According to legend,";
        mes "her soul was split into";
        mes "pieces and placed behind";
        mes "seals created by the gods!";
        next;
        mes "[Metz]";
        mes "You'll need a stout,";
        mes "heavy or really sharp";
        mes "weapon. Of course, I'm";
        mes "told that such weapons";
        mes "are truly rare...";
        next;
        mes "[Metz]";
        mes "Supposedly, normal";
        mes "Blacksmiths can't even";
        mes "forge those kinds of rare";
        mes "weapons. But if you manage";
        mes "to get one, you might have a";
        mes "chance of breaking the seals.";
        next;
        mes "[Metz]";
        mes "Of course, I'm worried";
        mes "that may be violating the";
        mes "will of the gods by releasing";
        mes "Angrboda, but we've already";
        mes "gone this far...";
        close2;
        cutin "",255;
        end;
    } else if ( (signquest > 54 && signquest < 59) || (signquest == 59 && !countitem(2644))) {
        mes "[Metz]";
        mes "I think you're";
        mes "almost there. All";
        mes "of our efforts will";
        mes "soon come to fruition!";
        close2;
        cutin "",255;
        end;
    } else if (signquest == 59 && countitem(2644)) {
        mes "[Metz]";
        mes "This is it...!";
        mes "You've brought me,";
        mes "'The Sign'! I've finally";
        mes "proven its existence!";
        mes "Please let me handle";
        mes "this and come back later~";
        delitem 2644,1;
        set @metzhour,gettime(3);
        set @metzmin,gettime(2);
        if (@metzmin > 29) set @metzhour,@metzhour +1;
        set signmetzhour,@metzhour + rand(2,4);
        if (signmetzhour > 23) set signmetzhour,signmetzhour - 24;
        set signquest,60;
        close2;
        cutin "",255;
        end;
    } else if (signquest == 60) {
        if (gettime(3) == signmetzhour || gettime(3) == signmetzhour +1 || gettime(3) == signmetzhour +2 || (signmetzhour +1 == 24 && gettime(3) == 0) || (signmetzhour +2 == 24 && gettime(3) == 0) || (signmetzhour +2 == 25 && gettime(3) == 1)) {
            mes "[Metz]";
            mes "Fascinating...";
            mes "This was made with";
            mes "a material outside of";
            mes "Rune-Midgard! See this";
            mes "blue lens? That must be";
            mes "its incredible power source!";
            next;
            mes "[Metz]";
            mes "I've found that the runes";
            mes "around the lens control some";
            mes "kind of seals placed at the Geffen";
            mes "Tower and Geffen Fountain. But with";
            mes "this in your hands, the seals";
            mes "should be broken...";
            next;
            mes "[Metz]";
            mes "I... I think";
            mes "you can even use this";
            mes "to enter Valhalla. There";
            mes "may be even other applications";
            mes "using the power of this item...";
            next;
            getitem 2644,1;
            set signquest,61;
            mes "[Metz]";
            mes "I can only think of";
            mes "one person who can";
            mes "handle working with";
            mes "this: Engel Howard,";
            mes "Rune-Midgard's best";
            mes "Blacksmith.";
            close2;
            cutin "",255;
            end;
        } else {
            mes "[Metz]";
            mes "I'm sorry, but I'm";
            mes "still examinating the";
            mes "artifact you've lent to";
            mes "me. Would you please";
            mes "give me some more time?";
            close2;
            cutin "",255;
            end;
        }

    } else if (signquest == 61) {
        mes "[Metz]";
        mes "Have you visited";
        mes "Engel Howard yet?";
        mes "He's the only one";
        mes "who can unlock the";
        mes "Sign's power for you...";
        close2;
        cutin "",255;
        end;
    } else if (signquest == 63) {
        set signquest,64;
        mes "[Metz]";
        mes "Ah, you're finally";
        mes "here. I've been waiting";
        mes "to speak with you. First,";
        mes "let me thank you again";
        mes "for all of your help.";
        next;
        mes "[Metz]";
        mes "Thanks to you, my wish";
        mes "of proving the existence";
        mes "of the Sign has finally been";
        mes "fulfilled. Its power is now";
        mes "yours to do as you wish.";
        next;
        mes "[Metz]";
        mes "You may have had your doubts,";
        mes "but I'm happy enough to confirm";
        mes "that the Sign really exists. Thanks";
        mes "again, and I hope you stop by and";
        mes "chat from time to time.";
        getexp 1823951,0;
        close2;
        cutin "",255;
        end;
    } else if (signquest >= 64) {
        mes "[Metz]";
        mes "Thank you so much";
        mes "for helping me make";
        mes "my dream come true.";
        mes "I hope we can work on";
        mes "another project together.";
        next;
        mes "[Metz]";
        mes "Well then...";
        mes "Good luck on";
        mes "your journeys,";
        mes "brave " + strcharinfo(0) + ".";
        close2;
        cutin "",255;
        end;
    } else {
        mes "[Metz]";
        mes "How are going your";
        mes "researches about";
        mes "the Sobbing Starlight?";
        mes "I wish you to come";
        mes "back to me when you";
        mes "have passed all tests.";
        close2;
        cutin "",255;
        end;
    }

L_Stop:
    if (sign_fail != 3) {
        mes "[Metz]";
        mes "What...?";
        mes "Were you really lacking";
        mes "that much courage...?";
        mes "Does it mean I'll never";
        mes "see that legendary artifact";
        mes "with my own eyes?";
        next;
        mes "[Metz]";
        mes "So much work for nothing...";
        mes "Oh, excuse me. I should feel";
        mes "honored to just have been";
        mes "able to hold that Sobbing";
        mes "Starlight in my own hands.";
        mes "May I please take one last";
        mes "look at it?";
        next;
        getitem 617,1;
        getexp 876543,0;
    }
    set sign_fail,3;
    mes "[Metz]";
    mes "Thanks for your help. My dream";
    mes "might never come true but I've";
    mes "seen things that some people";
    mes "will never see in their whole lives.";
    close2;
    cutin "",255;
    end;
}

prt_in,248,23,4	script	Maid#2	1275,{

end;

}

morocc_in,114,162,4	script	Young Man#13	118,{

    if (signquest == 5) {
        mes "[Gaanan]";
        mes "^444444*Sigh...*^000000";
        mes "I wish the weather'd";
        mes "cool down, even just a little.";
        mes "While I'm asking for miracles,";
        mes "I may as well wish for a billion";
        mes "kajillion zeny. And maybe a yacht.";
        close;
    }
    else if (arianstest == 8) {
        if (gaanantest == 1) {
            mes "[Gaanan]";
            mes "Hm...?";
            mes "Arian is the one";
            mes "who's grading your";
            mes "test. But I understand.";
            mes "If you failed, I'd want";
            mes "to avoid him too...";
            close;
        }
        mes "[Gaanan]";
        mes "Oh, Arian sent you to me,";
        mes "right? I'm sorry, but he takes";
        mes "a little time getting used to.";
        mes "Even though I still have to get";
        mes "used to his... mannerisms";
        next;
        mes "[Gaanan]";
        mes "Anyway, since he thinks it's";
        mes "boring, Arian put me in charge";
        mes "of the quiz portion of your test.";
        mes "Please carefully choose an";
        mes "answer when I ask you a";
        mes "question. Are you ready?";
        next;
        set gaananpoint,0;
        mes "[Gaanan]";
        mes "Now, the first question.";
        mes "Let's say that you just";
        mes "found yourself on a deserted";
        mes "island. What is the very first";
        mes "thing that you should do?";
        next;
        switch( select( "Look for fresh water","Just wait for rescue.","Forage for food.","Explore the island." ) )
        {
        	case 1: set gaananpoint,gaananpoint +7; break;
        	case 2: set gaananpoint,gaananpoint +1; break;
        	case 3: set gaananpoint,gaananpoint +4; break;
        	case 4: set gaananpoint,gaananpoint +10; break;
	}
        mes "[Gaanan]";
        mes "The second question is...";
        mes "You happen to be stuck in";
        mes "a narrow place inside some collapsed building. What";
        mes "do you plan to do first?";
        next;
        switch( select( "Scream for help","Stay quiet.","Wait for death to come.","Find a way out." ) )
        {
        	case 1: set gaananpoint,gaananpoint +3; break;
        	case 2: set gaananpoint,gaananpoint +7; break;
        	case 3: set gaananpoint,gaananpoint +1; break;
        	case 4: set gaananpoint,gaananpoint +7; break;
        }
        mes "[Gaanan]";
        mes "Now, the third question.";
        mes "You're on some dungeon";
        mes "expedition with your friends,";
        mes "but you got lost somehow.";
        mes "How do you handle it?";
        next;
        switch( select( "Try to find my friends.","Find a way out.","Stay put.","Continue exploring the dungeon." ) )
        {
        	case 1: set gaananpoint,gaananpoint +0; break;
        	case 2: set gaananpoint,gaananpoint +5; break;
        	case 3: set gaananpoint,gaananpoint +10; break;
        	case 4: set gaananpoint,gaananpoint +1; break;
	}
        mes "[Gaanan]";
        mes "Here's the fourth question.";
        mes "You're with your friends inside";
        mes "a mansion with no exit. What do";
        mes "you do first when a murder happens";
        mes "inside the mansion?";
        next;
        switch( select( "Wait for the case to get solved.","Try to find my friends first.","Find a way out.","Solve the murder case on my own.","Kill the others before they kill me." ) )
        {
        	case 1: set gaananpoint,gaananpoint +7; break;
        	case 2: set gaananpoint,gaananpoint +5; break;
        	case 3: set gaananpoint,gaananpoint +3; break;
        	case 4: set gaananpoint,gaananpoint +1; break;
        	case 5: set gaananpoint,gaananpoint +1; break;
  	}
        mes "[Gaanan]";
        mes "The fifth question is";
        mes "You hear that the end of";
        mes "the world is in one week.";
        mes "So what do you do during";
        mes "this final week?";
        next;
        switch( select( "Wait to see the end.","Plant an apple tree.","Look to move to a different world.","What else? Save the world.","What else? Go on a crime spree." ) )
        {
        	case 1: set gaananpoint,gaananpoint +5; break;
        	case 2: set gaananpoint,gaananpoint +3; break;
        	case 3: set gaananpoint,gaananpoint +7; break;
        	case 4: set gaananpoint,gaananpoint +10; break;
        	case 5: set gaananpoint,gaananpoint +1; break;
	}
        mes "[Gaanan]";
        mes "Oh! We're done!";
        mes "Okay, let me give";
        mes "these answers to Arian.";
        mes "Sooo... Talk to him and";
        mes "he'll let you know how";
        mes "you did.";
        set gaanantest,1;
        close;
    }
    else if (ariantest < 8) {

        emotion e_swt2;
        mes "[Gaanan]";
        mes "The weather here in";
        mes "Morroc is too hot for me.";
        mes "I'm having a hard time just";
        mes "trying to live here. Do you";
        mes "know a nice and cool place";
        mes "where I can work?";
        close;
    }
}


morocc_in,115,154,5	script	Rogue	810,{

    if (signquest == 5) {
        mes "[Arian]";
        mes "..........";
        mes "Payon...?";
        mes "Daewooon?";
        mes "Any of it ring a bell?";
        mes "Cuz it really oughtta!";
        close;
    }
    else if (signquest < 3 || signquest > 5) {
        emotion e_dots;
        end;
    } else if (signquest == 3) {

        mes "[Arian]";
        mes "...";
        mes "Who the hell";
        mes "are you, jerkface?";
        next;
        menu "Metz sent me here.",s_Metz,"^0000FF" + strcharinfo(0) + "^000000",s_Name,"Who are you then?",-;

        mes "[Arian]";
        mes "...";
        mes "......";
        next;
        percentheal -50,0;
        mes "[Arian]";
        mes "...";
        mes "......";
        mes "Your mom.";
        mes "Now get the";
        mes "hell outta here!";
        close;

s_Metz:

        mes "[Arian]";
        mes "Oh yeah...?";
        mes "Well, I'm sending you";
        mes "back! No way I'm fallin'";
        mes "for that trick, chump!";
        close2;
        warp "morocc",279,173;
        end;

s_Name:

        mes "[Arian]";
        mes "Wha...?";
        mes "^0000FF" + strcharinfo(0) + "^000000.";
        mes "Yeah, okay. Metz did";
        mes "mention something about";
        mes "you. You're here for";
        mes "the test, right?";
        next;
        mes "[Arian]";
        mes "Aliright, this";
        mes "test is simple.";
        mes "I tell you to bring me";
        mes "a bunch of items and";
        mes "you go get them.";
        next;
        mes "[Arian]";
        mes "I know you jerkward adventurers";
        mes "are always talking and you share";
        mes "the answers for any test some dude";
        mes "is givin' out. 'Course, it doesn't";
        mes "help that I use the same test";
        mes "every frickin' time...";
        next;
        mes "[Arian]";
        mes "Now, you gotta bring and only";
        mes "have the item I ask you for when";
        mes "you come to me. If you know that";
        mes "I'll be asking for something later";
        mes "and you happen to have it, I'll";
        mes "straight up ^FF0000jack it^000000.";
        next;
        mes "[Arian]";
        mes "The first item?";
        mes "Gimme ^FF0000100 Fluff^000000.";
        mes "Bring that and I'll";
        mes "tell you what to";
        mes "bring next.";
        set signquest,4;
        set arianstest,1;
        close;
    } else if (signquest == 4) {

        if (arianstest == 1) {
            if (countitem(914) < 100)goto s_Bringfluff;
            delitem 914,100;
            mes "[Arian]";
            mes "What the hell took you so";
            mes "long? Now bring me ^FF000050 Poison Spores^000000";
            mes "or I'll kick your ass.";
            set arianstest,2;
            close2;
            goto Verifyitems;

s_Bringfluff:
            mes "[Arian]";
            mes "...";
            mes "Hey. What the hell's wrong";
            mes "with you? Hurry and get me";
            mes "^FF0000100 Fluff^000000, ya slacker.";
            close;
        }
        else if (arianstest == 2) {
            if (countitem(7033) < 50)goto s_Bringspore;
            delitem 7033,50;
            mes "[Arian]";
            mes "...";
            mes "It's about time you";
            mes "got here with those";
            mes "Poison Spores. Now, go";
            mes "and get ^FF000030 Scorpion Tails";
            set arianstest,3;
            close2;
            goto Verifyitems;

s_Bringspore:
            mes "[Arian]";
            mes "...";
            mes "Hey. What part of 'Get me";
            mes "^FF000050 Poison Spores^000000 or I'll";
            mes "kick your ass, don't";
            mes "you understand?";
            close;
        } else if (arianstest == 3) {
            if (countitem(904) < 30)goto s_Bringtails;
            delitem 904,30;
            mes "[Arian]";
            mes "...";
            mes "Damn, you sure took your";
            mes "sweet time bringing over this";
            mes "crap. Okay, now bring";
            mes "^FF000020 Rotten Bandages^000000.";
            set arianstest,4;
            close2;
            goto Verifyitems;

s_Bringtails:
            mes "[Arian]";
            mes "...";
            mes "What, your mom drop you on the";
            mes "head right after you were born?";
            mes "Stop bein' stupid and get me";
            mes "^FF000030 Scorpion Tails^000000, nimrod.";
            close;
        } else if (arianstest == 4) {
            if (countitem(930) < 20)goto s_Bringbandages;
            delitem 930,20;
            mes "[Arian]";
            mes "...";
            mes "You brought the bandages.";
            mes "Okay short stuff, go and get";
            mes "me ^FF000015 Little Evil Horn^000000. What";
            mes "are you waiting for, a memo?";
            mes "Get outta here~!";
            set arianstest,5;
            close2;
            goto Verifyitems;

s_Bringbandages:
            mes "[Arian]";
            mes "...";
            mes "Is it really that hard to get";
            mes "^FF000020 Rotten Bandages^000000? Cuz if it";
            mes "is, then you must really blow.";
            mes "How hustle it up, punk!";
            close;
        } else if (arianstest == 5) {
            if (countitem(1038) < 15)goto s_Bringhorns;
            delitem 1038,15;
            mes "[Arian]";
            mes "...";
            mes "My grandma coulda grown";
            mes "out her beard in the time";
            mes "it took you to come back.";
            mes "Now hurry it up and get";
            mes "me ^FF000010 Coral Reefs^000000!";
            set arianstest,6;
            close2;
            goto Verifyitems;

s_Bringhorns:
            mes "[Arian]";
            mes "...";
            mes "I don't get it.";
            mes "You don't have the";
            mes "^FF000015 Little Evil Horn";
            mes "I told you to get.";
            next;
            mes "[Arian]";
            mes "I see, so it's my";
            mes "fault for not telling you";
            mes "not to bring your crap face";
            mes "back without 'em. ^222222*A-hem*";
            mes "Don't bring your crap face here";
            mes "without 15 Little Evil Horns!!";
            close;
        } else if (arianstest == 6) {
            if (countitem(7013) < 10)goto s_Bringcorals;
            delitem 7013,10;
            mes "[Arian]";
            mes "Finally you're back";
            mes "Gimme a sec to count";
            mes "all this stuff so I can make";
            mes "sure you're not trying to";
            mes "cheat. God help you if you";
            mes "try to pull a fast one on me...!";
            set arianstest,7;
            close;

s_Bringcorals:
            mes "[Arian]";
            mes "I don't care how pretty";
            mes "they are or if you're ruining";
            mes "the ecosystem! When I say";
            mes "'bring ^FF000010 Coral Reefs^000000',you";
            mes "better have them! All the";
            mes "fish can die for all I care.";
            close;
        } else if (arianstest == 7) {
            mes "[Arian]";
            mes "...";
            mes "Alright. Go talk";
            mes "to the guy to my left.";
            mes "The dude at the counter.";
            mes "What's-his-face, Ganaan.";
            set arianstest,8;
            close;
        } else if (arianstest == 8) {
            if (gaanantest == 1) {
                if (gaananpoint < 3)goto s_Suck;
                mes "[Arian]";
                mes "Alright. The answers";
                mes "you have Ganaan tell me";
                mes "you're not a total dumbass.";
                mes "Now you're supposed to go see";
                mes "Daewoon in Payon. And don't forget";
                mes "to show him this Star thingiee.";
                getitem 7177,1;
                set signquest,5;
                close;
s_Suck:
                mes "[Arian]";
                mes "Let's see...";
                mes "I'm looking at your";
                mes "answers and they totally";
                mes "suck. Take the test again";
                mes "and do it right this time!";
                next;
                mes "[Arian]";
                mes "Geez...";
                mes "You're givin' Ganaan";
                mes "a hard time. You hear";
                mes "me? That's my job!";
                set gaananpoint,0;
                set gaanantest,0;
                close;
            }
            mes "[Arian]";
            mes "You wanna leave me";
            mes "alone now and gimme";
            mes "a little personal space?!";
            mes "I need a break from looking";
            mes "at your ugly mug, you know?";
            close;
        }

    }

Verifyitems:

    if (arianstest == 2 && countitem(7033) > 49) {
        delitem 7033,countitem(7033);
        mes "[Arian]";
        mes "Hey! What did I tell you";
        mes "about bringing stuff before";
        mes "I asked you about it";
        next;
        mes "[Arian]";
        mes "I'll confiscate those Poison Spores.";
        close2;
    } else if (arianstest == 3 && countitem(904) > 29) {
        delitem 904,countitem(904);
        mes "[Arian]";
        mes "Hey! What did I tell you";
        mes "about bringing stuff before";
        mes "I asked you about it";
        next;
        mes "[Arian]";
        mes "I'll take those Scorpion Tails.";
        close2;
    } else if (arianstest == 4 && countitem(930) > 19) {
        delitem 930,countitem(930);
        mes "[Arian]";
        mes "Hey! What did I tell you";
        mes "about bringing stuff before";
        mes "I asked you about it";
        next;
        mes "[Arian]";
        mes "I'll take those Rotten Bandages.";
        close2;
    } else if (arianstest == 5 && countitem(1038) > 14) {
        delitem 1038,countitem(1038);
        mes "[Arian]";
        mes "Hey! What did I tell you";
        mes "about bringing stuff before";
        mes "I asked you about it";
        next;
        mes "[Arian]";
        mes "I'll confiscate those Little Evil Horns.";
        close2;
    } else if (arianstest == 6 && countitem(7013) > 9) {
        delitem 7013,countitem(7013);
        mes "[Arian]";
        mes "Hey! What did I tell you";
        mes "about bringing stuff before";
        mes "I asked you about it";
        next;
        mes "[Arian]";
        mes "I'll confiscate those Coral Reefs.";
        close2;
    }
    end;
}

payon_in03,81,16,8	script	Maid::Sohee	1170,{

end;

}

payon_in03,78,16,8	script	Maid::Miyabi	1404,{

end;

}

payon_in03,13,31,4	script	Maid::Nymph	1416,{

end;

}

payon_in03,81,21,4	duplicate(Sohee)	Maid::Sohee2	1170
payon_in03,78,21,4	duplicate(Miyabi)	Maid::Miyabi2	1404
payon_in03,8,31,4	duplicate(Nymph)	Maid::Nymph2	1416

payon_in03,11,31,4	script	Daewoon	808,{

    mes "[Daewoon]";
    mes "Mwah ah hah!";
    mes "Feasting and merriment,";
    mes "wine, women and song!";
    mes "I could ask for nothing more!";
    next;
    mes "[Daewoon]";
    mes "The most scumptious";
    mes "delicacies are all mine to";
    mes "taste! And I'm not just talking";
    mes "about the food. Mwah ah hah!";
    mes "I'm the king of the world!";
    next;

    if (signquest < 4 || signquest > 6) {
        mes "[Daewoon]";
        mes "Mwah ah hah~!";
        mes "I couldn't be happier!";
        mes "What more do I need?";
        mes "Gourmet food, find wine";
        mes "nubile women...!";
        close;
    } else if (signquest == 5) {
        mes "[Daewoon]";
        mes "Oh, a visitor?";
        mes "I'm sorry, but I believe";
        mes "you're an uninvited guest~";
        mes "You'll have to forgive me";
        mes "if I wish to spend my time with";
        mes "maidens as opposed to men";
        next;
        mes "[" + strcharinfo(0) + "]";
        mes "Sure...";
        mes "But first, would you";
        mes "take a look at this?";
        next;
        mes "^3355FFYou carefully take";
        mes "out the small, lucid";
        mes "jewel that Arian gave";
        mes "you and reveal it to";
        mes "Daewoon's roving eyes.";
        next;
        emotion e_gasp;
        mes "[Daewoon]";
        mes "Eh? Why that's...";
        mes "I see now, Arian must";
        mes "have sent you! Oh you";
        mes "should have said so";
        mes "at the very beginning~";
        next;
        mes "[Daewoon]";
        mes "My apologies~";
        mes "Lately I've been attracting";
        mes "all sorts of strange attention";
        mes "like some kind of teen celebrity.";
        mes "I've gotten used to being too";
        mes "careful in screening out the";
        mes "dangerous sort.";
        next;
        mes "[Daewoon]";
        mes "Now then.";
        mes "Do you have any";
        mes "idea what that jewel";
        mes "you're holding actually is?";
        next;
        menu "Kind of?",-,"How the hell would I know?",s_How,"No, but would you tell me?",s_Tell;

        mes "[Daewoon]";
        mes "Oh...!";
        mes "You must be much";
        mes "smarter than I expected.";
        mes "So tell me, what do you";
        mes "understand about this jewel?";
        next;
        menu "It's handy.",-,"I actually don't know...",s_Honest;

        emotion e_dots;
        mes "[Daewoon]";
        mes "Mmm...?";
        mes "Handy? If you truly";
        mes "understood, I don't";
        mes "think you'd describe this";
        mes "jewel as merely 'handy'.";
        next;
        goto s_Cont;
s_Honest:
        emotion e_pif;
        mes "[Daewoon]";
        mes "Really?";
        mes "Mm. At least you";
        mes "admit it ^000200*Sigh*";
        next;
        goto s_Cont;
s_How:
        emotion e_dots;
        mes "[Daewoon]";
        mes "...";
        mes "A rather crass way";
        mes "of speaking, but perhaps";
        mes "you picked it up from Arian.";
        mes "In any case, let me explain.";
        next;
        goto s_Cont;
s_Tell:
        mes "[Daewoon]";
        mes "Didn't Arian tell you";
        mes "anything? I appreciate";
        mes "your honesty. And I don't";
        mes "mind chatting a while, I much";
        mes "prefer speaking to honest people";
        mes "rather than foolish know-it-alls.";
        next;
s_Cont:
        mes "[Daewoon]";
        mes "That ^301A8ASobbing Starlight^000000";
        mes "is no mere jewel. It is a key";
        mes "item for unlocking some incredible";
        mes "power. I believe Metz happened to";
        mes "obtain a piece, though I am";
        mes "unsure how...";
        next;
        mes "[Daewoon]";
        mes "Metz has asked me and";
        mes "some other friends who";
        mes "hold the fragments of the";
        mes "Sobbing Starlight to entrust";
        mes "them to someone worthy of";
        mes "finding the power it leads to.";
        next;
        mes "[Daewoon]";
        mes "Of course, we all agreed";
        mes "and now you're here for me";
        mes "to judge whether or not you're";
        mes "qualified for this task. Now,";
        mes "are you ready for my test?";
        next;
        menu "I'M READY! YEEAH!",-,"I'll do my best!",s_Best,"To hell with this!",s_Rude,"Fine. Let's get it over with",s_GetOver;

        mes "[Daewoon]";
        mes "Ooh~";
        mes "Such unbridled";
        mes "enthusiasm usually";
        mes "goes more good than harm.";
        next;
        goto s_Question;

s_Best:
        emotion e_ok;
        mes "[Daewoon]";
        mes "Mwah ah hah";
        mes "That's exactly what";
        mes "I wanted to hear! That";
        mes "kind of quiet and careful";
        mes "confidence will help you";
        mes "in the future, you'll see~";
        next;
        goto s_Question;
s_Rude:

        mes "[Daewoon]";
        mes "E...";
        mes "Excuse me?";
        next;
        mes "[Daewoon]";
        mes "How can you be";
        mes "so ridiculous at";
        mes "a time like this?";
        mes "Either mind your manners";
        mes "or don't take this test at";
        mes "all! ^000200*SLAP--!!*";
        next;
        goto s_Question;

s_GetOver:
        emotion e_dots;
        mes "[Daewoon]";
        mes "Hmm. That kind of half-hearted";
        mes "attitude won't get you very far on";
        mes "your adventures. Still, so long as";
        mes "you don't get overly negative, you";
        mes "should have a decent chance of";
        mes "surviving your challenges.";
        next;
s_Question:
        emotion e_hmm;
        set @DaewoonTest,0;
        mes "[Daewoon]";
        mes "Now, Metz expects me to ask";
        mes "some rather serious questions,";
        mes "but that really isn't my style.";
        mes "For this test, why don't we just";
        mes "talk? Just answer me honestly and";
        mes "light heartedly, alright?";
        next;
        mes "[Daewoon]";
        mes "So...";
        mes "Do you have a lot";
        mes "of friends that you can";
        mes "constantly party with?";
        next;
        menu "Yes, I do",-,"I prefer soloing.",s_Solo,"I am lonely.",s_Lonely;

        set @DaewoonTest,1;
        emotion e_omg;
        mes "[Daewoon]";
        mes "Oh, that's great~!";
        mes "To have many friends";
        mes "is a priceless blessing.";
        mes "Friends bring us joy and";
        mes "aid when we find ourselves";
        mes "suffering from difficulties.";
        next;
        mes "[Daewoon]";
        mes "Wouldn't you";
        mes "agree that being";
        mes "really close friends";
        mes "with someone can be";
        mes "a life long benefit?";
        next;
        goto s_Mobtrain;

s_Solo:

        mes "[Daewoon]";
        mes "Well, everybody";
        mes "needs to be alone once";
        mes "in a while. And there are";
        mes "some battles you must";
        mes "fight all on your own.";
        next;
        mes "[Daewoon]";
        mes "Also, if you never";
        mes "deal with other people,";
        mes "you may grow selfish or";
        mes "needy. It's better to go";
        mes "out and meet people,";
        mes "don't you think?";
        next;
        goto s_Mobtrain;

s_Lonely:

        mes "[Daewoon]";
        mes "You don't have any";
        mes "friends at all? Well,";
        mes "you better learn how";
        mes "to get along with others";
        mes "as soon as you can...!";
        next;
s_Mobtrain:
        mes "[Daewoon]";
        mes "Now, what's your opinion";
        mes "on purposely getting lots";
        mes "of monsters to follow you";
        mes "around. I believe this is";
        mes "called 'Mob Training...'";
        next;
        menu "Awesome~!",-,"I hate people who do that.",s_Hate,"I do it sometime...",s_Sometimes;

        emotion e_pif;
        mes "[Daewoon]";
        mes "But...";
        mes "Wouldn't that be really";
        mes "rude to anyone else hunting";
        mes "on that same map? I think";
        mes "it would even interfer with";
        mes "someone else's gameplay...";
        next;
        mes "[Daewoon]";
        mes "Perhaps you should try";
        mes "to consider other people's";
        mes "feelings. Mob training seems";
        mes "to only be good at getting other";
        mes "people angry with you...";
        next;
        goto s_Woe;
s_Hate:
        set @DaewoonTest,@DaewoonTest + 1;
        mes "[Daewoon]";
        mes "Really?";
        mes "I do too!";
        next;
        mes "[Daewoon]";
        mes "Just the other day, I've";
        mes "heard some ruffians boasting";
        mes "of their mob training activities.";
        mes "But personally, I feel they were";
        mes "compensating for their own";
        mes "shortcomings.";
        next;
        mes "[Daewoon]";
        mes "Such behaviour truly";
        mes "bothers me. Although I have";
        mes "spent years in developing an";
        mes "unflappable personality, I find";
        mes "myself irked when encountering";
        mes "such troublemakers.";
        next;
        emotion e_no1;
        mes "[Daewoon]";
        mes "When you face obstacles";
        mes "in your own training, never give in";
        mes "to weakness. Assert yourself and";
        mes "find the determination to overcome";
        mes "your tribulations with honor!";
        next;
        goto s_Woe;
s_Sometimes:
        mes "[Daewoon]";
        mes "At least you're honest.";
        mes "But let me say that I cannot";
        mes "condone that sort of weak willed";
        mes "behavior. True strength can only";
        mes "be found through honor.";
        mes "Remember that.";
        next;
        mes "[Daewoon]";
        mes "In the face of overwhelming";
        mes "odds, do not despair. After all,";
        mes "what is achievment if it is not";
        mes "earned without difficulty? The";
        mes "greater the challenge, the";
        mes "greater the glory.";
        next;
        mes "[Daewoon]";
        mes "Even if you are having a hard ";
        mes "time, try to take a firm";
        mes "stand. One day, you will realize";
        mes "how strong you have become.";
        next;
        mes "[Daewoon]";
        mes "And...";
        mes "Don't ever partake in";
        mes "mob training again, okay?";
        next;
s_Woe:
        mes "[Daewoon]";
        mes "Anyway, I'm sure you're";
        mes "aware of the War of Emperium";
        mes "in which might guilds all across";
        mes "Rune-Midgard battle for guild";
        mes "castle dominion. It's actually";
        mes "quite popular, really.";
        next;
        mes "[Daewoon]";
        mes "Now imagine that both of us";
        mes "are in the midst of a heated guild";
        mes "war. The sounds of explosions and";
        mes "earth shaking magic spells are all";
        mes "we can hear. At any time, we can";
        mes "be lost in that mindless chaos.";
        next;
        mes "[Daewoon]";
        mes "Finally, through incredibly";
        mes "good fortune, we manage to";
        mes "infiltrate the enemy guild castle";
        mes "and reach their Emperium. If we";
        mes "destroy that Emperium, that castle";
        mes "will belong to our guild.";
        next;
        mes "[Daewoon]";
        mes "However...! This is";
        mes "no ordinary Emperium!";
        mes "It is a masterful sculpture";
        mes "of a gorgeous Priestess!";
        mes "Answer me, adventurer!";
        mes "Would you still destroy it?!";
        next;
        menu "Destroy it!",-,"I can't destroy such beauty...",s_Beauty,"I'd close my eyes, then destroy it.",s_Eyes;

        mes "[Daewoon]";
        mes "Hmm. You have a truly";
        mes "strong will. Then again,";
        mes "perhaps you lack a try";
        mes "appreciation for beauty.";
        mes "Even in Emperium form, how";
        mes "could you harm a Priestess?";
        next;
        goto s_Guild2;
s_Beauty:

        set @DaewoonTest,@DaewoonTest + 1;
        mes "[Daewoon]";
        mes "Ah yes! I felt you would answer";
        mes "that way! We must cherish and";
        mes "protect what is beautiful in this";
        mes "world. I would never be able to";
        mes "harm a Priestess, even in";
        mes "statue form...";
        next;
        goto s_Guild;
s_Eyes:

        mes "[Daewoon]";
        mes "Interesting...!";
        mes "Although you cherish";
        mes "the beauty of the Priestess,";
        mes "your loyalty to your guild";
        mes "proves stronger. A most";
        mes "admirable attitude!";
        next;
s_Guild2:
        mes "[Daewoon]";
        mes "But yes, if it was";
        mes "me, I would protect that";
        mes "Priestess-shaped Emperium";
        mes "until the end of the guild war.";
        mes "Mwah ah hah~!";
        next;
s_Guild:
        mes "[Daewoon]";
        mes "While we're on the topic";
        mes "of guilds, let me present";
        mes "another guild related scenario.";
        mes "Let's say that you joined a very";
        mes "popular guild with many allies,";
        mes "as well as formidable enemies.";
        next;
        mes "[Daewoon]";
        mes "Now, during one of your";
        mes "hunts, you happen to meet";
        mes "a member of one of your enemy";
        mes "guilds. The two of you are the";
        mes "only people on that map. Suddenly,";
        mes "he finds himself in mortal danger!";
        next;
        mes "[Daewoon]";
        mes "This enemy guild member";
        mes "begins to yell for help. Now,";
        mes "would you give your enemy";
        mes "the help that he needs?";
        next;
        menu "Yes of course!",-,"I'd pretend not to hear anything.",s_Hear,"I'd make fun of him, then run off.",s_Fun;

        set @DaewoonTest,@DaewoonTest + 1;
        mes "[Daewoon]";
        mes "Ah, you would help him!";
        mes "Good, good. I'm glad to see";
        mes "that you understand such";
        mes "pettiness should not get in the way";
        mes "of doing what is good and right.";
        next;
        goto s_Life;
s_Hear:
        set @DaewoonTest,@DaewoonTest + 1;
        mes "[Daewoon]";
        mes "True, you're not really";
        mes "obligated to help your";
        mes "enemy. Besides, you may";
        mes "hurt his feelings once he";
        mes "realizes that he's had to";
        mes "depend on his rival for help.";
        next;
        goto s_Life;
s_Fun:
        mes "[Daewoon]";
        mes "Even though he is";
        mes "your enemy, I still";
        mes "believe it's important";
        mes "that you treat him with";
        mes "respect. Where is your honor?";
        next;
s_Life:
        mes "[Daewoon]";
        mes "Well, there's one";
        mes "last thing I want to";
        mes "know about you. It's the";
        mes "most important question";
        mes "in the world once you";
        mes "think about it.";
        next;
        mes "[Daewoon]";
        mes "...";
        mes "......";
        mes "Do you enjoy life?";
        next;
        menu "Yes",-,"No",s_No;

        set @DaewoonTest,@DaewoonTest + 1;
        emotion e_heh;
        mes "[Daewoon]";
        mes "I'm glad.";
        mes "When you don't live";
        mes "with zeal, it's easy to";
        mes "forget your goals and your";
        mes "purpose for living. Don't have";
        mes "any? Then make some up.";
        next;
        mes "[Daewoon]";
        mes "I hope you always enjoy";
        mes "life as much as you can.";
        mes "As for me, I'm always happy";
        mes "with my wine, women and song~";
        mes "Mwah ah hah~!";
        next;
        goto s_Last;

s_No:
        mes "[Daewoon]";
        mes "I understand.";
        mes "People cannot be happy";
        mes "all the time. Sometimes";
        mes "it's easy to forget your";
        mes "goals and purpose in life.";
        next;
        mes "[Daewoon]";
        mes "But you know what? If you";
        mes "have just one dream, one goal";
        mes "to strive towards, things shall";
        mes "get better. If you think you don'";
        mes "have dreams, look back to your";
        mes "past. What you remember may";
        mes "surprise you.";
        next;
        mes "[Daewoon]";
        mes "It's important to look forward,";
        mes "but first you must find what is";
        mes "truly precious to you before you";
        mes "can define your happiness. That's";
        mes "why I think it's good to";
        mes "experience new things as wel";
        mes "as reflect.";
        next;
        emotion e_no1;
        mes "[Daewoon]";
        mes "Now, what's precious to me?";
        mes "Three things, actually...";
        mes "Wine. Women. And song!";
        mes "Though if I had to rank them,";
        mes "women would top that list.";
        mes "Mwah ah hah~!";
        next;
s_Last:
        if (@DaewoonTest == 5) {
            mes "[Daewoon]";
            mes "You know, after talking with";
            mes "you for a while, I now feel fairly";
            mes "comfortable with leaving you this";
            mes "piece of the Sobbing Starlight.";
            mes "Somehow, I think you're strong";
            mes "enough to get all the pieces.";
            next;
            mes "[Daewoon]";
            mes "I hope you will pass the rest of";
            mes "the tests and acquire the power.";
            next;
            mes "[Daewoon]";
            mes "Oh yes! Your next test";
            mes "examiner is ^FF0000Sir Jore^000000, also";
            mes "known as the Ghost of Al de Baran.";
            mes "Although he's always sick, he has";
            mes "great passion for his research.";
            getitem 7177,1;
            set signquest,6;
            next;
            mes "[Daewoon]";
            mes "Alright, then.";
            mes "Good luck in";
            mes "Al de Baran~!";
            close;
        } else {
            mes "[Daewoon]";
            mes "It pains me to say this,";
            mes "but I do not think you're";
            mes "worthy of holding my fragment";
            mes "of the Sobbing Starlight. But";
            mes "I am willing to give you";
            mes "another chance~";
            close;
        }

    }
    else if (signquest == 6) {
        mes "[Daewoon]";
        mes "Mwah ah hah!";
        mes "Feasting and merriment,";
        mes "wine, women and song!";
        mes "I could ask for nothing more!";
        next;
        mes "[Daewoon]";
        mes "The most scrumptious";
        mes "delicacies are all mine to";
        mes "taste! And I'm not just talking";
        mes "about the food. Mwah ah hah!";
        mes "I'm the king of the world!";
        next;
        mes "[Daewoon]";
        mes "Hm...?";
        mes "Weren't you on";
        mes "your way to find";
        mes "^FF0000Sir Jore^000000 in Al de Baran?";
        next;
        mes "[Daewoon]";
        mes "Oh, having trouble";
        mes "finding him, are you?";
        mes "Well, he's fairly shy, but";
        mes "I'm sure he's hiding some";
        mes "place in that town.";
        close;
    }
}

aldebaran,226,54,4	script	#aldesignwarp	45,2,2,{
OnTouch:
	set @aldesigncheck,0;
	warp "aldeba_in",149,120;
	end;

}

aldeba_in,149,123,4	script	#aldesignwarp2	45,2,2,{
OnTouch:
	set @aldesigncheck,0;
	warp "aldebaran",223,56;
	end;

}

aldeba_in,147,104,1	script	PotionActivator	139,3,0,{
OnTouch:
	if(@aldesigncheck == 0){
		donpcevent "Jore#SignAldeNpc::OnPotion";	
		set @aldesigncheck,1;
	}
	end;
}
	
aldeba_in,156,118,4	script	Piru Piru	700,{

    emotion e_sob;
    mes "[Piru Piru]";
    mes "Oh, I'm sooo tired~";
    mes "But we can't sleep yet.";
    mes "^000200*Sob*^000000 Master, can't we";
    mes "just call it a day already?";
    next;
    if (signquest != 7) {
        menu "What do you do in here?",-;
    } else {
        menu "What do you do in here?",-,"About vanished Alchemists",s_Vanish,"What is the Stone of Sage?",s_SageStone;
    }
    mes "[Piru Piru]";
    mes "My master, Sir Jore,";
    mes "is researching a way to";
    mes "create artificial life! Still,";
    mes "it's not easy and we haven't";
    mes "accomplished anything yet...";
    next;
    mes "[Piru Piru]";
    mes "It doesn't help that my";
    mes "master spends all of his";
    mes "time on research. He hasn't";
    mes "been taking care of himself";
    mes "and is losing a lot of weight.";
    mes "I'm really worried about him.";
    close;

s_Vanish:
    mes "[Piru Piru]";
    mes "Oh, the father and daughter";
    mes "who were both Alchemists, right?";
    mes "Did you know they vanished because";
    mes "they invented the monster potion";
    mes "summoning skill?";
    next;
    mes "[Piru Piru]";
    mes "Their discovery caused";
    mes "such great hysteria in the";
    mes "scientific community. In the";
    mes "end they had no choice but";
    mes "to live in seclusion deep";
    mes "in the ^FF0000forest to the south^000000.";
    next;
s_SageStone:
    mes "[Piru Piru]";
    mes "Hmm? Well, I wouldn't";
    mes "know anything about that.";
    mes "In fact, I'm always staying";
    mes "in this lab, so I never hear";
    mes "any rumors or news outside.";
    close;

}

aldeba_in,155,101,2	script	Jore#SignAldeNpc	805,{

    if (gettime(3) == 17 || gettime(3) == 18 || gettime(3) == 19 || gettime(3) == 20 || gettime(3) == 21) {
        if (signquest == 7) {
            mes "[Sir Jore]";
            mes "I want you to find two";
            mes "Alchemists, a father and";
            mes "daughter, who have gone into";
            mes "seclusion deep in some forest";
            mes "so that I can learn more about";
            mes "the Stone of Sage.";
            next;
            mes "[Sir Jore]";
            mes "Of course, this will";
            mes "possibly further my";
            mes "research, but it's also";
            mes "how I'll judge whether or";
            mes "not you're qualified for my";
            mes "piece of the Sobbing Starlight.";
            close;
        }
        if (signquest == 8) {
            mes "[Sir Jore]";
            mes "Oh.. You're already back !";
            mes "Then, let me hear everything you learn";
            mes "about the Stone of Sage !";
            next;
            mes "[Sir Jore]";
            mes "...";
            next;
            mes "[Sir Jore]";
            mes "...";
            mes "....";
            next;
            mes "[Sir Jore]";
            mes "...";
            mes "....";
            mes ".....";
            next;
            mes "[Sir Jore]";
            mes "I see..";
            mes "I didn't think that mythic stone";
            mes "could be that dangerous..";
            mes "That's enough for me to know,";
            mes "You did your work perfectly.";
            next;
            mes "[Sir Jore]";
            mes "Just a last question";
            mes "before I give you what you want.";
            next;
            mes "[Sir Jore]";
            mes "What do you think the Stone of Sage is?";
            next;
            input @sign_jore$;

            if (@sign_jore$ == "Red Gemstone") {

                mes "[Sir Jore]";
                mes "That's what I thought too,";
                mes "but after all maybe it doesn't have";
                mes "any power.";
                next;
                getitem 7177,1;
                set signquest,9;
                mes "[Sir Jore]";
                mes "Take that starry fragment.";
                mes "I'll inform my friend about you.";
                mes "Look for ^FF0000Jesqurienne^000000.";
                mes "She often spends her time";
                mes "in the bars of Geffen.";
                next;
                mes "[Sir Jore]";
                mes "I have to return to my researches..";
                next;
                mes "[Sir Jore]";
                mes "Acid.....";
                mes "............Basic..";
                mes "...";
                close;
            } else {
                mes "[Sir Jore]";
                mes "The shape you are describing me";
                mes "can't be the real shape of the";
                mes "Stone of Sage.";
                next;
                mes "[Sir Jore]";
                mes "It should look like";
                mes "an oftenly used stone..";
                mes "Come back when you will know";
                mes "more about his shape.";
                close;

            }

        }

        if (signquest == 9) {
            mes "[Sir Jore]";
            mes "Can't you let me alone?";
            mes "Stop disturbing me and";
            mes "find ^FF0000Jesqurienne^000000 in Geffen.";
            close;
        }

        if (SignJore == 1) {

            if (countitem(1092) < 10 || countitem(511) < 10 || countitem(610) < 2) {
                mes "[Sir Jore]";
                mes "Please bring m-me";
                mes "10 Empty Test Tube,";
                mes "10 Green Herb and";
                mes "2 Yggdrasil Leaf.";
                mes "so that I can make a";
                mes "new research sample.";
                close;
            } else {
                delitem 1092,10;
                delitem 511,10;
                delitem 610,2;
                set signquest,7;
                set SignJore,0;
                emotion e_thx;
                mes "[Sir Jore]";
                mes "Ah! Th-thank you for";
                mes "bringing what I need.";
                mes "Now I can continue my";
                mes "research. Oh, and see if";
                mes "you're worthy of obtaining";
                mes "the Sobbing Starlight";
                next;
                mes "[Sir Jore]";
                mes "Now, for your assignment.";
                mes "Have you ever heard about";
                mes "the ^FF0000Stone of Sage^000000? Rumors about";
                mes "it have been spreading around, but";
                mes "no one has confirmed the truth";
                mes "about it, " + strcharinfo(0) + ".";
                next;
                mes "[Sir Jore]";
                mes "Although I have no clue";
                mes "what the Stone of S-S-age";
                mes "may actually be, I have a gut";
                mes "feeling that I need it to bring";
                mes "my Biology research to the next";
                mes "step. This is how you'll help me.";
                next;
                mes "[Sir Jore]";
                mes "I need you to investigate";
                mes "this Stone of Sage by finding";
                mes "a father and daughter who were";
                mes "famous for being great Alchemists.";
                mes "They vanished deep into a forest,";
                mes "but I believe they know something.";
                close;
            }

        }
        mes "[" + strcharinfo(0) + "]";
        mes "Excuse me...";
        next;
        emotion e_omg;
        mes "^3355FF*Clink*";
        next;
        mes "[Sir Jore]";
        mes "...";
        mes "......";
        next;
        mes "[Sir Jore]";
        mes "...";
        mes "......";
        mes "...No!";
        mes "Look what you";
        mes "made me do!";
        next;
        emotion e_sob;
        mes "[Sir Jore]";
        mes "I've been fiddling";
        mes "with this sample for";
        mes "five hours. And now";
        mes "it's ruined ^000200*Sob*";
        if (signquest != 6)close;
        next;
        mes "[Sir Jore]";
        mes "^000200*Sob*^000000";
        mes "I came to this town";
        mes "so I could focus on";
        mes "my research without";
        mes "any interuptions. So";
        mes "why are you here?";
        next;
        menu "Daewoon sent me.",s_Daewoon,"Oops, sorry. Later~",-;

        mes "[Sir Jore]";
        mes "I spent five hours";
        mes "observing the changes";
        mes "in that research sample.";
        mes "All of that hard work lost!";
        mes "^000200*Wah~!*";
        close;

s_Daewoon:
        emotion e_swt;
        mes "[Sir Jore]";
        mes "O-oh!";
        mes "That's right.";
        mes "You're here to be";
        mes "tested for the piece";
        mes "of the Sobbing Starlight.";
        next;
        mes "[Sir Jore]";
        mes "So...";
        mes "Er. Then, what...";
        mes "W-what's your name?";
        next;
        menu strcharinfo(0) + ", thanks.",-;
        mes "[Sir Jore]";
        mes "N-nice to meet you.";
        mes "My name is Jore. Just";
        mes "a normal person who loves";
        mes "research. S-sorry if I seem";
        mes "a little nervous! I'm actually";
        mes "quite... shy around people.";
        next;
        mes "[Sir Jore]";
        mes "Oh no...!";
        mes "if you were able to";
        mes "find me, there will be";
        mes "others! When would I get";
        mes "the time to do my research?!";
        mes "N-no! I h-h-hate people!!";
        next;
        mes "[Sir Jore]";
        mes "Still, I did promise";
        mes "M-M-Metz and he is my";
        mes "friend. So I must accept";
        mes "some guests. Even if hundreds";
        mes "of them knock on my door...";
        next;
        mes "[Sir Jore]";
        mes "But first of all,";
        mes "I'm going to need";
        mes "a new research sample.";
        mes "I think it's only fair that";
        mes "you get it for me since you";
        mes "made me ruin the last one.";
        next;
        mes "[Sir Jore]";
        mes "N-now, d-don't worry.";
        mes "The items are actually";
        mes "quite easy to get. It's";
        mes "the five hours part that's";
        mes "hard. Now, let's see...";
        next;
        mes "[Sir Jore]";
        mes "Just bring";
        mes "10 Empty Test Tube,";
        mes "10 Green Herb and";
        mes "2 Yggdrasil Leaf.";
        next;
        mes "[Sir Jore]";
        mes "You see, l-lately I've";
        mes "been studying Biology.";
        mes "I think the secret to life";
        mes "can be found in the Leaf of";
        mes "Yggdrasil. They can be used";
        mes "to revive the dead, after all.";
        next;
        emotion e_swt;
        mes "[Sir Jore]";
        mes "Oh, and make sure to";
        mes "bring those things to me";
        mes "before I go to bed at";
        mes "precisely 10:00 PM " + $timezonestring$ + ".";
        mes "I do have a regular sleeping";
        mes "schedule, you know.";
        set SignJore,1;
        close;

    } else {
        mes "^3355FFYou find a tense man";
        mes "holding test tubes between";
        mes "his fingers, standing in a pile";
        mes "of books. He seems to be in";
        mes "agony for some reason.";
        next;
        menu "Speak to him.",s_Speak,"Ignore him.",-;

        mes "^3355FFYou decided to leave";
        mes "him alone and let him";
        mes "continue mumbling to";
        mes "himself and playing";
        mes "with his test tubes.";
        close;

s_Speak:
        mes "[" + strcharinfo(0) + "]";
        mes "Excuse me...";
        next;
        mes "[Sire Jore]";
        mes "...";
        mes "......";
        next;
        mes "^3355FFToo preoccupied with";
        mes "his thoughts, this strange";
        mes "man is unable to hear you.";
        next;
        menu "Try again.",s_Again,"Ignore him.",-;

        mes "^3355FFYou decided to leave";
        mes "him alone and let him";
        mes "continue mumbling to";
        mes "himself and playing";
        mes "with his test tubes.";
        close;

s_Again:
        mes "[" + strcharinfo(0) + "]";
        mes "EXCUSE ME!";
        next;
        mes "[Sire Jore]";
        mes "...!";
        mes "Oh, h-h-hello.";
        mes "Sorry, but I'm kind of";
        mes "busy right now. Yes, yes,";
        mes "would you come back at";
        mes "precisely 5:00 PM " + $timezonestring$ + "?";
        next;
        mes "[Sire Jore]";
        mes "Let's see...";
        mes "Now if I recalibrated";
        mes "the faust exhaust, then";
        mes "the bioneutron analyzer";
        mes "would need to be adjusted";
        mes "for cytoplasmic balance...";
        close;
    }

OnPotion:
    if (rand(2)) {
        emotion e_ic;
        misceffect 305;
    } else {
        emotion e_omg;
        misceffect 306;
    }
    end;
}

prt_maze02,57,152,1	script	Girl#11	91,{

	mes "^3355FFYou catch a glimpse";
	mes "of a girl heading directly";
	mes "into a deep forest. You decide";
	if(signquest != 7){
		mes "to not follow her since you're";
		mes "not interested where she's going.";
		close;
	}
	mes "to follow her and see if you can";
	mes "learn more.";
	close2;
	warp "prt_maze02",11,146;
	end;
}

function	script	Sign_Alch_Summon	{

Loopback:
	if($signmazemonster == 0){
		set $signmazemonster,5;
		monster "prt_maze02",14,177,"Flora",1118,1,"Gordon::OnMonsterDead";
		monster "prt_maze02",17,171,"Flora",1118,1,"Gordon::OnMonsterDead";
		monster "prt_maze02",24,173,"Flora",1118,1,"Gordon::OnMonsterDead";
		monster "prt_maze02",17,175,"Marine Sphere",1142,1,"Gordon::OnMonsterDead";
		monster "prt_maze02",17,168,"Marine Sphere",1142,1,"Gordon::OnMonsterDead";
		return;
	} else {
		killmonster "prt_maze02","Gordon::OnMonsterDead";
		set $signmazemonster,0;
		goto Loopback;
	}
}

prt_maze02,16,183,3	script	Pleur	91,{
	mes "[Pleur]";
	if(signquest == 7 || signquest == 8){
		mes "La la la~";
		mes "La la la~";
		close;
	} else {
		mes "Oh, you're lost?";
		mes "I'll help you find";
		mes "your way back...";
		close2;
		warp "prt_maze02",61,149;
		end;
	}
OnHo:
	emotion e_ho;
	end;
OnKis2:
	emotion e_kis2;
	end;
OnExclamation:
	emotion e_gasp;
	end;
OnOmg:
	emotion e_omg;
	end;
}

prt_maze02,14,183,3	script	Gordon	51,{

    if (signquest == 7 || signquest == 8) {
        if (ScareAlchSign == 1)goto s_Scared;
        mes "[Gordon]";
        mes "Hello darling.";
        mes "What did you do today?";
        next;
        donpcevent "Pleur::OnHo";
        mes "[Pleur]";
        mes "I played Hide-and-Seek";
        mes "with a white bear and a";
        mes "blue bear, father.";
        next;
        emotion e_ho;
        mes "[Gordon]";
        mes "Darling...";
        mes "Aren't you tired";
        mes "of playing with the";
        mes "animals? We've live";
        mes "in this forest for so long...";
        next;
        donpcevent "Pleur::OnKis2";
        mes "[Pleur]";
        mes "Don't worry father, I understand.";
        mes "For now, this is the only place";
        mes "where we can relax and live";
        mes "in peace. I think we deserve to rest";
        mes "after accomplishing our goals...";
        next;
        emotion e_sob;
        mes "[Gordon]";
        mes "Thank you, Pluer.";
        mes "I have no regrets about";
        mes "our work, but sometimes";
        mes "I do wish for a more";
        mes "carefree life for you...";
        next;
        menu "Roar~!",-,"Excuse me.",s_Excuse;

        callfunc "Sign_Alch_Summon";
        emotion e_omg;
        donpcevent "Pleur::OnOmg";
        set ScareAlchSign,1;
        mes "[Pleur]";
        mes "No no no!";
        mes "Summon Flora!";
        next;
        mes "[Gordon]";
        mes "Great Schott!";
        mes "Summon... Marine Sphere!";
        close;

s_Excuse:
        emotion e_gasp;
        donpcevent "Pleur::OnExclamation";
        mes "[Gordon]";
        mes "Eh?! Don't you know";
        mes "how dangerous this place";
        mes "is? What are you doing";
        mes "here in the middle of";
        mes "this forest?";
        next;
s_Back:
        mes "[" + strcharinfo(0) + "]";
        mes "Actually, I think";
        mes "I've been looking for";
        mes "you. I've been sent on";
        mes "an errand to find these";
        mes "two famous Alchemists.";
        next;
        mes "[Gordon]";
        mes "Mm...?";
        mes "Well, we're retired";
        mes "now, but I suppose it'd";
        mes "do no harm if you had";
        mes "something to ask us...";
        next;
        menu "Ask about Stone of Sage",s_Sage,"Ask about Alchemy",s_Alch,"Quit",-;

        mes "[Gordon]";
        mes "Hah hah hah~";
        mes "Did you forget";
        mes "what you were";
        mes "going to ask me?";
        close;

s_Sage:

        mes "[Gordon]";
        mes "Stone of Sage?";
        mes "Huh. To be honest,";
        mes "I don't know anything";
        mes "about it at all. I guess";
        mes "its existence is pretty";
        mes "much just a rumor, really.";
        next;
        mes "[Gordon]";
        mes "All I've heard is that";
        mes "the Stone of Sage might";
        mes "be a catalyst  to transmute";
        mes "materials into gold. If it";
        mes "really existed, it would be";
        mes "the ultimate alchemic item.";
        next;
        mes "[Pleur]";
        mes "However I've also heard";
        mes "it's red, can make humans";
        mes "immortal and can cure any";
        mes "sort of disease or ailment";
        mes "Just where do these rumors";
        mes "come from? It's crazy...";
        next;
        mes "[Gordon]";
        mes "Now, I even heard that some";
        mes "people are working on trying";
        mes "to create the stone themselves.";
        mes "If they succeed, it'll have a huge";
        mes "effect on the entire world!";
        next;
        mes "[Gordon]";
        mes "I'm sorry that you've gone";
        mes "through the trouble of finding";
        mes "us for this kind of information.";
        mes "We're retired after all, so we";
        mes "may be out of the loop.";
        next;
        mes "[Pleur]";
        mes "Although we're retired, we";
        mes "would be much interested in";
        mes "knowing if someone does manage";
        mes "to create such a stone. If that";
        mes "happens, would you tell us?";
        next;
        mes "[Gordon]";
        mes "Now let me guide you";
        mes "on a safe path back out";
        mes "of this maze. I've lived here";
        mes "quite a while, so I can find";
        mes "the exit with my eyes close.";
        mes "Farewell, adventurer~";
        close2;
        set signquest,8;
        warp "mjolnir_12",44,23;
        end;
s_Alch:

        mes "[Pleur]";
        mes "I hope you understand that";
        mes "my father and I devoted and";
        mes "sacrificed so much for our work.";
        mes "Finally, we discovered a way to";
        mes "summon monsters using potions.";
        next;
        mes "[Pleur]";
        mes "However, too many Alchemists";
        mes "hounded us for our information";
        mes "once we announced the results";
        mes "of our research. Ir was more";
        mes "than we could handle...";
        next;
        mes "[Gordon]";
        mes "I'm sorry, but if you have any";
        mes "questions about Alchemy, there";
        mes "are many qualified researchers and";
        mes "practitioners out there. We came to";
        mes "this forest to find peace...";
        close;

s_Scared:
        mes "[Gordon]";
        mes "Oh...!";
        mes "You scared us!";
        mes "Roaring like some";
        mes "animal! What do you";
        mes "think you were doing?";
        next;
        goto s_Back;

    } else {
        mes "[Gordon]";
        mes "Can't find your way back?";
        mes "Don't worry... I'll help";
        mes "you.";
        close2;
        warp "prt_maze02",61,149;
        end;
    }

OnMonsterDead:
	set $signmazemonster,$signmazemonster - 1;
	end;
}

geffen_in,59,74,3	script	Jesqurienne	803,{

	mes "[Jesqurienne]";
	if(signquest == 10) goto L_won;
	if(signquest == 9) goto L_Sign_Jesq;
	mes "Bartender~?";
	mes "Give me another drink.";
	close;

L_Sign_Jesq:
	mes "Bartender~?";
	mes "Give me another drink.";
	next;
	mes "[Jesqurienne]";
	mes "Ahhhhhh~";
	mes "Hm? Why hello there,";
	if(!Sex) goto L_female;
	mes "You fine specimen of a man~";

L_female:
	mes "I'm Jesqurienne. You've heard";
	mes "of me, haven't you? Aren't you";
	mes "surprised to see me?";
	next;
	menu "I've never heard of you",-,"Oh gosh, it's Jesqurienne!",L_ohgosh;
	mes "[Jesqurienne]";
	mes "Ho ho ho~!";
	mes "Surely you";
	mes "must be joking~";
	emotion 4;
	next;
	menu "You got me, you got me.",L_ohgosh,"Nope, doesn't ring a bell",-;

	emotion 9;
	mes "[Jesqurienne]";
	mes "...";
	mes "......";
	mes "Now I undersand.";
	mes "You've been living";
	mes "under a rock for all";
	mes "this time, haven't you?";
	next;
	mes "[Jesqurienne]";
	mes "But I guess someone";
	mes "as simple minded as you";
	mes "wouldn't recognize a famous,";
	mes "brilliant genius once you";
	mes "saw her, wouldn't you?";

L_ohgosh:
	next;
	mes "[Jesqurienne]";
	mes "Anyway, I'm so proud";
	mes "of my supreme intelligence!";
	mes "I may be somewhat obsessive";
	mes "about studying, but that's just";
	mes "another reason to admire me~";
	next;
	mes "[Jesqurienne]";
	mes "The Wizard and Sage";
	mes "exams? No problem~";
	mes "Even the Alchemist test";
	mes "was fairly simple. So far";
	mes "I haven't met anyone";
	mes "smarter than me~";
	next;
	menu "Stuck-up chick.",L_stuckup,"Take it easy on the drinks...",-;

	mes "[Jesqurienne]";
	mes "Ho ho ho~";
	mes "Plenty of people have";
	mes "told me not to drink so";
	mes "much. But once I start";
	mes "I can't stop. I love to";
	mes "drink that much!";
	next;
	mes "[Jesqurienne]";
	mes "And...";
	mes "Sometimes I'd rather";
	mes "look at the world through";
	mes "these haze eyes. See things";
	mes "the way I want to see them...";
	close;

L_stuckup:
	mes "[Jesqurienne]";
	mes "What...?";
	mes "What did you say?";
	mes "No one has ever";
	mes "said anything like";
	mes "that to me before!";
	mes "H-how dare you...";
	next;
	mes "[Jesqurienne]";
	mes "Prove that you can";
	mes "hold a candle to my";
	mes "superior intellect and";
	mes "I'll be willing to accept";
	mes "your insult! It's time";
	mes "for a Quiz Challenge!";
	emotion 7;
	next;
	mes "["+strcharinfo(0)+"]";
	mes "Quiz... Challenge?";
	mes "Like a trivia game?";
	mes "But who's going to";
	mes "ask us the questions?";
	next;
	mes "[Aaron]";
	mes "Did someone say";
	mes "\"Quiz Challenge?\"";
	mes "I believe I can be";
	mes "of assistance.";
	emotion 0;
	donpcevent "Aaron2::OnHeh";
	emotion 0,1;
	next;
	mes "[Jesqurienne]";
	mes "Professor Aaron?";
	mes "Ho ho~ If he's asking";
	mes "the questions, it looks";
	mes "like your chances of";
	mes "beating me are zero!";
	emotion 29;
	next;
	mes "[Jesqurienne]";
	mes "It amuses me that";
	mes "you think that you'd";
	mes "stand a chance against";
	mes "me in a Quiz Challenge.";
	mes "Ho ho ho ho ho~!";
	next;
	mes "[Jesqurienne]";
	mes "Professor Aaron";
	mes "is waiting for you";
	mes "to ask him to begin.";
	mes "And I'm waiting for the";
	mes "moment when you realize";
	mes "you have no hope of winning!";
	set @signquiz,1;
	close;

L_won:
	mes "Ooooh...";
	mes "My head...";
	mes "Oh...! It's you...!";
	mes "So did you find Dearles?";
	next;
	mes "[Jesqurienne]";
	mes "Hmm...";
	mes "He's addicted to";
	mes "gambling, so maybe you";
	mes "can find him some place";
	mes "where you can do that...";
	close;
}

// ---------------------------------------------------------

geffen_in,60,70,6	script	Aaron::Aaron2	754,{

    if (signquest == 10) goto L_done;
    if (@signquiz == 1) goto L_startquiz;
    if (@signquiz == 2) goto L_quiztime;
    emotion 23;
    mes "[Aaron]";
    mes "Goodness...!";
    mes "Either these beer";
    mes "goggles are on too tight,";
    mes "or you're the most gorgeous";
    mes "woman I've ever seen in my life!";
    next;
    if (!Sex) goto L_female;
    menu "Um, I'm a dude...",-;
    mes "[Aaron]";
    mes "N-no...!";
    mes "M-maybe I should";
    mes "take it easy on the";
    mes "alcohol. I do have classes";
    mes "to teach tomorrow anyway...";
    emotion 28;
    close;

L_female:
    menu "Why, thank you~",-;
    mes "[Aaron]";
    mes "Ah, yes. Your";
    mes "sense of style, your";
    mes "magnificent body. Everything";
    mes "about you is beautiful! Not just";
    mes "that, but you're also intelligent!";
    next;
    mes "[Aaron]";
    mes "I should know!";
    mes "Not only do I teach";
    mes "classes, but I'm also";
    mes "a Quiz Challenge moderator";
    mes "master in my spare time~";
    mes "You're truly a jewel...";
    emotion e_lv;
    close;

L_startquiz:
    mes "[Aaron]";
    mes "Alright, before";
    mes "we begin, let me";
    mes "tell you the rules...";
    next;
    mes "[Aaron]";
    mes "I'm going to give you";
    mes "ten multiple choice questions.";
    mes "Since this is an impromptu";
    mes "exhibition bout, I'm going to";
    mes "use questions that I use";
    mes "in teaching my class.";
    emotion 19;
    next;
    mes "[Aaron]";
    mes "Alright...";
    mes "I'm almost finished";
    mes "compiling the questions.";
    mes "We're ready to go when";
    mes "you're ready to begin!";
    set @signquiz,2;
    close;

L_quiztime:
	//NOTE:
	// Officially, there are 10 sets of 2-3 possible questions each.
	// One of the dialogues actually refers to the contents of one of them.
	// Therefore the 'random' approach below is just an approximation.

	set .@playerpoints,0;
	set .@jesqpoints,0;
	
	// array holding the numbers of questions that haven't been asked yet
	setarray .@signarray[1],1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26;
	set .@size, 26;
	
	// 10 questions
	for( set .@i,1; .@i <= 10; set .@i,.@i+1 )
	{
		// choose which question to ask next
		set .@qpos, rand(1,.@size);
		set .@qid, .@signarray[.@qpos];
		
		// remove the question from the array (reducing its size)
		set .@signarray[.@qpos], .@signarray[.@size];
		set .@signarray[.@size], 0;
		set .@size, .@size - 1;
		
		// initialize data for this round
		switch( .@qid )
		{
			case 1:
				set .@question$, "Choose the monster that is a different size than the others.";
				set .@answers$, "Giant Whisper:Marin:Cornutus:Kobold Archer";
				set .@answer, 2;
			break;
			case 2:
				set .@question$, "What is the Bunny Band's DEF and its added ability?";
				set .@answers$, "1 / LUK + 2:1 / LUK + 5:2 / LUK + 2:2 / LUK + 5";
				set .@answer, 3;
			break;
			case 3:
				set .@question$, "Choose the correct name of the ruler of the Rune-Midgard Kingdom.";
				set .@answers$, "Tristan III:Tristram III:Tristar III:Trust III";
				set .@answer, 1;
			break;
			case 4:
				set .@question$, "Choose the monster which does not drop the 'Yggdrasil Leaf' item.";
				set .@answers$, "Marduk:Baphomet Jr.:Angeling:Wanderer";
				set .@answer, 1;
			break;
			case 5:
				set .@question$, "What is the city closest to Turtle Island?";
				set .@answers$, "Al De Baran:Alberta:Comodo:Izlude";
				set .@answer, 2;
			break;
			case 6:
				set .@question$, "Fifty-one multiplied by fifteen, divided by three, plus five is equal to...?";
				set .@answers$, "250:255:260:265";
				set .@answer, 3;
			break;
			case 7:
				set .@question$, "Choose the Hunter's Trap skill which does not inflict Property Damage.";
				set .@answers$, "Claymore Trap:Freezing Trap:Shockwave Trap:Land Mine";
				set .@answer, 3;
			break;
			case 8:
				set .@question$, "Choose the monster on which the mage skill,\"Stone Curse\", is ineffective.";
				set .@answers$, "Elder Willow:Evil Druid:Magnolia:Marc";
				set .@answer, 2;
			break;
			case 9:
				set .@question$, "Choose the item that cannot be equipped by Novice class characters.";
				set .@answers$, "Funeral Hat:Shackles:Wooden Mail:Pantie";
				set .@answer, 3;
			break;
			case 10:
				set .@question$, "Which NPC is not relevant to the Blacksmith Job Quest?";
				set .@answers$, "Baisulitst:Wickebine:Barcardi:Krongast";
				set .@answer, 3;
			break;
			case 11:
				set .@question$, "Choose the Property that is unrelated to the Mage's Bolt type skills.";
				set .@answers$, "Water:Earth:Fire:Wind";
				set .@answer, 2;
			break;
			case 12:
				set .@question$, "Choose the correct DEF for the Indian Filet item.";
				set .@answers$, "0:1:2:3";
				set .@answer, 4;
			break;
			case 13:
				set .@question$, "Which item is not relevant to the creation of a counteragent?";
				set .@answers$, "Karvodailnirol:Detrimindexta:Alcohol";
				set .@answer, 1;
			break;
			case 14:
				set .@question$, "Choose the level requirement for entering the PvP room.";
				set .@answers$, "30:31:32:33";
				set .@answer, 2;
			break;
			case 15:
				set .@question$, "Three thousand one hundred two added to five hundred, plus four, divided by 6 equals...";
				set .@answers$, "600:601:602";
				set .@answer, 2;
			break;
			case 16:
				set .@question$, "Choose the building that is the closest to the Item Upgrade Place in Yuno.";
				set .@answers$, "Tavern:Monster Library:Tool Shop:Weapon Shop";
				set .@answer, 4;
			break;
			case 17:
				set .@question$, "What is the correct weight for 1 Empty Bottle?";
				set .@answers$, "1:2:3";
				set .@answer, 2;
			break;
			case 18:
				set .@question$, "Choose the NPC that looks different than all others.";
				set .@answers$, "Prontera Hollengrhen:Prontera Doll Merchant:Izlude Meat Merchant:Morroc Tool Dealer";
				set .@answer, 3;
			break;
			case 19:
				set .@question$, "Choose the material that is not related to the creation of a Condensed White Potion.";
				set .@answers$, "Medicine Bowl:Witch Starsand:Empty Bottle:Empty Potion Bottle";
				set .@answer, 3;
			break;
			case 20:
				set .@question$, "Choose the monster that is a different type than the others.";
				set .@answers$, "Penomena:Hatii:Pest:Explosion";
				set .@answer, 1;
			break;
			case 21:
				set .@question$, "Choose the Job class that cannot equip Silk Robe.";
				set .@answers$, "Swordman:Merchant:Hunter:Mage";
				set .@answer, 3;
			break;
			case 22:
				set .@question$, "Four thousand five hundred sixty divided by four, divided by two, plus three is equal to...";
				set .@answers$, "573:574:575:576";
				set .@answer, 1;
			break;
			case 23:
				set .@question$, "Which monster would receive the most damage from a Fire Property Dagger?";
				set .@answers$, "Dagger Goblin:Mace Goblin:Morningstar Goblin:Hammer Goblin";
				set .@answer, 4;
			break;
			case 24:
				set .@question$, "Choose the skill related to the Priest's B.S. Sacramenti from the ones displayed in the list.";
				set .@answers$, "Lex Divina:Gloria:Recovery:Sanctuary";
				set .@answer, 2;
			break;
			case 25:
				set .@question$, "Choose the item that is necessary for a Blacksmith to create a Gladius.";
				set .@answers$, "Sapphire:Zircon:Topaz:Cursed Ruby";
				set .@answer, 1;
			break;
			case 26:
				set .@question$, "Choose the prefix or suffix that is incorrectly matched with his Monster Card name.";
				set .@answers$, "Hornet Card - Martyr:Requiem - Chaos:Wormtail - Clever:Golem - Immortal";
				set .@answer, 4;
			break;
		}
		
		mes "[Aaron]";
		mes .@i + ". " + .@question$;
		next;
		if( select(.@answers$) == .@answer )
			set .@playerpoints, .@playerpoints + 1;
		
		// Jesqurienne answers correctly 80% of the time
		mes "[Jesqurienne]";
		if( rand(1,10) < 9 )
		{
			set .@jesqpoints, .@jesqpoints + 1;
			emotion e_oh;
			switch( .@i )
			{
				case 1:
					mes "Heh heh...";
					mes "The first question";
					mes "is always too easy.";
				break;
				case 2:
					mes "Ho ho ho ho~!";
					mes "I know the answer.";
					mes "Any fool should know";
					mes "this. But do you?";
				break;
				case 3:
					mes "Ah...";
					mes "That's another";
					mes "point for me!";
				break;
				case 4:
					mes "That counts as";
					mes "a question? You're";
					mes "being too easy!";
				break;
				case 5:
					mes "I didn't have";
					mes "to think very hard";
					mes "to know the answer.";
					mes "Are you still thinking?";
					mes "I wouldn't think you'd know!";
				break;
				case 6:
					mes "^333333*Sigh...*^000000";
					mes "Simple questions,";
					mes "simple answers.";
					mes "Did you get it?";
				break;
				case 7:
					//NOTE: this one is custom
					mes "Ah...";
					mes "That's another";
					mes "point for me!";
				break;
				case 8:
					mes "Hah hah~!";
					mes "That was a";
					mes "piece of cake!";
				break;
				case 9:
					mes "Ahhh...";
					mes "I'm just breezing";
					mes "through this Quiz Challenge!";
					mes "Aren't you having a hard time?";
				break;
				case 10:
					mes "As usual, I got";
					mes "the last question";
					mes "absolutely right~";
				break;
			}
		}
		else
		{
			emotion e_wah;
			switch( .@i )
			{
				case 1:
					mes "Huh...?";
					mes "How can I not know";
					mes "the answer to this?!";
				break;
				case 2:
					mes "Oh...";
					mes "I knew the answer";
					mes "to this just yesterday!";
					mes "Why can't I think of it now?!";
				break;
				case 3:
					mes "z...z...Z";
					mes "W-what? Oh!";
					mes "Well, I won't need";
					mes "that point anyway...";
				break;
				case 4:
					mes "I know the";
					mes "answer! W-why";
					mes "can't I think of";
					mes "it right now?!";
				break;
				case 5:
					mes "I...";
					mes "Hold on,";
					mes "I know this one...";
					mes "(Oh craaaaaap!)";
				break;
				case 6:
					mes "W-wait...!";
					mes "I know the";
					mes "answer to this";
					mes "one! Just let me";
					mes "th-think...!";
				break;
				case 7:
					//NOTE: this one is custom
					mes "z...z...Z";
					mes "W-what? Oh!";
					mes "Well, I won't need";
					mes "that point anyway...";
				break;
				case 8:
					mes "Grrr...";
					mes "Why don't";
					mes "I know this one?!";
				break;
				case 9:
					mes "Huh...?";
					mes "I don't understand";
					mes "why I don't know this...";
				break;
				case 10:
					mes "Huh...";
					mes "Wh-what was";
					mes "the question again?";
					mes "Nooo, I missed it!";
				break;
			}
		}
		next;
		
		// starting from after the 3rd round, Jesqurienne will keep informing you about the current status
		if( .@i == 3 )
		{
			mes "[Jesqurienne]";
			mes "Let's check our";
			mes "scores, shall we?";
			mes ".................";
			next;
			mes "[Jesqurienne]";
			if( .@playerpoints < .@jesqpoints ) {
				mes "Heh heh...";
				mes "It looks like";
				mes "I'm beating you!";
				mes "But you shouldn't";
				mes "be suprised...";
			} else
			if( .@playerpoints == .@jesqpoints ) {
				mes "Still, you're";
				mes "smarter than";
				mes "I thought you'd be...";
			} else
			{ //if( .@playerpoints > .@jesqpoints ) {
				mes "W-wait a minute!";
				mes "H-how could you";
				mes "have more points";
				mes "than me?! I better";
				mes "get serious!";
			}
			next;
			mes "[Aaron]";
			mes "*Ahem!*";
			mes "Question";
			mes "number four!";
			next;
		} else
		if( .@i == 4 || .@i == 5 || .@i == 6 || .@i == 7 || .@i == 8 )
		{
			//NOTE: rounds 5-8 should actually have their own dialogue!
			mes "[Jesqurienne]";
			if( .@playerpoints < .@jesqpoints ) {
				mes "Heh heh~ It looks";
				mes "like I have the lead.";
				mes "But that's only natural for";
				mes "someone as brilliant as me~";
			} else
			if( .@playerpoints == .@jesqpoints ) {
				mes "Up till now";
				mes "you've managed";
				mes "to keep up with";
				mes "me. Huh. So you're";
				mes "not a total idiot...";
			} else
			{ //if( .@playerpoints > .@jesqpoints ) {
				mes "Heh heh~ It looks";
				mes "like I have the lead.";
				mes "But that's only natural for";
				mes "someone as brilliant a--";
				mes "Wait. How do you have";
				mes "more points than me?!";
			}
			next;
		} else
		if( .@i == 9 )
		{
			mes "[Jesqurienne]";
			if( .@playerpoints < .@jesqpoints ) {
				mes "Bwahahaha!";
				mes "Only one question";
				mes "left! You have to get";
				mes "this one right or I'll";
				mes "call you stupid forever!";
			} else
			if( .@playerpoints == .@jesqpoints ) {
				mes "We're tied?!";
				mes "Oh no... I better";
				mes "get this last question";
				mes "right. (And I hope that";
				mes "you get it wrong!)";
			} else
			{ //if( .@playerpoints > .@jesqpoints ) {
				mes "I'm losing?!";
				mes "And we're at the";
				mes "last question already?!";
			}
			next;
		}
	}
	
	mes "[Aaron]";
	mes "Okay, the quiz";
	mes "is over! Now, I'll";
	mes "reveal the results";
	mes "of the competitors...";
	next;
	mes "[Aaron]";
	mes "Umm...";
	mes ""+strcharinfo(0)+":";
	mes .@playerpoints + " points!";
	next;
	mes "[Aaron]";
	mes "Jesqurienne...";
	mes .@jesqpoints + " points!";
	next;
	mes "[Jesqurienne]";
	if( .@playerpoints < .@jesqpoints ) {
		mes "Bwahahaha!";
		mes "I win! I knew it!";
		mes "Ho ho ho ho ho ho~";
		set @takenquiz,1;
	} else
	if( .@playerpoints == .@jesqpoints ) {
		mes "Tied?!";
		mes "Alright, I'm impressed.";
		mes "I'll admit, you're much";
		mes "smarter than I thought...";
		set @takenquiz,2;
	} else
	{ // if( .@playerpoints > .@jesqpoints ) {
		mes "No...!";
		mes "I can't...";
		mes "Believe this...";
		set @takenquiz,2;
	}
	next;
    
    mes "[Aaron]";
    mes "Thank you";
    mes "for playing!";
    mes ".......................";
    mes "............................";
    mes "Alright, back to drinking!";
    next;
    if (@takenquiz == 2) {
        mes "[Jesqurienne]";
        mes "I lost...";
        mes "M-maybe you were right.";
        mes "I am arrogant after all...";
        mes "I should stop drinking so";
        mes "much. Travel around and";
        mes "broaden my knowledge...";
        next;
        mes "[Jesqurienne]";
        mes "You're the only";
        mes "one who has been";
        mes "able to beat me in";
        mes "a battle of minds.";
        mes "W-who are you...?";
        next;
        input @quizname$;
        mes "[Jesqurienne]";
        mes ""+@quizname$+"...";
        mes "I'll remember that.";
        next;
        mes "[Jesqurienne]";
        mes "Here...";
        mes "My old friend, Metz, told";
        mes "me to give this to someone";
        mes "who is worthy. I was going";
        mes "to keep it, but I suppose";
        mes "you're its true owner...";
        getitem 7177,1;
        set signquest,10;
        next;
        mes "[Jesqurienne]";
        mes "If you want to know more about the";
        mes "Sobbing Starlight, find a man named";
        mes "^0000FFDearles^000000. It may be hard to find him";
        mes "since he wanders from place to";
        mes "place, but it might help to know";
        mes "that he loves gambling...";
        next;
        mes "[Jesqurienne]";
        mes "Good luck finding";
        mes "Dearles. I'm taking";
        mes "this loss pretty badly,";
        mes "so I think I'll stay here";
        mes "and have another drink.";
        mes "Farewell, " + @quizname$ + ".";
        close;
    }

    if (@takenquiz == 1) {
        mes "[Jesqurienne]";
        mes "Bwahahahaha!";
        mes "You should have known";
        mes "from the beginning that you";
        mes "never had a chance! Of course,";
        mes "I did, but you know, I guess you";
        mes "had to learn for yourself.";
        next;
        mes "[Jesqurienne]";
        mes "I'd insult you if it weren't for";
        mes "the fact that you embarassed";
        mes "yourself enough during the Quiz";
        mes "Challenge. As a matter of fact,";
        mes "I'll even forgive you for wounding";
        mes "my pride earlier.";
        next;
        mes "[Jesqurienne]";
        mes "Can you believe it?";
        mes "Even drunk I can beat";
        mes "you in a test of intelligence!";
        mes "Bwahaha! I can't believe how";
        mes "simple minded you are...!";
        emotion e_gg;
        next;
        menu "I can't let you win!",L_challenge,"Darn it...",-;
        mes "[Jesqurienne]";
        mes "Just now you realize";
        mes "how pitiful your intellect";
        mes "is compared to mine? Ho ho ho!";
        mes "There's hope for every fool!";
        close;
    }

L_challenge:
    mes "[Jesqurienne]";
    mes "You're a slow learner,";
    mes "aren't you? Well, I welcome";
    mes "your 'Challenge' anytime!";
    mes "Bwah hah hah hah hah~!";
    close;

L_done:
    mes "[Aaron]";
    mes "Thank you";
    mes "for playing!";
    mes ".......................";
    mes "............................";
    mes "Alright, back to drinking!";
    close;

OnHeh:
    emotion 18;

}

cmd_in02,88,51,3	script	Strange Man	806,{

    if (signquest == 12) goto L_Ever;
    if (signquest == 11) goto L_Test;
    mes "[Dearles]";
    mes "No...! Damn it,";
    mes "not again! When's";
    mes "my lucky streak";
    mes "gonna start?";

    if (signquest == 10) {
        next;
        if (@pay_dearles == 1) goto L_Pay;

        menu "Excuse me...",L_Excuse,"Just pass by.",-;
        mes "[Dearles]";
        mes "Crap...!";
        mes "I'm almost broke!";
        mes "But i gotta win";
        mes "all my cash back! How can";
        mes "I raise more money fast";
        mes "without actually working...";
        close;

L_Excuse:
        mes "[Dearles]";
        mes "What is it?!";
        mes "I'm not in the mood";
        mes "for chatting with complete";
        mes "and total strangers, so";
        mes "get to the point~!";
        next;
        menu "Oh nothing...",-,"I'm here for Metz...?",L_Metz;
        mes "[Dearles]";
        mes "Wha...? You bother";
        mes "me and make me lose this";
        mes "game for nothing? For that,";
        mes "I'll freakin' beat you to near";
        mes "freakin' death! Bam bam bam!";
        close2;
        set Hp,1;
        warp "comodo",122,100;
        end;

L_Metz:
        mes "[Dearles]";
        mes "Oh. You're here for";
        mes "the Sobbing Starlight, huh? If you";
        mes "wanna take my test, there's *ahem*";
        mes "a fee of 30.000 zeny. So take it or";
        mes "leave it, capish?";
        next;
        mes "[Dearles]";
        mes "I'll have nothing";
        mes "to do with you if you";
        mes "can't pay up. Just think";
        mes "of the fee as a preliminary";
        mes "for my test. You know, to";
        mes "weed out the riffraff.";
        set @pay_dearles,1;
        close;

L_Pay:
        mes "[Dearles]";
        mes "Eh heh heh~";
        mes "Soooooo, did you";
        mes "bring the money?";
        next;
        menu "Here you are...",L_Fee,"Not yet...",-;
        mes "[Dearles]";
        mes "Huh?";
        mes "Alright but you";
        mes "better hurry. I can";
        mes "change my mind at";
        mes "any time, you know!";
        close;

L_Fee:
        if (Zeny < 30000) goto L_NotEnough;
        set Zeny, Zeny - 30000;
        mes "[Dearles]";
        mes "Ummm.......";
        mes "Heh heh~";
        mes "That's thirty grand,";
        mes "alright! Okay, come back";
        mes "to me at night and";
        mes "we'll start your test...";
        set signquest,11;
        close;
    } else {
        close;

    }

L_NotEnough:
    mes "[Dearles]";
    mes "Don't fool me!";
    mes "You don't have";
    mes "enough money to";
    mes "pay the test fee.";
    mes "Come back with 30.000 zeny.";
    close;

L_Test:
    if (gettime(3) == 19 || gettime(3) == 20 || gettime(3) == 21 || gettime(3) == 22 || gettime(3) == 23) goto L_Time;
    mes "[Dearles]";
    mes "Don't you see";
    mes "I'm busy right now?";
    mes "Come back at night";
    mes "And we'll see for";
    mes "your test.";
    close;

L_Time:
    if (SignDance == 3) goto L_Win;
    if (SignDance == 2) goto L_Fail;
    if (dearles_test == 2) goto L_Check;
    if (dearles_test == 3) goto L_Dance;
    if (dearles_test == 1) goto L_Test2;
    mes "[Dearles]";
    mes "Nice, you're here";
    mes "just in time. Well,";
    mes "all that matters is that";
    mes "you come during the night.";
    next;
    mes "[Dearles]";
    mes "You're wondering how";
    mes "a guy like me is pals with";
    mes "Metz, but that's none of your";
    mes "business. I guess I gotta keep";
    mes "this promise to him, so when";
    mes "you're ready, say the word.";
    set dearles_test,1;
    close;

L_Test2:
    mes "[Dearles]";
    mes "Alright! I want you to";
    mes "bring me a bunch of items!";
    mes "Yeah, I know, you're a real";
    mes "pro at this, but let me set";
    mes "you straight before you blow";
    mes "this off as a piece of cake...";
    next;
    mes "[Dearles]";
    mes "I'm not gonna give you an";
    mes "exact list of items I want. Oh";
    mes "no, what you gotta do is bring";
    mes "me artsy crafts. This test is";
    mes "gonna judge your appreciation";
    mes "of... Craftsmanship~";
    next;
    mes "[Dearles]";
    mes "Since I'm seeing whether";
    mes "or not you got good taste,";
    mes "variety is the important thing";
    mes "here. So don't bring freakin'";
    mes "a hundred of the same object.";
    mes "Just one of each kind'll do.";
    next;
    mes "[Dearles]";
    mes "What are you";
    mes "standin' around";
    mes "waiting for? Bring";
    mes "those collection items!";
    set dearles_test,2;
    close;

L_Check:
    mes "[Dearles]";
    mes "Ah! So this is";
    mes "the stuff you brought?";
    mes "Let me take a look-see...";
    next;
    if (countitem(740))set @dearles_check,@dearles_check+1;
    if (countitem(741))set @dearles_check,@dearles_check+1;
    if (countitem(742))set @dearles_check,@dearles_check+1;
    if (countitem(743))set @dearles_check,@dearles_check+2;
    // Was checking the wrong items here [Llyr]
    // Script was checking for:
    // Bouquet (ID: 744) instead of Red Frame (ID: 734)
    // Wedding Bouquet (ID: 745) instead of Chung Jah (ID: 735)
    // Glass Bead (ID: 746) instead of China (ID: 736)
    if (countitem(734))set @dearles_check,@dearles_check+1;
    if (countitem(735))set @dearles_check,@dearles_check+1;
    if (countitem(736))set @dearles_check,@dearles_check+1;
    if (countitem(747))set @dearles_check,@dearles_check+2;
    if (countitem(750))set @dearles_check,@dearles_check+10;
    if (countitem(751))set @dearles_check,@dearles_check+12;
    if (countitem(752))set @dearles_check,@dearles_check+3;
    if (countitem(753))set @dearles_check,@dearles_check+5;
    if (countitem(754))set @dearles_check,@dearles_check+5;

    if (@dearles_check >= 20) {
        if (countitem(741))delitem 741,countitem(741);
        if (countitem(740))delitem 740,countitem(740);
        if (countitem(742))delitem 742,countitem(742);
        if (countitem(743))delitem 743,countitem(743);
        if (countitem(734))delitem 734,countitem(734);
        if (countitem(735))delitem 735,countitem(735);
        if (countitem(736))delitem 736,countitem(736);
        if (countitem(747))delitem 747,countitem(747);
        if (countitem(750))delitem 750,countitem(750);
        if (countitem(751))delitem 751,countitem(751);
        if (countitem(752))delitem 752,countitem(752);
        if (countitem(753))delitem 753,countitem(753);
        if (countitem(754))delitem 754,countitem(754);
        mes "[Dearles]";
        mes "Nice, nice~";
        mes "These'll sell for--";
        mes "Er, I'm glad to say";
        mes "that you pass for now.";
        next;
        mes "[Dearles]";
        mes "I think you're ready";
        mes "for the next step. Now,";
        mes "I'm gonna send you to";
        mes "Lamadin for Part Two";
        mes "of my test. Yeah, I know...";
        set dearles_test,3;
        close2;
        warp "cmd_in01",34,17;
        end;
    } else {
        set @dearles_check,0;
        mes "[Dearles]";
        mes "Hmm... Some of this";
        mes "stuff looks good, but";
        mes "there isn't enough variety";
        mes "here that proves your eye for";
        mes "craftsmanship. Come back";
        mes "with more stuff, alright?";
        close;
    }


L_Dance:
    mes "[Dearles]";
    mes "Hey, you gotta";
    mes "finish the Part Two of";
    mes "my test. I'm gonna send";
    mes "you to Lamadin now...";
    close2;
    warp "cmd_in01",34,17;
    end;

L_Fail:
    mes "[Dearles]";
    mes "You failed Part Two,";
    mes "the rhythm portion of";
    mes "my freakin' test? If you";
    mes "wanna try again, you're";
    mes "welcome to another chance...";
    next;
    menu "Yes.",L_Another,"Maybe later.",-;
    mes "[Dearles]";
    mes "What...?";
    mes "Alright, but you";
    mes "really shouldn't give";
    mes "up. I mean, Part Two is";
    mes "supposed to be ridiculously";
    mes "easy. I made it that way.";
    close;

L_Another:
    mes "[Dearles]";
    mes "Okay...";
    mes "Just keep in mind";
    mes "that Part Two was";
    mes "supposed to be";
    mes "the easy part...";
    close2;
    warp "cmd_in01",34,17;
    end;

L_Win:
    mes "[Dearles]";
    mes "Lamadin tells me";
    mes "you passed. Since you";
    mes "did so good, I'm gonna";
    mes "give you some of your money";
    mes "back. Not all, but most of it.";
    mes "Isn't that reward enough?";
    next;
    set Zeny, Zeny + 20000;
    getitem 7177,1;
    set signquest,12;
    set $dance_fail,0;
    mes "[Dearles]";
    mes "Alright, take this chunk";
    mes "of Sobbing Starlight and";
    mes "go find someone named";
    mes "um, 'Bakerlan' in Alberta.";
    next;

L_Ever:
    mes "[Dearles]";
    mes "Well, that's it.";
    mes "There's no reason";
    mes "for you to ever see";
    mes "me again. But yeah,";
    mes "good luck with that";
    mes "Sobbing Starlight business.";
    close;
}


cmd_in01,32,25,3	script	Lamadin	724,{

    if (SignDance == 1)goto L_Win;
    if (SignDance == 2)goto L_Another;
    mes "[Lamadin]";
    mes "Welcome to";
    mes "Part Two of Dearles'";
    mes "exam where your sense";
    mes "of rhythm will be tested~";
    next;
    mes "[Lamadin]";
    mes "Please click on the";
    mes "Chat Room to enter the";
    mes "Standby Room. When it's";
    mes "your turn, the test will begin!";
    next;
    mes "[Lamadin]";
    mes "The top left pole";
    mes "means 'Up' and there are";
    mes "a total of four marks";
    mes "designated as Upper, Lower,";
    mes "Left and Right. Hitting each";
    mes "mark will produce a sound.";
    next;
    mes "[Lamadin]";
    mes "During the test,";
    mes "you must hit the marks";
    mes "according to the given";
    mes "instructions in order to";
    mes "play music. Nifty, huh?";
    next;
    mes "[Lamadin]";
    mes "I'm in charge of grading";
    mes "your performance and determinating";
    mes "your qualification. Please do your";
    mes "best and come back to me when";
    mes "you finish the test. Good luck~";
    mes "Please do your best.";
    close;

L_Another:
    mes "[Lamadin]";
    mes "Let's see...";
    mes "You're "+strcharinfo(0)+"?";
    mes "Oh, what a shame!";
    mes "You failed this time.";
    mes "But don't worry...";
    next;
    mes "[Lamadin]";
    mes "You're welcome to";
    mes "try again whenever";
    mes "you want, alright?";
    mes "Thank you~";
    close;

L_Win:
    mes "[Lamadin]";
    mes "Let's see...";
    mes "You're "+strcharinfo(0)+"?";
    mes "Congratulations!";
    mes "You got a perfect";
    mes "score on this test!";
    next;
    mes "[Dearles]";
    mes "I'll send a message to";
    mes "Mister Dearles right away,";
    mes "so please go speak to him";
    mes "again. He may even give";
    mes "you a reward since you";
    mes "did such a great job~";
    set SignDance,3;
    close;

}

cmd_in01,33,33,3	script	Waiting Room#SignDance	66,{
	end;

OnWarp:
	warpwaitingpc "cmd_in01",16,16,1;
	disablewaitingroomevent;
	disablenpc "SignDance#WARPER";
	enablenpc "SignDance#CENTER";
	end;
OnInit:
	waitingroom "DANCE~ DANCE~",20,"Waiting Room#SignDance::OnWarp",1;
	end;
}

cmd_in01,1,1,1	script	DanceInit	139,{

OnInitiation:
    initnpctimer;
    end;
OnTimer1000:
    if (!isloggedin($SignDancingrid))goto s_Cleanup;
    areaannounce "cmd_in01",12,12,35,35,"The test will begin shortly. Please do your best~",8;
    end;
OnTimer4000:
    if (!isloggedin($SignDancingrid))goto s_Cleanup;
    set $signdance,1;
    areaannounce "cmd_in01",12,12,35,35,"UP LEFT",8;
    end;
OnTimer7000:
    if (!isloggedin($SignDancingrid))goto s_Cleanup;
    if ($signdance != 2) set $Signdanceresult,1;
    set $signdance,3;
    areaannounce "cmd_in01",12,12,35,35,"DOWN RIGHT",8;
    end;
OnTimer10000:
    if (!isloggedin($SignDancingrid))goto s_Cleanup;
    if ($signdance != 4) set $Signdanceresult,1;
    set $signdance,5;
    areaannounce "cmd_in01",12,12,35,35,"DOWN LEFT & UP RIGHT",8;
    end;
OnTimer13000:
    if (!isloggedin($SignDancingrid))goto s_Cleanup;
    if ($signdance != 7) set $Signdanceresult,1;
    set $signdance,8;
    areaannounce "cmd_in01",12,12,35,35,"DOWN RIGHT",8;
    end;
OnTimer15000:
    if (!isloggedin($SignDancingrid))goto s_Cleanup;
    if ($signdance != 9) set $Signdanceresult,1;
    set $signdance,10;
    areaannounce "cmd_in01",12,12,35,35,"DOWN LEFT & UP RIGHT & UP LEFT & STAY CENTER",8;
    end;
OnTimer20000:
    if (!isloggedin($SignDancingrid))goto s_Cleanup;
    if ($signdance != 14) set $Signdanceresult,1;
    set $signdance,15;
    areaannounce "cmd_in01",12,12,35,35,"DOWN LEFT & DOWN RIGHT & DOWN LEFT",8;
    end;
OnTimer24000:
    if (!isloggedin($SignDancingrid))goto s_Cleanup;
    if ($signdance != 18) set $Signdanceresult,1;
    set $signdance,19;
    areaannounce "cmd_in01",12,12,35,35,"DOWN RIGHT & CENTER & DOWN RIGHT",8;
    end;
OnTimer28000:
    if (!isloggedin($SignDancingrid))goto s_Cleanup;
    if ($signdance != 22) set $Signdanceresult,1;
    set $signdance,23;
    areaannounce "cmd_in01",12,12,35,35,"DOWN LEFT & UP LEFT & UP RIGHT & DOWN RIGHT & CENTER",8;
    end;
OnTimer33000:
    if (!isloggedin($SignDancingrid))goto s_Cleanup;
    if ($signdance != 28) set $Signdanceresult,1;
    set $signdance,29;
    areaannounce "cmd_in01",12,12,35,35,"DOWN LEFT & UP RIGHT & UP LEFT & DOWN RIGHT",8;
    end;
OnTimer40000:
    if (!isloggedin($SignDancingrid))goto s_Cleanup;
    if ($signdance != 33) set $Signdanceresult,1;
    set $signdance,34;
    areaannounce "cmd_in01",12,12,35,35,"UP RIGHT & DOWN RIGHT & UP RIGHT & DOWN RIGHT",8;
    end;
OnTimer44000:
    if (!isloggedin($SignDancingrid))goto s_Cleanup;
    if ($signdance != 38) set $Signdanceresult,1;
    set $signdance,39;
    set $SignDanceRandomizer,rand(0,1);
    if (!$SignDanceRandomizer)
        areaannounce "cmd_in01",12,12,35,35,"UP LEFT & UP RIGHT & CENTER & UP RIGHT & DOWN LEFT & DOWN RIGHT",8;
    else
        areaannounce "cmd_in01",12,12,35,35,"UP LEFT & UP RIGHT & DOWN LEFT & UP RIGHT & DOWN LEFT & DOWN RIGHT",8;
    end;
OnTimer51500:
    if (!isloggedin($SignDancingrid))goto s_Cleanup;
    if ($signdance != 45)set $Signdanceresult,1;
    areaannounce "cmd_in01",12,12,35,35,"Well done.",8;
    end;
OnTimer54500:
    if (!isloggedin($SignDancingrid))goto s_Cleanup;
    attachrid($SignDancingrid);
    if ($Signdanceresult)set SignDance,2;
    else set SignDance,1;
    warp "cmd_in01",34,17;
    detachrid;
    enablenpc "SignDance#WARPER";
    disablenpc "SignDance#CENTER";
    set $signdance,0;
    set $Signdanceresult,0;
    set $SignDancingrid,0;
    set $SignDanceRandomizer,0;
    enablewaitingroomevent "Waiting Room#SignDance";
    stopnpctimer;
    end;

s_Cleanup:
    donpcevent "SignDanceCleanUp::OnPlayerLogout";
    stopnpctimer;
    end;
}

cmd_in01,1,1,1	script	SignDanceCleanUp	-1,{

OnPlayerLogout:
	initnpctimer;
	areaannounce "cmd_in01",12,12,35,35,"The current dancer has logged out. New dancers will be accepted shortly.",8;
	enablenpc "SignDance#WARPER";
	disablenpc "SignDance#CENTER";
	set $signdance,0;
	set $Signdanceresult,0;
	set $SignDancingrid,0;
	set $SignDanceRandomizer,0;

OnTimer3000:
	enablewaitingroomevent "Waiting Room#SignDance";
	stopnpctimer;
	end;

OnInit:
	set $signdance,0;
	set $Signdanceresult,0;
	set $SignDancingrid,0;
	set $SignDanceRandomizer,0;
	end;

}

//Dancing tiles
cmd_in01,16,13,4	script	SignDance#DOWNRIGHT	139,1,1,{

	if($signdance == 3){ set $signdance,4; soundeffect "effect\\sign_down.wav",1; }
	if($signdance == 8){ set $signdance,9; soundeffect "effect\\sign_down.wav",1; }
	if($signdance == 16){ set $signdance,17; soundeffect "effect\\sign_down.wav",1; }
	if($signdance == 19){ set $signdance,20; soundeffect "effect\\sign_down.wav",1; }
	if($signdance == 21){ set $signdance,22; soundeffect "effect\\sign_down.wav",1; }
	if($signdance == 26){ set $signdance,27; soundeffect "effect\\sign_down.wav",1; }
	if($signdance == 32){ set $signdance,33; soundeffect "effect\\sign_down.wav",1; }
	if($signdance == 35){ set $signdance,36; soundeffect "effect\\sign_down.wav",1; }
	if($signdance == 37){ set $signdance,38; soundeffect "effect\\sign_down.wav",1; }
	if($signdance == 44){ set $signdance,45; soundeffect "effect\\sign_down.wav",1; }
	if(getcharid(3) != $SignDancingrid)warp "comodo",187,164;
	end;

}


cmd_in01,19,16,4	script	SignDance#UPRIGHT	139,1,1,{

	if($signdance == 6) { set $signdance,7; soundeffect "effect\\sign_right.wav",1; }
	if($signdance == 11) { set $signdance,12; soundeffect "effect\\sign_right.wav",1; }
	if($signdance == 25) { set $signdance,26; soundeffect "effect\\sign_right.wav",1; }
	if($signdance == 30) { set $signdance,31; soundeffect "effect\\sign_right.wav",1; }
	if($signdance == 34) { set $signdance,35; soundeffect "effect\\sign_right.wav",1; }
	if($signdance == 36) { set $signdance,37; soundeffect "effect\\sign_right.wav",1; }
	if($signdance == 40) { set $signdance,41; soundeffect "effect\\sign_right.wav",1; }
	if($signdance == 42) { set $signdance,43; soundeffect "effect\\sign_right.wav",1; }
	if(getcharid(3) != $SignDancingrid)warp "comodo",187,164;
	end;

}

cmd_in01,16,19,4	script	SignDance#UPLEFT	139,1,1,{

	if($signdance == 1) { set $signdance,2; soundeffect "effect\\sign_up.wav",1; }
	if($signdance == 12) { set $signdance,13; soundeffect "effect\\sign_up.wav",1; }
	if($signdance == 24) { set $signdance,25; soundeffect "effect\\sign_up.wav",1; }
	if($signdance == 31) { set $signdance,32; soundeffect "effect\\sign_up.wav",1; }
	if($signdance == 39) { set $signdance,40; soundeffect "effect\\sign_up.wav",1; }
	if(getcharid(3) != $SignDancingrid)warp "comodo",187,164;
	end;

}

cmd_in01,16,16,4	script	SignDance#WARPER	139,1,1,{
	if(getcharid(3) != $SignDancingrid)warp "comodo",187,164;
	end;

}

cmd_in01,16,16,4	script	SignDance#CENTER	139,1,1,{

	if($signdance == 0) { set $SignDancingrid, getcharid(3); donpcevent "DanceInit::OnInitiation"; }
	if($signdance == 13) { set $signdance,14; soundeffect "effect\\sign_center.wav",1; }
	if($signdance == 20) { set $signdance,21; soundeffect "effect\\sign_center.wav",1; }
	if($signdance == 27) { set $signdance,28; soundeffect "effect\\sign_center.wav",1; }
	if($signdance == 41 && !$SignDanceRandomizer) { set $signdance,42; soundeffect "effect\\sign_center.wav",1; }
	end;

OnInit:
	enablenpc "SignDance#WARPER";
	disablenpc "SignDance#CENTER";

}

cmd_in01,13,16,4	script	SignDance#DOWNLEFT	139,1,1,{

	if($signdance == 5) { set $signdance,6; soundeffect "effect\\sign_left.wav",1; }
	if($signdance == 10) { set $signdance,11; soundeffect "effect\\sign_left.wav",1; }
	if($signdance == 15) { set $signdance,16; soundeffect "effect\\sign_left.wav",1; }
	if($signdance == 17) { set $signdance,18; soundeffect "effect\\sign_left.wav",1; }
	if($signdance == 23) { set $signdance,24; soundeffect "effect\\sign_left.wav",1; }
	if($signdance == 29) { set $signdance,30; soundeffect "effect\\sign_left.wav",1; }
	if($signdance == 41 && $SignDanceRandomizer) { set $signdance,42; soundeffect "effect\\sign_left.wav",1; }
	if($signdance == 43) { set $signdance,44; soundeffect "effect\\sign_left.wav",1; }
	if(getcharid(3) != $SignDancingrid)warp "comodo",187,164;
	end;

}

alberta,99,151,1	script	Sign::AlbertaSign	111,{

	mes "^FF0000- The Sign Reads -^000000";
	mes "Tools by the Cart full!";
	mes "You need tools? We got'em!";
	mes "Come on in, we never close!";
	close;

}

alberta_in,114,178,5	script	Refined Steward	109,{

	if(bakerlan_test > 12) goto L_Hope;
	if(bakerlan_test == 12) goto L_Thanks;
	if(bakerlan_test > 6) goto L_Seylin;
	if(bakerlan_test == 5) goto L_Another;
	if(countitem(7181)) goto L_JobDone;
	if(bakerlan_test == 2) goto L_Delivery;
	if(bakerlan_test > 3) goto L_Sorry;
	mes "[Mahatra]";
	mes "Welcome to the";
	mes "Alchiesh Estate.";
	mes "The Alchiesh are the";
	mes "most esteemed family";
	mes "in all of Alberta.";
	next;
	mes "[Mahatra]";
	mes "I am Mahatra Mornen,";
	mes "steward of this family.";
	mes "Feel free to ask me if";
	mes "you need anything and";
	mes "I shall do my best";
	mes "to assist you.";
	close;

L_Delivery:
	mes "[Mahatra]";
	mes "Ah yes, the master informed";
	mes "me that you would be taking";
	mes "care of an urgent delivery";
	mes "for him. Please take this to a";
	mes "man named^0066CC Leibech.^000000";
	next;
	mes "[Mahatra]";
	mes "It may be difficult";
	mes "to find him since he";
	mes "travels around the world.";
	mes "Ah yes, I have heard that";
	mes "he was in some other country...";
	next;
	mes "[Mahatra]";
	mes "Now, the item I am";
	mes "about to give you is";
	mes "one of a kind. Don't lose";
	mes "it or you will fall out of favor";
	mes "with the master...";
	next;
	mes "^0066CCMahatra gives you";
	mes "a unique stone that has";
	mes "your name attached on it.^000000";
	set @signid,getcharid(0,strcharinfo(0));
	set @sign3, @signid & 65535;
	set @sign4, @signid >> 16;
	set @sign1,254;
	set @sign2,0;
	getitem2 7049,1,1,0,0,@sign1,@sign2,@sign3,@sign4;
	set bakerlan_test,3;
	close;

L_JobDone:
	mes "[Mahatra]";
	mes "Ah, you've returned.";
	mes "And I see you already";
	mes "delivered the Stone. Great,";
	mes "well done. Let me send a";
	mes "message to the master, so";
	mes "please visit him later.";
	set bakerlan_test,4;
	delitem 7181,1;
	close;

L_Sorry:
	mes "[Mahatra]";
	mes "Thank you very";
	mes "much for the trouble";
	mes "you've gone through";
	mes "on our behalf.";
	close;

L_Another:
	mes "[Mahatra]";
	mes "Greetings. Hm?";
	mes "Did the master ask";
	mes "you to perform another";
	mes "task for him already?";
	next;
	menu "No.",-,"You have another assignment for me.",L_Assign;
	mes "[Mahatra]";
	mes "Very well.";
	mes "Then, we shall";
	mes "converse later~";
	close;

L_Assign:
	mes "[Mahatra]";
	mes "I...I do...?";
	mes "The master didn't";
	mes "leave me any instructions.";
	mes "Hmmm. Oh, I know what you can";
	mes "do. Why don't you help^FF0000 Seylin^000000? She";
	mes "seems bothered with something...";
	set bakerlan_test,6;
	close;

L_Seylin:
	mes "[Mahatra]";
	mes "Although you may only";
	mes "be doing it for the Sobbing";
	mes "Starlight, I really appreciate";
	mes "all your help. Seylin's a very";
	mes "nice girl and doesn't deserve";
	mes "to feel down...";
	close;

L_Thanks:
	mes "[Mahatra]";
	mes "Yes.";
	mes "I heard from Seylin.";
	mes "I did not know she was worried";
	mes "about her brother.";
	mes "Ahem ahem...";
	mes "Thank you for helping her.";
	mes "I will send a message to my";
	mes "master.";
	next;
	mes "[Mahatra]";
	mes "If there is anything else, he will";
	mes "let you pass the test.";
	mes "Good luck.";
	set bakerlan_test,13;
	close;

L_Hope:
	mes "[Mahatra]";
	mes "I hope the master";
	mes "listens to me and dresses more like";
	mes "a man in his position. Even if";
	mes "he thinks he's just a merchant,";
	mes "he's the master of the estate!";
	mes "But please don't tell him that~";
	close;

}

alberta_in,154,171,5	script	Maid#3	758,{

	if(bakerlan_test > 11) goto L_Done;
	if(bakerlan_test == 11) goto L_Thanks;
	if(bakerlan_test == 10) goto L_Brother;	
	if(bakerlan_test > 8 && countitem(7044)) goto L_Vigorgra;
	if(bakerlan_test > 6) goto L_Bring;
	if(@seylin == 2) goto L_Thought;
	if(@seylin == 1) goto L_Help;
	if(bakerlan_test == 6) goto L_NoUse;
	if(bakerlan_test > 2 && bakerlan_test < 6) goto L_Bother;
	mes "[Seylin]";
	mes "I'm sorry, but I'm";
	mes "busy cleaning the manor";
	mes "right now so I don't have";
	mes "time to talk. Oh, and would";
	mes "please wipe your shoes";
	mes "on the mat before coming in?";
	close;

L_Bother:
	mes "[Seylin]";
	mes "Ooooh...";
	mes "What am I going";
	mes "to do?! Oh-- You";
	mes "startled me!";
	next;
	mes "[Seylin]";
	mes "I'm sorry, but";
	mes "I was just thinking";
	mes "about something. I hope";
	mes "I didn't bother you. *sigh*";
	close;

L_NoUse:
	mes "[Seylin]";
	mes "Oh, it's no use";
	mes "worrying about";
	mes "something I can't do";
	mes "nothing about. I better";
	mes "get back to work...";
	set @seylin,1;
	close;

L_Help:
	mes "[Seylin]";
	mes "*sigh...*";
	mes "Oh, dear...";
	mes "What can I do";
	mes "about this...?";
	next;
	menu "Ignore her.",-,"Excuse me, but Mahatra sent me...",L_Work;
	close;

L_Work:
	mes "[Seylin]";
	mes "Mister Mahatra";
	mes "sent you to me?";
	mes "Hm? Does he need";
	mes "me for anything?";
	next;
	menu "Actually, he wants me to help you.",-;
	mes "[Seylin]";
	mes "Oh, how very kind!";
	mes "Yes, yes, I could use";
	mes "some help right now!";
	mes "You see, it'll be my brother's";
	mes "birthday but I'm so busy with";
	mes "work that I can't see him.";
	emotion e_thx;
	next;
	mes "[Seylin]";
	mes "The last time I saw him,";
	mes "he looked so tired and weak";
	mes "so it's worrying me. Now, I've";
	mes "heard there's some new medicine";
	mes "called^FF0000 Vigorgra^000000. I don't know much";
	mes "about it, but it should help him!";
	next;
	mes "[Seylin]";
	mes "Do you think you could";
	mes "find that medicine and";
	mes "bring it to me? If you don't";
	mes "want to, I understand. Plus,";
	mes "I don't know if the master";
	mes "would approve of this...";
	next;
	menu "I can't do it.",-,"Let me think about it.",L_Think,"Sure, why not?",L_Ok;
	mes "[Seylin]";
	mes "Oh really?";
	mes "Alright, I can";
	mes "understand. I'm";
	mes "very sorry to bother";
	mes "you with my problems.";
	set @seylin,2;
	close;

L_Think:
	mes "[Seylin]";
	mes "Oh really?";
	mes "I'm sorry, I...";
	mes "I just thought";
	mes "that maybe...";
	set @seylin,2;
	close;

L_Thought:
	mes "[Seylin]";
	mes "Hello there--";
	mes "Oh, have you";
	mes "changed your mind";
	mes "about helping me?";
	mes "I'll repay you,";
	mes "of course.";
	next;
	menu "No.",L_Think,"Yes.",-;

L_Ok:
	mes "[Seylin]";
	mes "Oh, thank you so much!";
	mes "Now, I remember hearing";
	mes "that you can find Vigorgra";
	mes "somewhere in Aldebaran.";
	mes "Somebody in the Alchemist";
	mes "Guild make it, I think.";
	next;
	mes "[Seylin]";
	mes "I'm sorry but I don't";
	mes "know much about the medicine.";
	mes "Well, aside from the fact that";
	mes "it makes men feel young again.";
	mes "So that must be good, right?";
	mes "Thanks again for your help~";
	set bakerlan_test,7;
	close;

L_Bring:
	mes "[Seylin]";
	mes "I know that you might";
	mes "be able to find Vigorgra";
	mes "in the Alchemist's Guild";
	mes "in Aldebaran. Aside from";
	mes "that, I don't know much...";
	next;
	mes "[Seylin]";
	mes "Once you get it,";
	mes "would you bring";
	mes "the Vigorgra to me?";
	close;

L_Vigorgra:
	mes "[Seylin]";
	mes "Hurray~!";
	mes "You brought the";
	mes "Vigorgra! I hope";
	mes "my brother will";
	mes "be happy with this.";
	next;
	mes "[Seylin]";
	mes "Oh! Would you please";
	mes "bring this Vigorgra to my";
	mes "brother? His name is Maruin";
	mes "and he's working over at";
	mes "the Prontera Castle.";
	next;
	mes "[Seylin]";
	mes "Ah, I almost forgot!";
	mes "I just finished writting";
	mes "him this letter, so would";
	mes "you make sure he gets";
	mes "this? Thanks you so much!";
	getitem 7183,1;
	set bakerlan_test,10;
	close;

L_Brother:
	mes "[Seylin]";
	mes "Would you please";
	mes "deliver the Vigorgra";
	mes "and my letter to my brother";
	mes "Maruin in the Prontera Castle?";
	mes "And wish him Happy Birthday~";
	close;

L_Thanks:
	mes "[Seylin]";
	mes "Thanks so much";
	mes "for your help again!";
	mes "I want you to have this";
	mes "as a token of my gratitude.";
	mes "You really are a kind person~";
	getitem 525,3;
	emotion e_kis2;
	set bakerlan_test,12;
	close;

L_Done:
	mes "[Seylin]";
	mes "Although the master isn't";
	mes "a messy person, he's pretty";
	mes "unorganized. I wish he'd make";
	mes "it easier for me to tell which";
	mes "papers are documents, and";
	mes "which ones are trash...";
	next;
	mes "[Seylin]";
	mes "So, how have you been?";
	mes "Is everything okay with you?";
	mes "I hope you have a lot of good";
	mes "experiences in your adventures.";
	close;

}

alberta_in,125,101,5	script	Wealthy-looking Merchant	807,{

    if (!signquest) {
        mes "[Bakerlan]";
        mes "Umm...well then...";
        mes "I shall take the action for";
        mes "Prontera...";
        mes "And for Juno...";
        mes "Awww....";
        mes "Gosh, this is such a pain in the";
        mes "ass...";
        mes "Mumble mumble...";
        close;
    }
    if (signquest > 12) goto L_Over;
    if (bakerlan_test == 13) goto L_Help;
    if (bakerlan_test == 5) goto L_Busy;
    if (bakerlan_test == 4) goto L_JobDone;
    if (bakerlan_test > 1) goto L_Steward;
    if (bakerlan_test == 1) goto L_Later;
    if (signquest == 12) {
        mes "[Bakerlan]";
        mes "Gosh...";
        mes "I do not know what I should do";
        mes "about Juno...";
        mes "Who are you?";
        next;
        menu "Noone.",-,"Mr. Metz sent me.",L_Metz;
        mes "[Bakerlan]";
        mes "Hmm...";
        mes "I am pretty busy at the moment. So";
        mes "please do not interrupt me any";
        mes "further.";
        mes "If you are looking for a job,";
        mes "please inquire of my steward.";
        close;
    }

L_Metz:
    mes "[Bakerlan]";
    mes "Ah... He did?... Hmmmm...";
    mes "Unfortunately, I am kind of busy...";
    mes "Will you please come back later?";
    mes "Thanks you.";
    set bakerlan_test,1;
    close;

L_Later:
    mes "[Bakerlan]";
    mes "Hmm...? You've";
    mes "finished all the";
    mes "tests up until Dearles'";
    mes "challenge? Prove it to me";
    mes "with your pieces of the";
    mes "Sobbing Starlight...";
    next;
    menu "Give me a minute...",-,"Here...",L_Star;

L_NoStar:
    mes "[Bakerlan]";
    mes "Well, you better";
    mes "come back soon. I'm";
    mes "a busy businessman, so";
    mes "my time is quite precious.";
    close;

L_Star:
    if (countitem(7177) < 5) goto L_NoStar;
    mes "[Bakerlan]";
    mes "Ah, now I see that";
    mes "you speak the truth.";
    mes "Alright, we can begin my test.";
    next;
    mes "[Bakerlan]";
    mes "First, I wish for you to make";
    mes "a delivery. The object I want you";
    mes "to deliver is expensive and must be";
    mes "handled with care. Don't lose it or";
    mes "you will fail. Now, speak to my";
    mes "steward for more information.";
    set bakerlan_test,2;
    close;

L_Steward:
    mes "[Bakerlan]";
    mes "Please speak to my";
    mes "steward for all matters";
    mes "related to the delivery";
    mes "that you must complete";
    mes "for my test.";
    close;

L_JobDone:
    mes "[Bakerlan]";
    mes "Ah yes, Mahatra tells";
    mes "me that you've completed";
    mes "the delivery. Well, um, he now";
    mes "has another assignment for";
    mes "you to complete. So";
    mes "please talk to him again.";
    set bakerlan_test,5;
    close;

L_Busy:
    mes "[Bakerlan]";
    mes "You have not finished yet.";
    mes "Why don't you go finish them";
    mes "first?";
    mes "I'm a busy businessman.";
    close;

L_Help:
    mes "[Bakerlan]";
    mes "Ah, I was informed about you.";
    mes "Well, although you have your goal,";
    mes "that does not necessarily mean to";
    mes "help that kid.";
    mes "Metz must have an eye for a right";
    mes "person, I assume.";
    next;
    mes "[Bakerlan]";
    mes "Well, I wanted to assign you some";
    mes "various tasks,";
    mes "on my own plan, bur recently I am";
    mes "very busy";
    mes "to take care of tradings";
    mes "with Kunlun and Amatsu.";
    next;
    mes "[Bakerlan]";
    mes "I found Seylin while I was trading";
    mes "with Amatsu few years ago.";
    mes "I introduces her brother to the";
    mes "royal family of Prontera, too.";
    mes "But anyways,";
    next;
    mes "[Bakerlan]";
    mes "I want to test you longer, but";
    mes "I am too busy for that. Also I";
    mes "don't think it is good for you.";
    mes "Let's finish the test now.";
    mes "You are qualified enough already.";
    next;
    mes "[Bakerlan]";
    mes "There you go.";
    mes "I am the last one who tested your";
    mes "qualification.";
    mes "Now bring all of the Stone pieces";
    mes "to Metz.";
    mes "He will tell you what you need to";
    mes "do next.";
    getitem 7177,1;
    set signquest,13;
    close;

L_Over:
    mes "[Bakerlan]";
    mes "How is it going?";
    mes "In fact, we want to do it on our";
    mes "own...";
    mes "but we are too preoccupied with our";
    mes "works...";
    mes "I hope you will keep up the good";
    mes "work.";
    mes "I am also curious what that stone";
    mes "is.";
    close;
}

yuno,330,100,3	script	Knight#2	734,{

    if (bakerlan_test > 4) goto L_Thanks;
    if (bakerlan_test == 3) goto L_Delivery;

L_Wait:
    mes "[Leibech]";
    mes "Don't disturb me.";
    mes "I'm waiting for an";
    mes "important delivery.";
    close;

L_Delivery:
    set @signid,getcharid(0,strcharinfo(0));
    set @sign3, @signid & 65535;
    set @sign4, @signid >> 16;
    set @sign1,254;
    set @sign2,0;
    if (countitem2(7049,1,0,0,@sign1,@sign2,@sign3,@sign4)) {
        mes "[Leibech]";
        mes "Finally, it's here!";
        mes "Yes, this is what I ordered.";
        mes "Thanks for the delivery!";
        next;
        mes "[Leibech]";
        mes "Well, here's your";
        mes "receipt. Please take";
        mes "this to Mister Bakerlan";
        mes "so he knows you did";
        mes "a good job for me.";
        mes "Thanks again!";
        delitem2 7049,1,1,0,0,@sign1,@sign2,@sign3,@sign4;
        getitem 7181,1;
        close;
    } else {
        goto L_Wait;
    }

L_Thanks:
    mes "[Leibech]";
    mes "Thanks again for";
    mes "the delivery.";
    mes "I was waiting for it";
    mes "for such a long time...";
    close;
}


alde_alche,169,162,7	script	Alchemist#3	749,{

    if (!bakerlan_test) {
        mes "[Melkaba]";
        mes "Most Alchemists seek out the";
        mes "Stone of Sage, but in my opinion";
        mes "their goals are too short sighted.";
        mes "There are more important studies";
        mes "to be conducted in the name of";
        mes "science for the good of mankind...";
        next;
        menu "...",-,"So what are you studying?",L_What;

        mes "[Melkaba]";
        mes "In the end, the";
        mes "Stone of Sage may";
        mes "just be a simple rumor.";
        mes "After all, thousands of";
        mes "Alchemists have already";
        mes "failed to create it.";
        close;

L_What:
        mes "[Melkaba]";
        mes "What am I studying?";
        mes "Well, my expertise is...";
        mes "Different, if you must";
        mes "know, it's a secret~";
        mes "If any man found out";
        mes "about my research...";
        close;
    }
    if (bakerlan_test > 8) goto L_Done;
    if (bakerlan_test == 8) goto L_Items;
    mes "[Melkaba]";
    mes "Eh...?";
    mes "What do you need?";
    mes "If it's not important,";
    mes "please leave my";
    mes "laboratory.";
    if (bakerlan_test == 7) {
        next;
        menu "Vigorgra?",L_Vigor,"Oh, I'm sorry.",-;
        mes "[Melkaba]";
        mes "There's no need";
        mes "to apologize but";
        mes "I'd appreciate it if";
        mes "you'd let me work";
        mes "in peace.";
        close;

L_Vigor:
        mes "[Melkaba]";
        mes "What?! Who told you";
        mes "that I could make that?!";
        mes "Oh, no matter I suppose";
        mes "you want me to get some";
        mes "some ready for you. Now tell me...";
        mes "Why do you want it?";
        next;
        menu "No, I don't want it.",-,"I need Vigorgra for... a friend.",L_Friend;
        mes "[Melkaba]";
        mes "You immature--!";
        mes "You come all this";
        mes "way to bother me?";
        mes "Don't bring your";
        mes "shame into my lab!";
        close;

L_Friend:
        mes "[Melkaba]";
        mes "Oh, right.";
        mes "Your friend.";
        mes "I understand you.";
        mes "Crystal clear.";
        next;
        mes "[Melkaba]";
        mes "Well, since you know";
        mes "about my secret researches,";
        mes "I'll do you a favor so long as";
        mes "you don't tell anyone else!";
        mes "Of course, I can't just give";
        mes "you Vigorgra for free...";
        next;
        mes "[Melkaba]";
        mes "Now, write this";
        mes "down. These are the";
        mes "ingredients I need to";
        mes "make a bottle of Vigorgra.";
        next;
        mes "[Melkaba]";
        mes "^FF00001 Ment";
        mes "20 Honey";
        mes "10 Royal Jelly";
        mes "30 Bear's Footskin";
        mes "1 Hinalle Leaflet";
        mes "1 Empty Bottle^000000";
        next;
        mes "[Melkaba]";
        mes "Alright.";
        mes "Now go and";
        mes "bring all those";
        mes "items to me. I'll";
        mes "be seeing you later.";
        set bakerlan_test,8;
        close;

L_Items:
        mes "[Melkaba]";
        mes "Hmmmm...";
        mes "So did you";
        mes "bring everything";
        mes "you need for the";
        mes "Vigorgra...?";
        next;
        menu "Not yet...",-,"Yes.",L_Check;
        mes "[Melkaba]";
        mes "Well, let me";
        mes "remind you of";
        mes "what you need to";
        mes "bring to me in case";
        mes "you forgot already...";
        next;
        mes "[Melkaba]";
        mes "^FF00001 Ment";
        mes "20 Honey";
        mes "10 Royal Jelly";
        mes "30 Bear's Footskin";
        mes "1 Hinalle Leaflet";
        mes "1 Empty Bottle^000000";
        next;
        mes "[Melkaba]";
        mes "Take your time...";
        mes "In the end, you're";
        mes "the one who's got the";
        mes "need for it, anyway.";
        close;

L_Check:
        mes "[Melkaba]";
        mes "Great...!";
        mes "Now let me check";
        mes "to see if you have";
        mes "everything ready...";
        next;
        if (countitem(708) > 0 && countitem(518) > 19 && countitem(526) > 9 && countitem(948) > 29 && countitem(520) > 0 && countitem(713) > 0) goto L_Enough;
        mes "[Melkaba]";
        mes "Hmm, you're still";
        mes "missing some of the";
        mes "ingredients. Now, listen";
        mes "carefully. I need you to get...";
        next;
        mes "[Melkaba]";
        mes "^FF00001 Ment";
        mes "20 Honey";
        mes "10 Royal Jelly";
        mes "30 Bear's Footskin";
        mes "1 Hinalle Leaflet";
        mes "1 Empty Bottle^000000";
        close;

L_Enough:
        mes "[Melkaba]";
        mes "Good work.";
        mes "Everything's here.";
        mes "Alright, just this once";
        mes "I'll make you a bottle";
        mes "of Vigorgra.";
        next;
        mes "[Melkaba]";
        mes "If you ask me again,";
        mes "I won't speak to you!";
        mes "And I'll need to charge";
        mes "you 10.000 zenys.";
        next;
        mes "[Melkaba]";
        mes "Alright. I'll be";
        mes "taking my fee from";
        mes "you now. It's not that";
        mes "expensive when you";
        mes "consider Vigorgra's";
        mes "numerous benefits.";
        next;
        if (Zeny < 10000) goto L_Money;
        mes "^0066CCMelkaba placed";
        mes "all the ingredients";
        mes "into a test tube and";
        mes "began processing it";
        mes "through some strange";
        mes "electronic equipment.^000000";
        next;
        mes "...";
        mes "......";
        next;
        mes "...";
        mes "......";
        mes ".........";
        next;
        mes "[Melkaba]";
        mes "Ah! Success!";
        mes "A lifetime's supply";
        mes "of Vigorgra! I know it's";
        mes "just one bottle but this";
        mes "stuff is extremely potent!";
        misceffect 305;
        next;
        mes "[Melkaba]";
        mes "Um, just remember";
        mes "not to take too much";
        mes "at one time. Can't have";
        mes "you getting crazy high";
        mes "blood pressure~";
        set bakerlan_test,9;
        set Zeny,Zeny - 10000;
        delitem 708,1;
        delitem 518,20;
        delitem 526,10;
        delitem 948,30;
        delitem 520,1;
        delitem 713,1;
        getitem 7044,1;
        close;

L_Money:
        mes "[Melkaba]";
        mes "I'm sorry but it";
        mes "seems you don't";
        mes "have enough money";
        mes "to support the fee...";
        mes "Please come back";
        mes "with 10.000 zenys.";
        close;

L_Done:
        mes "[Melkaba]";
        mes "Vigorgra is";
        mes "a miracle of";
        mes "modern science";
        mes "but it can do more";
        mes "harm than good if";
        mes "you're not careful!";
        close;
    }
    else {
        close;
    }

}

prt_castle,107,58,5	script	Soldier#2sign	105,{

    if (bakerlan_test > 10) goto L_Heya;
    mes "[Maruin]";
    mes "Welcome to";
    mes "Prontera Castle.";
    mes "Please be careful";
    if (bakerlan_test == 10 && countitem(7044) && countitem(7183)) {
        mes "and avoid getting los--";
        next;
        mes "[Maruin]";
        mes "What's that?";
        mes "You're here for";
        mes "my sister? Um, did";
        mes "something happen...?";
        next;
        menu "Oh no, she sent you a birthday gift.",-;
        mes "[Maruin]";
        mes "Birthday...?";
        mes "What are you sm--";
        mes "OH. It is my birthday.";
        mes "Ha! I completely forgot!";
        next;
        mes "[Maruin]";
        mes "Thanks for coming";
        mes "all the way out here";
        mes "to deliver my present!";
        mes "Wow, I wonder what she";
        mes "gor for me this year!";
        delitem 7044,1;
        delitem 7183,1;
        next;
        mes "[Maruin]";
        mes "Th-This is--!";
        mes "Oh. Snap. That's right.";
        mes "She's been worried about";
        mes "me being tired lately. But";
        mes "does she even know what";
        mes "Vigorgra is supposed to...?";
        emotion e_gasp;
        next;
        mes "[Maruin]";
        mes "Never mind. It's the";
        mes "thought that counts.";
        mes "But for the record, it's";
        mes "not like I need this stuff.";
        mes "I mean, I have, you know,";
        mes "a girlfr--you know what I mean.";
        next;
        mes "[Maruin]";
        mes "I'd like to pay you";
        mes "back but since I'm";
        mes "on duty, all I can do";
        mes "is replenish your health.";
        mes "I'm not really supposed to,";
        mes "but no one will say anything.";
        next;
        mes "[Maruin]";
        mes "Well, thanks for";
        mes "the letter and the";
        mes "male supplement, I guess.";
        mes "I'll send a message to my";
        mes "sister. Good luck on your";
        mes "travels, alright?";
        set bakerlan_test,11;
        close;

L_Heya:
        mes "[Maruin]";
        mes "Oh hey, how's";
        mes "it going? Thanks";
        mes "again for helping";
        mes "out my sister, we";
        mes "really appreciate it.";
        close;
    } else {
        mes "and avoid getting lost.";
        next;
        mes "[Maruin]";
        mes "Oh man...";
        mes "I'm so tired~!";
        mes "Enervated, even~";
        mes "If I only had some";
        mes "kind of refreshment...";
        close;
    }

}


geffen_in,171,43,3	script	Cute Girl	703,{

    if (!signquest) {
        mes "[Liana]";
        mes "^222222*Pout*^000000";
        mes "When's my daddy";
        mes "coming home?!";
        mes "I... I miss him so much~";
        mes "^222222*Cries*";
        emotion e_sob;
        close;
    }
    if (signquest > 20) goto L_Never;
    if (signquest == 20) goto L_Thanks;
    if (signquest == 17) goto L_Letter;
    if (signquest == 16) goto L_Father;
    mes "[Liana]";
    mes "Oh, my mom said she's gonna cook me";
    mes "something good today.";
    mes "I wonder what she's gonna make?";
    mes "I hope it's pickled cabbage again!";
    close;

L_Father:
    mes "[Liana]";
    mes "Everyone says that daddy is the";
    mes "best blacksmith in the whole world!";
    mes "but now he lets his apprentices do";
    mes "the work so he can go around the";
    mes "world to ding a rare ore~ Isn't";
    mes "it amazing?";
    next;
    menu "What are you drawing by the way?",L_Draw,"Apprentices?",-;
    mes "[Liana]";
    mes "Yeah, Uncle Hollgrehenn and";
    mes "Aragham come to visit sometimes and";
    mes "we all play. But it's more fun to";
    mes "see my dad, even though he's not";
    mes "back yet. *Pout*";
    next;
    menu "Don't you miss your dad?",L_Miss,"He also misses you a lot.",-;
    mes "[Liana]";
    mes "I hope so...";
    mes "But I hate it when";
    mes "he doesn't have enough";
    mes "time to come home and";
    mes "see me. Sooooooooo~";
    mes "I wrote this letter!";
    emotion e_dots;
    next;
    menu "...",-,"I'll bring this to him",L_Really;
    mes "[Brenda Howard]";
    mes "Liana~";
    mes "This nice man is going to look for";
    mes "you dad. Why don't you ask him to";
    mes "take your letter to him for you?";
    next;

L_Really:
    mes "[Liana]";
    mes "You are...?";
    mes "Really, really?";
    mes "H-hooray!";
    next;
    mes "[Liana]";
    mes "Okay then, don't";
    mes "forgive to give this to";
    mes "my dad, okay? Promise?";
    getitem 7276,1;
    set signquest,17;
    close;

L_Draw:
    mes "[Liana]";
    mes "This is my father coming";
    mes "back from his expedition";
    mes "with the rarest ore ever";
    mes "found in the world! I hope";
    mes "he will be here soon.";
    close;

L_Miss:
    mes "[Liana]";
    mes "I miss him soooo much!";
    mes "*Cries* But Mom always";
    mes "says that he's too busy.";
    mes "*Pouts*";
    close;

L_Letter:
    mes "[Liana]";
    mes "Would you please bring my letter";
    mes "over to my dad? Heh heh, he'll be";
    mes "so happy to hear from me!";
    close;

L_Thanks:
    mes "[Liana]";
    mes "Yay~!";
    mes "Thank you for bringing my letter to";
    mes "my dad. Here, here!";
    mes "You have to share my treasure with";
    mes "me, 'kay?";
    getitem 529,10;
    set signquest,21;
    close;

L_Never:
    mes "[Liana]";
    mes "I never saw my dad fail to upgrade";
    mes "a weapon or armor. Mmm? But maybe";
    mes "if he had something really really";
    mes "old and rare and special...";
    close;

}


geffen_in,159,48,5	script	Woman	711,{
    if (signquest > 22) goto L_Cherish;
    if (signquest > 19) goto L_Done;
    if (signquest == 19 && countitem(7278)) goto L_Letter;
    if (signquest > 15) goto L_Cooking;
    if (@signbrenda == 1) goto L_Husband;
    if (signquest == 15) {
        mes "[Brenda Howard]";
        mes "Hey, who are you anyhow?";
        mes "Don't you know it's rude to";
        mes "enter someone's house without";
        mes "being invited? Besides, I don't";
        mes "have the time to help strangers";
        mes "while I'm busy making dinner...";
        next;
        mes "[" + strcharinfo(0) + "]";
        mes "W-Wait!";
        mes "I'm here to see...";
        next;
        mes "[Brenda Howard]";
        mes "Huh?";
        mes "What are you";
        mes "talking about?";
        next;
        mes "[Brenda Howard]";
        mes "Hmm...";
        mes "I wonder";
        mes "how my pickled";
        mes "cabbage will turn out?";
        set @signbrenda,1;
        close;
    }
    // Script could get to this point if the variable "signquest" was non-zero
    // It would then continue running at the label "L_Husband" [Llyr]

    mes "[Brenda Howard]";
    mes "Hmm...";
    mes "What should I make for";
    mes "dinner today? Pickled cabbage?";
    mes "I learned how to make it a while";
    mes "ago, but I've never gotten the";
    mes "chance to make it yet...";
    close;

L_Husband:
    mes "[Brenda Howard]";
    mes "Ah... I see.";
    mes "You're looking for my husband.";
    mes "My husband, my daughter and";
    mes "I just moved to Geffen from";
    mes "Prontera a while ago.";
    next;
    mes "[Brenda Howard]";
    mes "We moved to geffen for the sake of";
    mes "my husband's business. Apparently,";
    mes "this town is closest to something";
    mes "he really seems to need. Whatever";
    mes "it is, it must be really important";
    mes "to his smithing work.";
    next;
    mes "[Brenda Howard]";
    mes "Oh, and if you're going to look";
    mes "for my husband,  please talk to my";
    mes "daughter before you go. I think she";
    mes "has something she wants to";
    mes "give to her father...";
    set signquest,16;
    close;

L_Cooking:
    mes "[Brenda Howard]";
    mes "Ho-Ho~";
    mes "Crisp and delicious pickled";
    mes "cabbage~ My kid loves this stuff";
    mes "and finished it all by herself the";
    mes "last time I made it!";
    close;

L_Letter:
    mes "[Brenda Howard]";
    mes "Thank you so much for bringing";
    mes "this to me. I'm so happy to hear";
    mes "that he's fine and doing well.";
    mes "Although he's not here often";
    mes "enough, it's good to know";
    mes "that he loves his job.";
    next;
    mes "[Brenda Howard]";
    mes "Even so, I should start letting";
    mes "him know that I want him to spend";
    mes "a little more time at home. Oh, and";
    mes "why don't you talk to Liana? She's";
    mes "been waiting to tell you";
    mes "something.";
    delitem 7278,1;
    set signquest,20;
    close;

L_Done:
    mes "[Brenda Howard]";
    mes "So how have you been?";
    mes "As usual, Liana misses";
    mes "her daddy, but I suppose";
    mes "it can't be helped...";
    next;
    mes "[Brenda Howard]";
    mes "I may be no expert but I'm";
    mes "certain that my husband is";
    mes "the best blacksmith in the world!";
    mes "Did you know Hollgrehenn and";
    mes "Aragham used to be his apprentices?";
    mes "Ho ho ho~";
    close;

L_Cherish:
    mes "[Brenda Howard]";
    mes "Try to cherish your";
    mes "family, especially through the";
    mes "hard times. Even when you're angry";
    mes "with them, try to be more";
    mes "understanding. I know it's hard...";
    close;

}

mjo_dun02,88,295,3	script	Flaming Spirit Man	85,{
    //get rid of some pieces, to let player reborn in future
    if (signquest > 22) delitem 7177,countitem(7177);

    if (signquest > 62) goto L_Improve;
    if (signquest > 61) goto L_Hour;
    if (signquest > 60 && countitem(2644)) goto L_Sign;
    if (signquest > 22) goto L_Done;
    if (signquest == 21) goto L_Refine;
    if (signquest == 18 || signquest == 22) goto L_Check;
    if (signquest == 17)goto L_Family;
    emotion e_pif;
    mes "[Engel]";
    mes "I hope you understand that";
    mes "this forge isn't really open to the";
    mes "public. I'm doing some intensive";
    mes "training, so I'd appreciate it if";
    mes "you would just leave now.";
    close2;
    warp "mjo_dun02",372,346;
    end;

L_Family:
    mes "[Engel]";
    mes "*Sigh*";
    mes "It's been a long";
    mes "time since I've seen";
    mes "my family. I really should let them";
    mes "know how I'm doing sooner or later.";
    mes "Hmmm...";
    next;
    mes "[Engel]";
    mes "...?";
    mes "Were you looking for me?";
    mes "I'm sorry, but I'm busy at the";
    mes "moment. Please don't disturb me";
    mes "while I try to get my work done.";
    if (signquest == 17 && countitem(7276)) {
        next;
        menu "I need your help.",L_Help,"Here is a letter for you.",L_Letter,"I am leaving, leaving.",-;
        mes "[Engel]";
        mes "Alright, then.";
        mes "Take care.";
    }
    close;

L_Help:
    mes "[Engel]";
    mes "Well, I'd like to help you";
    mes "but now isn't a good for me.";
    mes "Plenty of other good smiths out";
    mes "there who can help you with the";
    mes "work that you want done. Farewell.";
    close;

L_Letter:
    mes "[Engel]";
    mes "Oh, are you serious?";
    mes "Let me read it first.";
    next;
    mes "[Engel]";
    mes "Yes, yes...";
    mes "...Hahaha!";
    mes "It's so good to hear from";
    mes "my darling daughter.";
    delitem 7276,1;
    next;
    mes "[Engel]";
    mes "Thanks, I really appreciate that";
    mes "you've delivered this letter for";
    mes "me. Now, is there anything you'd";
    mes "like to ask of me? If it's not a";
    mes "big favor, I can probably help";
    mes "you.";
    next;
    menu "Please look at this.",-;
    mes "[Engel]";
    mes "Oh?";
    mes "Isn't this...?";
    mes "I see, I see!";
    next;
    mes "[Engel]";
    mes "Long ago, my old master told me";
    mes "that there are these strange ores";
    mes "that have fallen from the sky. The";
    mes "most beautiful and mysterious is";
    mes "the one shines just like a star.";
    next;
    mes "[Engel]";
    mes "Most people may know it as Sobbing";
    mes "Starlight, but my master used to";
    mes "call it God's Tear Drop.";
    next;
    mes "[Engel]";
    mes "However, this ore has been";
    mes "shattered into pieces. Judging from";
    mes "the smoothness of the edges, its";
    mes "inner power must have caused it to";
    mes "break apart. So you want to put";
    mes "this back together, don't you?";
    next;
    mes "[Engel]";
    mes "This will be a good challenge";
    mes "for me! However, I'll need some";
    mes "special tools and materials to";
    mes "repair this kind of ore. Now, I";
    mes "want you to bring me the following";
    mes "things...";
    next;
    mes "[Engel]";
    mes "^FF00005 Mini Furnace^000000,";
    mes "^FF00002 Oridecon Hammer^000000,";
    mes "and ^FF00001 good quality Anvil^000000.";
    mes "Now, keep in mind that ordinary";
    mes "anvils won't be good enough for";
    mes "this kind of work.";
    next;
    mes "[Engel]";
    mes "Now, an Emperium Anvil would be";
    mes "ideal for this job. I used to have";
    mes "one, but a while back I ended up";
    mes "giving it to someone. Anyway, I'll";
    mes "wait here for you while you gather";
    mes "everything you need.";
    next;
    mes "[Engel]";
    mes "Right. Let me guide you to a";
    mes "shortcut to the exit of these";
    mes "mines, just in case you don't know";
    mes "your way out of here. Good luck~";
    set signquest,18;
    close2;
    warp "mjo_dun02",371,344;
    end;

L_Check:
    mes "[Engel]";
    mes "As I've told you before, I'm more";
    mes "likely to succeed in my work if I'm";
    mes "able to use a higher quality anvil.";
    mes "Let me see what you've";
    mes "brought.";
    next;
    if ((countitem(612) > 4) && countitem(615) > 1) {
        if (countitem(986)) {
            set signanvil,1;
            goto L_Forge1;
        }
        if (countitem(987)) {
            set signanvil,2;
            goto L_Forge2;
        }
        if (countitem(988)) {
            set signanvil,3;
            goto L_Forge3;
        }
        if (countitem(989)) {
            set signanvil,4;
            goto L_Forge4;
        }
    }

L_NotEnough:
    mes "[Engel]";
    mes "I'm sorry but you didn't";
    mes "bring me enough materials.";
    mes "I'll repeat you what you";
    mes "need to bring me.";
    next;
    mes "[Engel]";
    mes "^FF00005 Mini Furnace^000000,";
    mes "^FF00002 Oridecon Hammer^000000,";
    mes "and ^FF00001 good quality Anvil^000000.";
    mes "Now, keep in mind that ordinary";
    mes "anvils won't be good enough for";
    mes "this kind of work.";
    close;

L_Forge1:
    mes "[Engel]";
    mes "Ah...";
    mes "A normal Anvil.";
    mes "Err... I told you";
    mes "the better quality you";
    mes "bring, the better the";
    mes "result will be...";
    mes "Anyway, I will try.";
    delitem 986,1;
    goto L_Forge;

L_Forge2:
    mes "[Engel]";
    mes "Ah...";
    mes "An Oridecon Anvil.";
    mes "This isn't too bad,";
    mes "but there's a good risk";
    mes "that this might not work.";
    delitem 987,1;
    goto L_Forge;

L_Forge3:
    mes "[Engel]";
    mes "Ah...";
    mes "A Golden Anvil.";
    mes "Excellent.";
    mes "This anvil should be quite";
    mes "enough to perform the";
    mes "restoration.";
    delitem 988,1;
    goto L_Forge;

L_Forge4:
    mes "[Engel]";
    mes "Ah...";
    mes "An Emperium Anvil.";
    mes "Perfect!";
    mes "I didn't think you'd";
    mes "be able to find one as";
    mes "they are extremely rare.";
    mes "Sure, it will work!";
    delitem 989,1;
    goto L_Forge;

L_Forge:
    delitem 612,5;
    delitem 615,2;
    next;
    if (signquest == 22) goto L_Refine;
    mes "[Engel]";
    mes "While I'm working on this, would";
    mes "you deliver a letter to my family";
    mes "for me? I'm sorry, but please";
    mes "consider that I'm waiving the fee";
    mes "for restoring this Sobbing";
    mes "Starlight.";
    next;
    mes "[Engel]";
    mes "Well then...";
    mes "I wish you safety";
    mes "in your travels.";
    delitem 7177,5; //we'll delete all sobbing pieces later
    getitem 7278,1;
    set signquest,19;
    close;

L_Refine:
    if (signanvil == 1) set @signrefine,rand(100);
    if (signanvil == 2) set @signrefine,rand(60);
    if (signanvil == 3) set @signrefine,rand(40);
    if (signanvil == 4) set @signrefine,rand(30);
    mes "[Engel]";
    mes "Are you back already?";
    if (@signrefine <= 30) goto L_Success;
    mes "I am sorry but I failed";
    mes "restoring the Sobbing";
    mes "Starlight.. But it isn't";
    mes "a failure, bring me back";
    mes "the materials and I'll";
    mes "try again.";
    getitem 7177,5;
    set signquest,22;
    close;

L_Success:
    delitem 7177,countitem(7177); //we delete all the pieces, or else u can't reborn
    mes "While you were gone, I managed to";
    mes "restore the Sobbing Starlight. Why";
    mes "don't you go ahead and take a";
    mes "look?";
    next;
    getitem 7178,1;
    set signquest,23;
    specialeffect2 EF_YUFITELHIT;
    next;
    mes "[Engel]";
    mes "This was one of the most difficult";
    mes "jobs I've ever done. But look! It";
    mes "was beautiful when broken in";
    mes "fragments, but now it's absolutely";
    mes "dazzling! This was really worth the";
    mes "effort.";
    next;
    mes "[Engel]";
    mes "In any case, I worked really hard";
    mes "to do a good job on this, so I hope";
    mes "you treasure this Sobbing";
    mes "Starlight, young adventurer.";
    close;

L_Done:
    mes "[Engel]";
    mes "How have you been doing lately?";
    mes "Feel free to ask me if you ever";
    mes "think that you need my expertise,";
    mes "alright?";
    close;

L_Sign:
    mes "[Engel]";
    mes "How have you been";
    mes "doing lately? You seem";
    mes "very well. So is there anything";
    mes "I can help you with today?";
    next;
    menu "I need your help again.",-;
    mes "[Engel]";
    mes "Haha, so what have";
    mes "you brought me this time?";
    mes "It must be fairly important if";
    mes "you've brought it all the way";
    mes "down here.";
    next;
    menu "Please look at this.",-;
    mes "[Engel]";
    mes "Isn't this...?!";
    mes "Amazing, just by looking at it,";
    mes "I can feel its power! You really";
    mes "are something! How do you come";
    mes "across all of this amazing stuff?";
    next;
    mes "[Engel]";
    mes "You know, I consider myself";
    mes "lucky to even see this kind of";
    mes "stuff. Most smiths might be able to";
    mes "see this kind of thing only once in";
    mes "their entire lives. And to be able";
    mes "to work on it...";
    next;
    mes "[Engel]";
    mes "Hmmm...";
    mes "It's going to take quite";
    mes "a while to work on this.";
    mes "Unfortunately, I can't even";
    mes "give you a time estimate...";
    mes "But I'll do my best for you.";
    delitem 2644,1;
    set @engelhour,gettime(3);
    set @engelmin,gettime(2);
    if (@engelmin > 29) set @engelhour,@engelhour +1;
    set signengelhour,@engelhour + rand(2,4);
    if (signengelhour > 23) set signengelhour,signengelhour - 24;
    set signquest,62;
    close;

L_Hour:
    if (gettime(3) == signengelhour || gettime(3) == signengelhour +1 || gettime(3) == signengelhour +2 || (signengelhour +1 == 24 && gettime(3) == 0) || (signengelhour +2 == 24 && gettime(3) == 0) || (signengelhour +2 == 25 && gettime(3) == 1)) {
        mes "[Engel]";
        mes "This is now yours to keep.";
        mes "Thank you for giving me the";
        mes "honor of working on a worthy";
        mes "smithing challenge.";
        getitem 2644,1;
        set signquest,63;
        close;
    } else {
        mes "[Engel]";
        mes "I haven't completed it yet, but";
        mes "please understand that I've got to";
        mes "be really careful when working with";
        mes "something so valuable. But don't";
        mes "worry, its inner power will be";
        mes "revealed when I'm finished.";
        close;
    }

L_Improve:
    mes "[Engel]";
    mes "Sometimes, you can only";
    mes "improve yourself by training in";
    mes "solitude. But don't ever forget";
    mes "about the ones who really care";
    mes "about you. It's those people who";
    mes "make everything worth it.";
    close2;
    emotion e_dots;
    end;

}


gef_tower,118,36,5	script	Annoyed Man	64,{


	if(signquest > 24) goto L_Answer;
	if(@sign_dhota == 1) goto L_Star;
	mes "[Dhota]";
	mes "Wah~";
	mes "Why the hell did he even go";
	mes "there...!";
	mes "What are you doing here?!";
	next;
	mes "[Dhota]";
	mes "Say what...?";
	mes "I have no idea what";
	mes "you're talking about!";
	mes "If you've got nothing";
	mes "to say, leave me alone!";
	if(signquest == 24) set @sign_dhota,1;
	close;

L_Star:
	mes "[Dhota]";
	mes "Eh?";
	mes "For that Sobbing Starlight, is that";
	mes "right?";
	next;
	mes "[Dhota]";
	mes "...";
	emotion e_dots;
	next;
	mes "[Dhota]";
	mes "...";
	mes "......";
	emotion e_dots;
	next;
	mes "[Dhota]";
	mes "...";
	mes "......";
	mes "BWAAAAH~!";
	emotion e_ag;
	next;
	mes "[Dhota]";
	mes "Right, he wants that guy";
	mes "who's good at working with";
	mes "gems and stuff. Eh, he's not";
	mes "here right now. Went somewhere";
	mes "near Comodo to investigate some";
	mes "tribal people or whatever.";
	emotion e_pif;
	set signquest,25;
	close;

L_Answer:
	mes "[Dhota]";
	mes "Hmmm...";
	mes "That can't be right...";
	mes "What could possibly be";
	mes "the answer I'm looking";
	mes "for...? *Sigh...*";
	emotion e_pif;
	close;
	
}

umbala,163,256,3	script	Native	781,{

	if(event_umbala < 3) goto L_UmWord;
	if(signquest > 25) goto L_Thanks;
	if(signquest == 25) goto L_Sign;
	mes "[Laotan]";
	mes "All my friends have a new";
	mes "mask and I'm the only one";
	mes "who didn't get mine...";
	mes "Wh.. why? Waaaaaaah!";
	close;

L_Sign:
	mes "[Laotan]";
	mes "Mmmh...";
	mes "A new guy in our village?";
	mes "I think I know him! Yea, I do!";
	next;
	if(countitem(2278)) goto L_Mask;
	mes "[Laotan]";
	mes "Waaaait";
	mes "I knooow~!";
	mes "I know if you get me";
	mes "a Mr. Smile, okay?";
	close;

L_Mask:
	mes "[Laotan]";
	mes "Oh my gosh!";
	mes "You've got a Mr. Smile mask!";
	mes "Would you give that to me?";
	mes "Pretty please...?";
	next;
	menu "Sure~",L_Ok,"^FF0000No.^000000",-;
	mes "[Laotan]";
	mes "I...";
	mes "I was...";
	mes "I just...";
	mes "Waaaaaaahhhh!";
	close;

L_UmWord:
	mes "[??????]";
	mes "Umbaumbafumba.";
	mes "Uwambaunbaumbabaufumba";
	mes "Umbababaumbaumba.";
	close;

L_Ok:
	mes "[Laotan]";
	mes "Hooooray!";
	mes "Thank you thank you";
	mes "thank you thank you";
	mes "soooooooooo much!";
	delitem 2278,1;
	set signquest,26;
	next;
	mes "[Laotan]";
	mes "Oh right~!";
	mes "The weird man in the funny clothes";
	mes "was in our village for a while, but";
	mes "ever since he went into that big";
	mes "tree, nobody's seen him!";
	close;

L_Thanks:
	mes "[Laotan]";
	mes "I love my Mr. Smile mask";
	mes "soooo much! I'm gonna show";
	mes "it to all my friends! Thank you";
	mes "so much again! You're really";
	mes "really nice, you know that ?";
	close;	
}

um_in,27,23,3	script	Weird Man	121,{

	if(signquest > 27) goto L_Done;
	if(signquest == 27) goto L_Check;
	mes "[Cyon]";
	mes "*Giggle*";
	mes "So, if I do this,";
	mes "then that and then...";
	mes "Ooh, these calculations";
	mes "are absolutely perfect!";
	emotion e_gg;
	next;
	mes "[Cyon]";
	mes "Wh-what?!";
	mes "Who are you?";
	mes "H-how did you get";
	mes "in here? I demand";
	mes "that you leave, right now!";
	emotion e_an;
	if(signquest == 26) goto L_Sign;
	close2;
	warp "um_dun01",129,90;
	end;

L_Sign:
	next;
	menu "I'm here for Metz Brayde.",L_Metz,"My apologies.",L_Sorry,"Would you look at this?",-,"...",L_Leave;
	mes "[Cyon]";
	mes "What could be so";
	mes "special about what";
	mes "you've brought here?!";
	mes "Fine, you've picked my";
	mes "scientific curiosity...";
	next;
	mes "[Cyon]";
	mes "Sweet lord...";
	mes "This is 'God's Tear Drop'!";
	mes "The Sobbing Starlight!";
	mes "He finally made it...";
	next;
	mes "[Cyon]";
	mes "*Giggle*";
	mes "Well, since he's kept his promise";
	mes "I suppose that I should keep mine";
	mes "as well. Now within this Sobbing";
	mes "Starlight are these tiny letters...";
	next;
	mes "[Cyon]";
	mes "The text is so small that even";
	mes "Hunters skilled in Vulture's Eye";
	mes "are unable to read them. However,";
	mes "I've read that this Sobbing";
	mes "Starlight will respond";
	mes "to really old papers...";
	next;
	mes "[Cyon]";
	mes "Now, if we want to figure out";
	mes "what's written in the Sobbing";
	mes "Starlight, we'd need at least";
	mes "10 ancient pieces of paper...";
	set signquest,27;
	close;


L_Metz:
	mes "[Cyon]";
	mes "Huh? Brayde?";
	mes "Do you expect me";
	mes "to just trust you without";
	mes "a single shred of proof that";
	mes "he sent you? Get out now!";
	close;

L_Sorry:
	mes "[Cyon]";
	mes "If you're so sorry,";
	mes "then hurry up and get";	
	mes "out of here! Not just anyone";
	mes "is allowed in here! Leave!";
	emotion e_pif;
	close;

L_Leave:
	mes "[Cyon]";
	mes "Not listening, eh?";
	mes "Fine, if you don't";
	mes "understand words, then";
	mes "I'll have to use force!";
	mes "Get out here right now!";
	close2;
	percentheal -30,0;
	end;

L_Check:
	mes "[Cyon]";
	mes "You've come back.";
	mes "I hope you were able";
	mes "to find some ancient";
	mes "or really aged papers...";
	next;
	if (countitem(1097) > 6) goto L_Text;
	mes "[Cyon]";
	mes "You haven't found anything?";
	mes "What kind of scientist are you?";
	mes "Now go out and find some old and";
	mes "ancient papers so that we can learn";
	mes "what's written in the Sobbing";
	mes "Starlight! Go!";
	next;
	mes "[Cyon]";
	mes "...?";
	mes "Why are you still here?";
	mes "Leave and do what I told";
	mes "you to do, alright?! Don't";
	mes "make me get violent...";
	next;
	percentheal -30,0;
	close2;
	warp "um_dun01",129,90;
	end;

L_Text:
	mes "[Cyon]";
	mes "How did you find these";
	mes "Worn Out Pages? This is great";
	mes "I'm sure the Sobbing Starlight";
	mes "will respond to these!";
	next;
	mes "[Cyon]";
	mes "Yes. Yes...";
	mes "This should be enough.";
	mes "Now give them to me";
	mes "and wait here while";
	mes "I try a few things...";
	next;
	delitem 1097,7;
	misceffect 72;
	next;
	mes "[Cyon]";
	mes "Just as I thought!";
	mes "The Sobbing Starlight is responding";
	mes "to these Worn Out Pages! Excellent!";
	mes "I've finally fulfilled my promise";
	mes "to Metz! Now he can leave";
	mes "me alone!";
	getitem 7275,1;
	set signquest,28;
	close;

L_Done:
	mes "[Cyon]";
	mes "My business with you is finished,";
	mes "so you go along on your way now.";
	mes "And tell Metz not to bother me";
	mes "anymore! I'm done doing favors!";
	close;
}

alberta,165,83,3	script	Fastidious Old Man#sign	755,{

    if (signquest > 30) goto L_Done;
    if (signquest == 30) goto L_Interpret;
    if (signquest == 29) goto L_Vision;
    mes "[Frank]";
    mes "My back~";
    mes "It's so sore!";
    mes "And my eyes are";
    mes "hurting worse and worse.";
    mes "^343434*Sigh* ^000000I'm getting old...";
    close;

L_Vision:
    mes "[Frank]";
    mes "My vision's getting";
    mes "blurrier and I get headaches";
    mes "when I read. I guess this old";
    mes "man's got no choice but to get";
    mes "some sort of seeing aid...";
    if (!countitem(2203))close;
    next;
    menu "Wait, I've got a pair of glasses...",L_Glasses,"Pass on by.",-;
    mes "[Frank]";
    mes "Oooh~";
    mes "How will I ever";
    mes "be able to continue";
    mes "my life's work? I'm";
    mes "helpless if I can't read...";
    close;

L_Glasses:
    mes "[Frank]";
    mes "Oh, you've brought me";
    mes "these Glasses. Thanks";
    mes "so much, youngster. Now that";
    mes "I can see better, what can";
    mes "I do for you in return?";
    delitem 2203,1;
    next;

L_Frank:
    menu "About Geffen's Hidden Power.",L_Power,"About Sobbing Starlight.",L_Star,"Interpret Ancient Document.",-;
    mes "[Frank]";
    mes "I don't believe it!";
    mes "This is... I see. You want me to";
    mes "translate this ancient language.";
    mes "Ah, you're rather fortunate. I'm";
    mes "probably the only person in the";
    mes "world who can translate this.";
    next;
    mes "[Frank]";
    mes "Hmm, as far as I can tell, this is";
    mes "a sophisticated language spoken by";
    mes "the ancient gods. It's complex and";
    mes "confusing, but I'll do my best for";
    mes "you. Come back to me later, and";
    mes "I'll tell you what I've learned.";
    set signquest,30;
    close;

L_Power:
    mes "[Frank]";
    mes "Geffen's hidden power?";
    mes "I don't know much about it, but I'm";
    mes "sure that Geffen Tower is more than";
    mes "just a simple building. I'm sure it";
    mes "was created to restrain or contain";
    mes "some powerful force.";
    next;
    mes "[Frank]";
    mes "It's even possible that the";
    mes "fountain in front of Geffen Tower";
    mes "also plays the same role, but I've";
    mes "got no hard evidence. Since I'm not";
    mes "too interested in Geffen, I haven't";
    mes "really investigated...";
    next;
    mes "[Frank]";
    mes "Still...";
    mes "There's a strong possibility that";
    mes "some enormous power is being sealed";
    mes "beneath the Geffen Tower.";
    next;
    goto L_Frank;

L_Star:
    mes "[Frank]";
    mes "The Sobbing Starlight?";
    mes "To the experts, it's known as God's";
    mes "Tear Drop. Now, some believe it was";
    mes "created from the voice of God.";
    next;
    mes "[Frank]";
    mes "Of course, it probably isn't made";
    mes "from God's voice or tear drops but";
    mes "who knows? In any case, it's said";
    mes "that something's written in the";
    mes "Sobbing Starlight. What ever it is,";
    mes "it must be something important.";
    next;
    goto L_Frank;

L_Interpret:
    if (!rand(10)) {
        mes "[Frank]";
        mes "Well, I've written down the best";
        mes "translation that I could for you.";
        mes "It's been a long time since I've";
        mes "had this kind of challenge. Thanks,";
        mes "youngster.";
        mes "Ha ha ha~";
        delitem 7275,1;
        getitem 7274,1;
        set signquest,31;
        close;
    } else {
        mes "[Frank]";
        mes "I'm sorry, but I haven't finished";
        mes "translating this text. It's taking";
        mes "quite a long time since I don't";
        mes "have any reference material for";
        mes "this particular language. Why";
        mes "don't you come back later?";
        close;
    }

L_Done:
    mes "[Frank]";
    mes "There are many things out";
    mes "there that defy out understanding";
    mes "of the world and are beyond our";
    mes "imagination. Many fear the unknown";
    mes "but the truly brave will always";
    mes "seek out the truth.";
    close;
}


// Himinn Part & Valkyrie

gef_fild07,182,241,1	script	#himinnwarper	111,1,1,{

	if(signquest == 31 && countitem(7013) > 364 && countitem(953) > 11 && countitem(907) > 3) goto L_FirstClick;
	end;

L_FirstClick:
	mes "^657540It seems that";
	mes "something in the";
	mes "vicinity is reacting";
	mes "with the Sobbing Starlight";
	mes "in your possession. Perhaps";
	mes "you can find it nearby...^000000";
	close;

OnTouch:
	if(signquest > 31) goto L_Warp;
	if(signquest == 31 && countitem(7013) > 364 && countitem(953) > 11 && countitem(907) > 3) goto L_FirstTouch;
	end;

L_FirstTouch:
	mes "[" + strcharinfo(0) + "]";
	mes "What the...?";
	mes "What's happening?!";
	next;
	specialeffect2 EF_ENHANCE;
	mes "^3355FFFor some reason, in";
	mes "this particular spot, the";
	mes "Sobbing Starlight is reacting";
	mes "wit the Resin, Stone Hearts";
	mes "and Coral Reefs that you're";
	mes "holding. All the objects are";
	mes "violently resonating";
	next;
	specialeffect2 EF_FLASHER;
	mes "All of a sudden these";
	mes "objects emit a bright flash";
	mes "of light that envelops your";
	mes "entire body, then you gently";
	mes "fall into unconsciousness...";
	close2;
	set signquest,32;
	delitem 7013,365;
	delitem 953,12;
	delitem 907,4;

L_Warp:
	warp "himinn",49,10;
	end;
}

himinn,48,86,5	script	Valkyrie#2	811,{

	if(signquest == 58) goto L_Done;
	if(signquest > 51) goto L_Gods;
	if(signquest > 50) goto L_Help;
	if(signquest > 32) goto L_Duty;
	mes "[Valkyrie Sandra]";
	mes "Welcome, " + strcharinfo(0) + " ,";
	mes "to this realm of holiness.";
	mes "You have endured great difficulty";
	mes "and tested your courage to obtain";
	mes "the Sobbing Starlight, which will";
	mes "be the certificate for your test.";
	next;
	menu "Test...?",-;
	mes "[Valkyrie Sandra]";
	mes "The gods have decided that";
	mes "you are worthy of undergoing";
	mes "a special test that will judge";
	mes "your merits. If you are a true";
	mes "hero who is pure of heart,";
	mes "you will certainly succeed...";
	next;
	mes "[Valkyrie Sandra]";
	mes "Now, there is a critical";
	mes "situation in the ^FF0000realm where";
	mes "the fallen warriors dwell^000000. The";
	mes "gods wish for you to restore the";
	mes "balance by quelling a specific";
	mes "evil influence in that place.";
	next;
	mes "[Valkyrie Sandra]";
	mes "There will be many obstacles.";
	mes "First, the fallen, who will target";
	mes "their anger and hatred towards";
	mes "you. Where they have failed to";
	mes "enter Valhalla, you have a rare";
	mes "and wondrous opportunity.";
	next;
	mes "[Valkyrie Sandra]";
	mes "Secondly, and more";
	mes "importantly, you must find";
	mes "this evil influence on your";
	mes "own. This will judge your";
	mes "ability to discern good from";
	mes "evil. Do not trust appearances...";
	next;
	mes "[Valkyrie Sandra]";
	mes "This is your task.";
	mes "I can't tell you more.";
	mes "It is now your duty to";
	mes "travel there and ferret";
	mes "out true darkness from";
	mes "one of the hearts there...";
	if(signquest==32)set signquest,33;
	close2;
	warp "geffen",120,100;
	end;

L_Duty:
	mes "[Valkyrie Sandra]";
	mes "I commend your ability";
	mes "to survive in the realm";
	mes "of the dead. I imagine it";
	mes "must be very difficult for";
	mes "a mortal to endure its cruelty.";
	close;

L_Help:
	mes "[Valkyrie Sandra]";
	mes "Regrettably, I can't really";
	mes "provide any answers for you.";
	mes "You must overcome the ordeals";
	mes "of the gods on your own. All I can";
	mes "do is offer my guidance and prayer.";
	next;
	mes "[Valkyrie Sandra]";
	mes "Remember that the";
	mes "demonstration of your belief,";
	mes "rather than the decision to";
	mes "blindly adhere to faith, is";
	mes "what the gods want to see.";
	next;
	mes "[Valkyrie Sandra]";
	mes "Always step forward";
	mes "with wisdom and courage.";
	mes "That is all I can tell you.";
	set signquest,52;
	close;

L_Gods:
	mes "[Valkyrie Sandra]";
	mes "The gods are watching";
	mes "you. Prove your courage";
	mes "and at that moment, you";
	mes "will earn the honor of being";
	mes "selected by the gods.";
	close;

L_Done:
	mes "[Valkyrie Sandra]";
	mes "Welcome back.";
	mes "Not only have you passed the trials";
	mes "that the gods have set for you, you";
	mes "have tested your courage in the";
	mes "realm of the dead and protected";
	mes "Rune-Midgard from attack.";
	next;
	mes "[Valkyrie Sandra]";
	mes "I'm pleased to announce that the";
	mes "gods have been watching you and";
	mes "decided to invite you to Valhalla.";
	mes "However, Rune-Midgard still has";
	mes "great need of you.";
	next;
	mes "[Valkyrie Sandra]";
	mes "As a symbol of this promise to";
	mes "invite you to Valhalla, you shall";
	mes "be rewarded with 'The Sign' which";
	mes "will show all others that you are";
	mes "a great warrior whose courage was";
	mes "tested by the gods themselves.";
	next;
	mes "[Valkyrie Sandra]";
	mes "Congratulations,";
	mes "" + strcharinfo(0) + ". Verily,";
	mes "you are an honorable";
	mes "hero worthy of praise!";
	getitem 2644,1;
	set signquest,59;
	close;
}

// Niflheim Part & Realm of the Dead

niflheim,102,54,4	script	Mad Man	739,{

	if(signquest > 53) goto L_Queen;
	if(signlaichin == 4) goto L_Where1;
	if(signlaichin == 3) goto L_Seal;
	if(signlaichin == 2) goto L_Direction;
	if(signlaichin == 1) goto L_Risk;
	if(signquest == 52) goto L_Help;
	if(signquest) goto L_Asgard;
	mes "[Laichin]";
	mes "What? I look familiar to you?";
	mes "Eh, you know what they say.";
	mes "Everyone has a lookalike in the";
	mes "world somewhere. Am I right";
	mes "or am I am right?";
	close;

L_Asgard:
	mes "[Laichin]";
	mes "Niflheim ain't such a bad";
	mes "place to live. Sure, Asgard's";
	mes "all pretty and stuff, but there's";
	mes "too many rules. In this place, you";
	mes "can enjoy a lot more freedom. After";
	mes "you get used to all the stink.";
	next;
	mes "[Laichin]";
	mes "Did I say 'stink'?";
	mes "I meant... 'fragrance'.";
	mes "Alright, so the gods expelled";
	mes "me, but I really oughtta thank";
	mes "'em for sending me here!";
	next;
	mes "[Laichin]";
	mes "What's that look for...?";
	mes "What, you can't believe";
	mes "that someone like me used";
	mes "to live in Valhalla? Me neither!";
	mes "They really made a mistake when";
	mes "they put me up to live in Asgard!";
	close;

L_Help:
	mes "[Laichin]";
	mes "Angrboda...?";
	mes "Yeah, yeah!";
	mes "I remember hearing something";
	mes "about her when I usedta hang";
	mes "with the gods up in Asgard.";
	next;
	mes "[Laichin]";
	mes "Yeah, those guys were pretty";
	mes "gangster about it. I mean, they";
	mes "took her soul, broke it in four";
	mes "pieces and stashed them in the";
	mes "deepest hole in Rune-Midgard.";
	next;
	mes "[Laichin]";
	mes "Sure, she was a giant, but";
	mes "they were pretty scared of her.";
	mes "All her children ended up to be";
	mes "legendary monsters! Well, I'm";
	mes "not sure if Lady Hell counts.";
	next;
	mes "[Laichin]";
	mes "That's pretty harsh.";
	mes "I mean, even if you die,";
	mes "your soul has no place";
	mes "to rest. Angrboda's soul is";
	mes "all cut up and stuff!";
	next;
	menu "So where are the soul pieces again?",-;
	mes "[Laichin]";
	mes "What...? I just said,";
	mes "the deepest place";
	mes "underground in Rune-Midgard.";
	mes "It's a dangerous joint";
	mes "protected by gangs";
	mes "of monsters.";
	next;
	mes "[Laichin]";
	mes "Wait, you're tellin' me";
	mes "that you're gonna find";
	mes "all of Angrboda's soul?!";
	mes "You're crazy! If they end up";
	mes "missing, the gods'll know I was";
	mes "the one who tipped you off!";
	set signlaichin,1;
	next;

L_Risk:
	mes "[Laichin]";
	mes "If I was gonna risk my soul,";
	mes "I'd wanna enjoy the rest of my";
	mes "afterlife as much as I could";
	mes "before the gods offed me. Man,";
	mes "I'd need at least 40.000 Zeny to";
	mes "even have a decent time...";
	next;
	menu "Pay Laichin 40.000 Zeny.",-,"Don't pay Laichin.",L_Pay;
	if(Zeny < 40000) goto L_NotEnough;
//Settings for the 4 seals you will have to break
Seal1:
	set Sign_Seal1,rand(1,8);
Seal2:
	set Sign_Seal2,rand(1,8);
	if(Sign_Seal2 == Sign_Seal1) goto Seal2;
Seal3:
	set Sign_Seal3,rand(1,8);
	if(Sign_Seal3 == Sign_Seal1 || Sign_Seal3 == Sign_Seal2) goto Seal3;
Seal4:
	set Sign_Seal4,rand(1,8);
	if(Sign_Seal4 == Sign_Seal1 || Sign_Seal4 == Sign_Seal2 || Sign_Seal4 == Sign_Seal3) goto Seal4;
//End of settings
	mes "[Laichin]";
	mes "Now we're talkin'!";
	mes "You're a true hero!";
	mes "Right, you gotta go to the";
	mes "lowest part of Glast Heim to";
	mes "find Angrboda's soul pieces.";
	next;
	mes "[Laichin]";
	mes "Check out the";
	set @signseal,1;
	callfunc "Sign_Seal";
	set @signseal,2;
	callfunc "Sign_Seal";
	set @signseal,3;
	callfunc "Sign_Seal";
	set @signseal,4;
	callfunc "Sign_Seal";
	mes "" + Sign_Seal1$ + ",";
	mes "" + Sign_Seal2$ + ",";
	mes "" + Sign_Seal3$ + " and the";
	mes "" + Sign_Seal4$ + ".";
	next;
	mes "[Laichin]";
	mes "Her soul pieces are really";
	mes "well hidden, so you gotta look";
	mes "around, even if know the";
	mes "general location, and don't";
	mes "tell anyone else about these";
	mes "locations or there'll be trouble.";
	next;
	menu "I promise.",-,"What do you mean by big and small?",L_Mean;
	set Zeny,Zeny - 40000;
	set signlaichin,2;
	close;

L_Mean:
	mes "[Laichin]";
	mes "What do I mean by";
	mes "big and small? Hey man,";
	mes "the answer to that is worth";
	mes "at least... 20.000 Zeny.";
	mes "If you wanna know,";
	mes "cough up the cash!";
	next;

L_Pay2:
	menu "Don't pay him.",L_NoPay,"Pay him.",-;
	if(signlaichin != 2) set Zeny,Zeny - 40000;
	if(Zeny < 20000) goto L_NotEnough2;
	mes "[Laichin]";
	mes "Alright, listen up.";
	mes "Big, small and very small";
	mes "mean the distances from the";
	mes "center of the map. So for big,";
	mes "I mean look near the border of";
	mes "the map. Easy, huh?";
	next;
	mes "[Laichin]";
	mes "When I say small, you";
	mes "gotta look in areas closer";
	mes "than the borders of the map.";
	mes "For very small, you gotta";
	mes "look near the center, got it?";
	set Zeny,Zeny - 20000;
	set signquest,53;
	set brokenseal,1;
	set signlaichin,3;
	close;

L_Pay:
	mes "[Laichin]";
	mes "Huh...?";
	mes "Okay pal.";
	close;

L_NotEnough:
	mes "[Laichin]";
	mes "Hey...";
	mes "This is sooo";
	mes "not enough money";
	mes "for me to enjoy myself";
	mes "if my soul ends up getting";
	mes "busted by the gods.";
	close;

L_NoPay:
	mes "[Laichin]";
	mes "Fine, fine.";
	mes "Just don't come";
	mes "crawling back when";
	mes "you can't figure out";
	mes "where the soul pieces are.";
	if(signlaichin != 2) set Zeny,Zeny - 40000;
	set signlaichin,2;
	close;

L_Direction:
	mes "[Laichin]";
	mes "Oh yeah, about those";
	mes "directions I gave you";
	mes "last time? They work,";
	mes "but you gotta know what I mean";
	mes "by 'big' or 'small' whatever";
	mes "o'clock means. That's right...";
	next;
	mes "[Laichin]";
	mes "Matter of fact, I'll";
	mes "tell you about it.";
	mes "Right after you pay me,";
	mes "oh, I don't know, ^FF000020.000 zeny^000000.";
	next;
	goto L_Pay2;

L_NotEnough2:
	mes "[Laichin]";
	mes "What is this?";
	mes "You tryin to wetch";
	mes "me or somethin'?";
	set signlaichin,2;
	close;

L_Seal:
	mes "[Laichin]";
	mes "Oh yeah, Uh, I forgot to tell";
	mes "you that Angrboda's soul pieces are";
	mes "sealed with the power of the gods.";
	mes "You can't just smash them open.";
	next;
	mes "[Laichin]";
	mes "...Or maybe you could.";
	mes "Anyway, it'll be better";
	mes "if you had a weapon that";
	mes "was solid, heavy and powerful.";
	next;
	mes "[Laichin]";
	mes "But yeah, think about";
	mes "what it means to break";
	mes "a godly seal. Remember there's";
	mes "^FF0000some kinda rule^000000 that the gods";
	mes "imposed which you gotta follow";
	mes "to release Angrboda's soul.";
	next;

L_Info:
	mes "[Laichin]";
	mes "Ah, right. If you wanna";
	mes "try different weapons for";
	mes "breaking those seals, make";
	mes "sure you got 'em in your";
	mes "inventory and that they're";
	mes "not equipped, alright?";
	next;
	menu "Thanks~",-,"Where am I supposed to go again?",L_Where;
	mes "[Laichin]";
	mes "Oh no...";
	mes "Thank you for all";
	mes "of this Zeny. Money";
	mes "might not be able to";
	mes "buy happiness but it";
	mes "sure comes real close!";
	set signlaichin,4;
	close;

L_Where:
	mes "[Laichin]";
	mes "Hey... You gotta go";
	mes "to the lowest part";
	mes "of Glast Heim to find all";
	mes "of Angrboda's soul pieces.";
	mes "Once you get there...";
	next;

L_Where1:
	mes "[Laichin]";
	mes "Check out the";
	mes "" + Sign_Seal1$ + ",";
	mes "" + Sign_Seal2$ + ",";
	mes "" + Sign_Seal3$ + " and the";
	mes "" + Sign_Seal4$ + ".";
	mes "And break those seals";
	mes "in that order, okay?";
	next;
	if(signlaichin == 4) goto L_Info;
	mes "[Laichin]";
	mes "Big, small and very small";
	mes "mean the distances from the";
	mes "center of the map. So for big,";
	mes "I mean look near the border of";
	mes "the map. Easy, huh?";
	next;
	mes "[Laichin]";
	mes "When I say small, you";
	mes "gotta look in areas closer";
	mes "than the borders of the map.";
	mes "For very small, you gotta";
	mes "look near the center, got it?";
	set signlaichin,4;
	close;

L_Queen:
	mes "[Laichin]";
	mes "Dude, Niflheim rocks.";
	mes "It's like, a million times";
	mes "better than the boring";
	mes "old Asgard. Hell yeah!";
	next;
	mes "[Laichin]";
	mes "Eh, I don't even wanna";
	mes "know if you manage to";
	mes "find all of Angrboda's soul";
	mes "pieces, but if you do, don't";
	mes "go bringin' close to me. If the";
	mes "gods find out you have 'em...";
	next;
	mes "[Laichin]";
	mes "But for the sake of";
	mes "argument, let's say you";
	mes "do happen to get them all.";
	mes "In that case, you oughta get";
	mes "Angrboda's soul to the Queen";
	mes "of Hell right away, alright?";
	next;
	mes "[Laichin]";
	mes "Ooh... But not just any";
	mes "yahoo can waltz up to her.";
	mes "The best thing would be to";
	mes "give it to one of her really";
	mes "trusted retainers, I guess.";
	mes "Now, who was he again?";
	next;
	mes "[Laichin]";
	mes "I know he's always in";
	mes "disguise as some sorta";
	mes "really ^C9CACBdespressing guy^000000";
	mes "and I can't remember his";
	mes "name for the life of me, but";
	mes "he's around here somewhere...";
	close;
}

function	script	Sign_Seal	{

    if (@signseal == 1) {
        if (Sign_Seal1 == 1) set Sign_Seal1$,"big 1 o'clock";
        if (Sign_Seal1 == 2) set Sign_Seal1$,"big 4 o'clock";
        if (Sign_Seal1 == 3) set Sign_Seal1$,"big 5 o'clock";
        if (Sign_Seal1 == 4) set Sign_Seal1$,"small 6 o'clock";
        if (Sign_Seal1 == 5) set Sign_Seal1$,"big 7 o'clock";
        if (Sign_Seal1 == 6) set Sign_Seal1$,"very small 11 o'clock";
        if (Sign_Seal1 == 7) set Sign_Seal1$,"big 11 o'clock";
        if (Sign_Seal1 == 8) set Sign_Seal1$,"small 11 o'clock";
    }
    if (@signseal == 2) {
        if (Sign_Seal2 == 1) set Sign_Seal2$,"big 1 o'clock";
        if (Sign_Seal2 == 2) set Sign_Seal2$,"big 4 o'clock";
        if (Sign_Seal2 == 3) set Sign_Seal2$,"big 5 o'clock";
        if (Sign_Seal2 == 4) set Sign_Seal2$,"small 6 o'clock";
        if (Sign_Seal2 == 5) set Sign_Seal2$,"big 7 o'clock";
        if (Sign_Seal2 == 6) set Sign_Seal2$,"very small 11 o'clock";
        if (Sign_Seal2 == 7) set Sign_Seal2$,"big 11 o'clock";
        if (Sign_Seal2 == 8) set Sign_Seal2$,"small 11 o'clock";
    }
    if (@signseal == 3) {
        if (Sign_Seal3 == 1) set Sign_Seal3$,"big 1 o'clock";
        if (Sign_Seal3 == 2) set Sign_Seal3$,"big 4 o'clock";
        if (Sign_Seal3 == 3) set Sign_Seal3$,"big 5 o'clock";
        if (Sign_Seal3 == 4) set Sign_Seal3$,"small 6 o'clock";
        if (Sign_Seal3 == 5) set Sign_Seal3$,"big 7 o'clock";
        if (Sign_Seal3 == 6) set Sign_Seal3$,"very small 11 o'clock";
        if (Sign_Seal3 == 7) set Sign_Seal3$,"big 11 o'clock";
        if (Sign_Seal3 == 8) set Sign_Seal3$,"small 11 o'clock";
    }
    if (@signseal == 4) {
        if (Sign_Seal4 == 1) set Sign_Seal4$,"big 1 o'clock";
        if (Sign_Seal4 == 2) set Sign_Seal4$,"big 4 o'clock";
        if (Sign_Seal4 == 3) set Sign_Seal4$,"big 5 o'clock";
        if (Sign_Seal4 == 4) set Sign_Seal4$,"small 6 o'clock";
        if (Sign_Seal4 == 5) set Sign_Seal4$,"big 7 o'clock";
        if (Sign_Seal4 == 6) set Sign_Seal4$,"very small 11 o'clock";
        if (Sign_Seal4 == 7) set Sign_Seal4$,"big 11 o'clock";
        if (Sign_Seal4 == 8) set Sign_Seal4$,"small 11 o'clock";
    }
    return;
}


niflheim,313,70,3	script	Pleasant-Featured Lady	90,{

    if (signquest > 56) goto L_Souvenir;
    if (signquest > 55) goto L_NoWord;
    if (Sign_Branch8A) goto L_Memory;
    if (Sign_Branch8B) goto L_BranchB;
    if (signquest > 54 && countitem(7305)) goto L_Give;
    if (signquest > 50) goto L_Symbol;
    if (signquest > 49) goto L_Valkyrie;
    if (signquest > 48) goto L_Info;
    if (signquest > 47) goto L_Look;
    if (signquest > 43) goto L_Survive;
    if (signquest > 42) goto L_Bard;
    if (signquest == 42) goto L_Thanks;
    if (signquest > 33) goto L_Help;
    if (Sign_Branch2B) goto L_Advice;
    if (signquest > 32) goto L_Sign;
    mes "[Serin]";
    mes "I'm sorry,";
    mes "but you're not";
    mes "the person I'm";
    mes "looking for. No...";
    close;

L_Sign:
    mes "[Serin]";
    mes "Kind adventurer...";
    mes "You're the one I'm looking";
    mes "for, the one who's been on a";
    mes "long journey to prove";
    mes "his courage.";
    next;
    mes "[Serin]";
    mes "Even in the darkness of";
    mes "Niflheim, I can recognize";
    mes "you. You shine out to me like";
    mes "a star! I beg of you, please";
    mes "listen to my story...";
    next;
    menu "I'm busy, sorry.",-,"Sure, go ahead.",L_Listen;

L_Sorry:
    mes "[Serin]";
    mes "I know I can't stop";
    mes "you from pursuing your";
    mes "path to glory. But if you";
    mes "should change your mind...!";
    close;

L_Listen:
    mes "[Serin]";
    mes "Thank you...";
    mes "Now, if you've heard";
    mes "from the others and as";
    mes "you can tell by my appearance";
    mes "I clearly don't belong here.";
    next;
    mes "[Serin]";
    mes "I might not have";
    mes "the luck to be selected";
    mes "by Valkyrie, but I need";
    mes "your help to get out of";
    mes "here as soon as I can~";
    next;
    menu "Er, I'm busy, now that I think about it.",L_Sorry,"Sure, let's do it.",-;
    mes "[Serin]";
    mes "I know I'm asking too much";
    mes "of you, but if you'd also help";
    mes "the other infortunate souls in";
    mes "this place, I'd be truly grateful.";
    mes "Somehow, I think solving their";
    mes "problems will help me get back.";
    next;
    menu "Sure, why not?",-,"Why should I help them?",L_Why;
    mes "[Serin]";
    mes "I knew you'd understand!";
    mes "You really are a kind person .";
    mes "Now, in order to help the other";
    mes "misfortunate in Niflheim, you've";
    mes "got to remember to gain their trust";
    mes "first and get close to them, okay?";
    set signquest,34;
    close;

L_Help:
    mes "[Serin]";
    mes "Hmm...?";
    mes "You don't know which";
    mes "people you need to help";
    mes "here in Niflheim? Mmm,";
    mes "let me think about it...";
    next;
    mes "[Serin]";
    mes "In this doomed place";
    mes "there isn't too much trust";
    mes "amongst some of the people";
    mes "here, but some will share their";
    mes "problems if you ^5131FFapproach them";
    mes "closely, face to face.^000000 Okay?";
    next;
    mes "[Serin]";
    mes "In this way, if they talk";
    mes "to you first, they might";
    mes "be more willing to accept";
    mes "help or tell you what you";
    mes "really need to know.";
    mes "I hope this helps...";
    close;

L_Thanks:
    mes "[Serin]";
    mes "Thank you so much for";
    mes "your help. This is all I have,";
    mes "and it means a lot to me, but";
    mes "I want you to have this ring. It's";
    mes "the only way I can properly express";
    mes "my gratitude for your aid so far.";
    getitem 2642,1;
    set signquest,43;
    close;

L_Bard:
    mes "[Serin]";
    mes "There's a Bard in";
    mes "Niflheim with a very";
    mes "sweet, yet melancholy voice.";
    mes "He sings for strangers just";
    mes "like you, adventurer.";
    next;
    mes "[Serin]";
    mes "I think he might know";
    mes "some useful information,";
    mes "so it might be a good";
    mes "idea to speak with him.";
    set signquest,44;
    close;

L_Survive:
    mes "[Serin]";
    mes "Hello, " + strcharinfo(0) + ",";
    mes "I'm surprised that";
    mes "you've managed to survive";
    mes "here all this time. It's no small";
    mes "feat for a mortal to be able to";
    mes "remain alive in Niflheim...";
    close;

L_Look:
    mes "[Serin]";
    mes "Ah, " + strcharinfo(0) + "~";
    mes "How is everything?";
    mes "Once again, I want to";
    mes "thank you for helping the";
    mes "poor souls in this place.";
    next;
    mes "[Serin]";
    mes "Hmm...?";
    mes "What's with that";
    mes "look on your face?";
    mes "Do you have something";
    mes "you want to ask me?";
    next;
    menu "Nothing.",-,"About the Queen of the Dead...",L_Queen;
    mes "[Serin]";
    mes "Well, if you ever";
    mes "need my help, please";
    mes "don't hesitate to ask.";
    close;

L_Queen:
    mes "[Serin]";
    mes "The Queen of the Dead?";
    mes "Well, she's the ruler of Niflheim.";
    mes "As Loki and Angrboda's last child";
    mes "she was given complete control of";
    mes "this realm by Odin.";
    next;
    mes "[Serin]";
    mes "She usually rules from her";
    mes "castle, Hell, but sometimes she";
    mes "goes out to tour Niflheim. That's";
    mes "all I really know about her.";
    next;
    menu "About the Symbol of Nine Realms",-;
    mes "[Serin]";
    mes "Oh that...?";
    mes "Sometimes it's called";
    mes "the Voucher of the Dead";
    mes "Odin gave it to the Queen";
    mes "of the Dead to signify her";
    mes "authority over Niflheim.";
    next;
    mes "[Serin]";
    mes "There are many rumors";
    mes "floating around about that";
    mes "and its abilities, but";
    mes "all we know for sure is that it can";
    mes "be used to command the dead...";
    next;
    menu "About Angrboda",-;
    mes "[Serin]";
    mes "Angrboda...?";
    mes "She's the mother of the";
    mes "Queen of Hell, as well as";
    mes "some of the most powerful";
    mes "monsters in this universe.";
    next;
    mes "[Serin]";
    mes "The gods feared her monstrous";
    mes "children so much that they bound";
    mes "them and sealed Angrboda away.";
    mes "Nothing has been heard";
    mes "of her since...";
    next;
    menu "I was told by the Witch that you're...",-;
    mes "[Serin]";
    mes "Oh, the Witch was";
    mes "talking about me? I'm";
    mes "aware that she doesn't";
    mes "think very highly of me.";
    mes "Then again, it's not like";
    mes "I can trust her either.";
    next;
    mes "[Serin]";
    mes "Well, it can't be helped.";
    mes "At least we both agree that";
    mes "somehow I don't really belong";
    mes "here in Niflheim.";
    emotion e_dots;
    set signquest,49;
    close;

L_Info:
    mes "[Serin]";
    mes "I'm sorry that I sort of";
    mes "rambling on and on that last";
    mes "time we spoke. Now that I think";
    mes "about it, I didn't really give you";
    mes "any information that might have";
    mes "been very useful to you.";
    next;
    mes "[Serin]";
    mes "But lately, I've heard that the";
    mes "Queen of the Dead is seeking her";
    mes "mother, Angrboda. It's strange that";
    mes "even the queen, with all her";
    mes "power, is unable to find her.";
    next;
    mes "[Serin]";
    mes "I have no idea how,";
    mes "but it seems that Angrboda";
    mes "have been sealed away in the";
    mes "world of Rune-Midgard...";
    emotion e_dots;
    set signquest,50;
    close;

L_Valkyrie:
    mes "[Serin]";
    mes "I've told you";
    mes "everything I know.";
    mes "But if you want to learn more";
    mes "about Angrboda, you probably need";
    mes "to talk to someone who actually";
    mes "communicates with the gods.";
    next;
    mes "[Serin]";
    mes "Perhaps Valkyrie";
    mes "or someone who actually";
    mes "lived in Asgard may know";
    mes "more about where Angrboda";
    mes "is sealed away.";
    next;
    mes "[Serin]";
    mes "Also, why would you want";
    mes "the Symbol of the Nine Realms?";
    mes "It's a very dangerous object that";
    mes "could cause a lot of trouble if it";
    mes "fell into the wrong hands...";
    next;
    menu "What do you mean?",-,"Don't worry, I won't.",L_Noworry;
    mes "[Serin]";
    mes "There are plenty of dead";
    mes "people in Niflheim that are";
    mes "driven by regret and despair.";
    mes "The rage of being dead may result";
    mes "in some of them performing horrific";
    mes "deeds if they are the symbol.";
    next;
    menu "Then what should I do?",-,"Thanks for the concern, but I'm not worried.",L_Noworry;
    mes "[Serin]";
    mes "I really think that you";
    mes "should bring that symbol";
    mes "to me before you show it to anybody";
    mes "else. Then, I want you to know why";
    mes "I really need its power.";
    next;
    mes "[Serin]";
    mes "I can't explain myself";
    mes "now, but I want to use the";
    mes "power of the symbol to do";
    mes "something really helpful";
    mes "for you. You'll just need";
    mes "to trust me on this.";
    set signquest,51;
    next;

L_Symbol:
    mes "[Serin]";
    mes "If you obtain";
    mes "the Symbol of Nine Realms,";
    mes "please bring it to me";
    mes "right away, " +strcharinfo(0) + ".";
    close;

L_Noworry:
    mes "[Serin]";
    mes "Alright...";
    mes "It's your decision.";
    close;

L_Memory:
    mes "^3355FFThis is only";
    mes "a lingering trace";
    mes "of Serin, a manifestation";
    mes "of her definitive memory.";
    close;

L_NoWord:
    mes "[Serin]";
    mes "...";
    mes "......";
    close;
    
L_Souvenir:
	mes "[Serin]";
	mes "...";
	mes "......";
	next;
	mes "[Serin]";
	mes "...";
	mes "......";
	mes "..........";
	if (countitem(2643))
	{
		next;
		switch( select( "Give Serin her ring.","Keep the ring." ) )
		{
			case 1:
				mes "[Serin]";
				mes "...";
				mes "......";
				mes ".............";
				next;
				mes "[Serin]";
				mes "...."+strcharinfo(0)+".....";
				mes "I don't want to forget you.";
				mes "I can forget my obsession with";
				mes "life and all my other memories,";
				mes "But if I can keep just one memory, I want it to be of your kindness.";
				next;
				mes "[Serin]";
				mes "Even now, you're still";
				mes "so very kind to me. Thank";
				mes "you for giving back my ring,";
				mes "my most precious possession.";
				mes "Thank you, thank you...";
				emotion e_sob;
				next;
				mes "^3355FFThe sound of Serin's voice";
				mes "softened and when it grew silent, her eyes blankly stared ahead as";
				mes "if she were in a trance. It looks like she has already forgotten";
				mes "everything...^000000";
				next;
				mes "^3355FFBut Serin has also been able";
				mes "to forget her sadness. The tears streaked across her cheeks and";
				mes "the faint smile on her lips tell you that her memories of you";
				mes "will always remain in her heart.^000000";
				delitem 2643,1;
				getexp 500000,0;
				close;

			case 2:
				emotion e_sob,0;
				close;
		}
	}
	else
	{
		emotion e_sob,0;
		close;
	}

L_Give:
	mes "[Serin]";
	mes "Yes...";
	mes "This is the Symbol of the";
	mes "Nine Realms. It only has enough";
	mes "power for one use, but it's still not easy to get this. Now, what were you planning to use this for?";
	next;
	select( "Tell her your story." );
	mes "[Serin]";
	mes "Ah, so you're here";
	mes "in Niflheim to overcome";
	mes "the ordeals of the gods and";
	mes "prove your courage to Valkyrie.";
	next;
	mes "[Serin]";
	mes "So wait...";
	mes "You've obtained that symbol";
	mes "just for that witch? This may";
	mes "seem rude, but I want to tell";
	mes "you exactly how I feel about her.";
	next;
	mes "[Serin]";
	mes "Isn't it suspicious that she";
	mes "hasn't explained her intentions to you? The Symbol of Nine Realms";
	mes "is one of the most powerful objects in Niflheim. Whatever she's planning has to be large scale.";
	next;
	mes "[Serin]";
	mes "Then, there's that Metz Brayde.";
	mes "Do you really believe that after he completes his research, he'll just give it back to you? You can't just trust someone to hold an object of enormous power and give it back!";
	next;
	switch( select( "W-what should I do?","I can't believe this!" ) )
	{
		case 1:
			mes "[Serin]";
			mes "Well, I can't really tell";
			mes "you what to do, but I don't think it's a good idea to let that witch have the Symbol of Nine Realms. There's no telling what she'll";
			mes "use its power for.";
			next;
			mes "[Serin]";
			mes "Actually...";
			mes "There is this rumor";
			mes "going around, but I don't";
			mes "know if you want to hear it...";
			next;
			switch( select( "Tell me the rumors about the witch","I don't want to hear." ) )
			{
				case 1:
					mes "[Serin]";
					mes "Well, I've heard that the witch has been hiding deep in Nifflheim and will only speak to those who pass her test. Apparently, she's been preparing some sort of ritual";
					mes "to gain more power...";
					next;
					mes "[Serin]";
					mes "It's almost too horrible";
					mes "to believe, but I think that";
					mes "she's preparing the ritual to";
					mes "summon Dark Lord, ruler of";
					mes "the Realm of Fiends.";
					next;
					select( "Dark Lord...?" );
					mes "[Serin]";
					mes "Well, most people don't";
					mes "know this, but Dark Lord";
					mes "comes from the Realm of Fiends.";
					mes "In his own domain, he's so powerful";
					mes "that even the gods fear his might.";
					next;
					mes "[Serin]";
					mes "Now, sometimes Dark Lord can";
					mes "enter the world of Rune-Midgard, but only in a manifestation that represents just a small portion";
					mes "of his full power.";
					next;
					mes "[Serin]";
					mes "You see, it takes too much energy to travel from the Realm of Fiends to Rune-Midgard. And since the life force in Rune-Midgard conflicts with his powers, Dark Lord has problems reaching your world directly.";
					next;
					select( "Wouldn't Lady Hell stop him?" );
					mes "[Serin]";
					mes "Well, Dark Lord only wants";
					mes "Rune-Midgard, so the Queen of the Dead doesn't feel threatened about her control of Niflheim.";
					next;
					mes "[Serin]";
					mes "In fact, I'm sure she's aware";
					mes "that Dark Lord will cause thousands of deaths in Rune-Midgard, meaning that there would be thousands more souls for her to rule over. So it's not to her advantage to stop him.";
					next;
					select( "Then what should we do...?" );
					mes "[Serin]";
					mes "No matter what the cost,";
					mes "we've got to stop her from";
					mes "summoning Dark Lord in order";
					mes "to protect Rune-Midgard from";
					mes "total annihiliation.";
					next;
					mes "[Serin]";
					mes "I used to be a pretty";
					mes "skilled Wizard, so I know";
					mes "that she needs to draw a really huge magic circle in Niflheim if she wants to summon Dark Lord.";
					next;
					select( "Can you tell me where?" );
					mes "[Serin]";
					mes "Well, there are certain rules";
					mes "and conditions to perform the summoning. There aren't any spaces wide enough in the Valley of Gyoll, and Nifflheim's entrance is watched by too many people...";
					next;
					mes "[Serin]";
					mes "Now, I were to summon";
					mes "Dark Lord, I would probably";
					mes "do it somewhere inside town";
					mes "to avoid attention. Hmmm...";
					mes "I'll send you there once I figure out where the circle might be.";
					set Sign_Branch8B,1;
					close;
					
				case 2:
					break;
			}
			
		case 2:
			mes "[Serin]";
			mes "I'm sorry if you were offended.";
			mes "I know I can't really convince you to believe anything, but please understand that I just don't want anyone to take advantage of you. Forgive my rudeness.";
			close;
	}
	
L_Keep:
    mes "[Serin]";
    mes "Ok, come back";
    mes "when you have realized";
    mes "this is the wisest choice";
    mes "to make.";
    close;

L_BranchB:
    mes "[Serin]";
    mes "I'll show you the way";
    mes "to their hope... Are you";
    mes "ready to come with me?";
    next;
    menu "Yes.",-,"No.",L_No;
    if (($signroom2full > 1) || getareausers("que_sign01",229,77,166,12) > 0) goto L_Full;
    if(Sign_Branch8B == 3) set Sign_Branch8B,4;
    mes "[Serin]";
    mes "Please follow me";
    mes "......";
    close2;
    if (($signroom2full > 1) || getareausers("que_sign01",229,77,166,12) > 0) end;
    donpcevent "#signserin2::OnSerin";
    donpcevent "#signserin2::OnCooldown";
    set $signroom2full,2;
    warp "que_sign01",191,39;
    end;


L_No:
    mes "[Serin]";
    mes "Please hurry, we don't";
    mes "have any time to lose.";
    close;

L_Why:
    mes "[Serin]";
    mes "Do you really need a";
    mes "reason ? Well... Maybe";
    mes "you're right, they don't";
    mes "deserve to be helped~";
    next;

L_Advice:
    mes "[Serin]";
    mes "I advise you to meet that";
    mes "depressing person in Niflheim.";
    mes "He'll probably tell you his story";
    mes "and you might understand...";
    mes "Yes... You should meet him.";
    if (!Sign_Branch2B) set Sign_Branch2B,1;
    close;

L_Full:
    mes "[Serin]";
    mes "Please wait";
    mes "a bit. I'm still";
    mes "trying to finish";
    mes "these preparations.";
    close;

}

nif_in,156,93,1	script	#signann	139,2,2,{

	if(signquest > 33) goto L_SignAnn;
	end;

L_SignAnn:
	if(signquest == 39) goto L_Sad;
	if(signquest == 38 && countitem(7309)) goto L_Crow;
	if(signquest == 36) goto L_Help;
	if(signquest > 34) goto L_Home;
	mes "[Alakina Ann]";
	mes "Where...Where am I...?";
	mes "I remember I was sleeping";
	mes "and when I woke up, I was here...";
	mes "Mommy, have you seen my mommy?";
	mes "I wanna go home...*Sob*";
	next;
	menu "About the witch.",L_Witch,"About the curse.",L_Curse,"Cancel",-;
	mes "[Alakina Ann]";
	mes "It's so cold in here...";
	mes "I'm freezing...";
	mes "And I wanna go home and";
	mes "get away from this scary place...";
	next;
	mes "[Alakina Ann]";
	mes "Please... help me.";
	mes "Could you take me with you...?";
	close;

L_Witch:
	mes "[Alakina Ann]";
	mes "Witch...? I've never seen a witch,";
	mes "but I've read about them in books.";
	mes "I'm not sure if they exist or not,";
	mes "but it would be so horrifying if";
	mes "they did...";
	next;
	mes "[Alakina Ann]";
	mes "Why is it so cold in here...?";
	mes "A-aren't you cold, or even scared?";
	mes "I wanna go home... It's warm over";
	mes "there. Could you help me get";
	mes "back... Please...? H-help me...";
	close;

L_Curse:
	mes "[Alakina Ann]";
	mes "A c-curse...?";
	mes "My grandma says there are lots";
	mes "of curses in the world. Some of";
	mes "them, you can tell it's a curse.";
	mes "But there are other curses that";
	mes "follow you throughout life...";
	next;
	mes "[Alakina Ann]";
	mes "Grandma says curses can take other";
	mes "forms... Like if someones's always";
	mes "mad at you, and won't forgive you,";
	mes "you can see that as a curse too.";
	next;
	mes "[Alakina Ann]";
	mes "My grandma told me there's only one";
	mes "spell that can break a strong curse";
	mes "that you can't lift with";
	mes "Blessings...";
	next;
	mes "[Alakina Ann]";
	mes "Klaatu...";
	mes "Verata...";
	mes "Ne...ni...umm...?";
	mes "What was the last part?";
	mes "I-I can't remember";
	mes "the last part of the spell!";
	next;
	mes "[Alakina Ann]";
	mes "If you repeat the spell in that";
	mes "order, it will release you from";
	mes "someone's anger and hate. And if";
	mes "you do it near a bad spirit, they";
	mes "might get the curse instead.";
	next;
	mes "[Alakina Ann]";
	mes "Why are you asking me about these";
	mes "scary kind of things...? I just";
	mes "wanna go home...";
	set signquest,35;
	close;

L_Home:
	mes "[Alakina Ann]";
	mes "*Cries*";
	mes "Where am I?";
	mes "I... I wanna go home~";
	emotion e_sob;
	close;

L_Help:
	mes "[Alakina Ann]";
	mes "W-Will you help me get";
	mes "back home? Please? I miss";
	mes "my mommy and my daddy and";
	mes "I don't know how I got here.";
	mes "*Snif*";
	next;
	menu "What can I do?",L_Ok,"You can't go back...",-;
	mes "[Alakina Ann]";
	mes "*Snif*";
	mes "N-no...";
	mes "I wanna go home...";
	close;

L_Ok:
	mes "[Alakina Ann]";
	mes "I dunno. I-I think a";
	mes "singing man told me to";
	mes "go meet a witch but it's";
	mes "too scary to go outside...";
	set signquest,37;
	close;

L_Crow:
	mes "[Alakina Ann]";
	mes "I... I can use";
	mes "this to go back home?";
	mes "Thank you! Thank you so much!";
	delitem 7309,1;
	set signquest,39;
	close;

L_Sad:
	mes "[Alakina Ann]";
	mes "Y-You lied to me!";
	mes "This wing doesn't do";
	mes "anything! I-I'm still here";
	mes "in this scary place! *Cries*";
	set signquest,40;
	close;

}

niflheim,350,258,1	script	#signbruce	139,2,2,{

	if(signquest == 35 || Sign_Branch2B == 3) goto L_SignBruce;
	end;

L_SignBruce:
	mes "[Ashe Bruce]";
	mes "I sense you're cursed";
	mes "by a powerful spell...";
	mes "Hmm... It's clear what";
	mes "you must be up to...";
	next;
	mes "[Ashe Bruce]";
	mes "You wish to get";
	mes "rid of the curse...";
	mes "By giving it to me!!";
	next;
	mes "[Ashe Bruce]";
	mes "Just because I'm a cursed spirit,";
	mes "you adventurers think you can just";
	mes "dump your curses on me?!";
	emotion e_dots;
	next;
	mes "[Ashe Bruce]";
	mes "I refuse to let";
	mes "you remain there...";
	mes "Leave now, or I will";
	mes "remove you by force...";
	next;
	mes "[Ashe Bruce]";
	mes "...And...";
	mes "...Whatever you do...";
	mes "...Do NOT touch my books...";
	next;
	menu "Touch the 1st book.",L_Book1,"Touch the 2nd Book.",L_Book2,"Touch the 3rd book",L_Book3,"Okay, I am leaving.",-;
	mes "[Ashe Bruce]";
	mes "...";
	mes ".....";
	next;
	mes "[Ashe Bruce]";
	mes "Well then.";
	mes "Try not to trip on";
	mes "your feet in your";
	mes "rush to leave.";
	close;

L_Book1:
	mes "[Ashe Bruce]";
	mes "...!...";
	mes "How dare you touch my books";
	mes "when I specifically said";
	mes "'Don't touch my books!'";
	killmonster "niflheim","#signbruce::Onmymob";
	monster "niflheim",350,258,"Rideword",1478,1,"#signbruce::Onmymob";
	close;

L_Book2:
	mes "[Ashe Bruce]";
	mes "I said don't touch my booksssahhh...";
	mes "Get lost....";
	mes "Don't disrupt my restingggaaahh!!";
	close2;
	warp "niflheim",34,162;
	end;

L_Book3:
	set @signbruce,0;
	mes "[Ashe Bruce]";
	mes "Muhahahaha...";
	mes "Stubborn mortal~!";
	mes "Fine! I will give you";
	mes "a fighting chance and let";
	mes "you cast a spell!";
	next;
L_Spell1:
	menu "Clover",L_Spell2,"Klaatu",-,"Kleitos",L_Spell2;
	set @signbruce,@signbruce + 1;

L_Spell2:
	menu "Verit",L_Spell3,"Veritas",L_Spell3,"Verata",-;
	set @signbruce,@signbruce + 1;

L_Spell3:
	menu "Necktie",L_Check,"Necklace",L_Check,"Nero",L_Check,"^FFFFFFNictu^000000",-;
	set @signbruce,@signbruce + 1;

L_Check:
	if (@signbruce == 3) goto L_Success;
	mes "[Ashe Bruce]";
	mes "Muhahahahahaha!";
	mes "That's not the right spell!";
	mes "Now death awaits you!";
	killmonster "niflheim","#signbruce::Onmymob";
	monster "niflheim",349,256,"Orc Skeleton",1462,1,"#signbruce::Onmymob";
	monster "niflheim",347,258,"Orc Skeleton",1462,1,"#signbruce::Onmymob";
	monster "niflheim",347,254,"Orc Skeleton",1462,1,"#signbruce::Onmymob";
	monster "niflheim",350,252,"Orc Skeleton",1462,1,"#signbruce::Onmymob";
	monster "niflheim",344,255,"Orc Skeleton",1462,1,"#signbruce::Onmymob";
	monster "niflheim",348,252,"Orc Skeleton",1462,1,"#signbruce::Onmymob";
	monster "niflheim",347,259,"Orc Skeleton",1462,1,"#signbruce::Onmymob";
	close;

L_Success:
	mes "[Ashe Bruce]";
	mes "That spell...";
	mes "You removed my curse?";
	mes "I don't believe it. I'm free!";
	next;
	mes "[Ashe Bruce]";
	mes "But do not underestimate";
	mes "my awesome powers! In fact,";
	mes "I command you to take this";
	mes "book and give it to that";
	mes "weak, pathetic witch!";
	if(signquest == 35) set signquest,36;
	if(Sign_Branch2B == 3) set Sign_Branch2B,4;
	getitem 7304,1;
	close;

Onmymob:
	end;

}
	
nif_in,188,168,1	script	#signwitch	139,2,2,{

	if(signquest > 36) goto L_SignWitch;
	if(Sign_Branch2B > 1) goto L_Book;
	end;

L_SignWitch:
	if(signquest > 55 || sign_fail) end;
	if(Sign_Branch8A || Sign_Branch8B || countitem(7305)) goto L_Privacy;
	if(signquest > 46) goto L_Help;
	if(signquest > 45) goto L_Courage;
	if(signquest > 41) goto L_Think;
	if(signquest > 40) goto L_Tragic;
	if(signquest > 39) goto L_Crow;
	if(signquest > 37 || !countitem(7304)) end;
	mes "[Kirkena]";
	mes "W-what's this?";
	mes "Why is it that";
	mes "you have one of";
	mes "my lost spell books?";
	next;
	menu "From a cursed soul...",-;
	mes "[Kirkena]";
	mes "Oh. That bastard must have";
	mes "stolen my spell books and got";
	mes "cursed when he cast the spells";
	mes "without my permission. Still, it's";
	mes "a relief to have my spells back.";
	delitem 7304,1;
	next;
	mes "[Kirkena]";
	mes "So mortal...";
	mes "You must be here for";
	mes "some reason. Speak";
	mes "your mind.";
	next;
	menu "Send me back to my world.",-,"There's a lost child here that I want to help...",L_Child;
	mes "[Kirkena]";
	mes "Alright, you made the";
	mes "good choice... I mean...";
	mes "for your life...";
	close2;
	warp "umbala",138,208;
	end;

L_Child:
	mes "[Kirkena]";
	mes "There's a living child?";
	mes "Here in Niflheim? That's";
	mes "most peculiar. Well, let me";
	mes "give you this. It will send";
	mes "a living human back to one";
	mes "of the towns in your realm.";
	set signquest,38;
	getitem 7309,1;
	close;

L_Crow:
	mes "[Kirkena]";
	mes "So did you already";
	mes "use the wing to save";
	mes "that poor, lost child?";
	next;
	mes "[Kirkena]";
	mes "What...?!";
	mes "It didn't work?";
	mes "That's impossible!";
	mes "Wait, give me a moment to";
	mes "think. What could be wrong?";
	set signquest,41;
	close;

L_Tragic:
	mes "[Kirkena]";
	mes "Alright.";
	mes "Now I understand";
	mes "why the wing didn't work";
	mes "for that poor girl...";
	next;
	mes "[Kirkena]";
	mes "She's so young that";
	mes "she doesn't even know";
	mes "that she's dead. It's tragic,";
	mes "but there's no way for her";
	mes "to get out of here...";
	set signquest,42;
	close;

L_Think:
	mes "[Kirkena]";
	mes "When people don't fully";
	mes "know the situation that";
	mes "they're in, they become more";
	mes "willing to take their chances.";
	close;

L_Courage:
	mes "[Kirkena]";
	mes "As I expected,";
	mes "there is something behind";
	mes "all of this. Now, you may";
	mes "know where you are, but";
	mes "do you understand why the";
	mes "dead are here?";
	next;
	mes "[Kirkena]";
	mes "This realm is a place";
	mes "for warriors that have failed";
	mes "to prove their courage. Keep in";
	mes "mind that it's not too late for";
	mes "you to join their ranks.";
	next;
	mes "[Kirkena]";
	mes "The realm of Niflheim";
	mes "is ruled by the Queen of the";
	mes "Dead. Sometimes she appears";
	mes "in her shining armor and makes the";
	mes "rounds. Everyone who sees her is";
	mes "stunned by the image of authority.";
	next;
	mes "[Kirkena]";
	mes "Now...";
	mes "What I need you to do is";
	mes "ask the Queen of the Dead";
	mes "for the Symbol of Nine Realms.";
	next;
	menu "What is that?",-;
	mes "[Kirkena]";
	mes "The symbol acts";
	mes "as a voucher of the queen's";
	mes "authority and represents her";
	mes "undeniable right to rule over";
	mes "the dead. But right now, I can't";
	mes "explain why I need it.";
	next;
	mes "[Kirkena]";
	mes "I'll tell you why I need";
	mes "it once you bring me the";
	mes "queen's symbol. Now, please";
	mes "keep this secret and tell no one";
	mes "that I asked you to bring the";
	mes "symbol to me.";
	set signquest,47;
	next;
	menu "Alright, I understand.",-,"How am I supposed to get the symbol?",L_Symbol;
	close;

L_Help:
	mes "[Kirkena]";
	mes "...Hm?";
	mes "Is there";
	mes "something that";
	mes "you need to ask to me?";
	next;
	menu "How can I get the symbol?",-;

L_Symbol:
	mes "[Kirkena]";
	mes "Taking the symbol";
	mes "by force is out of the";
	mes "question. Not even the gods";
	mes "would consider battling the";
	mes "Queen of the Dead.";
	next;
	mes "[Kirkena]";
	mes "You will need to";
	mes "earn the queen's favor";
	mes "in order to even have";
	mes "a chance of obtaining";
	mes "the Symbol of Nine Realms.";
	next;
	mes "[Kirkena]";
	mes "Now, there is a rumor";
	mes "that the Queen of the Dead";
	mes "is searching for her lost mother,";
	mes "Angrboda. Now, if you could find";
	mes "where Angrboda has been";
	mes "sealed away...";
	next;
	mes "[Kirkena]";
	mes "When you need to";
	mes "meet me from now on,";
	mes "go ahead and take passage";
	mes "through the right side of the";
	mes "portrait on the second";
	mes "floor of this castle.";
	set signquest,48;
	close;

L_Book:
	if(countitem(7304)) goto L_Found;
	if(Sign_Branch2B > 2) end;
	mes "[Kirkena]";
	mes "What are you doing here ?";
	mes "This is not a place for a";
	mes "mortal like you. I shall";
	mes "send you back to your realm.";
	next;
	mes "[Kirkena]";
	mes "Unfortunately, I lost my spell";
	mes "book and you should think of";
	mes "you as a very lucky person.";
	mes "I'm sure that bastard has stolen";
	mes "books and tried to use their power.";
	next;
	mes "[Kirkena]";
	mes "He has always dreamt to obtain";
	mes "my powers but if he thinks he'll";
	mes "get them this way... he's surely";
	mes "wrong.";
	next;
	mes "[Kirkena]";
	mes "Hey you, thank me for not";
	mes "sending you far away from here";
	mes "by finding my spell book !";
	set Sign_Branch2B,3;
	close;

L_Found:
	mes "[Kirkena]";
	mes "Ohh... This is my spell book.";
	mes "I wouldn't have thought of you";
	mes "to be brave enough to find it.";
	mes "There may be a place for you";
	mes "here after all...";
	delitem 7304,1;
	next;
	mes "[Kirkena]";
	mes "Listen to me.";
	mes "What I'm going to tell";
	mes "you is no small thing, it";
	mes "is about an entire realm.";
	mes "Believe me or not, I don't care.";
	next;
	goto L_Courage;

L_Privacy:
	mes "[Kirkena]";
	mes "This place isn't really";
	mes "good to talk about these";
	mes "kind of serious things. We";
	mes "should meet in privacy to make";
	mes "sure noone can hear us.";
	next;
	mes "[Kirkena]";
	mes "Please, hurry up and take";
	mes "the secret passage behind";
	mes "the right side of the portrait";
	mes "at second floor of my manor.";
	close;

}

nif_in,105,81,1	script	#signcrayu	139,2,2,{

	if(signquest == 44) goto L_SignCrayu;
	end;

L_SignCrayu:
	mes "[Crayu]";
	mes "Mountain sunset to the west";
	mes "Where the purple dusk falls";
	mes "Surrounded by beautiful melody";
	mes "You become the key that ignores its";
	mes "master.";
	next;
	mes "[Crayu]";
	mes "Hello adventurer.";
	mes "I know this is rather";
	mes "abrupt, but what do";
	mes "you think of Serin?";
	next;
	menu "She's good.",-,"She's evil!",-,"She could go either way.",-;
	mes "[Crayu]";
	mes "Hm...?";
	mes "And why do";
	mes "you think so?";
	next;
	menu "Just my opinion.",-,"It's the truth!",-;
	mes "[Crayu]";
	mes "Ah, I understand.";
	mes "Now, how may I help you?";
	next;
	menu "What exactly is Niflheim?",-,"How do I become one of the chosen?",L_Chosen;
	mes "[Crayu]";
	mes "Niflheim is commonly";
	mes "known as the city of the";
	mes "dead, but it's also the";
	mes "resting place of warriors";
	mes "who failed to enter Valhalla.";
	next;
	mes "[Crayu]";
	mes "Some heroes may think";
	mes "of Niflheim as the tragic end,";
	mes "but it really all depends on";
	mes "your point of view.";
	close;

L_Chosen:
	mes "[" + strcharinfo(0) + "]";
	mes "What do I need";
	mes "to do to become one";
	mes "of the chosen warriors?";
	next;
	mes "[Crayu]";
	mes "First and foremost,";
	mes "you must prove your courage.";
	mes "It will be up to you to decide";
	mes "how you will demonstrate your";
	mes "bravery. The Gods will only";
	mes "be watching and judging.";
	next;
	mes "[Crayu]";
	mes "Hmm...";
	mes "I think it would";
	mes "be a good idea if";
	mes "you talk to someone";
	mes "in Niflheim named ^FF0000Gen^000000.";
	set signquest,45;
	close;

}

niflheim,146,241,7	script	Depressing Man	735,{

	if(signquest > 56) goto L_Done;
	if(Sign_Branch8A > 3 || (Sign_Branch8B && Sign_Branch8B < 4)) goto L_Hurry;
	if(signquest > 54) goto L_Serin;
	if(signquest > 53) goto L_Queen;
	if(signquest) goto L_Seek;
	mes "[????]";
	mes "Leave me be,";
	mes "ruffian! I'm disinclined";
	mes "towards conversation";
	mes "at the moment.";
	close;

L_Seek:
	mes "[Gen]";
	mes "Huh... I hear you're";
	mes "looking for something";
	mes "pretty important. It's going";
	mes "to be a dangerous search.";
	next;
	mes "[Gen]";
	mes "There are plenty of";
	mes "other parties that are";
	mes "interested in the thing";
	mes "which you're seeking...";
	close;

L_Queen:
	mes "[Gen]";
	mes "You must be a very";
	mes "resourceful mortal.";
	mes "Not even Lady Hell, with";
	mes "all her power, could find";
	mes "the soul of her mother";
	mes "for a long time.";
	next;
	mes "[Gen]";
	mes "There's no need";
	mes "for me to hide";
	mes "my true identity any longer.";
	mes "My real name is Ganglati,";
	mes "servant of Lady Hell, the";
	mes "ruler of Niflheim.";
	next;
	mes "[Gen]";
	mes "Her highness would";
	mes "have words with you.";
	mes "Shall I send you to her";
	mes "mansion, Eljudnir,";
	mes "right now?";
	next;
	menu "Yes",-,"No",L_No;
	mes "[Gen]";
	mes "Remember to be";
	mes "careful and especially";
	mes "polite when you speak to";
	mes "Lady Hell. Otherwise, the";
	mes "consequences will be severe...";
	close2;
	warp "que_sign01",45,20;
	end;

L_No:
	mes "[Gen]";
	mes "I understand.";
	mes "Meeting with a deity is";
	mes "no small matter. However,";
	mes "I advise to make haste";
	mes "as her highness is eager";
	mes "to see you soon.";
	close;

L_Serin:
	mes "[Gen]";
	mes "You must be most favored";
	mes "to receive the SYmbol of the";
	mes "Nine Realms. Of course, it";
	mes "can be used only once, but";
	mes "it is still a great honor.";
	next;
	mes "[Gen]";
	mes "Once again, I ask that";
	mes "you be on guard against";
	mes "Serin. She may already be";
	mes "aware of what you plan to";
	mes "do with the symbol...";
	close;

L_Hurry:
	mes "[Gen]";
	mes "You must hurry and";
	mes "stop the summoning";
	mes "before your world in";
	mes "cast into immense peril!";
	next;
	mes "[Gen]";
	mes "Although Lady Hell";
	mes "is being rather blase";
	mes "about this matter, I beseech";
	mes "you to do what you can for";
	mes "the realm of the living!";
	close;

L_Done:
	mes "[Gen]";
	mes "You've done a great";
	mes "job of stopping Serin.";
	mes "Excellent! Such great";
	mes "service on behalf of";
	mes "the realm of the living!";
	next;
	mes "[Gen]";
	mes "I'm pleased to inform";
	mes "you that you've been";
	mes "invited to Lady Hell's";
	mes "mansion once again.";
	mes "Are you ready to go?";
	next;
	menu "No, thanks.",L_No2,"Yes.",-;
	mes "[Gen]";
	mes "Good, good.";
	mes "Don't forget to";
	mes "speak to her highness";
	mes "with the utmost respect!";
	close2;
	warp "que_sign01",45,20;
	end;

L_No2:
	mes "[Gen]";
	mes "I see.";
	mes "Well then, come";
	mes "back to me when you";
	mes "feel fully prepared.";
	close;

}

niflheim,146,241,1	script	#signgen	139,2,2,{

	if(signquest == 45 || Sign_Branch2B == 1) goto L_SignGen;
	end;

L_SignGen:
	mes "[Gen]";
	mes "Are you here";
	mes "to prove your";
	mes "courage to the Gods?";
	next;
	mes "[Gen]";
	mes "You know, I was an";
	mes "adventurer myself. In fact,";
	mes "I even came here to Niflheim";
	mes "for the ordeals set by the gods.";
	mes "However, I failed and ended up";
	mes "being bound to this realm...";
	next;
	mes "[Gen]";
	mes "I just wanted to warn you.";
	mes "Be careful and don't justify";
	mes "your greed for any sort of reward";
	mes "using the excuse that you're just";
	mes "gonna prove your courage.";
	mes "That's what I did...";
	next;
	mes "[Gen]";
	mes "Anyway, I've already talked";
	mes "too much. First, go and see";
	mes "the witch and ask her to";
	mes "help you out, okay?";
	if(Sign_Branch2B) set Sign_Branch2B,2;
	if(signquest == 45) set signquest,46;
	close;

}

nif_in,140,177,1	script	#signgrave	111,{

	if(signquest > 47 || countitem(7313) > 0)  warp "que_sign01",115,135;
	end;

}

que_sign01,122,141,5	script	Witch#2	792,{

    if (signquest > 56) goto L_NoMedal;
    if (signquest > 55) goto L_Success;
    if (Sign_Branch8B && Sign_Branch8B < 4)goto L_MustHurry;
    if ((countitem(7313) > 0) && Sign_Branch8A < 4 ) goto L_Medal;
    if (Sign_Branch8A) goto L_BranchA;
    if (signquest > 54 && countitem(7305)) goto L_Symbol;
    if (signquest < 48) goto L_NoMedal;
    mes "[Kirkena]";
    mes "If you need to learn more";
    mes "about Angrboda, why don't you";
    mes "just ask around? I'm sure that";
    mes "everyone is aware that the queen";
    mes "is searching for her mother.";
    next;
    mes "[Kirkena]";
    mes "Once again, don't let";
    mes "anyone know that I've asked";
    mes "you to bring me the Symbol of";
    mes "Nine Realms. I especially";
    mes "don't want Serin to find out.";
    next;
    mes "[Kirkena]";
    mes "If I can help it,";
    mes "I won't tolerate";
    mes "Serin's presence here";
    mes "in Niflheim. If I could";
    mes "banish her, I'd do it!";
    close;

L_Symbol:
    mes "[Kirkena]";
    mes "The Symbol of Nine Realms?";
    mes "How were you able to get that?!";
    mes "Ah, you must have found the Queen";
    mes "of the Dead's mother, Angrboda,";
    mes "right? Great work~";
    next;
    mes "[Kirkena]";
    mes "Now, if you'll just";
    mes "hand me the symbol, I'll tell";
    mes "you what you need to do next.";
    next;
    menu "Give the symbol.",L_Give,"Don't give the symbol.",-;
    mes "[Kirkena]";
    mes "Don't worry about that.";
    mes "I'm sure you will come back";
    mes "later with the wise decision";
    mes "to give the symbol to me~";
    close;

L_Give:
    mes "[Kirkena]";
    mes "Listen carefully.";
    mes "Since you were actually";
    mes "able to get the symbol, I believe";
    mes "that you're the only person capable";
    mes "of performing this next task.";
    next;
    mes "[Kirkena]";
    mes "We're going to use this";
    mes "symbol to create something,";
    mes "but we need one last item.";
    mes "I need you to find something";
    mes "imbued with Serin's vibes.";
    next;
    mes "[Kirkena]";
    mes "Serin's already hid herself";
    mes "deep within Niflheim, but I'm";
    mes "sure you can find something";
    mes "if you can find any remaining";
    mes "trace of her.";
    delitem 7305,1;
    set Sign_Branch8A,1;
    close;

L_BranchA:
    if (sign_fail) goto L_NoMedal;
    if (Sign_Branch8A > 3) goto L_Serin;
    if (Sign_Branch8A > 2) goto L_Complete;
    if (Sign_Branch8A > 1) goto L_Potion;
    if (countitem(2642) < 1) goto L_Lack;
    mes "[Kirkena]";
    mes "This is Serin's gold ring?";
    mes "Excellent, this has been";
    mes "strongly infused with her";
    mes "vibes. It's really tough to find";
    mes "something like this that resonates";
    mes "so strongly with his owner.";
    next;
    delitem 2642,1;
    set serinring,1;
    set Sign_Branch8A,2;
    close;

L_Potion:
    mes "[Kirkena]";
    mes "Now that the potion I'm";
    mes "making is being processed,";
    mes "I can finally tell you what";
    mes "I've been trying to do";
    mes "with the objects I've asked you";
    mes "to get for me.";
    next;
    mes "[Kirkena]";
    mes "I didn't explain";
    mes "the reason I wanted the Symbol";
    mes "of Nine Realms to prevent Serin";
    mes "from getting suspicious and forcing";
    mes "you to reveal my plans. You see,";
    mes "Serin isn't fit for Niflheim.";
    next;
    mes "[Kirkena]";
    mes "Although she's in the";
    mes "world of the dead, Serin";
    mes "has never accepted death and";
    mes "has desired to return to life. Of";
    mes "course, That's the natural response";
    mes "for everyone that comes here...";
    next;
    mes "[Kirkena]";
    mes "However, unlike the others";
    mes "who have despaired, lost";
    mes "hope and accepted their fate,";
    mes "Serin has never given up her hope";
    mes "to return to life. With her hope";
    mes "she retains her beauty and light.";
    next;
    mes "[Kirkena]";
    mes "But she's only denying";
    mes "the fate she deserves.";
    mes "What she's trying to do";
    mes "is wrong and we need to";
    mes "stop before it's too late.";

L_Menu:
    next;
    menu "What does she want?",-,"What is she going to do?",L_Plans,"What should I do?",L_Should;
    mes "[Kirkena]";
    mes "Make no mistake:";
    mes "Serin wants the Symbol";
    mes "of the Nine Realms.";
    next;
    mes "[Kirkena]";
    mes "Now, if she could use it";
    mes "multiple times, she could just";
    mes "command the guards of Niflheim";
    mes "to just let her pass and re-enter";
    mes "the world of the living. But your";
    mes "symbol can be used just once...";
    goto L_Menu;

L_Plans:
    mes "[Kirkena]";
    mes "I believe Serin is going to";
    mes "summon the Dark Lord. Since";
    mes "she used to be a great wizard,";
    mes "it's entirely possible. However,";
    mes "she might need the Symbol of the";
    mes "Nine Realms in order to do it.";
    next;
    mes "[Kirkena]";
    mes "Now, you may believe that";
    mes "Dark Lord can be defeated by";
    mes "humans, but what you might not";
    mes "know is that the manifestation of";
    mes "Dark Lord in your world is limited";
    mes "to a fraction of his true power.";
    next;
    mes "[Kirkena]";
    mes "Sometimes, Dark Lord can";
    mes "cross over into Rune-Midgard,";
    mes "but travelling from his world into";
    mes "ours takes vast amounts of energy.";
    mes "Also the life force in your world";
    mes "conflicts with his dark powers.";
    next;
    mes "[Kirkena]";
    mes "Now, if the Dark Lord";
    mes "were summoned into Niflheim,";
    mes "he would have easy access";
    mes "to Rune-Midgard and the use";
    mes "of all of his destructive power.";
    next;
    mes "[Kirkena]";
    mes "Serin plans to strike";
    mes "a deal with Dark Lord.";
    mes "In exchange for summoning";
    mes "him to Niflheim, Serin will";
    mes "be brought back to life.";
    next;
    mes "[Kirkena]";
    mes "Although you've found";
    mes "favor with Lady Hell, she";
    mes "will probably not stop Dark";
    mes "Lord's approach. Dark Lord";
    mes "only wants Rune-Midgard.";
    next;
    mes "[Kirkena]";
    mes "Now that I think about";
    mes "it, massive death would";
    mes "actually increase Lady Hell's";
    mes "sphere of influence. I don't think";
    mes "she'll help Dark Lord, but she";
    mes "also won't get in his way.";
    goto L_Menu;

L_Should:
    mes "[Kirkena]";
    mes "I need you to take";
    mes "this tonic and have";
    mes "Serin drink it. This";
    mes "special potion will erase";
    mes "most of her memories.";
    next;
    mes "[Kirkena]";
    mes "Without her memories,";
    mes "Serin should also lose";
    mes "her twisted ambitions.";
    mes "Now, with the Symbol of Nine";
    mes "Realms, Serin cannot refuse";
    mes "drinking this potion.";
    next;
    mes "[Kirkena]";
    mes "That's why having the";
    mes "symbol is so crucial.";
    mes "Serin is clever enough";
    mes "to avoid drinking this";
    mes "for quite a while now...";
    set Sign_Branch8A,3;
    close;

L_Complete:
    mes "[Kirkena]";
    mes "The potion is finally";
    mes "completed. Now, take this";
    mes "and command Serin to drink it.";
    next;
    if (serinring > 0) {
        mes "[Kirkena]";
        mes "Luckily, I was able to";
        mes "use Serin's gold ring to";
        mes "trace her location. I'm going";
        mes "to send you there, so please";
        mes "do whatever it takes to stop her.";
        next;
    }
    mes "[Kirkena]";
    mes "Please take these with you";
    mes "as they'll probably be useful";
    mes "when you deal with her. As for";
    mes "these vouchers, give them to your";
    mes "allies. They'll send them straight";
    mes "to where Serin is located.";
    next;
    mes "[Kirkena]";
    mes "When you're finished";
    mes "dealing with Serin, don't";
    mes "forget to bring back all";
    mes "of the vouchers I've";
    mes "given you, alright?";
    getitem 7308,1;
    if (serinring > 0) getitem 2643,1;
    getitem 7313,5;
    set Sign_Branch8A,4;
    close;

L_Serin:
    if (($signroomfull > 1) || getmapusers("que_sign02") > 0 || getareausers("que_sign01",229,227,166,162) > 0) goto L_Full;
    if (Sign_Branch8A == 7) set Sign_Branch8A,8;
    if (countitem(2643) < 1) goto L_NoRing;
    mes "[Kirkena]";
    mes "You're finally";
    mes "back, we might not";
    mes "have enough time to";
    mes "stop her, but we have";
    mes "to try. Are you ready?";
    next;
    menu "Yes",-,"No",L_No;
    if (($signroomfull > 1) || getmapusers("que_sign02") > 0 || getareausers("que_sign01",229,227,166,162) > 0) goto L_Full;
    close2;
    donpcevent "#signserin::OnSerin";
    donpcevent "#signserin::OnCooldown";
    set $signroomfull,2;
    set $signparty,getcharid(1);
    set $signplayer,getcharid(0);
    warp "que_sign01",195,189;
    end;

L_No:
    mes "[Kirkena]";
    mes "Hurry up, then!";
    mes "There's no time";
    mes "to waste!";
    close;

L_Full:
    mes "[Kirkena]";
    mes "Please wait";
    mes "a bit. I'm still";
    mes "trying to finish";
    mes "these preparations.";
    close;

L_Lack:
    mes "[Kirkena]";
    mes "Without a violent wave";
    mes "of Serin's feelings, I";
    mes "will not be able to";
    mes "lead you that close from";
    mes "her. Well... Nevermind. It will";
    mes "be enough.";
    set Sign_Branch8A,2;
    close;

L_NoRing:
    mes "[Kirkena]";
    mes "We've got to";
    mes "stop Serin before";
    mes "she does something";
    mes "truly horrible. Are";
    mes "you ready to go?";
    next;
    menu "Yes",-,"No",L_No;
    if (($signroomfull > 1) || getmapusers("que_sign02") > 0 || getareausers("que_sign01",229,227,166,162) > 0) goto L_Full;
    mes "[Kirkena]";
    mes "Okay then.";
    mes "Good luck,";
    mes "" + strcharinfo(0) + "...";
    close2;
    if (($signroomfull > 1) || getmapusers("que_sign02") > 0 || getareausers("que_sign01",229,227,166,162) > 0) end;
    donpcevent "#signserin::OnSerin";
    donpcevent "#signserin::OnCooldown";
    set $signroomfull,2;
    set $signparty,getcharid(1);
    warp "que_sign02",35,313;
    end;

L_Medal:
    callfunc "Sign_Party";

L_NoMedal:
    if (signquest > 56) goto L_Done;
    if (sign_fail) goto L_Fail;
    mes "[Kirkena]";
    mes "...";
    close;

L_Success:
    if (countitem(7313) < 5 && Sign_Branch8A) goto L_Voucher;
    delitem 7313,5;
    mes "[Kirkena]";
    mes "You've done well.";
    mes "Without her memories of her";
    mes "previous life, Serin can remain";
    mes "here in Niflheim peacefully.";
    next;
    mes "[Kirkena]";
    mes "Although she failed to return to";
    mes "life, I'm sure she is glad to have";
    mes "met you, I think she's also started";
    mes "to learn that life's meaning is not";
    mes "in living alone...";
    next;
    mes "[Kirkena]";
    mes "Once again, thank";
    mes "you so much for your";
    mes "help. Once you finish here,";
    mes "please visit our queen, Lady Hell.";
    mes "I believe she wants to see you for";
    mes "some reason...";
    set signquest,57;
    getexp 500000,0;
    close;

L_Voucher:
    mes "[Kirkena]";
    mes "Hmmm...?";
    mes "Where are all the";
    mes "vouchers I've lent to you?";
    mes "Please retrieve them all";
    mes "before coming back to me.";
    close;

L_Done:
    mes "[Kirkena]";
    mes "Hm? Still exploring";
    mes "Niflheim? Although you're";
    mes "strong enough to survive,";
    mes "I still think you're risking";
    mes "your life by remaining here";
    mes "when you don't have to.";
    close;

L_MustHurry:
    mes "[Kirkena]";
    mes "You must hurry to stop";
    mes "Serin from accomplishing her";
    mes "plan, otherwise your world";
    mes "will be cast in shadows for all";
    mes "eternity!";
    close;

L_Fail:
    if (sign_fail == 1) {
        mes "[Kirkena]";
        mes "Damn! Did you really let";
        mes "her finish her summoning?";
        mes "That's terrible! Does she";
        mes "even know that she will not";
        mes "have any memory of her past life?";
        set sign_fail,2;
        next;
    }
    mes "[Kirkena]";
    mes "So much energy and time wasted";
    mes "for no rewards. I guess it";
    mes "can't be helped. Now, return";
    mes "to your world, and watch its";
    mes "silent death.";
    close;

}

//Seals in Glast Heim Lowest Cave
gl_dun02,262,265,1	script	Mysterious Energy	111,{

    if ((brokenseal == 1 && Sign_Seal1 == 1) || (brokenseal == 2 && Sign_Seal2 == 1) || (brokenseal == 3 && Sign_Seal3 == 1) || (brokenseal == 4 && Sign_Seal4 == 1)) {
        callfunc "Break_Seal";
        mes "^3355FFThe weapon you're holding";
        mes "right now doesn't look like it has";
        mes "any chance of breaking this seal.";
        mes "You'll definitely need something";
        mes "more powerful...";
        close;
    } else {
        mes "^3355FFYou sense a strange";
        mes "mysterious energy emanating from";
        mes "this area. For some reason, this";
        mes "power strikes you with a faint";
        mes "feeling of sadness.";
        close;
    }

}

gl_dun02,270,98,1	script	Mysterious Energy#2	111,{

    if ((brokenseal == 1 && Sign_Seal1 == 2) || (brokenseal == 2 && Sign_Seal2 == 2) || (brokenseal == 3 && Sign_Seal3 == 2) || (brokenseal == 4 && Sign_Seal4 == 2)) {
        callfunc "Break_Seal";
        mes "^3355FFThe weapon you're holding";
        mes "right now doesn't look like it has";
        mes "any chance of breaking this seal.";
        mes "You'll definitely need something";
        mes "more powerful...";
        close;
    } else {
        mes "^3355FFYou sense a strange";
        mes "mysterious energy emanating from";
        mes "this area. For some reason, this";
        mes "power strikes you with a faint";
        mes "feeling of sadness.";
        close;
    }

}

gl_dun02,268,31,1	script	Mysterious Energy#3	111,{

    if ((brokenseal == 1 && Sign_Seal1 == 3) || (brokenseal == 2 && Sign_Seal2 == 3) || (brokenseal == 3 && Sign_Seal3 == 3) || (brokenseal == 4 && Sign_Seal4 == 3)) {
        callfunc "Break_Seal";
        mes "^3355FFThe weapon you're holding";
        mes "right now doesn't look like it has";
        mes "any chance of breaking this seal.";
        mes "You'll definitely need something";
        mes "more powerful...";
        close;
    } else {
        mes "^3355FFYou sense a strange";
        mes "mysterious energy emanating from";
        mes "this area. For some reason, this";
        mes "power strikes you with a faint";
        mes "feeling of sadness.";
        close;
    }

}

gl_dun02,139,72,1	script	Mysterious Energy#4	111,{

    if ((brokenseal == 1 && Sign_Seal1 == 4) || (brokenseal == 2 && Sign_Seal2 == 4) || (brokenseal == 3 && Sign_Seal3 == 4) || (brokenseal == 4 && Sign_Seal4 == 4)) {
        callfunc "Break_Seal";
        mes "^3355FFThe weapon you're holding";
        mes "right now doesn't look like it has";
        mes "any chance of breaking this seal.";
        mes "You'll definitely need something";
        mes "more powerful...";
        close;
    } else {
        mes "^3355FFYou sense a strange";
        mes "mysterious energy emanating from";
        mes "this area. For some reason, this";
        mes "power strikes you with a faint";
        mes "feeling of sadness.";
        close;
    }

}

gl_dun02,16,26,1	script	Mysterious Energy#5	111,{

    if ((brokenseal == 1 && Sign_Seal1 == 5) || (brokenseal == 2 && Sign_Seal2 == 5) || (brokenseal == 3 && Sign_Seal3 == 5) || (brokenseal == 4 && Sign_Seal4 == 5)) {
        callfunc "Break_Seal";
        mes "^3355FFThe weapon you're holding";
        mes "right now doesn't look like it has";
        mes "any chance of breaking this seal.";
        mes "You'll definitely need something";
        mes "more powerful...";
        close;
    } else {
        mes "^3355FFYou sense a strange";
        mes "mysterious energy emanating from";
        mes "this area. For some reason, this";
        mes "power strikes you with a faint";
        mes "feeling of sadness.";
        close;
    }

}

gl_dun02,120,180,1	script	Mysterious Energy#6	111,{

    if ((brokenseal == 1 && Sign_Seal1 == 6) || (brokenseal == 2 && Sign_Seal2 == 6) || (brokenseal == 3 && Sign_Seal3 == 6) || (brokenseal == 4 && Sign_Seal4 == 6)) {
        callfunc "Break_Seal";
        mes "^3355FFThe weapon you're holding";
        mes "right now doesn't look like it has";
        mes "any chance of breaking this seal.";
        mes "You'll definitely need something";
        mes "more powerful...";
        close;
    } else {
        mes "^3355FFYou sense a strange";
        mes "mysterious energy emanating from";
        mes "this area. For some reason, this";
        mes "power strikes you with a faint";
        mes "feeling of sadness.";
        close;
    }

}

gl_dun02,42,251,1	script	Mysterious Energy#7	111,{

    if ((brokenseal == 1 && Sign_Seal1 == 7) || (brokenseal == 2 && Sign_Seal2 == 7) || (brokenseal == 3 && Sign_Seal3 == 7) || (brokenseal == 4 && Sign_Seal4 == 7)) {
        callfunc "Break_Seal";
        mes "^3355FFThe weapon you're holding";
        mes "right now doesn't look like it has";
        mes "any chance of breaking this seal.";
        mes "You'll definitely need something";
        mes "more powerful...";
        close;
    } else {
        mes "^3355FFYou sense a strange";
        mes "mysterious energy emanating from";
        mes "this area. For some reason, this";
        mes "power strikes you with a faint";
        mes "feeling of sadness.";
        close;
    }

}

gl_dun02,124,231,1	script	Mysterious Energy#8	111,{

    if ((brokenseal == 1 && Sign_Seal1 == 8) || (brokenseal == 2 && Sign_Seal2 == 8) || (brokenseal == 3 && Sign_Seal3 == 8) || (brokenseal == 4 && Sign_Seal4 == 8)) {
        callfunc "Break_Seal";
        mes "^3355FFThe weapon you're holding";
        mes "right now doesn't look like it has";
        mes "any chance of breaking this seal.";
        mes "You'll definitely need something";
        mes "more powerful...";
        close;
    } else {
        mes "^3355FFYou sense a strange";
        mes "mysterious energy emanating from";
        mes "this area. For some reason, this";
        mes "power strikes you with a faint";
        mes "feeling of sadness.";
        close;
    }

}


function	script	Break_Seal	{

	getinventorylist;
	set @i,-1;
L_Check:
	set @i,@i+1;
	if(getiteminfo(@inventorylist_id[@i],13) == 4) goto L_Break;
	if(@i < @inventorylist_count -1) goto L_Check;
	return;

L_Break:
	set @sealbreak,rand(100);
	if(@sealbreak < 11) goto L_Broken;
	mes "^3355FFYou hit the seal as hard";
	mes "as you can with the weapon in your";
	mes "hand. However, the seal is merely";
	mes "shaken by the force of your blow.";
	mes "Perhaps you need something";
	mes "more powerful to break the seal...";
	close;

L_Broken:
	mes "^3355FFOnce you strike the seal,";
	mes "it cracks open and a flash of";
	mes "mysterious light floods out of it.";
	mes "Inside of the seal, you find a very";
	mes "peculiar object...";
	next;
	set brokenseal,brokenseal +1;
	set @sealbreak,0;
	if(brokenseal > 4) goto L_Soul;
	mes "You have";
	mes "obtained a";
	mes "^C9CACBPiece of Spirit.^000000";
	getitem 7306,1;
	close;

L_Soul:
	mes "^3355FFUpon obtaining the last piece";
	mes "of Angrboda's soul, all four soul";
	mes "pieces emitted a strange light,";
	mes "rose to the air and combined into";
	mes "a single transparent jewel.";
	next;
	mes "^3355FFThe jewel floated";
	mes "down to your waiting";
	mes "hands, and you hear its";
	mes "voice speak directly into";
	mes "the depths of your heart...^000000";
	next;
	mes "[Angrboda's Soul]";
	mes "I'm...";
	mes "I'm leaving my soul";
	mes "with you. Please guide";
	mes "me to the queen of the dead...";
	delitem 7306,4;
	getitem 7307,1;
	set signquest,54;
	close;
}

//End of Seals

que_sign01,46,55,1	script	Fountain	111,{
	if(signquest > 54) goto L_Bottle;
	mes "^3355FFThe water in this";
	mes "fountain looks clean";
	mes "enough to drink...";
	next;
	menu "Drink.",-,"Don't Drink.",L_No;
	mes "...";
	close2;
	percentheal -100,0;
	end;
	
L_No:
	mes "...";
	close;

L_Bottle:
	mes "^3355FFThe water in this";
	mes "fountain looks clean";
	mes "enough to be bottled...";
	next;
	menu "Bottle.",-,"Don't bottle.",L_No;
	if(!countitem(713))goto L_Nobottle;
	delitem 713,1;
	getitem 12020,1;
	close;

L_Nobottle:
	mes "^3355FFUnfortunately, it";
	mes "looks like you don't";
	mes "have any Empty Bottles";
	mes "to carry any of this water...";
	close;

}

que_sign01,45,227,5	script	Queen of the Dead	856,{

	if(signquest > 65) goto L_Greet;
	if(signquest > 64) goto L_Work;
	if(signquest > 63) goto L_Sense;
	if(signquest > 54) goto L_Power;
	mes "[Lady Hell]";
	mes "^881010I have been told";
	mes "by Ganglati that you";
	mes "are the mortal that has";
	mes "guided Mother's soul to me.";
	next;
	mes "[Lady Hell]";
	mes "^881010Do not fear me,";
	mes "hero of Rune-Midgard.";
	mes "You have won the favor";
	mes "of the Queen of the Dead";
	mes "and may ask me of any";
	mes "reward if I deem it fair.";
	next;
	mes "[Lady Hell]";
	mes "^881010The true Symbol of the";
	mes "of Nine Realms cannot be freely";
	mes "given or lent. However, I sense";
	mes "your purpose and will give you";
	mes "a symbol imbued with enough";
	mes "power to be used only once.";
	next;
	mes "[Lady Hell]";
	mes "^881010With the symbol I give you,";
	mes "you can command the dead to";
	mes "carry out your will without";
	mes "question. However, keep in";
	mes "mind that after one use,";
	mes "its power will be consumed.";
	next;
	mes "[Lady Hell]";
	mes "^881010I have also decided";
	mes "to reward you with one";
	mes "more special permission.";
	mes "You may now freely draw";
	mes "water from the fountain";
	mes "in my mansion, brave hero.";
	next;
	mes "^3355FFYou received";
	mes "the Symbol of the Nine Realms.";
	delitem 7307,1;
	getitem 7305,1;
	set signquest,55;
	close;

L_Power:
	mes "[Lady Hell]";
	mes "^881010Greetings, mortal.";
	mes "Make sure that you";
	mes "use the power of the";
	mes "symbol wisely. You will";
	mes "be responsible for the";
	mes "consequences...";
	if(signquest == 57) set signquest,58;
	close;

L_Sense:
	mes "[Lady Hell]";
	mes "^881010Ah.";
	mes "You are the";
	mes "mortal called";
	mes "" + strcharinfo(0) + ", are you not?";
	mes "Yes, you are known to me.";
	next;
	mes "[Lady Hell]";
	mes "^881010I've wanted to see you";
	mes "as I've sensed that you";
	mes "carry something which feels";
	mes "very familiar to me. Do you";
	mes "have something extraordinarily";
	mes "special in your possesion?";
	if(!countitem(2644) && !countitem(7178)) close;
	next;
	if(countitem(2644) && countitem(7178)) menu "The Sign",L_Sign,"Sobbing Starlight",-;
	if(!countitem(2644) && countitem(7178)) menu "Sobbing Starlight",-;
	if(countitem(2644) && !countitem(7178)) menu "The Sign",L_Sign;
	mes "[Lady Hell]";
	mes "^881010Yes, that's it!";
	mes "I never expected a mortal";
	mes "to have such an interesting";
	mes "artifact in his possession.";
	next;
	mes "[Lady Hell]";
	mes "^881010As queen of Niflheim,";
	mes "I command you to lend the";
	mes "Sobbing Starlight to me! Fear";
	mes "not, I shall quickly return it. For";
	mes "a mortal, it must have";
	mes "taken great pains to obtain";
	mes "this...";
	next;
	menu "Please take it...",-,"N-no! Don't take it!",L_No;
	mes "[Lady Hell]";
	mes "^881010Thank you mortal.";
	mes "Now, I shall show";
	mes "you something truly";
	mes "interesting...";
	delitem 7178,1;
	set signquest,65;
	close;

L_Sign:
	mes "[Lady Hell]";
	mes "^881010The Sign...?";
	mes "Hmm, no, that's not";
	mes "what I sensed. It's actually";
	mes "something quite different...";
	close;

L_No:
	mes "[Lady Hell]";
	mes "^881010Ha ha ha!";
	mes "You amuse me,";
	mes "mortal! To think,";
	mes "you even have courage";
	mes "to refuse the queen of";
	mes "Niflheim! Ha ha ha!";
	next;
	mes "[Lady Hell]";
	mes "^881010Mercy is not a quality";
	mes "that I am known for, but";
	mes "since you are my favored";
	mes "mortal, I shall not kill you.";
	mes "Still, it would be unwise";
	mes "to displease me~";
	close2;
	warp "niflheim",29,154;
	end;

L_Work:
	mes "[Lady Hell]";
	mes "^881010As queen of this realm";
	mes "I am unaccustomed to labor.";
	mes "But give me a moment to finish";
	mes "my work on this priceless";
	mes "artifact, mortal.";
	next;
	misceffect 13;
	next;
	misceffect 32;
	next;
	misceffect 183;
	next;
	misceffect 90;
	next;
	mes "[Lady Hell]";
	mes "^881010It is done.";
	mes "This is the true";
	mes "form of the object";
	mes "you humans call the";
	mes "Sobbing Starlight.";
	next;
	mes "[Lady Hell]";
	mes "^881010Although you may also know";
	mes "this object as God's Tear Drop,";
	mes "keep in mind that history, as you";
	mes "humans know it, may actually be";
	mes "different than the truth.";
	getitem 7025,1;
	set signquest,66;
	next;
	mes "[Lady Hell]";
	mes "^881010In other words, there";
	mes "are some older tales about";
	mes "the gods and their enemies that";
	mes "may have been confused and twisted";
	mes "as they were handed down from";
	mes "generation to generation.";
	next;
	mes "[Lady Hell]";
	mes "^881010That is all I can tell";
	mes "you for now, mortal. It will";
	mes "be your job to discover the";
	mes "truth of the legends...";
	close;

L_Greet:
	mes "[Lady Hell]";
	mes "^881010Greetings, mortal.";
	mes "Is the realm of the living";
	mes "that boring and tedious?";
	mes "Ha ha ha! Well, there shall";
	mes "always be a place for you";
	mes "here in Niflheim.";
	close;

}

que_sign01,1,1,1	script	#signserin	-1,{

OnInit:
	disablenpc "Serin#serin";
	set $signroomfull,0;
	set $signparty,0;
	end;

OnSerin:
	enablenpc "Serin#serin";
	end;

OnSummon:
	disablenpc "Serin#serin";
	set $@Sign_Summon,10;
	monster "que_sign01",180,200,"Rotten Corpse",1423,1,"#signserin::OnSignDead";
	monster "que_sign01",205,205,"Rotten Corpse",1423,1,"#signserin::OnSignDead";
	monster "que_sign01",190,190,"Rotten Corpse",1423,1,"#signserin::OnSignDead";
	monster "que_sign01",205,190,"Rotten Corpse",1423,1,"#signserin::OnSignDead";
	monster "que_sign01",190,205,"Rotten Corpse",1423,1,"#signserin::OnSignDead";
	monster "que_sign01",200,200,"Ancient Wraith",1475,1,"#signserin::OnSignDead";
	monster "que_sign01",200,180,"Ancient Wraith",1475,1,"#signserin::OnSignDead";
	monster "que_sign01",210,210,"Ancient Mummy",1522,1,"#signserin::OnSignDead";
	monster "que_sign01",180,180,"Ancient Mummy",1522,1,"#signserin::OnSignDead";
	monster "que_sign01",196,195,"Dark Lord Incarnation",1605,1,"#signserin::OnSignDead";
	end;

OnSignDead:
	set $@Sign_Summon,$@Sign_Summon -1;
	if($@Sign_Summon > 0) end;
	set $signroomfull,3;
	stopnpctimer;
	goto OnSerin;

OnCooldown:
	initnpctimer;
	end;

OnTimer600000:
	disablenpc "Serin#serin";
	killmonster "que_sign01","#signserin::OnSignDead";
	set $signroomfull,1;
	set $signparty,0;
	areawarp "que_sign01",229,227,166,162,"niflheim",30,156;
	areawarp "que_sign02",1,1,400,400,"niflheim",30,156;
	stopnpctimer;
	end;
}

que_sign01,1,1,1	script	#signserin2	-1,{

OnInit:
	disablenpc "Serin#serin2";
	set $signroom2full,0;
	end;

OnSerin:
	enablenpc "Serin#serin2";
	end;

OnSummon:
	disablenpc "Serin#serin2";
	set $@Sign_Summon2,1;
	areamonster "que_sign01",188,34,205,55,"Dark Lord Incarnation",1605,1,"#signserin2::OnSignDead";
	end;

OnSignDead:
	set $@Sign_Summon2,$@Sign_Summon2 -1;
	if($@Sign_Summon2 > 0) end;
	set $signroom2full,3;
	stopnpctimer;
	goto OnSerin;

OnCooldown:
	initnpctimer;
	end;

OnTimer600000:
	disablenpc "Serin#serin2";
	killmonster "que_sign01","#signserin2::OnSignDead";
	set $signroom2full,1;
	areawarp "que_sign01",229,77,166,12,"niflheim",30,156;
	stopnpctimer;
	end;
}

que_sign01,197,195,5	script	Serin#serin	90,{

	if(signquest > 55) goto L_Done;
	if(Sign_Branch8A > 7) goto L_TryAgain;
	if(Sign_Branch8A > 6) goto L_Success;
	if(Sign_Branch8A > 4) goto L_Summon;
	if(Sign_Branch8A < 4) goto L_NoWord;
	mes "[Serin]";
	mes "You're finally here.";
	mes "That witch has been watching";
	mes "my every move, so she probably";
	mes "knows what I'm up to by now...";
	next;
	menu "Why are you doing this...",-;
	mes "[Serin]";
	mes "You don't understand";
	mes "the horrific experience";
	mes "of being bound to Niflheim.";
	mes "I'm sick of breathing death";
	mes "and feeding on despair.";
	mes "I want to live again!";
	next;
	menu "Is that why you want Dark Lord...?",-;
	mes "[Serin]";
	mes "Unfortunately, the symbol";
	mes "which Lady Hell gave you is";
	mes "limited to a one time use. Its";
	mes "power wasn't enough to bring me";
	mes "back, so summoning Dark Lord is";
	mes "my last chance.";
	next;
	menu "But if Dark Lord comes to Rune-Midgard...",-;
	mes "[Serin]";
	mes "Oh, I'm pretty sure of";
	mes "what will happen if Dark Lord";
	mes "enters the realm of the living.";
	mes "He'll destroy Rune-Midgard and";
	mes "bring death to thousands and";
	mes "thousands of people.";
	next;
	mes "[Serin]";
	mes "So if I came back to life";
	mes "and everyone else were dead,";
	mes "however, by summoning Dark";
	mes "Lord, you might be thinking it'd be";
	mes "pretty pointless for me to come";
	mes "back. But I don't care.";
	next;
	mes "[Serin]";
	mes "The living don't appreciate";
	mes "what they have, so they ought";
	mes "to be punished. They can all go to";
	mes "Niflheim while I enjoy the warmth";
	mes "of the sun and the fresh outside";
	mes "air. Everyone should die...";
	next;
	mes "[Serin]";
	mes "Maybe you might not";
	mes "pity my situation since you've";
	mes "never been bound to Niflheim,";
	mes "but I'm begging you. Don't get";
	mes "in my way, " +strcharinfo(0) + ".";
	next;
	menu "Let Her",L_Go,"Stop Her",-;
	set Sign_Branch8A,5;
	close;

L_Go:
	mes "[Serin]";
	mes "Are you really willing";
	mes "to throw so much away for";
	mes "my sake? You do understand";
	mes "that you'll be failing the ordeals set before you by the gods...";
	next;
	switch( select( "I changed my mind for Rune-Midgard.","I do, and it's alright..." ) )
	{
		case 1:
			set Sign_Branch8A,5;
			close;
		
		case 2:
			mes "[Serin]";
			mes "The least I can";
			mes "do is send you back";
			mes "to Rune-Midgard and";
			mes "ask the Dark Lord to spare";
			mes "you. Thank you so much...";
			set sign_fail,1;
			getexp 200000,0;
			close2;
			set $signroomfull,0;
			warp "umbala",132,203;
			end;
	}

L_Summon:
	mes "[Serin]";
	mes "If you think that";
	mes "I can't summon Dark Lord";
	mes "without the symbol, then you're";
	mes "mistaken. I've been collecting";
	mes "the power of despair!";
	next;
	mes "[Serin]";
	mes "Do you remember what";
	mes "happened to the dead that you";
	mes "helped on my behalf? Even if they";
	mes "seemed to have found shelter at";
	mes "first, they cannot escape my";
	mes "deep hollow of despair...";
	next;
	mes "[Serin]";
	mes "And that poor little girl,";
	mes "Alakina Ann? She still";
	mes "hasn't realized that she's dead!";
	next;
	mes "[Serin]";
	mes "You gave her hope,";
	mes "but ultimately, you can't";
	mes "keep your promise to bring her";
	mes "home. Oh, her disappointment";
	mes "must be so crushing...";
	next;
	mes "[Serin]";
	mes "Yes...";
	mes "By trying to help";
	mes "you gave them nothing";
	mes "but pain, just as I planned.";
	mes "Now I have enough despair";
	mes "to summon Dark Lord!";
	next;
	mes "[Serin]";
	mes "I don't want us to fight,";
	mes "but I can't let you stop me.";
	mes "I've already sold my soul to";
	mes "Dark Lord to become a living";
	mes "human again so I can't give up";
	mes "now! We'll have to battle!";
	close2;
	donpcevent "#signserin::OnSummon";
	set Sign_Branch8A,7;
	end;

L_TryAgain:
	mes "[Serin]";
	mes "Haven't you";
	mes "given up yet?";
	mes "Please don't";
	mes "try to stop me!";
	close2;
	set Sign_Branch8A,7;
	donpcevent "#signserin::OnSummon";
	end;

L_Success:
	mes "[Serin]";
	mes "I see now.";
	mes "Soon, I'll lose my memories";
	mes "and remain dead in Niflheim.";
	mes "Just like all the others. Still,";
	mes "may I ask you one question?";
	next;
	mes "[Serin]";
	mes "With that symbol, you";
	mes "could order the dead to do";
	mes "whatever you want. Why didn't";
	mes "you use it to command me to quit?";
	next;
	mes "[Serin]";
	mes "...";
	mes "......";
	mes "..........";
	next;
	mes "[Serin]";
	mes "I see it now.";
	mes "The kindness in your eyes";
	mes "tells me everything. You wanted to";
	mes "give me another chance. But in the";
	mes "end, I managed to destroy the";
	mes "chance you had given me.";
	next;
	mes "[Serin]";
	mes "Even though I'm nothing but";
	mes "a spirit now, it was an honor";
	mes "for me to meet somebody like you.";
	mes "Although I'll lose my memories,";
	mes "I'll try not to forget you.";
	next;
	mes "[Serin]";
	mes "My memories of your";
	mes "courage and kindness";
	mes "are more precious to";
	mes "me than life itself.";
	next;
	mes "[Serin]";
	mes "Farewell, now.";
	mes "And good luck on";
	mes "your travels, my friend...";
	delitem 7308,1;
	set signquest,56;
	close;

L_NoWord:
	mes "[Serin]";
	mes "...";
	close;

L_Done:
	mes "^3355FFYou helped the";
	mes "unconscious Serin";
	mes "and returned to Niflheim.";
	close2;
	set $signroomfull,0;
	warp "niflheim",30,156;
	end;
}

que_sign01,197,45,5	script	Serin#serin2	90,{

	if (signquest > 55) goto L_Done;
	if (Sign_Branch8B > 3) goto L_TryAgain;
	if (Sign_Branch8B > 2) goto L_Success;
	if (Sign_Branch8B > 1) goto L_Summon;
	mes "[Serin]";
	mes "As its magic power grows,";
	mes "the Magic Circle is nearing completion. The symbol which I've asked you for is the last material needed for summoning Dark Lord.";
	next;
	mes "[Serin]";
	mes "However, the power of that";
	mes "symbol can be used to complete";
	mes "the Magic Circle or destroy it. Would you hand it over to me? I choose to destroy this...";
	next;
	mes "[Serin]";
	mes "Please...";
	mes "Let me have the symbol.";
	next;
	select( "Give Serin the symbol." );
	mes "[Serin]";
	mes "This could be";
	mes "pretty dangerous";
	mes "so please step back...";
	delitem 7305,1;
	set Sign_Branch8B,2;
	close;
	
L_Summon:
	mes "[Serin]";
	mes "I'm sorry.";
	mes "But I have to do this";
	mes "to summon Dark Lord.";
	next;
	select( "But why...?" );
	mes "[Serin]";
	mes "It was never the witch";
	mes "that wanted Dark Lord summoned,";
	mes "but me. I've always wanted to return to my human form. I'm sick and tired of being bound here in Niflheim!";
	next;
	mes "[Serin]";
	mes "Unfortunately, the symbol";
	mes "which Lady Hell gave you is";
	mes "limited to a one time use. Its";
	mes "power wasn't enough to bring me";
	mes "back, so summoning Dark Lord is";
	mes "my last chance.";
	next;
	select( "But if Dark Lord comes to Rune-Midgard..." );
	mes "[Serin]";
	mes "Oh, I'm pretty sure of";
	mes "what will happen if Dark Lord";
	mes "enters the realm of the living. He'll destroy Rune-Midgard and bring death to thousands and thousands of people.";
	next;
	mes "[Serin]";
	mes "So if I came back to life";
	mes "and everyone else were dead,";
	mes "However, by summoning Dark Lord,";
	mes "you might be thinking it'd be pretty pointless for me to come back. But you know what? I don't care.";
	next;
	mes "[Serin]";
	mes "The living don't appreciate";
	mes "what they have, so they ought";
	mes "to be punished. They can all go to Niflheim while I enjoy the warmth of the sun and the fresh outside air.";
	next;
	mes "[Serin]";
	mes "Maybe you might not";
	mes "pity my situation since you've";
	mes "never been bound to Niflheim,";
	mes "but I'm begging you. Don't get";
	mes "in my way.";
	next;
	switch( select( "Alright. I'll let you go.","No, you have to be stopped." ) )
	{
		case 1:
			mes "[Serin]";
			mes "Are you really willing";
			mes "to throw so much away for";
			mes "my sake? You do understand";
			mes "that you'll be failing the ordeals set before you by the gods...";
			next;
			switch( select( "I changed my mind for Rune-Midgard.","I do, and it's alright..." ) )
			{
				case 1:
					break;
					
				case 2:
					mes "[Serin]";
					mes "The least I can";
					mes "do is send you back";
					mes "to Rune-Midgard and";
					mes "ask the Dark Lord to spare";
					mes "you. Thank you so much...";
					set signfail,1;
					getexp 200000,0;
					set $signroom2full,0;
					close2;
					warp "umbala",132,203;
					end;
			}
					
		case 2:
			mes "[Serin]";
			mes "...";
			mes "I really don't want to fight you,";
			mes "but I've come too far to give up now. If you insist on interfering, then you leave me no choice...";
			next;
			mes "[Dark Lord]";
			mes "^330033Insolent mortal!";
			mes "Do you really think";
			mes "you have a chance of";
			mes "stopping me? Hmpf.";
			mes "Every fool must learn.";
			mes "Prepare to die!^000000";
			donpcevent "#signserin2::OnSummon";
			set Sign_Branch8B,3;
			close;
	}

L_TryAgain:
    mes "[Serin]";
    mes "Haven't you";
    mes "given up yet?";
    mes "Please don't";
    mes "try to stop me!";
    close2;
    set Sign_Branch8B,3;
    donpcevent "#signserin2::OnSummon";
    end;

L_Success:
    mes "[Serin]";
    mes "I see now.";
    mes "Soon, I'll lose my memories";
    mes "and remain dead in Niflheim.";
    mes "Just like all the others. Still,";
    mes "may I ask you one question?";
    next;
    mes "[Serin]";
    mes "With that symbol, you";
    mes "could order the dead to do";
    mes "whatever you want. Why didn't";
    mes "you use it to command me to quit?";
    next;
    mes "[Serin]";
    mes "...";
    mes "......";
    mes "..........";
    next;
    mes "[Serin]";
    mes "I see it now.";
    mes "The kindness in your eyes";
    mes "tells me everything. You wanted to";
    mes "give me another chance. But in the";
    mes "end, I managed to destroy the";
    mes "chance you had given me.";
    next;
    mes "[Serin]";
    mes "Even though I'm nothing but";
    mes "a spirit now, it was an honor";
    mes "for me to meet somebody like you.";
    mes "Although I'll lose my memories,";
    mes "I'll try not to forget you.";
    next;
    mes "[Serin]";
    mes "My memories of your";
    mes "courage and kindness";
    mes "are more precious to";
    mes "me than life itself.";
    next;
    set signquest,56;
    mes "[Serin]";
    mes "Farewell, now.";
    mes "And good luck on";
    mes "your travels, my friend...";
    close;

L_NoWord:
    mes "[Serin]";
    mes "...";
    close;

L_Done:
    mes "^3355FFYou helped the";
    mes "unconscious Serin";
    mes "and returned to Niflheim.";
    close2;
    set $signroom2full,0;
    warp "niflheim",30,156;
    end;
}


function	script	Sign_Party	{

	getpartymember $signparty,1;
	set @i,-1;

L_Check:
	set @i,@i+1;
	if(getcharid(0) == $@partymembercid[@i]) goto L_Party;
	if(@i < $@partymembercount -1) goto L_Check;
	return;

L_Party:
	mes "[Kirkena]";
	mes "That Witch's Medal...";
	mes "You must be here to";
	mes "help your friend take";
	mes "care of Serin. Are you";
	mes "ready to go, " + strcharinfo(0) + "?";
	next;
	menu "Yes.",-,"Not yet...",L_Notyet;
	menu "Go directly to Serin.",-,"Path towards Serin.",L_Path;
	mes "[Kirkena]";
	mes "Thank you";
	mes "for your help.";
	mes "Serin's threat may";
	mes "be too much for just";
	mes "one adventurer alone...";
	close2;
	warp "que_sign01",195,189;
	end;
	

L_Notyet:
	mes "[Kirkena]";
	mes "Please hurry...";
	mes "Time is of the essence...";
	close;

L_Path:
	mes "[Kirkena]";
	mes "Thank you";
	mes "for your help.";
	mes "Serin's threat may";
	mes "be too much for just";
	mes "one adventurer alone...";
	close2;
	warp "que_sign02",135,313;
	end;

}

// Warp to leave Serin's room

que_sign01,178,169,0	script	#serinwarp	45,1,1,{

    if ($signroomfull > 2) {
        if (getmapusers("que_sign02") > 0 || getareausers("que_sign01",229,227,166,162) > 0) end;
        donpcevent "#signserin::OnInit";
    }
    warp "niflheim",30,156;
    end;
}

que_sign01,178,19,0	script	#serinwarp2	45,1,1,{

	set $signroom2full,0;
	warp "niflheim",30,156;
	end;
}

// Fountain script

geffen,119,55,1	script	GeffeniaWarper	45,2,2,{

    switch ($GeffeniaWarp) {

    case 1:
        warp "gefenia01",58,169;
        break;

    case 2:
        warp "gefenia02",116,115;
        break;

    case 3:
        warp "gefenia03",130,206;
        break;

    case 4:
        warp "gefenia04",133,88;
        break;

    }

OnWarping:
    misceffect 215;
    mapannounce "geffen","With a flash of light from Geffen Fountain, the door to Geffenia has opened.",1,0x9CFF00;
    misceffect 247;
    initnpctimer;
    end;

OnTimer15000:
    misceffect 247;
    end;

OnTimer30000:
    misceffect 247;
    end;

OnTimer45000:
    stopnpctimer;
    mapannounce "geffen","The portal to Geffenia is now closed.",1,0x9CFF00;
    misceffect 16;

OnInit:
    disablenpc "GeffeniaWarper";
    set $GeffeniaWarp,0;
    end;

}

geffen,119,49,1	script	Fountain#SignFountain	111,{

	if(countitem(7025) && !$GeffeniaWarp)goto L_Lament;
	mes "^3355FFThis is the";
	mes "Geffen Fountain.";
	close;

L_Lament:
	specialeffect2 EF_LEVEL99;
	mes "^3355FFAs you approach the fountain, a strange light begins to emit from the Lucifer's Lament in your pocket and from something deep within the fountain's water.";
	next;
	menu "Throw Lucifer's Lament into the fountain.",L_Throw,"Ignore the light.",-;

	mes "......";
	close;

L_Throw:
	misceffect 247;
	set $GeffeniaWarp,rand(1,4);
	enablenpc "GeffeniaWarper";
	donpcevent "GeffeniaWarper::OnWarping";
	mes "^3355FFOnce the Lucifer's Lament";
	mes "splashes into the water, the";
	mes "light reveals a peculiar warp";
	mes "in front of the fountain...";
	close;

}

//==================================================
// que_sign02 - Monster Spawns
//==================================================

que_sign02,0,0,0,0	monster	Incubus	1580,1,0,0,0
que_sign02,0,0,0,0	monster	Wraith Dead	1566,3,0,0,0
que_sign02,0,0,0,0	monster	Evil Druid	1435,5,0,0,0
que_sign02,0,0,0,0	monster	Wraith	1475,5,0,0,0
que_sign02,0,0,0,0	monster	Injustice	1446,10,0,0,0
que_sign02,0,0,0,0	monster	Skeleton Prisoner	1479,10,0,0,0
que_sign02,0,0,0,0	monster	Zombie Prisoner	1480,10,0,0,0
que_sign02,0,0,0,0	monster	Ghoul	1423,15,0,0,0