summaryrefslogtreecommitdiff
path: root/npc/pre-re/jobs/2-1/knight.txt
blob: d06130c3653112b886547966c137e793db19c533 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
//===== rAthena Script ======================================= 
// Knight Job change Quest
//===== By: ================================================== 
//= Masao
//= Credits: Muad_Dib
//===== Current Version: ===================================== 
//= 1.0
//===== Compatible With: ===================================== 
//= Any rAthena SVN
//===== Description: ========================================= 
//= [Translated from the Official]
//= Job change Quest from Swordman -> Knight.
//===== Additional Comments: ================================= 
//= 1.0 Updated to latest available official file. [Masao]
//============================================================ 

prt_in,88,101,4	script	Chivalry Captain	56,{
	if (Upper == 1) {
		cutin "job_knight_herman2",2;
		mes "[Captain Herman]";
		mes "Hm? You're... What is it about you? I've been an honorable Knight for a long time, but I cannot understand this feeling I'm getting from you...";
		next;
		mes "[Captain Herman]";
		mes "May god bless your body and soul, warrior. I hope you will show your courage and protect those who are weaker than you.";
		close2;
		cutin "",255;
		end;
	}
	if ((Class != Job_Baby_Swordman) && (Class != Job_Swordman)) {
		if (Class == Job_Baby_Knight || Class == Job_Knight) {
			cutin "job_knight_herman1",2;
			mes "[Captain Herman]";
			mes "Ah, a member of our Chivalry.";
			mes "I hope you are living up to my expectations. We have vowed to be strong for our kingdom, even if death is upon us...";
			close2;
			cutin "",255;
			end;
		}
		if (Class == Job_Baby || Class == Job_Novice) {
			cutin "job_knight_herman1",2;
			mes "[Captain Herman]";
			mes "Welcome,";
			mes "this is the";
			mes "Prontera Chivalry.";
			mes "What brings you here?";
			next;
			switch (select("I want to change my job to Swordman.:I want to change my job to a Knight.:Just visiting.")) {
			case 1:
				mes "[Captain Herman]";
				mes "A-ha~";
				mes "A Swordman, you say?";
				if (Sex == 1) {
					mes "I'm sorry, lad, but you've";
					mes "come to the wrong place!";
				}
				else {
					mes "I'm sorry, lass, but you've";
					mes "come to the wrong place!";
				}
				next;
				cutin "job_knight_herman1",2;
				mes "[Captain Herman]";
				mes "This isn't the Swordsman guild, it's the Prontera Chivalry! If you wish to become a Swordman, visit the Swordman Guild located in Izlude.";
				break;
			case 2:
				mes "[Captain Herman]";
				mes "Ah, I see that you have great ambition. But you must first become a Swordman before becoming";
				mes "a Knight. One step at a time...";
				next;
				cutin "job_knight_herman1",2;
				mes "[Captain Herman]";
				mes "First, visit the Swordman guild in Izlude. Then, come visit us again once you have become a well experienced Swordman.";
				break;
			case 3:
				cutin "job_knight_herman1",2;
				mes "[Captain Herman]";
				mes "Aha~";
				mes "You must have lots of free time. Why don't you go hunt some monsters instead of wandering about aimlessly?";
				break;
			}
			next;
			cutin "job_knight_herman1",2;
			mes "[Captain Herman]";
			mes "If you really wish to become a knight, please come back later.";
			close2;
			cutin "",255;
			end;
		}
		cutin "job_knight_herman1",2;
		mes "[Captain Herman]";
		mes "Welcome. We, the proud Knights of the Prontera Chivalry, will give our lives for king and country! Please enjoy your stay.";
		close2;
		cutin "",255;
		end;
	}
	if (KNGHT_Q == 0) {
		cutin "job_knight_herman2",2;
		mes "[Captain Herman]";
		mes "Welcome, this is";
		mes "the Prontera Chivalry.";
		mes "What brings you here?";
		next;
		switch (select("I want to change my job to a Knight.:Just visiting.")) {
		case 1:
			mes "[Captain Herman]";
			if (Sex == 1) {
				mes "Ohh...";
				mes "A young man who wishes";
				mes "to become a Knight!";
			}
			else {
				mes "Ohh...";
				mes "A young lady who wishes";
				mes "to become a Knight!";
			}
			mes "Our Prontera Chivalry";
			mes "will assist you.";
			next;
			mes "[Captain Herman]";
			mes "First of all, I am the captain of the Prontera Chivalry, Herman Phon Efesirsus. I'm pleased to meet young people eager to join the Prontera Chivalry.";
			next;
			mes "[Captain Herman]";
			mes "We only accept Swordmen";
			mes "who are at least Job Level 40.";
			mes "We cannot consider applicants that are not yet experienced enough to become Knights.";
			next;
			mes "[Captain Herman]";
			mes "Once you apply, and we find";
			mes "you eligible, we will begin the job change procedure. Would you";
			mes "like to apply now?";
			next;
			switch (select("Yes, I would like to apply.:I'd like to think about it please.")) {
			case 1:
				if (JobLevel < 40) {
					mes "[Captain Herman]";
					mes "Ah, you are not yet ready to become a Knight! Didn't I specifically mention the Job Level 40 requirement?";
					next;
					mes "[Captain Herman]";
					mes "Of course I understand your strong desire to join us, but now is not the time. Go out and fight some more monsters. We will be here waiting.";
					close2;
					cutin "",255;
					end;
				}
				if (SkillPoint != 0) {
					cutin "job_knight_herman1",2;
					mes "[Captain Herman]";
					mes "Ah...!";
					mes "You cannot change jobs if you have unused skill points remaining. Return when you have used";
					mes "all of your skill points.";
					close2;
					cutin "",255;
					end;
				}
				set KNGHT_Q,1;
				setquest 9000;
				mes "[Captain Herman]";
				mes "Let me see...";
				mes "Your name is";
				mes "" + strcharinfo(0) + "...";
				mes "Is that right?";
				next;
				mes "[Captain Herman]";
				mes "Let me explain the job change procedure. You must visit a series of Knights and pass each";
				mes "of their tests.";
				next;
				mes "[Captain Herman]";
				mes "Once all the tests are completed, every Knight involved in your testing will gather and discuss your performance.";
				next;
				mes "[Captain Herman]";
				mes "The Knights must unanimously approve of you before you can join the Prontera Chivalry. If only one person objects, you must";
				mes "start over.";
				next;
				mes "[Captain Herman]";
				mes "But I believe if you persist with an earnest heart, you shall be acknowledged by the Knights and ultimately recognized as a member of our Chivalry.";
				next;
				cutin "job_knight_herman1",2;
				mes "[Captain Herman]";
				mes "So, let's not waste any more time talking! Go and meet these Knights and begin their tests. Once you have completed all of the tests, come back to me.";
				close2;
				break;
			case 2:
				cutin "job_knight_herman1",2;
				mes "[Captain Herman]";
				mes "Oh...!";
				mes "Well, I don't want to pressure you. Take your time and think it over. Return when you are ready to";
				mes "change jobs, for we will be waiting.";
				close2;
				break;
			}
		case 2:
			mes "[Captain Herman]";
			mes "Come to think of it, aren't you a Swordman? It looks like you've encountered many foes in battle.";
			next;
			mes "[Captain Herman]";
			mes "You should consider changing jobs to a Knight. Come and talk to me if you are interested.";
			next;
			mes "[Captain Herman]";
			mes "Please take";
			mes "your time in";
			mes "looking around.";
			mes "Good day.";
			close2;
			break;
		}
		cutin "",255;
		end;
	}
	if (KNGHT_Q == 1) {
		cutin "job_knight_herman2",2;
		mes "[Captain Herman]";
		mes "Mmm?";
		mes "" + strcharinfo(0) + ",";
		mes "what can I do for you?";
		mes "Ah, you don't know";
		mes "who to visit?";
		next;
		mes "[Captain Herman]";
		mes "I believe the Knights in charge of testing have set an order in which you must visit them. I suppose it helps the testing process.";
		next;
		mes "[Captain Herman]";
		mes "First, go and visit";
		mes "Sir Andrew for your first test. Don't be too nervous, he'll explain everything once you talk to him.";
		close2;
		cutin "",255;
		end;
	}
	if (KNGHT_Q == 2) {
		cutin "job_knight_herman2",2;
		mes "[Captain Herman]";
		mes "Mmm?";
		mes "Swordman " + strcharinfo(0) + ".";
		mes "How are the tests?";
		mes "It may be difficult,";
		mes "but do your best.";
		close2;
		cutin "",255;
		end;
	}
	if (KNGHT_Q == 3) {
		cutin "job_knight_herman2",2;
		mes "[Captain Herman]";
		mes "Mmm?";
		mes "Swordman " + strcharinfo(0) + ".";
		mes "How are the tests?";
		mes "It may be difficult,";
		mes "but do your best.";
		close2;
		cutin "",255;
		end;
	}
	if (KNGHT_Q == 4) {
		cutin "job_knight_herman2",2;
		mes "[Captain Herman]";
		mes "Mmm?";
		mes "Swordman " + strcharinfo(0) + ".";
		mes "How are the tests?";
		mes "Ah~ You do not know";
		mes "who to visit next?";
		next;
		cutin "job_knight_herman1",2;
		mes "[Captain Herman]";
		mes "It appears that you have finished one test. Let's see. Sir Andrew, who must this Swordman visit next?";
		next;
		cutin "job_knight_herman2",2;
		mes "[Sir Andrew]";
		mes "I said to";
		mes "visit Sir Siracuse.";
		mes "Funny, I thought I told";
		mes "you. Did I forget...?";
		next;
		mes "[Captain Herman]";
		mes "Did you hear?";
		mes "Go to Sir Siracuse and take his test. Once you complete his test, do not forget who you're supposed to visit next as well.";
		close2;
		cutin "",255;
		end;
	}
	if (KNGHT_Q == 5) {
		cutin "job_knight_herman2",2;
		mes "[Captain Herman]";
		mes "Mmm?";
		mes "Swordman " + strcharinfo(0) + ".";
		mes "How are the tests?";
		mes "It may be difficult,";
		mes "but do your best.";
		close2;
		cutin "",255;
		end;
	}
	if (KNGHT_Q == 6) {
		cutin "job_knight_herman2",2;
		mes "[Captain Herman]";
		mes "Mmm?";
		mes "Swordman " + strcharinfo(0) + ".";
		mes "How are the tests?";
		mes "Ah~ You do not know";
		mes "who to visit next?";
		next;
		cutin "job_knight_herman1",2;
		mes "[Captain Herman]";
		mes "Let's see...";
		mes "You've completed two tests.";
		mes "Sir Siracuse, who must this Swordman visit next?";
		next;
		mes "[Sir Siracuse]";
		mes "Oh...!";
		mes "Um, who was next...?";
		mes "Right! Sir Windsor!";
		next;
		cutin "job_knight_herman2",2;
		mes "[Captain Herman]";
		mes "Head over to";
		mes "Sir Windsor Benedict for your next test. Listen carefully to the Knights in charge of testing so that you don't feel lost, alright?";
		close2;
		cutin "",255;
		end;
	}
	if (KNGHT_Q == 7) {
		cutin "job_knight_herman2",2;
		mes "[Captain Herman]";
		mes "Mmm?";
		mes "Swordman " + strcharinfo(0) + ".";
		mes "How are the tests?";
		mes "It may be difficult,";
		mes "but do your best.";
		close2;
		cutin "",255;
		end;
	}
	if (KNGHT_Q == 8) {
		cutin "job_knight_herman2",2;
		mes "[Captain Herman]";
		mes "Mmm?";
		mes "Swordman " + strcharinfo(0) + ".";
		mes "How are the tests?";
		mes "Ah~ You do not know";
		mes "who to visit next?";
		next;
		cutin "job_knight_herman1",2;
		mes "[Captain Herman]";
		mes "Sir Windor...?";
		mes "Who must this";
		mes "Swordman visit";
		mes "next?";
		next;
		mes "[Sir Windsor]";
		mes "...";
		next;
		mes "[Sir Windsor]";
		mes "...";
		mes "......";
		next;
		mes "[Sir Windsor]";
		mes "...Amy Beatrice.";
		next;
		cutin "job_knight_herman2",2;
		mes "[Captain Herman]";
		mes "Ah, go and visit";
		mes "Lady Amy and take her test. Make sure you pay attention to who you must go to for your next test.";
		close2;
		cutin "",255;
		end;
	}
	if (KNGHT_Q == 9) {
		cutin "job_knight_herman2",2;
		mes "[Captain Herman]";
		mes "Mmm?";
		mes "Swordman " + strcharinfo(0) + ".";
		mes "How are the tests?";
		mes "It may be difficult,";
		mes "but do your best.";
		close2;
		cutin "",255;
		end;
	}
	if (KNGHT_Q == 10) {
		cutin "job_knight_herman2",2;
		mes "[Captain Herman]";
		mes "Mmm?";
		mes "Swordman " + strcharinfo(0) + ".";
		mes "How are the tests?";
		mes "Ah~ You do not know";
		mes "who to visit next?";
		next;
		cutin "job_knight_herman1",2;
		mes "[Captain Herman]";
		mes "Let's see...";
		mes "Lady Amy, who";
		mes "must this Swordman";
		mes "visit next?";
		next;
		mes "[Lady Amy]";
		mes "Oh...";
		mes "I said to visit";
		mes "Sir Edmond!";
		mes "Tee hee~";
		next;
		cutin "job_knight_herman2",2;
		mes "[Captain Herman]";
		mes "Now, go and speak";
		mes "to Sir Edmond. He will";
		mes "be in charge of your";
		mes "next test.";
		close2;
		cutin "",255;
		end;
	}
	if (KNGHT_Q == 11) {
		cutin "job_knight_herman2",2;
		mes "[Captain Herman]";
		mes "Mmm?";
		mes "Swordman " + strcharinfo(0) + ".";
		mes "How are the tests?";
		mes "It may be difficult,";
		mes "but do your best.";
		close2;
		cutin "",255;
		end;
	}
	if (KNGHT_Q == 12) {
		cutin "job_knight_herman2",2;
		mes "[Captain Herman]";
		mes "Mmm?";
		mes "Swordman " + strcharinfo(0) + ".";
		mes "How are the tests?";
		mes "Ah~ You do not know";
		mes "who to visit next?";
		next;
		cutin "job_knight_herman1",2;
		mes "[Captain Herman]";
		mes "Don't you only have to visit one more person? The Knight in";
		mes "charge of the final test";
		mes "is Sir Gray Prospheiro.";
		next;
		mes "[Sir Edmond]";
		mes "This world operates according";
		mes "to the law of cause and effect.";
		mes "All will be revealed in the end.";
		next;
		cutin "job_knight_herman2",2;
		mes "[Captain Herman]";
		mes "Be alert and do";
		mes "your best, as this";
		mes "is the last test.";
		next;
		mes "[Captain Herman]";
		mes "Return to me";
		mes "after you have";
		mes "completed the";
		mes "final test.";
		close2;
		cutin "",255;
		end;
	}
	if (KNGHT_Q == 13) {
		cutin "job_knight_herman2",2;
		mes "[Captain Herman]";
		mes "Finish the last test.";
		mes "Once that is complete, all the Knights involved in your testing shall gather, and we will evaluate your performance.";
		close2;
		cutin "",255;
		end;
	}
	if (KNGHT_Q == 14) {
		if (JobLevel < 40) {
			set KNGHT_Q,0;
			cutin "job_knight_herman2",2;
			mes "[Captain Herman]";
			mes "Ah, you are not yet ready to become a Knight! Didn't I specifically mention the Job Level 40 requirement?";
			next;
			mes "[Captain Herman]";
			mes "Of course I understand your strong desire to join us, but now is not the time. Go out and fight some more monsters. We will be here waiting.";
			close2;
			cutin "",255;
			end;
		}
		if (SkillPoint != 0) {
			cutin "job_knight_herman2",2;
			mes "[Captain Herman]";
			mes "Oh...!";
			mes "You cannot change jobs if you have unused skill points remaining. Return once you have distributed all your skill points.";
			close2;
			cutin "",255;
			end;
		}
		cutin "job_knight_herman2",2;
		mes "[Captain Herman]";
		mes "Oh, have you completed all the tests? But not everyone who completes the tests can";
		mes "become a Knight.";
		next;
		mes "[Captain Herman]";
		mes "During the test we see how loyal, honorable and strong you are. We also see if you were courteous and if you know the value of modesty and reverence.";
		next;
		mes "[Captain Herman]";
		mes "Through this process, I have also observed your actions. All seven of our opinions will be reflected in the decision of your job change.";
		next;
		mes "[Captain Herman]";
		mes "Then...";
		mes "We shall listen";
		mes "to everyone's thoughts!";
		mes "Andrew, what do you think?";
		next;
		if (JobLevel == 50) {
			mes "[Sir Andrew]";
			mes "What can I say?";
			mes "I approve!";
			mes "Having lived as";
			mes "a Swordsman up";
			mes "until now";
			mes "is enough.";
		}
		else {
			mes "[Sir Andrew]";
			mes "This one has";
			mes "gathered items";
			mes "that are troublesome";
			mes "to obtain. I approve!";
			if (Sex == 1) {
				mes "I believe he will continue to be loyal after becoming a Knight.";
			}
			else {
				mes "I believe she will continue to be loyal after becoming a Knight.";
			}
		}
		next;
		mes "[Captain Herman]";
		mes "Hmm.";
		mes "What a nice review.";
		mes "Siracuse, what are your thoughts?";
		next;
		mes "[Sir Siracuse]";
		mes "Heh, very well. Not quite what";
		mes "I would want, but hopefully will become better in the future.";
		next;
		mes "[Sir Siracuse]";
		mes "After becoming a Knight, you must build a good reputation through honor. Ehh... I approve.";
		next;
		mes "[Captain Herman]";
		mes "Okay...";
		mes "Windsor,";
		mes "what about you?";
		next;
		mes "[Sir Windsor]";
		mes "...";
		next;
		mes "[Sir Windsor]";
		mes "...";
		mes "......";
		next;
		mes "[Sir Windsor]";
		mes "....Approved.";
		next;
		mes "[Captain Herman]";
		mes "I don't think";
		mes "he disapproves.";
		mes "Then, let's listen";
		mes "to Amy's opinion.";
		next;
		mes "[Lady Amy]";
		if (Sex == 1) {
			mes "Mmm~ He's so polite!";
			mes "He'll grow to be a wonderful Knight. And he's got such cute widdle cheeeeks~ Hee hee!";
		}
		else {
			mes "Mmm~ She should be great!";
			mes "She's very courteous and also very cute, so a few more points! Heh~";
			mes "I shouldn't be saying things like this!";
		}
		next;
		mes "[Captain Herman]";
		mes "Well...";
		mes "A strange review,";
		mes "but I believe";
		mes "she approves.";
		mes "Edmond, speak";
		mes "your mind.";
		next;
		mes "[Sir Edmond]";
		if (Sex == 1) {
			mes "He seems a little rough, but something bright shines within him. With polish and refinement, his true value will shine forth";
			mes "as the sun.";
		}
		else {
			mes "It's difficult to see, but there is a spiritual beauty within her. With polish and refinement, her true value will glow as resplendently";
			mes "as the moon.";
		}
		next;
		mes "[Captain Herman]";
		mes "Lastly...";
		mes "Gray. I would like";
		mes "to hear your thoughts.";
		next;
		mes "[Gray]";
		if (Sex == 1) {
			mes "A young gentleman coming here with the determination to become a Knight is enough...";
		}
		else {
			mes "A young lady coming here with the determination to become a Knight is enough...";
		}
		next;
		mes "[Captain Herman]";
		mes "Everyone";
		mes "has approved.";
		mes "No one has opposed.";
		mes "Then I shall tell";
		mes "you my opinion.";
		next;
		cutin "job_knight_herman1",2;
		mes "[Captain Herman]";
		mes "My decision is...";
		next;
		mes "[Captain Herman]";
		mes "I approve.";
		next;
		mes "[Captain Herman]";
		mes "You may not have finished all the tests perfectly, but you have all the necessary qualities to become";
		mes "a Knight.";
		next;
		cutin "job_knight_herman2",2;
		set KNGHT_Q,0;
		completequest 9012;
		if(Class == Job_Baby_Swordman){
			jobchange Job_Baby_Knight;
		} else {
			jobchange Job_Knight;
		}
		mes "[Captain Herman]";
		mes "I hereby declare";
		mes "you a member of";
		mes "the Prontera Chivalry.";
		mes "Protect the weak and";
		mes "live with honor.";
		next;
		getitem 656,7; //Awakening_Potion
		mes "[Captain Herman]";
		mes "Oh...";
		mes "We have prepared a small gift to congratulate you on your job change. Please use it when you are in battle as you honorably protect others.";
		next;
		cutin "job_knight_herman1",2;
		mes "[Captain Herman]";
		mes "Go forth!";
		mes "The future of";
		mes "Rune-Midgard";
		mes "rests on your";
		mes "shoulders!";
		close2;
	}
	cutin "",255;
	end;
}

