summaryrefslogtreecommitdiff
path: root/npc/jobs/2-2/sage.txt
blob: 38d128d11fba74d557cac9d9f2b52560c254b69e (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
//===== eAthena Script ======================================= 
//= Sage Job Quest
//===== By: ==================================================
//= jAthena (1.0) - I guess
//= Unknown Translator (2.0)
//= Darkchild (3.0)
//===== Current Version: ===================================== 
//= 3.0
//===== Compatible With: ===================================== 
//= eAthena 1.0 +
//===== Description: ========================================= 
//= Sage job quest based off of official servers.
//===== Additional Comments: ================================= 
//= Script mostly based on translated jA script
//= Written test questions/answers weren't translated 100% corectly
//= So a lot of those are based upon mRO site and my own info
//= IF you by excident have (or can get) screenshots of these questions
//= Then PLEASE send them to Darkchild
//============================================================ 

//==================================
//Sage Castle
//==================================
yuno_in02.gat,38,61,4	script	Magic Academy Headmaster 	743,{
	if (Class == 16) goto L_Menu3_3;
	if (Class != 2) goto L_Menu2_1;
	if (job2nd_sage == 11) goto L_Menu3_1;
	if (job2nd_sage >= 3) goto L_Menu2_2;
	mes "[Keiron]";
	mes "All who appreciate the fine art";
	mes "of magic are welcome here.";
	mes "How can I help you?";
        next;
	menu "Change class to Sage",L_Menu1_1,"About the Sage class",-,"Just looking around",L_Menu1_2;
		mes "[Keiron]";
		mes "So you're interested in being a Sage?";
		mes "Well, I can't just make you one straight away.";
		next;
		mes "[Keiron]";
		mes "In order to become a Sage, you'll need to file an application for entry into the Shubaichul Magic Academy and take the placement test.";
		next;
		mes "[Keiron]";
		mes "Once you're placed, you'll need to complete coursework and finally write and defend a thesis.";
		next;
		mes "[Keiron]";
		mes "If you successfully complete the requirements, you'll be granted a Sage license.";
		next;
		mes "[Keiron]";
		mes "If you wish to apply, go see Mathias in the Shubaichul Magic Academy.";
		mes "Tell him I sent you.";
		close;
L_Menu1_1:
	mes "[Keiron]";
	mes "A Sage?";
	mes "Well...";
	mes "In order to change you way of living, you have to change your way of thinking.";
	next;
	mes "[Keiron]";
	mes "Sages actively contribute knowledge to the kingdom through rigorous research.";
	mes "They also help society through its worst problems.";
	mes "Just because you dress as a Sage doesn't mean you're a Sage.";
	next;
	mes "[Keiron]";
	mes "To become a Sage, please apply for entry into the Shubaichul Magic Academy.";
	mes "The admissions officer will explain the educational requirements.";
	close;
L_Menu1_2:
	mes "[Keiron]";
	mes "Excellent.  If you have some free time, why not peruse a a volume from our library?";
	mes "Our library is truly a bastion of knowledge.";
	next;
	mes "[Keiron]";
	mes "Of course, there is much that can't be learned from reading books, but it's a good start.";
	close;
L_Menu2_1:
	mes "[Keiron]";
	mes "We Sages do a lot of research about the world on our own,";
	mes "but to maximize our knowledge,";
	mes "we regularly form interdisciplinary research teams.";
	next;
	mes "[Keiron]";
	mes "You should talk to our Sages and share any research you may have been doing within your own profession.";
	close;
L_Menu2_2:
	mes "[Keiron]";
	mes "The road to becoming a Sage isn't easy.";
	mes "You need to have a strong dedication to mastering magic.";
	next;
	mes "[Keiron]";
	mes "You need to keep plugging away at that thesis.";
	mes "Good luck!";
	close;
L_Menu3_1:
	if (countitem(1550) >= 1) goto L_Menu3_2;
	mes "[Keiron]";
	mes "Where's your thesis?";
	mes "I'm eager to evaulate it.";
	next;
	mes "[Keiron]";
	mes "Did you forget it?";
	mes "In any case, please bring it post-haste.";
	close;
L_Menu3_2:
	mes "[Keiron]";
	mes "It looks like you have a thesis to present.  Let's have a look...";
	next;
	mes "[Keiron]";
	mes "Hmmm...";
	next;
	mes "[Keiron]";
	mes "Yes....";
	next;
	mes "[Keiron]";
	mes "Interesting...";
	next;
	mes "[Keiron]";
	mes "It's not stylistically";
	mes "cohesive, but your zeal for research is amply proven by your thesis.  I approve.";
	next;
	if(SkillPoint == 0) goto LCHANGE;
	mes "[Keiron]";
	mes "Well you are all set for the jobchange except for 1 thing!";
	mes "You have unused Skill Points!!!";
	mes "Please use those first!";
	close;
		
	LCHANGE:
	jobchange 16;
	mes "[Keiron]";
	mes "Congratulations!";
	mes "You're a Sage now.";
	mes "Don't let that passion for research ever be dampened.";
	next;
	mes "[Keiron]";
	mes "Keep your thesis around, since it may be useful in a publish-or-perish environment later on.";
	next;
	mes "[Keiron]";
	mes "Some day, you'll be a bastion of knowledge all by yourself!";
	close;
L_Menu3_3:
	mes "[Keiron]";
	mes "Hmmm?  What's up?";
	mes "Just because you're a Sage doesn't mean you should quit your studies.";
	next;
	mes "[Keiron]";
	mes "In order to maintain our role as the kingdom's gatherers and dissemenators of knowledge, we can never miss an opportunity to gather data.";
	close;
}

//===============================
//Biotech Lab
//===============================
yuno_in03.gat,244,31,3	script	Physics Professor	120,{
	if (Class == 16) goto L_Menu3_2;
	if (Class != 2) goto L_Menu1_1;
	if (job2nd_sage == 11) goto L_Menu3_1;
	if (job2nd_sage2 == 8) goto L_Menu2_1;
	if (job2nd_sage2 == 9) goto L_Menu2_3;
	if (job2nd_sage2 == 10) goto L_Menu2_5;
	if (job2nd_sage2 == 11) goto L_ThesisStart1;
	if (job2nd_sage == 9) goto L_Menu1_2;
	mes "[Ebeshi]";
	mes "What?";
	next;
	mes "[Ebeshi]";
	mes "Did you come to study under my guidance?";
	next;
	mes "[Ebeshi]";
	mes "Well, you need to enroll first.";
	mes "Heheheheh...";
	close;
L_Menu1_1:
	mes "[Ebeshi]";
	mes "Eh???????????????????????????????";
	next;
	mes "[Ebeshi]";
	mes "I don't think there's anything someone like you can learn from me.";
	next;
	mes "[Ebeshi]";
	mes "Are you disappointed?";
	mes "Hehehehe....";
	close;
L_Menu1_2:
	set job2nd_sage2,8;
	mes "[Ebeshi]";
	mes "Well, I'm glad to meet another fine student such as yourself.";
	next;
	mes "[Ebeshi]";
	mes "Aren't you excited that you're going to study under me?!";
	mes "Hehehehe....";
	next;
	mes "[Ebeshi]";
	mes "I hate to be intrusive, but could you get something for me before I start my class?";
	next;
	mes "[Ebeshi]";
	mes "I need ^3051FD30x Stone^000000 as part of the class materials.";
	mes "Can you get that?";
	next;
	mes "[Ebeshi]";
	mes "If you really want to get stones quick,";
	mes "you should look up a friendly thief to assist you!  Thanks for helping out.";
	close;
L_Menu2_1:
	if (countitem(7049) >= 30) goto L_Menu2_2;
		mes "[Ebeshi]";
		mes "Hey, what are you up to?";
		mes "Are you trying to slack off?";
		mes "Come on, set your eyes on the goal.";
		next;
		mes "[Ebeshi]";
		mes "I need ^3051FD30x Stone^000000 to proceed.";
		mes "With all the stones lying around,";
		mes "shouldn't they be easy to find?";
		close;
	L_Menu2_2:
		mes "[Ebeshi]";
		mes "Awesome!  You've got all the stones I need.";
		mes "Now, watch this!";
		next;
		mes "[Ebeshi]";
		mes "Abracadabra!!";
		next;
		mes "[Ebeshi]";
		mes "Abracadabra!!";
		next;
		mes "[Ebeshi]";
		mes "Abracadabra!!";
		next;
		delitem 7049,30;
		set job2nd_sage2,9;
		mes "[Ebeshi]";
		mes "You see that?";
		mes "I created three elemental stones!";
		next;
		mes "[Ebeshi]";
		mes "Pretty cool, don't you think?";
		mes "Have them for yourself!";
		next;
		getitem 991,1;
		getitem 993,1;
		getitem 992,1;
		mes "[Ebeshi]";
		mes "Now, for your next lesson, you need to synthesize some different kinds of arrows with those stones.";
		next;
		mes "[Ebeshi]";
		mes "Specifically...";
		mes "^3051FD50x Crystal Arrow^000000";
		mes "^3051FD50x Stone Arrow^000000";
		mes "^3051FD50x Wind Arrow^000000";
		next;
		mes "[Ebeshi]";
		mes "An archer friend can help you make the arrows.";
		mes "Give it a try!";
		close;
	L_Menu2_3:
		if ((countitem(1754) >= 50) && (countitem(1756) >= 50) && (countitem(1755) >= 50)) goto L_Menu2_4;
		mes "[Ebeshi]";
		mes "Hmmm?";
		mes "What did you do with those stones I gave you?";
		mes "You didn't sell them, I hope...";
		next;
		mes "[Ebeshi]";
                mes "You need to use them to make";
		mes "^3051FD50x Crystal Arrow^000000";
		mes "^3051FD50x Stone Arrow^000000";
		mes "^3051FD50x Wind Arrow^000000";
		mes "An archer friend can help you make the arrows.";
		close;
	L_Menu2_4:
		mes "[Ebeshi]";
		mes "You made the arrows!  Good job.";
		mes "Now, to continue with the lesson...";
		next;
		mes "[Ebeshi]";
		mes "This lesson covers the Elemental Affinity chapter in your textbook.";
		next;
		mes "[Ebeshi]";
		mes "The first affinity is really easy.";
		mes "Water magic is very effective against fire.";
		mes "It's easy to remember.";
		mes "All you need to remember is water being splashed on fire.";
		next;
		mes "[Ebeshi]";
		mes "Wind magic will decimate water-based monsters.";
		mes "Observe what happens when a lake is struck by lightning.";
		next;
		mes "[Ebeshi]";
		mes "Earth magic will crush wind-based monsters easily.";
		mes "Don't you build a house on a strong foundation to keep the wind away?";
		next;
		mes "[Ebeshi]";
		mes "Fire magic mercilessly scorches the earth.";
		mes "Won't a tree burn if a fire breaks out?";
		mes "Same with an earth-based monster.";
		next;
		mes "[Ebeshi]";
		mes "Do you understand?";
		mes "Here's some homework for next time...";
		next;
		delitem 1754,50;
		delitem 1756,50;
		delitem 1755,50;
		set job2nd_sage2,10;
		mes "[Ebeshi]";
		mes "Next time you come, bring ^3051FD1x Holy Water^000000.";
		mes "We'll need it for the lesson.";
		mes "It will be easy to acquire if you have contacts in the church.";
		close;
	L_Menu2_5:
		if (countitem(523) >= 1) goto L_Menu2_6;
		mes "[Ebeshi]";
		mes "Ooops!";
		mes "Did you forget about the item I asked you to bring?";
		next;
		mes "[Ebeshi]";
		mes "I need ^3051FD1x Holy Water^000000 for the lesson.";
		mes "Ask an Acolyte to help you make it.";
		mes "Hehehehe...";
		close;
	L_Menu2_6:
		mes "[Ebeshi]";
		mes "Alright, you have the Holy Water!";
		mes "Let's continue the lesson!";
		next;
		mes "[Ebeshi]";
		mes "Please take good notes about this part.";
		mes "It will be on the test.";
		next;
		mes "[Ebeshi]";
		mes "Water magic sucks against wind!";
		mes "Would a lightning bolt care if it was frozen?";
		mes "Heheheheh....";
		next;
		mes "[Ebeshi]";
		mes "Wind magic is totally useless against the earth.";
		mes "Will a tree suffer permanent damage if it's blown about?";
		next;
		mes "[Ebeshi]";
		mes "Earth magic is ineffective against fire.";
		mes "If you put some leaves on a fire, will the fire go out?";
		mes "No, just the opposite will happen.";
		next;
		mes "[Ebeshi]";
		mes "Fire won't do much against water.";
		mes "If you heat water, doesn't it just become more dangerous?";
		next;
		mes "[Ebeshi]";
		mes "That was a pretty informative lecture!";
		mes "You think so too, right?";
		next;
		delitem 523,1;
		set job2nd_sage2,11;
		mes "[Ebeshi]";
		mes "Now, you have enough knowledge to prepare a defensible thesis.";
		mes "Hehehehehe!";
		next;
		mes "[Ebeshi]";
		mes "To put the thesis together, you'll need:";
		mes "^3051FD1x Feather of Birds^000000 for your writing instrument.";
		mes "^3051FD1x Animal Skin^000000 for the pages.";
		mes "^3051FD1x Trunk^000000 to bind the pages.";
		mes "^3051FD1x Squid Ink^000000 for your ink.";
		mes "^3051FD1x Empty Bottle^000000 to store your ink.";
		next;
		mes "[Ebeshi]";
		mes "Come and see me once you've gotten all of these items together.";
		close;
	L_ThesisStart1:
		if ((countitem(916) >= 1) && (countitem(919) >= 1) && (countitem(1019) >= 1) && (countitem(1024) >= 1) && (countitem(713) >= 1)) goto L_ThesisStart2;
		mes "[Ebeshi]";
		mes "Hmmm?";
		mes "You can't forget important things like this!";
		next;
		mes "[Ebeshi]";
                mes "You need these items to start your thesis:";
		mes "^3051FD1x Feather of Birds^000000 for your writing instrument.";
		mes "^3051FD1x Animal Skin^000000 for the pages.";
		mes "^3051FD1x Trunk^000000 to bind the pages.";
		mes "^3051FD1x Squid Ink^000000 for your ink.";
		mes "^3051FD1x Empty Bottle^000000 to store your ink.";
		next;
		mes "[Ebeshi]";
		mes "Do you have some friends that might be able to help you gather the materials?";
		mes "That will make it a simple task!";
		close;
	L_ThesisStart2:
		delitem 916,1;
		delitem 919,1;
		delitem 1019,1;
		delitem 1024,1;
		delitem 713,1;
		mes "[Ebeshi]";
		mes "Alright...";
		mes "You need to write this yourself.";
		mes "I'm simply your research advisor!";
		mes "Hehehehe...";
		next;
		mes "......";
		next;
		mes "......";
		next;
		mes "......";
		next;
		mes "Elemental magic is divided into four types...";
			menu "...called Fire, Wind, Water, and Earth",L_ThesisMenu1_1,"...named Fire, Wind, Water, and Earth",L_ThesisMenu1_2,"...that oppose each other: Fire, Wind, Water, and Earth",L_ThesisMenu1_3;
		L_ThesisMenu1_1:
			mes "...called Fire, Wind, Water, and Earth";
			goto L_Thesis2;
		L_ThesisMenu1_2:
			mes "...named Fire, Wind, Water, and Earth";
			goto L_Thesis2;
		L_ThesisMenu1_3:
			mes "...that oppose each other: Fire, Wind, Water, and Earth";
			goto L_Thesis2;
		L_Thesis2:
			mes "Each attribute has certain properties.";
			menu "Wind conquers water...",L_ThesisMenu2_1,"Water douses fire...",L_ThesisMenu2_2,"Fire scorches Earth...",L_ThesisMenu2_3;
		L_ThesisMenu2_1:
			mes "Wind conquers Water and Earth attacks Wind";
			goto L_Thesis3;
		L_ThesisMenu2_2:
			mes "Water douses fire, while Wind zaps Water";
			goto L_Thesis3;
		L_ThesisMenu2_3:
			mes "Fire scorches Earth, and Water douses Fire.";
			goto L_Thesis3;
		L_Thesis3:
			menu "But weaknesses exist, too",L_ThesisMenu3_1,"You can customize your weapon element, also",L_ThesisMenu3_2,"Elemental affinity varies by monster type, also",L_ThesisMenu3_3;
		L_ThesisMenu3_1:
			mes "But weaknesses exist, too";
			goto L_Thesis4;
		L_ThesisMenu3_2:
			mes "You can customize your weapon element, also";
			goto L_Thesis4;
		L_ThesisMenu3_3:
			mes "Elemental affinity varies by monster type, also";
			goto L_Thesis4;
		L_Thesis4:
			menu "You need to be circumspect when facing monsters...",L_ThesisMenu4_1,"So, you should customize your weapon to the situation",L_ThesisMenu4_2,"Red Potions have a delicious strawberry flavor",L_ThesisMenu4_3;
		L_ThesisMenu4_1:
			mes "You need to be circumspect when facing monster with an unfamiliar affinity.";
			goto L_Thesis5;
		L_ThesisMenu4_2:
			mes "You should customize your weapon to the situation.";
			goto L_Thesis5;
		L_ThesisMenu4_3:
			mes "Red Potions have a delicious strawberry flavor.";
			goto L_Thesis5;
		L_Thesis5:
			next;
			menu "Eimi of Prontera is hot",L_ThesisMenu5_1,"I wonder how Red Potions are made",L_ThesisMenu5_2,"The complexity of magic exceeds man's capacity to learn",L_ThesisMenu5_3;
		L_ThesisMenu5_1:
			mes "Eimi of Prontera is hot.";
			goto L_Thesis6;
		L_ThesisMenu5_2:
			mes "I wonder how Red Potions are made.";
			goto L_Thesis6;
		L_ThesisMenu5_3:
			mes "The complexity of magic exceeds man's capacity to learn.";
			goto L_Thesis6;
		L_Thesis6:
			menu "The women in Morok are hot, too",L_ThesisMenu6_1,"Maybe it's a secret recipe",L_ThesisMenu6_2,"It's dangerous to depend on magic too much...",L_ThesisMenu6_3;
		L_ThesisMenu6_1:
			mes "The women in Morok are hot, too.";
			goto L_Thesis7;
		L_ThesisMenu6_2:
			mes "Maybe it's a secret recipe.";
			goto L_Thesis7;
		L_ThesisMenu6_3:
			mes "It's dangerous to depend on magic too much...";
			goto L_Thesis7;
		L_Thesis7:
			menu "I wish I had a Rabbit Headband",L_ThesisMenu7_1,"That taste of a White potion...",L_ThesisMenu7_2,"...if you want to stay safe. power...",L_ThesisMenu7_3;
		L_ThesisMenu7_1:
			mes "I wish I had a Rabbit Headband.";
			goto L_Thesis8;
		L_ThesisMenu7_2:
			mes "The taste of a White Potion...";
			goto L_Thesis8;
		L_ThesisMenu7_3:
			mes "...if you want to stay safe. power...";
			goto L_Thesis8;
		L_Thesis8:
			menu "That would make me happy",L_ThesisMenu8_1,"...is difficult to imagine",L_ThesisMenu8_2,"In the interest of a safe battle...",L_ThesisMenu8_3;
		L_ThesisMenu8_1:
			mes "That would make me happy.";
			goto L_Thesis9;
		L_ThesisMenu8_2:
			mes "...is difficult to imagine";
			goto L_Thesis9;
		L_ThesisMenu8_3:
			mes "In the interest of a safe battle...";
			goto L_Thesis9;
		L_Thesis9:
			menu "Rabbit Headbands make great Acolyte accessories",L_ThesisMenu9_1,"It makes me wonder if...",L_ThesisMenu9_2,"...you should bring along friends",L_ThesisMenu9_3;
		L_ThesisMenu9_1:
			mes "Rabbit Headbands make great Acolyte accessories.";
			goto L_Thesis10;
		L_ThesisMenu9_2:
			mes "It makes me wonder if...";
			goto L_Thesis10;
		L_ThesisMenu9_3:
			mes "...you should bring along friends.";
			goto L_Thesis10;
		L_Thesis10:
			menu "I wonder if a Knight could wear one, too",L_ThesisMenu10_1,"...people might drink them when they're not hurt",L_ThesisMenu10_2,"It's the responsible thing to do",L_ThesisMenu10_3;
		L_ThesisMenu10_1:
			mes "I wonder if a Knight could wear one, too.";
			next;
			goto L_ThesisEnd;
		L_ThesisMenu10_2:
			mes "...people might drink them when they're not hurt";
			next;
			goto L_ThesisEnd;
		L_ThesisMenu10_3:
			mes "It's the responsible thing to do.";
			next;
			goto L_ThesisEnd;
	L_ThesisEnd:
		mes "......";
		next;
		mes "......";
		next;
		mes "......";
		next;
		set job2nd_sage,11;
		getitem 1550,1;
		mes "[Ebeshi]";
		mes "Alright!";
		mes "You've finished!  It looks pretty good!";
		next;
		mes "[Ebeshi]";
		mes "You should take that to the Headmaster!";
		mes "He'll decide whether you graduate or not.";
		mes "Hehehehehe....";
		close;
L_Menu3_1:
	mes "[Ebeshi]";
	mes "What's up?  Did you forget something?!";
	next;
	mes "[Ebeshi]";
	mes "You should see the Headmaster and present your thesis so you can graduate!";
	close;
L_Menu3_2:
	mes "[Ebeshi]";
	mes "Good afternoon!";
	mes "It's good to meet other Sages and exchange information.";
	mes "Heheheheh!!";
	next;
	mes "[Ebeshi]";
	mes "Even though company is good sometimes, I need to continue my magical research!";
	next;
	mes "[Ebeshi]";
	mes "Do you want to continue your study here?";
	mes "Please feel free to talk to the other professors and read the literature here.";
	mes "Hehehehe!";
	close;
}

//==================================
//Monster Museum
//==================================

yuno_in03.gat,32,102,0	script	Biology Professor	755,{
	if (Class == 16) goto L_Menu5_4;
	if (Class != 2) goto L_Menu1_1;
	if (job2nd_sage == 11) goto L_Menu5_3;
	if ((job2nd_sage2 >= 1) && (job2nd_sage2 <= 3)) goto L_Menu3_1;
	if ((job2nd_sage2 >= 4) && (job2nd_sage2 <= 6)) goto L_Menu4_1;
	if (job2nd_sage2 == 7) goto L_Menu5_1;
	if (job2nd_sage == 8) goto L_Menu2_1;
	mes "[Lucias]";
	mes "I have a headache...";
	mes "I've got too many things going on at once!";
	next;
	mes "[Lucias]";
	mes "Of course, I'll teach people about biology even with a headache!";
	close;
L_Menu1_1:
	mes "[Lucias]";
	mes "Hmmm?  Are you just poking around?";
	next;
	mes "[Lucias]";
	mes "That's fine, but please don't touch anything.";
	mes "We keep dangerous bioagents in here!";
	next;
	mes "[Lucias]";
	mes "If you have information about rare monsters, we'll pay you handsomely.";
	close;
L_Menu2_1:
	mes "[Lucias]";
	mes "Oh, you've taken the placement test?";
	mes "I'm Lucias, a preeminent researcher in the biological sciences.";
	next;
	mes "[Lucias]";
	mes "What's your name, young one?";
	next;
	menu "I'm " + strcharinfo(0) + "!",-;
	mes "[Lucias]";
	mes "That's a nice name.";
	mes "Now, let me explain about our research objectives.";
	next;
	mes "[Lucias]";
	mes "My area of expertise is monsters.";
	mes "I'm sure that you've encountered and defeated many monsters by now.";
	mes "Am I right?";
	next;
		menu "You're quite right",-,"Well, not really...",L_Menu2_2;
		mes "[Lucias]";
		mes "Really?";
		mes "I hope your background knowledge is diverse.";
		mes "My class isn't a cakewalk by any means.";
		next;
		goto L_Menu2_3;
	L_Menu2_2:
//==================================
//If you respond negatively
		mes "[Lucias]";
		mes "You might be at a disadvantage.";
		mes "My coursework assumes a lot of background knowledge.";
		mes "My class wasn't designed to be a cakewalk...";
		next;
//==================================
L_Menu2_3:
	mes "[Lucias]";
	mes "So, shall we get started?";
	mes "You'll learn a lot in this class if you're vigilant.";
	next;
		set @sagerand,0;
		set @sagerand,rand(3);
		mes "[Lucias]";
		mes "So, first, you need to collect ";
		if (@sagerand == 1) goto L_Menu2_4;
		if (@sagerand == 2) goto L_Menu2_5;
		set job2nd_sage2,1;
		mes "^3051FD5x Tendons^000000";
		mes "^3051FD5x Nippers^000000";
		mes "^3051FD5x Sharp Scales^000000";
		next;
		goto L_Menu2_6;
	L_Menu2_4:
		set job2nd_sage2,2;
//==================================
//mes�����
		mes "^3051FD5x Clam Flesh^000000";
		mes "^3051FD5x Nippers^000000";
		mes "^3051FD5x Heart of Mermaid^000000";
		next;
		goto L_Menu2_6;
	L_Menu2_5:
		set job2nd_sage2,3;
		mes "^3051FD5x Single Cells^000000";
		mes "^3051FD5x Tentacles^000000";
		mes "^3051FD5x Fish Tails^000000";
//==================================
		next;
	L_Menu2_6:
		mes "[Lucias]";
		mes "We'll continue once you've gathered those.";
		close;
L_Menu3_1:
	if ((countitem(1050) >= 5) && (countitem(960) >= 5) && (countitem(963) >= 5) && (job2nd_sage2 == 1)) goto L_Menu3_4;
	if ((countitem(966) >= 5) && (countitem(960) >= 5) && (countitem(950) >= 5) && (job2nd_sage2 == 2)) goto L_Menu3_4;
	if ((countitem(1052) >= 5) && (countitem(962) >= 5) && (countitem(1023) >= 5) && (job2nd_sage2 == 3)) goto L_Menu3_4;
	mes "[Lucias]";
	mes "You don't have the necessary items.";
	mes "Let me repeat what you need:";
	next;
		mes "[Lucias]";
		if (job2nd_sage2 == 2) goto L_Menu3_2;
		if (job2nd_sage2 == 3) goto L_Menu3_3;
		mes "^3051FD5x Tendon^000000";
		mes "^3051FD5x Nipper^000000";
		mes "^3051FD5x Sharp Scale^000000";
		close;
	L_Menu3_2:
		mes "^3051FD5x Clam Flesh^000000";
		mes "^3051FD5x Nipper^000000";
		mes "^3051FD5x Heart of Mermaid^000000";
		close;
	L_Menu3_3:
		mes "^3051FD5x Single Cell^000000";
		mes "^3051FD5x Tentacle^000000";
		mes "^3051FD5x Fish Tail^000000";
		close;
L_Menu3_4:
	mes "[Lucias]";
	mes "Well, you have the items, but I can't be sure if you bought them or collected them yourself.";
	next;
	mes "[Lucias]";
	mes "There is a similarity in the characteristics of the monsters that drop those items.";
	mes "Do you know what it is?";
	next;
		menu "Water element affinity",L_Menu3_5,"They're fish and shells",L_Menu3_5,"They were quite active",-,"They're monsters",-;
//==================================
		mes "[Lucias]";
		mes "...I'm disappointed in you.";
		mes "The correct answer is that all of the monsters have water element affinity.";
		mes "Monsters that live in an aquatic environment have evolved bodies adapted to that environment.";
//==================================
		next;
		goto L_Menu3_6;
	L_Menu3_5:
		mes "[Lucias]";
		mes "Right!";
		mes "Most aquatic monsters have water element affinity because they're adapted to their environment.";
		mes "Fish and shells evolved in a logical way.";
		next;
	L_Menu3_6:
		mes "[Lucias]";
		mes "Not every fish and shell has water element affinity, but you can count on it as a general rule.";
		mes "Now, which type of magic do you think would be most effective against them?";
		next;
		menu "Lightning Bolt",L_Menu3_7,"Firebolt",-,"Thunderstorm",L_Menu3_8,"Frost Deva",-;
//==================================
//mes�����
		mes "[Lucias]";
		mes "That's not correct.";
		mes "You need to use magic like Lightning Bolt or Thunderstorm.";
		mes "Check the elemental affinity matrix again.";
		next;
//==================================
		goto L_Menu3_9;
	L_Menu3_7:
		mes "[Lucias]";
		mes "Great!  That's right!";
		mes "Using Lightning Bolt is an easy way to victory.";
		next;
		mes "[Lucias]";
		mes "You need to be careful of monsters like the Penomeni and starfish because their attribute is different.";
		next;
		goto L_Menu3_9;
	L_Menu3_8:
		mes "[Lucias]";
		mes "Great!  That's right!";
		mes "Using Thunderstorm is an easy way to victory.";
		next;
		mes "[Lucias]";
		mes "You need to be careful of monsters like the Penomeni and starfish because their attribute is different.";
		next;
	L_Menu3_9:
		mes "[Lucias]";
		mes "Next, let's turn our attention to insectoid monsters.";
		next;
		set @sagerand,rand(3);
		mes "[Lucias]";
		mes "Next, you need to collect ";
		if (@sagerand == 1) goto L_Menu3_10;
		if (@sagerand == 2) goto L_Menu3_11;
		set job2nd_sage2,4;
		mes "^3051FD5x Cobweb^000000";
		mes "^3051FD5x Shell^000000";
		mes "^3051FD5x Insect Feeler^000000";
		next;
		goto L_Menu2_6;
	L_Menu3_10:
		set job2nd_sage2,5;
//==================================
//mes�����
		mes "^3051FD5x Moth Dust^000000";
		mes "^3051FD5x Snail's Shell^000000";
		mes "^3051FD5x Horn^000000";
		next;
		goto L_Menu2_6;
	L_Menu3_11:
		set job2nd_sage2,6;
		mes "^3051FD5x Mantis Leg^000000";
		mes "^3051FD5x Worm Peeling^000000";
		mes "^3051FD5x Rainbow Shell^000000";
//==================================
		next;
		goto L_Menu2_6;
L_Menu4_1:
	if ((countitem(1025) >= 5) && (countitem(935) >= 5) && (countitem(928) >= 5) && (job2nd_sage2 == 4)) goto L_Menu4_4;
	if ((countitem(1057) >= 5) && (countitem(946) >= 5) && (countitem(947) >= 5) && (job2nd_sage2 == 5)) goto L_Menu4_4;
	if ((countitem(1031) >= 5) && (countitem(955) >= 5) && (countitem(1013) >= 5) && (job2nd_sage2 == 6)) goto L_Menu4_4;
	mes "[Lucias]";
	mes "You forgot what you're supposed to gather?";
	mes "Listen carefully this time!  You need to gather:";
	next;
		mes "[Lucias]";
		if (job2nd_sage2 == 5) goto L_Menu4_2;
		if (job2nd_sage2 == 6) goto L_Menu4_3;
		mes "^3051FD5x Cobweb^000000";
		mes "^3051FD5x Shell^000000";
		mes "^3051FD5x Insect Feeler^000000";
		close;
	L_Menu4_2:
		mes "^3051FD5x Moth Dust^000000";
		mes "^3051FD5x Snail's Shell^000000";
		mes "^3051FD5x Horn^000000";
		close;
	L_Menu4_3:
		mes "^3051FD5x Mantis Leg^000000";
		mes "^3051FD5x Worm Peeling^000000";
		mes "^3051FD5x Rainbow Shell^000000";
		close;
L_Menu4_4:
	set job2nd_sage2,7;
	mes "[Lucias]";
	mes "Excellent.  You've done well.";
	mes "I hope you were also dilligent in observing your surroundings when you collected the items.";
	next;
	mes "[Lucias]";
	mes "With insects, you'll need to carefully consider which magic to use, since insects have affinity with a variety of elements.";
	next;
	mes "[Lucias]";
	mes "You should also be aware that Thief hiding and Assassin cloaking aren't effective against some insects.";
	next;
	mes "[Lucias]";
	mes "Insects can also act in groups.";
	mes "Often the insect bosses will have considerable numbers of subordinates.";
	next;
	mes "[Lucias]";
	mes "Ant Lord Maya...";
	mes "Queen Bee Mistress...";
	mes "Goblin Chief Goldfinger...";
	next;
	mes "[Lucias]";
	mes "If you face a boss monster alone, you had best prepare to die.";
	mes "You ought to take a group of friends to face these creatures down.";
	next;
	mes "[Lucias]";
	mes "Well, you've studied quite a bit.";
	mes "Now you need to write a thesis.";
	mes "You need some materials before you can begin writing it, however.";
	mes "They are:";
	next;
	mes "[Lucias]";
	mes "^3051FD1x Feather of Birds^000000 for your writing instrument.";
	mes "^3051FD1x Animal Skin^000000 for the pages.";
	mes "^3051FD1x Trunk^000000 to bind the pages.";
	mes "^3051FD1x Squid Ink^000000 for your ink.";
	mes "^3051FD1x Empty Bottle^000000 to store your ink.";
	next;
	mes "[Lucias]";
	mes "We can get started when you return.";
	close;
L_Menu5_1:
	if ((countitem(916) >= 1) && (countitem(919) >= 1) && (countitem(1019) >= 1) && (countitem(1024) >= 1) && (countitem(713) >= 1) && (job2nd_sage2 == 7)) goto L_Menu5_2;
	mes "[Lucias]";
	mes "You need to gather those items first.";
	mes "They are:";
	next;
	mes "[Lucias]";
	mes "^3051FD1x Feather of Birds^000000 for your writing instrument.";
	mes "^3051FD1x Animal Skin^000000 for the pages.";
	mes "^3051FD1x Trunk^000000 to bind the pages.";
	mes "^3051FD1x Squid Ink^000000 for your ink.";
	mes "^3051FD1x Empty Bottle^000000 to store your ink.";
	next;
	mes "[Lucias]";
	mes "You've done great so far.";
	mes "Just a little more and you can graduate.";
	close;
L_Menu5_2:
	delitem 916,1;
	delitem 919,1;
	delitem 1019,1;
	delitem 1024,1;
	delitem 713,1;
	mes "[Lucias]";
	mes "Looks like you have everything.";
	next;
	mes "[Lucias]";
	mes "Now, you need to write this yourself.";
	mes "I'm only taking an advisory role.";
	next;
	mes "[Lucias]";
	mes "Are you ready to begin?";
	mes "Let's see if you've acquired enough knowledge to write a coherent thesis.";
	next;
	mes "......";
	next;
	mes "......";
	next;
	mes "......";
	next;
	menu "Monsters come in different types",-;
	mes "Monsters come in different types.";
	menu "They have different elemental affinities",-;
	mes "They have different elemental affinities.";
	menu "If you know the monster's element beforehand...",-;
	mes "If you know the monster's element beforehand...";
	menu "...you can optimize your battle experience",-;
	mes "...you can optimize your battle experience";
	menu "You should especially be careful of...",-;
	mes "You should especially be careful of...";
	menu "...monsters with Holy and Darkness affinity",-;
	mes "...monsters with Holy and Darkness affinity";
	next;
	mes "......";
	next;
	mes "......";
	next;
	mes "......";
	next;
	set job2nd_sage,11;
	getitem 1550,1;
	mes "[Lucias]";
	mes "This is pretty good!";
	mes "I'm proud of you!";
	next;
	mes "[Lucias]";
	mes "Show this to the Headmaster and you'll be sure to graduate.";
	mes "Good luck.";
	close;
L_Menu5_3:
	mes "[Lucias]";
	mes "Hmmm?  What's the matter?";
	mes "You need to show your thesis to the Headmaster.";
	close;
L_Menu5_4:
	mes "[Lucias]";
	mes "Are you confused about something?";
	mes "I'm pretty busy, so you need to make an appointment a week in advance.";
	next;
	mes "[Lucias]";
	mes "Hahaha...Once you've been a Sage for awhile, you'll be saying the same thing.";
	next;
	mes "[Lucias]";
	mes "Also, if you have some spare time,";
	mes "you should head over to the dungeon and lie down on the floor.";
	mes "Look up and study the ceiling.";
	mes "You might learn something.";
	close;
}

//=================================
//Academy Interior
//=================================

yuno_in03.gat,154,35,4	script	Academy Staff	742,{
	if (Class == 16) goto L_Menu6_4;
	if (Class != 2) goto L_Menu1_1;
	if (job2nd_sage == 11) goto L_Menu6_3;
	if (job2nd_sage >= 4) goto L_Menu6_2;
	if (job2nd_sage == 3) goto L_Menu6_1;
	if (job2nd_sage == 2) goto L_Menu5_1;
	mes "[Mathias]";
	mes "Hello.";
	mes "This is the Shubaichul Magic Academy?";
	mes "You seem to be a Magician.";
	mes "How can I help you?";
	next;
	menu "Sage class-change information",-,"I want to apply for admission to the Academy",L_Menu3_1,"Forget it",L_Menu2;
		mes "[Mathias]";
		mes "You want to change class to Sage?";
		mes "I can't just change your class right here.";
		next;
		mes "[Mathias]";
		mes "You need to complete a program of rigorous coursework and research.";
		next;
		mes "[Mathias]";
		mes "Once you graduate from the academy,";
		mes "you can change class.";
		mes "In order to proceed, you need to pay tuition and take the placement test.";
		next;
		mes "[Mathias]";
		mes "Only those who have an ^3051FDOld Magic Book^000000 and a ^3051FDNecklace Of Wisdom^000000 can have tuition waived.";
		next;
		mes "[Mathias]";
		mes "Once you've paid the fee, you first take the placement test.";
		mes "If you score highly enough to be placed in our program, you then perform research according to your placement.";
		mes "Finally, you must prepare and defend a thesis.";
		next;
		mes "[Mathias]";
		mes "The Headmaster decides whether or not the thesis meets standards for graduation.";
		mes "If he approves, you can formally begin your career as a Sage.";
		next;
		mes "[Mathias]";
		mes "If you're interested, you need only file an application to get started.";
		mes "Have a good day.";
		close;
L_Menu2:
	mes "[Mathias]";
	mes "Oh?";
	mes "Are you hesitant?";
	mes "See you later, then.";
	close;
L_Menu1_1:
	mes "[Mathias]";
	mes "Welcome.";
	mes "This is Shubaichul Magic Academy.";
	next;
	mes "[Mathias]";
	mes "We do research on magic and monsters here.";
	mes "We also train fledgling Sages.";
	next;
	mes "[Mathias]";
	mes "Any Magician who is at or above class level 40 can apply for admission to the Academy.";
	mes "Once you complete our prescribed process for degree acquisition, you can become a Sage.";
	next;
	mes "[Mathias]";
	mes "Good bye.";
	close;
L_Menu3_1:
	mes "[Mathias]";
	mes "You want to apply?  Wonderful!";
	next;
	mes "[Mathias]";
	mes "In order to enter the Academy,";
	mes "you need to be a Magician of class level 40 or above.";
	mes "You will also need to pay tuition to cover instruction and materials.";
	next;
	mes "[Mathias]";
	mes "Tuition is 70,000Zeny.";
	mes "If you have an ^3051FDOld Magic Book^000000 and a ^3051FDNecklace Of Wisdom^000000, the tuition fee will be waived.";
	next;
	mes "[Mathias]";
	mes "So, you would like to apply for admission?";
	next;
	menu "Yes, I would",L_Menu5_5,"Tuition is too expensive!",-,"I'll try again later",L_Menu3_2;
		mes "[Mathias]";
		mes "Well...we need the tuition money to cover instruction and materials...";
		next;
		menu "Isn't there another way?",-,"I'll try again later.",L_Menu3_2;
		set job2nd_sage,2;
		mes "[Mathias]";
		mes "Well...Perhaps there is.  I can lower the tuition to 30000 Zeny if you can bring us some materials we need for our research department:";
		next;
		mes "[Mathias]";
		mes "Specifically, we need:";
		mes "^3051FD50x Feather of Birds^000000";
		mes "^3051FD50x Fluff^000000";
		mes "^3051FD50x Clover^000000";
		mes "^3051FD50x Feathers^000000";
		next;
		mes "[Mathias]";
		mes "If you can get all that, I'll discount the fee to 30000 Zeny.";
		mes "Please do your best to collect them.";
		next;
		mes "[Mathias]";
		mes "Of course, you can also acquire 70000 Zeny instead of gathering the items if you wish.";
		next;
		mes "[Mathias]";
		mes "Please do your best to collect the items.";
		mes "See you later.";
		close;
	L_Menu3_2:
		mes "[Mathias]";
		mes "Oh, alright.";
		mes "Take your time.";
		mes "Thanks for stopping by.";
		close;
L_Menu5_1:
	mes "[Mathias]";
	mes "So, would you like to apply for admission?";
	next;
	if (JobLevel < 40) goto L_Menu5_9;
	if ((countitem(1006) >= 1) && (countitem(1007) >= 1)) goto L_Menu5_4;
	if (Zeny < 70000) goto L_Menu5_2;
		set Zeny,Zeny-70000;
		set job2nd_sage,3;
		mes "[Mathias]";
		mes "I see you have 70000 Zeny.";
		mes "I'll take that for tuition. You are now enrolled into the school.";
		next;
	L_Menu5_5:
		if (JobLevel < 40) goto L_Menu5_9;
		mes "[Mathias]";
		mes "We need your signature on this form to proceed.";
		mes "Please sign at the X.";
		next;
		menu "" + strcharinfo(0) + "",-;
		mes "[Mathias]";
		mes "Alright, so you're ";
		mes "" + strcharinfo(0) + ".";
		mes "That's a nice name.";
		next;
			if (JobLevel == 50) goto L_JobMax;
			if (job2nd_sage == 3) goto L_Menu5_6;
			if ((countitem(1006) >= 1) || (countitem(1007) >= 1)) goto L_Menu5_7;
			if (Zeny < 70000) goto L_Menu5_2;
			set Zeny,Zeny-70000;
			set job2nd_sage,3;

			mes "[Mathias]";
		        mes "I see you have 70000 Zeny.";
		        mes "I'll take that for tuition.";
			mes "You are now enrolled into the school.";
			next;

		L_Menu5_6:
			mes "[Mathias]";
			mes "First, you need to take the placement test from Professor Kreitos.";
			next;
			mes "[Mathias]";
			mes "Professor Kreitos is in the Academy library.";
			mes "It's on the far left side of the building.";
			next;
			mes "[Mathias]";
			mes "Good luck on the test.";
			close;
		L_JobMax:
			set job2nd_sage,3;
			mes "[Mathias]";
			mes "You've trained yourself up to the maximum class level for Magicians!";
			mes "In that case, I'll give you a full scholarship!";
			next;
			mes "[Mathias]";
			mes "Now, all you need to do is go take the placement test.";
			next;
			mes "[Mathias]";
			mes "Go see Professor Kreitos in the library on the far left side of the building.";
			close;
	L_Menu5_2:
		if (job2nd_sage != 2) goto L_Menu5_8;
		if ((countitem(916) >= 50) && (countitem(914) >= 50) && (countitem(949) >= 50) && (countitem(705) >= 50)) goto L_Menu5_3;
		mes "[Mathias]";
		mes "You don't seem to have the materials yet.";
		next;
		mes "[Mathias]";
		mes "You need to gather:";
		mes "^3051FD50x Feather of Birds^000000";
		mes "^3051FD50x Fluff^000000";
		mes "^3051FD50x Clover^000000";
		mes "^3051FD50x Feathers^000000";
		next;
		mes "[Mathias]";
		mes "If you can get all that, I'll discount the fee to 30000 Zeny.";
		mes "Please do your best to collect them.";
		close;
	L_Menu5_3:
//==================================
//mes�����
		if (Zeny < 30000) goto L_Menu5_8;
		delitem 916,50;
		delitem 914,50;
		delitem 705,50;
		delitem 949,50;
		set Zeny,Zeny-30000;
		set job2nd_sage,3;
		mes "[Mathias]";
		mes "It seems like you have the materials I asked for and 30000 Zeny.";
		mes "Congratulations.";
		mes "You're now enrolled in the Academy.";
		set job2nd_sage,3;
		next;
		goto L_Menu5_5;
	L_Menu5_4:
		delitem 1006,1;
		delitem 1007,1;
		set job2nd_sage,3;
		mes "[Mathias]";
		mes "Oh, you have the special items.";
		mes "I'll accept those in lieu of tuition.";
		next;
		goto L_Menu5_5;
	L_Menu5_7:
		delitem 1006,1;
		delitem 1007,1;
		set job2nd_sage,3;
		mes "[Mathias]";
		mes "Oh, you have the special items.";
		mes "I'll accept those in lieu of tuition.";
		next;
		goto L_Menu5_6;
	L_Menu5_8:
		mes "[Mathias]";
		mes "You don't seem to have enough money.";
		mes "Please earn some money and return here.";
		close;
	L_Menu5_9:
		mes "[Mathias]";
		mes "Your class level is too low.";
		mes "Complete some more training and return here.";
		close;
//==================================
L_Menu6_1:
	mes "[Mathias]";
	mes "Hmmm?  Did you forget what you need to do next?";
	mes "Head over and see Professor Kreitos on the left side of the building.";
	close;
L_Menu6_2:
	mes "[Mathias]";
	mes "Oh, forgive me.  I have so much to do that I can't help you at the moment.";
	mes "Again, I apologize...";
	close;
L_Menu6_3:
	mes "[Mathias]";
	mes "Oh!  Did you finish your thesis?";
	mes "You need to see Headmaster Keiron so he can evaluate it.";
	next;
	mes "[Mathias]";
	mes "If he approves, you can graduate!";
	mes "Good luck.";
	close;
L_Menu6_4:
	mes "[Mathias]";
	mes "Welcome, colleague.";
	mes "How is your research coming along?";
	next;
	mes "[Mathias]";
	mes "In order to be a truly great researcher, you need to supplement your book-based research with encounters with real monsters.";
	next;
	mes "[Mathias]";
	mes "If you know others with what it takes to become a Sage, please send them here.";
	mes "Give my regards to my other colleagues, also.";
	close;
}

yuno_in03.gat,169,180,4	script	Test Professor	755,{
	if (Class == 16) goto L_Menu4_5;
	if (Class != 2) goto L_Menu1_1;
	if (job2nd_sage == 5) goto L_Menu2_1;
	if (job2nd_sage == 6) goto L_Menu2_3;
	if (job2nd_sage == 7) goto L_Menu3_1;
	if (job2nd_sage == 8) goto L_Menu4_1;
	if (job2nd_sage == 9) goto L_Menu4_2;
	if (job2nd_sage == 11) goto L_Menu4_4;
	mes "[Hermes]";
	mes "Hello, I'm Hermes.  I am part of the skill testing staff.";
	mes "Are you a Sage candidate?";
	next;
	if (job2nd_sage == 3) goto L_Menu1_2;
	if (job2nd_sage >= 3) goto L_Menu1_2;
	mes "[Hermes]";
	mes "Oh, alright.";
	mes "First you need to enroll and take the placement test.";
	close;
L_Menu1_1:
	mes "[Hermes]";
	mes "This is Shubaichul Magic Academy.";
	next;
	mes "[Hermes]";
	mes "There are Sages that are less magicians than researchers.";
	mes "Having a party supporting this kind of person is extremely important.";
	next;
	mes "[Hermes]";
	mes "Keep supporting your party to the best of your ability.";
	mes "That's all you need to do.";
	close;
L_Menu1_2:
	mes "[Hermes]";
	mes "You need to take the placement test from Kreitos before you can take my test.";
	close;
L_Menu2_1:
	set job2nd_sage,6;
	mes "[Hermes]";
	mes "Oh?  You took and passed the placement test?";
	mes "Now you need to take the skill test from me.";
	next;
	mes "[Hermes]";
	mes "The rules for the skill test are simple.";
	mes "You need to kill all the monsters within the prescribed time limit.";
	next;
	mes "[Hermes]";
	mes "There's an old proverb that one experience is worth a hundred words, so why not try it once?";
	next;
	menu "Sounds good",-,"I'm not ready yet",L_Menu2_2;
		mes "[Hermes]";
		mes "Well, let's get started.";
		mes "Do your best!";
		next;
		warp "job_sage",50,154;
		end;
	L_Menu2_2:
		mes "[Hermes]";
		mes "Okay.";
		mes "Please prepare quickly.";
		close;
L_Menu2_3:
	mes "[Hermes]";
	mes "Are you ready to take the skill test?";
	mes "It's not too tough.";
	next;
	mes "[Hermes]";
	mes "How about it?";
	next;
	menu "Sounds good",-,"I'm not ready yet",L_Menu2_2;
		mes "[Hermes]";
		mes "Well, let's get started.";
		mes "Do your best!";
		next;
		warp "job_sage",50,154;
		next;
		warp "job_sage",50,154;
		end;
L_Menu3_1:
	mes "[Hermes]";
	mes "Good job!  You passed";
	mes "the skill test!  Now you can proceed to the research phase!";
	next;
	mes "[Hermes]";
	mes "Before I decide your research concentration, let's look at your score on the placement test and the amount of time you spent in the skill test.";
	next;
	mes "[Hermes]";
	mes "Hmmm...";
	mes "Looking good.";
	next;

//It's not clear how the script decides

	if (sagecheck >= 12) goto L_Menu3_2;
	set job2nd_sage,8;
	mes "[Hermes]";
	mes "It looks like monster research would be your best bet.";
	next;
	mes "[Hermes]";
	mes "In order to gain the necessary information to put together a coherent research paper,";
	mes "you should take the biology course from Professor Lucias.";
	next;
	goto L_Menu3_4;
L_Menu3_2:
	set job2nd_sage,9;
	mes "[Hermes]";
	mes "It looks like we have a budding elemental magic researcher here.";
	mes "This field is fundamental to the advancement of magical knowledge.";
	next;
	mes "[Hermes]";
	mes "You need to take a course from Professor Ebeshi in the biotech lab to gain a deeper understanding of elemental magic.";
	next;
L_Menu3_4:
	mes "[Hermes]";
	mes "I hope the coursework goes well.";
	close;
L_Menu4_1:
	mes "[Hermes]";
	mes "Weren't you listening?";
	mes "You need to see Professor Lucias so you can begin your study of monster biology.";
	close;
L_Menu4_2:
	mes "[Hermes]";
	mes "Weren't you listening?";
	mes "You need to see Professor Ebeshi so you can begin your study of elemental magic.";
	close;
L_Menu4_4:
	mes "[Hermes]";
	mes "Great job on completing your thesis, but you need to show it to the Headmaster.";
	mes "He's the one who will judge whether or not you graduate.";
	close;
L_Menu4_5:
	mes "[Hermes]";
	mes "How are you?";
	mes "Your face reveals that you've endured a lot of stress lately.";
	next;
	mes "[Hermes]";
	mes "As stressful as hands-on research is,";
	mes "it is still fundamentally different from research using abstract concepts.";
	next;
	mes "[Hermes]";
	mes "Of course, if you go to difficult dungeons,";
	mes "there's no shame in bringing a friend or five to help you out.";
	close;
}

yuno_in03.gat,62,176,3	script	History Professor	109,{
	if (Class == 16) goto L_Menu2_2;
	if (Class != 2) goto L_Menu1_1;
	if (job2nd_sage == 11) goto L_Menu2_1;
	mes "[Sapien]";
	mes "You don't seem sure of your intended direction of study.";
	mes "Perhaps you should consider it...";
	close;
L_Menu1_1:
	mes "[Sapien]";
	mes "Yes, I teach history.";
	next;
	mes "[Sapien]";
	mes "As the present fades into memory, it becomes the past.";
	mes "The kwoledge we have acquired in the past is the bridge between the present and the future.";
	next;
	mes "[Sapien]";
	mes "You should study your own past, too.";
	mes "By understanding what's happened to you already,";
	mes "you can blaze a trail into the future unhindered by unresolved problems.";
	close;
L_Menu2_1:
	mes "[Sapien]";
	mes "What are you doing?";
	mes "Hurry up and show the Headmaster your thesis before you lose it!";
	close;
L_Menu2_2:
	mes "[Sapien]";
	mes "Yes...?";
	mes "Ah, it's a former student here.";
	mes "Congratulations on graduating.";
	next;
	mes "[Sapien]";
	mes "The present can only be understood by understanding the past.";
	mes "Such understanding allows us to envision our future.";
	next;
	mes "[Sapien]";
	mes "You should study your own past, too.";
	mes "By understanding what's happened to you already,";
	mes "you can blaze a trail into the future unhindered by unresolved problems.";
	close;
}

yuno_in03.gat,105,177,4	script	Placement Test Professor	754,{
	if (Class == 16) goto L_Menu3_4;
	if (Class != 2) goto L_Menu1_1;
	if (job2nd_sage == 11) goto L_Menu3_3;
	if (job2nd_sage >= 6) goto L_Menu3_2;
	if (job2nd_sage == 3) goto L_Menu1_2;
	if (job2nd_sage == 4) goto L_Menu2_1;
	if (job2nd_sage == 5) goto L_Menu3_1;
	mes "[Kreitos]";
	mes "You have that look in your eye...";
	mes "You want to be a Sage, I take it.";
	next;
	mes "[Kreitos]";
	mes "You need to formally enroll in the Academy before I can help you any further.";
	close;
L_Menu1_1:
	mes "[Kreitos]";
	mes "Oh, you're not interested in our brand of magic?";
	mes "That's alright...";
	next;
	mes "[Kreitos]";
	mes "Anyone who teaches others and has a good heart is of value to society.";
	mes "Please keep that in mind.";
	close;
L_Menu1_2:
	set job2nd_sage,4;
	set sagecheck,10;
	mes "[Kreitos]";
	mes "It looks like you've enrolled in the Shubaichul Magic Academy.";
	mes "Is that right?";
	next;
	mes "[Kreitos]";
	mes "So, let me find your paperwork...";
	mes "You're " + strcharinfo(0) + ",";
	mes "right?";
	mes "Let's start the placement test.";
	next;
		mes "[Kreitos]";
		mes "This test consists of twenty questions concerning the entire world.";
		mes "If you score at least 80 points, you'll be placed in our program.";
		mes "Each correct answer is worth 5 points.";
		next;
		mes "[Kreitos]";
		mes "If you cancel, you'll have to start over, so be careful.";
		next;
		goto L_Menu2_2;
	L_Menu2_1:
		mes "[Kreitos]";
		mes "Are you ready to try again?";
		mes "Have you studied hard?";
		next;
		mes "[Kreitos]";
		mes "The passing grade is as before.";
		mes "You need to score 80 points, with each question being worth 5 points.";
		next;
		mes "[Kreitos]";
		mes "So, let's get started.";
		mes "Give it your best effort.";
		mes "As before, if you cancel,";
		mes "you'll have to start over.";
		next;
	L_Menu2_2:
		set @sage_test2,0;
		set @sage_test1,rand(3);
		if (@sage_test1 == 1) goto L_Test2_1;
		if (@sage_test1 == 2) goto L_Test3_1;

//==================================
//Written Test: Route 1.
//==================================
			mes "1. Which one isn't sold in Morocc's jewel shop?";
			next;
			menu "Topaz",L_Test1_1,"Garnet",-,"Diamond",L_Test1_1,"Sapphire",L_Test1_1;
			set @sage_test2,@sage_test2+5;
			goto L_Test1_1;
		L_Test1_1:
			mes "2. In which town can you not buy monster food?";
			next;
			menu "Prontera",L_Test1_2,"Morocc",L_Test1_2,"Aldebaran",-,"Alberta",L_Test1_2;
			set @sage_test2,@sage_test2+5;
		L_Test1_2:
			mes "3. Which town is closest to the forest maze?";
			next;
			menu "Prontera",-,"Morocc",L_Test1_3,"Geffen",L_Test1_3,"Payon",L_Test1_3;
			set @sage_test2,@sage_test2+5;
		L_Test1_3:
			mes "4. Which of these monsters is of a different race than the other three?";
			next;
			menu "Muka",L_Test1_4,"Drops",L_Test1_4,"Plankton",L_Test1_4,"Penomena",-;
			set @sage_test2,@sage_test2+5;
		L_Test1_4:
			mes "5.  All these monsters except one have the same elemental affinity.";
			mes "Which one has the different affinity?";
			next;
			menu "Dokebi",L_Test1_5,"Isis",L_Test1_5,"Giearth",-,"Deviruchi",L_Test1_5;
			set @sage_test2,@sage_test2+5;
		L_Test1_5:
			mes "6. Which one differs in approximate size from the others?";
			next;
			menu "Male Thief Bug",L_Test1_6,"Horn",L_Test1_6,"Metaller",L_Test1_6,"Argos",-;
			set @sage_test2,@sage_test2+5;
		L_Test1_6:
			mes "7.  Which of these monsters doesn't drop the Iggydrasil leaf?";
			next;
			menu "Marduk",-,"Baphomet Jr.",L_Test1_7,"Angeling",L_Test1_7,"Wander Man",L_Test1_7;
			set @sage_test2,@sage_test2+5;
		L_Test1_7:
			mes "8.  Which of these people isn't related to someone who can perform a class change to priest?";
			next;
			menu "Peter S. Alberto",-,"Thomas Bishop",L_Test1_8,"Windser Banedict",L_Test1_8,"Sesil Magrita",L_Test1_8;
			set @sage_test2,@sage_test2+5;
		L_Test1_8:
			mes "9. Which doesn't live in Morocc?";
			next;
			menu "Muda Armani",L_Test1_9,"Aragham",L_Test1_9,"Antonio",-,"Abldul",L_Test1_9;
			set @sage_test2,@sage_test2+5;
		L_Test1_9:
			mes "10.  Which Kapra has the pretty blue hair?";
			next;
			menu "Pavianne",-,"Debril",L_Test1_10,"Claris",L_Test1_10,"Tayelin",L_Test1_10;
			set @sage_test2,@sage_test2+5;
		L_Test1_10:
			mes "11.  Which one isn't necessary to unlock the Fire Wall skill?";
			next;
			menu "Firebolt Lv4",L_Test1_11,"Napalm Beat Lv4",-,"Fireball Lv5",L_Test1_11,"Sight Lv1",L_Test1_11;
			set @sage_test2,@sage_test2+5;
		L_Test1_11:
			mes "12.  When the skill 'SP Restoration Lv6' is active, how much SP does the skill restore every ten seconds?";
			next;
			menu "14 sp",L_Test1_12,"16 sp",L_Test1_12,"18 sp",-,"21 sp",L_Test1_12;
			set @sage_test2,@sage_test2+5;
		L_Test1_12:
			mes "13. If you are a magician with job lv. 33, how many additional stat points will you get for int?";
			next;
			menu "7",L_Test1_13,"6",L_Test1_13,"5",L_Test1_13,"4",-;
			set @sage_test2,@sage_test2+5;
		L_Test1_13:
			mes "14.  If the Archer skill 'Concentration Up Lv5' is active, how much SP will it consume?";
			next;
			menu "45 / 140sec",-,"50 / 140sec",L_Test1_14,"45 / 150sec",L_Test1_14,"50 / 150sec",L_Test1_14;
			set @sage_test2,@sage_test2+5;
		L_Test1_14:
			mes "15. Which one isn't necessary to unlock the Blacksmith skill 'Maximize Power'?";
			next;
			menu "Hilt Bending",L_Test1_15,"Skin Tempering",-,"Hammer Fall",L_Test1_15,"Weapon Perfection",L_Test1_15;
			set @sage_test2,@sage_test2+5;
		L_Test1_15:
			mes "16. What is the defense power and supplemental ability of a Ribbon?";
			next;
			menu "0 / SP +20",L_Test1_16,"0 / SP +30",L_Test1_16,"1 / SP +20",-,"1 / SP +30",L_Test1_16;
			set @sage_test2,@sage_test2+5;
		L_Test1_16:
			mes "17. Which class can't equip a Saint Robe?";
			next;
		//Swordsmen can't equip it either as of this writing.
			menu "Swordsman",-,"Merchant",L_Test1_17,"Thief",-,"Acolyte",L_Test1_17;
			set @sage_test2,@sage_test2+5;
		L_Test1_17:
			mes "18. Which status ailment can't be removed with a Green Potion?";
			next;
			menu "Mute",L_Test1_18,"Poison",L_Test1_18,"Blind",L_Test1_18,"Cursed",-;
			set @sage_test2,@sage_test2+5;
		L_Test1_18:
			mes "19. What is the name of the ancient kingdom from which Geffen descends?";
			next;
			menu "Gefin",L_Test1_19,"Geffenia",-,"Gefdoria",L_Test1_19,"Gefria",L_Test1_19;
			set @sage_test2,@sage_test2+5;
		L_Test1_19:
			mes "20. Which tree is said to be the world's root?";
			next;
			menu "Igg Drasil",-,"Idrasil",L_Menu2_3,"Master",L_Menu2_3,"Old Tree",L_Menu2_3;
			set @sage_test2,@sage_test2+5;
			goto L_Menu2_3;
	//==================================
	//Written Test: Route 2.
	//==================================
		L_Test2_1:
			mes "1. Which isn't sold in Geffen's magic shop?";
			next;
			menu "Mantle",-,"Wand",L_Test2_2,"Circlet",L_Test2_2,"Silver Robe",L_Test2_2;
			set @sage_test2,@sage_test2+5;
		L_Test2_2:
			mes "2. Which town doesn't sell blades?";
			next;
			menu "Prontera",L_Test2_3,"Izlude",L_Test2_3,"Aldebaran",-,"payon",L_Test2_3;
			set @sage_test2,@sage_test2+5;
		L_Test2_3:
			mes "3. Which town is nearest to Glast Heim?";
			next;
			menu "Prontera",L_Test2_4,"Geffen",-,"Morocc",L_Test2_4,"Payon",L_Test2_4;
			set @sage_test2,@sage_test2+5;
		L_Test2_4:
			mes "4.  Which monster's type differs from the other three?";
			next;
			menu "Aster",L_Test2_5,"Marc",L_Test2_5,"Marse",L_Test2_5,"Marin",-;
			set @sage_test2,@sage_test2+5;
		L_Test2_5:
			mes "5. Which monster's elemental affinity is different from the others?";
			next;
			menu "Desert Wolf Babe",L_Test2_6,"Smokie",-,"Picky",L_Test2_6,"Choco",L_Test2_6;
			set @sage_test2,@sage_test2+5;
		L_Test2_6:
			mes "6. Which monster is in a different size class than the others?";
			next;
			menu "Drake",-,"Wraith",L_Test2_7,"Evil Druid",L_Test2_7,"Khalitzburg",L_Test2_7;
			set @sage_test2,@sage_test2+5;
		L_Test2_7:
			mes "7. Which monster doesn't drop Phracon?";
			next;
			menu "Pupa",L_Test2_8,"Condor",-,"Savage Baby",L_Test2_8,"Desert Wolf Babe",L_Test2_8;
			set @sage_test2,@sage_test2+5;
		L_Test2_8:
			mes "8. Who isn't involved in the Blacksmith class change?";
			next;
// =========================
// Acording To mRO Site And eAthena Blacksmith Script the following ppl looking like ppl listed here are:
// - Baisulitst - looks like some1 listed by mRO
// - Wickebine - mRO has him as option listed
// - Gromgast - mRO has him as option listed
// - Mitmayer - translator has him listed as option
// == Conclusion == I took the following:
// =========================
			menu "Baisulitst",L_Test2_9,"Wickebine",L_Test2_9,"Barkdale",-,"Mitmayer",L_Test2_9;
			set @sage_test2,@sage_test2+5;
		L_Test2_9:
			mes "9.  Who doesn't live in Aldebaran?";
			next;
			menu "RS125",L_Test2_10,"Maasaru",-,"Munster",L_Test2_10,"Isenberg",L_Test2_10;
			set @sage_test2,@sage_test2+5;
		L_Test2_10:
			mes "10. Who is the youngest person in the Kapra organization?";
			next;
			menu "Deflute",L_Test2_11,"Claris",L_Test2_11,"Tayelin",L_Test2_11,"Curly Sue",-;
			set @sage_test2,@sage_test2+5;
		L_Test2_11:
			mes "11. When you use the skill 'Safety Wall Lv6', how much SP is consumed and how many attacks will it block?";
			next;
			menu "SP 40, 6bl",L_Test2_12,"SP 35, 6bl",L_Test2_12,"SP 35, 7bl",L_Test2_12,"SP 40, 7bl",-;
			set @sage_test2,@sage_test2+5;
		L_Test2_12:
			mes "12. When you use 'Napalm Beat Lv6', what is the attack power relative to MATK?";
			next;
			menu "1.2x MATK",L_Test2_13,"1.3x MATK",-,"1.4x MATK",L_Test2_13,"1.5x MATK",L_Test2_13;
			set @sage_test2,@sage_test2+5;
		L_Test2_13:
			mes "13. Which one catalyzes the reaction of Liquid #4 during the Magician class change test?";
			next;
			menu "Blue Gemstone",L_Test2_14,"Red Gemstone",L_Test2_14,"Orange Gemstone",L_Test2_14,"Carat Diamond",-;
			set @sage_test2,@sage_test2+5;
		L_Test2_14:
			mes "14. What is the damage multiplier and SP consumption for 'Bash Lv6'?";
			next;
			menu "250% / 8",L_Test2_15,"280% / 8",L_Test2_15,"280% / 15",-,"310% / 15",L_Test2_15;
			set @sage_test2,@sage_test2+5;
		L_Test2_15:
			mes "15.  Which isn't necessary to unlock the Hunter skill 'Claymore Trap'?";
			next;
			menu "Remove Trap",-,"Land Mine",L_Test2_16,"Ankle Snare",L_Test2_16,"Flash",L_Test2_16;
			set @sage_test2,@sage_test2+5;
		L_Test2_16:
			mes "16. What is the defense power and supplemental ability of a Veil?";
			next;
			menu "0 / MDEF +3",L_Test2_17,"0 / MDEF +5",-,"1 / MDEF +3",L_Test2_17,"1 / MDEF +5",L_Test2_17;
			set @sage_test2,@sage_test2+5;
		L_Test2_17:
			mes "17.  Which class can't equip a Coat?";
			next;
			menu "Swordsman",L_Test2_18,"Magician",L_Test2_18,"Thief",L_Test2_18,"Novice",-;
			set @sage_test2,@sage_test2+5;
		L_Test2_18:
			mes "18. Which item isn't blue in color?";
			next;
			menu "Alcohol",L_Test2_19,"Detrimindexta",-,"Karvodailnirol",L_Test2_19,"Blue Herb",L_Test2_19;
			set @sage_test2,@sage_test2+5;
		L_Test2_19:
			mes "19. Which item did the god Odin use to create the world?";
			next;
//			menu "Yomir's Heart",L_Test2_20,"Yomir's Nail",-,"Yomir's Tooth",L_Test2_20,"Yomir's Stuff",L_Test2_20;
// All answers correct untill i know the real answer, only Stuff is wrong cause that NOT it
			menu "Yomir's Heart",-,"Yomir's Nail",-,"Yomir's Tooth",-,"Yomir's Stuff",L_Test2_20;
			set @sage_test2,@sage_test2+5;
		L_Test2_20:
			mes "20. Which metal can change the fate of the world?";
			next;
			menu "Envertacon",L_Menu2_3,"Emperium",-,"Enbera",L_Menu2_3,"Phracon",L_Menu2_3;
			set @sage_test2,@sage_test2+5;
			goto L_Menu2_3;
//==================================
//Written Test: Route 3.
//==================================
		L_Test3_1:
			mes "1.Which of these items isn't sold at Prontera's knicknack shop?";
			next;
			menu "White Plate",L_Test3_2,"Red Frame",L_Test3_2,"Flower",-,"Glass Ball",L_Test3_2;
			set @sage_test2,@sage_test2+5;
		L_Test3_2:
			mes "2. Which town doesn't sell stilettos?";
			next;
			menu "Prontera",-,"Morocc",L_Test3_3,"Gefen",L_Test3_3,"Lutie",L_Test3_3;
			set @sage_test2,@sage_test2+5;
		L_Test3_3:
			mes "3. Which town is closest to Turtle Island?";
			next;
			menu "Aldebaran",L_Test3_4,"Alberta",-,"Comodo",L_Test3_4,"Izlude",L_Test3_4;
			set @sage_test2,@sage_test2+5;
		L_Test3_4:
			mes "4. Which monster is of a different monster race than the other three?";
			next;
			menu "Raggler",L_Test3_5,"Pest",L_Test3_5,"Frilldora",L_Test3_5,"Aster",-;
			set @sage_test2,@sage_test2+5;
		L_Test3_5:
			mes "5. Which monster has a different elemental affinity than the other three?";
			next;
			menu "Mantis",L_Test3_6,"Metaller",-,"Rokker",L_Test3_6,"Horn",L_Test3_6;
			set @sage_test2,@sage_test2+5;
		L_Test3_6:
			mes "6. Which monster is in a different size class than the others?";
			next;
			menu "Raydric",-,"Raydric Archer",L_Test3_7,"Wander Man",L_Test3_7,"Dark Flame",L_Test3_7;
			set @sage_test2,@sage_test2+5;
		L_Test3_7:
			mes "7. Which monster doesn't drop alcohol?";
			next;
			menu "Horn",L_Test3_8,"Plankton",L_Test3_8,"Poison Spore",-,"Toad",L_Test3_8;
			set @sage_test2,@sage_test2+5;
		L_Test3_8:
			mes "8. Which isn't involved in the Knight class change?";
			next;
// =========================
// Acording To mRO Site And eAthena Knight Script the following ppl looking like ppl listed here
// =========================
			menu "James Syracuse",L_Test3_9,"Thomas Bishop",-,"Amy Veattris",L_Test3_9,"Edmond Groster",L_Test3_9;
			set @sage_test2,@sage_test2+5;
		L_Test3_9:
			mes "9. Which of these people doesn't live in Prontera?";
			next;
			menu "Nami",L_Test3_10,"Aldefun",-,"Thomas",L_Test3_10,"Hollengrhen",L_Test3_10;
			set @sage_test2,@sage_test2+5;
		L_Test3_10:
			mes "10. Which Kapra wears glasses?";
			next;
			menu "Deflute",L_Test3_11,"Tayelin",L_Test3_11,"Leilah",-,"Debril",L_Test3_11;
			set @sage_test2,@sage_test2+5;
		L_Test3_11:
			mes "11. How much SP does it cost to use 'Thunderstorm Lv7'?";
			next;
			menu "49",L_Test3_12,"59",-,"69",L_Test3_12,"74",L_Test3_12;
			set @sage_test2,@sage_test2+5;
		L_Test3_12:
			mes "12. If you have 50% of your SP left, how much damage will 'Energy Coat' block and how much SP will be consumed?";
			next;
			menu "24% blocked SP1.5% consumed",L_Test3_13,"24% blocked SP2% consumed",L_Test3_13,"18% blocked SP1.5% consumed",L_Test3_13,"18% blocked SP2% consumed",-;
			set @sage_test2,@sage_test2+5;
		L_Test3_13:
			mes "13. Which element cannot be used in bolt form by a Magician?";
			next;
			menu "Water",L_Test3_14,"Earth",-,"Fire",L_Test3_14,"Wind",L_Test3_14;
			set @sage_test2,@sage_test2+5;
		L_Test3_14:
			mes "14. When a thief has the skill 'Double Attack Lv7', what is the trigger probability and attack power multiplier?";
			next;
			menu "35% / 120%",L_Test3_15,"35% / 140%",-,"40% / 120%",L_Test3_15,"40% / 140%",L_Test3_15;
			set @sage_test2,@sage_test2+5;
		L_Test3_15:
			mes "15. Which of these isn't necessary to unlock the Priest skill 'Magnus Exorcism'?";
			next;
			menu "Divine Protection",-,"Heal",L_Test3_16,"Revive",L_Test3_16,"Aqua Benedicta",L_Test3_16;
			set @sage_test2,@sage_test2+5;
		L_Test3_16:
			mes "16. What is the defense power and supplemental ability of a Rabbit Headband?";
			next;
			menu "1 / LUK +2",L_Test3_17,"1 / LUK +5",L_Test3_17,"2 / LUK +2",-,"2 / LUK +5",L_Test3_17;
			set @sage_test2,@sage_test2+5;
		L_Test3_17:
			mes "17. Which class can't equip armor?";
			next;
			menu "Swordsman",L_Test3_18,"Merchant",L_Test3_18,"Thief",L_Test3_18,"Archer",-;
			set @sage_test2,@sage_test2+5;
		L_Test3_18:
			mes "18. Which item completely restores HP and SP?";
			next;
			menu "Royal Jelly",L_Test3_19,"Ig Drasil Seed",L_Test3_19,"Ig Drasil Fruit",-,"Master Fruit",L_Test3_19;
			set @sage_test2,@sage_test2+5;
		L_Test3_19:
			mes "19. What's the name of the king of Rune-Midgard?";
			next;
			menu "Trisdan III",L_Test3_20,"Tristan III",-,"Traisda III",L_Test3_20,"Trist III",L_Test3_20;
			set @sage_test2,@sage_test2+5;
		L_Test3_20:
			mes "20. Which god do Crusaders serve?";
			next;
			menu "Odin",-,"Loki",L_Menu2_3,"Tooru",L_Menu2_3,"Aragamsaree",L_Menu2_3;
			set @sage_test2,@sage_test2+5;
	L_Menu2_3:
		mes "[Kreitos]";
		mes "Are you finished?";
		mes "Alright, then I'll grade the test.";
		next;
		mes "[Kreitos]";
		mes "Hmmm...";
		mes "Yes....";
		next;
			if (@sage_test2 >= 100) goto L_Menu2_5;
			if (@sage_test2 < 80) goto L_Menu2_4;
			mes "[Kreitos]";
			mes "All done.";
			mes "You scored " + @sage_test2 + " points.";
			mes "Looking good.";
			mes "You've scored highly enough to pass.";
			next;
			goto L_Menu2_6;
		L_Menu2_4:
			set sagecheck,sagecheck-1;
			mes "[Kreitos]";
			mes "All done.";
			mes "You scored " + @sage_test2 + " points.";
			mes "......";
			mes "Sorry, that's not good enough.";
			next;
			mes "[Kreitos]";
			mes "We exepect our students to have command of much information about the world.";
			mes "Learn some more and come back.";
                        mes "You can take the test again then.";
			close;
 		L_Menu2_5:
			mes "[Kreitos]";
			mes "All done.";
			mes "You scored " + @sage_test2 + " points.";
			mes "Amazing.  You did wonderfully.";
			mes "There is no doubt you'll make a great Sage.";
			next;
		L_Menu2_6:
			set job2nd_sage,5;
			mes "[Kreitos]";
			mes "Alright.";
			mes "You've completed the placement test.";
			mes "Now you need to take the skill test from Professor Hermes.";
			close;
L_Menu3_1:
	mes "[Kreitos]";
	mes "Heh?";
	mes "Do you love tests so much that you want to take the placement test again?";
	next;
	mes "[Kreitos]";
	mes "Go see Professor Hermes and take the skill test.";
	mes "Future Sages can't be slacking off.";
	close;
L_Menu3_2:
	mes "[Kreitos]";
	mes "I'm busy grading other students' exams at the moment.";
	mes "If you need something, please see me later.";
	close;
L_Menu3_3:
	mes "[Kreitos]";
	mes "It's great that you finished your thesis, but I don't grade those.";
	next;
	mes "[Kreitos]";
	mes "Show that to Headmaster Keiron.";
	mes "He'll judge whether or not it's quality warrants your graduation.";
	close;
L_Menu3_4:
	mes "[Kreitos]";
	mes "You've graduated already?";
	mes "Do you want to take more classes?";
	next;
	mes "[Kreitos]";
	mes "I know it feels great to have graduated, but you've got to keep learning.";
	mes "You might burn out if you become complacent and never venture out of the library once in a while.";
	mes "Danger is exhilerating.";
	next;
	mes "[Kreitos]";
	mes "Don't forget to keep notes about your journies.";
	mes "They can come in handy when you want to teach others about a subject you've studied.";
	close;
}

//==================================
//Skill Test Room
//==================================
job_sage.gat	mapflag	nobranch	dummy
job_sage.gat	mapflag	noteleport	dummy
job_sage.gat	mapflag	nopenalty	dummy
job_sage.gat	mapflag	nosave	SavePoint

job_sage.gat,50,165,4	script	Skill Test Coordinator::jobsage_wroom	700,{
	mes "[Skill Test Coordinator]";
	mes "Welcome to the Sage skill test.";
	mes "Please go to the waiting area if you want to take the test.";
	next;
	mes "[Skill Test Coordinator]";
	mes "Others are being tested at the moment.";
	mes "When it's time for you to be tested, we'll call your name.";
	next;
	mes "[Skill Test Coordinator]";
	mes "It takes around 5-10 minutes to test one person.";
	close;
OnInit:
	waitingroom "Test Waiting Area",10,"jobsage_wroom::OnStart",1;
	end;
OnStart:
	disablewaitingroomevent;
	warpwaitingpc "job_sage.gat",118,99;
	set $@jobsage_pid,$@warpwaitingpc[0];
	if( attachrid($@jobsage_pid)==0 ) goto L_Error;
		set $@jobsage_pname$,strcharinfo(0);
		donpcevent "jobsage_1st::OnStart";
		end;
L_Error:
	enablewaitingroomevent;
	end;
OnEnable:
	enablewaitingroomevent;
	end;
}

//======== Test Step 1
job_sage.gat,1,1,1	script	jobsage_1st	-1,{
	end;
OnStart:
	set $@jobsage_m,16;
	monster "job_sage.gat",115,106,"Unit",1183,1,"jobsage_1st::OnKilled";
	monster "job_sage.gat",120,102,"Unit",1183,1,"jobsage_1st::OnKilled";
	monster "job_sage.gat",124,98,"Unit",1183,1,"jobsage_1st::OnKilled";
	monster "job_sage.gat",120,93,"Unit",1183,1,"jobsage_1st::OnKilled";
	monster "job_sage.gat",115,90,"Unit",1183,1,"jobsage_1st::OnKilled";
	monster "job_sage.gat",111,93,"Unit",1183,1,"jobsage_1st::OnKilled";
	monster "job_sage.gat",107,98,"Unit",1183,1,"jobsage_1st::OnKilled";
	monster "job_sage.gat",111,102,"Unit",1183,1,"jobsage_1st::OnKilled";
	monster "job_sage.gat",128,110,"Unit",1184,1,"jobsage_1st::OnKilled";
	monster "job_sage.gat",124,106,"Unit",1184,1,"jobsage_1st::OnKilled";
	monster "job_sage.gat",124,89,"Unit",1184,1,"jobsage_1st::OnKilled";
	monster "job_sage.gat",128,85,"Unit",1184,1,"jobsage_1st::OnKilled";
	monster "job_sage.gat",107,89,"Unit",1184,1,"jobsage_1st::OnKilled";
	monster "job_sage.gat",103,85,"Unit",1184,1,"jobsage_1st::OnKilled";
	monster "job_sage.gat",107,106,"Unit",1184,1,"jobsage_1st::OnKilled";
	monster "job_sage.gat",103,110,"Unit",1184,1,"jobsage_1st::OnKilled";
	initnpctimer;
	end;
OnReset:
	killmonster "job_sage.gat","All";
	end;
OnKilled:
	set $@jobsage_m,$@jobsage_m-1;
	if( $@jobsage_m > 0 )goto L_NotWin;
	if (getnpctimer(1,"jobsage_1st") < 60000 ) set sagecheck,sagecheck+1;
	if ((getnpctimer(1,"jobsage_1st") >= 120000 ) && (getnpctimer(1,"jobsage_1st") <= 170000 )) set sagecheck,sagecheck-1;
	if (getnpctimer(1,"jobsage_1st") > 170000 ) set sagecheck,sagecheck-2;
		stopnpctimer;
		mapannounce "job_sage.gat","Examiner: " + $@jobsage_pname$ + " killed all the monsters!",8;
		donpcevent "jobsage_2nd::OnStart";
	L_NotWin:
	end;
OnTimer1000:
	mapannounce "job_sage.gat","Examiner: The skill test begins now.",8;
	end;
OnTimer2500:
	mapannounce "job_sage.gat","Examiner: The time limit for this portion of the test is 3 minutes.",8;
	end;
OnTimer4000:
	mapannounce "job_sage.gat","Examiner: You must kill all the monsters within that time period.",8;
	end;
OnTimer30000:
	mapannounce "job_sage.gat","Examiner: 2 minutes, 30 seconds remaining.",8;
	end;
OnTimer60000:
	mapannounce "job_sage.gat","Examiner: 2 minutes remaining.",8;
	end;
OnTimer90000:
	mapannounce "job_sage.gat","Examiner: 1 minute, 30 seconds remaining.",8;
	end;
OnTimer120000:
	mapannounce "job_sage.gat","Examiner: 1 minute remaining.",8;
	end;
OnTimer150000:
	mapannounce "job_sage.gat","Examiner: 30 seconds remaining.",8;
	end;
OnTimer170000:
	mapannounce "job_sage.gat","Examiner: 10 seconds remaining.",8;
	end;
OnTimer180000:
	donpcevent "jobsage_1st::OnReset";
	mapannounce "job_sage.gat","Examiner: Time has expired.",8;
	end;
OnTimer181500:
	mapannounce "job_sage.gat","Examiner:" + $@jobsage_pname$ + "failed the test.",8;
	areawarp "job_sage.gat",100,82,131,113,"yuno.gat",324,258;
	end;
OnTimer183000:
	mapannounce "job_sage.gat","Next candidate, please step forward.",8;
	end;
OnTimer184000:
	donpcevent "jobsage_wroom::OnEnable";
	stopnpctimer;
	end;
}

//======== Test Step 2
job_sage.gat,1,1,1	script	jobsage_2nd	-1,{
	end;
OnStart:
	donpcevent "jobsage_2nd::OnReset";
	set $@jobsage_m,24;
	monster "job_sage.gat",120,102,"GeographyInfo",1063,1,"jobsage_2nd::OnKilled";
	monster "job_sage.gat",120,102,"StatisticsInfo",1063,1,"jobsage_2nd::OnKilled";
	monster "job_sage.gat",120,102,"MeteorologyInfo",1063,1,"jobsage_2nd::OnKilled";
	monster "job_sage.gat",120,102,"AstronomyInfo",1063,1,"jobsage_2nd::OnKilled";
	monster "job_sage.gat",120,102,"LinguisticsInfo",1063,1,"jobsage_2nd::OnKilled";
	monster "job_sage.gat",120,102,"CityLifeInfo",1063,1,"jobsage_2nd::OnKilled";
	monster "job_sage.gat",124,98,"ForestryInfo",1063,1,"jobsage_2nd::OnKilled";
	monster "job_sage.gat",124,98,"HealthInfo",1063,1,"jobsage_2nd::OnKilled";
	monster "job_sage.gat",124,98,"PsychologyInfo",1063,1,"jobsage_2nd::OnKilled";
	monster "job_sage.gat",120,93,"AnthropologyInfo",1063,1,"jobsage_2nd::OnKilled";
	monster "job_sage.gat",120,93,"BiologyInfo",1063,1,"jobsage_2nd::OnKilled";
	monster "job_sage.gat",120,93,"EthicsInfo",1063,1,"jobsage_2nd::OnKilled";
	monster "job_sage.gat",111,93,"ArchitectureInfo",1063,1,"jobsage_2nd::OnKilled";
	monster "job_sage.gat",111,93,"PlasticsInfo",1063,1,"jobsage_2nd::OnKilled";
	monster "job_sage.gat",111,93,"NutritionInfo",1063,1,"jobsage_2nd::OnKilled";
	monster "job_sage.gat",111,93,"FoodInfo",1063,1,"jobsage_2nd::OnKilled";
	monster "job_sage.gat",111,93,"ManagementInfo",1063,1,"jobsage_2nd::OnKilled";
	monster "job_sage.gat",111,93,"SociologyInfo",1063,1,"jobsage_2nd::OnKilled";
	monster "job_sage.gat",107,98,"EconomicsInfo",1063,1,"jobsage_2nd::OnKilled";
	monster "job_sage.gat",107,98,"MagicInfo",1063,1,"jobsage_2nd::OnKilled";
	monster "job_sage.gat",107,98,"PoliSciInfo",1063,1,"jobsage_2nd::OnKilled";
	monster "job_sage.gat",111,102,"MathInfo",1063,1,"jobsage_2nd::OnKilled";
	monster "job_sage.gat",111,102,"HistoryInfo",1063,1,"jobsage_2nd::OnKilled";
	monster "job_sage.gat",111,102,"PhysicsInfo",1063,1,"jobsage_2nd::OnKilled";
	initnpctimer;
	end;
OnReset:
	killmonster "job_sage.gat","All";
	end;
OnKilled:
	set $@jobsage_m,$@jobsage_m-1;
	if( $@jobsage_m > 0 )goto L_NotWin;
		stopnpctimer;
		if (getnpctimer(1,"jobsage_2nd") < 60000 ) set sagecheck,sagecheck+1;
		if ((getnpctimer(1,"jobsage_2nd") >= 120000 ) && (getnpctimer(1,"jobsage_2nd") <= 170000 )) set sagecheck,sagecheck-1;
		if (getnpctimer(1,"jobsage_2nd") > 170000 ) set sagecheck,sagecheck-2;
		mapannounce "job_sage.gat","Examiner: " + $@jobsage_pname$ + " killed all the monsters!",8;
		donpcevent "jobsage_3rd::OnStart";
	L_NotWin:
	end;
OnTimer1500:
	mapannounce "job_sage.gat","Examiner: The time limit for this portion of the test is 3 minutes.",8;
	end;
OnTimer3000:
	mapannounce "job_sage.gat","Examiner: You must kill all the monsters within that time period.",8;
	end;
OnTimer30000:
	mapannounce "job_sage.gat","Examiner: 2 minutes, 30 seconds remaining.",8;
	end;
OnTimer60000:
	mapannounce "job_sage.gat","Examiner: 2 minutes remaining.",8;
	end;
OnTimer90000:
	mapannounce "job_sage.gat","Examiner: 1 minute, 30 seconds remaining.",8;
	end;
OnTimer120000:
	mapannounce "job_sage.gat","Examiner: 1 minute remaining.",8;
	end;
OnTimer150000:
	mapannounce "job_sage.gat","Examiner: 30 seconds remaining.",8;
	end;
OnTimer170000:
	mapannounce "job_sage.gat","Examiner: 10 seconds remaining.",8;
	end;
OnTimer180000:
	donpcevent "jobsage_2nd::OnReset";
	mapannounce "job_sage.gat","Examiner: Time has expired.",8;
	end;
OnTimer181500:
	mapannounce "job_sage.gat","Examiner: " + $@jobsage_pname$ + "has failed the test.",8;
	areawarp "job_sage.gat",100,82,131,113,"yuno.gat",324,258;
	end;
OnTimer183000:
	mapannounce "job_sage.gat","Next candidate, please step forward.",8;
	end;
OnTimer184000:
	donpcevent "jobsage_wroom::OnEnable";
	stopnpctimer;
	end;
}


//======== Test Step 3
job_sage.gat,1,1,1	script	jobsage_3rd	-1,{
	end;
OnStart:
	donpcevent "jobsage_3rd::OnReset";
	set $@jobsage_m,1;
	monster "job_sage.gat",116,98,"Bachelor",1179,1,"jobsage_3rd::OnKilled";
	monster "job_sage.gat",124,106,"Tardy",1185,1;
	monster "job_sage.gat",124,89,"Loaner",1185,1;
	monster "job_sage.gat",107,89,"Cheater",1185,1;
	monster "job_sage.gat",107,106,"Absentee",1185,1;
	initnpctimer;
	end;
OnReset:
	end;
OnKilled:
	set $@jobsage_m,$@jobsage_m-1;
	if( $@jobsage_m > 0 )goto L_NotWin;
		stopnpctimer;
		killmonster "job_sage.gat","All";
		set job2nd_sage,7;
		if (getnpctimer(1,"jobsage_3rd") < 20000 ) set sagecheck,sagecheck+1;
		if ((getnpctimer(1,"jobsage_3rd") >= 30000 ) && (getnpctimer(1,"jobsage_2nd") <= 50000 )) set sagecheck,sagecheck-1;
		if (getnpctimer(1,"jobsage_3rd") > 50000 ) set sagecheck,sagecheck-2;
		mapannounce "job_sage.gat","Examiner: Congratulations. " + $@jobsage_pname$ + "passed the test!",8;
		donpcevent "jobsage_success::OnSuccess";
	L_NotWin:
	end;
OnTimer1500:
	mapannounce "job_sage.gat","Examiner: 1 minute remaining.",8;
	end;
OnTimer30000:
	mapannounce "job_sage.gat","Examiner: 30 seconds remaining.",8;
	end;
OnTimer50000:
	mapannounce "job_sage.gat","Examiner: 10 seconds remaining.",8;
	end;
OnTimer60000:
	donpcevent "jobsage_3rd::OnReset";
	mapannounce "job_sage.gat","Examiner: Time has expired.",8;
	end;
OnTimer61500:
	mapannounce "job_sage.gat","Examiner: " + $@jobsage_pname$ + "failed the test.",8;
	areawarp "job_sage.gat",100,82,131,113,"yuno.gat",324,258;
	end;
OnTimer63000:
	mapannounce "job_sage.gat","Examiner: This concludes the test.  Next candidate, please step forward.",8;
	end;
OnTimer64000:
	donpcevent "jobsage_wroom::OnEnable";
	stopnpctimer;
	end;
}

//======== Successful
job_sage.gat,1,7,1	script	jobsage_success	66,{
OnSuccess:
	killmonster "job_sage.gat","All";
	initnpctimer;
	end;
OnTimer3000:
	mapannounce "job_sage.gat","Examiner: Please allow me to guide you out.",8;
	end;
OnTimer6000:
	mapannounce "job_sage.gat","Next candidate, please step forward.",8;
	areawarp "job_sage.gat",100,82,131,113,"yuno_in03.gat",163,180;
	end;
OnTimer7000:
	donpcevent "jobsage_wroom::OnEnable";
	stopnpctimer;
	end;
}