summaryrefslogtreecommitdiff
path: root/npc/quests/lvl4_weapon_quest.txt
blob: 0839f27a824cc4d7e3eabdb1394846a0e30dc7d4 (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
//================= 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)  L0ne_W0lf
//= Copyright (C)  Gepard
//= Copyright (C)  erKURITA
//= Copyright (C)  Silent
//= Copyright (C)  MasterOfMuppets
//= Copyright (C)  Reddozen
//= Copyright (C)  Vicious_Pucca
//=
//= 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/>.
//=========================================================================
//= Grade A and Grade S weapon quests
//================= Description ===========================================
//= Grade A and Grade S weapon quests
//================= Current Version =======================================
//= 1.6
//=========================================================================

umbala,117,285,3	script	Bazo#lv4	4_M_03,{
	if (checkweight(908,300) == 0) {
		mes "^3355FFWait a second! Right now, you're carrying too many items with you. Please come back after putting some of your things into Kafra Storage.^000000";
		close;
	}
	if (lv4_weapon == 0) {
		mes "[Bazo]";
		mes "Hello...";
		mes "Not from around";
		mes "here, are you?";
		next;
		mes "[Bazo]";
		mes "My name is Bazo Heburiech. I'm pleased to make your acquaintance. As you can see, I'm also not from around here either. I feel as if... We were meant to meet.";
		next;
		mes "[Bazo]";
		mes "If you don't mind, let me tell you a little about this place. When I first got here, I could tell there was something different about";
		mes "this village.";
		next;
		mes "[Bazo]";
		mes "For one thing, Umbala is close";
		mes "to Niflheim, realm of the dead. Because it's so near, some of the people here can actually draw evil power from that realm.";
		next;
		mes "[Bazo]";
		mes "Don't worry, the locals here only use this power to produce specialty items. During my stay here, I too have learned some of those crafting methods.";
		next;
		mes "[Bazo]";
		mes "If you like, I'd be willing to show you my skills. Now how does that sound?";
		next;
		switch(select("Sounds good~:No, thanks.")) {
		case 1:
			if (BaseLevel < 70) {
				mes "[Bazo]";
				mes "Hmm. For now, you should level";
				mes "up and get stronger first. Please understand that I mean well when I say that I don't think you're quite ready for my goods.";
				next;
				mes "[Bazo]";
				mes "Like I said before, these";
				mes "goods have some evil power. If you're not strong or experienced enough, you'd be driven insane.";
				next;
				mes "[Bazo]";
				mes "Once you're ready,";
				mes "I'll gladly make you";
				mes "something great~";
				close;
			}
			mes "[Bazo]";
			mes "Excellent! Let me tell you what materials I'll need. There's not that many, but you might want to write them down.";
			next;
			mes "[Bazo]";
			mes "First, I'll need";
			mes "some basic materials.";
			mes "10 Gold,";
			mes "50 Steel and";
			mes "10 Emperium.";
			next;
			mes "[Bazo]";
			mes "Then, I'll need some rare ore to enchant this product. The product's trait will depend on the ore that you use.";
			next;
			mes "[Bazo]";
			mes "Please bring me 30 of either Citrin, Turquoise or Agate. Well then, I wish you luck in finding those things and I'll be waiting for you~";
			lv4_weapon = 1;
			close;
		case 2:
			mes "[Bazo]";
			mes "Oh, okay.";
			mes "That's fine with me.";
			mes "But I'll be right here if you";
			mes "ever change your mind.";
			close;
		}
	}
	if (lv4_weapon > 7) {
		mes "[Bazo]";
		mes "Hmm...";
		mes "I sense something different about you. I can't quite describe it, but I get the distince feeling that there's nothing I can do for you.";
		next;
		mes "[Bazo]";
		mes "In any case, I wish you safety in your travels, adventurer.";
		close;
	}
	if ((lv4_weapon >= 5) && (lv4_weapon <= 7)) {
		mes "[Bazo]";
		mes "Great...!";
		mes "Now, let's do this!";
		mes "Oh, and you should know";
		mes "now that I can't tell what kind of thing we might get. But let's hope that it'll be good.";
		next;
		mes "^3355FFYou feel a mysterious energy gathering around the materials";
		mes "and the air around them begins to crackle. It seems as if the materials were absorbing";
		mes "all of the ambient energy.^000000";
		next;
		mes "^3355FFWithout any discernable action from Bazo, the materials began to fuse into each other.^000000";
		next;
		mes "[Bazo]";
		mes "Can you feel that? The materials are now gathering power on their own. It's out of my hands now. All we can do now is wait and pray.";
		next;
		mes "^3355FFThe materials finish melding";
		mes "and the air grows calm.^000000";
		next;
		mes "[Bazo]";
		mes "Ooooooh! It's done!";
		mes "We've succeeded! Ah,";
		mes "this is amazing! Our prayers";
		mes "must have been answered!";
		next;
		mes "[Bazo]";
		mes "It looks like all those materials turned into some kind of weapon. That ought to be quite useful to you. Now let's see...";
		next;
		mes "[Bazo]";
		if (lv4_weapon == 5) {
			mes "Immaterial Sword!";
			mes "This sword was born to be yours!";
			mes "Congratulations and hopefully it will be useful to you.";
			lv4_weapon = 0;
			getitem 1141,1; //Immaterial_Sword
		}
		else if (lv4_weapon == 6) {
			mes "Slash!";
			mes "This mace was born to be yours!";
			mes "Congratulations and hopefully it will be useful to you.";
			lv4_weapon = 0;
			getitem 1526,1; //Slash
		}
		else if (lv4_weapon == 7) {
			mes "Quadrille!";
			mes "This mace was born to be yours!";
			mes "Congratulations and hopefully it will be useful to you.";
			lv4_weapon = 0;
			getitem 1527,1; //Quadrille
		}
		next;
		mes "[Bazo]";
		mes "Ah, I'm very satisfied with these results. If you wish to have another one, please feel free to visit me anytime. Alright then, enjoy your travels~";
		close;
	}
	if (((lv4_weapon == 2) && (countitem(7295) > 29)) || ((lv4_weapon == 3) && (countitem(7294) > 29)) || ((lv4_weapon == 4) && (countitem(7291) > 29))) {
		if (lv4_weapon == 2) {
			.@itemreq = 7295; // Citrine
		}
		else if (lv4_weapon == 3) {
			.@itemreq = 7294; //Turqoise
		}
		else if (lv4_weapon == 4) {
			.@itemreq = 7291; // Agate
		}
		mes "[Bazo]";
		mes "Okay, it seems like you're";
		mes "ready so let's get started. Now, my favorite monsters are Poring, Hode, Obeaune and Minorous.";
		next;
		for( .@i = 1; .@i <= 5; ++.@i ) {
			setarray .@mons[.@i],rand(1,4);
			mes "[Bazo]";
			if (.@i == 1) {
				mes "Here's the first question.";
				mes "What monster am I thinking";
				mes "of right now?";
			}
			else if (.@i == 2) {
				mes "Alright...";
				mes "Now guess which monster";
				mes "I'm thinking about right... Now!";
			}
			else if (.@i == 3) {
				mes "Now what monster";
				mes "am I thinking about?";
			}
			else if (.@i == 4) {
				mes "Which monster am";
				mes "I thinking about right now?";
			}
			else if (.@i == 5) {
				mes "Okay, one last time.";
				mes "Guess which monster I'm";
				mes "thinking about right now.";
			}
			next;
			.@answer = select("Poring:Hode:Obeaune:Minorous");
			if (.@answer == .@mons[.@i]) {
				++.@dap;
			}
		}
		mes "[Bazo]";
		mes "Okay, let me give you the answers for the questions in the order I was thinking. Now, it might seem like I'm making them up right now, but I'm not. We gotta trust each other on this.";
		next;
		mes "[Bazo]";
		for( .@i = 1; .@i <= 5; ++.@i ) {
			if (.@mons[.@i] == 1) {
				mes "Poring";
			}
			else if (.@mons[.@i] == 1) {
				mes "Hode";
			}
			else if (.@mons[.@i] == 2) {
				mes "Obeaune";
			}
			else if (.@mons[.@i] == 3) {
				mes "Minorous";
			}
		}
		if (.@dap > 0) {
			delitem .@itemreq,30;
			lv4_weapon += 3;
		}
		else if (.@dap < 1) {
			delitem .@itemreq,10;
		}
		next;
		if (.@dap > 0) {
			mes "[Bazo]";
			mes "You got the right answer " + .@dap + " times! Incredible! As promised, I shall create a specialty Umbala item for you. Give me a little time to get ready, and then we'll get started.";
			close;
		}
		else if (.@dap < 1) {
			mes "[Bazo]";
			mes "Huh. You must not be able to";
			mes "read minds, or you've got really bad luck. Either way, we can't try this until we drive away the ill fortune around you.";
			next;
			mes "[Bazo]";
			mes "Hm, we need at least";
			mes "10 "+getitemname(.@itemreq)+" to try this";
			mes "again, so go ahead";
			mes "and give me that.";
			next;
			mes "[Bazo]";
			mes "Well, if you want to try this mind reading game again, just come";
			mes "back with the materials. I'll be waiting to gauge your luck.";
			close;
		}
	}
	if ((lv4_weapon == 2) || (lv4_weapon == 3) || (lv4_weapon == 4)) {
		mes "[Bazo]";
		mes "Hmm. Something doesn't";
		mes "feel right. We must be missing";
		mes "something. Would you check the";
		mes "materials you've brought again?";
		close;
	}
	if ((lv4_weapon == 1) && (countitem(969) > 9) && (countitem(999) > 49) && (countitem(714) > 9)) {
		mes "[Bazo]";
		mes "Oh, you've brought all the basic materials. Now, let me check to see if you brought any of the rare ores I asked for...";
		next;
		if ((countitem(7295) > 29) || (countitem(7294) > 29) || (countitem(7291) > 29)) {
			if ((countitem(7295) > 29) && (countitem(7294) > 29) && (countitem(7291) > 29)) {
				mes "[Bazo]";
				mes "Hahaha, I asked you to";
				mes "bring one kind of ore, not all of them. So which one would you";
				mes "like to use?";
				next;
				switch(select("Citrin:Turquoise:Agate")) {
				case 1:
					.@itemreq = 7295; // Citrine
					break;
				case 2:
					.@itemreq = 7294; //Turqoise
					break;
				case 3:
					.@itemreq = 7291; // Agate
					break;
				}
			}
			else if ((countitem(7295) > 29) && (countitem(7294) > 29)) {
				mes "Hahaha, I asked you to";
				mes "bring one kind of ore, not";
				mes "two. So which one would";
				mes "you like to use?";
				switch(select("Citrin:Turquoise")) {
				case 1:
					.@itemreq = 7295; // Citrine
					break;
				case 2:
					.@itemreq = 7294; //Turqoise
					break;
				}
			}
			else if ((countitem(7295) > 29) && (countitem(7291) > 29)) {
				mes "Hahaha, I asked you to";
				mes "bring one kind of ore, not";
				mes "two. So which one would";
				mes "you like to use?";
				switch(select("Citrin:Agate")) {
				case 1:
					.@itemreq = 7295; // Citrine
					break;
				case 2:
					.@itemreq = 7291; // Agate
					break;
				}
			}
			else if ((countitem(7294) > 29) && (countitem(7291) > 29)) {
				mes "Hahaha, I asked you to";
				mes "bring one kind of ore, not";
				mes "two. So which one would";
				mes "you like to use?";
				switch(select("Turquoise:Agate")) {
				case 1:
					.@itemreq = 7294; //Turqoise
					break;
				case 2:
					.@itemreq = 7291; // Agate
					break;
				}
			}
			else {
				if (countitem(7295) > 29) {
					.@itemreq = 7295; // Citrine
				}
				if (countitem(7294) > 29) {
					.@itemreq = 7294; //Turqoise
				}
				if (countitem(7291) > 29) {
					.@itemreq = 7291; // Agate
				}
			}
			mes "[Bazo]";
			mes getitemname(.@itemreq)+", huh?";
			mes "Alright then. Before we start, we must first test your luck. As you may have guessed, item crafting in Umbala is a very delicate process.";
			next;
			mes "[Bazo]";
			mes "But if we do this during a time when your luck is high, we'll have a good chance of succeeding in creating something great. That makes sense, right?";
			next;
			mes "[Bazo]";
			mes "Now, we'll test your luck by playing a simple mind reading";
			mes "game. I'll think of a specific monster, and you'll have to";
			mes "guess what it is from among";
			mes "my favorites.";
			next;
			mes "[Bazo]";
			mes "I'll give you five different chances, and if you can guess right once, we'll go ahead and craft the item. But if you get all of them wrong, we've got to drive away all the bad luck!";
			next;
			mes "[Bazo]";
			mes "In order to drive away ill fortune, I'll be taking 10 of the special ore you've brought along. I know it sounds bad, but it's a lot better than losing 30 ores if we failed to create the item, right?";
			next;
			mes "[Bazo]";
			mes "Okay, now I need";
			mes "some time to preprare...";
			mes "Talk to you later!";
			delitem 969,10; //Gold
			delitem 999,50; //Steel
			delitem 714,10; //Emperium
			if (.@itemreq == 7295) {
				lv4_weapon = 2;
			}
			else if (.@itemreq == 7294) {
				lv4_weapon = 3;
			}
			else if (.@itemreq == 7291) {
				lv4_weapon = 4;
			}
			close;
		}
		else {
			mes "[Bazo]";
			mes "Please bring me 30 Citrin, Turquoise or Agate. You must";
			mes "have forgotten to bring any of those, so please go back and get them so we can begin.";
			close;
		}
	}
	if (lv4_weapon == 1) {
		mes "[Bazo]";
		mes "If you'd like me to make you one of Umbala's specialty items, I'll need you to bring me some stuff so I can craft it for you.";
		next;
		mes "[Bazo]";
		mes "First, I'll need";
		mes "some basic materials.";
		mes "10 Gold,";
		mes "50 Steel and";
		mes "10 Emperium.";
		next;
		mes "[Bazo]";
		mes "Then, I'll need some rare ore to enchant this product. The product's trait will depend on the ore that you use.";
		next;
		mes "[Bazo]";
		mes "Please bring me 30 of either Citrin, Turquoise or Agate. Well then, I wish you luck in finding those things and I'll be waiting for you~";
		close;
	}
	mes "[Bazo]";
	mes "Hello...";
	mes "Not from around";
	mes "here, are you?";
	next;
	mes "[Bazo]";
	mes "My name is Bazo Heburiech. I'm pleased to make your acquaintance. As you can see, I'm also not from around here either. I feel as if... We were meant to meet.";
	next;
	mes "[Bazo]";
	mes "If you don't mind, let me tell you a little about this place. When I first got here, I could tell there was something different about";
	mes "this village.";
	next;
	mes "[Bazo]";
	mes "For one thing, Umbala is close";
	mes "to Niflheim, realm of the dead. Because it's so near, some of the people here can actually draw evil power from that realm.";
	next;
	mes "[Bazo]";
	mes "Don't worry, the locals here only use this power to produce specialty items. During my stay here, I too have learned some of those crafting methods.";
	next;
	mes "[Bazo]";
	mes "If you like, I'd be willing to show you my skills. Now how does that sound?";
	next;
	switch(select("Sounds good~:No, thanks.")) {
	case 1:
		if (BaseLevel < 70) {
			mes "[Bazo]";
			mes "Hmm. For now, you should level";
			mes "up and get stronger first. Please understand that I mean well when I say that I don't think you're quite ready for my goods.";
			next;
			mes "[Bazo]";
			mes "Like I said before, these";
			mes "goods have some evil power. If you're not strong or experienced enough, you'd be driven insane.";
			next;
			mes "[Bazo]";
			mes "Once you're ready,";
			mes "I'll gladly make you";
			mes "something great~";
			close;
		}
		mes "[Bazo]";
		mes "Excellent! Let me tell you what materials I'll need. There's not that many, but you might want to write them down.";
		next;
		mes "[Bazo]";
		mes "First, I'll need";
		mes "some basic materials.";
		mes "10 Gold,";
		mes "50 Steel and";
		mes "10 Emperium.";
		next;
		mes "[Bazo]";
		mes "Then, I'll need some rare ore to enchant this product. The product's trait will depend on the ore that you use.";
		next;
		mes "[Bazo]";
		mes "Please bring me 30 of either Citrin, Turquoise or Agate. Well then, I wish you luck in finding those things and I'll be waiting for you~";
		lv4_weapon = 1;
		close;
	case 2:
		mes "[Bazo]";
		mes "Oh, okay.";
		mes "That's fine with me.";
		mes "But I'll be right here if you";
		mes "ever change your mind.";
		close;
	}
}