prt_in,75,107,4	script	Sir Andrew	65,{
	if ((Class != Job_Baby_Swordman) && (Class != Job_Swordman)) {
		if (Class == Job_Baby_Knight || Class == Job_Knight) {
			mes "[Sir Andrew]";
			mes "You must be";
			mes "a member of";
			mes "the Chivalry.";
			mes "How are you doing?";
			next;
			mes "[Sir Andrew]";
			mes "You must work diligently to gather food as well as save zeny to buy equipment. Save everything you";
			mes "find in battle, even the smallest Jellopy.";
			next;
			mes "[Sir Andrew]";
			mes "But it's not good";
			mes "to be too greedy.";
			mes "After all, we are Knights.";
			close;
		}
		if (Class == Job_Baby || Class == Job_Novice) {
			mes "[Sir Andrew]";
			mes "Hey there,";
			mes "little Novice.";
			mes "Welcome to the";
			mes "Prontera Chivalry.";
			next;
			mes "[Sir Andrew]";
			mes "You might that you're";
			mes "weak right now, but someday";
			mes "you'll become stronger.";
			next;
			mes "[Sir Andrew]";
			mes "Dream of a bright future, and go look forward on the path that you choose to take.";
			close;
		}
		mes "[Sir Andrew]";
		mes "We, the members of the";
		mes "Prontera Chivalry, are putting our best effort in protecting peace in this world.";
		next;
		mes "[Sir Andrew]";
		mes "Even during the battles we face each and every day, we dream of";
		mes "a bright future that is to come.";
		close;
	}
	if (KNGHT_Q == 0) {
		mes "[Sir Andrew]";
		mes "We, the members of the";
		mes "Prontera Chivalry, are putting our best effort in protecting peace in this world.";
		next;
		mes "[Sir Andrew]";
		mes "Even during the battles we face each and every day, we dream of";
		mes "a bright future that is to come.";
		close;
	}
	if (KNGHT_Q == 1) {
		mes "[Sir Andrew]";
		mes "Good day.";
		mes "May I help you";
		mes "with something?";
		next;
		switch (select("I would like to take the test.:Oh, nothing.")) {
		case 1:
			mes "[Sir Andrew]";
			mes "Ah...";
			mes "You wish";
			mes "to become a Knight.";
			mes "Your name is";
			mes "" + strcharinfo(0) + ",";
			mes "correct?";
			next;
			mes "[Sir Andrew]";
			mes "I am a Knight of";
			mes "the Prontera Chivalry,";
			mes "Andrew Shylock.";
			mes "I am in charge of";
			mes "your first test.";
			next;
			mes "[Sir Andrew]";
			mes "I will be testing your sense of loyalty. Every Knight must possess this virtue. For this exam, you will be gathering prizes from";
			mes "the battlefield.";
			next;
			if (JobLevel == 50) {
				mes "[Sir Andrew]";
				mes "Mmm...?";
				mes "Hold on there.";
				mes "You look like you've";
				mes "mastered being";
				mes "a Swordsman.";
				next;
				mes "[Sir Andrew]";
				mes "Impressive...!";
				mes "On second thought,";
				mes "I don't think your";
				mes "loyalty needs to";
				mes "be tested.";
				next;
				mes "[Sir Andrew]";
				mes "Please go to my fellow Knight, Sir Siracuse, as he will give you your next test. Well done in mastering the Swordman job.";
				set KNGHT_Q,4;
				changequest 9000,9003;
				changequest 9001,9003;
				changequest 9002,9003;
				close;
			}
			mes "[Sir Andrew]";
			mes "Without";
			mes "further ado,";
			mes "let's begin!";
			mes "Go and gather the";
			mes "following items...";
			next;
			set .@knight_m1, rand(1,2);
			mes "[Sir Andrew]";
			if (.@knight_m1 == 1) {
				set KNGHT_Q,2;
				changequest 9000,9001;
				mes "^236B8E5 Elder Pixie's Moustache^000000,";
				mes "^236B8E5 Wing of Red Bat^000000,";
				mes "^236B8E5 Orcish Voucher^000000,";
				mes "^236B8E5 Moth Dust^000000,";
				mes "^236B8E5 Reptile Tongue^000000 and";
				mes "^236B8E5 Mane^000000.";
			}
			else {
				set KNGHT_Q,3;
				changequest 9000,9002;
				mes "^236B8E5 Bug Leg^000000,";
				mes "^236B8E5 Heart of Mermaid^000000,";
				mes "^236B8E5 Maneater Blossom^000000,";
				mes "^236B8E5 Clam Flesh^000000,";
				mes "^236B8E5 Old Frying Pan^000000 and";
				mes "^236B8E5 Snail's Shell^000000.";
			}
			next;
			mes "[Sir Andrew]";
			mes "I shall be";
			mes "waiting here for";
			mes "you to bring the";
			mes "items I've listed.";
			mes "See you soon~";
			close;
		case 2:
			mes "[Sir Andrew]";
			mes "Well, then...";
			mes "Good day.";
			close;
		}
	}
	if (KNGHT_Q == 2) {
		mes "[Sir Andrew]";
		mes "Welcome back~";
		mes "Did you gather";
		mes "all the items?";
		mes "Let's check and see...";
		next;
		if ((countitem(1040) > 4) && (countitem(7006) > 4) && (countitem(931) > 4) && (countitem(1057) > 4) && (countitem(903) > 4) && (countitem(1028) > 4)) {
			mes "[Sir Andrew]";
			mes "Excellent! We appreciate your effort in gathering these items. These will be used to support";
			mes "the Chivalry's finances.";
			next;
			delitem 1040,5; //Elder_Pixie's_Beard
			delitem 7006,5; //Wing_Of_Red_Bat
			delitem 931,5; //Orcish_Voucher
			delitem 1057,5; //Moth_Dust
			delitem 903,5; //Reptile_Tongue
			delitem 1028,5; //Wild_Boar's_Mane
			set KNGHT_Q,4;
			changequest 9001,9003;
			changequest 9002,9003;
			mes "[Sir Andrew]";
			mes "Please visit my fellow Knight, Sir Siracuse, and continue the tests with the dedication and loyalty you've shown to me this day.";
			close;
		}
		mes "[Sir Andrew]";
		mes "Wait, wait...";
		mes "I think you're";
		mes "still missing some";
		mes "items. In case you";
		mes "forgot, let me";
		mes "remind you...";
		next;
		mes "[Sir Andrew]";
		mes "^236B8E5 Elder Pixie's Moustache^000000,";
		mes "^236B8E5 Wing of Red Bat^000000,";
		mes "^236B8E5 Orcish Voucher^000000,";
		mes "^236B8E5 Moth Dust^000000,";
		mes "^236B8E5 Reptile Tongue^000000 and";
		mes "^236B8E5 Mane^000000.";
		next;
		mes "[Sir Andrew]";
		mes "Now, please take this test seriously and with sincerity.";
		mes "Now, I'll be waiting for you";
		mes "to complete this task.";
		close;
	}
	if (KNGHT_Q == 3) {
		mes "[Sir Andrew]";
		mes "Welcome back~";
		mes "Did you gather";
		mes "all the items?";
		mes "Let's check and see...";
		next;
		if ((countitem(1042) > 4) && (countitem(950) > 4) && (countitem(1032) > 4) && (countitem(966) > 4) && (countitem(7031) > 4) && (countitem(946) > 4)) {
			mes "[Sir Andrew]";
			mes "Perfect! We appreciate your effort in gathering these items. Thesee will be used to support the Chivalry's finances.";
			next;
			delitem 1042,5; //Short_Leg
			delitem 950,5; //Heart_Of_Mermaid
			delitem 1032,5; //Blossom_Of_Maneater
			delitem 966,5; //Flesh_Of_Clam
			delitem 7031,5; //Old_Frying_Pan
			delitem 946,5; //Snail's_Shell
			set KNGHT_Q,4;
			changequest 9001,9003;
			changequest 9002,9003;
			mes "[Sir Andrew]";
			mes "Please visit my fellow Knight, Sir Siracuse, and continue the tests with the dedication and loyalty you've shown to me this day.";
			close;
		}
		mes "[Sir Andrew]";
		mes "Wait, wait...";
		mes "I think you're";
		mes "still missing some";
		mes "items. In case you";
		mes "forgot, let me";
		mes "remind you...";
		next;
		mes "[Sir Andrew]";
		mes "^236B8E5 Bug Leg^000000,";
		mes "^236B8E5 Heart of Mermaid^000000,";
		mes "^236B8E5 Maneater Blossom^000000,";
		mes "^236B8E5 Clam Flesh^000000,";
		mes "^236B8E5 Old Frying Pan^000000 and";
		mes "^236B8E5 Snail's Shell^000000.";
		next;
		mes "[Sir Andrew]";
		mes "Now, please take this test seriously and with sincerity.";
		mes "Now, I'll be waiting for you";
		mes "to complete this task.";
		close;
	}
	if (KNGHT_Q == 4) {
		mes "[Sir Andrew]";
		mes "Did you have something you needed to ask me? You should go and take the next test. Hurry, Sir Siracuse is waiting for you~";
		close;
	}
	if (KNGHT_Q == 14) {
		mes "[Sir Andrew]";
		mes "You must have finished all the tests. Good job! You should go see our Captain so that we can all give our evaluation.";
		close;
	}
	mes "[Sir Andrew]";
	mes "Did you have something you needed to ask me? You should go and take your next test. Do your best.";
	mes "I know you can do it!";
	close;
}

