summaryrefslogtreecommitdiff
path: root/npc/re/jobs/3-2/shadow_chaser.txt
blob: 3b6f6bcd04237a7a176757c9b2db78e0e7d78808 (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
//================= Hercules Script =======================================
//=       _   _                     _
//=      | | | |                   | |
//=      | |_| | ___ _ __ ___ _   _| | ___  ___
//=      |  _  |/ _ \ '__/ __| | | | |/ _ \/ __|
//=      | | | |  __/ | | (__| |_| | |  __/\__ \
//=      \_| |_/\___|_|  \___|\__,_|_|\___||___/
//================= License ===============================================
//= This file is part of Hercules.
//= http://herc.ws - http://github.com/HerculesWS/Hercules
//=
//= Copyright (C) 2012-2015  Hercules Dev Team
//= Copyright (C)  Joseph
//= Copyright (C)  Euphy
//= Copyright (C)  Oshinoke
//= Copyright (C)  ultragunner
//= Copyright (C)  Muad_Dib
//=
//= Hercules is free software: you can redistribute it and/or modify
//= it under the terms of the GNU General Public License as published by
//= the Free Software Foundation, either version 3 of the License, or
//= (at your option) any later version.
//=
//= This program is distributed in the hope that it will be useful,
//= but WITHOUT ANY WARRANTY; without even the implied warranty of
//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//= GNU General Public License for more details.
//=
//= You should have received a copy of the GNU General Public License
//= along with this program.  If not, see <http://www.gnu.org/licenses/>.
//=========================================================================
//= Shadow Chaser Job Quest
//================= Description ===========================================
//= Job change Quest from Rogue / Stalker -> Shadow Chaser.
//================= Current Version =======================================
//= 1.3
//=========================================================================

morocc,156,70,3	script	Girl#sc00	4_F_04,3,3,{
	mes "[Girl]";
	if (BaseJob == Job_Rogue) {
		if (job_sha == 0) {
			if (BaseLevel < 99 || JobLevel < 50) {
				mes "You're not ready.";
				close;
			}
			mes "Hey? Stop!";
			mes "Aren't you interested in hearing a funny story?";
			next;
			select("What story?");
			mes "[Girl]";
			mes "Have you been to the guild recently?";
			mes "Some interesting things have happened lately.";
			mes "Maybe new guests...";
			next;
			mes "[Girl]";
			mes "I heard it has to do with something called a Shadow Chaser.";
			mes "You should go and check it out.";
			next;
			mes "[Girl]";
			mes "Every time they visit us, they are on new missions.";
			mes "What missions are they doing I wonder?";
			job_sha = 1;
			close;
		} else if (job_sha == 1) {
			mes "If you have any interest... just go!";
			mes "Do you know where the guild is?";
			next;
			mes "[Girl]";
			mes "It is in a fortress under Pharos lighthouse.";
			mes "Sigh....";
			mes "You must visit there!";
			close;
		} else {
			mes "Wow, you look busy.";
			mes "Have you heard that there are visiters?";
			mes "They're on a treasure hunt!";
			next;
			mes "[Girl]";
			mes "It must be fun.";
			mes "I wanna try!";
			close;
		}
	}
	mes "Eh?";
	mes "I don't have anything for you...";
	close;
OnTouch:
	if (BaseJob == Job_Rogue && BaseLevel > 98 && JobLevel > 49 && job_sha == 0) {
		mes "[Girl]";
		mes "Hey? Stop!";
		mes "Aren't you interested in hearing a funny story?";
		close;
	}
	end;
}

in_rogue,376,100,5	script	Guild Member#sc01	4_M_ROGUE,{
	if (BaseJob == Job_Rogue) {
		if (job_sha < 2) {
			@job_sha = 0;
		OnDialogue:
			mes "[Vin]";
			mes "Ah? What's this?";
			mes "Lotte, you know what this means?";
			next;
			mes "[Lotte]";
			mes "Hmm '3847147298' this is the only thing I've used on...";
			mes "Then, why'd they use numbers to name the villages?";
			next;
			mes "[Lotte]";
			mes "Vin! This is crap!";
			next;
			mes "[Vin]";
			mes "What?";
			next;
			if (BaseLevel == 99) {
				mes "[Scary man]";
				mes "Hey there?";
				next;
				switch(select("Me?", "Sorry, I am busy...")) {
				case 1:
					mes "[Scary man]";
					mes "Yes! You there!";
					mes "Let me introduce myself to you.";
					mes "My name is Urupa.";
					mes "If you are interested, could you come over here?";
					if (@job_sha == 1) {
						job_sha = 1;
						@job_sha = 0;
					}
					close;
				case 2:
					mes "[Scary man]";
					mes "What? You're just going to give up like that?";
					mes "So disappointing...";
					close;
				}
			}
			mes "[Scary man]";
			mes "You are supposed to figure this one out!";
			mes "But you are still so... weak.";
			close;
		} else {
			mes "[Vin]";
			mes "Yes...";
			mes "Sooner or later I'll solve it myself if I dare to get the map...!";
			close;
		}
	} else if (Class == Job_Shadow_Chaser || Class == Job_Shadow_Chaser_T || Class == Job_Baby_Chaser) {
		mes "[Vin]";
		mes "Huh! This is a Shadow Chaser!";
		mes "How unbelievable!";
		mes "But it seems familiar doesn't it?";
		next;
		mes "[Vin]";
		mes "Hmm......";
		mes "..........";
		mes "Oh my! I can't remember...!";
		close;
	}
	mes "[Vin]";
	mes "Ah? Who's there?";
	mes "We are flooded with guests today...";
	close;
}

in_rogue,379,99,1	script	Guild Member#sc02	4_F_ROGUE,{
	if (BaseJob == Job_Rogue) {
		if (job_sha < 2) {
			@job_sha = 1;
			doevent "Guild Member#sc01::OnDialogue";
			end;
		}
		mes "[Lotte]";
		mes "What?";
		mes "Damn...";
		next;
		mes "[Lotte]";
		mes "I just hate numbers!";
		close;
	} else if (Class == Job_Shadow_Chaser || Class == Job_Shadow_Chaser_T || Class == Job_Baby_Chaser) {
		mes "[Lotte]";
		mes "Wow!";
		mes "You are the one!";
		mes "Just extraordinary smart and emotionally advanced...";
		next;
		mes "[Lotte]";
		mes "SHADOW CHASER!";
		mes "Wow when could I become one.";
		close;
	}
	mes "[Lotte]";
	mes "I don't need anything.";
	close;
}

in_rogue,379,101,3	script	Scary Man#sc03	1_M_SIGNROGUE,{
	if (job_sha == 0) {
		if (BaseJob == Job_Rogue && BaseLevel > 98 && JobLevel > 49) {
			mes "[Scary man]";
			mes "Oh you are so talented?";
			mes "Now I have one interesting quetion! Do you want it solved?";
			next;
			mes "[Urupa]";
			mes "My name is Urupa.";
			mes "If you have anything interesting just challenge it.";
			job_sha = 1;
			close;
		}
		mes "[Scary man]";
		mes "What's your business?";
		mes "I don't have anything to do with you.";
		mes "I don't care for people like you. I just deal with the extraordinary.";
		close;
	} else if (job_sha == 1) {
		mes "[Urupa]";
		mes "We give a quiz and nobody has yet to solve it.";
		mes "You want it to be solved?";
		mes "This is a code.";
		mes "Look at it.";
		next;
		mes "- The message is -";
		mes "- written in a cipher. -";
		mes "The mission seems to be to break the code...";
		next;
		mes "[Urupa]";
		mes "This is the code.";
		mes "It is just numbering a cipher to make the message make sense.";
		mes "For example...";
		next;
		callsub L_Code,1;
		mes "[Urupa]";
		mes "Now here's what needs to be to solved.";
		mes "Decipher the code and go where it tells you...";
		next;
		callsub L_Code,2;
		next;
		mes "[Urupa]";
		mes "So write this down!";
		mes "I expected that you would take this adventure!";
		job_sha = 2;
		setquest 7160;
		close;
	} else if (job_sha == 2) {
		mes "[Urupa]";
		mes "You want one more explanation?";
		mes "Or do you just want the code?";
		next;
		switch(select("More explanation.", "Get the code.")) {
		case 1:
			callsub L_Code,1;
			mes "[Urupa]";
			mes "Now it's up to you!";
			mes "So go! Go!";
			close;
		case 2:
			mes "[Urupa]";
			mes "Let me show you the code again...";
			next;
			callsub L_Code,2;
			close;
		}
	} else if (job_sha > 2 && job_sha < 31) {
		mes "[Urupa]";
		mes "Ok, have you solved it yet?";
		mes "Good luck!";
		close;
	} else if (job_sha == 31) {
		mes "[Urupa]";
		mes "You have just become a Shadow Chaser.";
		mes "The quizzes are for collecting the right people...";
		close;
	}
	mes "[Urupa]";
	mes "Nothing special?";
	mes "As you see... I am ok here!";
	close;
L_Code:
	if (getarg(0) == 1) {
		mes "[Urupa]";
		mes "3511543433";
		mes "This means PAYON.";
		next;
		mes "[Urupa]";
		mes "The numbers have to be paired.";
		mes "3511543433";
		mes "35 11 54 34 33 breaks down into 5 pairs!";
		next;
		mes "[Urupa]";
		mes "So the pairs mean:";
		mes "35 - P, 11 - A,";
		mes "54 - Y, 34 - O, 33 - N.";
		next;
		mes "[Urupa]";
		mes "Here are the numbers all in a row.";
		mes "33, 34, 35!";
		mes "N , O , P ?";
		next;
	} else {
		mes "Here we go!";
		next;
		mes "^4d4dff";
		mes "43231114345243";
		mes "11441531241542";
		mes "2433";
		mes "3542343344154211";
		mes "^000000";
		next;
		mes "[Urupa]";
		mes "Could you do that?";
		mes "If you visit there, you might be surprised...";
	}
	return;
}