umbala,163,257,3	script	Hibilaithan#lv4	4_M_UMDANCEKID2,{
	if (checkweight(908,300) == 0) {
		mes "^3355FFWait a second! Right now, you're carrying too many items with you. Please come back after putting some of your things into Kafra Storage.^000000";
		close;
	}
	if (event_umbala < 3) {
		mes "[Hibilaithan]";
		mes "Umba! Umbaba...umum! Baumba!";
		mes "Umumumbababaumumbabaumba!";
		mes "Umbaumbaumbaumbaumhah!";
		mes "Umumumumumbababababab!";
		close;
	}
	if (lv4_weapon == 0) {
		mes "[Hibilaithan]";
		mes "Eh heh heh...";
		mes "At long last, this";
		mes "day has come. Finally,";
		mes "I've earned recognition as";
		mes "Umbala's greatest artisan!";
		next;
		mes "[Hibilaithan]";
		mes "Yes yes, I'm ^802A2Athat^000000 Hibilaithan.";
		mes "And if you bring me the materials, I shall deign to craft one of my masterpieces for you. Bwahahaha~!";
		next;
		mes "[Hibilaithan]";
		mes "Hm? What was that?";
		mes "Never heard of me?";
		mes "Please, enough jesting!";
		mes "I mean, even though I may be a maestro at my craft, there's no need to feel intimidated.";
		next;
		mes "[Hibilaithan]";
		mes "Now be honest...";
		mes "Do you want to be";
		mes "the recipient of my";
		mes "inspired and oft imitated";
		mes "handiwork or not?";
		next;
		switch(select("Yes. Yes, I do.:Sorry, I don't need it!")) {
		case 1:
			if (BaseLevel < 70) {
				mes "[Hibilaithan]";
				mes "Ooh...";
				mes "Your mind is too weak to handle the power of my creations. I'm sorry, but you need more training.";
				next;
				mes "[Hibilaithan]";
				mes "I know it must be unbearable, waiting to own one of my creations. But for your own sake, get stronger first and then come back to me.";
				close;
			}
			mes "[Hibilaithan]";
			mes "Hahahaha!";
			mes "Of course you do!";
			mes "That was a rhetorical question!";
			mes "But I like your attitude. Now I'm going to tell you what you need";
			mes "to bring me, so don't forget.";
			next;
			mes "[Hibilaithan]";
			mes "Now, I'll need";
			mes "10 Gold,";
			mes "50 Steel and";
			mes "10 Emperium";
			mes "for the basic materials.";
			next;
			mes "[Hibilaithan]";
			mes "I'll also need some rare ore to endow my creation with power. Muscovite, Biotite or Pyroxene. Just bring me 30 of one of those kinds of ores.";
			next;
			mes "[Hibilaithan]";
			mes "Okay, I wish you good luck! In the meantime, I shall relax here and wait for your return.";
			lv4_weapon = 8;
			close;
		case 2:
			mes "[Hibilaithan]";
			mes "Hahahahaha~!";
			mes "There's no need";
			mes "to be modest!";
			mes "Oh, you adventurers";
			mes "can be so silly sometimes.";
			next;
			mes "[Hibilaithan]";
			mes "Well, if you ever muster up the courage to ask me of this favor, come back anytime. Give me the chance to show you my genius!";
			close;
		}
	}
	if ((lv4_weapon < 8) || (lv4_weapon > 14)) {
		mes "[Hibilaithan]";
		mes "...";
		mes "Ah... I don't feel";
		mes "like doing ^820A2Aanything^000000";
		mes "right now. Come back later, alright?";
		close;
	}
	if ((lv4_weapon == 12) || (lv4_weapon == 13) || (lv4_weapon == 14)) {
		mes "[Hibilaithan]";
		mes "Ah, I sense that all is in readiness. Good, good,";
		mes "I can begin! Now, don't peek.";
		mes "I can't risk sharing my";
		mes "awesome secrets!";
		next;
		mes "^3355FFHibilaithan picked up all the materials and turned his back to you. Although you couldn't get a clear look at what he was doing, his motions were deceptively simple and clumsy looking as you feel a strange energy gather around him.^000000";
		next;
		mes "[Hibilaithan]";
		mes "Umm~ umm~ umm~";
		mes "Aww~ aww~ aww~";
		mes "Phew~ phew~ phew~";
		mes "Woo~ woo~ woo~";
		mes "Ho~ ho~ ho~";
		next;
		mes "[Hibilaithan]";
		mes "Haha, it's done!";
		mes "^333333*Phew*^000000 That was pretty tough, but I'm sure you can't wait to see what we've made. Okay, let's take a look...";
		next;
		mes "[Hibilaithan]";
		if (lv4_weapon == 12) {
			mes "Ooh, this is a huge success! But of course, since it's my handiwork, that goes without saying. Hey, this is a weapon... Some sort of... Mailbreaker!";
			lv4_weapon = 0;
			getitem 1225,1; //Mail_Breaker
		}
		else if (lv4_weapon == 13) {
			mes "Ooh, this is a huge success! But of course, since it's my handiwork, that goes without saying. Hey, this is a weapon... Some sort of... Swordbreaker!";
			lv4_weapon = 0;
			getitem 1224,1; //Sword_Breaker
		}
		else if (lv4_weapon == 14) {
			mes "Ooh, this is a huge success! But of course, since it's my handiwork, that goes without saying. Hey, this is a weapon... Some sort of... Slaughter!";
			lv4_weapon = 0;
			getitem 1367,1; //Slaughter
		}
		next;
		mes "[Hibilaithan]";
		mes "Ah, yet another creation that's a testament to my awesome skills! Come back to me whenever you want me to make something truly great for you. See you around~";
		close;
	}
	if (((lv4_weapon == 9) && (countitem(7292) > 29)) || ((lv4_weapon == 10) && (countitem(7297) > 29)) || ((lv4_weapon == 11) && (countitem(7296) > 29))) {
		if (lv4_weapon == 9) {
			.@itemreq = 7292; //Muscovite
		}
		else if (lv4_weapon == 10) {
			.@itemreq = 7297; // Biotite
		}
		else if (lv4_weapon == 11) {
			.@itemreq = 7296; // Pyroxene
		}
		mes "[Hibilaithan]";
		mes "Okay, let's get started!";
		mes "First, we're going to see how";
		mes "lucky you are today. We'll play this simple game where you guess";
		mes "which monster I'm thinking of.";
		next;
		mes "[Hibilaithan]";
		mes "Don't worry, I'll tell you which monsters are my favorite, so this game isn't impossible. If you can guess just one of them right, we'll know your luck is good today!";
		next;
		for( .@i = 1; .@i <= 5; ++.@i ) {
			setarray .@mons[.@i],rand(1,4);
			mes "[Hibilaithan]";
			if (.@i == 1) {
				mes "Alright...";
				mes "My favorite monsters are";
				mes "Zealotus, Alice, Munak and";
				mes "Isis. Now... Guess which one";
				mes "I'm thinking about right now!";
			}
			else if (.@i == 2) {
				mes "Okay...";
				mes "Now I'm thinking about a different monster. Or am I? Guess which one!";
			}
			else if (.@i == 3) {
				mes "Now...";
				mes "Which monster am";
				mes "I thinking about?";
			}
			else if (.@i == 4) {
				mes "Can you guess which";
				mes "monster is on my mind now?";
			}
			else if (.@i == 5) {
				mes "One more time!";
				mes "What monster";
				mes "am I thinking of?";
			}
			next;
			.@answer = select("Zealotus:Alice:Munak:Isis");
			if (.@answer == .@mons[.@i]) {
				++.@dap;
			}
		}
		mes "[Hibilaithan]";
		mes "Alright, that's it!";
		mes "Now, this is the order";
		mes "of the monsters that";
		mes "I was thinking about...";
		next;
		mes "[Hibilaithan]";
		for( .@i = 1; .@i <= 5; ++.@i ) {
			if (.@mons[.@i] == 1) {
				mes "Zealotus";
			}
			else if (.@mons[.@i] == 1) {
				mes "Alice";
			}
			else if (.@mons[.@i] == 2) {
				mes "Munak";
			}
			else if (.@mons[.@i] == 3) {
				mes "Isis";
			}
		}
		if (.@dap > 0) {
			delitem .@itemreq,30;
			lv4_weapon += 3;
		}
		else if (.@dap < 1) {
			delitem .@itemreq,10;
		}
		next;
		mes "[Hibilaithan]";
		if (.@dap > 0) {
			mes "Amazing...";
			mes "You must have mental powers or something. You answered correctly";
			mes "" + .@dap + " times! Wow, you must have really good luck today!";
			next;
			mes "[Hibilaithan]";
			mes "In that case, there's no reason";
			mes "to delay. Give me a little time to prepare, and then we'll get started on making you something, okay?";
			close;
		}
		else if (.@dap < 1) {
			mes "Oooh...";
			mes "This isn't good.";
			mes "You got all of them ^660000wrong^000000.";
			mes "We better drive away all of your bad luck with 10 "+getitemname(.@itemreq)+".";
			next;
			mes "[Hibilaithan]";
			mes "We can't get started until your luck is strong enough, so we'll need to play this game again. If you don't have enough ores, just get some more before coming back.";
			next;
			mes "[Hibilaithan]";
			mes "I'm not going anywhere,";
			mes "so there's no rush. Take";
			mes "your time, I'll be waiting!";
			close;
		}
	}
	if ((lv4_weapon == 9) || (lv4_weapon == 10) || (lv4_weapon == 11)) {
		mes "[Hibilaithan]";
		mes "Hmm. Something doesn't";
		mes "feel right. We must be missing";
		mes "something. Would you check the";
		mes "materials you've brought again?";
		close;
	}
	if ((lv4_weapon == 8) && (countitem(969) > 9) && (countitem(999) > 49) && (countitem(714) > 9)) {
		mes "[Hibilaithan]";
		mes "Ooh, you're back earlier than I expected. I see that you have all the basic materials, but did you bring the most important thing...?";
		next;
		if ((countitem(7292) > 29) || (countitem(7297) > 29) || (countitem(7296) > 29)) {
			if ((countitem(7292) > 29) && (countitem(7297) > 29) && (countitem(7296) > 29)) {
				mes "[Hibilaithan]";
				mes "Whoa, you brought all three kinds of those ores I asked for? Haha, we can only use one of them, so go ahead and choose.";
				next;
				switch(select("Muscovite:Biotite:Pyroxene")) {
				case 1:
					.@itemreq = 7292; //Muscovite
					break;
				case 2:
					.@itemreq = 7297; // Biotite
					break;
				case 3:
					.@itemreq = 7296; // Pyroxene
					break;
				}
			}
			else if ((countitem(7292) > 29) && (countitem(7297) > 29)) {
				mes "[Hibilaithan]";
				mes "Hahaha, you only needed to bring one kind of ore, not two. Now, which ore would you like to use?";
				next;
				switch(select("Muscovite:Biotite")) {
				case 1:
					.@itemreq = 7292; //Muscovite
					break;
				case 2:
					.@itemreq = 7297; // Biotite
					break;
				}
			}
			else if ((countitem(7292) > 29) && (countitem(7296) > 29)) {
				mes "[Hibilaithan]";
				mes "Hahaha, you only needed to bring one kind of ore, not two. Now, which ore would you like to use?";
				next;
				switch(select("Muscovite:Pyroxene")) {
				case 1:
					.@itemreq = 7292; //Muscovite
					break;
				case 2:
					.@itemreq = 7296; // Pyroxene
					break;
				}
			}
			else if ((countitem(7297) > 29) && (countitem(7296) > 29)) {
				mes "[Hibilaithan]";
				mes "Hahaha, you only needed to bring one kind of ore, not two. Now, which ore would you like to use?";
				next;
				switch(select("Biotite:Pyroxene")) {
				case 1:
					.@itemreq = 7297; // Biotite
					break;
				case 2:
					.@itemreq = 7296; // Pyroxene
					break;
				}
			}
			else {
				if (countitem(7292) > 29) {
					.@itemreq = 7292; //Muscovite
				}
				else if (countitem(7297) > 29) {
					.@itemreq = 7297; // Biotite
				}
				else if (countitem(7296) > 29) {
					.@itemreq = 7296; // Pyroxene
				}
			}
			mes "[Hibilaithan]";
			mes getitemname(.@itemreq)+", eh?";
			mes "Alright, before we start, we need to minimize as much of your negative fortune as we can.";
			next;
			mes "[Hibilaithan]";
			mes "We're investing a lot of material and energy into this, so it'd be a pity if we fail, right?";
			next;
			mes "[Hibilaithan]";
			mes "Now, if I can craft you something on a day on which your fortune is strong, it should be okay. In order to measure your luck, we'll play a mind reading game.";
			next;
			mes "[Hibilaithan]";
			mes "It's simple. You simply guess the name of the monster I'm thinking about among four choices. If you guess correctly once, then we can get started!";
			next;
			mes "[Hibilaithan]";
			mes "I'll be giving you five chances. However, if you get all five wrong, I need to take 10 of the special ore that you brought in order to drive away your misfortune.";
			next;
			mes "[Hibilaithan]";
			mes "Sure, that might sound bad,";
			mes "but it's a small price to pay for insuring success in crafting your special item, right?";
			next;
			mes "[Hibilaithan]";
			mes "Okay, I'll need some time to get ready. Come back to me a little later so that I can judge your";
			mes "luck today~";
			delitem 969,10; //Gold
			delitem 999,50; //Steel
			delitem 714,10; //Emperium
			if (countitem(7292) > 29) {
				lv4_weapon = 9;
			}
			else if (countitem(7297) > 29) {
				lv4_weapon = 10;
			}
			else if (countitem(7296) > 29) {
				lv4_weapon = 11;
			}
			close;
		}
		else {
			mes "[Hibilaithan]";
			mes "Hm...?";
			mes "It looks like you didn't";
			mes "bring any of that special";
			mes "ore I asked for.";
			next;
			mes "[Hibilaithan]";
			mes "Please bring 30 of";
			mes "either, Biotite, Muscovite";
			mes "or Pyroxene since we need";
			mes "one of those kinds of ores";
			mes "for me to start crafting.";
			close;
		}
	}
	if (lv4_weapon == 8) {
		mes "[Hibilaithan]";
		mes "Now, I'll need";
		mes "10 Gold,";
		mes "50 Steel and";
		mes "10 Emperium";
		mes "for the basic materials.";
		next;
		mes "[Hibilaithan]";
		mes "I'll also need some rare ore to endow my creation with power. Muscovite, Biotite or Pyroxene. Just bring me 30 of one of those kinds of ores.";
		next;
		mes "[Hibilaithan]";
		mes "Okay, I wish you good luck! In the meantime, I shall relax here and wait for your return.";
		close;
	}
	mes "[Hibilaithan]";
	mes "Eh heh heh...";
	mes "At long last, this";
	mes "day has come. Finally,";
	mes "I've earned recognition as";
	mes "Umbala's greatest artisan!";
	next;
	mes "[Hibilaithan]";
	mes "Yes yes, I'm ^802A2Athat^000000 Hibilaithan.";
	mes "And if you bring me the materials, I shall deign to craft one of my masterpieces for you. Bwahahaha~!";
	next;
	mes "[Hibilaithan]";
	mes "Hm? What was that?";
	mes "Never heard of me?";
	mes "Please, enough jesting!";
	mes "I mean, even though I may be a maestro at my craft, there's no need to feel intimidated.";
	next;
	mes "[Hibilaithan]";
	mes "Now be honest...";
	mes "Do you want to be";
	mes "the recipient of my";
	mes "inspired and oft imitated";
	mes "handiwork or not?";
	next;
	switch(select("Yes. Yes, I do.:Sorry, I don't need it!")) {
	case 1:
		if (BaseLevel < 70) {
			mes "[Hibilaithan]";
			mes "Ooh...";
			mes "Your mind is too weak to handle the power of my creations. I'm sorry, but you need more training.";
			next;
			mes "[Hibilaithan]";
			mes "I know it must be unbearable, waiting to own one of my creations. But for your own sake, get stronger first and then come back to me.";
			close;
		}
		mes "[Hibilaithan]";
		mes "Hahahaha!";
		mes "Of course you do!";
		mes "That was a rhetorical question!";
		mes "But I like your attitude. Now I'm going to tell you what you need";
		mes "to bring me, so don't forget.";
		next;
		mes "[Hibilaithan]";
		mes "Now, I'll need";
		mes "10 Gold,";
		mes "50 Steel and";
		mes "10 Emperium";
		mes "for the basic materials.";
		next;
		mes "[Hibilaithan]";
		mes "I'll also need some rare ore to endow my creation with power. Muscovite, Biotite or Pyroxene. Just bring me 30 of one of those kinds of ores.";
		next;
		mes "[Hibilaithan]";
		mes "Okay, I wish you good luck! In the meantime, I shall relax here and wait for your return.";
		lv4_weapon = 8;
		close;
	case 2:
		mes "[Hibilaithan]";
		mes "Hahahahaha~!";
		mes "There's no need";
		mes "to be modest!";
		mes "Oh, you adventurers";
		mes "can be so silly sometimes.";
		next;
		mes "[Hibilaithan]";
		mes "Well, if you ever muster up the courage to ask me of this favor, come back anytime. Give me the chance to show you my genius!";
		close;
	}
}