prt_in,71,91,0	script	Sir Siracuse	65,{
	if ((Class != Job_Baby_Swordman) && (Class != Job_Swordman)) {
		if (Class == Job_Baby_Knight || Class == Job_Knight) {
			mes "[Sir Siracuse]";
			mes "Hey there!";
			mes "How are you doing?";
			mes "The Chivalry's been";
			mes "doing pretty well.";
			next;
			mes "[Sir Siracuse]";
			mes "We've been";
			mes "testing new members,";
			mes "but not all of them";
			mes "show as much promise";
			mes "as you.";
			next;
			mes "[Sir Siracuse]";
			mes "I hope these new recruits all behave themselves, and don't";
			mes "bring shame to the Chivalry.";
			next;
			mes "[Sir Siracuse]";
			mes "If you catch any of the new guys acting in a way unbecoming of a Knight, scold them for me please?";
			close;
		}
		if (Class == Job_Baby || Class == Job_Novice) {
			mes "[Sir Siracuse]";
			mes "Oh?";
			mes "What is a Novice";
			mes "doing here?";
			next;
			mes "[Sir Siracuse]";
			mes "Are you interested in becoming a Knight? You just can't change into a Knight from a Novice, you know.";
			next;
			mes "[Sir Siracuse]";
			mes "First, you have";
			mes "to become a well";
			mes "experienced Swordman";
			mes "before you can consider";
			mes "becoming a Knight.";
			close;
		}
		mes "[Sir Siracuse]";
		mes "Offense and defense.";
		mes "Is there a way to have both without compromising one or the other?";
		next;
		mes "[Sir Siracuse]";
		mes "Two-handed weapons greatly";
		mes "improve your offense but decrease your defenses. Is there something that can overcome this weakness?";
		next;
		mes "[Sir Siracuse]";
		mes "A weapon or some sort";
		mes "of technique like that";
		mes "would help Knights greatly...";
		close;
	}
	if (KNGHT_Q == 0) {
		mes "[Sir Siracuse]";
		mes "Offense and defense.";
		mes "Is there a way to have both without compromising one or the other?";
		next;
		mes "[Sir Siracuse]";
		mes "Two-handed weapons greatly";
		mes "improve your offense but decrease your defenses. Is there something that can overcome this weakness?";
		next;
		mes "[Sir Siracuse]";
		mes "A weapon or some sort";
		mes "of technique like that";
		mes "would help Knights greatly...";
		close;
	}
	if (KNGHT_Q == 1) {
		mes "[Sir Siracuse]";
		mes "Eh?";
		mes "Do you have";
		mes "something to";
		mes "ask me?";
		next;
		switch (select("I would like to take the test to change jobs.:Oh, nothing.")) {
		case 1:
			mes "[Sir Siracuse]";
			mes "Oh, to become";
			mes "a Knight? Come to";
			mes "think of it, aren't";
			if (Sex == 1) {
				mes "you the guy that";
				mes "just applied?";
			}
			else {
				mes "you the girl that";
				mes "just applied?";
			}
			next;
			mes "[Sir Siracuse]";
			mes "Let's see...";
			mes "Your name was";
			mes "" + strcharinfo(0) + ".";
			next;
			mes "[Sir Siracuse]";
			mes "But, before you come to me, you must visit the others. The way";
			mes "I see it, you haven't proven that you know the basics. But I'll";
			mes "reconsider once you";
			mes "pass the first test.";
			close;
		case 2:
			mes "[Sir Siracuse]";
			mes "Hmmm...?";
			mes "Alright.";
			mes "It's just that";
			mes "you had that";
			mes "look on your";
			mes "face.";
			close;
		}
	}
	if (KNGHT_Q == 2) {
		mes "[Sir Siracuse]";
		mes "Eh?";
		mes "Do you have";
		mes "something to";
		mes "ask me?";
		next;
		switch (select("I would like to take the test to change jobs.:Oh, nothing.")) {
		case 1:
			mes "[Sir Siracuse]";
			mes "Hahaha~!";
			mes "Aren't you supposed to be taking Andrew's test? You can't just skip that, you know! All of our tests are important.";
			next;
			mes "[Sir Siracuse]";
			mes "Speak to Sir Andrew first.";
			mes "My test for you will come after you've finished his test.";
			close;
		case 2:
			mes "[Sir Siracuse]";
			mes "Hmmm...?";
			mes "Alright.";
			mes "It's just that";
			mes "you had that";
			mes "look on your";
			mes "face.";
			close;
		}
	}
	else if (KNGHT_Q == 3) {
		mes "[Sir Siracuse]";
		mes "Eh?";
		mes "Do you have";
		mes "something to";
		mes "ask me?";
		next;
		switch (select("I would like to take the test to change jobs.:Oh, nothing.")) {
		case 1:
			mes "[Sir Siracuse]";
			mes "Hahaha~!";
			mes "Aren't you supposed to be taking Andrew's test? You can't just skip that, you know! All of our tests are important.";
			next;
			mes "[Sir Siracuse]";
			mes "Speak to Sir Andrew first.";
			mes "My test for you will come after you've finished his test.";
			close;
		case 2:
			mes "[Sir Siracuse]";
			mes "Hmmm...?";
			mes "Alright.";
			mes "It's just that";
			mes "you had that";
			mes "look on your";
			mes "face.";
			close;
		}
	}
	else if (KNGHT_Q == 4) {
		mes "[Sir Siracuse]";
		mes "Oh?";
		mes "Do you have";
		mes "something to";
		mes "ask me?";
		next;
		switch (select("Sir Andrew sent me to take your test.:Oh, nothing.")) {
		case 1:
			mes "[Sir Siracuse]";
			mes "I see, you've passed the first test. Very well, I'll make some time for you. Let me introduce myself. My name is James Siracuse.";
			next;
			mes "[Sir Siracuse]";
			mes "This test will measure how much you know about Knighthood. More importantly, I want to know your thoughts about honor.";
			next;
			mes "[Sir Siracuse]";
			mes "Don't be nervous, I won't keep you too long. These will be quick questions. Plus, you still have to see the others, right?";
			next;
			mes "[Sir Siracuse]";
			mes "Well then,";
			mes "let's begin.";
			mes "Please answer";
			mes "promptly.";
			next;
			mes "[Sir Siracuse]";
			mes "A Knight must possess great strength, defense, speed, and the skill to wield a Two-Handed Sword. Which of the following weapons are not affected by the Two Hand Quicken skill?";
			next;
			switch (select("Katana:Slayer:Broadsword:Flamberge")) {
			case 1:
				set KNGHT_Q,5;
				mes "[Sir Siracuse]";
				mes "Wrong!";
				mes "That's a Two-Handed Sword!";
				mes "Are you sure you want to be a Knight? You don't even know the basics...";
				next;
				mes "[Sir Siracuse]";
				mes "If you're not sure about anything, go into town and ask any Knight. You need to learn more about Knights before applying for the job!";
				close;
			case 2:
				set KNGHT_Q,5;
				mes "[Sir Siracuse]";
				mes "Wrong!";
				mes "That's a Two-Handed Sword!";
				mes "Are you sure you want to be a Knight? You don't even know the basics...";
				next;
				mes "[Sir Siracuse]";
				mes "If you're not sure about anything, go into town and ask any Knight. You need to learn more about Knights before applying for the job!";
				close;
			case 3:
				set KNGHT_Q,5;
				mes "[Sir Siracuse]";
				mes "Wrong!";
				mes "That's a Two-Handed Sword!";
				mes "Are you sure you want to be a Knight? You don't even know the basics...";
				next;
				mes "[Sir Siracuse]";
				mes "If you're not sure about anything, go into town and ask any Knight. You need to learn more about Knights before applying for the job!";
				close;
			case 4:
				break;
			}
			mes "[Sir Siracuse]";
			mes "Good, now let me ask about some skills. Which of the following is not necessary to learn Bowling Bash?";
			next;
			switch (select("Two Handed Sword Mastery Lv.5:Magnum Break Lv.3:Provoke Lv.10:Bash Lv.10")) {
			case 1:
				set KNGHT_Q,5;
				mes "[Sir Siracuse]";
				mes "Wrong!";
				mes "You need that to learn Bowling Bash! You should learn more about the Knight class before applying for the job!";
				close;
			case 2:
				set KNGHT_Q,5;
				mes "[Sir Siracuse]";
				mes "Wrong!";
				mes "You need that to learn Bowling Bash! You should learn more about the Knight class before applying for the job!";
				close;
			case 3:
				break;
			case 4:
				set KNGHT_Q,5;
				mes "[Sir Siracuse]";
				mes "Wrong!";
				mes "You need that to learn Bowling Bash! You should learn more about the Knight class before applying for the job!";
				close;
			}
			mes "[Sir Siracuse]";
			mes "Knights can also use Spears, unlike other jobs, and have skills related to Spears as well. What skills are not necessary to learn the skill Brandish Spear?";
			next;
			switch (select("Pierce Lv.5:Spear Stab Lv.3:Spear Boomerang Lv.3:Peco Peco Ride Lv.1")) {
			case 1:
				set KNGHT_Q,5;
				mes "[Sir Siracuse]";
				mes "Wrong! You need to learn that to learn Brandish Spear! How can you not know about Knights if you want to become one?";
				next;
				mes "[Sir Siracuse]";
				mes "If you aren't sure about anything, go into town and ask any Knight";
				mes "for help. Come back after you've learned more about Knights.";
				close;
			case 2:
				set KNGHT_Q,5;
				mes "[Sir Siracuse]";
				mes "Wrong! You need to learn that to learn Brandish Spear! How can you not know about Knights if you want to become one?";
				next;
				mes "[Sir Siracuse]";
				mes "If you aren't sure about anything, go into town and ask any Knight";
				mes "for help. Come back after you've learned more about Knights.";
				close;
			case 3:
				break;
			case 4:
				set KNGHT_Q,5;
				mes "[Sir Siracuse]";
				mes "Wrong! You need to learn that to learn Brandish Spear! How can you not know about Knights if you want to become one?";
				next;
				mes "[Sir Siracuse]";
				mes "If you aren't sure about anything, go into town and ask any Knight";
				mes "for help. Come back after you've learned more about Knights.";
				close;
			}
			mes "[Sir Siracuse]";
			mes "Some Spears also have magical attributes, just like spells. Of the following, which can attack a Nightmare, which has the Ghost attribute?";
			next;
			switch (select("Zephyrus:Lance:Bill Guisarme:Crescent Scythe")) {
			case 1:
				break;
			case 2:
				set KNGHT_Q,5;
				mes "[Sir Siracuse]";
				mes "Wrong! You'll be doing absolutely no damage with that type of Spear! Come back after you've learned more about Knights!";
				next;
				mes "[Sir Siracuse]";
				mes "If you have a question, just ask any Knight in town. This is basic knowledge for us!";
				close;
			case 3:
				set KNGHT_Q,5;
				mes "[Sir Siracuse]";
				mes "Wrong! You'll be doing absolutely no damage with that type of Spear! Come back after you've learned more about Knights!";
				next;
				mes "[Sir Siracuse]";
				mes "If you have a question, just ask any Knight in town. This is basic knowledge for us!";
				close;
			case 4:
				set KNGHT_Q,5;
				mes "[Sir Siracuse]";
				mes "Wrong! You'll be doing absolutely no damage with that type of Spear! Come back after you've learned more about Knights!";
				next;
				mes "[Sir Siracuse]";
				mes "If you have a question, just ask any Knight in town. This is basic knowledge for us!";
				close;
			}
			mes "[Sir Siracuse]";
			mes "When you become a Knight you can ride a Peco Peco. However, your attack speed decreases once you're mounted on a Peco Peco.";
			next;
			mes "[Sir Siracuse]";
			mes "But, you can counter this speed decrease as you learn the Cavalier Mastery skill. What percentage of your normal attack speed will you have after learning Level 3 Cavalier Mastery?";
			next;
			switch (select("70 % of normal attack speed:80 % of normal attack speed:90 % of normal attack speed:100 % of normal attack speed")) {
			case 1:
				set KNGHT_Q,5;
				mes "[Sir Siracuse]";
				mes "Wrong!";
				mes "Don't bother riding a Peco Peco if you don't know about Cavalier Mastery!";
				next;
				mes "[Sir Siracuse]";
				mes "You better come back after you've learned a little more about Knights!";
				close;
			case 2:
				break;
			case 3:
				set KNGHT_Q,5;
				mes "[Sir Siracuse]";
				mes "Wrong!";
				mes "Don't bother riding a Peco Peco if you don't know about Cavalier Mastery!";
				next;
				mes "[Sir Siracuse]";
				mes "You better come back after you've learned a little more about Knights!";
				close;
			case 4:
				set KNGHT_Q,5;
				mes "[Sir Siracuse]";
				mes "Wrong!";
				mes "Don't bother riding a Peco Peco if you don't know about Cavalier Mastery!";
				next;
				mes "[Sir Siracuse]";
				mes "You better come back after you've learned a little more about Knights!";
				close;
			}
			mes "[Sir Siracuse]";
			mes "Good, good...";
			mes "I'm pretty sure you know a decent amount about Knights. Now, let me ask you some personal questions about Knights.";
			next;
			mes "[Sir Siracuse]";
			mes "What should you do when you run into a Novice asking for help in town?";
			next;
			switch (select("Tell the Novice of a reasonable hunting area.:Let the Novice fight while you take the damage.:Give the Novice a bunch of Zeny and items.")) {
			case 1:
				mes "[Sir Siracuse]";
				mes "Of course, even a Novice needs to learn how to be independent. Giving good guidance to Novices is one of the best things we can do.";
				next;
				break;
			case 2:
				set KNGHT_Q,5;
				mes "[Sir Siracuse]";
				mes "You have the wrong idea. Do you really believe that is helping the Novice? Give a man a fish, he will eat for a day. Teach him to fish, he will eat for a lifetime!";
				close;
			case 3:
				set KNGHT_Q,5;
				mes "[Sir Siracuse]";
				mes "Do you really believe that this will truly help the poor Novice? It's generous but, they will not know the true value of zeny and items until they earn it themselves.";
				close;
			}
			mes "[Sir Siracuse]";
			mes "Alright...";
			mes "Now, how should";
			mes "you act within";
			mes "a party?";
			next;
			switch (select("Protect everyone in the front of the battle.:Gather monsters and destroy them at once.:Get as many items possible, at all cost.")) {
			case 1:
				mes "[Sir Siracuse]";
				mes "That's it! Our strength and attacks are very important in a party. All Knights should engage in a battle with that mindset.";
				next;
				break;
			case 2:
				set KNGHT_Q,5;
				mes "[Sir Siracuse]";
				mes "Are you crazy? Don't you realize the flaw in that kind of thinking? You can't control large mobs. What if they kill you? Who will protect the innocent?";
				close;
			case 3:
				set KNGHT_Q,5;
				mes "[Sir Siracuse]";
				mes "I see your greed and we will have none of it here! It seems you do not truly care for others!";
				mes "Get lost!";
				close;
			}
			mes "[Sir Siracuse]";
			mes "Lastly...";
			mes "what's the most";
			mes "important value";
			mes "a Knight must have?";
			next;
			switch (select("Honor:Wealth:Status")) {
			case 1:
				mes "[Sir Siracuse]";
				mes "Right, above all else, Knights must be honorable! We live and die for honor! Always keep that in mind.";
				next;
				break;
			case 2:
				set KNGHT_Q,5;
				mes "[Sir Siracuse]";
				mes "You're scum! You strive to become a Knight for personal wealth? Get lost! We will not accept someone like you in our Chivalry!";
				close;
			case 3:
				set KNGHT_Q,5;
				mes "[Sir Siracuse]";
				mes "So you're trying to become famous through the Chivalry? That's pathetic. We won't accept someone like you in our Chivalry!";
				close;
			}
			set KNGHT_Q,6;
			changequest 9003,9004;
			mes "[Sir Siracuse]";
			mes "Well then,";
			mes "this is the";
			mes "end of my test.";
			next;
			mes "[Sir Siracuse]";
			mes "For your next";
			mes "test, please go";
			mes "see Sir Windsor.";
			mes "He's very quiet,";
			mes "but don't let that";
			mes "get to you.";
			close2;
		case 2:
			mes "[Sir Siracuse]";
			mes "Hmmm...?";
			mes "Alright.";
			mes "It's just that";
			mes "you had that";
			mes "look on your";
			mes "face.";
			close;
		}
	}
	if (KNGHT_Q == 5) {
		mes "[Sir Siracuse]";
		mes "What...";
		mes "You again?";
		next;
		switch (select("I wish to take the test again.:Oh, nothing.")) {
		case 1:
			mes "[Sir Siracuse]";
			mes "Is that right?";
			mes "Are you sure you're";
			mes "prepared this time?";
			next;
			mes "[Sir Siracuse]";
			mes "Alright then,";
			mes "here we go again...";
			next;
			mes "[Sir Siracuse]";
			mes "A Knight must possess great strength, defense, speed, and the skill to wield a Two-Handed Sword. Which of the following weapons are not affected by the Two Hand Quicken skill?";
			next;
			switch (select("Katana:Slayer:Broadsword:Flamberge")) {
			case 1:
				set KNGHT_Q,5;
				mes "[Sir Siracuse]";
				mes "Wrong!";
				mes "That's a Two-Handed Sword! Are you sure you want to be a Knight? You don't even know the basics...";
				next;
				mes "[Sir Siracuse]";
				mes "If you're not sure, go into town and ask any Knight. You need to learn more about Knights before applying for the job!";
				close;
			case 2:
				set KNGHT_Q,5;
				mes "[Sir Siracuse]";
				mes "Wrong!";
				mes "That's a Two-Handed Sword! Are you sure you want to be a Knight? You don't even know the basics...";
				next;
				mes "[Sir Siracuse]";
				mes "If you're not sure, go into town and ask any Knight. You need to learn more about Knights before applying for the job!";
				close;
			case 3:
				set KNGHT_Q,5;
				mes "[Sir Siracuse]";
				mes "Wrong!";
				mes "That's a Two-Handed Sword! Are you sure you want to be a Knight? You don't even know the basics...";
				next;
				mes "[Sir Siracuse]";
				mes "If you're not sure, go into town and ask any Knight. You need to learn more about Knights before applying for the job!";
				close;
			case 4:
				break;
			}
			mes "[Sir Siracuse]";
			mes "Good, now let me ask about some skills. Which of the following is not necessary to learn Bowling Bash?";
			next;
			switch (select("Two Handed Sword Mastery Lv.5:Magnum Break Lv.3:Provoke Lv.10:Bash Lv.10")) {
			case 1:
				set KNGHT_Q,5;
				mes "[Sir Siracuse]";
				mes "Wrong!";
				mes "You need that to learn Bowling Bash! You should learn more about the Knight class before applying for the job!";
				close;
			case 2:
				set KNGHT_Q,5;
				mes "[Sir Siracuse]";
				mes "Wrong!";
				mes "You need that to learn Bowling Bash! You should learn more about the Knight class before applying for the job!";
				close;
			case 3:
				break;
			case 4:
				set KNGHT_Q,5;
				mes "[Sir Siracuse]";
				mes "Wrong!";
				mes "You need that to learn Bowling Bash! You should learn more about the Knight class before applying for the job!";
				close;
			}
			mes "[Sir Siracuse]";
			mes "Knights can also use Spears, unlike other jobs, and have skills related to Spears as well. What skills are not necessary to learn the skill Brandish Spear?";
			next;
			switch (select("Pierce Lv.5:Spear Stab Lv.3:Spear Boomerang Lv.3:Peco Peco Ride Lv.1")) {
			case 1:
				set KNGHT_Q,5;
				mes "[Sir Siracuse]";
				mes "Wrong! You need to learn that to learn Brandish Spear! How can you not know about Knights if you want to become one?";
				next;
				mes "[Sir Siracuse]";
				mes "If you aren't sure about anything, go into town and ask any Knight";
				mes "for help. Come back after you've learned more about Knights.";
				close;
			case 2:
				set KNGHT_Q,5;
				mes "[Sir Siracuse]";
				mes "Wrong! You need to learn that to learn Brandish Spear! How can you not know about Knights if you want to become one?";
				next;
				mes "[Sir Siracuse]";
				mes "If you aren't sure about anything, go into town and ask any Knight";
				mes "for help. Come back after you've learned more about Knights.";
				close;
			case 3:
				break;
			case 4:
				set KNGHT_Q,5;
				mes "[Sir Siracuse]";
				mes "Wrong! You need to learn that to learn Brandish Spear! How can you not know about Knights if you want to become one?";
				next;
				mes "[Sir Siracuse]";
				mes "If you aren't sure about anything, go into town and ask any Knight";
				mes "for help. Come back after you've learned more about Knights.";
				close;
			}
			mes "[Sir Siracuse]";
			mes "Some Spears also have magical attributes, just like spells. Of the following, which can attack a Nightmare, which has the Ghost attribute?";
			next;
			switch (select("Zephyrus:Lance:Bill Guisarme:Crescent Scythe")) {
			case 1:
				break;
			case 2:
				set KNGHT_Q,5;
				mes "[Sir Siracuse]";
				mes "Wrong! You'll be doing absolutely no damage with that type of Spear! Come back after you've learned more about Knights!";
				next;
				mes "[Sir Siracuse]";
				mes "If you have a question, just ask any Knight in town. This is basic knowledge for us!";
				close;
			case 3:
				set KNGHT_Q,5;
				mes "[Sir Siracuse]";
				mes "Wrong! You'll be doing absolutely no damage with that type of Spear! Come back after you've learned more about Knights!";
				next;
				mes "[Sir Siracuse]";
				mes "If you have a question, just ask any Knight in town. This is basic knowledge for us!";
				close;
			case 4:
				set KNGHT_Q,5;
				mes "[Sir Siracuse]";
				mes "Wrong! You'll be doing absolutely no damage with that type of Spear! Come back after you've learned more about Knights!";
				next;
				mes "[Sir Siracuse]";
				mes "If you have a question, just ask any Knight in town. This is basic knowledge for us!";
				close;
			}
			mes "[Sir Siracuse]";
			mes "When you become a Knight you can ride a Peco Peco. However, your attack speed decreases once you're mounted on a Peco Peco.";
			next;
			mes "[Sir Siracuse]";
			mes "But, you can counter this speed decrease as you learn the Cavalier Mastery skill. What percentage of your normal attack speed will you have after learning Level 3 Cavalier Mastery?";
			next;
			switch (select("70 % of normal attack speed:80 % of normal attack speed:90 % of normal attack speed:100 % of normal attack speed")) {
			case 1:
				set KNGHT_Q,5;
				mes "[Sir Siracuse]";
				mes "Wrong!";
				mes "Don't bother riding a Peco Peco if you don't know about Cavalier Mastery!";
				next;
				mes "[Sir Siracuse]";
				mes "You better come back after you've learned a little more about Knights!";
				close;
			case 2:
				break;
			case 3:
				set KNGHT_Q,5;
				mes "[Sir Siracuse]";
				mes "Wrong!";
				mes "Don't bother riding a Peco Peco if you don't know about Cavalier Mastery!";
				next;
				mes "[Sir Siracuse]";
				mes "You better come back after you've learned a little more about Knights!";
				close;
			case 4:
				set KNGHT_Q,5;
				mes "[Sir Siracuse]";
				mes "Wrong!";
				mes "Don't bother riding a Peco Peco if you don't know about Cavalier Mastery!";
				next;
				mes "[Sir Siracuse]";
				mes "You better come back after you've learned a little more about Knights!";
				close;
			}
			mes "[Sir Siracuse]";
			mes "Good, good...";
			mes "I'm pretty sure you know a decent amount about Knights. Now, let me ask you some personal questions about Knights.";
			next;
			mes "[Sir Siracuse]";
			mes "What should you do when you run into a Novice asking for help in town?";
			next;
			switch (select("Tell the Novice of a reasonable hunting area.:Let the Novice fight while you take the damage.:Give the Novice a bunch of Zeny and items.")) {
			case 1:
				mes "[Sir Siracuse]";
				mes "Of course, even a Novice needs to learn how to be independent. Giving good guidance to Novices is one of the best things we can do.";
				next;
				break;
			case 2:
				set KNGHT_Q,5;
				mes "[Sir Siracuse]";
				mes "You have the wrong idea. Do you really believe that is helping the Novice? Give a man a fish, he will eat for a day. Teach him to fish, he will eat for a lifetime!";
				close;
			case 3:
				set KNGHT_Q,5;
				mes "[Sir Siracuse]";
				mes "Do you really believe that this will truly help the poor Novice? It's generous but, they will not know the true value of zeny and items until they earn it themselves.";
				close;
			}
			mes "[Sir Siracuse]";
			mes "Alright...";
			mes "Now, how should";
			mes "you act within";
			mes "a party?";
			next;
			switch (select("Protect everyone in the front of the battle.:Gather monsters and destroy them at once.:Get as many items possible at all cost.")) {
			case 1:
				mes "[Sir Siracuse]";
				mes "That's it! Our strength and attacks are very important in a party. All Knights should engage in a battle with that mindset.";
				next;
				break;
			case 2:
				set KNGHT_Q,5;
				mes "[Sir Siracuse]";
				mes "Are you crazy? Don't you realize the flaw in that kind of thinking? You can't control large mobs. What if they kill you? Who will protect the innocent?";
				close;
			case 3:
				set KNGHT_Q,5;
				mes "[Sir Siracuse]";
				mes "I see your greed and we will have none of it here! It seems you do not truly care for others!";
				mes "Get lost!";
				close;
			}
			mes "[Sir Siracuse]";
			mes "Lastly...";
			mes "what's the most";
			mes "important value";
			mes "a Knight must have?";
			next;
			switch (select("Honor:Wealth:Status")) {
			case 1:
				mes "[Sir Siracuse]";
				mes "Right, above all else, Knights must be honorable! We live and die for honor! Always keep that in mind.";
				next;
				break;
			case 2:
				set KNGHT_Q,5;
				mes "[Sir Siracuse]";
				mes "You're scum! You strive to become a Knight for personal wealth? Get lost! We will not accept someone like you in our Chivalry!";
				close;
			case 3:
				set KNGHT_Q,5;
				mes "[Sir Siracuse]";
				mes "So you're trying to become famous through the Chivalry? That's pathetic. We won't accept someone like you in our Chivalry!";
				close;
			}
			changequest 9003,9004;
			set KNGHT_Q,6;
			mes "[Sir Siracuse]";
			mes "Well then,";
			mes "this is the";
			mes "end of my test.";
			next;
			mes "[Sir Siracuse]";
			mes "For your next";
			mes "test, please go";
			mes "see Sir Windsor.";
			mes "He's very quiet,";
			mes "but don't let that";
			mes "get to you.";
			close;
		case 2:
			mes "[Sir Siracuse]";
			mes "Hmmm...?";
			mes "Alright.";
			mes "It's just that";
			mes "you had that";
			mes "look on your";
			mes "face.";
			close;
		}
	}
	if (KNGHT_Q == 6) {
		mes "[Sir Siracuse]";
		mes "Oh?";
		mes "Do you have";
		mes "something to";
		mes "ask me?";
		next;
		switch (select("I would like to take the test to change jobs.:Oh, nothing.")) {
		case 1:
			mes "[Sir Siracuse]";
			mes "Hey...";
			mes "You already took my test, didn't you? You're done here. You should go visit Sir Windsor now...";
			close;
		case 2:
			mes "[Sir Siracuse]";
			mes "Hmmm...?";
			mes "Alright.";
			mes "It's just that";
			mes "you had that";
			mes "look on your";
			mes "face.";
			close;
		}
	}
	if (KNGHT_Q == 14) {
		mes "[Sir Siracuse]";
		mes "Mmm...?";
		mes "You finished";
		mes "everyone else's";
		mes "tests as well?";
		next;
		mes "[Sir Siracuse]";
		mes "Well then,";
		mes "go and see the";
		mes "captain. We'll all";
		mes "be there to evaluate";
		mes "your performance.";
		close;
	}
	mes "[Sir Siracuse]";
	mes "Hey again.";
	mes "Did you need something?";
	mes "Sorry, but I'm busy at the moment. You should go and finish the rest of your tests.";
	close;
}