s_atelier,65,123,5	script	Manager#sc04_prt	4_M_KHKYEL,{
	if (job_sha == 2) {
		mes "[Manager]";
		mes "Where's Max!?";
		mes "Damn, there're so many strangers around.";
		mes "Hey...";
		next;
		switch(select("Show the deciphered code!", "...")) {
		case 1:
			mes "[Manager]";
			mes "Wow, you deciphered it?";
			mes "So, what's the right answer?";
			next;
			input(.@inputstr$);
			if (.@inputstr$ == "shadows atelier in prontera" || .@inputstr$ == "SHADOWS ATELIER IN PRONTERA") {
				mes "[Manager]";
				mes "Good.";
				mes "You just got it.";
				mes "Then why have you come over here?";
				next;
				select("The code says here's the one...");
				mes "[Manager]";
				mes "So you are the one.";
				mes "Could you wait for a sec'?";
				job_sha = 3;
				close;
			}
			mes "[Manager]";
			mes "Remember to put the code exactly as it should be deciphered.";
			mes "Maybe you should try again...";
			close;
		case 2:
			mes "[Manager]";
			mes "Only allowed for people involved....";
			mes "Could you ask the clerk at the shop?";
			close;
		}
	} else if (job_sha == 3) {
		mes "[Manager]";
		mes "Now let me introduce myself to you!";
		mes "I am Graham, the manager of this shadow gallery...";
		next;
		mes "[Graham]";
		mes "You may have already guessed.";
		mes "This is an additional facility for rogues.";
		mes "We adopt things like art and other historical stuff.";
		next;
		mes "[Graham]";
		mes "These things are illegal.";
		mes "Such things you guys bring us from historical places...";
		mes "Ok.";
		next;
		mes "[Graham]";
		mes "So we've got to know things like...";
		mes "special codes and information where the treasures are.";
		next;
		mes "[Graham]";
		mes "We need you guys...";
		mes "So we've asked assistance from the Rogue guild.";
		next;
		select("Any other places you guys work?");
		mes "[Graham]";
		mes "Ah, yes...";
		mes "We are in Prontera, Juno, Rachel, and Lighthalzen.";
		mes "Ok?";
		next;
		mes "[Graham]";
		mes "Anyway....";
		mes "We all really want to know where the treasures are.";
		mes "So the code is to break into each of those places.";
		next;
		mes "[Graham]";
		mes "You seem like the right one.";
		mes "So I will give you the code.";
		mes "Please find the treasure!";
		next;
		switch(select("No way!", "I'll give it a try!")) {
		case 1:
			mes "[Graham]";
			mes "What the hell?";
			mes "If you are not going to help then I'll just find someone else.";
			job_sha = 4;
			close;
		case 2:
			mes "[Graham]";
			mes "You are so powerful!";
			mes "So here...";
			next;
			callsub L_Code,0;
			close;
		}
	} else if (job_sha == 4) {
		mes "[Graham]";
		mes "Are you interested in it now?";
		next;
		switch(select("Not at all.", "Hmm, I'll take it.")) {
		case 1:
			mes "[Graham]";
			mes "Damn it.";
			close;
		case 2:
			mes "[Graham]";
			mes "You are just so picky...";
			mes "Here...";
			next;
			callsub L_Code,0;
			close;
		}
	} else if (job_sha == 5) {
		mes "[Graham]";
		mes "Did you find something?";
		next;
		switch(select("I need an explanation.", "What's the code again?")) {
		case 1:
			mes "[Graham]";
			mes "You are so powerful!";
			next;
			callsub L_Code,1;
			mes "[Graham]";
			mes "Got it?";
			close;
		case 2:
			mes "[Graham]";
			mes "I've given you the code.";
			mes "So crazy...";
			mes "Don't you have a memo of it?";
			close;
		}
	} else if (job_sha == 6 || job_sha == 7) {
		mes "[Graham]";
		mes "Nothing special...?";
		mes "You've been to places...?";
		mes "There's definetely something.";
		next;
		mes "Graham seems to know something.";
		mes "I'd better go there again.";
		close;
	} else if (job_sha == 8) {
		mes "[Graham]";
		mes "So, any improvements?";
		next;
		select("Show him the key.");
		mes "[Graham]";
		mes "Deception!";
		mes "You are deceiving me!";
		next;
		mes "[Graham]";
		mes "This is all?";
		mes "Only one key.";
		mes "How deceptive!";
		mes "Just as I thought, it's a kind of treasure.";
		next;
		mes "[Graham]";
		mes "You just gave me a shock.";
		mes "Ok...";
		mes "The code is kept in galleries.";
		next;
		mes "[Graham]";
		mes "Ok there's more galleries than this one...";
		mes "Juno and Rachel have the codes...";
		next;
		mes "[Graham]";
		mes "This is just what I was guessing.";
		mes "The codes kept by other galleries aren't treasures at all...";
		next;
		mes "[Graham]";
		mes "Go to Rachel...";
		next;
		mes "[Graham]";
		mes "Find the gallery in Rachel...";
		mes "Tell 'em that you just came from Graham and ask for the code.";
		next;
		mes "[Graham]";
		mes "Ok?";
		mes "Then go there!";
		job_sha = 9;
		changequest 7165,7166;
		close;
	} else if (job_sha == 9) {
		mes "[Graham]";
		mes "There're four galleries...";
		mes "Prontera, Rachel, Juno, and Lighthalzen.";
		next;
		mes "[Graham]";
		mes "One of the codes kept by the galleries is already deciphered.";
		mes "It's just one key....";
		next;
		mes "[Graham]";
		mes "But here's what I am guessing.";
		mes "The codes are linked to each other.";
		mes "And the purpose is different for each one.";
		next;
		mes "[Graham]";
		mes "For example...";
		mes "If one is just a key then the others are things requiring the key.";
		next;
		mes "[Graham]";
		mes "The key must be for opening the box.";
		mes "Can you guess what's inside?";
		next;
		select("Umm, treasure?");
		mes "[Graham]";
		mes "YES.";
		mes "That's why we're here!";
		next;
		mes "[Graham]";
		mes "People think that we are just trading the stuff...";
		mes "But we are here for very special things.";
		next;
		mes "[Graham]";
		mes "Go to ^4d4dffRachel Gallery^000000 and get the code...";
		mes "They will support you if you explain everything.";
		mes "Ok?";
		close;
	} else if (job_sha > 9 && job_sha < 30) {
		mes "[Graham]";
		mes "How about everything?";
		mes "We are dying to know about the key.";
		mes "So you got support from the other galleries.";
		close;
	} else if (job_sha > 29) {
		mes "[Graham]";
		mes "Shadow Chaser!!";
		mes "Ah!";
		next;
		mes "[Graham]";
		mes "It's not intentionally decieving...";
		mes "Hahaha!!";
		next;
		mes "[Graham]";
		mes "Isn't it interesting?";
		mes "It's more than just taking exams.";
		mes "We got to know about you and figured out who you are.";
		next;
		mes "[Graham]";
		mes "How's my acting?";
		mes "It worked?";
		next;
		mes "[Graham]";
		mes "If you need anything just ask them what you want.";
		close;
	}
	mes "[Manager]";
	mes "Only allowed for people involved...";
	mes "Could you ask the clerk at the shop?";
	close;
L_Code:
	mes "-note.";
	mes "^4d4dff 13 15 18 15 3 3 18 21 9 14^000000";
	mes "key : 0 -";
	next;
	select("These are just numbers...");
	mes "[Graham]";
	mes "The only difference from the one from the Rogue Guild is that you don't need to match them in pairs.";
	next;
	mes "[Graham]";
	mes "Also here's the keyword...";
	mes "This case is key 0.";
	next;
	mes "[Graham]";
	mes "Let's see. For example.";
	mes "13 15 18 15 3 3 18 21 9 14 =";
	mes "M O R O C C R U I N";
	next;
	mes "[Graham]";
	mes "Look at this... C = 3.";
	mes "C is the third letter right?";
	next;
	mes "[Graham]";
	mes "Do you get it?";
	mes "But this won't be given with keyword 0. When I give you the keyword you can figure it out for yourself.";
	next;
	if (getarg(0)) return;
	mes "[Graham]";
	mes "Now let's move on to the mission.";
	mes "Here's the cipher...";
	next;
	.@key01 = rand(3,5);
	.@a = 1 + .@key01;
	.@b = 2 + .@key01;
	.@d = 4 + .@key01;
	.@e = 5 + .@key01;
	.@f = 6 + .@key01;
	.@h = 8 + .@key01;
	.@i = 9 + .@key01;
	.@l = 12 + .@key01;
	.@n = 14 + .@key01;
	.@o = 15 + .@key01;
	.@r = 18 + .@key01;
	.@s = 19 + .@key01;
	.@t = 20 + .@key01;
	.@u = 21 + .@key01;
	mes "^4d4dff" + .@b + " " + .@l + " " + .@u + " " + .@e + " ";
	mes "" + .@f + " " + .@i + " " + .@r + " " + .@e + " ";
	mes "" + .@i + " " + .@n + " ";
	mes "" + .@t + " " + .@u + " " + .@r + " " + .@t + " " + .@l + " " + .@e + " ";
	mes "" + .@i + " " + .@s + " " + .@l + " " + .@a + " " + .@n + " " + .@d + " ";
	mes "" + .@t + " " + .@h + " " + .@i + " " + .@r + " " + .@d + " ";
	mes "" + .@f + " " + .@l + " " + .@o + " " + .@o + " " + .@r + " ";
	mes "key : " + .@key01 + ".";
	job_sha = 5;
	erasequest 7160;
	if (.@key01 == 3) setquest 7161;
	else if (.@key01 == 4) setquest 7162;
	else if (.@key01 == 5) setquest 7163;
	next;
	mes "[Graham]";
	mes "Just take it.";
	mes "I have a bad memory.";
	mes "You have all the information so you are on your own now.";
	next;
	mes "[Graham]";
	mes "Once you get something come over here.";
	next;
	mes "- You take the memo from Graham.";
	mes "Don't forget it! -";
	close;
}