um_in,156,77,5	script	Tabezthan#lv4	4_M_UMOLDMAN,{
	if (checkweight(908,300) == 0) {
		mes "^3355FFWait a second! Right now, you're carrying too many items with you. Please come back after putting some of your things into Kafra Storage.^000000";
		close;
	}
	if (event_umbala < 3) {
		mes "[Tabezthan]";
		mes "Umba! Umbaba...umum! Baumba!";
		mes "Umumumbababaumumbabaumba!";
		mes "Umbaumbaumbaumbaumhah!";
		mes "Umumumumumbababababab!";
		close;
	}
	if (lv4_weapon == 0) {
		mes "[Tabezthan]";
		mes "Hmm...";
		mes "I feel something different from you. You are a stranger around here, are you not?";
		next;
		mes "[Tabezthan]";
		mes "Allow me to introduce myself. I am Tabezthan, a veritable fountain of knowledge and a renown genius in Umbala. Ha ha ha!";
		next;
		mes "[Tabezthan]";
		mes "I have two disciples: Hibilaithan, who is a fool, and Bazo, who is quite intelligent and shows potential.";
		next;
		mes "[Tabezthan]";
		mes "Of course, both are very talented and skilled, but I worry about Hibilaithan. He makes many stupid mistakes but he is fairly shameless about his errors.";
		next;
		mes "[Tabezthan]";
		mes "I have taught them how to manipulate the ambient energy";
		mes "here in Umbala in order to create objects. I hear that there is a similar skill in the outside world known to you as alchemy.";
		next;
		mes "[Tabezthan]";
		mes "In any case, do have any use";
		mes "for my skills? If so, please bring me the materials that I need so that I may be of service to you.";
		next;
		switch(select("Yes, please.:No, thank you.")) {
		case 1:
			if (BaseLevel < 70) {
				mes "[Tabezthan]";
				mes "I regret to say that you are not yet capable of handling my crafts. Please train and acquire greater strength before returning to me. I wish you safety in your travels.";
				close;
			}
			mes "[Tabezthan]";
			mes "Good. I ask that you";
			mes "remember what you need";
			mes "to bring me so that I may craft something for you. I shall need...";
			next;
			mes "[Tabezthan]";
			mes "10 Gold,";
			mes "50 Steel";
			mes "and 10 Emperium";
			mes "for the basic materials.";
			mes "I'll also need a rare ore to enchant my creation.";
			next;
			mes "[Tabezthan]";
			mes "In addition, please bring me 30 of either Phlogopite, Peridot or Rose Quartz. Depending on the ore that you choose, my creation will possess a different trait.";
			next;
			mes "[Tabezthan]";
			mes "Please be aware that I do not know exactly what item will be produced. There are too many factors in alchemy and there is a limit to anyone's knowledge.";
			next;
			mes "[Tabezthan]";
			mes "In other words, we will have to trust to luck. However, we'll have time to talk about that later. For now, please go and gather the necessary materials. I shall be waiting here.";
			lv4_weapon = 15;
			close;
		case 2:
			mes "[Tabezthan]";
			mes "Oh... I see.";
			mes "It is a little disappointing to hear that, but please return";
			mes "if you believe that I can be";
			mes "of service to you.";
			close;
		}
	}
	if ((lv4_weapon < 15) || (lv4_weapon > 21)) {
		mes "[Tabezthan]";
		mes "Hm...?";
		mes "You don't have any";
		mes "business with me, do you?";
		next;
		mes "[Tabezthan]";
		mes "Please do not disregard me as merely an old fool. When a man gets older, he can see more clearly into the hearts of others. Please continue what you have been doing, and I wish you good fortune on your journeys.";
		close;
	}
	if ((lv4_weapon == 19) || (lv4_weapon == 20) || (lv4_weapon == 21)) {
		mes "[Tabezthan]";
		mes "Great, I'm ready to begin. Give me a minute to arrange these materials into a mystic circle.";
		next;
		mes "^3355FFHe arranged the materials in a strange circle and began chanting. The air around Tabezthan grew ominously heavy and the materials seemed to surge with newfound energy.^000000";
		next;
		mes "[Tabezthan]";
		mes "Please understand that this power is not coming from me. I am merely using my skills to gather power from the realm of the dead and infusing them into these materials.";
		next;
		mes "[Tabezthan]";
		mes "Let us pray for good results.";
		mes "All we can do now is leave the";
		mes "final result to fate.";
		next;
		mes "^3355FFThe materials slowly melded";
		mes "into each other, combining into a completely new object. It is only";
		mes "a matter of time before we learn whether you and Tabezthan have succeeded or failed.^000000";
		next;
		mes "[Tabezthan]";
		if (lv4_weapon == 19) {
			mes "I don't believe it!";
			mes "This is such an incredibly rare weapon! Yes, I remember its name from what my late father told me. This is... Caesar's Sword!";
			lv4_weapon = 0;
			getitem 1134,1; //Scissores_Sword
		}
		else if (lv4_weapon == 20) {
			mes "I don't believe it!";
			mes "This is such an incredibly rare weapon! Yes, I remember its name from what my late father told me. This is... Tirfing!";
			lv4_weapon = 0;
			getitem 1139,1; //Tale_Fing_
		}
		else if (lv4_weapon == 21) {
			mes "I don't believe it!";
			mes "This is such an incredibly rare weapon! Yes, I remember its name from what my late father told me. This is... Sabbath!";
			lv4_weapon = 0;
			getitem 1365,1; //Sabbath
		}
		next;
		mes "[Tabezthan]";
		mes "This mighty weapon is yours to keep. Feel free to come back to me";
		mes "if you think that I can be of service to you once again.";
		mes "Farewell for now, brave adventurer.";
		close;
	}
	if (((lv4_weapon == 16) && (countitem(7290))) || ((lv4_weapon == 17) && (countitem(7289))) || ((lv4_weapon == 18) && (countitem(7293)))) {
		if (lv4_weapon == 16) {
			.@itemreq = 7290; //Phlogopite
		}
		else if (lv4_weapon == 17) {
			.@itemreq = 7289; //Olivine
		}
		else if (lv4_weapon == 18) {
			.@itemreq = 7293; //Rose_Quartz
		}
		mes "[Tabezthan]";
		mes "Shall we begin?";
		mes "I will tell you the names of 4 different monsters. You will be given five chances to predict which monster I am thinking about.";
		next;
		mes "[Tabezthan]";
		mes "This mind reading game is an effective method of determining whether your fortune is good or bad. Get ready now...";
		next;
		for( .@i = 1; .@i <= 5; ++.@i ) {
			setarray .@mons[.@i],rand(1,4);
			mes "[Tabezthan]";
			if (.@i == 1) {
				mes "My favorite monsters are";
				mes "Baphomet, Dark Lord, Bloody";
				mes "Knight and Stormy Knight. Now,";
				mes "try to guess which one I am";
				mes "thinking about.";
			}
			else if (.@i == 2) {
				mes "Please try to determine";
				mes "which monster I'm thinking";
				mes "of right this moment.";
			}
			else if (.@i == 3) {
				mes "Now, try to sense";
				mes "which monster I am";
				mes "visualizing in my mind.";
			}
			else if (.@i == 4) {
				mes "Once again, try";
				mes "and guess what monster";
				mes "I'm thinking about right now.";
			}
			else if (.@i == 5) {
				mes "Alright, this is";
				mes "your last chance to";
				mes "correctly guess which";
				mes "monster I'm thinking of.";
			}
			next;
			.@answer = select("Baphomet:Dark Lord:Bloody Knight:Stormy Knight");
			if (.@answer == .@mons[.@i]) {
				++.@dap;
			}
		}
		mes "[Tabezthan]";
		mes "That's the end of the game. Now, this is the order of the monsters that I had in mind...";
		next;
		mes "[Tabezthan]";
		for( .@i = 1; .@i <= 5; ++.@i ) {
			if (.@mons[.@i] == 1) {
				mes "Baphomet";
			}
			else if (.@mons[.@i] == 2) {
				mes "Dark Lord";
			}
			else if (.@mons[.@i] == 3) {
				mes "Bloody Knight";
			}
			else if (.@mons[.@i] == 4) {
				mes "Stormy Knight";
			}
		}
		if (.@dap > 0) {
			delitem .@itemreq,30;
			lv4_weapon += 3;
		}
		else if (.@dap < 1) {
			delitem .@itemreq,10;
		}
		next;
		mes "[Tabezthan]";
		if (.@dap > 0) {
			mes "You have answered " + .@dap + " times correctly. It appears that your luck is at a high point, and it is an ideal time for me to craft something for you. Give me a little time to prepare, and return to me.";
			close;
		}
		else if (.@dap < 1) {
			mes "Unfortunately, you weren't able to guess any of them correctly. It seems that your luck is charged with negative energy. We'll need to expel this bad luck with 10 of your Phologopite.";
			next;
			mes "[Tabezthan]";
			mes "Do not be disheartened. Losing 10 "+getitemname(.@itemreq)+" is much better than losing 30 on a failed crafting attempt.";
			next;
			mes "[Tabezthan]";
			mes "Please come back with 30 Phologopite, and we shall try this mind reading game once again. I shall be waiting for you right here.";
			close;
		}
	}
	if ((lv4_weapon == 16) || (lv4_weapon == 17) || (lv4_weapon == 18)) {
		mes "[Tabezthan]";
		mes "Umm...";
		mes "You do not seem to";
		mes "have enough Rose Quartz.";
		mes "Please try to gather at";
		mes "least 30 of them and then";
		mes "return to me.";
		close;
	}
	if ((lv4_weapon == 15) && (countitem(969) > 9) && (countitem(999) > 49) && (countitem(714) > 9)) {
		mes "[Tabezthan]";
		mes "You've returned to me earlier than I've expected. I sense that you've brought all the basic materials, but did you bring enough special ore as well?";
		next;
		if ((countitem(7290) > 29) || (countitem(7289) > 29) || (countitem(7293) > 29)) {
			if ((countitem(7290) > 29) && (countitem(7289) > 29) && (countitem(7293) > 29)) {
				mes "[Tabezthan]";
				mes "Ah, you've brought all three. However, we can only use one kind of ore at a time, so please choose just one.";
				next;
				switch(select("Phlogopite:Peridot:Rose Quartz")) {
				case 1:
					.@itemreq = 7290; //Phlogopite
					break;
				case 2:
					.@itemreq = 7289; //Olivine
					break;
				case 3:
					.@itemreq = 7293; //Rose_Quartz
					break;
				}
			}
			else if ((countitem(7290) > 29) && (countitem(7289) > 29)) {
				mes "[Tabezthan]";
				mes "Hahaha, you didn't need";
				mes "to bring more than one kind";
				mes "of ore. Now, which one would";
				mes "you like to use?";
				next;
				switch(select("Phlogopite:Peridot")) {
				case 1:
					.@itemreq = 7290; //Phlogopite
					break;
				case 2:
					.@itemreq = 7289; //Olivine
					break;
				}
			}
			else if ((countitem(7290) > 29) && (countitem(7293) > 29)) {
				mes "[Tabezthan]";
				mes "Hahaha, you didn't need";
				mes "to bring more than one kind";
				mes "of ore. Now, which one would";
				mes "you like to use?";
				next;
				switch(select("Phlogopite:Rose Quartz")) {
				case 1:
					.@itemreq = 7290; //Phlogopite
					break;
				case 2:
					.@itemreq = 7293; //Rose_Quartz
					break;
				}
			}
			else if ((countitem(7289) > 29) && (countitem(7293) > 29)) {
				mes "[Tabezthan]";
				mes "Hahaha, you didn't need";
				mes "to bring more than one kind";
				mes "of ore. Now, which one would";
				mes "you like to use?";
				next;
				switch(select("Peridot:Rose Quartz")) {
				case 1:
					.@itemreq = 7289; //Olivine
					break;
				case 2:
					.@itemreq = 7293; //Rose_Quartz
					break;
				}
			}
			else {
				if (countitem(7290) > 29) {
					.@itemreq = 7290; //Phlogopite
				}
				else if (countitem(7289) > 29) {
					.@itemreq = 7289; //Olivine
				}
				else if (countitem(7293) > 29) {
					.@itemreq = 7293; //Rose_Quartz
				}
			}
			mes "[Tabezthan]";
			mes "Good, "+getitemname(.@itemreq)+".";
			mes "Now, before I can begin crafting,";
			mes "I must first determine whether or not you have enough luck for me";
			mes "to proceed.";
			next;
			mes "[Tabezthan]";
			mes "We will play a mind reading game";
			mes "so that I can measure your luck and see if it is high enough to avoid the possibility of crafting failure.";
			next;
			mes "[Tabezthan]";
			mes "You will have 5 chances to guess which one of my four favorite monsters that I am thinking of. If you can answer correctly even just once, I can begin crafting.";
			next;
			mes "[Tabezthan]";
			mes "However, if you answer incorrectly all five times, I must take 10 of your special ore in order to expel your misfortune.";
			next;
			mes "[Tabezthan]";
			mes "Now, please give me a little time to finish my preparations. I shall speak to you later.";
			delitem 999,50; //Steel
			delitem 969,10; //Gold
			delitem 714,10; //Emperium
			if (countitem(7290) > 29) {
				lv4_weapon = 16;
			}
			else if (countitem(7289) > 29) {
				lv4_weapon = 17;
			}
			else if (countitem(7293) > 29) {
				lv4_weapon = 18;
			}
			close;
		}
		else {
			mes "[Tabezthan]";
			mes "Hmmm...";
			mes "It doesn't look like it. Remember, I need 30 of either Phlogopite, Peridot or Rose Quartz before I can begin crafting.";
			close;
		}
	}
	if (lv4_weapon == 15) {
		mes "[Tabezthan]";
		mes "[Tabezthan]";
		mes "Bring me...";
		mes "10 Gold,";
		mes "50 Steel";
		mes "and 10 Emperium.";
		mes "I'll also need a rare ore to enchant my creation.";
		next;
		mes "[Tabezthan]";
		mes "In addition, please bring me 30 of either Phlogopite, Peridot or Rose Quartz. Depending on the ore that you choose, my creation will possess a different trait.";
		close;
	}
	mes "[Tabezthan]";
	mes "Hmm...";
	mes "I feel something different from you. You are a stranger around here, are you not?";
	next;
	mes "[Tabezthan]";
	mes "Allow me to introduce myself. I am Tabezthan, a veritable fountain of knowledge and a renown genius in Umbala. Ha ha ha!";
	next;
	mes "[Tabezthan]";
	mes "I have two disciples: Hibilaithan, who is a fool, and Bazo, who is quite intelligent and shows potential.";
	next;
	mes "[Tabezthan]";
	mes "Of course, both are very talented and skilled, but I worry about Hibilaithan. He makes many stupid mistakes but he is fairly shameless about his errors.";
	next;
	mes "[Tabezthan]";
	mes "I have taught them how to manipulate the ambient energy";
	mes "here in Umbala in order to create objects. I hear that there is a similar skill in the outside world known to you as alchemy.";
	next;
	mes "[Tabezthan]";
	mes "In any case, do have any use";
	mes "for my skills? If so, please bring me the materials that I need so that I may be of service to you.";
	next;
	switch(select("Yes, please.:No, thank you.")) {
	case 1:
		if (BaseLevel < 70) {
			mes "[Tabezthan]";
			mes "I regret to say that you are not yet capable of handling my crafts. Please train and acquire greater strength before returning to me. I wish you safety in your travels.";
			close;
		}
		mes "[Tabezthan]";
		mes "Good. I ask that you";
		mes "remember what you need";
		mes "to bring me so that I may craft something for you. I shall need...";
		next;
		mes "[Tabezthan]";
		mes "10 Gold,";
		mes "50 Steel";
		mes "and 10 Emperium";
		mes "for the basic materials.";
		mes "I'll also need a rare ore to enchant my creation.";
		next;
		mes "[Tabezthan]";
		mes "In addition, please bring me 30 of either Phlogopite, Peridot or Rose Quartz. Depending on the ore that you choose, my creation will possess a different trait.";
		next;
		mes "[Tabezthan]";
		mes "Please be aware that I do not know exactly what item will be produced. There are too many factors in alchemy and there is a limit to anyone's knowledge.";
		next;
		mes "[Tabezthan]";
		mes "In other words, we will have to trust to luck. However, we'll have time to talk about that later. For now, please go and gather the necessary materials. I shall be waiting here.";
		lv4_weapon = 15;
		close;
	case 2:
		mes "[Tabezthan]";
		mes "Oh... I see.";
		mes "It is a little disappointing to hear that, but please return";
		mes "if you believe that I can be";
		mes "of service to you.";
		close;
	}
}

