summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/ea_job_system.txt2
-rw-r--r--npc/quests/quests_lighthalzen.txt4
-rw-r--r--src/map/script.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/doc/ea_job_system.txt b/doc/ea_job_system.txt
index 8e2d1c3ba..1ca05d6ce 100644
--- a/doc/ea_job_system.txt
+++ b/doc/ea_job_system.txt
@@ -102,7 +102,7 @@ EAJL_UPPER:
EAJL_BABY:
Check if a class is an adopted class.
- if (@job&EAJ_BABY)
+ if (@job&EAJL_BABY)
mes "Don't you hate being weak?";
EAJ_UPPERMASK:
diff --git a/npc/quests/quests_lighthalzen.txt b/npc/quests/quests_lighthalzen.txt
index 83b18916b..27f46018f 100644
--- a/npc/quests/quests_lighthalzen.txt
+++ b/npc/quests/quests_lighthalzen.txt
@@ -3807,7 +3807,7 @@ OnTouch_:
soundeffect "tao_gunka_stand.wav",0;
sc_end SC_Blind;
sc_start SC_Curse,3000,0;
- if (!lhz_curse == 6) set lhz_curse,7;
+ if (lhz_curse == 6) set lhz_curse,7;
}
}
end;
@@ -3887,7 +3887,7 @@ OnTouch_:
mes "............";
next;
mes "............";
- close;
+ close2;
soundeffect "tao_gunka_stand.wav",0;
sc_end SC_Blind;
sc_start SC_Curse,3000,0;
diff --git a/src/map/script.c b/src/map/script.c
index bf0b4f652..c635f6112 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -11788,7 +11788,7 @@ BUILDIN_FUNC(movenpc)
return -1;
if (script_hasdata(st,5))
- nd->ud.dir = script_getnum(st,5);
+ nd->ud.dir = script_getnum(st,5) % 8;
npc_movenpc(nd, x, y);
return 0;
}