s_atelier,168,65,5	script	Manager#sc08_ra	4_M_DOCTOR,{
	if (job_sha < 10) {
		mes "[Manager]";
		mes "Who are you?";
		mes "This place isn't for you.";
		next;
		if (job_sha < 9) {
			mes "[Manager]";
			mes "What are they doing up there?";
			mes "Bleh...";
			close;
		}
		switch(select("Give me your password!", "I was sent by Graham.")) {
		case 1:
			mes "[Manager]";
			mes "You need my password?";
			mes "How much would you pay me?";
			next;
			mes "[Manager]";
			mes "10 million zeny?";
			mes "Ok I'll take that then!";
			next;
			mes "[Manager]";
			mes "Yeah right!";
			mes "Who the hell are you?";
			mes "How dare you just ask for my password?";
			close;
		case 2:
			mes "[Manager]";
			mes "Graham?";
			mes "Why?";
			next;
			if (countitem(Cheat_Key) == 0) {
				mes "You don't seem to have brought it here.";
				next;
				mes "[Manager]";
				mes "Are you mute?";
				mes "I don't know why Graham sent you here.";
				mes "Just go if you don't have any business here!";
				close;
			}
			mes "[Manager]";
			mes "So this key was sent by him.";
			next;
			select("No, I found it as the clue.");
			mes "[Manager]";
			mes "Ah?";
			mes "So doesn't that mean that one code could be exchanged as a treasure...?";
			next;
			select("Maybe.");
			mes "[Manager]";
			mes "...........";
			mes "Hmm....";
			next;
			mes "[Manager]";
			mes "Hmm...";
			next;
			mes "- The manager seems -";
			mes "- to be thinking about -";
			mes "- something. Then he-";
			mes "- hands over a paper. -";
			next;
			mes "[Manager]";
			mes "No way.";
			mes "Here's the clue.";
			mes "Try to find it.";
			next;
			mes "[Manager]";
			mes "Anyway my name is Paul.";
			mes "...........";
			next;
			mes "[Paul]";
			mes "Naturally...";
			mes "I've already solved the clue.";
			next;
			mes "- Here's the paper that -";
			mes "- Paul handed over. -";
			next;
			mes "R-E-N-N-N-D";
			mes "L-N-N-W-W-N-D";
			next;
			mes "[Paul]";
			mes "Isn't it so simple?";
			mes "What do you think?";
			mes "RENNND / LNNWWND means one thing.";
			next;
			switch(select("I think I got it.", "I have no clue.")) {
			case 1:
				callsub L_Code,7166;
				close;
			case 2:
				mes "[Paul]";
				mes "What? You don't know it?";
				mes "Then you'd better think about it more.";
				mes "It's so easy.";
				job_sha = 10;
				changequest 7166,7167;
				close;
			}
		}
	} else if (job_sha == 10) {
		mes "[Paul]";
		mes "So did you get what it means?";
		next;
		switch(select("Yes!", "No, I don't think so.")) {
		case 1:
			callsub L_Code,7167;
			close;
		case 2:
			mes "[Paul]";
			mes "Is it that hard?";
			next;
			select("I can't do it...");
			mes "[Paul]";
			mes "No way.";
			mes "Can I give you a hint?";
			mes "Compass!";
			close;
		}
	} else if (job_sha > 10 && job_sha < 14) {
		mes "[Paul]";
		mes "I've already given you all the info you need.";
		next;
		mes "[Paul]";
		mes "I've given you one more clue.";
		mes "Isn't it enough?";
		next;
		mes "[Paul]";
		mes "As you and Graham mentioned.";
		mes "Go and find it out.";
		next;
		mes "[Paul]";
		mes "If you find real things like treasure,";
		mes "come back here.";
		close;
	} else if (job_sha > 13 && job_sha < 17) {
		mes "[Paul]";
		mes "You must find the right place.";
		mes "The word is RENNND";
		mes "It's refering the cave East - North - North - North from this Rachel.";
		next;
		mes "[Paul]";
		mes "L-N-N-W-W-N-D is also same.";
		mes "L is for Lighthalzen.";
		mes "Lighthalzen - North- North - West - West.";
		mes "That's the ice cave.";
		next;
		mes "[Paul]";
		mes "Is there any improvement!?";
		next;
		select("You need to investigate more?");
		mes "[Paul]";
		mes "Really? Ok...";
		mes "No way....";
		mes "We will expect a good result.";
		close;
	} else if (job_sha == 17) {
		mes "[Paul]";
		mes "I am dying to wait for you.";
		mes "So what did you find out?";
		next;
		select("I found the key.", "Hmm...");
		mes "- You hand over the 'Illusion Key' that you found in the ice cave. -";
		next;
		mes "[Paul]";
		mes "Illusion! Haha!";
		mes "After deception is illusion!";
		mes "So are you lying to me?";
		next;
		mes "[Paul]";
		mes "I can feel how Graham felt it...";
		mes "We don't dare to get that tiny key...";
		next;
		mes "[Paul]";
		mes "The young guy in Lighthalzen is quite challenging to deal with...";
		mes "So we'd better request assistance from Haled...";
		next;
		mes "[Paul]";
		mes "Hey...";
		mes "If you go to Juno...";
		mes "There's a gallery...";
		next;
		mes "[Paul]";
		mes "So could you ask him to get the password?";
		mes "Hmm...";
		next;
		mes "[Paul]";
		mes "I feel like the red hair guy in the main gallery is teasing me...";
		mes "Anyway...";
		mes "So I really like to know the password and the identity of the key...";
		next;
		mes "[Paul]";
		mes "If Haled isn't supportive...";
		mes "Tell him ^4d4dffI know what you did last summer!^000000";
		mes "You shouldn't be wrong...!?";
		job_sha = 18;
		changequest 7172,7173;
		close;
	} else if (job_sha == 18) {
		mes "[Paul]";
		mes "You could ask him to get the key...";
		mes "He will help you if you tell him something...";
		next;
		mes "[Paul]";
		mes "If Haled isn't supportive...";
		mes "Tell him ^4d4dffI know what you did last summer!^000000";
		close;
	} else if (job_sha > 18 && job_sha < 30) {
		mes "[Paul]";
		mes "So you are still looking for the treasure... right?";
		mes "I would look for it...";
		close;
	} else if (job_sha == 30) {
		mes "[Paul]";
		mes "Now I almost guessed what would happen later...";
		mes "It can't have happened!";
		next;
		mes "[Paul]";
		mes "Are you shocked?";
		mes "Don't think worse.";
		mes "You could get a good person.";
		mes "Hahaha...";
		close;
	}
	mes "[Paul]";
	mes "Do you need a painting tool?";
	mes "Then you can request that to the assistant.";
	mes "We always have it just in case.";
	close;
L_Code:
	mes "[Paul]";
	mes "Really? Then I don't need to give you the answer.";
	mes "Could you interpret the meaning of each letter.";
	next;
	select("It's kinda the combination of places.");
	mes "[Paul]";
	mes "So?";
	next;
	select("E-N meaning East - North");
	mes "[Paul]";
	mes "Ok that's good enough.";
	mes "Then go and find out.";
	next;
	mes "[Paul]";
	mes "Memorize this.";
	mes "You might need it. It could be a clue for you.";
	next;
	mes "[Paul]";
	switch(rand(3)) {
	case 0:
		mes "[ S E E D ]";
		mes "S E E D?";
		job_sha = 11;
		changequest getarg(0),7168;
		break;
	case 1:
		mes "[ F O O T ]";
		mes "F O O T?";
		job_sha = 12;
		changequest getarg(0),7169;
		break;
	case 2:
		mes "[ C O L D ]";
		mes "C O L D?";
		job_sha = 13;
		changequest getarg(0),7170;
		break;
	}
	mes "I don't know what it really means, but it would be helpful to you to figure it out.";
	close;
}