aldebaran,178,239,3	script	Bill Thayer#lv4	4_M_05,{
	if (lv4_weapon == 55) {
		mes "[Bill Thayer]";
		mes "Hmm...";
		mes "You'll need 30 Pyroxene, Turquoise and Phlogopite. I'm sure those are the materials you need, but I have no idea what the end product is supposed to be...";
		next;
		mes "[Bill Thayer]";
		mes "^333333*Sniff*^000000";
		mes "All of my sons passed away";
		mes "before they could finish their research. I should have been the one to have died. They were still so young...";
		close;
	}
	if (lv4_weapon == 54) {
		mes "[Bill Thayer]";
		mes "Hmm...";
		mes "You'll need 30 Citrin, Agate";
		mes "and Muscovite. I'm sure those are the materials you need, but I have no idea what the end product is supposed to be...";
		next;
		mes "[Bill Thayer]";
		mes "^333333*Sniff*^000000";
		mes "All of my sons passed away";
		mes "before they could finish their research. I should have been the one to have died. They were still so young...";
		close;
	}
	if (lv4_weapon == 53) {
		mes "[Bill Thayer]";
		mes "What...?";
		mes "Waltboughst's research?";
		next;
		mes "[Bill Thayer]";
		mes "How do you know him?";
		mes "Were you a friend of his while";
		mes "he was still alive? This must be";
		mes "an act of providence...";
		next;
		if (rand(1,2) == 1) {
			mes "[Bill Thayer]";
			mes "Hmm...";
			mes "You'll need 30 Citrin, Agate";
			mes "and Muscovite. I'm sure those are the materials you need, but I have no idea what the end product is supposed to be...";
			next;
			mes "[Bill Thayer]";
			mes "^333333*Sniff*^000000";
			mes "All of my sons passed away";
			mes "before they could finish their research. I should have been the one to have died. They were still so young...";
			lv4_weapon = 54;
			close;
		}
		else {
			mes "[Bill Thayer]";
			mes "Hmm...";
			mes "You'll need 30 Pyroxene, Turquoise and Phlogopite. I'm sure those are the materials you need, but I have no idea what the end product is supposed to be...";
			next;
			mes "[Bill Thayer]";
			mes "^333333*Sniff*^000000";
			mes "All of my sons passed away";
			mes "before they could finish their research. I should have been the one to have died. They were still so young...";
			lv4_weapon = 55;
			close;
		}
	}
	if ((lv4_weapon == 49) || (lv4_weapon == 50)) {
		mes "[Bill Thayer]";
		mes "Don't you have anything better to do? Quit bothering me and do your best to reach your own goals.";
		next;
		mes "[Bill Thayer]";
		mes "^333333*Sigh...*^000000";
		mes "Still, trying your";
		mes "best won't always result";
		mes "in success though.";
		next;
		mes "[Bill Thayer]";
		mes "^660000But that's no excuse!^000000";
		mes "Every successful man in";
		mes "history has tried his best!";
		next;
		mes "[Bill Thayer]";
		mes "I hope you remember that. It's something I used to tell my sons when they were alive. Ha ha ha~";
		lv4_weapon = 50;
		close;
	}
	if (lv4_weapon == 45) {
		mes "[Bill Thayer]";
		mes "Hmm...";
		mes "You'll need 30 Turquoise,";
		mes "Biotite and Rose Quartz. I'm sure those are the materials you need, but I have no idea what the end product is supposed to be...";
		next;
		mes "[Bill Thayer]";
		mes "^333333*Sniff*^000000";
		mes "All of my sons passed away";
		mes "before they could finish their research. I should have been the one to have died. They were still so young...";
		lv4_weapon = 45;
		close;
	}
	if (lv4_weapon == 46) {
		mes "[Bill Thayer]";
		mes "Hmm...";
		mes "You'll need 30 Phlogopite,";
		mes "Citrine and Pyroxene. I'm sure those are the materials you need, but I have no idea what the end product is supposed to be...";
		next;
		mes "[Bill Thayer]";
		mes "^333333*Sniff*^000000";
		mes "All of my sons passed away";
		mes "before they could finish their research. I should have been the one to have died. They were still so young...";
		lv4_weapon = 46;
		close;
	}
	if (lv4_weapon == 44) {
		mes "[Bill Thayer]";
		mes "What...?";
		mes "Hein's research?";
		next;
		mes "[Bill Thayer]";
		mes "How do you know him?";
		mes "Were you a friend of his while";
		mes "he was still alive? This must be";
		mes "an act of providence...";
		next;
		if (rand(1,2) == 1) {
			mes "[Bill Thayer]";
			mes "Hmm...";
			mes "You'll need 30 Turquoise,";
			mes "Biotite and Rose Quartz. I'm sure those are the materials you need, but I have no idea what the end product is supposed to be...";
			next;
			mes "[Bill Thayer]";
			mes "^333333*Sniff*^000000";
			mes "All of my sons passed away";
			mes "before they could finish their research. I should have been the one to have died. They were still so young...";
			lv4_weapon = 45;
			close;
		}
		else {
			mes "[Bill Thayer]";
			mes "Hmm...";
			mes "You'll need 30 Phlogopite,";
			mes "Citrine and Pyroxene. I'm sure those are the materials you need, but I have no idea what the end product is supposed to be...";
			next;
			mes "[Bill Thayer]";
			mes "^333333*Sniff*^000000";
			mes "All of my sons passed away";
			mes "before they could finish their research. I should have been the one to have died. They were still so young...";
			lv4_weapon = 46;
			close;
		}
	}
	if ((lv4_weapon == 40) || (lv4_weapon == 41)) {
		mes "[Bill Thayer]";
		mes "No matter how much you're willing to pay me, I'm not going to forge you any weapons.";
		next;
		mes "[Bill Thayer]";
		mes "Even during my weapon making days,";
		mes "I never accepted money from any of";
		mes "my clients. Do you know why?";
		next;
		mes "[Bill Thayer]";
		mes "I always told my sons: 'Never accept payment to forge a good weapon. ^333333It brings bad luck.^000000' Don't ask me how that works. It just is.";
		lv4_weapon = 41;
		next;
		mes "[Bill Thayer]";
		mes "Even if you offer me something more precious than money, I won't do any weapon smithing for you. Although I might have back when my sons were still alive...";
		close;
	}
	if (lv4_weapon == 37) {
		mes "[Bill Thayer]";
		mes "Hmm...";
		mes "You'll need 30 Biotite,";
		mes "Agate and Citrin. I'm sure those are the materials you need, but I have no idea what the end product is supposed to be...";
		next;
		mes "[Bill Thayer]";
		mes "^333333*Sniff*^000000";
		mes "All of my sons passed away";
		mes "before they could finish their research. I should have been the one to have died. They were still so young...";
		close;
	}
	if (lv4_weapon == 36) {
		mes "[Bill Thayer]";
		mes "Hmm...";
		mes "You'll need 30 Muscovite,";
		mes "Peridot and Rose Quartz. I'm sure those are the materials you need, but I have no idea what the end product is supposed to be...";
		next;
		mes "[Bill Thayer]";
		mes "^333333*Sniff*^000000";
		mes "All of my sons passed away";
		mes "before they could finish their research. I should have been the one to have died. They were still so young...";
		close;
	}
	if (lv4_weapon == 35) {
		mes "[Bill Thayer]";
		mes "What...?";
		mes "Reyghema's research?";
		next;
		mes "[Bill Thayer]";
		mes "How do you know him?";
		mes "Were you a friend of his while";
		mes "he was still alive? This must be";
		mes "an act of providence...";
		next;
		if (rand(1,2) == 1) {
			mes "[Bill Thayer]";
			mes "Hmm...";
			mes "You'll need 30 Muscovite,";
			mes "Peridot and Rose Quartz. I'm sure those are the materials you need, but I have no idea what the end product is supposed to be...";
			next;
			mes "[Bill Thayer]";
			mes "^333333*Sniff*^000000";
			mes "All of my sons passed away";
			mes "before they could finish their research. I should have been the one to have died. They were still so young...";
			lv4_weapon = 36;
			close;
		}
		else {
			mes "[Bill Thayer]";
			mes "Hmm...";
			mes "You'll need 30 Biotite,";
			mes "Agate and Citrin. I'm sure those are the materials you need, but I have no idea what the end product is supposed to be...";
			next;
			mes "[Bill Thayer]";
			mes "^333333*Sniff*^000000";
			mes "All of my sons passed away";
			mes "before they could finish their research. I should have been the one to have died. They were still so young...";
			lv4_weapon = 37;
			close;
		}
	}
	if ((lv4_weapon == 31) || (lv4_weapon == 32)) {
		mes "[Bill Thayer]";
		mes "All of my sons broke my heart by dying too young. I remember that I always used to tell them: 'Enjoy your youth. ^333333Live without regret.^000000'";
		lv4_weapon = 32;
		next;
		mes "[Bill Thayer]";
		mes "But I never suspected that their lives would be cut so short. Please remember to live life in such a way that regret won't haunt you later. That's the best advice I can give to you.";
		close;
	}
	if (lv4_weapon == 27) {
		mes "[Bill Thayer]";
		mes "Hmm...";
		mes "You'll need 30 Turquoise,";
		mes "Peridot and Agate. I'm sure those are the materials you need, but I have no idea what the end product is supposed to be...";
		next;
		mes "[Bill Thayer]";
		mes "^333333*Sniff*^000000";
		mes "All of my sons passed away";
		mes "before they could finish their research. I should have been the one to have died. They were still so young...";
		close;
	}
	if (lv4_weapon == 28) {
		mes "[Bill Thayer]";
		mes "Hmm...";
		mes "You'll need 30 Phlogopite,";
		mes "Pyroxene and Rose Quartz. I'm sure those are the materials you need, but I have no idea what the end product is supposed to be...";
		next;
		mes "[Bill Thayer]";
		mes "^333333*Sniff*^000000";
		mes "All of my sons passed away";
		mes "before they could finish their research. I should have been the one to have died. They were still so young...";
		close;
	}
	if (lv4_weapon == 26) {
		mes "[Bill Thayer]";
		mes "What...?";
		mes "Kayron's research?";
		next;
		mes "[Bill Thayer]";
		mes "How do you know him?";
		mes "Were you a friend of his while";
		mes "he was still alive? This must be";
		mes "an act of providence...";
		next;
		if (rand(1,2) == 1) {
			mes "[Bill Thayer]";
			mes "Hmm...";
			mes "You'll need 30 Turquoise,";
			mes "Peridot and Agate. I'm sure those are the materials you need, but I have no idea what the end product is supposed to be...";
			next;
			mes "[Bill Thayer]";
			mes "^333333*Sniff*^000000";
			mes "All of my sons passed away";
			mes "before they could finish their research. I should have been the one to have died. They were still so young...";
			lv4_weapon = 27;
			close;
		}
		else {
			mes "[Bill Thayer]";
			mes "Hmm...";
			mes "You'll need 30 Phlogopite,";
			mes "Pyroxene and Rose Quartz. I'm sure those are the materials you need, but I have no idea what the end product is supposed to be...";
			next;
			mes "[Bill Thayer]";
			mes "^333333*Sniff*^000000";
			mes "All of my sons passed away";
			mes "before they could finish their research. I should have been the one to have died. They were still so young...";
			lv4_weapon = 28;
			close;
		}
	}
	if ((lv4_weapon == 22) || (lv4_weapon == 23)) {
		mes "[Bill Thayer]";
		mes "Listen, I told you...";
		mes "There's nothing I can do.";
		mes "^333333I'm utterly helpless here.^000000";
		lv4_weapon = 23;
		next;
		mes "[Bill Thayer]";
		mes "There's no point in asking me to do anything. Ever since my sons passed away, I haven't been able to function. Please leave me alone.";
		close;
	}
	mes "[Bill Thayer]";
	mes "Leave me alone...";
	mes "I'm just a broken old man.";
	next;
	mes "[Bill Thayer]";
	mes "I don't make weapons anymore for anyone. Maybe I was a well known weaponsmith once, but I just can't bring myself to do any work ever since my sons passed away...";
	close;
}

geffen,203,146,5	script	Citizen#lv4-1	4W_M_01,{
	mes "[Citizen]";
	mes "There was a skillful";
	mes "weaponsmith in Al De Baran";
	mes "who had 4 sons. All of them were known throughout the land for their skill in weapon crafting.";
	next;
	mes "[Citizen]";
	mes "Tragically, all of the sons died in their attempt to create a powerful weapon. Only the father survived the accident.";
	next;
	mes "[Citizen]";
	mes "Because of that incident, the weaponsmith retired and went into hiding. No one ever saw the weapon he and his sons were developing.";
	next;
	mes "[Citizen]";
	mes "I don't think his sons";
	mes "were able to peacefully enter the afterlife after sacrificing so much and having to leave their goal unfulfilled...";
	close;
}

