summaryrefslogtreecommitdiff
path: root/npc/003-0-1/professor.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/003-0-1/professor.txt')
-rw-r--r--npc/003-0-1/professor.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/npc/003-0-1/professor.txt b/npc/003-0-1/professor.txt
index bb2268e7a..4b5a8be46 100644
--- a/npc/003-0-1/professor.txt
+++ b/npc/003-0-1/professor.txt
@@ -35,6 +35,17 @@ OnSpeeching:
if (is_between(3, 300, checkidle())) {
getexp 1+getskilllv(TMW2_SPEECH),1;
// dispbottom l("It is a boring speech...");
+
+ // If you are learning TMW2_READANCIENTLANGUAGES
+ if (ANCIENTLANGUAGEBOUNCER) {
+ ANCIENTLANGUAGEBOUNCER-=1;
+ if (ANCIENTLANGUAGEBOUNCER == 1) {
+ ANCIENTLANGUAGEBOUNCER=0;
+ skill TMW2_ANCIENTLANGUAGES, 1, 0;
+ dispbottom l("It was a boring speech, but you have learned ancient languages.");
+ }
+ }
+
}
end;
}