prt_in,79,94,4	script	Sir Windsor	733,{
	if ((Class != Job_Baby_Swordman) && (Class != Job_Swordman)) {
		if (Class == Job_Baby_Knight || Class == Job_Knight) {
			mes "[Sir Windsor]";
			mes "...";
			next;
			mes "[Sir Windsor]";
			mes "...";
			mes "......";
			next;
			mes "[Sir Windsor]";
			mes "Protect.";
			close;
		}
		if (Class == Job_Baby || Class == Job_Novice) {
			mes "[Sir Windsor]";
			mes "...";
			next;
			mes "[Sir Windsor]";
			mes "...";
			mes "......";
			next;
			mes "[Sir Windsor]";
			mes "...Go play";
			mes "outside.";
			close;
		}
		mes "[Sir Windsor]";
		mes "...";
		next;
		mes "[Sir Windsor]";
		mes "...";
		mes "......";
		next;
		mes "[Sir Windsor]";
		mes "...Hmpf.";
		close;
	}
	if (KNGHT_Q == 0) {
		mes "[Sir Windsor]";
		mes "...";
		next;
		mes "[Sir Windsor]";
		mes "...";
		mes "......";
		next;
		mes "[Sir Windsor]";
		mes "...What?";
		close;
	}
	if (KNGHT_Q == 1) {
		mes "[Sir Windsor]";
		mes "...";
		next;
		mes "[Sir Windsor]";
		mes "...";
		mes "......";
		next;
		mes "[Sir Windsor]";
		mes "...What?";
		next;
		switch (select("I would like to take the test to change jobs.:Oh, nothing.")) {
		case 1:
			mes "[Sir Windsor]";
			mes "...";
			next;
			mes "[Sir Windsor]";
			mes "...";
			mes "......";
			next;
			mes "[Sir Windsor]";
			mes "...It's not my turn.";
			close;
		case 2:
			mes "[Sir Windsor]";
			mes "...";
			close;
		}
	}
	if (KNGHT_Q == 2) {
		mes "[Sir Windsor]";
		mes "...";
		next;
		mes "[Sir Windsor]";
		mes "...";
		mes "......";
		next;
		mes "[Sir Windsor]";
		mes ".....What?";
		next;
		switch (select("I would like to take the test to change jobs.:Oh, nothing.")) {
		case 1:
			mes "[Sir Windsor]";
			mes "...";
			next;
			mes "[Sir Windsor]";
			mes "...";
			mes "......";
			next;
			mes "[Sir Windsor]";
			mes "...It's not my turn.";
			close;
		case 2:
			mes "[Sir Windsor]";
			mes "...";
			close;
		}
	}
	if (KNGHT_Q == 3) {
		mes "[Sir Windsor]";
		mes "...";
		next;
		mes "[Sir Windsor]";
		mes "...";
		mes "......";
		next;
		mes "[Sir Windsor]";
		mes ".....What?";
		next;
		switch (select("I would like to take the test to change jobs.:Oh, nothing.")) {
		case 1:
			mes "[Sir Windsor]";
			mes "...";
			next;
			mes "[Sir Windsor]";
			mes "...";
			mes "......";
			next;
			mes "[Sir Windsor]";
			mes "...It's not my turn.";
			close;
		case 2:
			mes "[Sir Windsor]";
			mes "...";
			close;
		}
	}
	if (KNGHT_Q == 4) {
		mes "[Sir Windsor]";
		mes "...";
		next;
		mes "[Sir Windsor]";
		mes "...";
		mes "......";
		next;
		mes "[Sir Windsor]";
		mes ".....What?";
		next;
		switch (select("I would like to take the test to change jobs.:Oh, nothing.")) {
		case 1:
			mes "[Sir Windsor]";
			mes "...";
			next;
			mes "[Sir Windsor]";
			mes "...";
			mes "......";
			next;
			mes "[Sir Windsor]";
			mes "...It's not my turn.";
			close;
		case 2:
			mes "[Sir Windsor]";
			mes "..........";
			close;
		}
	}
	if (KNGHT_Q == 5) {
		mes "[Sir Windsor]";
		mes "...";
		next;
		mes "[Sir Windsor]";
		mes "...";
		mes "......";
		next;
		mes "[Sir Windsor]";
		mes ".....What?";
		next;
		switch (select("I would like to take the test to change jobs.:Oh, nothing.")) {
		case 1:
			mes "[Sir Windsor]";
			mes "...";
			next;
			mes "[Sir Windsor]";
			mes "...";
			mes "......";
			next;
			mes "[Sir Windsor]";
			mes "...It's not my turn.";
			close;
		case 2:
			mes "[Sir Windsor]";
			mes "...";
			close;
		}
	}
	if (KNGHT_Q == 6) {
		mes "[Sir Windsor]";
		mes "...";
		next;
		mes "[Sir Windsor]";
		mes "...";
		mes "......";
		next;
		mes "[Sir Windsor]";
		mes ".....What?";
		next;
		switch (select("Sir Siracuse sent me to you.:Oh, nothing.")) {
		case 1:
			mes "[Sir Windsor]";
			mes "...";
			next;
			set KNGHT_Q,7;
			changequest 9004,9006;
			mes "[Sir Windsor]";
			mes "...";
			mes "......";
			next;
			mes "[Sir Windsor]";
			mes "...Follow me.";
			close2;
			warp "job_knt",89,101;
			end;
		case 2:
			mes "[Sir Windsor]";
			mes "...";
			close;
		}
	}
	if (KNGHT_Q == 7) {
		mes "[Sir Windsor]";
		mes "...";
		next;
		mes "[Sir Windsor]";
		mes "...";
		mes "......";
		next;
		switch (select("I want to try again!:...")) {
		case 1:
			mes "[Sir Windsor]";
			mes "...";
			next;
			mes "[Sir Windsor]";
			mes "...";
			mes "......";
			next;
			mes "[Sir Windsor]";
			mes "...Fine.";
			next;
			mes "[Sir Windsor]";
			mes "...This way.";
			close2;
			warp "job_knt",89,101;
			end;
		case 2:
			mes "[Sir Windsor]";
			mes "...";
			close;
		}
	}
	if (KNGHT_Q == 14) {
		mes "[Sir Windsor]";
		mes "...";
		next;
		mes "[Sir Windsor]";
		mes "...";
		mes "......";
		next;
		mes "[Sir Windsor]";
		mes "...Talk to";
		mes "the captain.";
		close;
	}
	mes "[Sir Windsor]";
	mes "...";
	next;
	mes "[Sir Windsor]";
	mes "...";
	mes "......";
	next;
	mes "[Sir Windsor]";
	mes "...You're";
	mes "done here.";
	close;
}

job_knt,89,106,4	script	Knight Windsor	733,{
	mes "[Sir Windsor]";
	mes "...";
	next;
	mes "[Sir Windsor]";
	mes "...";
	mes "......";
	next;
	mes "[Sir Windsor]";
	mes "...Question?";
	next;
	switch (select("What kind of test is this?:How do I take the test?:I'd like to leave.:No.")) {
	case 1:
		mes "[Sir Windsor]";
		mes "...";
		next;
		mes "[Sir Windsor]";
		mes "...";
		mes "......";
		next;
		mes "[Sir Windsor]";
		mes "...You fight monsters.";
		next;
		mes "[Sir Windsor]";
		mes "...Kill them all.";
		next;
		mes "[Sir Windsor]";
		mes "...";
		next;
		mes "[Sir Windsor]";
		mes "...Three stages.";
		mes "Beat them all.";
		next;
		mes "[Sir Windsor]";
		mes "......3 minutes";
		mes "for each stage.";
		next;
		mes "[Sir Windsor]";
		mes "..........";
		close;
	case 2:
		mes "[Sir Windsor]";
		mes "...";
		next;
		mes "[Sir Windsor]";
		mes "...";
		mes "......";
		next;
		mes "[Sir Windsor]";
		mes "...Go in the";
		mes "waiting room.";
		next;
		mes "[Sir Windsor]";
		mes "...Then it";
		mes "will begin.";
		next;
		mes "[Sir Windsor]";
		mes "...";
		next;
		mes "[Sir Windsor]";
		mes "...You have to wait";
		mes "if someone is testing.";
		next;
		mes "[Sir Windsor]";
		mes "...You can go in";
		mes "after that person.";
		next;
		mes "[Sir Windsor]";
		mes "...";
		close;
	case 3:
		mes "[Sir Windsor]";
		mes "...";
		next;
		mes "[Sir Windsor]";
		mes "...";
		mes "......";
		close2;
		warp "prt_in",80,100;
		end;
	case 4:
		mes "[Sir Windsor]";
		mes "...";
		close;
	}
}

job_knt,89,106,4	script	Windsor Benedict#knt	733,{
	end;

OnInit:
	hideonnpc "Windsor Benedict#knt";
	waitingroom "Waiting Room",20,"Windsor Benedict#knt::OnStartArena",1;
	enablewaitingroomevent;
	end;

OnStartArena:
	warpwaitingpc "job_knt",43,146;
	donpcevent "Knight1::OnEnable";
	disablewaitingroomevent;
	end;

OnEnable:
	enablewaitingroomevent;
	end;
}

job_knt,1,1,1	script	Knight1	66,{
	end;

OnInit:
	hideonnpc "Knight1";
	end;

OnEnable:
	hideoffnpc "Knight1";
	monster "job_knt",39,150,"Dustiness",1114,1,"Knight1::OnMyMobDead";
	monster "job_knt",47,150,"Dustiness",1114,1,"Knight1::OnMyMobDead";
	monster "job_knt",39,142,"Dustiness",1114,1,"Knight1::OnMyMobDead";
	monster "job_knt",47,142,"Dustiness",1114,1,"Knight1::OnMyMobDead";
	monster "job_knt",43,137,"Piere",1160,1,"Knight1::OnMyMobDead";
	monster "job_knt",43,137,"Andre",1095,1,"Knight1::OnMyMobDead";
	monster "job_knt",43,137,"Deniro",1105,1,"Knight1::OnMyMobDead";
	monster "job_knt",43,155,"Piere",1160,1,"Knight1::OnMyMobDead";
	monster "job_knt",43,155,"Andre",1095,1,"Knight1::OnMyMobDead";
	monster "job_knt",43,155,"Deniro",1105,1,"Knight1::OnMyMobDead";
	monster "job_knt",35,146,"Argos",1100,1,"Knight1::OnMyMobDead";
	monster "job_knt",52,146,"Argos",1100,1,"Knight1::OnMyMobDead";
	initnpctimer;
	end;

OnReset:
	killmonster "job_knt","Knight1::OnMyMobDead";
	end;

OnDisable:
	hideonnpc "Knight1";
	end;

OnMyMobDead:
	if (mobcount ("job_knt","Knight1::OnMyMobDead") < 1) {
		mes "[Sir Windsor]";
		mes "...";
		close2;
		mes "[Sir Windsor]";
		mes "...On to";
		mes "the next level.";
		close2;
		warp "job_knt",43,52;
		donpcevent "Knight1::OnReset";
		donpcevent "Knight1::OnDisable";
		donpcevent "Knight2::OnEnable";
		stopnpctimer;
	}
	end;

OnTimer180000:
	donpcevent "Knight1::OnReset";
	end;

OnTimer181000:
	donpcevent "Out1::OnEnable";
	end;

OnTimer182000:
	donpcevent "Out1::OnDisable";
	donpcevent "Knight1::OnDisable";
	donpcevent "Windsor Benedict#knt::OnEnable";
	end;
}

job_knt,43,146,0	script	Out1	139,22,22,{

OnTouch:
	warp "prt_in",80,100;
	end;

OnInit:
	hideonnpc "Out1";
	end;

OnEnable:
	hideoffnpc "Out1";
	end;

OnDisable:
	hideonnpc "Out1";
	end;
}