morocc,289,230,3	script	Citizen#lv4-2	4_F_03,{
	mes "[Citizen]";
	mes "Meeting a person in the realm of the dead is impossible. But I've heard that if you were able to meet a dead person, you'd find that he wouldn't have all of his memories.";
	next;
	mes "[Citizen]";
	mes "But if you brought him something that reminded him of his life, he'd get his memories back for a little while. Of course, you'd have to actually meet someone in the netherworld to find out for sure.";
	next;
	mes "[Citizen]";
	mes "Huh...";
	mes "I know what I'm talking about might be a little morbid, but even the most trivial information might come in handy someday, right?";
	close;
}

niflheim,240,193,3	script	Kayron#lv4	4_M_NFDEADMAN2,{
	if (checkweight(908,300) == 0) {
		mes "^3355FFWait a second! Right now, you're carrying too many items with you. Please come back after putting some of your things into Kafra Storage.^000000";
		close;
	}
	if (BaseLevel < 80) {
		mes "[Kayron]";
		mes "Hey...";
		mes "How did somebody like";
		mes "you get all the way over here?";
		next;
		mes "[Kayron]";
		mes "Just by looking at that tender face of yours, I can tell you're a little weak. You better get out of here and get real strong in a hurry before you even think of coming back.";
		close;
	}
	if (lv4_weapon == 0) {
		mes "[Kayron]";
		mes "In life, I was known as Kayron.";
		mes "But now I'm just another ghost wandering around this realm of";
		mes "the dead. Without a body, I feel";
		mes "so useless.";
		next;
		switch(select("Show interest.:Ignore him.")) {
		case 1:
			mes "[Kayron]";
			mes "Huh...?";
			mes "I can't remember what I was going to say. M-my memories! I... I can't seem to recollect...";
			lv4_weapon = 22;
			close;
		case 2:
			mes "[Kayron]";
			mes "Useless...";
			mes "Absolutely useless...";
			close;
		}
	}
	if ((lv4_weapon < 22) || (lv4_weapon > 30)) {
		mes "[Kayron]";
		mes "I sense something from";
		mes "you. Almost as if you were";
		mes "here with some sort of goal.";
		next;
		mes "[Kayron]";
		mes "I'm surprised...";
		mes "And a little envious.";
		mes "It can be said that most";
		mes "in Niflheim come here with";
		mes "little or no purpose.";
		close;
	}
	if ((lv4_weapon == 29) || (lv4_weapon == 30)) {
		mes "[Kayron]";
		mes "Heh heh heh...";
		mes "You're just in time.";
		mes "The time has come for";
		mes "me to reveal the results";
		mes "of my work...";
		next;
		if (rand(1,2) == 1) {
			mes "[Kayron]";
			mes "It's a success!";
			mes "I completed the experiment";
			mes "that got me killed! I almost";
			mes "can't believe it! I created";
			if (lv4_weapon == 29) {
				mes "this... Great Axe!";
				getitem 1364,1; //Great_Axe
			}
			else {
				mes "this... Longinus's Spear!";
				getitem 1469,1; //Longinus's_Spear
			}
			lv4_weapon = 0;
			next;
			mes "[Kayron]";
			mes "I'm so glad that my years of research haven't been wasted.";
			mes "If only Father were able to see this, he'd be really happy for me.";
			next;
			mes "[Kayron]";
			mes "Oh no...";
			mes "^333333*Sigh*^000000 I can feel my memories beginning to fade again. If you ever see me, please let me";
			mes "remember my past again.";
			mes "Thank you...";
			close;
		}
		else {
			mes "[Kayron]";
			mes "It's a success!";
			mes "I completed the experiment";
			mes "that got me killed! I almost";
			mes "can't believe it! I created";
			if (lv4_weapon == 29) {
				mes "this... Guillotine!";
				getitem 1369,1; //Guillotine
			}
			else {
				mes "this... Brionac!";
				getitem 1470,1; //Brionac
			}
			lv4_weapon = 0;
			next;
			mes "[Kayron]";
			mes "I'm so glad that my years of research haven't been wasted.";
			mes "If only Father were able to see this, he'd be really happy for me.";
			next;
			mes "[Kayron]";
			mes "Oh no...";
			mes "^333333*Sigh*^000000 I can feel my memories beginning to fade again. If you ever see me, please let me";
			mes "remember my past again.";
			mes "Thank you...";
			close;
		}
	}
	if (((lv4_weapon == 27) && (countitem(7289) > 29) && (countitem(7294) > 29) && (countitem(7291) > 29)) || ((lv4_weapon == 28) && (countitem(7290) > 29) && (countitem(7296) > 29) && (countitem(7293) > 29))) {
		mes "[Kayron]";
		mes "What's this?";
		mes "The stuff you're carrying";
		mes "around looks awfully familiar.";
		mes "Hm, let me take a look, please...";
		next;
		mes "[Kayron]";
		mes "Yes, I was right!";
		mes "I can use these to smith a weapon! How did you know these were the materials I need? In any case, this is great!";
		next;
		mes "[Kayron]";
		mes "Oh, but first, we need to test your luck. No matter how good my skills may be, we need to make sure your luck is good today, or else we can't proceed.";
		next;
		mes "[Kayron]";
		mes "We're gonna play '^660000Rock, Paper, Scissors^000000.' We can go ahead and";
		mes "make the item if you win 2 out of 3 matches.";
		next;
		mes "[Kayron]";
		mes "But if you lose 2 out of 3, your luck isn't strong enough for me to even attempt smithing. We'll need to dump a huge amount of one of the materials you brought to repel your bad luck.";
		next;
		mes "[Kayron]";
		mes "Here's a piece of paper.";
		mes "You'll write 'Rock,' 'Paper,' or 'Scissors,' and I'll do the same. Then we'll compare our results and see what happens. Alright, let's do the first match!";
		next;
		.@npchand1 = rand(1,3);
		.@myhand1 = select("Scissors:Rock:Paper");
		if (((.@myhand1 == 1) && (.@npchand1 == 3)) || ((.@myhand1 == 2) && (.@npchand1 == 1)) || ((.@myhand1 == 3) && (.@npchand1 == 2))) {
			++.@shobu;
		}
		mes "[Kayron]";
		mes "Now...";
		mes "Let's play";
		mes "the second match~";
		next;
		.@npchand2 = rand(1,3);
		.@myhand2 = select("Scissors:Rock:Paper");
		if (((.@myhand2 == 1) && (.@npchand2 == 3)) || ((.@myhand2 == 2) && (.@npchand2 == 1)) || ((.@myhand2 == 3) && (.@npchand2 == 2))) {
			++.@shobu;
		}
		mes "[Kayron]";
		mes "Alright...";
		mes "One last time.";
		mes "Write down 'Rock,'";
		mes "'Paper' or 'Scissors.'";
		next;
		.@npchand3 = rand(1,3);
		.@myhand3 = select("Scissors:Rock:Paper");
		if (((.@myhand3 == 1) && (.@npchand3 == 3)) || ((.@myhand3 == 2) && (.@npchand3 == 1)) || ((.@myhand3 == 3) && (.@npchand3 == 2))) {
			++.@shobu;
		}
		.@aekddam = rand(1,3);
		if (.@shobu > 1) {
			if (lv4_weapon == 27) {
				delitem 7289,30; //Olivine
				delitem 7294,30; //Turquoise
				delitem 7291,30; //Agate
			}
			else {
				delitem 7290,30; //Phlogopite
				delitem 7296,30; //Pyroxene
				delitem 7293,30; //Rose_Quartz
			}
			lv4_weapon += 2;
		}
		else if (.@shobu < 2) {
			if (.@aekddam == 1) {
				if (lv4_weapon == 27) {
					delitem 7289,30; //Olivine
				}
				else {
					delitem 7290,30; //Phlogopite
				}
			}
			else if (.@aekddam == 2) {
				if (lv4_weapon == 27) {
					delitem 7294,30; //Turquoise
				}
				else {
					delitem 7296,30; //Pyroxene
				}
			}
			else if (.@aekddam == 3) {
				if (lv4_weapon == 27) {
					delitem 7291,30; //Agate
				}
				else {
					delitem 7293,30; //Rose_Quartz
				}
			}
		}
		mes "[Kayron]";
		mes "We're done!";
		mes "Now, I wrote down...";
		if (.@npchand1 == 1) {
			mes "Scissors";
		}
		else if (.@npchand1 == 2) {
			mes "Rock";
		}
		else if (.@npchand1 == 3) {
			mes "Paper";
		}
		if (.@npchand2 == 1) {
			mes "Scissors";
		}
		else if (.@npchand2 == 2) {
			mes "Rock";
		}
		else if (.@npchand2 == 3) {
			mes "Paper";
		}
		if (.@npchand3 == 1) {
			mes "Scissors";
		}
		else if (.@npchand3 == 2) {
			mes "Rock";
		}
		else if (.@npchand3 == 3) {
			mes "Paper";
		}
		next;
		mes "[Kayron]";
		mes "You wrote down...";
		if (.@myhand1 == 1) {
			mes "Scissors";
		}
		else if (.@myhand1 == 2) {
			mes "Rock";
		}
		else if (.@myhand1 == 3) {
			mes "Paper";
		}
		if (.@myhand2 == 1) {
			mes "Scissors";
		}
		else if (.@myhand2 == 2) {
			mes "Rock";
		}
		else if (.@myhand2 == 3) {
			mes "Paper";
		}
		if (.@myhand3 == 1) {
			mes "Scissors";
		}
		else if (.@myhand3 == 2) {
			mes "Rock";
		}
		else if (.@myhand3 == 3) {
			mes "Paper";
		}
		next;
		if (.@shobu > 1) {
			mes "[Kayron]";
			mes "Let's see...";
			mes "You won " + .@shobu + " times.";
			mes "You must be really";
			mes "Without a doubt, you've";
			mes "got some pretty good luck~";
			next;
			mes "[Kayron]";
			mes "Alright, I'll keep my end of the bargain. Give me the materials";
			mes "and some time to finish preparing. I'll talk to you later, okay?";
			close;
		}
		else if (.@shobu < 2) {
			mes "[Kayron]";
			mes "Well, I'm sorry to say that you lost. We have no choice but to drive away your bad luck with";
			mes "some of the ore you brought!";
			next;
			mes "[Kayron]";
			mes "Alright, let's try this again. Go and get the materials we need";
			mes "and come back to me.";
			close;
		}
	}
	if ((lv4_weapon == 26) || (lv4_weapon == 27) || (lv4_weapon == 28)) {
		mes "[Kayron]";
		mes "I can't seem to recall the rest";
		mes "of the materials I need. This is beginning to get really frustrating.";
		next;
		mes "[Kayron]";
		mes "I mean, me and my father used to know this stuff like it was second nature. What's wrong with me...?";
		close;
	}
	if ((lv4_weapon == 25) && (countitem(1005) > 1) && (countitem(989) > 0) && (countitem(710) > 0) && (countitem(969) > 19)) {
		mes "[Kayron]";
		mes "Oh...!";
		mes "I had no idea you were such a reliable person! You brought the things I've asked for pretty quickly!";
		next;
		mes "[Kayron]";
		mes "But I still can't remember the rest of the things that I'll be needing. I'm really sorry...";
		next;
		mes "[Kayron]";
		mes "Is there any way to get more of my memory back? In the meantime, let me keep these materials. I promise they'll be used to make a good weapon for you.";
		delitem 1005,2; //Hammer_Of_Blacksmith
		delitem 989,1; //Emperium_Anvil
		delitem 710,1; //Illusion_Flower
		delitem 969,20; //Gold
		lv4_weapon = 26;
		close;
	}
	if (lv4_weapon == 25) {
		mes "[Kayron]";
		mes "I'll need a lot of materials, but let me remind you of some of";
		mes "the necessary things that I can actually remember.";
		next;
		mes "[Kayron]";
		mes "So far, I know I'll need";
		mes "2 Hammer of Blacksmith";
		mes "1 Emperium Anvil";
		mes "1 Illusion Flower and";
		mes "20 Gold.";
		next;
		mes "[Kayron]";
		mes "I know there were a few more";
		mes "things that are crucial to this weapon's construction, but...";
		mes "I can't seem to concentrate hard enough to remember.";
		close;
	}
	if (lv4_weapon == 24) {
		mes "[Kayron]";
		mes "Alright...";
		mes "I just remembered";
		mes "most of the things";
		mes "I need to make you";
		mes "a great weapon.";
		next;
		mes "[Kayron]";
		mes "I believe it's fair to let you know that I can't guarantee what weapon will be produced from this work since, quite frankly, I can't remember.";
		next;
		mes "[Kayron]";
		mes "So far, I know I'll need";
		mes "2 Hammer of Blacksmith";
		mes "1 Emperium Anvil";
		mes "1 Illusion Flower and";
		mes "20 Gold.";
		next;
		mes "[Kayron]";
		mes "Bring those items to me first. I'm pretty sure there was something else I'll be needing, but I can't seem to remember. This memory";
		mes "of mine is beginning to worry me a little bit...";
		next;
		mes "[Kayron]";
		mes "Anyway, I'll be waiting for you here while you go out and collect those things. Be careful, alright?";
		lv4_weapon = 25;
		close;
	}
	if (lv4_weapon == 23) {
		mes "[Kayron]";
		mes "In life, I was known as Kayron.";
		mes "But now I'm just another ghost wandering around this realm of";
		mes "the dead. Without a body, I feel";
		mes "so useless.";
		next;
		mes "[Kayron]";
		mes "There's nothing I can do.";
		mes "I'm... Um... I'm...?";
		input .@input$;
		next;
		if (.@input$ == "I'm utterly helpless here.") {
			mes "[Kayron]";
			mes "I'm utterly helpless here.";
			mes "Right, right! My father always used to say that! I guess my brothers and I take after our father in a lot of ways.";
			next;
			mes "[Kayron]";
			mes "My mind's been so hazy.";
			mes "I forgot that I even used";
			mes "to be a living human.";
			mes "^333333*Sigh...*^000000";
			next;
			mes "[Kayron]";
			mes "Still, that little memory has brought me a little peace of";
			mes "mind. I really appreciate that.";
			next;
			mes "[Kayron]";
			mes "I used to be a weaponsmith";
			mes "when I was alive, so if you like, I can forge something nice for you. You'll have to bring me the materials, though.";
			next;
			mes "[Kayron]";
			mes "You understand that being";
			mes "dead sort of restricts my mobility. Still, it's actually useful to be stuck in Niflheim. This place is filled with some strange energy that will help in my smithing.";
			next;
			mes "[Kayron]";
			mes "Even though experimental";
			mes "smithing got me killed, I won't have to worry about it this time. After all, I'm already dead! Hahahah~";
			next;
			mes "[Kayron]";
			mes "Alright, just give me a little time so that I can try to remember the things that I'll need, alright?";
			lv4_weapon = 24;
			close;
		}
		else {
			mes "[Kayron]";
			mes "Huh...?";
			mes "What did you just say?";
			mes "I'm sorry, I'm trying to remember something my father always used";
			mes "to say...";
			close;
		}
	}
	if (lv4_weapon == 22) {
		mes "[Kayron]";
		mes "In life, I was known as Kayron.";
		mes "But now I'm just another ghost wandering around this realm of";
		mes "the dead. Without a body, I feel";
		mes "so useless.";
		next;
		mes "[Kayron]";
		mes "Huh...?";
		mes "I can't remember what I was going to say. M-my memories! I... I can't seem to recollect...";
		close;
	}
	mes "[Kayron]";
	mes "In life, I was known as Kayron.";
	mes "But now I'm just another ghost wandering around this realm of";
	mes "the dead. Without a body, I feel";
	mes "so useless.";
	next;
	switch(select("Show interest.:Ignore him.")) {
	case 1:
		mes "[Kayron]";
		mes "Huh...?";
		mes "I can't remember what I was going to say. M-my memories! I... I can't seem to recollect...";
		lv4_weapon = 22;
		close;
	case 2:
		mes "[Kayron]";
		mes "Useless...";
		mes "Absolutely useless...";
		close;
	}
}