s_atelier,167,129,3	script	Manager#sc06_yuno	1_M_SIGNART,{
	if (job_sha < 19) {
		mes "[Manager]";
		mes "What?";
		mes "If you've come here for some money, you are wrong.";
		mes "This isn't a pawnshop.";
		if (job_sha < 18) close;
		next;
		select("You are... Haled?");
		mes "[Haled]";
		mes "Hmm? I'm the manager of this workplace in Juno. What's the matter?";
		next;
		mes "[Haled]";
		mes "Hmm. You were sent by Graham and Paul?";
		mes "I thought that you just came here to beg for money with fossil pieces.";
		next;
		mes "[Haled]";
		mes "It's a classic way that poor scholars use.";
		mes "Sometimes I buy good stuff so some people know that this is a pawnshop.";
		next;
		mes "[Haled]";
		mes "Let me hear your story.";
		next;
		mes "- You explain everything so far and show the key of arrogance. -";
		next;
		mes "[Haled]";
		mes "So...";
		mes "I totally understand.";
		mes "It's this key's location that";
		mes "shared the informaton!";
		next;
		mes "[Haled]";
		mes "Anyway. Two are keys and the treasure that I have to open with this key, what can I do?";
		next;
		mes "[Haled]";
		mes "We will investigate Juno's workplace, so give it to me?";
		next;
		mes "- Haled doesn't want to cooperate with you.";
		mes "Remember what Paul said. -";
		next;
		callsub L_Code;
		mes "[Haled]";
		mes "So what?";
		mes "He's a wild-eyed person.";
		mes "Did you just speak to me in a threatening tone?";
		job_sha = 19;
		close;
	} else if (job_sha == 19) {
		mes "[Haled]";
		mes "What?";
		mes "You want to talk with me?";
		mes "How about you just hand over that key to me?";
		next;
		callsub L_Code;
		mes "[Haled]";
		mes "What's wrong with you?";
		mes "Are you ok?";
		mes "Paul? What do you want to say?";
		job_sha = 19;
		close;
	} else if (job_sha == 20) {
		mes "[Haled]";
		mes "Got it.";
		mes "Ok.";
		mes "You need to know where the place with the code is?";
		next;
		mes "[Haled]";
		mes "I don't have a choice.";
		mes "Listen carefully to this poem.";
		next;
		mes "[Haled]";
		mes "^4d4dffThe end of thin root of life-giving water.";
		mes "It's all of tears and signs of living people.";
		mes "They are us but also not us.";
		mes "Residents of forgotten night";
		mes "play the waltz of despair^000000.";
		next;
		mes "[Haled]";
		mes "Do you know where it is?";
		mes "You know where it is right?";
		mes "It's only my opinion, but...";
		mes "It can't be possible...";
		next;
		mes "[Haled]";
		mes "Anyway, if you want to do it, go ahead.";
		mes "If you know what this poem means.";
		next;
		mes "[Haled]";
		mes "Of course, if you find something, you have to come back.";
		mes "Got it?";
		mes "I'm going to write it down so that you won't forget.";
		job_sha = 21;
		changequest 7173,7174;
		close;
	} else if (job_sha == 21) {
		mes "[Haled]";
		mes "I won't be surprised with whatever you find.";
		mes "You have to find the place that the poem speaks of.";
		next;
		mes "[Haled]";
		mes "^4d4dffThe end of thin root of life-giving water.";
		mes "It's all of tears and signs of living people.";
		mes "They are us but also not us.";
		mes "Residents of forgotten night";
		mes "play the waltz of despair^000000.";
		next;
		mes "[Haled]";
		mes "Of course, if you find something, you have to come back.";
		mes "Got it?";
		close;
	} else if (job_sha > 21 && job_sha < 25) {
		mes "[Haled]";
		mes "How's it going?";
		mes "If you find something, you have to come back.";
		mes "Don't go to Graham or Paul.";
		close;
	} else if (job_sha == 25) {
		mes "[Haled]";
		mes "Did you find something?";
		next;
		select("Show the key of pleasure.");
		if (countitem(Mirth_Key)) {
			mes "[Haled]";
			mes "Ha..........akkk.";
			mes "Another key?";
			mes "Is it the only key?!";
			next;
			mes "[Haled]";
			mes "Then... do I have to ask help from the young man from Lighthalzen?";
			mes "...........";
			mes "Ah...";
			next;
			mes "[Haled]";
			mes "I have no choice.";
			mes "Go to Lighthalzen with the three keys.";
			mes "Meet Vicente who is master of the store in Lighthalzen and tell him everything.";
			next;
			mes "[Haled]";
			mes "I told you that the old man is persistant and he ruins everything.";
			next;
			mes "[Haled]";
			mes "You have to have all your facts straight to send information to the guild.";
			mes "First you have to work together in one accord.";
			next;
			mes "[Haled]";
			mes "The thing you find can belong to the workplace.";
			mes "It can be shared.";
			next;
			mes "[Haled]";
			mes "I thought that it was a very simple thing.";
			mes "We couldn't share that stuff together.";
			next;
			mes "[Haled]";
			mes "All of the information that I got from workplace are key.";
			mes "There must be something to use three key with.";
			next;
			mes "[Haled]";
			mes "Anyway it has to do with deceit and pleasure...";
			mes "Is it teasing me...";
			next;
			mes "[Haled]";
			mes "Ok. Let me finish.";
			mes "Go to Vicente in Lighthalzen.";
			job_sha = 26;
			changequest 7176,7177;
			close;
		}
		mes "["+strcharinfo(PC_NAME)+"]";
		mes "I'm sorry.";
		mes "I found one more key but I didn't bring it.";
		mes "I'll bring it soon.";
		close;
	} else if (job_sha == 26) {
		mes "[Haled]";
		mes "Shadow workplace in Lighthalzen.";
		mes "The manager's name is Vicente.";
		mes "Tell him everything and get one last information.";
		close;
	} else if (job_sha > 26 && job_sha < 30) {
		mes "[Haled]";
		mes "Hey, you!";
		mes "Was Vicente helpful to you?";
		mes "You have something important...";
		mes "So you have to find out what is it.";
		next;
		mes "[Haled]";
		mes "Keep trying.";
		close;
	} else if (job_sha == 30) {
		mes "[Haled]";
		mes "Hey, you!";
		mes "What's going on?";
		mes "What? Shadow Chaser?";
		next;
		mes "[Haled]";
		mes "Did I know that fact?";
		mes "Sure. I heard a little bit before";
		mes "I used to do work like this.";
		next;
		mes "[Haled]";
		mes "It's an honor for me to pick a person who belongs to us.";
		mes "Just accept that. You are going to be a good Shadow Chaser.";
		close;
	}
	mes "[Haled]";
	mes "I like your face.";
	mes "We don't have any special thing.";
	mes "An assistant sells some paint and tool.";
	close;
L_Code:
	mes "["+strcharinfo(PC_NAME)+"]";
	mes "Paul said...";
	next;
	input(.@inputstr$);
	mes "["+strcharinfo(PC_NAME)+"]";
	mes "Paul said...";
	mes "'"+.@inputstr$+"' .";
	next;
	if (.@inputstr$ == "I know what you did last summer!") {
		mes "[Haled]";
		mes "Ekk... He...";
		mes "Knew everything...";
		mes "Hmm...";
		mes "I can help.";
		mes "I will cooperate.";
		next;
		mes "[Haled]";
		mes "I need some time to collect my thoughts.";
		mes "Wait for me a bit.";
		job_sha = 20;
		close;
	}
	return;
}

s_atelier,25,75,3	script	Manager#sc10_lgt	4_M_HUMAN_02,{
	if (job_sha < 26) {
		mes "[Manager]";
		mes "You are?";
		mes "Sorry, but we don't trade old art goods.";
		mes "If you neeed something, then ask an assistant.";
		close;
	} else if (job_sha == 26) {
		mes "[Vicente]";
		mes "Welcome.";
		mes "I've been waiting for you.";
		next;
		select("For me?");
		mes "[Vicente]";
		mes "I wondered when you would visit.";
		mes "I've been waiting a long time for you.";
		mes "Huhu...";
		next;
		mes "[Vicente]";
		mes "How were Graham,Paul and Haled?";
		mes "They are not easy people to deal with huh?";
		next;
		select("You know everything?");
		mes "[Vicente]";
		mes "Sure.";
		mes "They ignore me because they think that I'm too young.";
		mes "As if they were all perfect. HahahaHah...";
		next;
		mes "[Vicente]";
		mes "Did you bring all of the keys?";
		mes "There should be three.";
		mes "You came here to find out how to use them I assume, right?";
		next;
		select("Yeah, you're right!");
		mes "[Vicente]";
		mes "You don't have to be surprised.";
		mes "I can't find how long it took for those three men to investigate before.";
		mes "I already finished my work.";
		next;
		mes "[Vicente]";
		mes "When I went to the final location I found a stone statue.";
		mes "But it needs to have key.";
		next;
		mes "[Vicente]";
		mes "Even Three.";
		mes " ";
		mes "(Vicente smiles)";
		next;
		mes "[Vicente]";
		mes "At first, the information that was given from the guild means only one thing.";
		mes "Because of the saying that they respect the right of our possessions,";
		mes "we shared our information.";
		next;
		mes "[Vicente]";
		mes "So we had to wait for it.";
		mes "I thought the last man would never give it to me...";
		next;
		mes "[Vicente]";
		mes "They thought I wanted to have the treasure for myself.";
		mes "So that's why I've just been waiting for you.";
		next;
		mes "[Vicente]";
		mes "Then let's make a point!";
		mes "Do you know thanatos tower?";
		next;
		switch(select("Sure.", "The tower of death?")) {
		case 1:
			mes "[Vicente]";
			mes "You know that.";
			mes "Then you can understand easily.";
			next;
			break;
		case 2:
			mes "[Vicente]";
			mes "Yes, that tower in northen Juno.";
			mes "There are huge monsters there.";
			next;
			break;
		}
		mes "[Vicente]";
		mes "You told me that you went to the final place with the information?";
		mes "That's the Thanatos Tower.";
		next;
		mes "[Vicente]";
		mes "Fortunately, the location is the 1st floor of that tower.";
		mes "So I'm going to tell what you have to do.";
		next;
		mes "[Vicente]";
		mes "At the 1st floor of thanatos tower, there are members from the Rekenber Corporation.";
		mes "Go north from their desk...";
		next;
		mes "[Vicente]";
		mes "And you can find stairs and a location where light comes out of.";
		mes "That's the location of the information that I have.";
		next;
		mes "[Vicente]";
		mes "Now you know the location you have to go to with the three keys.";
		mes "Find out the secret of the stone statue.";
		next;
		mes "[Vicente]";
		mes "You can't imagine what kind of things you might find.";
		mes "That's the final destination of all of the keys.";
		job_sha = 27;
		changequest 7177,7178;
		next;
		mes "[Vicente]";
		mes "Good luck.";
		close;
	} else if (job_sha == 27) {
		mes "[Vicente]";
		mes "Listen carefully.";
		mes "The location you need to find is";
		mes "north from middle of thanatos 1st floor.";
		mes "You can find stairs and a location where light comes out.";
		next;
		mes "[Vicente]";
		mes "If you find something, come back here.";
		mes "Actually, I want to get the key from you, but...";
		next;
		mes "[Vicente]";
		mes "I just respect your opinion.";
		mes "If you find something, come back here. Got it?";
		close;
	} else if (job_sha == 28) {
		mes "[Vicente]";
		mes "You are back?";
		mes "Find anything?";
		next;
		switch(select("Throw the brush.", "Grab him by the collar.", "Drop the brush.")) {
		case 1:
			mes "[Vicente]";
			mes "Hey, what are you doing?";
			mes "This brush...";
			mes "Is this the treasure hidden in the Thanatos Tower?";
			next;
			mes "Vicente looks surprised after taking a look at it.";
			next;
			break;
		case 2:
			mes "[Vicente]";
			mes "What's wrong with you?";
			mes "You can tell me more details?";
			next;
			mes "Vincente looks surpised after taking a look at it.";
			next;
			mes "[Vicente]";
			mes "Is this the treasure hidden in the Thanatos Tower?";
			next;
			break;
		case 3:
			mes "[Vicente]";
			mes "What the matter?";
			mes "Are you ok?";
			next;
			mes "Vicente looks at me with a surprised face.";
			next;
			select("Point at the brush.");
			mes "[Vicente]";
			mes "Is this the treasure hidden in the Thanatos Tower?";
			next;
			mes "Vincente looks surpised after taking a look at it.";
			next;
			break;
		}
		mes "[Vicente]";
		mes "Haha!!";
		mes "Ahahahaha!!!!!";
		mes "I got it now!";
		mes "Congratulations.";
		next;
		mes "[Vicente]";
		mes "It's treasure.";
		mes "You found a big treasure!";
		mes "Talk to me for bit, won't you?";
		next;
		mes "[Vicente]";
		mes "There is someone who has been waiting for you.";
		mes "He's been waiting for someone to bring this brush back.";
		mes "Let's go inside.";
		job_sha = 29;
		erasequest 7179;
		close;
	} else if (job_sha == 29 || job_sha == 30) {
		mes "[Vicente]";
		mes "I'm going to listen to your story.";
		close;
	}
	mes "[Vicente]";
	mes "I'm expecting your work from now on.";
	mes "You must be a good Shadow Chaser.";
	mes "I'm sure of it.";
	close;
}