job_knt,1,2,1	script	Knight2	66,{
	end;

OnInit:
	hideonnpc "Knight2";
	end;

OnEnable:
	hideoffnpc "Knight2";
	monster "job_knt",53,52,"Frilldora",1119,1,"Knight2::OnMyMobDead";
	monster "job_knt",34,52,"Frilldora",1119,1,"Knight2::OnMyMobDead";
	monster "job_knt",43,42,"Desert Wolf",1106,1,"Knight2::OnMyMobDead";
	monster "job_knt",43,62,"Desert Wolf",1106,1,"Knight2::OnMyMobDead";
	monster "job_knt",58,52,"Drainliar",1111,1,"Knight2::OnMyMobDead";
	monster "job_knt",58,52,"Drainliar",1111,1,"Knight2::OnMyMobDead";
	monster "job_knt",29,52,"Drainliar",1111,1,"Knight2::OnMyMobDead";
	monster "job_knt",29,52,"Drainliar",1111,1,"Knight2::OnMyMobDead";
	monster "job_knt",60,68,"Anacondaq",1030,1,"Knight2::OnMyMobDead";
	monster "job_knt",27,68,"Anacondaq",1030,1,"Knight2::OnMyMobDead";
	monster "job_knt",60,35,"Anacondaq",1030,1,"Knight2::OnMyMobDead";
	monster "job_knt",27,35,"Anacondaq",1030,1,"Knight2::OnMyMobDead";
	initnpctimer;
	end;

OnReset:
	killmonster "job_knt","Knight2::OnMyMobDead";
	end;

OnDisable:
	hideonnpc "Knight2";
	end;

OnMyMobDead:
	if (mobcount ("job_knt","Knight2::OnMyMobDead") < 1) {
		mes "[Sir Windsor]";
		mes "...Hmm.";
		close2;
		mes "[Sir Windsor]";
		mes "...One stage left.";
		close2;
		warp "job_knt",143,152;
		donpcevent "Knight2::OnReset";
		donpcevent "Knight2::OnDisable";
		donpcevent "Knight3::OnEnable";
		stopnpctimer;
	}
	end;

OnTimer180000:
	donpcevent "Knight2::OnReset";
	end;

OnTimer181000:
	donpcevent "Out2::OnEnable";
	end;

OnTimer182000:
	donpcevent "Out2::OnDisable";
	donpcevent "Knight2::OnDisable";
	donpcevent "Windsor Benedict#knt::OnEnable";
	end;
}

job_knt,43,52,0	script	Out2	139,22,22,{

OnTouch:
	warp "prt_in",80,100;
	end;

OnInit:
	hideonnpc "Out2";
	end;

OnEnable:
	hideoffnpc "Out2";
	end;

OnDisable:
	hideonnpc "Out2";
	end;
}

job_knt,1,3,1	script	Knight3	66,{
	end;

OnInit:
	hideonnpc "Knight3";
	end;

OnEnable:
	hideoffnpc "Knight3";
	monster "job_knt",136,152,"Goblin",1122,1,"Knight3::OnMyMobDead";
	monster "job_knt",150,152,"Goblin",1123,1,"Knight3::OnMyMobDead";
	monster "job_knt",143,145,"Goblin",1124,1,"Knight3::OnMyMobDead";
	monster "job_knt",143,167,"Goblin",1125,1,"Knight3::OnMyMobDead";
	monster "job_knt",139,167,"Goblin",1126,1,"Knight3::OnMyMobDead";
	monster "job_knt",147,167,"Goblin Archer",1258,1,"Knight3::OnMyMobDead";
	monster "job_knt",136,158,"Steam Goblin",1280,1,"Knight3::OnMyMobDead";
	initnpctimer;
	end;

OnReset:
	killmonster "job_knt","Knight3::OnMyMobDead";
	end;

OnDisable:
	hideonnpc "Knight3";
	end;

OnMyMobDead:
	if (mobcount ("job_knt","Knight3::OnMyMobDead") < 1) {
		mes "[Sir Windsor]";
		mes "...";
		close2;
		mes "[Sir Windsor]";
		mes "...Very good.";
		close2;
		mes "[Sir Windsor]";
		mes "...Go talk to";
		mes "Amy Beatrice now.";
		close2;
		set KNGHT_Q,8;
		warp "prt_in",80,100;
		donpcevent "Knight3::OnReset";
		donpcevent "Knight3::OnDisable";
		donpcevent "Windsor Benedict#knt::OnEnable";
		stopnpctimer;
	}
	end;

OnTimer180000:
	donpcevent "Knight3::OnReset";
	end;

OnTimer181000:
	donpcevent "Out3::OnEnable";
	end;

OnTimer182000:
	donpcevent "Out3::OnDisable";
	donpcevent "Knight3::OnDisable";
	donpcevent "Windsor Benedict#knt::OnEnable";
	end;
}

job_knt,143,152,0	script	Out3	139,22,22,{

OnTouch:
	warp "prt_in",80,100;
	end;

OnInit:
	hideonnpc "Out3";
	end;

OnEnable:
	hideoffnpc "Out3";
	end;

OnDisable:
	hideonnpc "Out3";
	end;
}

prt_in,69,107,6	script	Lady Amy	728,{
	if ((Class != Job_Baby_Swordman) && (Class != Job_Swordman)) {
		if (Class == Job_Baby_Knight || Class == Job_Knight) {
			mes "[Lady Amy]";
			mes "Oh...!";
			mes "I wonder, why";
			mes "have you come";
			mes "to visit me?";
			next;
			mes "[Lady Amy]";
			mes "You're not having";
			mes "trouble as a Knight,";
			mes "are you? Well, I think";
			mes "you're doing well~";
			next;
			mes "[Lady Amy]";
			mes "Of course~";
			mes "You're a member of";
			mes "the Prontera Chivalry~";
			close2;
		}
		if (Class == Job_Baby || Class == Job_Novice) {
			mes "[Lady Amy]";
			mes "Aww~";
			mes "What a cute";
			mes "little Novice!";
			mes "Soooooo cute!";
			next;
			mes "[Lady Amy]";
			mes "Heh heh...";
			mes "Are you interested";
			mes "in becoming a Knight";
			mes "later on? You'd be";
			mes "a great Knight~";
			next;
			mes "[Lady Amy]";
			mes "Remember, you're";
			mes "going to be a Knight,";
			mes "alright? Promise?";
			close2;
		}
		mes "[Lady Amy]";
		mes "Welcome to";
		mes "the Prontera Chivalry~";
		next;
		mes "[Lady Amy]";
		mes "We're only Knights,";
		mes "but hope you enjoy";
		mes "your stay here.";
		mes "Heh heh~";
		close;
	}
	if (KNGHT_Q == 0) {
		mes "[Lady Amy]";
		mes "Ooh, you're";
		mes "a Swordsman...?";
		mes "Did you come to";
		mes "change jobs to";
		mes "a Knight?";
		next;
		mes "[Lady Amy]";
		mes "To apply, talk";
		mes "to the captain";
		mes "all the way over";
		mes "there. Hee hee~";
		close;
	}
	if (KNGHT_Q == 1) {
		mes "[Lady Amy]";
		mes "Hmmm?";
		mes "Why did you";
		mes "come to Amy?";
		next;
		switch (select("I would like to take the test to change jobs.:Oh, nothing.")) {
		case 1:
			mes "[Lady Amy]";
			mes "Mmm~";
			mes "You applied to change jobs! Okay! You'll soon be a Knight with that kind of determination!";
			next;
			mes "[Lady Amy]";
			mes "But...";
			mes "You have to go";
			mes "to the other Knights";
			mes "before talking to Amy.";
			next;
			mes "[Lady Amy]";
			mes "I'd love to test";
			mes "you from the beginning,";
			mes "but I'm not allowed to.";
			mes "Hee hee~";
			close;
		case 2:
			mes "[Lady Amy]";
			mes "Aww~";
			mes "Alright...";
			close;
		}
	}
	if (KNGHT_Q == 2) {
		mes "[Lady Amy]";
		mes "Hmmm?";
		mes "Why did you";
		mes "come to Amy?";
		next;
		switch (select("I would like to take the test to change jobs.:Oh, nothing.")) {
		case 1:
			mes "[Lady Amy]";
			mes "Mmm~";
			mes "You applied to change jobs! Okay! You'll soon be a Knight with that kind of determination!";
			next;
			mes "[Lady Amy]";
			mes "But...";
			mes "You have to go";
			mes "to the other Knights";
			mes "before talking to Amy.";
			next;
			mes "[Lady Amy]";
			mes "I'd love to test";
			mes "you from the beginning,";
			mes "but I'm not allowed to.";
			mes "Hee hee~";
			close;
		case 2:
			mes "[Lady Amy]";
			mes "Aww~";
			mes "Alright...";
			close;
		}
	}
	if (KNGHT_Q == 3) {
		mes "[Lady Amy]";
		mes "Hmmm?";
		mes "Why did you";
		mes "come to Amy?";
		next;
		switch (select("I would like to take the test to change jobs.:Oh, nothing.")) {
		case 1:
			mes "[Lady Amy]";
			mes "Mmm~";
			mes "You applied to change jobs! Okay! You'll soon be a Knight with that kind of determination!";
			next;
			mes "[Lady Amy]";
			mes "But...";
			mes "You have to go";
			mes "to the other Knights";
			mes "before talking to Amy.";
			next;
			mes "[Lady Amy]";
			mes "I'd love to test";
			mes "you from the beginning,";
			mes "but I'm not allowed to.";
			mes "Hee hee~";
			close;
		case 2:
			mes "[Lady Amy]";
			mes "Aww~";
			mes "Alright...";
			close;
		}
	}
	if (KNGHT_Q == 4) {
		mes "[Lady Amy]";
		mes "Hmmm?";
		mes "Why did you";
		mes "come to Amy?";
		next;
		switch (select("I would like to take the test to change jobs.:Oh, nothing.")) {
		case 1:
			mes "[Lady Amy]";
			mes "Mmm~";
			mes "You applied to change jobs! Okay! You'll soon be a Knight with that kind of determination!";
			next;
			mes "[Lady Amy]";
			mes "But...";
			mes "You have to go";
			mes "to the other Knights";
			mes "before talking to Amy.";
			next;
			mes "[Lady Amy]";
			mes "I'd love to test";
			mes "you right now, but";
			mes "I'm not allowed";
			mes "to quite yet.";
			mes "Hee hee~";
			close;
		case 2:
			mes "[Lady Amy]";
			mes "Aww~";
			mes "Alright...";
			close;
		}
	}
	if (KNGHT_Q == 5) {
		mes "[Lady Amy]";
		mes "Hmmm?";
		mes "Why did you";
		mes "come to Amy?";
		next;
		switch (select("I would like to take the test to change jobs.:Oh, nothing.")) {
		case 1:
			mes "[Lady Amy]";
			mes "Mmm~";
			mes "You applied to change jobs! Okay! You'll soon be a Knight with that kind of determination!";
			next;
			mes "[Lady Amy]";
			mes "But...";
			mes "You have to go";
			mes "to the other Knights";
			mes "before talking to Amy.";
			next;
			mes "[Lady Amy]";
			mes "I'd love to test";
			mes "you right now, but";
			mes "I'm not allowed";
			mes "to quite yet.";
			mes "Hee hee~";
			close;
		case 2:
			mes "[Lady Amy]";
			mes "Aww~";
			mes "Alright...";
			close;
		}
	}
	if (KNGHT_Q == 6) {
		mes "[Lady Amy]";
		mes "Hmmm?";
		mes "Why did you";
		mes "come to Amy?";
		next;
		switch (select("I would like to take the test to change jobs.:Oh, nothing.")) {
		case 1:
			mes "[Lady Amy]";
			mes "Mmm~";
			mes "You applied to change jobs! Okay! You'll soon be a Knight with that kind of determination!";
			next;
			mes "[Lady Amy]";
			mes "But...";
			mes "You have to go";
			mes "to the other Knights";
			mes "before talking to Amy.";
			next;
			mes "[Lady Amy]";
			mes "I'd love to test";
			mes "you right now, but";
			mes "I'm not allowed";
			mes "to quite yet.";
			mes "Hee hee~";
			close;
		case 2:
			mes "[Lady Amy]";
			mes "Aww~";
			mes "Alright...";
			close;
		}
	}
	if (KNGHT_Q == 7) {
		mes "[Lady Amy]";
		mes "Hmmm?";
		mes "Why did you";
		mes "come to Amy?";
		next;
		switch (select("I would like to take the test to change jobs.:Oh, nothing.")) {
		case 1:
			mes "[Lady Amy]";
			mes "Mmm~";
			mes "You applied to change jobs! Okay! You'll soon be a Knight with that kind of determination!";
			next;
			mes "[Lady Amy]";
			mes "But...";
			mes "You have to go";
			mes "to the other Knights";
			mes "before talking to Amy.";
			next;
			mes "[Lady Amy]";
			mes "I'd love to test";
			mes "you right now, but";
			mes "I'm not allowed";
			mes "to quite yet.";
			mes "Hee hee~";
			close;
		case 2:
			mes "[Lady Amy]";
			mes "Aww~";
			mes "Alright...";
			close;
		}
	}
	if (KNGHT_Q == 8) {
		mes "[Lady Amy]";
		mes "Hmmm?";
		mes "Why did you";
		mes "come to Amy?";
		next;
		switch (select("Sir Windsor told me to--:Oh, nothing.")) {
		case 1:
			changequest 9006,9008;
			changequest 9007,9008;
			mes "[Lady Amy]";
			mes "Oh!";
			mes "No need to say";
			mes "anything more.";
			mes "Welcome! It's time";
			mes "to take Amy's test!";
			next;
			mes "[Lady Amy]";
			mes "My name is Amy Beatrice,";
			mes "a proud Lady Knight of the Prontera Chivalry. Amy's test will test your etiquette as a Knight~";
			next;
			mes "[Lady Amy]";
			mes "I'll tell you a story and you choose an answer whenever";
			mes "I ask a question. Your etiquette will be judged on your answers.";
			next;
			mes "[Lady Amy]";
			mes "So listen carefully";
			mes "and answer as if you're";
			mes "already a Knight, okay?";
			next;
			set @knight_t, 0;
			mes "[Lady Amy]";
			mes "Then,";
			mes "let's begin!";
			next;
			mes "[Lady Amy]";
			mes "You are a Knight and you are looking for a party in Morroc.";
			mes "How would you go about doing so?";
			next;
			switch (select("Shout out that you are looking for a party.:Open a chat room and wait.:Look for people seeking Knights.")) {
			case 1:
				break;
			case 2:
				set @knight_t, @knight_t + 10;
				break;
			case 3:
				set @knight_t, @knight_t + 10;
				break;
			}
			mes "[Lady Amy]";
			mes "You have formed a party with equal leveled players. There's a Priest, a Wizard, a Hunter, an Assassin, and a Blacksmith...";
			next;
			mes "[Lady Amy]";
			mes "The six of you decide to go hunt and have decided to go to the Pyramids.";
			next;
			mes "[Lady Amy]";
			mes "You reach Level 4";
			mes "of the Pyramids";
			mes "with your party.";
			mes "What should you do?";
			next;
			switch (select("Check out the area and plan ahead.:Gather monsters for your party members.:Lead the party slowly at the front.")) {
			case 1:
				set @knight_t, @knight_t + 10;
				break;
			case 2:
				break;
			case 3:
				set @knight_t, @knight_t + 10;
				break;
			}
			mes "[Lady Amy]";
			mes "But some rude players came with a group of monsters and disappeared! What should you do?";
			next;
			switch (select("Keep the monsters from reaching the party.:Defend while the party retreats.:Run away on your Peco Peco.")) {
			case 1:
				set @knight_t, @knight_t + 10;
				break;
			case 2:
				set @knight_t, @knight_t + 10;
				break;
			case 3:
				break;
			}
			mes "[Lady Amy]";
			mes "Luckily, you all lived through the crisis. But as you walk, you find a person, who is not in your party, collapsed on the ground.";
			next;
			mes "[Lady Amy]";
			mes "The person is asking politely for help. What should you do?";
			next;
			switch (select("Ask your party's Priest to help.:Say you will help for Zeny.:Ignore and move on.")) {
			case 1:
				set @knight_t, @knight_t + 10;
				break;
			case 2:
				break;
			case 3:
				break;
			}
			mes "[Lady Amy]";
			mes "You must bid farewell to your party members because you must go somewhere else.";
			next;
			mes "[Lady Amy]";
			mes "But you find";
			mes "a rare item during";
			mes "the battle. What";
			mes "should you do?";
			next;
			switch (select("Give it to who deserves it the most.:Pretend like nothing happened and keep it.:Decide with party who gets it.")) {
			case 1:
				set @knight_t, @knight_t + 10;
				break;
			case 2:
				break;
			case 3:
				set @knight_t, @knight_t + 10;
				break;
			}
			mes "[Lady Amy]";
			mes "You end up with the item and you go to Prontera to sell it. There are many people with shops and chat rooms opened selling items.";
			next;
			mes "[Lady Amy]";
			mes "What should you";
			mes "do to sell your item?";
			next;
			switch (select("Shout out loud to everyone.:Open a chat room and wait.:Inquire if there is anyone that is interested.")) {
			case 1:
				break;
			case 2:
				set @knight_t, @knight_t + 10;
				break;
			case 3:
				set @knight_t, @knight_t + 10;
				break;
			}
			mes "[Lady Amy]";
			mes "While you are waiting,";
			mes "someone comes and begs";
			mes "for items and zeny.";
			mes "What do you do?";
			next;
			switch (select("Give them some Zeny and items.:Simply ignore them.:Give suggestions for a place to hunt.")) {
			case 1:
				break;
			case 2:
				break;
			case 3:
				set @knight_t, @knight_t + 10;
				break;
			}
			mes "[Lady Amy]";
			mes "Now you decide to go to the Hidden Temple by yourself. You happily ride on your Peco Peco.";
			next;
			mes "[Lady Amy]";
			mes "But you run into";
			mes "someone that is lost.";
			mes "What should you do?";
			next;
			switch (select("Tell the person how to reach the exit.:Lead the person to the exit.:Give a Butterfly Wing.")) {
			case 1:
				set @knight_t, @knight_t + 10;
				break;
			case 2:
				set @knight_t, @knight_t + 10;
				break;
			case 3:
				break;
			}
			mes "[Lady Amy]";
			mes "You've been hunting for a while, and now you're low on HP!";
			mes "It's red now, which is very dangerous.";
			next;
			mes "[Lady Amy]";
			mes "Ah, then a Priest";
			mes "happens to walk by.";
			mes "How would you ask";
			mes "the Priest for a Heal?";
			next;
			switch (select("Would it be possible to get a heal please?:Can I have a heal?:Heal plz!!")) {
			case 1:
				set @knight_t, @knight_t + 10;
				break;
			case 2:
				break;
			case 3:
				break;
			}
			mes "[Lady Amy]";
			mes "You are now very";
			mes "exhausted and it's time";
			mes "to go back to town.";
			next;
			mes "[Lady Amy]";
			mes "You then find";
			mes "a rare item on";
			mes "the street.";
			mes "What should";
			mes "you do?";
			next;
			switch (select("Pick it up and keep it.:Ask around to find the owner.:Simply walk by.")) {
			case 1:
				break;
			case 2:
				set @knight_t, @knight_t + 10;
				break;
			case 3:
				set @knight_t, @knight_t + 10;
				break;
			}
			mes "[Lady Amy]";
			mes "Okay,";
			mes "that was the";
			mes "end of my test!";
			next;
			if (@knight_t == 100) {
				set KNGHT_Q,10;
				mes "[Lady Amy]";
				mes "Well done, that kind of mentality is needed for a Knight! For your next test, visit Sir Edmond, please~";
				next;
				mes "[Lady Amy]";
				mes "I'll have nice comments about you for the captain. Do well on the tests you have left, okay?";
				close;
			}
			if (@knight_t == 90) {
				set KNGHT_Q,10;
				changequest 9008,9009;
				mes "[Lady Amy]";
				mes "Well, it wasn't perfect,";
				mes "but I think you know enough";
				mes "about etiquette to be";
				mes "a fine Knight.";
				next;
				mes "[Lady Amy]";
				mes "Now, it's time for you to go to Sir Edmond for your next test. Do well on the rest of your tests. You better promise~";
				close;
			}
			set KNGHT_Q,9;
			mes "[Lady Amy]";
			mes "Mmm...";
			mes "To be honest, I don't think your attitude is good enough to be a Knight quite yet.";
			next;
			mes "[Lady Amy]";
			mes "If you really act like that, everyone will think Knights are rude! Think about how you answered my questions and come again later.";
			next;
			mes "[Lady Amy]";
			mes "If you want,";
			mes "I'll let you";
			mes "retake the test, okay?";
			close;
		case 2:
			mes "[Lady Amy]";
			mes "Aww...";
			mes "Alright~";
			close;
		}
	}
	if (KNGHT_Q == 9) {
		mes "[Lady Amy]";
		mes "Hmmm?";
		mes "Why did you";
		mes "come to Amy?";
		next;
		switch (select("I would like to take the test to change jobs.:Oh, nothing.")) {
		case 1:
			mes "[Lady Amy]";
			mes "Mmm~?";
			mes "Have you learned";
			mes "what you did wrong";
			mes "last time? If you";
			mes "fail again, I'm going";
			mes "to be mad!";
			next;
			mes "[Lady Amy]";
			mes "So listen carefully";
			mes "and answer as if you";
			mes "are a Knight.";
			mes "Well then,";
			mes "let's begin!";
			next;
			set @knight_t, 0;
			mes "[Lady Amy]";
			mes "You are a Knight and you are looking for a party in Morroc.";
			mes "How would you go about doing so?";
			next;
			switch (select("Shout out that you are looking for a party.:Open a chat room and wait.:Look for people seeking Knights.")) {
			case 1:
				break;
			case 2:
				set @knight_t, @knight_t + 10;
				break;
			case 3:
				set @knight_t, @knight_t + 10;
				break;
			}
			mes "[Lady Amy]";
			mes "You have formed a party with equal leveled players. There's a Priest, a Wizard, a Hunter, an Assassin, and a Blacksmith...";
			next;
			mes "[Lady Amy]";
			mes "The six of you decide to go hunt and have decided to go to the Pyramids.";
			next;
			mes "[Lady Amy]";
			mes "You reach Level 4";
			mes "of the Pyramids";
			mes "with your party.";
			mes "What should you do?";
			next;
			switch (select("Check out the area and plan ahead.:Gather monsters for your party members.:Lead the party slowly at the front.")) {
			case 1:
				set @knight_t, @knight_t + 10;
				break;
			case 2:
				break;
			case 3:
				set @knight_t, @knight_t + 10;
				break;
			}
			mes "[Lady Amy]";
			mes "But some rude players came with a group of monsters and disappeared! What should you do?";
			next;
			switch (select("Keep the monsters from reaching your party.:Defend while the party retreats.:Run away on your Peco Peco.")) {
			case 1:
				set @knight_t, @knight_t + 10;
				break;
			case 2:
				set @knight_t, @knight_t + 10;
				break;
			case 3:
				break;
			}
			mes "[Lady Amy]";
			mes "Luckily, you all lived through the crisis. But as you walk, you find a person, who is not in your party, collapsed on the ground.";
			next;
			mes "[Lady Amy]";
			mes "The person is asking politely for help. What should you do?";
			next;
			switch (select("Ask your party's Priest to help.:Say you will help for Zeny.:Ignore and move on.")) {
			case 1:
				set @knight_t, @knight_t + 10;
				break;
			case 2:
				break;
			case 3:
				break;
			}
			mes "[Lady Amy]";
			mes "You must bid farewell to your party members because you must go somewhere else.";
			next;
			mes "[Lady Amy]";
			mes "But you find";
			mes "a rare item during";
			mes "the battle. What";
			mes "should you do?";
			next;
			switch (select("Give it to who deserves it the most.:Pretend like nothing happened and keep it.:Decide with party who gets it.")) {
			case 1:
				set @knight_t, @knight_t + 10;
				break;
			case 2:
				break;
			case 3:
				set @knight_t, @knight_t + 10;
				break;
			}
			mes "[Lady Amy]";
			mes "You end up with the item and you go to Prontera to sell it. There are many people with shops and chat rooms opened selling items.";
			next;
			mes "[Lady Amy]";
			mes "What should you";
			mes "do to sell your item?";
			next;
			switch (select("Shout out loud to everyone.:Open a chat room and wait.:Inquire if there is anyone that is interested.")) {
			case 1:
				break;
			case 2:
				set @knight_t, @knight_t + 10;
				break;
			case 3:
				set @knight_t, @knight_t + 10;
				break;
			}
			mes "[Lady Amy]";
			mes "While you are waiting,";
			mes "someone comes and begs";
			mes "for items and zeny.";
			mes "What do you do?";
			next;
			switch (select("Give them some Zeny and items.:Simply ignore them.:Give suggestions for a place to hunt.")) {
			case 1:
				break;
			case 2:
				break;
			case 3:
				set @knight_t, @knight_t + 10;
				break;
			}
			mes "[Lady Amy]";
			mes "Now you decide to go to the Hidden Temple by yourself. You happily ride on your Peco Peco.";
			next;
			mes "[Lady Amy]";
			mes "But you run into";
			mes "someone that is lost.";
			mes "What should you do?";
			next;
			switch (select("Tell the person how to reach the exit.:Lead the person to the exit.:Give a Butterfly Wing.")) {
			case 1:
				set @knight_t, @knight_t + 10;
				break;
			case 2:
				set @knight_t, @knight_t + 10;
				break;
			case 3:
				break;
			}
			mes "[Lady Amy]";
			mes "You've been hunting for a while, and now you're low on HP!";
			mes "It's red now, which is very dangerous.";
			next;
			mes "[Lady Amy]";
			mes "Ah, then a Priest";
			mes "happens to walk by.";
			mes "How would you ask";
			mes "the Priest for a Heal?";
			next;
			switch (select("Would it be possible to get a heal please?:Can I have a heal?:Heal plz!!")) {
			case 1:
				set @knight_t, @knight_t + 10;
				break;
			case 2:
				break;
			case 3:
				break;
			}
			mes "[Lady Amy]";
			mes "You are now very";
			mes "exhausted and it's time";
			mes "to go back to town.";
			next;
			mes "[Lady Amy]";
			mes "You then find";
			mes "a rare item on";
			mes "the street.";
			mes "What should";
			mes "you do?";
			next;
			switch (select("Pick it up and keep it.:Ask around to find the owner.:Simply walk by.")) {
			case 1:
				break;
			case 2:
				set @knight_t, @knight_t + 10;
				break;
			case 3:
				set @knight_t, @knight_t + 10;
				break;
			}
			mes "[Lady Amy]";
			mes "Okay,";
			mes "that was the";
			mes "end of my test!";
			next;
			if (@knight_t == 100) {
				set KNGHT_Q,10;
				mes "[Lady Amy]";
				mes "Well done, that kind of mentality is needed for a Knight! For your next test, visit Sir Edmond, please~";
				next;
				mes "[Lady Amy]";
				mes "I'll have nice comments about you for the captain. Do well on the tests you have left, okay?";
				close;
			}
			if (@knight_t == 90) {
				set KNGHT_Q,10;
				mes "[Lady Amy]";
				mes "Well, it wasn't perfect,";
				mes "but I think you know enough";
				mes "about etiquette to be";
				mes "a fine Knight.";
				next;
				mes "[Lady Amy]";
				mes "Now, it's time for you to go to Sir Edmond for your next test. Do well on the rest of your tests. You better promise~";
				close;
			}
			set KNGHT_Q,9;
			mes "[Lady Amy]";
			mes "Mmm...";
			mes "To be honest, I don't think your attitude is good enough to be a Knight quite yet.";
			next;
			mes "[Lady Amy]";
			mes "If you really act like that, everyone will think Knights are rude! Think about how you answered my questions and come again later.";
			next;
			mes "[Lady Amy]";
			mes "If you want,";
			mes "I'll let you";
			mes "retake the test, okay?";
			close;
		case 2:
			mes "[Lady Amy]";
			mes "Aww...";
			mes "Alright~";
			close;
		}
	}
	if (KNGHT_Q == 10) {
		mes "[Lady Amy]";
		mes "Hmmm?";
		mes "Why did you";
		mes "come to Amy?";
		next;
		mes "[Lady Amy]";
		mes "You have to go to";
		mes "Sir Edmond for your";
		mes "next test, okay?";
		close;
	}
	if (KNGHT_Q == 14) {
		mes "[Lady Amy]";
		mes "Wow~";
		mes "Now it's time for";
		mes "everyone to decide";
		mes "on your job change!";
		next;
		mes "[Lady Amy]";
		mes "Let's go talk to our";
		mes "captain. Don't worry";
		mes "too much. It should";
		mes "be okay.";
		close;
	}
	mes "[Lady Amy]";
	mes "Hmmm?";
	mes "Why did you";
	mes "come to Amy?";
	next;
	mes "[Lady Amy]";
	mes "You still have";
	mes "other tests to take.";
	mes "Hurry and finish~";
	close;
}