niflheim,99,268,5	script	Reyghema#lv4	4_M_NFDEADMAN2,{
	if (MaxWeight - Weight < 3000) {
		mes "^3355FFWait a second! Right now, you're carrying too many items with you. Please come back after putting some of your things into Kafra Storage.^000000";
		close;
	}
	if (BaseLevel < 80) {
		mes "[Reyghema]";
		mes "How...";
		mes "the hell...?";
		next;
		mes "[Reyghema]";
		mes "What's a living person doing here? Stick around and I guarantee that you won't be alive much longer. Come on, you don't want to end up like me. Hurry and get out of here!";
		close;
	}
	if (lv4_weapon == 0) {
		mes "[Reyghema]";
		mes "Damn it...";
		mes "I didn't want to die!";
		next;
		mes "[Reyghema]";
		mes "Well, nothing that's alive really wants to die, but I was so close to finishing what I wanted to do. Ah, youth...";
		next;
		mes "[Reyghema]";
		mes "Youth...";
		mes "Enjoy your youth...";
		mes "I remember hearing";
		mes "something like that,";
		mes "but there was more to it...";
		next;
		switch(select("Show interest.:Ignore him.")) {
		case 1:
			mes "[Reyghema]";
			mes "Enjoy your youth...";
			mes "Enjoy your youth...";
			mes "...What came after that?";
			next;
			mes "[Reyghema]";
			mes "Argh!";
			mes "I can't remember!";
			mes "Everything in my";
			mes "head is so cloudy!";
			lv4_weapon = 31;
			close;
		case 2:
			mes "[Reyghema]";
			mes "Enjoy your youth...";
			mes "Enjoy your youth...";
			mes "...What came after that?";
			close;
		}
	}
	if ((lv4_weapon < 31) || (lv4_weapon > 39)) {
		mes "[Reyghema]";
		mes "Hey...";
		mes "It feels like you came";
		mes "here to finish something.";
		mes "Yeah, there's a complete difference between someone who's aimless and someone with a purpose.";
		next;
		mes "[Reyghema]";
		mes "I almost feel sorry for you though, if you have business to finish in a place like Niflheim.";
		close;
	}
	if ((lv4_weapon == 38) || (lv4_weapon == 39)) {
		mes "[Reyghema]";
		mes "...";
		mes "...Finally.";
		next;
		if (rand(1,2) == 1) {
			mes "[Reyghema]";
			mes "I did it!";
			mes "I died trying to make this,";
			mes "but I finally finished it!";
			if (lv4_weapon == 38) {
				mes "This is... Berserk!";
				getitem 1814,1; //Berserk
			}
			else {
				mes "This is... Tjungkuletti!";
				getitem 1416,1; //Tjungkuletti
			}
			lv4_weapon = 0;
			next;
			mes "[Reyghema]";
			mes "^333333*Sigh*^000000 I can feel it happening again. My memories are starting to slip away. Can't I be allowed to hold on to this memory?";
			next;
			mes "[Reyghema]";
			mes "I guess the dead aren't supposed to remember their past. But thank you for letting achieve my life long desire, even if this moment is short lived.";
			next;
			mes "[Reyghema]";
			mes "If you ever get the chance, come back and help me remember my";
			mes "past so that I can experience the joy of weapon crafting again. Farewell, adventurer...";
			close;
		}
		else {
			mes "[Reyghema]";
			mes "I did it!";
			mes "I died trying to make this,";
			mes "but I finally finished it!";
			if (lv4_weapon == 38) {
				mes "This is... the Rudra Bow!";
				getitem 1720,1; //Bow_Of_Rudra
			}
			else {
				mes "This is... Brocca! Weee~ I made it!";
				getitem 1415,1; //Skewer
			}
			lv4_weapon = 0;
			next;
			mes "[Reyghema]";
			mes "^333333*Sigh*^000000 I can feel it happening again. My memories are starting to slip away. Can't I be allowed to hold on to this memory?";
			next;
			mes "[Reyghema]";
			mes "I guess the dead aren't supposed to remember their past. But thank you for letting achieve my life long desire, even if this moment is short lived.";
			next;
			mes "[Reyghema]";
			mes "If you ever get the chance, come back and help me remember my";
			mes "past so that I can experience the joy of weapon crafting again. Farewell, adventurer...";
			close;
		}
	}
	if (((lv4_weapon == 36) && (countitem(7292) > 29) && (countitem(7293) > 29) && (countitem(7289) > 29)) || ((lv4_weapon == 37) && (countitem(7297) > 29) && (countitem(7291) > 29) && (countitem(7295) > 29))) {
		mes "[Reyghema]";
		mes "Wait...";
		mes "The stuff that you have. Those are things I'll need for my creation! Let me take a look...";
		next;
		mes "[Reyghema]";
		mes "Yes, this is perfect!";
		mes "But how did you know exactly what materials I needed? Oh, it doesn't matter, I guess.";
		next;
		mes "[Reyghema]";
		mes "Now it's time for the hardest,";
		mes "or easiest, part. It's time to test your luck. We can't go through with this if your luck is too weak.";
		next;
		mes "[Reyghema]";
		mes "Alright, we're going to play '^660000Rock, Paper, Scissors^000000.' You've gotta win 2 out of 3 for us to go ahead with the forging.";
		next;
		mes "[Reyghema]";
		mes "If your luck is bad and you lose, we'll need to dump a bunch of one of the ores your brought to get rid of your bad luck. That's how it works.";
		next;
		mes "[Reyghema]";
		mes "Alright, here's a piece of paper. When I say so, you write down 'Rock,' 'Paper' or 'Scissors.' Alright? Let's start.";
		next;
		.@npchand1 = rand(1,3);
		.@myhand1 = select("Scissors:Rock:Paper");
		if (((.@myhand1 == 1) && (.@npchand1 == 3)) || ((.@myhand1 == 2) && (.@npchand1 == 1)) || ((.@myhand1 == 3) && (.@npchand1 == 2))) {
			++.@shobu;
		}
		mes "[Reyghema]";
		mes "Okay, now let's";
		mes "try this again.";
		next;
		.@npchand2 = rand(1,3);
		.@myhand2 = select("Scissors:Rock:Paper");
		if (((.@myhand2 == 1) && (.@npchand2 == 3)) || ((.@myhand2 == 2) && (.@npchand2 == 1)) || ((.@myhand2 == 3) && (.@npchand2 == 2))) {
			++.@shobu;
		}
		mes "[Reyghema]";
		mes "Last time.";
		mes "Write down 'Rock,'";
		mes "'Paper' or 'Scissors.'";
		next;
		.@npchand3 = rand(1,3);
		.@myhand3 = select("Scissors:Rock:Paper");
		if (((.@myhand3 == 1) && (.@npchand3 == 3)) || ((.@myhand3 == 2) && (.@npchand3 == 1)) || ((.@myhand3 == 3) && (.@npchand3 == 2))) {
			++.@shobu;
		}
		.@aekddam = rand(1,3);
		if (.@shobu > 1) {
			if (lv4_weapon == 36) {
				delitem 7292,30; //Muscovite
				delitem 7293,30; //Rose_Quartz
				delitem 7289,30; //Olivine
			}
			else {
				delitem 7297,30; //Biotite
				delitem 7291,30; //Agate
				delitem 7295,30; //Citrine
			}
			lv4_weapon += 2;
		}
		else if (.@shobu < 2) {
			if (.@aekddam == 1) {
				if (lv4_weapon == 36) {
					delitem 7292,30; //Muscovite
				}
				else {
					delitem 7297,30; //Biotite
				}
			}
			else if (.@aekddam == 2) {
				if (lv4_weapon == 36) {
					delitem 7293,30; //Rose_Quartz
				}
				else {
					delitem 7291,30; //Agate
				}
			}
			else if (.@aekddam == 3) {
				if (lv4_weapon == 36) {
					delitem 7289,30; //Olivine
				}
				else {
					delitem 7295,30; //Citrine
				}
			}
		}
		mes "[Reyghema]";
		mes "Alright, now";
		mes "I wrote down...";
		if (.@npchand1 == 1) {
			mes "Scissors";
		}
		else if (.@npchand1 == 2) {
			mes "Rock";
		}
		else if (.@npchand1 == 3) {
			mes "Paper";
		}
		if (.@npchand2 == 1) {
			mes "Scissors";
		}
		else if (.@npchand2 == 2) {
			mes "Rock";
		}
		else if (.@npchand2 == 3) {
			mes "Paper";
		}
		if (.@npchand3 == 1) {
			mes "Scissors";
		}
		else if (.@npchand3 == 2) {
			mes "Rock";
		}
		else if (.@npchand3 == 3) {
			mes "Paper";
		}
		next;
		mes "[Reyghema]";
		mes "You wrote down...";
		if (.@myhand1 == 1) {
			mes "Scissors";
		}
		else if (.@myhand1 == 2) {
			mes "Rock";
		}
		else if (.@myhand1 == 3) {
			mes "Paper";
		}
		if (.@myhand2 == 1) {
			mes "Scissors";
		}
		else if (.@myhand2 == 2) {
			mes "Rock";
		}
		else if (.@myhand2 == 3) {
			mes "Paper";
		}
		if (.@myhand3 == 1) {
			mes "Scissors";
		}
		else if (.@myhand3 == 2) {
			mes "Rock";
		}
		else if (.@myhand3 == 3) {
			mes "Paper";
		}
		next;
		if (.@shobu > 1) {
			mes "[Reyghema]";
			mes "Nice. You won " + .@shobu + " times. Your luck is really good, so now we're finally finished with this nonsense.";
			next;
			mes "[Reyghema]";
			mes "Give me some time to get some things ready. Hand me the ores";
			mes "now, and talk to me a little later, alright?";
			close;
		}
		else if (.@shobu < 2) {
			mes "[Reyghema]";
			mes "Damn...";
			mes "I should be happy I won, but that just means your luck is bad and";
			mes "we need to do this again.";
			next;
			mes "[Reyghema]";
			mes "I'm sorry, but I'll need to take a bunch of one of your ores to get rid of your bad luck. Come back with all of the ore we'll need so we can test your luck again, alright?";
			close;
		}
	}
	if ((lv4_weapon == 35) || (lv4_weapon == 36) || (lv4_weapon == 37)) {
		mes "[Reyghema]";
		mes "Arrrgh!";
		mes "I still can't";
		mes "remember what";
		mes "I need yet! I swear,";
		mes "this is killing me!";
		next;
		mes "[Reyghema]";
		mes "...";
		next;
		mes "[Reyghema]";
		mes "...";
		mes "......";
		next;
		mes "[Reyghema]";
		mes "Damn.";
		mes "Damn, damn, damn!";
		mes "'Killing me?!' I'm already dead!";
		close;
	}
	if ((lv4_weapon == 34) && (countitem(1005) > 1) && (countitem(989) > 0) && (countitem(710) > 0) && (countitem(969) > 19)) {
		mes "[Reyghema]";
		mes "Good work, you've brought everything I asked for. However, there's been a bit of a snafu in the plans...";
		next;
		mes "[Reyghema]";
		mes "The original plan was that I'd remember everything else I need once you came back with this stuff. But I didn't.";
		next;
		mes "[Reyghema]";
		mes "Just give me some time to think about it some more. For now, let";
		mes "me hold on to the things you've brought. You've got my word that I'll be using these to make a weapon for you.";
		delitem 1005,2; //Hammer_Of_Blacksmith
		delitem 989,1; //Emperium_Anvil
		delitem 710,1; //Illusion_Flower
		delitem 969,20; //Gold
		lv4_weapon = 35;
		close;
	}
	if (lv4_weapon == 34) {
		mes "[Reyghema]";
		mes "I better remind";
		mes "you what things I'll";
		mes "be needing. If you need";
		mes "to, write it all down.";
		next;
		mes "[Reyghema]";
		mes "1 Emperium Anvil,";
		mes "2 Hammer of Blacksmith,";
		mes "1 Illusion Flower";
		mes "and 20 Gold...";
		next;
		mes "[Reyghema]";
		mes "There were a few more critically important things, but I can't seem to recall them right now...";
		close;
	}
	if (lv4_weapon == 33) {
		mes "[Reyghema]";
		mes "Alright, you're back. I remember most of the things I'll be needing. Go ahead and note this down.";
		next;
		mes "[Reyghema]";
		mes "1 Emperium Anvil,";
		mes "2 Hammer of Blacksmith,";
		mes "1 Illusion Flower";
		mes "and 20 Gold...";
		next;
		mes "[Reyghema]";
		mes "There were a few other";
		mes "important things, but I can't seem to remember what they were. Hopefully, by the time you come back with the items I'll know by then.";
		next;
		mes "[Reyghema]";
		mes "For now, just go and bring back the things I asked for. The sooner, the better. Hurry, I don't know how long my memories will last...";
		lv4_weapon = 34;
		close;
	}
	if (lv4_weapon == 32) {
		mes "[Reyghema]";
		mes "Damn it...";
		mes "I didn't want to die!";
		next;
		mes "[Reyghema]";
		mes "Well, nothing that's alive really wants to die, but I was so close to finishing what I wanted to do. Ah, youth...";
		next;
		mes "[Reyghema]";
		mes "Youth...";
		mes "Enjoy your youth...";
		mes "I remember hearing";
		mes "something like that,";
		mes "but there was more to it...";
		next;
		input .@input$;
		if (.@input$ == "Live without regret.") {
			mes "[Reyghema]";
			mes "...";
			next;
			mes "[Reyghema]";
			mes "...";
			mes ".......";
			mes "Enjoy your youth.";
			mes "Live without regret.";
			next;
			mes "[Reyghema]";
			mes "Of course...";
			mes "My father, Bill Thayer used to say that all the time! That's right!";
			next;
			mes "[Reyghema]";
			mes "Hey you, thanks for refreshing my memory. It's all coming back to me. I used to be a weaponsmith, but I regret never finishing my final project...";
			next;
			mes "[Reyghema]";
			mes "You just gotta help me realize";
			mes "my final goal. Even if I am dead,";
			mes "I really wanna complete the experiment that got me killed.";
			next;
			mes "[Reyghema]";
			mes "All you need to do for now is bring me the things I need. I don't think I'll be able to gather much, being here in Niflheim and all.";
			next;
			mes "[Reyghema]";
			mes "Come back a little later.";
			mes "By then, I should remember what kinds of things I'll need.";
			lv4_weapon = 33;
			close;
		}
		else {
			mes "[Reyghema]";
			mes "What...?";
			mes "You playin' games";
			mes "with me or what?";
			mes "Get outta my face~";
			close;
		}
	}
	if (lv4_weapon == 31) {
		mes "[Reyghema]";
		mes "Damn it...";
		mes "I didn't want to die!";
		next;
		mes "[Reyghema]";
		mes "Well, nothing that's alive really wants to die, but I was so close to finishing what I wanted to do. Ah, youth...";
		next;
		mes "[Reyghema]";
		mes "Youth...";
		mes "Enjoy your youth...";
		mes "I remember hearing";
		mes "something like that,";
		mes "but there was more to it...";
		next;
		mes "[Reyghema]";
		mes "Enjoy your youth...";
		mes "Enjoy your youth...";
		mes "...What came after that?";
		next;
		mes "[Reyghema]";
		mes "Argh!";
		mes "I can't remember!";
		mes "Everything in my";
		mes "head is so cloudy!";
		close;
	}
	mes "[Reyghema]";
	mes "Damn it...";
	mes "I didn't want to die!";
	next;
	mes "[Reyghema]";
	mes "Well, nothing that's alive really wants to die, but I was so close to finishing what I wanted to do. Ah, youth...";
	next;
	mes "[Reyghema]";
	mes "Youth...";
	mes "Enjoy your youth...";
	mes "I remember hearing";
	mes "something like that,";
	mes "but there was more to it...";
	next;
	switch(select("Show interest.:Ignore him.")) {
	case 1:
		mes "[Reyghema]";
		mes "Enjoy your youth...";
		mes "Enjoy your youth...";
		mes "...What came after that?";
		next;
		mes "[Reyghema]";
		mes "Argh!";
		mes "I can't remember!";
		mes "Everything in my";
		mes "head is so cloudy!";
		lv4_weapon = 31;
		close;
	case 2:
		mes "[Reyghema]";
		mes "Enjoy your youth...";
		mes "Enjoy your youth...";
		mes "...What came after that?";
		close;
	}
}