s_atelier,73,65,3	script	Vicente#sc12_lgt	4_M_HUMAN_02,{
	mes "[Vicente]";
	if (job_sha < 29) {
		mes "If you don't have anything special to do here, you'd better leave.";
		mes "No trespassing.";
		close;
	} else if (job_sha == 29) {
		mes "This way.";
		mes "He's been waiting for you a while.";
		mes "Not me, Dumk.";
		close;
	} else if (job_sha == 30) {
		mes "Dumk wants to have you as a Shadow Chaser.";
		mes "Big news right?";
		close;
	} else if (job_sha == 31) {
		mes "I'm expecting your work from now on.";
		mes "You must be a good Shadow Chaser.";
		mes "I'm sure of it.";
		close;
	}
	mes "I don't have any special reason to visit here.";
	mes "An assistant sells tools and paint.";
	close;
}

s_atelier,70,66,4	script	Dumk#sc13_lgh	4_M_SHADOWCHASER,{
	if (Class == Job_Shadow_Chaser || Class == Job_Shadow_Chaser_T || Class == Job_Baby_Chaser) {
		mes "[Dumk]";
		mes "What is it?";
		mes "Have you been enjoying your new skills?";
		next;
		mes "[Dumk]";
		mes "If you want to improve your skills, you have to seek out new uses for paint.";
		next;
		mes "[Dumk]";
		mes "Don't forget.";
		mes "We are Shadow Chasers.";
		mes "Huhu...";
		mes "HuhuHuhu...";
		close;
	}
	if (checkweight(Knife,4) == 0) {
		mes "- You can't continue on in this quest because you are overweight. -";
		close;
	}
	if (hascashmount()) {
		mes "[Dumk]";
		mes "Who is this guy? Why should he sit in front of me so high?";
		mes "Although I do not know why you riding on it, but here is in door,";
		mes "That is no danger to rely on animals to escape, so you please get down!";
		close;
	}
	if (BaseJob == Job_Rogue) {
		if (job_sha < 29) {
			mes "[Dumk]";
			mes "Vicente. No Soliciting.";
			next;
			mes "[Vicente]";
			mes "A solicitor?";
			mes "I don't think so. He's our colleage.";
			next;
			mes "[Dumk]";
			mes "...Ah?";
			close;
		}
		if (BaseLevel < 99 || JobLevel < 50 || SkillPoint != 0) {
			mes "[Dumk]";
			mes "You are still green!";
			mes "Did you expect that you can learn the dark arts with your ability?";
			mes "You are wrong!";
			next;
			mes "[Vicente]";
			mes "Haha...";
			mes "Please, understand. Dumk has very bad communication skills.";
			mes "Even doesn't talk to anyone who isn't a high enough level.";
			next;
			mes "[Vicente]";
			mes "And as person who isn't not ready.";
			mes "^4d4dffYou maybe are not ready for him^000000.";
			next;
			mes "[Dumk]";
			mes "You talk too much.";
			mes "Heh.";
			next;
			mes "[Vicente]";
			mes "- He is pleased. -";
			mes "Hey.";
			mes "He could be ashamed.";
			close;
		}
		if (job_sha == 29) {
			mes "[Dumk]";
			mes "It's you? You are the one who found the brush?";
			next;
			select("Show the brush to him.");
			if (countitem(Master_Brush)) {
				mes "[Dumk]";
				mes "That's it.";
				mes "Did you find it by yourself?";
				next;
				switch(select("Yes.", "With my friends")) {
				case 1:
					mes "[Dumk]";
					mes "Hmm...";
					mes "You have a high ability.";
					mes "Breaking the codes should have been tough.";
					mes "But it wasn't for you.";
					next;
					break;
				case 2:
					mes "[Dumk]";
					mes "Hmm...";
					mes "That's your other skill.";
					mes "People who have no friends must be lonely.";
					next;
					mes "[Dumk]";
					mes "To us, relationships are very important.";
					mes "You get more people, you get more help.";
					next;
					break;
				}
				mes "[Dumk]";
				mes "It's time to introduce myself.";
				mes "I'm Dumk.";
				next;
				select("You are...");
				mes "[Vicente]";
				mes "Chicken! How about the chicken for this supper?";
				next;
				mes "[Dumk]";
				mes "Why chicken?";
				mes "Why are you interrupting?";
				mes "You wanna be fired?";
				next;
				mes "[Vicente]";
				mes "Sorry...";
				mes " ";
				mes "(He turns to you and says it's taboo to talk about chicken.)";
				next;
				mes "[Dumk]";
				mes "Anyway, let's make a point.";
				mes "You.";
				mes "Will you yield to the will of the brush?";
				next;
				select("Yield to? What?");
				mes "[Dumk]";
				mes "This brush was used by the master.";
				mes "Paintings by him have mysterious power.";
				next;
				mes "[Dumk]";
				mes "I can't tell you the root of the power.";
				mes "Someday you will find out.";
				mes "He sublimates power through the medium of his paintings.";
				next;
				select("I don't get it...?");
				mes "[Dumk]";
				mes "We walk in darkness without moonlight.";
				mes "And find out our shining days are over.";
				next;
				mes "[Dumk]";
				mes "We follow to other shadows";
				mes "and we can be real";
				mes "Shadow Chasers!";
				next;
				select("What are you talking about?");
				mes "[Vicente]";
				mes "He suggests that you become a Shadow Chaser.";
				next;
				mes "[Vicente]";
				mes "In our guild, there is a special group that have unique skills.";
				mes "They are Shadow Chasers.";
				mes "They usually hide ther figure and they think they are different from others.";
				next;
				mes "[Dumk]";
				mes "Don't be so sarcastic, Vicente!";
				mes "I told you.";
				mes "You are qualified to be a Shadow Chaser!";
				next;
				mes "[Dumk]";
				mes "Give that brush to me.";
				mes "I need it again.";
				mes "I'm so thirsty.";
				mes "Wait a minute.";
				delitem Master_Brush,1;
				job_sha = 30;
				close;
			}
			mes "[Dumk]";
			mes "Let me see...";
			mes "Did you bring the brush?";
			next;
			mes "[Dumk]";
			mes "What are you doing?";
			mes "Show me the brush?";
			mes "You didn't bring it?";
			mes "You are not very careful...";
			close;
		} else if (job_sha == 30) {
			mes "[Dumk]";
			mes "So, do you want me to keep talking about Shadow Chasers?";
			next;
			switch(select("What is a Shadow Chaser?", "Change me to Shadow Chaser.", "I'll come back later.")) {
			case 1:
				mes "[Dumk]";
				mes "Most spells are exclusively for Wizards and their kind.";
				mes "But Knight has since been able to use a kind of magic with things called Runes.";
				next;
				mes "[Dumk]";
				mes "So we tried finding a medium for spells that suit our characteristics.";
				next;
				mes "[Dumk]";
				mes "So finally...";
				mes "We found paint!";
				next;
				mes "[Dumk]";
				mes "Paint gives us lots of feelings.";
				mes "We can feel peaceful and happy or it can give us feelings of sorrow and fear.";
				next;
				mes "[Dumk]";
				mes "We use that to harness the different emotions of people and exploit them when they're most vulnerable.";
				next;
				mes "[Dumk]";
				mes "The effects on our enemies are similar to that of magic spells.";
				next;
				mes "[Dumk]";
				mes "For instance, this power could be used to create blackholes to make your enemies vanish.";
				next;
				mes "[Dumk]";
				mes "So if you want to have that power then you must have artistry.";
				next;
				mes "[Dumk]";
				mes "You have to be a trendsetter when it comes to fashion!";
				mes "The ability to understand art!";
				mes "You should have everything.";
				next;
				select("Then what is the Master Brush?");
				mes "[Dumk]";
				mes "Ah?";
				mes "That was a brush who was a master of dark arts.";
				mes "Now we are looking for someone who can be a Shadow Chaser.";
				next;
				mes "[Dumk]";
				mes "This is a kind of game.";
				mes "If there is someone who wants to become a Shadow Chaser,";
				mes "we just start the process to find this brush.";
				next;
				mes "[Dumk]";
				mes "We put the codes to make sure that you can think outside of the box.";
				mes "Did you have fun?";
				close;
			case 2:
				mes "[Dumk]";
				mes "You decided!";
				mes "As your case, you can master the art of psychological warfare using paint!";
				mes "The art created is beautiful but dangerous.";
				next;
				mes "[Dumk]";
				mes "We use paint as a medium for spells.";
				mes "We use that to harness the different emotions of people and exploit them when they're most vulnerable.";
				next;
				mes "[Dumk]";
				mes "For instance, this power could be used to create black holes to make your enemies vanish.";
				next;
				mes "[Dumk]";
				mes "So if you want to have that power then you must have artistry.";
				next;
				mes "[Dumk]";
				mes "You have to be a trendsetter when it comes to fashion!";
				mes "The ability to understand art!";
				mes "You should have everything.";
				next;
				mes "[Dumk]";
				mes "You performed your duties diligently and found the brush.";
				mes "So you are qualified to be a Shadow Chaser.";
				next;
				mes "[Dumk]";
				mes "Congratulations.";
				mes "Welcome to your new life.";
				jobchange roclass(eaclass()|EAJL_THIRD);
				getitem Makeover_Brush,1;
				getitem Paint_Brush,1;
				job_sha = 32;
				getitem Green_Apple_Ring,1;
				getitem Shadow_Handicraft,1;
				next;
				mes "[Dumk]";
				mes "It's a fashionable uniform.";
				mes "It uses patterns of leopard and feathers";
				mes "The fashion world will be shocked.";
				next;
				mes "[Dumk]";
				mes "This shadow peacock I designed myself.";
				mes "It's too hard to create something that absorbs my art sense.";
				mes "Then about this part...";
				next;
				mes "Dumk keeps talking about fashion, art sense, paint and feeling.";
				mes "He's obviously in his own world.";
				next;
				select("About this brush...");
				mes "[Vicente]";
				mes "Ah, I'll expain.";
				mes "We need tools for painting.";
				next;
				mes "[Vicente]";
				mes "The make-up brush is used for face painting.";
				mes "You can get paint from the workplace.";
				next;
				mes "[Vicente]";
				mes "The paint brush is used for painting big spaces.";
				mes "You can get paint from the workplace too.";
				next;
				mes "[Vicente]";
				mes "Don't you remember the location of the workplace?";
				mes "Juno, Prontera, Rachel and Lighthalzen.";
				next;
				mes "[Vicente]";
				mes "If you need paint, go to an assistant.";
				mes "^4d4dffIf you don't have any tools, you can use skill needed paints.^000000";
				next;
				mes "[Vicente]";
				mes "Congratulations to be our person.";
				close;
			case 3:
				mes "[Dumk]";
				mes "What?";
				mes "Why not?";
				mes "You don't want to be a Shadow Chaser?";
				mes "I can teach you so much about painting.";
				next;
				mes "[Dumk]";
				mes "You really won't understand until you become one.";
				next;
				mes "[Dumk]";
				mes "Don't you want to learn how to harness a power stronger than what you know?";
				mes "....";
				next;
				mes "Dumk seemed to be dissapointed because I didn't answer him.";
				close;
			}
		}
	}
	mes "[Dumk]";
	mes "..........";
	mes "Heh.";
	next;
	mes "[Vicente]";
	mes "I'm sorry.";
	mes "He is not interested in other people.";
	mes "But you can't enter this space.";
	mes "You can get tools at the store.";
	close;
}