prt_in,70,99,6	script	Sir Edmond	734,{
	if ((Class != Job_Baby_Swordman) && (Class != Job_Swordman)) {
		if (Class == Job_Baby_Knight || Class == Job_Knight) {
			mes "[Sir Edmond]";
			mes "Think of your";
			mes "mind as if it were";
			mes "flowing water.";
			next;
			mes "[Sir Edmond]";
			mes "Flowing water";
			mes "avoids obstacles,";
			mes "going on its way...";
			next;
			mes "[Sir Edmond]";
			mes "Knights must be";
			mes "able to pass things,";
			mes "like calm water, in";
			mes "any situation.";
			close;
		}
		if (Class == Job_Baby || Class == Job_Novice) {
			mes "[Sir Edmond]";
			mes "Trees with deep roots don't sway with the wind. The fact that powerful skills must be built on strong basics is immutable...";
			next;
			mes "[Sir Edmond]";
			mes "Your future";
			mes "can even be";
			mes "decided now...";
			close;
		}
		mes "[Sir Edmond]";
		mes "Everything in this world exists in harmony. Living without disrupting this harmony is the right way to live...";
		close;
	}
	if (KNGHT_Q == 0) {
		mes "[Sir Edmond]";
		mes "Those with ominous thoughts will only dream such dreams. It's better to have no dreams at all than to have dreams of sadness and despair.";
		close;
	}
	if (KNGHT_Q == 1) {
		mes "[Sir Edmond]";
		mes "What is it...";
		mes "Wandering Swordman?";
		next;
		switch (select("I would like to take the test to change jobs.:Oh, nothing.")) {
		case 1:
			mes "[Sir Edmond]";
			mes "A seed must first be nestled";
			mes "in the earth before the seed may sprout. Then, the sprout must grow leaves before its buds blossom into flowers...";
			next;
			mes "[Sir Edmond]";
			mes "If not...";
			mes "The flower will";
			mes "be incomplete.";
			next;
			mes "[Sir Edmond]";
			mes "Go to the others";
			mes "first, so that you";
			mes "may find your path...";
			close;
		case 2:
			mes "[Sir Edmond]";
			mes "The life that you";
			mes "want will soon be";
			mes "before your eyes.";
			mes "Everything will";
			mes "come in perfect";
			mes "order.";
			close;
		}
	}
	if (KNGHT_Q == 2) {
		mes "[Sir Edmond]";
		mes "What is it...";
		mes "Wandering Swordman?";
		next;
		switch (select("I would like to take the test to change jobs.:Oh, nothing.")) {
		case 1:
			mes "[Sir Edmond]";
			mes "The question of";
			mes "what came first:";
			mes "the chicken";
			mes "or the egg?";
			next;
			mes "[Sir Edmond]";
			mes "Do you think";
			mes "you're prepared";
			mes "to discuss this?";
			next;
			mes "[Sir Edmond]";
			mes "That's what";
			mes "I thought...";
			mes "Go to the";
			mes "others first.";
			close;
		case 2:
			mes "[Sir Edmond]";
			mes "The life that you";
			mes "want will soon be";
			mes "before your eyes.";
			mes "Everything will";
			mes "come in perfect";
			mes "order.";
			close;
		}
	}
	if (KNGHT_Q == 3) {
		mes "[Sir Edmond]";
		mes "What is it...";
		mes "Wandering Swordman?";
		next;
		switch (select("I would like to take the test to change jobs.:Oh, nothing.")) {
		case 1:
			mes "[Sir Edmond]";
			mes "A seed must first be nestled";
			mes "in the earth before the seed may sprout. Then, the sprout must grow leaves before its buds blossom into flowers...";
			next;
			mes "[Sir Edmond]";
			mes "If not...";
			mes "The flower will";
			mes "be incomplete.";
			next;
			mes "[Sir Edmond]";
			mes "Go to the others";
			mes "first, so that you";
			mes "may find your path...";
			close;
		case 2:
			mes "[Sir Edmond]";
			mes "The life that you";
			mes "want will soon be";
			mes "before your eyes.";
			mes "Everything will";
			mes "come in perfect";
			mes "order.";
			close;
		}
	}
	if (KNGHT_Q == 4) {
		mes "[Sir Edmond]";
		mes "What is it...";
		mes "Wandering Swordman?";
		next;
		switch (select("I would like to take the test to change jobs.:Oh, nothing.")) {
		case 1:
			mes "[Sir Edmond]";
			mes "The question of";
			mes "what came first:";
			mes "the chicken";
			mes "or the egg?";
			next;
			mes "[Sir Edmond]";
			mes "Do you think";
			mes "you're prepared";
			mes "to discuss this?";
			next;
			mes "[Sir Edmond]";
			mes "That's what";
			mes "I thought...";
			mes "Go to the";
			mes "others first.";
			close;
		case 2:
			mes "[Sir Edmond]";
			mes "The life that you";
			mes "want will soon be";
			mes "before your eyes.";
			mes "Everything will";
			mes "come in perfect";
			mes "order.";
			close;
		}
	}
	if (KNGHT_Q == 5) {
		mes "[Sir Edmond]";
		mes "What is it...";
		mes "Wandering Swordman?";
		next;
		switch (select("I would like to take the test to change jobs.:Oh, nothing.")) {
		case 1:
			mes "[Sir Edmond]";
			mes "The question of";
			mes "what came first:";
			mes "the chicken";
			mes "or the egg?";
			next;
			mes "[Sir Edmond]";
			mes "Do you think";
			mes "you're prepared";
			mes "to discuss this?";
			next;
			mes "[Sir Edmond]";
			mes "That's what";
			mes "I thought...";
			mes "Go to the";
			mes "others first.";
			close;
		case 2:
			mes "[Sir Edmond]";
			mes "The life that you";
			mes "want will soon be";
			mes "before your eyes.";
			mes "Everything will";
			mes "come in perfect";
			mes "order.";
			close;
		}
	}
	if (KNGHT_Q == 6) {
		mes "[Sir Edmond]";
		mes "What is it... ";
		mes "Wandering Swordman?";
		next;
		switch (select("I would like to take the test to change jobs.:Oh, nothing.")) {
		case 1:
			mes "[Sir Edmond]";
			mes "If a tree falls";
			mes "in the woods, does";
			mes "it make a sound?";
			next;
			mes "[Sir Edmond]";
			mes "I think you need";
			mes "more time to think";
			mes "about this.";
			next;
			mes "[Sir Edmond]";
			mes "Go to the others";
			mes "first, so that you";
			mes "may find an answer...";
			close;
		case 2:
			mes "[Sir Edmond]";
			mes "The life that you";
			mes "want will soon be";
			mes "before your eyes.";
			mes "Everything will";
			mes "come in perfect";
			mes "order.";
			close;
		}
	}
	if (KNGHT_Q == 7) {
		mes "[Sir Edmond]";
		mes "What is it...";
		mes "Wandering Swordman?";
		next;
		switch (select("I would like to take the test to change jobs.:Oh, nothing.")) {
		case 1:
			mes "[Sir Edmond]";
			mes "Change will";
			mes "come when all is in";
			mes "readiness. Everything";
			mes "comes in its own";
			mes "good time.";
			next;
			mes "[Sir Edmond]";
			mes "The time has not";
			mes "yet come for me";
			mes "to test you yet.";
			mes "Go to the others.";
			close;
		case 2:
			mes "[Sir Edmond]";
			mes "The life that you";
			mes "want will soon be";
			mes "before your eyes.";
			mes "Everything will";
			mes "come in perfect";
			mes "order.";
			close;
		}
	}
	if (KNGHT_Q == 8) {
		mes "[Sir Edmond]";
		mes "Zzz...";
		mes "Zzz...";
		mes "^666666*snort*^000000";
		mes "Wah? Huh?";
		next;
		switch (select("I would like to take the test to change jobs.:Oh, nothing.")) {
		case 1:
			mes "[Sir Edmond]";
			mes "Is it my";
			mes "turn yet...?";
			mes "No... Not yet.";
			next;
			mes "[Sir Edmond]";
			mes "Sorry, it's";
			mes "not my turn yet,";
			mes "young one.";
			next;
			mes "[Sir Edmond]";
			mes "Go to the others";
			mes "first and complete";
			mes "their tasks...";
			close;
		case 2:
			mes "[Sir Edmond]";
			mes "You're almost";
			mes "there, don't";
			mes "give up...";
			close;
		}
	}
	if (KNGHT_Q == 9) {
		mes "[Sir Edmond]";
		mes "What is it...";
		mes "Wandering Swordman?";
		next;
		switch (select("I would like to take the test to change jobs.:Oh, nothing.")) {
		case 1:
			mes "[Sir Edmond]";
			mes "You are nearing the";
			mes "end of your journey...";
			next;
			mes "[Sir Edmond]";
			mes "However, there are";
			mes "still the final steps";
			mes "you must take...";
			next;
			mes "[Sir Edmond]";
			mes "However,";
			mes "my time to test";
			mes "you has not come";
			mes "quite yet.";
			close;
		case 2:
			mes "[Sir Edmond]";
			mes "You must still see";
			mes "one of the others...";
			mes "But the life that you";
			mes "want will soon be";
			mes "before your eyes.";
			close;
		}
	}
	if (KNGHT_Q == 10) {
		mes "[Sir Edmond]";
		mes "What is it...";
		mes "Wandering Swordman.";
		next;
		switch (select("Lady Amy sent me.:Oh, nothing.")) {
		case 1:
			mes "[Sir Edmond]";
			mes "It is now time to take my test. Please do your best, as you have done on the other tests.";
			next;
			mes "[Sir Edmond]";
			mes "My name is";
			mes "Edmond Groster.";
			mes "I am a member of";
			mes "the Prontera Chivalry.";
			next;
			mes "[Sir Edmond]";
			mes "Knights are in the position for others to follow. Therefore, you must modestly think about the world's order and have the personality to fit the role you will play.";
			next;
			mes "[Sir Edmond]";
			mes "You must not make careless decisions. Your will should bend as the reeds or be as firm as stone when the situation calls for it.";
			next;
			mes "[Sir Edmond]";
			mes "You must not kill monsters without reason and not take joy in doing so. Take this time to quietly think about this on your own...";
			next;
			mes "[Sir Edmond]";
			mes "Then, we shall";
			mes "begin the test.";
			mes "Keep in mind";
			mes "the quality of";
			mes "reverence.";
			set KNGHT_Q,12;
			changequest 9009,9010;
			close2;
			warp "job_knt",143,57;
			end;
		case 2:
			mes "[Sir Edmond]";
			mes "The life you want";
			mes "will soon be before";
			mes "your eyes.";
			close;
		}
	}
	if (KNGHT_Q == 11) {
		mes "[Sir Edmond]";
		mes "What is it...";
		mes "Wandering Swordman?";
		next;
		switch (select("I'm sorry, I didn't mean to...:Oh, nothing.")) {
		case 1:
			mes "[Sir Edmond]";
			mes "You were too careless in the last test. A Knight's sword exists to protect others, not to torment weaker monsters.";
			next;
			mes "[Sir Edmond]";
			mes "In a world where everything exists in harmony, you can't have humans continuously destroying without purpose. This principle applies to the real world, not to this test alone.";
			next;
			mes "[Sir Edmond]";
			mes "The test";
			mes "shall begin.";
			mes "Show me your";
			mes "patience...";
			set KNGHT_Q,13;
			close2;
			warp "job_knt",143,57;
			end;
		case 2:
			mes "[Sir Edmond]";
			mes "The life that you";
			mes "want will soon be";
			mes "before your eyes.";
			mes "Everything will";
			mes "come in perfect";
			mes "order.";
			close2;
		}
	}
	if (KNGHT_Q == 12 || KNGHT_Q == 13) {
		mes "[Sir Edmond]";
		mes "I have seen your character for myself. It is now time for you to take the last test. Go and speak";
		mes "to Sir Gray...";
		close;
	}
	mes "[Sir Edmond]";
	mes "Go and speak";
	mes "to our captain.";
	mes "The time has come";
	mes "for all of us to";
	mes "evaluate your";
	mes "performance.";
	close;
}