niflheim,187,280,3	script	Hein#lv4	4_M_NFDEADMAN,{
	if (checkweight(908,300) == 0) {
		mes "^3355FFWait a second! Right now, you're carrying too many items with you. Please come back after putting some of your things into Kafra Storage.^000000";
		close;
	}
	if (lv4_weapon == 0) {
		mes "[Hein]";
		mes "It looks like you want to ask me something. Heh, my customers used to have that look on that faces too when I worked as a weaponsmith...";
		next;
		mes "[Hein]";
		mes "Back during those days,";
		mes "I never accepted money for my work. Father always used to say, 'Never accept payment to forge a good weapon. It... It...'";
		next;
		switch(select("Show interest.:Ignore him.")) {
		case 1:
			mes "[Hein]";
			mes "What was the rest of it?";
			mes "Why can't I remember the";
			mes "rest of that saying?!";
			next;
			mes "[Hein]";
			mes "It's so weird.";
			mes "How could I forget";
			mes "something I used to";
			mes "say all the time? I...";
			mes "I hate being dead!";
			lv4_weapon = 40;
			close;
		case 2:
			mes "[Hein]";
			mes "Nuts! Why can't I remember";
			mes "the rest of that saying?!";
			close;
		}
	}
	if ((lv4_weapon < 40) || (lv4_weapon > 48)) {
		mes "[Hein]";
		mes "Mm? I can tell you've here because you've got something to do. It's weird enough to see a living being here, and weirder still to see one who's here for a good reason.";
		next;
		mes "[Hein]";
		mes "Do me a favor";
		mes "and stay alive.";
		mes "Take it from me,";
		mes "there's no pleasure";
		mes "at all in being dead.";
		close;
	}
	if ((lv4_weapon == 47) || (lv4_weapon == 48)) {
		mes "[Hein]";
		mes "You're here!";
		mes "I just finished my work!";
		mes "You want to see it, don't you?";
		mes "Now, take a deep breath...";
		next;
		if (rand(1,2) == 1) {
			mes "[Hein]";
			mes "Haha~!";
			mes "This is great!";
			mes "Finally, my life's";
			mes "work is complete!";
			mes "This weapon's name";
			if (lv4_weapon == 47) {
				mes "is Edge!";
				getitem 1132,1; //Edge
			}
			else {
				mes "is Dragon Slayer!";
				getitem 1166,1; //Dragon_Slayer
			}
			lv4_weapon = 0;
			next;
		}
		else {
			mes "[Hein]";
			mes "Haha~!";
			mes "This is great!";
			mes "Finally, my life's";
			mes "work is complete!";
			mes "This weapon's name";
			if (lv4_weapon == 47) {
				mes "is Excalibur!";
				getitem 1137,1; //Excalibur
			}
			else {
				mes "is Schweizersabel!";
				getitem 1167,1; //Schweizersabel
			}
			lv4_weapon = 0;
			next;
		}
		mes "[Hein]";
		mes "Well...";
		mes "It looks like this is goodbye for now. I can already feel my memory getting hazier. Haha, being dead is definitely not good.";
		next;
		mes "[Hein]";
		mes "Thank you for your help. If you come back and help me retrieve";
		mes "my memories again, I'll try to help you as well. So long, adventurer...";
		close;
	}
	if (((lv4_weapon == 45) && (countitem(7294) > 29) && (countitem(7297) > 29) && (countitem(7293) > 29)) || ((lv4_weapon == 46) && (countitem(7295) > 29) && (countitem(7296) > 29) && (countitem(7290) > 29))) {
		mes "[Hein]";
		mes "Mm...?";
		mes "The stuff you brought seems to be just what I need to finish my work. Let me have a look at them...";
		next;
		mes "[Hein]";
		mes "Wow...";
		mes "How did you know the materials";
		mes "I needed? It's almost too good to be true! Alright, we're that much closer to finishing my life's work!";
		next;
		mes "[Hein]";
		mes "Oh, that's right. Skill alone isn't enough to create this. We'll also need your luck. First of all, we need to test if your luck is good today.";
		next;
		mes "[Hein]";
		mes "We're going to play '^660000Rock, Paper, Scissors^000000.' If you win at least 2 out of 3, we'll go ahead and start crafting this thing!";
		next;
		mes "[Hein]";
		mes "But if you fail in this game, I'll have to expel your negative luck by throwing out a lot of one of the ores you've brought along.";
		next;
		mes "[Hein]";
		mes "Here's a piece of paper.";
		mes "When I tell you to, write down 'Rock,' 'Paper' or 'Scissors.' I'll do the same thing, and we'll compare our results at the end, okay? Let's begin!";
		next;
		.@npchand1 = rand(1,3);
		.@myhand1 = select("Scissors:Rock:Paper");
		if (((.@myhand1 == 1) && (.@npchand1 == 3)) || ((.@myhand1 == 2) && (.@npchand1 == 1)) || ((.@myhand1 == 3) && (.@npchand1 == 2))) {
			++.@shobu;
		}
		mes "[Hein]";
		mes "Okay, let's play";
		mes "the second round!";
		next;
		.@npchand2 = rand(1,3);
		.@myhand2 = select("Scissors:Rock:Paper");
		if (((.@myhand2 == 1) && (.@npchand2 == 3)) || ((.@myhand2 == 2) && (.@npchand2 == 1)) || ((.@myhand2 == 3) && (.@npchand2 == 2))) {
			++.@shobu;
		}
		mes "[Hein]";
		mes "Okay...";
		mes "Last round.";
		mes "After this, we";
		mes "compare our results.";
		next;
		.@npchand3 = rand(1,3);
		.@myhand3 = select("Scissors:Rock:Paper");
		.@aekddam = rand(1,3);
		if (((.@myhand3 == 1) && (.@npchand3 == 3)) || ((.@myhand3 == 2) && (.@npchand3 == 1)) || ((.@myhand3 == 3) && (.@npchand3 == 2))) {
			++.@shobu;
		}
		if (.@shobu > 1) {
			if (lv4_weapon == 45) {
				delitem 7294,30; //Turquoise
				delitem 7297,30; //Biotite
				delitem 7293,30; //Rose_Quartz
			}
			else {
				delitem 7295,30; //Citrine
				delitem 7296,30; //Pyroxene
				delitem 7290,30; //Phlogopite
			}
			lv4_weapon += 2;
		}
		else if (.@shobu < 2) {
			if (.@aekddam == 1) {
				if (lv4_weapon == 45) {
					delitem 7294,30; //Turquoise
				}
				else {
					delitem 7295,30; //Citrine
				}
			}
			else if (.@aekddam == 2) {
				if (lv4_weapon == 45) {
					delitem 7297,30; //Biotite
				}
				else {
					delitem 7296,30; //Pyroxene
				}
			}
			else if (.@aekddam == 3) {
				if (lv4_weapon == 45) {
					delitem 7293,30; //Rose_Quartz
				}
				else {
					delitem 7290,30; //Phlogopite
				}
			}
		}
		mes "[Hein]";
		mes "Ready? This is";
		mes "what I wrote down...";
		if (.@npchand1 == 1) {
			mes "Scissors";
		}
		else if (.@npchand1 == 2) {
			mes "Rock";
		}
		else if (.@npchand1 == 3) {
			mes "Paper";
		}
		if (.@npchand2 == 1) {
			mes "Scissors";
		}
		else if (.@npchand2 == 2) {
			mes "Rock";
		}
		else if (.@npchand2 == 3) {
			mes "Paper";
		}
		if (.@npchand3 == 1) {
			mes "Scissors";
		}
		else if (.@npchand3 == 2) {
			mes "Rock";
		}
		else if (.@npchand3 == 3) {
			mes "Paper";
		}
		next;
		mes "[Hein]";
		mes "You wrote down";
		mes "these answers in";
		mes "this order...";
		if (.@myhand1 == 1) {
			mes "Scissors";
		}
		else if (.@myhand1 == 2) {
			mes "Rock";
		}
		else if (.@myhand1 == 3) {
			mes "Paper";
		}
		if (.@myhand2 == 1) {
			mes "Scissors";
		}
		else if (.@myhand2 == 2) {
			mes "Rock";
		}
		else if (.@myhand2 == 3) {
			mes "Paper";
		}
		if (.@myhand3 == 1) {
			mes "Scissors";
		}
		else if (.@myhand3 == 2) {
			mes "Rock";
		}
		else if (.@myhand3 == 3) {
			mes "Paper";
		}
		next;
		if (.@shobu > 1) {
			mes "[Hein]";
			mes "Let's see...";
			mes "You won " + .@shobu + " times.";
			mes "You're really good at game!";
			mes "Yes, your luck is at its highest!";
			next;
			mes "[Hein]";
			mes "As promised, I will craft a weapon for you. Give me the materials now, and come back when I'm finished preparing.";
			close;
		}
		else if (.@shobu < 2) {
			mes "[Hein]";
			mes "Well, you lost.";
			mes "I'm sorry, but we";
			mes "need to expel the";
			mes "misfortune around you";
			mes "with the ore you've brought...";
			next;
			mes "[Hein]";
			mes "Okay, I'll wait here.";
			mes "Come back with the materials";
			mes "I need and we'll try this again.";
			close;
		}
	}
	if ((lv4_weapon == 44) || (lv4_weapon == 45) || (lv4_weapon == 46)) {
		mes "[Hein]";
		mes "Would you give me more time to remember the materials? I can't seem to focus very well. It might have to do with the fact that I'm dead...";
		next;
		mes "[Hein]";
		mes "I had a much better memory when I was alive I'm sure. My father would quiz me on this stuff all the time...";
		close;
	}
	if ((lv4_weapon == 43) && (countitem(1005) > 1) && (countitem(989) > 0) && (countitem(710) > 0) && (countitem(969) > 19)) {
		mes "[Hein]";
		mes "Hey, you brought everything I asked for already. You must be ready to get started!";
		next;
		mes "[Hein]";
		mes "Sadly, we can't begin until";
		mes "I remember the rest of the things we need. I can't for the life of me remember the most important materials...";
		next;
		mes "[Hein]";
		mes "Well, for now, let me keep the things you've brought to me. I promise that I'll use this stuff to make you a good weapon once everything is ready.";
		delitem 1005,2; //Hammer_Of_Blacksmith
		delitem 989,1; //Emperium_Anvil
		delitem 710,1; //Illusion_Flower
		delitem 969,20; //Gold
		lv4_weapon = 44;
		close;
	}
	if (lv4_weapon == 43) {
		mes "[Hein]";
		mes "For sure I'll need";
		mes "2 Hammer of Blacksmith,";
		mes "1 Emperium Anvil,";
		mes "1 Illusion Flower and";
		mes "20 Gold...";
		next;
		mes "[Hein]";
		mes "So for now,";
		mes "go ahead and";
		mes "bring that stuff";
		mes "to me, please.";
		close;
	}
	if (lv4_weapon == 42) {
		mes "[Hein]";
		mes "I take it that you";
		mes "really want me to make";
		mes "you a weapon. For a former";
		mes "weaponsmith like me, that in";
		mes "itself is a great compliment.";
		next;
		mes "[Hein]";
		mes "Alright, I'll need...";
		mes "1 Emperium Anvil,";
		mes "2 Hammer of Blacksmith,";
		mes "1 Illusion Flower and";
		mes "20 Gold...";
		next;
		mes "[Hein]";
		mes "There were 3 other things,";
		mes "but I'm not too sure what they were. I guess a bunch of memories from my life are still missing.";
		next;
		mes "[Hein]";
		mes "^333333*Sigh*^000000 I'm sorry to ask this of you, but would you please go out and figure out what those things are? I'm sure you can find some clue in the land of the living.";
		next;
		mes "[Hein]";
		mes "While you do that, I'll try my best to remember what else I need to make this weapon.";
		lv4_weapon = 43;
		close;
	}
	if (lv4_weapon == 41) {
		mes "[Hein]";
		mes "It looks like you want to ask me something. Heh, my customers used to have that look on that faces too when I worked as a weaponsmith...";
		next;
		mes "[Hein]";
		mes "Back during those days,";
		mes "I never accepted money for my work. Father always used to say, 'Never accept payment to forge a good weapon. It... It...'";
		next;
		input .@input$;
		if (.@input$ == "It brings bad luck.") {
			mes "[Hein]";
			mes "That's right!";
			mes "And you need luck when you're creating high quality weapons!";
			next;
			mes "[Hein]";
			mes "Oh... crap.";
			mes "I'm a dead man.";
			mes "I just realized.";
			mes "Or remembered.";
			mes "Perhaps I'm brain";
			mes "dead too, huh?";
			lv4_weapon = 42;
			next;
			mes "[Hein]";
			mes "Well, I must be a lucky dead man for remembering some of my past, right? Hahahaha!";
			next;
			mes "[Hein]";
			mes "Right, I died while trying to finish my weapon research. Maybe this is fate's way of allowing me to finish my uncompleted work?";
			next;
			mes "[Hein]";
			mes "Hey, let me ask you a favor. Would you bring the materials I need to finish my research? If I succeed, the finished product is yours to keep. All yours!";
			next;
			mes "[Hein]";
			mes "Take your time";
			mes "and think about it.";
			mes "It can't be that bad";
			mes "of a deal... Right?";
			close;
		}
		else {
			mes "[Hein]";
			mes "Wha...?";
			mes "What are you talking about?";
			mes "What was I going to say?";
			mes "Oww... My head hurts!";
			close;
		}
	}
	if (lv4_weapon == 40) {
		mes "[Hein]";
		mes "It looks like you want to ask me something. Heh, my customers used to have that look on that faces too when I worked as a weaponsmith...";
		next;
		mes "[Hein]";
		mes "Back during those days,";
		mes "I never accepted money for my work. Father always used to say, 'Never accept payment to forge a good weapon. It... It...'";
		next;
		mes "[Hein]";
		mes "What was the rest of it?";
		mes "Why can't I remember the";
		mes "rest of that saying?!";
		next;
		mes "[Hein]";
		mes "It's so weird.";
		mes "How could I forget";
		mes "something I used to";
		mes "say all the time? I...";
		mes "I hate being dead!";
		close;
	}
	mes "[Hein]";
	mes "It looks like you want to ask me something. Heh, my customers used to have that look on that faces too when I worked as a weaponsmith...";
	next;
	mes "[Hein]";
	mes "Back during those days,";
	mes "I never accepted money for my work. Father always used to say, 'Never accept payment to forge a good weapon. It... It...'";
	next;
	switch(select("Show interest.:Ignore him.")) {
	case 1:
		mes "[Hein]";
		mes "What was the rest of it?";
		mes "Why can't I remember the";
		mes "rest of that saying?!";
		next;
		mes "[Hein]";
		mes "It's so weird.";
		mes "How could I forget";
		mes "something I used to";
		mes "say all the time? I...";
		mes "I hate being dead!";
		lv4_weapon = 40;
		close;
	case 2:
		mes "[Hein]";
		mes "Nuts! Why can't I remember";
		mes "the rest of that saying?!";
		close;
	}
}