//== Flames ================================================
tur_dun03,38,209,1	script	Blue Flame#sc_f01	4_NFWISP,{
	if (job_sha == 5) {
		mes "A blue flame is roaring.";
		mes "The deciphered code means...";
		next;
		input(.@inputstr$);
		.@dap01$ = "blue fire in turtle island third floor";
		.@dap02$ = "BLUE FIRE IN TURTLE ISLAND THIRD FLOOR";
		if (.@inputstr$ != .@dap01$ && .@inputstr$ != .@dap02$) {
			mes "["+strcharinfo(PC_NAME)+"]";
			mes "What was it?";
			mes "I guess I have to make sure I don't use any capital letters.";
			close;
		}
		mes "["+strcharinfo(PC_NAME)+"]";
		mes "^4d4dff"+.@inputstr$+"^000000";
		mes "It's clearly pointing to this.";
		next;
		mes "You just murmur the sentence when the flame begins growing.";
		next;
		mes "[Unknown voice]";
		mes "Hm? Someone is coming?";
		mes "You are the one who wants to have my treasure?";
		mes "But your limitation is over.";
		next;
		mes "The flame is talking.";
		mes "The voice is snake-like.";
		mes "In the middle of blue flame, there are two marble eyes.";
		next;
		select("Pick it up.");
		mes "[Unknown voice]";
		mes "You are in a hurry.";
		mes "Hahaha, humans usually do things like that.";
		mes "They can't see the truth.";
		next;
		mes "[Unknown voice]";
		mes "How about you?";
		mes "I don't expect that you will do harm to this blue flame.";
		mes "It's the only one with two...";
		next;
		select("Who are you?");
		mes "[Shadow of Deception]";
		mes "Me? I'm a deception.";
		mes "I sneer at people who are stupid.";
		mes "I laugh behind their backs.";
		mes "HahaHaha...";
		next;
		mes "The Blue Flame is growning and rolling.";
		mes "They seem to be related.";
		job_sha = 6;
		setquest 7164;
		if (questprogress(7161)) erasequest 7161;
		if (questprogress(7162)) erasequest 7162;
		if (questprogress(7163)) erasequest 7163;
		close;
	} else if (job_sha == 6) {
		if (questprogress(7164,HUNTING) == 2) {
			mes "It looks like the blue flame is under the limitation.";
			mes "You can't feel that rolling effect of a spell like before.";
			next;
			select("Pick up the marbles.");
			mes "When you pick them up, you can feel that your weight is lightened.";
			job_sha = 7;
			erasequest 7164;
			close2;
			warp "job3_sha01",22,82;
			end;
		}
		mes "The flame is still rolling with a strong spell.";
		mes "You have to cut the relation with it.";
		close;
	} else if (job_sha == 7) {
		mes "It looks like the blue flame is under the limitation.";
		mes "You can't feel that rolling effect of a spell like before.";
		next;
		select("Pick up the marbles.");
		mes "When you pick it up, you can feel that your weight is lightened.";
		close2;
		warp "job3_sha01",22,82;
		end;
	}
	mes "The flame is rolling.";
	close;
}

ice_dun02,206,223,1	script	Red Flame#sc_f02	4_NFWISP,{
	if (job_sha < 11) {
		mes "An unknown red flame is roaring.";
		close;
	} else if (job_sha > 10 && job_sha < 14) {
		mes "The red flame is roaring.";
		mes "It changed to a woman in black.";
		next;
		mes "[Woman in black]";
		mes "Can you hear me?";
		mes "Huhu.";
		mes "Can you see me?";
		next;
		mes "[Woman in black]";
		mes "You are the chosen one?";
		mes "You can know that.";
		mes "There is a soul that is the same as me.";
		next;
		mes "[Woman in black]";
		mes "I'm a shadow.";
		mes "A wandering shadow.";
		mes "Sad soul.";
		mes "A shadow of illusion without truth.";
		next;
		mes "[Shadow of Illusion]";
		mes "What do you want?";
		mes "Do you want treasure?";
		mes "Then pick it up.";
		mes "Tear my soul and";
		mes "show the truth.";
		job_sha += 3;
		setquest 7171;
		close;
	} else if (job_sha == 14 || job_sha == 15 || job_sha == 16) {
		if (questprogress(7171,HUNTING) == 2) {
			mes "You can't feel the soul from the flame.";
			mes "When you go closer, you can't see well because of darkness.";
			close2;
			warp "job3_sha01",22,33;
			end;
		}
		mes "[Shadow of Illusion]";
		mes "Huhu.";
		mes "What's wrong?";
		mes "You couldn't find the half of my soul?";
		mes "Huhu...";
		next;
		mes "[Shadow of Illusion]";
		mes "Ah, hurry and give me rest.";
		mes "I want to die softly.";
		mes "I want to give up the phony life.";
		next;
		mes "[Shadow of Illusion]";
		mes "Huhu...";
		mes "When the false shadow is gone, you can see the truth.";
		mes "Please, tear the false to dazzle who are blind...";
		mes "Without any trace...";
		close;
	}
	mes "The flame is rolling.";
	mes "You can't see well because of the light of ice.";
	close;
}

niflheim,230,276,1	script	Red Flame#sc_f03	4_NFWISP,{
	if (job_sha < 21) {
		mes "That's a mysterious flame.";
		mes "It looks like cursing.";
		mes "Go away form that.";
		close;
	}
	else if (job_sha == 21) {
		mes "["+strcharinfo(PC_NAME)+"]";
		mes "The poem that Haled told me was pointing to Niflheim.";
		mes "There is a flame that looks like the one from turtle island and ice dungeon.";
		next;
		mes "["+strcharinfo(PC_NAME)+"]";
		mes "The end of living tree's roots.";
		mes "Tears of all living people.";
		mes "Sign of all dead people.";
		next;
		mes "["+strcharinfo(PC_NAME)+"]";
		mes "They are us but also not us.";
		next;
		mes "[Someone's voice]";
		mes "They are us but also not us.";
		next;
		mes "[Someone's voice]";
		mes "Residents of the night forgotten...";
		next;
		select("Who is playing that?");
		mes "[Someone's voice]";
		mes "Who is playing the waltz of desperation?";
		mes ".....";
		next;
		mes "[Someone's voice]";
		mes "Ha...";
		mes "You came here to dig the secret of death.";
		mes "Can you play the waltz of death for me?";
		next;
		mes "[Someone's voice]";
		mes "I don't to be subject to restraint";
		mes "and be with sign of dead people.";
		next;
		mes "[Shadow of Pleasure]";
		mes "I'm a shadow.";
		mes "I show that best of the pleasure in this world.";
		mes "Illusions such that you don't want to be awaken from the dream.";
		next;
		mes "[Shadow of Pleasure]";
		mes "The soul got tangled by cold chains";
		mes "I can't see the dream";
		mes "and the shadow lost the pleasure that will be lasting forever.";
		next;
		mes "[Shadow of Pleasure]";
		mes "Please, help me.";
		mes "Give me two hands to";
		mes "escape from here!";
		next;
		mes "[Shadow of Pleasure]";
		mes "Can you stifle me with two hands?";
		mes "The other side of my senses";
		mes "gas for breath.";
		next;
		mes "[Shadow of Pleasure]";
		mes "That's the evidence that I live.";
		mes "That's the evidence that I cross over the line.";
		mes "With start of life";
		mes "the last pleasure.";
		next;
		mes "[Shadow of Pleasure]";
		mes "Show me the";
		mes "sweet death.";
		next;
		mes "The flame is dying.";
		mes "You should handle the shadow of pleasure.";
		job_sha = 22;
		erasequest 7174;
		setquest 7175;
		close;
	} else if (job_sha == 22) {
		if (questprogress(7175,HUNTING) == 2) {
			mes "You can't feel the soul from the flame.";
			mes "When you go closer, you can't see well because of darkness.";
			job_sha = 23;
			erasequest 7175;
			close2;
			warp "job3_sha01",73,87;
			end;
		}
		mes "You can feel a strong soul in the flame.";
		mes "You should handle the shadow of pleasure.";
		close;
	} else if (job_sha == 23 || job_sha == 24) {
		mes "You can't feel the soul from the flame.";
		mes "When you go closer, you can't see well because of darkness.";
		close2;
		warp "job3_sha01",73,87;
		end;
	}
	mes "There is a flame.";
	mes "You can't feel anything from it.";
	close;
}