job_knt,1,1,1	script	Timer#knt	107,{
	end;

OnTimer60000:
	donpcevent "Warp#knt::OnEnable";
	end;

OnTimer60050:
	donpcevent "Timer#knt::OnReset";
	end;

OnTimer60100:
	donpcevent "Timer#knt::OnDisable";
	donpcevent "Warp#knt::OnDisable";
	end;

OnTimer60150:
	donpcevent "Timer#knt::OnEnable";
	stopnpctimer;
	end;

OnInit:
	hideoffnpc "Timer#knt";
	monster "job_knt",141,57,"Poring",1002,1,"Timer#knt::OnMyMobDead";
	monster "job_knt",145,57,"Poring",1002,1,"Timer#knt::OnMyMobDead";
	monster "job_knt",143,55,"Poring",1002,1,"Timer#knt::OnMyMobDead";
	monster "job_knt",143,59,"Poring",1002,1,"Timer#knt::OnMyMobDead";
	monster "job_knt",141,55,"Lunatic",1063,1,"Timer#knt::OnMyMobDead";
	monster "job_knt",141,59,"Lunatic",1063,1,"Timer#knt::OnMyMobDead";
	monster "job_knt",145,55,"Lunatic",1063,1,"Timer#knt::OnMyMobDead";
	monster "job_knt",145,59,"Lunatic",1063,1,"Timer#knt::OnMyMobDead";
	monster "job_knt",139,57,"Chonchon",1011,1,"Timer#knt::OnMyMobDead";
	monster "job_knt",147,57,"Chonchon",1011,1,"Timer#knt::OnMyMobDead";
	monster "job_knt",143,53,"Chonchon",1011,1,"Timer#knt::OnMyMobDead";
	monster "job_knt",143,61,"Chonchon",1011,1,"Timer#knt::OnMyMobDead";
	monster "job_knt",167,54,"Mushroom",1182,1,"Timer#knt::OnMyMobDead";
	monster "job_knt",167,57,"Mushroom",1182,1,"Timer#knt::OnMyMobDead";
	monster "job_knt",120,54,"Mushroom",1182,1,"Timer#knt::OnMyMobDead";
	monster "job_knt",120,57,"Mushroom",1182,1,"Timer#knt::OnMyMobDead";
	initnpctimer;
	end;

OnEnable:
	hideoffnpc "Timer#knt";
	monster "job_knt",141,57,"Poring",1002,1,"Timer#knt::OnMyMobDead";
	monster "job_knt",145,57,"Poring",1002,1,"Timer#knt::OnMyMobDead";
	monster "job_knt",143,55,"Poring",1002,1,"Timer#knt::OnMyMobDead";
	monster "job_knt",143,59,"Poring",1002,1,"Timer#knt::OnMyMobDead";
	monster "job_knt",141,55,"Lunatic",1063,1,"Timer#knt::OnMyMobDead";
	monster "job_knt",141,59,"Lunatic",1063,1,"Timer#knt::OnMyMobDead";
	monster "job_knt",145,55,"Lunatic",1063,1,"Timer#knt::OnMyMobDead";
	monster "job_knt",145,59,"Lunatic",1063,1,"Timer#knt::OnMyMobDead";
	monster "job_knt",139,57,"Chonchon",1011,1,"Timer#knt::OnMyMobDead";
	monster "job_knt",147,57,"Chonchon",1011,1,"Timer#knt::OnMyMobDead";
	monster "job_knt",143,53,"Chonchon",1011,1,"Timer#knt::OnMyMobDead";
	monster "job_knt",143,61,"Chonchon",1011,1,"Timer#knt::OnMyMobDead";
	monster "job_knt",167,54,"Mushroom",1182,1,"Timer#knt::OnMyMobDead";
	monster "job_knt",167,57,"Mushroom",1182,1,"Timer#knt::OnMyMobDead";
	monster "job_knt",120,54,"Mushroom",1182,1,"Timer#knt::OnMyMobDead";
	monster "job_knt",120,57,"Mushroom",1182,1,"Timer#knt::OnMyMobDead";
	initnpctimer;
	end;

OnReset:
	killmonster "job_knt","Timer#knt::OnMyMobDead";
	end;

OnDisable:
	hideonnpc "Timer#knt";
	end;

OnMyMobDead:
	warp "prt_fild05",353,251;
	end;
}

job_knt,143,57,0	script	Warp#knt	139,22,22,{

OnTouch:
	set KNGHT_Q,12;
	changequest 9010,9011;
	warp "prt_in",80,100;
	end;

OnInit:
	hideonnpc "Warp#knt";
	end;

OnEnable:
	hideoffnpc "Warp#knt";
	end;

OnDisable:
	hideonnpc "Warp#knt";
	end;
}