niflheim,331,72,3	script	Waltboughst#lv4	4_M_NFDEADMAN,{
	if (checkweight(908,300) == 0) {
		mes "^3355FFWait a second! Right now, you're carrying too many items with you. Please come back after putting some of your things into Kafra Storage.^000000";
		close;
	}
	if (BaseLevel < 80) {
		mes "[Waltboughst]";
		mes "Hah...!";
		mes "A living person!";
		mes "But not for long!";
		next;
		mes "[Waltboughst]";
		mes "I hope you came here with some strong allies. Judging from your strength, there's no way you'll survive in this kind of place on";
		mes "your own, you know.";
		close;
	}
	if (lv4_weapon == 0) {
		mes "[Waltboughst]";
		mes "It's so frustrating being dead.";
		mes "I can't do anything without a body, no matter how hard I try.";
		next;
		mes "[Waltboughst]";
		mes "It's funny, you know. My father always used to say, 'Trying your best won't always result in success...' Um, that's ... Huh? There was more, I think.";
		next;
		switch(select("Show interest.:Ignore him.")) {
		case 1:
			mes "[Waltboughst]";
			mes "Let me try it again.";
			mes "'Trying your best won't";
			mes "always result in success...'";
			mes "I'm sure that's not all of it...";
			next;
			mes "[Waltboughst]";
			mes "I...";
			mes "I can't think!";
			mes "What was supposed";
			mes "to come after that part?";
			lv4_weapon = 49;
			close;
		case 2:
			mes "[Waltboughst]";
			mes "Let me try it again.";
			mes "'Trying your best won't";
			mes "always result in success...'";
			mes "I'm sure that's not all of it...";
			close;
		}
	}
	if ((lv4_weapon < 49) || (lv4_weapon > 57)) {
		mes "[Waltboughst]";
		mes "It doesn't look like you're just wandering around. You're here for something specific, aren't you? But what does the realm of the dead have to offer the living?";
		close;
	}
	if ((lv4_weapon == 56) || (lv4_weapon == 57)) {
		mes "[Waltboughst]";
		mes "Take a look at this!";
		mes "In just a short time, I made something with the materials you've given me. You're curious what the result is, aren't you?";
		next;
		if (rand(1,2) == 1) {
			mes "[Waltboughst]";
			mes "Waltboughst never fails!";
			if (lv4_weapon == 56) {
				mes "With my skill and your luck, there was zero probability for failure. Behold... Byeollungum!";
				getitem 1140,1; //Byeorrun_Gum
			}
			else {
				mes "With my skill and your luck, there was zero probability for failure. Behold... Exorcise!";
				getitem 1233,1; //Exercise
			}
			lv4_weapon = 0;
			next;
			mes "[Waltboughst]";
			mes "I'm a genius!";
			mes "Hahahahahahahaha!";
			mes "I succeeded where my brothers";
			mes "could not! Mwahahahaha ha ha ...ha?";
			next;
			mes "[Waltboughst]";
			mes "Damn, I can feel that fuzziness in my head again. This can't be good. But still, I was able to prove my genius even after I died.";
			next;
			mes "[Waltboughst]";
			mes "I'm sure that if you come back and help me retrieve my memories, I can be of service to you again. But for now, I must thank you, even if I do end up forgetting everything...";
			next;
			mes "[Waltboughst]";
			mes "Yes...";
			mes "It will be your job to remember the accomplishments of Waltboughst, and that he was a weaponsmith ahead of his time. Good bye for now, adventurer...";
			close;
		}
		else {
			mes "[Waltboughst]";
			mes "Waltboughst never fails!";
			if (lv4_weapon == 56) {
				mes "With my skill and your luck, there was zero probability for failure. Behold... Combat Knife!";
				getitem 1228,1; //Combat_Knife
			}
			else {
				mes "With my skill and your luck, there was zero probability for failure. Behold...Grand Cross!!";
				getitem 1528,1; //Grand_Cross
			}
			lv4_weapon = 0;
			next;
			mes "[Waltboughst]";
			mes "I'm a genius!";
			mes "Hahahahahahahaha!";
			mes "I succeeded where my brothers";
			mes "could not! Mwahahahaha ha ha ...ha?";
			next;
			mes "[Waltboughst]";
			mes "Damn, I can feel that fuzziness in my head again. This can't be good. But still, I was able to prove my genius even after I died.";
			next;
			mes "[Waltboughst]";
			mes "I'm sure that if you come back and help me retrieve my memories, I can be of service to you again. But for now, I must thank you, even if I do end up forgetting everything...";
			next;
			mes "[Waltboughst]";
			mes "Yes...";
			mes "It will be your job to remember the accomplishments of Waltboughst, and that he was a weaponsmith ahead of his time. Good bye for now, adventurer...";
			close;
		}
	}
	if (((lv4_weapon == 54) && (countitem(7292) > 29) && (countitem(7291) > 29) && (countitem(7295) > 29)) || ((lv4_weapon == 55) && (countitem(7296) > 29) && (countitem(7294) > 29) && (countitem(7290) > 29))) {
		mes "[Waltboughst]";
		mes "Wait, what's that you're holding?";
		mes "I think those are the exact things we need for me to make you a weapon...";
		next;
		mes "[Waltboughst]";
		mes "Yes...!";
		mes "This is perfect.";
		mes "It looks like I'll";
		mes "be able to start work";
		mes "on this really soon.";
		next;
		mes "[Waltboughst]";
		mes "Now we need to test your luck. And to do that, we need to play '^660000Rock, Paper, Scissors^000000.' I'm serious about this...";
		next;
		mes "[Waltboughst]";
		mes "If your luck is strong today, there'll be less risk of failing the weapon creation process. You need to win 2 out of 3 times for us to begin.";
		next;
		mes "[Waltboughst]";
		mes "But if you lose...";
		mes "We'll need to expel your bad luck by getting rid of a good amount of one of the ores you brought.";
		next;
		mes "[Waltboughst]";
		mes "Take this piece of paper.";
		mes "Now, when I tell you to, write down 'Rock,' 'Paper' or 'Scissors.' Let's begin...!";
		next;
		.@npchand1 = rand(1,3);
		.@myhand1 = select("Scissors:Rock:Paper");
		if (((.@myhand1 == 1) && (.@npchand1 == 3)) || ((.@myhand1 == 2) && (.@npchand1 == 1)) || ((.@myhand1 == 3) && (.@npchand1 == 2))) {
			++.@shobu;
		}
		mes "[Waltboughst]";
		mes "Alright...";
		mes "Now, let's play";
		mes "a second time.";
		next;
		.@npchand2 = rand(1,3);
		.@myhand2 = select("Scissors:Rock:Paper");
		if (((.@myhand2 == 1) && (.@npchand2 == 3)) || ((.@myhand2 == 2) && (.@npchand2 == 1)) || ((.@myhand2 == 3) && (.@npchand2 == 2))) {
			++.@shobu;
		}
		mes "[Waltboughst]";
		mes "One last time.";
		mes "After this, we";
		mes "compare results";
		mes "and check your luck.";
		next;
		.@npchand3 = rand(1,3);
		.@myhand3 = select("Scissors:Rock:Paper");
		if (((.@myhand3 == 1) && (.@npchand3 == 3)) || ((.@myhand3 == 2) && (.@npchand3 == 1)) || ((.@myhand3 == 3) && (.@npchand3 == 2))) {
			++.@shobu;
		}
		.@aekddam = rand(1,3);
		if (.@shobu > 1) {
			if (lv4_weapon == 54) {
				delitem 7292,30; //Muscovite
				delitem 7295,30; //Citrine
				delitem 7291,30; //Agate
			}
			else {
				delitem 7296,30; //Pyroxene
				delitem 7294,30; //Turquoise
				delitem 7290,30; //Phlogopite
			}
			lv4_weapon += 2;
		}
		else if (.@shobu < 2) {
			if (.@aekddam == 1) {
				if (lv4_weapon == 54) {
					delitem 7292,30; //Muscovite
				}
				else {
					delitem 7296,30; //Pyroxene
				}
			}
			else if (.@aekddam == 2) {
				if (lv4_weapon == 54) {
					delitem 7295,30; //Citrine
				}
				else {
					delitem 7294,30; //Turquoise
				}
			}
			else if (.@aekddam == 3) {
				if (lv4_weapon == 54) {
					delitem 7291,30; //Agate
				}
				else {
					delitem 7290,30; //Phlogopite
				}
			}
		}
		mes "[Waltboughst]";
		mes "Okay...";
		mes "I wrote down...";
		if (.@npchand1 == 1) {
			mes "Scissors";
		}
		else if (.@npchand1 == 2) {
			mes "Rock";
		}
		else if (.@npchand1 == 3) {
			mes "Paper";
		}
		if (.@npchand2 == 1) {
			mes "Scissors";
		}
		else if (.@npchand2 == 2) {
			mes "Rock";
		}
		else if (.@npchand2 == 3) {
			mes "Paper";
		}
		if (.@npchand3 == 1) {
			mes "Scissors";
		}
		else if (.@npchand3 == 2) {
			mes "Rock";
		}
		else if (.@npchand3 == 3) {
			mes "Paper";
		}
		next;
		mes "[Waltboughst]";
		mes "Now, you wrote...";
		if (.@myhand1 == 1) {
			mes "Scissors";
		}
		else if (.@myhand1 == 2) {
			mes "Rock";
		}
		else if (.@myhand1 == 3) {
			mes "Paper";
		}
		if (.@myhand2 == 1) {
			mes "Scissors";
		}
		else if (.@myhand2 == 2) {
			mes "Rock";
		}
		else if (.@myhand2 == 3) {
			mes "Paper";
		}
		if (.@myhand3 == 1) {
			mes "Scissors";
		}
		else if (.@myhand3 == 2) {
			mes "Rock";
		}
		else if (.@myhand3 == 3) {
			mes "Paper";
		}
		next;
		if (.@shobu > 1) {
			mes "[Waltboughst]";
			mes "Excellent. You won " + .@shobu + " times,";
			mes "so your luck must be really high.";
			mes "That means we can begin~!";
			next;
			mes "[Waltboughst]";
			mes "Leave the ores here and give";
			mes "me some time to complete my preparations. Come back later, and I should be finished.";
			close;
		}
		else if (.@shobu < 2) {
			mes "[Waltboughst]";
			mes "You lost...";
			mes "I'm sorry, but we";
			mes "need to repel the bad";
			mes "luck by throwing away";
			mes "some of your ores...";
			next;
			mes "[Waltboughst]";
			mes "Gather the required ores again,";
			mes "and come back to me so we can test your luck. I'll be waiting right here.";
			close;
		}
	}
	if ((lv4_weapon == 53) || (lv4_weapon == 54) || (lv4_weapon == 55)) {
		mes "[Waltboughst]";
		mes "Why can't I remember...?!";
		mes "A good weaponsmith is supposed";
		mes "to know these things by heart!";
		mes "When I was alive, I had no such recall problems...";
		next;
		mes "[Waltboughst]";
		mes "If Father were";
		mes "to see me now, I'm";
		mes "sure he'd be ashamed...";
		close;
	}
	if ((lv4_weapon == 52) && (countitem(1005) > 1) && (countitem(989) > 0) && (countitem(710) > 0) && (countitem(969) > 19)) {
		mes "[Waltboughst]";
		mes "You brought everything I needed already? That's great, but somehow, I can't still remember the other materials I need...";
		next;
		mes "[Waltboughst]";
		mes "Tell you what. Let me hold on to these things, and I promise you that I'll use them to create a weapon for you. In the meantime, we need to figure out the rest of the necessary materials...";
		delitem 1005,2; //Hammer_Of_Blacksmith
		delitem 989,1; //Emperium_Anvil
		delitem 710,1; //Illusion_Flower
		delitem 969,20; //Gold
		lv4_weapon = 53;
		close;
	}
	if (lv4_weapon == 52) {
		mes "[Waltboughst]";
		mes "For now, bring";
		mes "the basic things...";
		mes "1 Emperium Anvil,";
		mes "2 Hammer of Blacksmith,";
		mes "1 Illusion Flower and";
		mes "20 Gold...";
		close;
	}
	if (lv4_weapon == 51) {
		mes "[Waltboughst]";
		mes "I just remembered some of the most basic materials we need for me to make a weapon for you.";
		next;
		mes "[Waltboughst]";
		mes "For now, bring";
		mes "the basic things...";
		mes "1 Emperium Anvil,";
		mes "2 Hammer of Blacksmith,";
		mes "1 Illusion Flower and";
		mes "20 Gold...";
		next;
		mes "[Waltboughst]";
		mes "There were a few other necessary materials, but I need some time to focus and remember what they were.";
		lv4_weapon = 52;
		close;
	}
	if (lv4_weapon == 50) {
		mes "[Waltboughst]";
		mes "It's so frustrating being dead.";
		mes "I can't do anything without a body, no matter how hard I try.";
		next;
		mes "[Waltboughst]";
		mes "It's funny, you know. My father always used to say, 'Trying your best won't always result in success...' Um, that's ... Huh? There was more, I think.";
		next;
		input .@input$;
		if (.@input$ == "But that's no excuse!") {
			mes "[Waltboughst]";
			mes "Yes! That was it!";
			mes "But that's no excuse!";
			mes "Every successful man in";
			mes "history has tried his best!";
			lv4_weapon = 51;
			next;
			mes "[Waltboughst]";
			mes "I remember now...";
			mes "I got myself killed trying to make some kind of special weapon.";
			mes "Heh heh, but not this time!";
			next;
			mes "[Waltboughst]";
			mes "We must have been fated to meet. Yes, adventurers of great strength and men of genius naturally attract each other.";
			next;
			mes "[Waltboughst]";
			mes "Lend me your power.";
			mes "Help me complete the experiment";
			mes "I left unfinished in life, and I will let you keep the finished product. All I wish to do is complete my life's work.";
			next;
			mes "[Waltboughst]";
			mes "It seems that being deceased has impaired my rententive faculties. Give me some time to remember the things I'll need to conduct my experiment. We shall talk later.";
			close;
		}
		else {
			mes "[Waltboughst]";
			mes "What...?";
			mes "No, no. That";
			mes "wasn't it at all...";
			mes "Hmmm.";
			close;
		}
	}
	if (lv4_weapon == 49) {
		mes "[Waltboughst]";
		mes "It's so frustrating being dead.";
		mes "I can't do anything without a body, no matter how hard I try.";
		next;
		mes "[Waltboughst]";
		mes "It's funny, you know. My father always used to say, 'Trying your best won't always result in success...' Um, that's ... Huh? There was more, I think.";
		next;
		mes "[Waltboughst]";
		mes "Let me try it again.";
		mes "'Trying your best won't";
		mes "always result in success...'";
		mes "I'm sure that's not all of it...";
		next;
		mes "[Waltboughst]";
		mes "I...";
		mes "I can't think!";
		mes "What was supposed";
		mes "to come after that part?";
		close;
	}
	mes "[Waltboughst]";
	mes "It's so frustrating being dead.";
	mes "I can't do anything without a body, no matter how hard I try.";
	next;
	mes "[Waltboughst]";
	mes "It's funny, you know. My father always used to say, 'Trying your best won't always result in success...' Um, that's ... Huh? There was more, I think.";
	next;
	switch(select("Show interest.:Ignore him.")) {
	case 1:
		mes "[Waltboughst]";
		mes "Let me try it again.";
		mes "'Trying your best won't";
		mes "always result in success...'";
		mes "I'm sure that's not all of it...";
		next;
		mes "[Waltboughst]";
		mes "I...";
		mes "I can't think!";
		mes "What was supposed";
		mes "to come after that part?";
		lv4_weapon = 49;
		close;
	case 2:
		mes "[Waltboughst]";
		mes "Let me try it again.";
		mes "'Trying your best won't";
		mes "always result in success...'";
		mes "I'm sure that's not all of it...";
		close;
	}
}