//== Boxes =================================================
job3_sha01,22,78,0	script	????#keybox01	CLEAR_NPC,{
	if (checkweight(Knife,1) == 0) {
		mes "- You can't continue on in this quest because you are overweight. -";
		close;
	}
	if (job_sha == 7) {
		mes "It's a small box made of a hard turtle's shell.";
		mes "The middle of it...";
		next;
		select("Touch the middle.", "Push the middle.");
		mes "When you touch it, something comes out!";
		next;
		setarray .@Codes1$[1],"EFDFJWF","FGEGKXG","GHFHLYH","HIGIMZI","IJHJNAJ","JKIKOBK","KLJLPCL","LMKMQDM";
		setarray .@Codes2$[1],"IPOFTUZ","JQPGUVA","KRQHVWB","LSRIWXC","MTSJXYD","NUTKYZE","OVULZAF","PWVMABG";
		.@i = rand(1,8);
		mes " ";
		mes " ";
		mes " DECEIVE";
		next;
		mes " ";
		mes " ";
		mes " "+.@i;
		next;
		mes "";
		mes "";
		mes " "+.@Codes1$[.@i];
		next;
		mes "It shows some letters and numbers.";
		mes " ";
		mes "Deceive.";
		mes "Then "+.@i+".";
		mes "And "+.@Codes1$[.@i]+".";
		next;
		select("What does it mean?");
		mes "["+strcharinfo(PC_NAME)+"]";
		mes "Is it also code.";
		mes "It must be!";
		mes "Ah, something is showing up again...?";
		next;
		mes "- You can see some letters on the turtle's shell. -";
		next;
		mes " ";
		mes "HONESTY";
		mes " ";
		mes "And also letters. They are blinking as if waiting for a code to be input.";
		next;
		input(.@inputstr$);
		if (.@inputstr$ == .@Codes2$[.@i] || .@inputstr$ == strtolower(.@Codes2$[.@i])) {
			mes "When you put the correct answer in there,";
			mes "the box is opened.";
			mes "There is a small and fabulous key.";
			next;
			mes "- You get the Key of Deception. -";
			job_sha = 8;
			getitem Cheat_Key,1;
			setquest 7165;
			close;
		}
		mes "- You put the answer -";
		mes "- but it doesn't work. -";
		mes "- You have failed. -";
		close;
	}
	mes "You don't have to stay in here.";
	next;
	if(select("Go outside.", "Stay here.") == 1)
		warp "tur_dun03",40,201;
	close;
}

job3_sha01,25,28,0	script	????#keybox02	CLEAR_NPC,{
	if (checkweight(Knife,1) == 0) {
		mes "- You can't continue on in this quest because you are overweight. -";
		close;
	}
	setarray .@Words$[0],"SEED","FOOT","COLD";
	setarray .@numbers[0],24,25,20;
	.@i = job_sha-14;
	if (job_sha > 13 && job_sha < 17) {
		mes "There are lots of boxes.";
		mes "with sort of numbers.";
		next;
		mes " 1 2 3 4 5";
		mes " 6 7 8 9 0";
		mes " ";
		mes " [ ][ ] ";
		next;
		mes "When you touched that number, then it moved.";
		mes "You find the empty space.";
		next;
		mes "["+strcharinfo(PC_NAME)+"]";
		mes "I guess I have to put the number in the empty space...";
		mes "I have two empty squares to put two numbers.";
		mes "What will it be good for?";
		next;
		select("I think it's related with the word given by Paul.");
		mes "["+strcharinfo(PC_NAME)+"]";
		mes "I got "+.@Words$[.@i]+".";
		mes "Now I have to convert it into a number...";
		next;
		switch(select("Input the answer.", "I can't get it.")) {
		case 1:
			input(.@input);
			if (.@input == .@numbers[.@i]) {
				mes "You put 2 and "+(.@numbers[.@i]-20)+".";
				mes "The box opens and you get one key.";
				next;
				mes "You got the Key of Illusion.";
				next;
				mes "["+strcharinfo(PC_NAME)+"]";
				mes "It's not a treasure.";
				mes "The Key of Illusion? Is it related with the Shadow of Illusion?";
				mes "I got the Key of Deception after I handled Deception...";
				next;
				mes "["+strcharinfo(PC_NAME)+"]";
				mes "Anyway, Paul will be disappointed.";
				mes "Key again...";
				mes "How can I escape from here...?";
				job_sha = 17;
				getitem Virtual_Key,1;
				erasequest 7171;
				changequest 7168+.@i,7172;
				next;
				mes "When I push the box, it shows the door to go outside.";
				close2;
				warp "ice_dun02",209,219;
				end;
			}
			mes "When you enter the number, it goes back to the first.";
			close;
		case 2:
			mes "["+strcharinfo(PC_NAME)+"]";
			mes "Hmm.";
			mes "I can't get it...";
			mes "Is it the same code as the Prontera workplace...?";
			next;
			mes "["+strcharinfo(PC_NAME)+"]";
			mes "According to that method...";
			mes "A means 11 and B means 12.";
			close;
		}
	}
	mes "It's a myterious box.";
	mes "When I push the box, it shows the door to go outside.";
	close2;
	warp "ice_dun02",209,219;
	end;
}

job3_sha01,73,80,0	script	????#keybox03	CLEAR_NPC,{
	if (checkweight(Knife,1) == 0) {
		mes "- You can't continue on in this quest because you are overweight. -";
		close;
	}
	if (job_sha == 23 || job_sha == 24) {
		if (job_sha == 23) {
			mes "There is a box that looks like a house.";
			mes "There's a small paper in the chimney.";
			next;
			mes "It says...";
			mes "-----------------";
			mes " 20 21 18 14";
			mes " 1 14 4";
			mes " 19 8 1 11 5";
			mes "-----------------";
			next;
			mes "["+strcharinfo(PC_NAME)+"]";
			mes "I think it's another code.";
		} else {
			mes "["+strcharinfo(PC_NAME)+"]";
			mes "Let me think again...";
			mes "20 21 18 14";
			mes "1 14 4 ";
			mes "19 8 1 11 5";
			mes "...";
		}
		next;
		mes "["+strcharinfo(PC_NAME)+"]";
		mes "It's the same as before.";
		mes "There's no code, so 1 should be A.";
		mes "And the answer is...";
		next;
		input(.@inputstr$);
		if (.@inputstr$ == "turn and shake" || .@inputstr$ == "TURN AND SHAKE") {
			mes "["+strcharinfo(PC_NAME)+"]";
			mes "Turn... Turn... and";
			mes "Shake? Shake?";
			mes "For what?";
			next;
			while(1) {
				switch(select("Turn the roof.", "Turn the house.", "Turn the handle.")) {
				case 1:
					mes "You turn the roof.";
					next;
					switch(select("Shake the roof.", "Shake the house.")) {
					case 1:
						mes "Even though you shake the roof but";
						mes "nothing happens.";
						next;
						mes "["+strcharinfo(PC_NAME)+"]";
						mes "That's not it.";
						mes "Hmm...";
						next;
						break;
					case 2:
						mes "You tried to shake the house but";
						mes "it doesn't do anything.";
						next;
						mes "["+strcharinfo(PC_NAME)+"]";
						mes "It's wrong.";
						mes "Put it back";
						mes "and try it again.";
						next;
						break;
					}
					break;
				case 2:
					mes "You grab the whole house and turn it.";
					next;
					switch(select("Shake up and down.", "Shake back and forth.", "Turn 'round and 'round and shake.", "Roll it upside down.")) {
					case 1:
					case 2:
						mes "Nothing happens.";
						mes "You think there is something inside, but it won't come out.";
						next;
						mes "["+strcharinfo(PC_NAME)+"]";
						mes "That's not it.";
						mes "Hmm...";
						next;
						break;
					case 3:
						mes "You shake it slowly.";
						mes "You can hear a noise,";
						mes "but nothing's coming out.";
						next;
						mes "["+strcharinfo(PC_NAME)+"]";
						mes "That's not it.";
						mes "Hmm...";
						next;
						break;
					case 4:
						mes "Rolling it upside down causes something inside to move.";
						next;
						mes "You shake it slowly.";
						mes "You can hear some noise.";
						mes "Something's coming out.";
						next;
						mes "- You got the Key of Pleasure. -";
						next;
						mes "["+strcharinfo(PC_NAME)+"]";
						mes "What? A key again!";
						mes "Haled will be disappointed.";
						mes "I better go back.";
						job_sha = 25;
						setquest 7176;
						getitem Mirth_Key,1;
						close;
					}
					break;
				case 3:
					mes "You tried to turn the small handle";
					mes "but it doesn't work.";
					next;
					mes "["+strcharinfo(PC_NAME)+"]";
					mes "What should I do now?";
					next;
					break;
				}
			}
		}
		mes "["+strcharinfo(PC_NAME)+"]";
		mes "..."+.@inputstr$+"...?";
		if (job_sha == 23) {
			mes "What does that mean?";
			job_sha = 24;
		} else
			mes "Again? I don't get it.";
		close;
	}
	mes "You don't have to stay in here.";
	mes "You put the box down and see that there is a door to go outside.";
	close2;
	warp "niflheim",230,270;
	end;
}