prt_in,87,92,4	script	Sir Gray	119,{
	if ((Class != Job_Baby_Swordman) && (Class != Job_Swordman)) {
		if (Class == Job_Baby_Knight || Class == Job_Knight) {
			mes "[Sir Gray]";
			mes "The glint of light";
			mes "that shines off this blade cannot be put into words. This is the weapon every Knight must have.";
			next;
			mes "[Sir Gray]";
			mes "Yes...";
			mes "^3355FFClaymore^000000!";
			mes "Every Knight";
			mes "would want one!";
			next;
			switch (select("About ^3355FFClaymore^000000:Buy Claymore:End Conversation")) {
			case 1:
				mes "[Sir Gray]";
				mes "Claymore, one of the best among the famous swords you can attain in Rune-Midgarts Prontera!! Its value is priceless when considered by a Knight.";
				next;
				mes "[Sir Gray]";
				mes "Now, the Prontera Chivalry is making these fabulous Claymores. For Knights, they are only ^3355FF74,000^000000 Zeny.";
				next;
				mes "[Sir Gray]";
				mes "But not only that, you need";
				mes "1 ^3355FFSteel^000000 because of the Claymore's characteristics. If you like, I can create one for you. For the honor of the Prontera Chivalry!";
				close;
			case 2:
				if ((MaxWeight - Weight) < 1800) {
					mes "[Sir Gray]";
					mes "Oh no...";
					mes "It seems that you are carrying too many things. You don't have enough space for a heavy Claymore in your inventory.";
					next;
					mes "[Sir Gray]";
					mes "Why don't you";
					mes "go and organize";
					mes "your items first.";
					close;
				}
				if ((Zeny > 73999) && (countitem(999) > 0) && (Class == Job_Baby_Knight || Class == Job_Knight || Class == Job_Baby_Swordman || Class == Job_Swordman)) {
					mes "[Sir Gray]";
					mes "You are ready!";
					mes "You must know the";
					mes "true value of";
					mes "a Claymore!";
					mes "I shall make";
					mes "it right now!!";
					next;
					mes "[Sir Gray]";
					mes "The basics of";
					mes "making the Claymore";
					mes "is easy. Watch~!";
					next;
					mes "^3355FF*Stir Stir*^000000";
					mes "^3355FF*Ooncha Ooncha*^000000";
					next;
					mes "[Sir Gray]";
					mes "Okay, it's ready!";
					mes "Every Knight's pride:";
					mes "a fine ^3355FFClaymore^000000.";
					mes "You attained a reliable item.";
					mes "It'll be a good companion on your adventures.";
					delitem 999,1; //Steel
					set Zeny, Zeny - 74000;
					getitem 1163,1; //Claymore
					close;
				}
				mes "[Sir Gray]";
				mes "I realize you may really want a Claymore, but I can't make it without the materials.";
				mes "^3355FF74,000 zeny^000000 and ^3355FF1 Steel!^000000.";
				next;
				mes "[Sir Gray]";
				mes "Come back when";
				mes "you have everything";
				mes "ready. I shall be";
				mes "waiting...";
				close;
			case 3:
				mes "[Sir Gray]";
				mes "Any Knight should be able to wield a Claymore as if it were an extension of their body. I used to look forward to brandishing my Claymore in battle...";
				close;
			}
			if (Class == Job_Novice) {
				mes "[Sir Gray]";
				mes "Believe it";
				mes "or not, I was";
				mes "once a Novice";
				mes "as well.";
				next;
				mes "[Sir Gray]";
				mes "I never really planned to become a Knight, but I did decide to become a strong person. Somehow, along my journeys, I ended up joining the Prontera Chivalry. Ha ha ha!";
				close;
			}
			mes "[Sir Gray]";
			mes "Young one,";
			mes "use your time";
			mes "wisely.";
			next;
			mes "[Sir Gray]";
			mes "No point in";
			mes "harboring regret";
			mes "once time has passed.";
			close;
		}
		if (KNGHT_Q == 0) {
			mes "[Sir Gray]";
			mes "Young one,";
			mes "use your time";
			mes "wisely.";
			next;
			mes "[Sir Gray]";
			mes "No point in";
			mes "harboring regret";
			mes "once time has passed.";
			close;
		}
		if (KNGHT_Q == 12) {
			mes "[Sir Gray]";
			mes "Oh...";
			mes "A young Swordman.";
			mes "Yes, what can";
			mes "I do for you?";
			next;
			switch (select("I would like to take the test to change jobs.:Oh, nothing.")) {
			case 1:
				mes "[Sir Gray]";
				mes "Hoho, I see.";
				mes "So you took";
				mes "everyone else's";
				mes "test?";
				next;
				set @knight_t, 0;
				mes "[Sir Gray]";
				mes "Then shall";
				mes "we begin mine?";
				mes "It's not really";
				mes "a test though.";
				next;
				mes "[Sir Gray]";
				mes "Let's talk";
				mes "casually,";
				mes "shall we?";
				next;
				mes "[Sir Gray]";
				mes "First...";
				mes "Why did you";
				mes "decide to become";
				mes "a Knight?";
				next;
				switch (select("To become stronger...:To help my guild...:Because I'm unsatisfied with myself right now...")) {
				case 1:
					mes "[Sir Gray]";
					mes "To become stronger, you say?";
					mes "Yes, Knights are indeed strong.";
					mes "But why gain strength?";
					next;
					mes "[Sir Gray]";
					mes "Is it to show off to others? To attain fame? Or do you have a diferent reason? What do you think is so good about gaining strength as a Knight?";
					next;
					switch (select("Gain wealth and fame.:I can protect myself.:I can protect others.")) {
					case 1:
						set @knight_t, @knight_t + 10;
						mes "[Sir Gray]";
						mes "Of course, wealth and fame have their place in the world. But we as Knights must live for higher virtues.";
						next;
						break;
					case 2:
						mes "[Sir Gray]";
						mes "Good thinking. You must first be able to protect yourself in order to protect others. To this end, you must constantly train, and never give in to laziness.";
						next;
						break;
					case 3:
						mes "[Sir Gray]";
						mes "Ah, a wonderful idea. A Knight's strength must be used to protect the weak and defend righteousness.";
						next;
						mes "[Sir Gray]";
						mes "Sadly, there are a few Knights who shame us by forgetting the ideals that should be basic to Knighthood...";
						next;
						break;
					}
				case 2:
					mes "[Sir Gray]";
					mes "Ah, to help your guild, or maybe even your party. Our wise and benevolent King Tristram the 3rd gave us these golden words...";
					next;
					mes "[Sir Gray]";
					mes "^8B7500Beyond the calm river, lies a dangerous waterfall. Therefore, you must always be prepared for everything...^000000";
					next;
					mes "[Sir Gray]";
					mes "So how do you";
					mes "think you can";
					mes "help your guild?";
					next;
					switch (select("My guild needs me.:I can help gather funds for my guild.:I can protect my guild members.")) {
					case 1:
						mes "[Sir Gray]";
						mes "Anyone, anywhere in this world,";
						mes "has a place where they are needed. Never neglect someone in need, even if he is not a guild member.";
						next;
						break;
					case 2:
						set @knight_t, @knight_t + 10;
						mes "[Sir Gray]";
						mes "Of course wealth is important.";
						mes "But we Knights must live for higher virtues.";
						next;
						break;
					case 3:
						mes "[Sir Gray]";
						mes "Ah, a wonderful idea. A Knight's strength must be used to protect the weak and defend righteousness.";
						next;
						mes "[Sir Gray]";
						mes "Sadly, there are a few Knights who shame us by forgetting the ideals that should be basic to Knighthood...";
						next;
						break;
					}
				case 3:
					set @knight_t, @knight_t + 5;
					mes "[Sir Gray]";
					mes "Satisfaction, you say.";
					mes "It seems like you are";
					mes "already a fine Swordman.";
					mes "Is there a particular reason you wish to be a Knight?";
					next;
					mes "[Sir Gray]";
					mes "I don't know about";
					mes "Swordmen, but Knights do not allow self-indulgence. There are those so obsessed with gaining strength that they cannot control themselves.";
					next;
					mes "[Sir Gray]";
					mes "So...";
					mes "What part of yourself";
					mes "are you not satisfied";
					mes "with right now?";
					next;
					switch (select("Skills.:Goal.:Appearance.")) {
					case 1:
						set @knight_t, @knight_t + 5;
						mes "[Sir Gray]";
						mes "Skill is something you gain with experience as a Knight. It cannot be your highest goal. Otherwise, you'll never be satisfied as a Knight.";
						next;
						break;
					case 2:
						set @knight_t, @knight_t - 5;
						mes "[Sir Gray]";
						mes "I see...";
						mes "Always having a goal is very important. You may be full of ideas upon becoming a Knight, but that may change with time.";
						next;
						break;
					case 3:
						set @knight_t, @knight_t + 5;
						mes "[Sir Gray]";
						mes "Oh no...";
						mes "What you see isn't what really counts. A Swordman may be stronger than a Knight, and even Knight may grow weak if he becomes lazy.";
						next;
						break;
					}
				}
				mes "[Sir Gray]";
				mes "I understand your thoughts,";
				mes "but there are those who wish to";
				mes "become Knights without thinking.";
				next;
				mes "[Sir Gray]";
				mes "Those are the ones who instigate problems and shame the honor of Knights, bringing irreversible results.";
				next;
				mes "[Sir Gray]";
				mes "The same goes for you as well. Once you become a Knight, you can never become a Swordman again. The duties and responsibilities of a Knight will always be with you.";
				next;
				mes "[Sir Gray]";
				mes "If you become a Knight right away, what are you going to do first?";
				next;
				switch (select("I am going to go straight to battle.:There are those waiting for me.:I will learn more about Knights.")) {
				case 1:
					mes "[Sir Gray]";
					mes "Battle...?";
					mes "And then?";
					next;
					switch (select("I will grow within a short period of time.:I would like to test my ability as a Knight.:I would like to go to more challenging places.")) {
					case 1:
						set @knight_t, @knight_t + 10;
						mes "[Sir Gray]";
						mes "Don't be in too much of a hurry to become strong. Even if you become";
						mes "a Knight, you are still yourself.";
						next;
						break;
					case 2:
						mes "[Sir Gray]";
						mes "Testing yourself is a good thing. It's okay to be happy about how you change, but don't forget about the true qualities of being a Knight.";
						next;
						break;
					case 3:
						mes "[Sir Gray]";
						mes "Even if you become a Knight, you are not changing your inner self. No need to overwork yourself.";
						mes "Relax and take things step by step.";
						next;
						break;
					}
				case 2:
					mes "[Sir Gray]";
					mes "Who is";
					mes "waiting for you?";
					next;
					switch (select("My friends.:My Guild members.:My Lover.")) {
					case 1:
						mes "[Sir Gray]";
						mes "I see, they would share in the joy of your achievements. Don't ever lose your kind heart, and always give help to your friends.";
						next;
						break;
					case 2:
						mes "[Sir Gray]";
						mes "Those who would share in your happiness and hardship. As a Knight, you must always protect them.";
						next;
						break;
					case 3:
						mes "[Sir Gray]";
						mes "Oh, youth!";
						mes "Becoming a Knight";
						mes "for your beloved!";
						if (Sex == 1) {
							mes "Always protect her...";
							mes "Even at the sacrifice";
							mes "of your own life!";
						}
						else {
							mes "Always protect him...";
							mes "Even at the sacrifice";
							mes "of your own life!";
						}
						next;
						mes "[Sir Gray]";
						mes "Also...";
						mes "Love them forever.";
						mes "Sincere affection";
						mes "is hard to find.";
						next;
						break;
					}
				case 3:
					mes "[Sir Gray]";
					mes "Good attitude...";
					mes "What do you plan";
					mes "on learning?";
					next;
					switch (select("Comfortable places for Knights to go...:The different paths of a Knight...:Ways to get more money as a Knight...")) {
					case 1:
						set @knight_t, @knight_t + 5;
						mes "[Sir Gray]";
						mes "There are many places that are comfortable or uncomfortable in this world. However Knights must";
						mes "be able to survive anywhere.";
						next;
						break;
					case 2:
						mes "[Sir Gray]";
						mes "There are many similar Knights outside in the world. Think of them as your seniors and ask many questions.";
						next;
						break;
					case 3:
						set @knight_t, @knight_t + 15;
						mes "[Sir Gray]";
						mes "Oh no. Do you hold wealth as a priority of being a Knight? We're not meant to be that way. Come again when you have thought";
						mes "more about it...";
						next;
						break;
					}
				}
				mes "[Sir Gray]";
				mes "Oh no, we've been";
				mes "talking too much...";
				mes "I apologize for";
				mes "keeping you here";
				mes "for so long.";
				next;
				if (@knight_t == 0) {
					set KNGHT_Q,14;
					mes "[Sir Gray]";
					mes "I enjoyed talking with you. You remind me of myself as a young recruit. Shall we talk to the captain and decide on your";
					mes "job change?";
					next;
					mes "[Sir Gray]";
					mes "Don't worry too";
					mes "much, I have a very";
					mes "high opinion of you.";
					mes "Now, go~";
					close;
				}
				if (@knight_t == 5) {
					set KNGHT_Q,14;
					mes "[Sir Gray]";
					mes "I enjoyed speaking with you. You can think about the principles of Knighthood more once you become a Knight.";
					next;
					mes "[Sir Gray]";
					mes "Then, shall we go to the captain and decide on your job change? Don't worry too much. You are good enough to be a Knight!";
					close;
				}
				if (@knight_t == 10) {
					set KNGHT_Q,14;
					mes "[Sir Gray]";
					mes "I enjoyed talking with you. Although, there were some";
					mes "things that bothered me...";
					next;
					mes "[Sir Gray]";
					mes "You should go";
					mes "to the captain";
					mes "so we can decide";
					mes "on your job change.";
					next;
					mes "[Sir Gray]";
					mes "Don't worry too much, coming to take my test means the others have acknowledged you as well.";
					mes "Go now...!";
					close;
				}
				set KNGHT_Q,13;
				mes "[Sir Gray]";
				mes "Conversing";
				mes "with young ones";
				mes "is always enjoyable...";
				next;
				mes "[Sir Gray]";
				mes "But it seems as though your dream is elsewhere, or that your focus is hazy. Spend more time as a Swordman, and come back";
				mes "to me later.";
				next;
				mes "[Sir Gray]";
				mes "If you truly wish to become a Knight, you must change your outlook first. Then, we shall see.";
				close;
			case 2:
				mes "[Sir Gray]";
				mes "Take care!";
				close;
			}
		}
		if (KNGHT_Q == 13) {
			mes "[Sir Gray]";
			mes "Ah, you again.";
			mes "What brings you";
			mes "to me?";
			next;
			switch (select("I've been thinking a lot.:Oh, nothing.")) {
			case 1:
				mes "[Sir Gray]";
				mes "Is that so...";
				mes "I wonder if you";
				mes "truly have...";
				next;
				set @knight_t, 0;
				mes "[Sir Gray]";
				mes "Then...";
				mes "Like last time,";
				mes "I will ask again...";
				next;
				mes "[Sir Gray]";
				mes "First...";
				mes "Why did you";
				mes "decide to become";
				mes "a Knight?";
				next;
				switch (select("To become stronger...:To help my guild...:Because I'm unsatisfied with myself right now...")) {
				case 1:
					mes "[Sir Gray]";
					mes "To become stronger, you say?";
					mes "Yes, Knights are indeed strong.";
					mes "But why gain strength?";
					next;
					mes "[Sir Gray]";
					mes "Is it to show off to others?";
					mes "To attain fame? Or do you have a diferent reason? What do you think is so good about gaining strength as a Knight?";
					next;
					switch (select("Gain wealth and fame.:I can protect myself.:I can protect others.")) {
					case 1:
						set @knight_t, @knight_t + 10;
						mes "[Sir Gray]";
						mes "Of course, wealth and fame have their place in the world. But we as Knights must live for higher virtues.";
						next;
						break;
					case 2:
						mes "[Sir Gray]";
						mes "Good thinking. You must first be able to protect yourself in order to protect others. To this end, you must constantly train, and never give in to laziness.";
						next;
						break;
					case 3:
						mes "[Sir Gray]";
						mes "Ah, a wonderful idea. A Knight's strength must be used to protect the weak and defend righteousness.";
						next;
						mes "[Sir Gray]";
						mes "Sadly, there are a few Knights who shame us by forgetting the ideals that should be basic to Knighthood...";
						next;
						break;
					}
				case 2:
					mes "[Sir Gray]";
					mes "Ah, to help your guild, or maybe even your party. Our wise and benevolent King Tristram the 3rd gave us these golden words...";
					next;
					mes "[Sir Gray]";
					mes "^8B7500Beyond the calm river, lies a dangerous waterfall. Therefore, you must always be prepared for everything...^000000";
					next;
					mes "[Sir Gray]";
					mes "So how do you";
					mes "think you can";
					mes "help your guild?";
					next;
					switch (select("My guild needs me.:I can help gather funds for my guild.:I can protect my guild members.")) {
					case 1:
						mes "[Sir Gray]";
						mes "Anyone, anywhere in this world,";
						mes "has a place where they are needed. Never neglect someone in need, even if he is not a guild member.";
						next;
						break;
					case 2:
						set @knight_t, @knight_t + 10;
						mes "[Sir Gray]";
						mes "Of course wealth is important.";
						mes "But we Knights must live for higher virtues.";
						next;
						break;
					case 3:
						mes "[Sir Gray]";
						mes "Ah, a wonderful idea. A Knight's strength must be used to protect the weak and defend righteousness.";
						next;
						mes "[Sir Gray]";
						mes "Sadly, there are a few Knights who shame us by forgetting the ideals that should be basic to Knighthood...";
						next;
						break;
					}
				case 3:
					set @knight_t, @knight_t + 5;
					mes "[Sir Gray]";
					mes "Satisfaction, you say.";
					mes "It seems like you are";
					mes "already a fine Swordman.";
					mes "Is there a particular reason you wish to be a Knight?";
					next;
					mes "[Sir Gray]";
					mes "I don't know about";
					mes "Swordmen but Knights do not allow self-indulgence. There are those so obsessed with gaining strength that they cannot control themselves.";
					next;
					mes "[Sir Gray]";
					mes "So...";
					mes "What part of yourself";
					mes "are you not satisfied";
					mes "with right now?";
					next;
					switch (select("Skills.:Goal.:Appearance.")) {
					case 1:
						set @knight_t, @knight_t + 5;
						mes "[Sir Gray]";
						mes "Skill is something you gain with experience as a Knight. It cannot be your highest goal. Otherwise, you'll never be satisfied as a Knight.";
						next;
						break;
					case 2:
						set @knight_t, @knight_t - 5;
						mes "[Sir Gray]";
						mes "I see...";
						mes "Always having a goal is very important. You may be full of ideas upon becoming a Knight, but that may change with time.";
						next;
						break;
					case 3:
						set @knight_t, @knight_t + 5;
						mes "[Sir Gray]";
						mes "Oh no...";
						mes "What you see isn't what really counts. A Swordman may be stronger than a Knight, and even Knight may grow weak if he becomes lazy.";
						next;
						break;
					}
				}
				mes "[Sir Gray]";
				mes "I understand your thoughts,";
				mes "but there are those who wish to";
				mes "become Knights without thinking.";
				next;
				mes "[Sir Gray]";
				mes "Those are the ones who instigate problems and shame the honor of Knights, bringing irreversible results.";
				next;
				mes "[Sir Gray]";
				mes "The same goes for you as well. Once you become a Knight, you can never become a Swordman again. The duties and responsibilities of a Knight will always be with you.";
				next;
				mes "[Sir Gray]";
				mes "If you become a Knight right away, what are you going to do first?";
				next;
				switch (select("I am going to go straight to battle.:There are those waiting for me.:I will learn more about Knights.")) {
				case 1:
					mes "[Sir Gray]";
					mes "Battle...?";
					mes "And then?";
					next;
					switch (select("I will grow within a short period of time.:I would like to test my ability as a Knight.:I would like to go to more challenging places.")) {
					case 1:
						set @knight_t, @knight_t + 10;
						mes "[Sir Gray]";
						mes "Don't be in too much of a hurry to become strong. Even if you become";
						mes "a Knight, you are still yourself.";
						next;
						break;
					case 2:
						mes "[Sir Gray]";
						mes "Testing yourself is a good thing. It's okay to be happy about how you change, but don't forget about the true qualities of being a Knight.";
						next;
						break;
					case 3:
						mes "[Sir Gray]";
						mes "Even if you become a Knight, you are not changing your inner self. No need to overwork yourself.";
						mes "Relax and take things step by step.";
						next;
						break;
					}
				case 2:
					mes "[Sir Gray]";
					mes "Who is";
					mes "waiting for you?";
					next;
					switch (select("My friends.:My Guild members.:My Lover.")) {
					case 1:
						mes "[Sir Gray]";
						mes "I see, they would share in the joy of your achievements. Don't ever lose your kind heart, and always give help to your friends.";
						next;
						break;
					case 2:
						mes "[Sir Gray]";
						mes "Those who would share in your happiness and hardship. As a Knight, you must always protect them.";
						next;
						break;
					case 3:
						mes "[Sir Gray]";
						mes "Oh, youth!";
						mes "Becoming a Knight";
						mes "for your beloved!";
						if (Sex == 1) {
							mes "Always protect her...";
							mes "Even at the sacrifice";
							mes "of your own life!";
						}
						else {
							mes "Always protect him...";
							mes "Even at the sacrifice";
							mes "of your own life!";
						}
						next;
						mes "[Sir Gray]";
						mes "Also...";
						mes "Love them forever.";
						mes "Sincere affection";
						mes "is hard to find.";
						next;
						break;
					}
				case 3:
					mes "[Sir Gray]";
					mes "Good attitude...";
					mes "What do you plan";
					mes "on learning?";
					next;
					switch (select("Comfortable places for Knights to go...:The different paths of a Knight...:Ways to get more money as a Knight...")) {
					case 1:
						set @knight_t, @knight_t + 5;
						mes "[Sir Gray]";
						mes "There are many places that are comfortable or uncomfortable in this world. However Knights must";
						mes "be able to survive anywhere.";
						next;
						break;
					case 2:
						mes "[Sir Gray]";
						mes "There are many similar Knights outside in the world. Think of them as your seniors and ask many questions.";
						next;
						break;
					case 3:
						set @knight_t, @knight_t + 15;
						mes "[Sir Gray]";
						mes "Oh no. Do you hold wealth as a priority of being a Knight? We're not meant to be that way. Come again when you have thought";
						mes "more about it...";
						next;
						break;
					}
				}
				mes "[Sir Gray]";
				mes "Oh no, we've been";
				mes "talking too much...";
				mes "I apologize for";
				mes "keeping you here";
				mes "for so long.";
				next;
				if (@knight_t == 0) {
					set KNGHT_Q,14;
					mes "[Sir Gray]";
					mes "I enjoyed talking with you. You remind me of myself as a young recruit. Shall we talk to the captain and decide on your";
					mes "job change?";
					next;
					mes "[Sir Gray]";
					mes "Don't worry too";
					mes "much, I have a very";
					mes "high opinion of you.";
					mes "Now, go~";
					close2;
				}
				if (@knight_t == 5) {
					set KNGHT_Q,14;
					mes "[Sir Gray]";
					mes "I enjoyed speaking with you. You can think about the principles of Knighthood more once you become a Knight.";
					next;
					mes "[Sir Gray]";
					mes "Then, shall we go to the captain and decide on your job change? Don't worry too much. You are good enough to be a Knight!";
					close;
				}
				if (@knight_t == 10) {
					set KNGHT_Q,14;
					mes "[Sir Gray]";
					mes "I enjoyed talking with you. Although, there were some";
					mes "things that bothered me...";
					next;
					mes "[Sir Gray]";
					mes "You should go";
					mes "to the captain";
					mes "so we can decide";
					mes "on your job change.";
					next;
					mes "[Sir Gray]";
					mes "Don't worry too much, coming to take my test means the others have acknowledged you as well.";
					mes "Go now...!";
					close;
				}
				set KNGHT_Q,13;
				mes "[Sir Gray]";
				mes "Conversing";
				mes "with young ones";
				mes "is always enjoyable...";
				next;
				mes "[Sir Gray]";
				mes "But it seems as though your dream is elsewhere, or that your focus is hazy. Spend more time as a Swordman, and come back";
				mes "to me later.";
				next;
				mes "[Sir Gray]";
				mes "If you truly wish to become a Knight, you must change your outlook first. Then, we shall see.";
				close;
			case 2:
				mes "[Sir Gray]";
				mes "Take care!";
				mes "Health is";
				mes "every man's";
				mes "treasure!";
				close;
			}
		}
		if (KNGHT_Q == 14) {
			mes "[Sir Gray]";
			mes "I told you";
			mes "to go to";
			mes "the captain.";
			next;
			mes "[Sir Gray]";
			mes "Everyone will";
			mes "carefully make";
			mes "their decision,";
			mes "so go now!";
			close;
		}
		mes "[Sir Gray]";
		mes "Oh...";
		mes "A young Swordman.";
		mes "What can I do for you?";
		next;
		switch (select("I would like to take the test to change jobs.:Oh, nothing.")) {
		case 1:
			mes "[Sir Gray]";
			mes "Hoho~";
			mes "There are many";
			mes "other younger";
			mes "Knights in here.";
			next;
			mes "[Sir Gray]";
			mes "If you talk";
			mes "to all of them,";
			mes "I may review";
			mes "you as well.";
			close;
		case 2:
			mes "[Sir Gray]";
			mes "Take care!";
			mes "Health is";
			mes "every man's";
			mes "treasure!";
			close;
		}
	}
}