job3_sha01,71,27,0	script	????#keybox04	CLEAR_NPC,{
	if (checkweight(Knife,1) == 0) {
		mes "- You can't continue on in this quest because you are overweight. -";
		close;
	}
	if (job_sha == 27) {
		mes "There is a stone statue that looks";
		mes "like a small casket with a fabulous pattern around it.";
		next;
		mes "But you can't feel any power from it.";
		mes "You find three holes in there.";
		next;
		mes "Inscribed next to the holes is written";
		mes "deception, illusion and pleasure.";
		next;
		select("Place the key in the holes.");
		if (countitem(Cheat_Key) && countitem(Virtual_Key) && countitem(Mirth_Key)) {
			mes "["+strcharinfo(PC_NAME)+"]";
			mes "At first, Deception...";
			mes "then Illusion...";
			mes "and Pleasure...";
			mes "Let me see.";
			next;
			mes "When you put the keys in";
			mes "something comes out.";
			next;
			mes "- You got a brush with a fabulous pattern on it. -";
			delitem Cheat_Key,1;
			delitem Virtual_Key,1;
			delitem Mirth_Key,1;
			job_sha = 28;
			getitem Master_Brush,1;
			changequest 7178,7179;
			next;
			mes "["+strcharinfo(PC_NAME)+"]";
			mes "What???";
			mes "A brush!!!!";
			mes "This isn't treasure!!!";
			next;
			mes "["+strcharinfo(PC_NAME)+"]";
			mes "Ahahhah!!!!";
			mes "*sniff*";
			mes "It's not treasure!";
			next;
			select("Now I'm pissed off.");
			mes "["+strcharinfo(PC_NAME)+"]";
			mes "*Sigh*";
			mes "Guess I should bring this to ^4d4dffVicente^000000!";
			close;
		}
		mes "["+strcharinfo(PC_NAME)+"]";
		mes "I didn't bring all of the keys.";
		mes "How could I be so stupid?";
		close;
	}
	mes "It's an empty stone statue.";
	close;
}

//== Brush Shops ===========================================
s_atelier,29,119,3	script	Max#sc05_prt	4W_M_01,{
	mes "[Max]";
	mes "Welcome~";
	if (Class == Job_Shadow_Chaser || Class == Job_Shadow_Chaser_T || Class == Job_Baby_Chaser) {
		mes "You are a member of the Rogue guild!";
		mes "What can I help you with?";
		next;
		.@i = select("I need a make-up brush.", "I need a paint brush.", "Nothing.");
		mes "[Max]";
		if (.@i == 1) setarray .@i[1],Makeover_Brush,1,10,100000;
		else if (.@i == 2) setarray .@i[1],Paint_Brush,2,30,200000;
		else {
			mes "If you need more";
			mes "just visit me!";
			close;
		}
		if (countitem(.@i[1])) {
			mes "Are you kidding me?";
			mes "You already have it?";
			mes "You don't need anything else.";
			next;
			mes "[Max]";
			mes "Visit later and use what you have!";
			close;
		}
		if (countitem(Bamboo_Cut) >= .@i[2] && countitem(Feather) >= .@i[3] && Zeny >= .@i[4]) {
			mes "Oh you brought all the things required.";
			mes "Hold on a bit.";
			next;
			mes "[Max]";
			mes "Here's what you need.";
			next;
			mes "[Max]";
			mes "Take it.";
			mes "Good luck!";
			delitem Bamboo_Cut,.@i[2];
			delitem Feather,.@i[3];
			Zeny -= .@i[4];
			getitem .@i[1],1; //Makeover_Brush,Paint_Brush
			close;
		}
		mes "Here's what you need to get a make-up brush.";
		mes .@i[2]+" Bamboo Cut,";
		mes .@i[3]+" Feather,";
		mes "and "+.@i[0]+"00,000 zeny.";
		close;
	}
	mes "We sell all art related things here~";
	next;
	switch(select("Paint!?", "Where's the manager?")) {
	case 1:
		mes "[Max]";
		mes "You are asking for paint?";
		mes "Could you just ask them to get the paint?~";
		close;
	case 2:
		mes "[Max]";
		mes "There's our manager.";
		mes "Right over there.";
		mes "**points**";
		mes "Are you blind?";
		close;
	}
}

s_atelier,136,70,3	script	Titika#sc09_ra	4_F_CHILD,{
	mes "[Titika]";
	mes "Welcome.";
	if (Class == Job_Shadow_Chaser || Class == Job_Shadow_Chaser_T || Class == Job_Baby_Chaser) {
		mes "You are in a guild.";
		mes "What can I help you with?";
		next;
		.@i = select("Make a new make-up brush.", "Make a new paint brush.", "Nothing.");
		mes "[Titika]";
		if (.@i == 1) setarray .@i[1],6121,1,10,100000;
		else if (.@i == 2) setarray .@i[1],6122,2,30,200000;
		else {
			mes "Visit me again.";
			close;
		}
		if (countitem(.@i[1])) {
			mes "You already have a paint brush?";
			mes "I think it's enough...";
			close;
		}
		if (countitem(Bamboo_Cut) >= .@i[2] && countitem(Feather) >= .@i[3] && Zeny >= .@i[4]) {
			mes "You brought all the materials.";
			mes "I'll exchange it with the goods that I made.";
			delitem Bamboo_Cut,.@i[2];
			delitem Feather,.@i[3];
			Zeny -= .@i[4];
			getitem .@i[1],1; //Makeover_Brush,Paint_Brush
			close;
		}
		mes "To make a paint brush,";
		mes "you need "+.@i[2]+" Bamboo Cut,";
		mes .@i[3]+" Feathers,";
		mes "and "+.@i[0]+"00,000 zeny.";
		close;
	}
	mes "This is the Shadow Chaser workplace~";
	next;
	switch(select("Where is the paint?", "Where is the manager?")) {
	case 1:
		mes "[Titika]";
		mes "You mean paint?";
		mes "Talk to the assistant and ask about the paint tool.";
		close;
	case 2:
		mes "[Titika]";
		mes "My manager is inside of the workplace.";
		mes "If you visit him without a special reason, he will ignore you.";
		close;
	}
}

s_atelier,124,128,3	script	RimiGX#sc07_yuno	4_F_LGTGIRL,{
	mes "[RimiGX]";
	mes "Welcome.";
	if (Class == Job_Shadow_Chaser || Class == Job_Shadow_Chaser_T || Class == Job_Baby_Chaser) {
		mes "What are you looking for?";
		next;
		.@i = select("Make a new blush for make-up.", "Make a new blush for painting.", "Nothing.");
		mes "[RimiGX]";
		if (.@i == 1) setarray .@i[1],6121,1,10,100000;
		else if (.@i == 2) setarray .@i[1],6122,2,30,200000;
		else {
			mes "Visit me again.";
			close;
		}
		if (countitem(.@i[1])) {
			mes "I can't offer extra stuff.";
			mes "Visit here when you lost stuff.";
			close;
		}
		if (countitem(Bamboo_Cut) >= .@i[2] && countitem(Feather) >= .@i[3] && Zeny >= .@i[4]) {
			mes "You brought stuff you need.";
			mes "It will be fast when I exchange the stuff made?";
			delitem Bamboo_Cut,.@i[2];
			delitem Feather,.@i[3];
			Zeny -= .@i[4];
			getitem .@i[1],1; //Makeover_Brush,Paint_Brush
			close;
		}
		mes "For blush to "+((.@i[0] == 1)?"make up":"paint");
		mes "you need "+.@i[2]+" Bamboo Cut,";
		mes .@i[3]+" Feather, and "+.@i[0]+"00,000 zeny.";
		close;
	}
	mes "It's the shadow workplace~";
	next;
	switch(select("Where is the paint?", "Where is the manager?")) {
	case 1:
		mes "[RimiGX]";
		mes "Paint?";
		mes "Ask an assistant who works over there.";
		close;
	case 2:
		mes "[RimiGX]";
		mes "Manager? He's in inside of the workplace.";
		mes "But when you visit him, you should have something to tell him....";
		close;
	}
}

s_atelier,26,68,3	script	Vito#sc11_lgt	4_M_KHMAN,{
	mes "[Vito]";
	mes "Welcome.";
	if (Class == Job_Shadow_Chaser || Class == Job_Shadow_Chaser_T || Class == Job_Baby_Chaser) {
		mes "What are you looking for?";
		next;
		.@i = select("Make a new blush for make-up.", "Make a new blush for painting.", "Nothing.");
		mes "[Vito]";
		if (.@i == 1) setarray .@i[1],6121,1,10,100000;
		else if (.@i == 2) setarray .@i[1],6122,2,30,200000;
		else {
			mes "Whenever you need a blush, visit me.";
			mes "See you!";
			close;
		}
		if (countitem(.@i[1])) {
			mes "We offer only one blush to each person.";
			mes "We can't offer extra blushes.";
			close;
		}
		if (countitem(Bamboo_Cut) >= .@i[2] && countitem(Feather) >= .@i[3] && Zeny >= .@i[4]) {
			mes "You brought all what you need.";
			mes "I'm going to exchange the blush I made before.";
			delitem Bamboo_Cut,.@i[2];
			delitem Feather,.@i[3];
			Zeny -= .@i[4];
			getitem .@i[1],1; //Makeover_Brush,Paint_Brush
			close;
		}
		mes "For blush to "+((.@i[0] == 1)?"make up":"paint");
		mes "you need "+.@i[2]+" Bamboo Cut,";
		mes .@i[3]+" Feather, and "+.@i[0]+"00,000 zeny.";
		close;
	}
	mes "It's the shadow workplace.";
	next;
	switch(select("Where is the paint?", "Where is the manager?")) {
	case 1:
		mes "[Vito]";
		mes "Paint?";
		mes "Ask the assistant standing over there.";
		close;
	case 2:
		mes "[Vito]";
		mes "The man standing in front of the counter is the manager.";
		close;
	}
}

//== Warp Portal ===========================================
tha_t01,149,228,0	script	#shadowc02	WARPNPC,2,2,{
	end;
OnTouch:
	mes "You can feel weird power.";
	if (BaseJob == Job_Rogue && job_sha == 27) {
		mes "You are getting dizzy.";
		close2;
		warp "job3_sha01",71,36;
		end;
	}
	mes "You don't know what it is.";
	close;
}

//== Quest Mob Spawn =======================================
tur_dun03,0,0,0,0	monster	Shadow of Deception	2076,1,1000,0,0
ice_dun02,0,0,0,0	monster	Shadow of Illusion	2077,1,1000,0,0
niflheim,0,0,0,0	monster	Shadow of Pleasure	2078,1,1000,0,0