summaryrefslogtreecommitdiff
path: root/world/map/npc/042-1/tutorial.txt
diff options
context:
space:
mode:
authorwushin <pasekei@gmail.com>2014-11-05 11:18:36 -0600
committerwushin <pasekei@gmail.com>2014-11-05 11:47:24 -0600
commit78aa4db5d8f99b8aa2f433b5d7ed4aa90f40fa5f (patch)
treec60a8593f1372a2522689306d732e4cf37f1470d /world/map/npc/042-1/tutorial.txt
parent657fa3576f1d7915b1e30264c213cfe5c7fec39d (diff)
downloadserverdata-78aa4db5d8f99b8aa2f433b5d7ed4aa90f40fa5f.tar.gz
serverdata-78aa4db5d8f99b8aa2f433b5d7ed4aa90f40fa5f.tar.bz2
serverdata-78aa4db5d8f99b8aa2f433b5d7ed4aa90f40fa5f.tar.xz
serverdata-78aa4db5d8f99b8aa2f433b5d7ed4aa90f40fa5f.zip
NPCs on 042-* fixed
Diffstat (limited to 'world/map/npc/042-1/tutorial.txt')
-rw-r--r--world/map/npc/042-1/tutorial.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/world/map/npc/042-1/tutorial.txt b/world/map/npc/042-1/tutorial.txt
index d51c30be..bed98436 100644
--- a/world/map/npc/042-1/tutorial.txt
+++ b/world/map/npc/042-1/tutorial.txt
@@ -1,7 +1,7 @@
// This file is part of the Tutorial
// Author: Jenalya
// if you enter the tutorial area from outside, it is set to be already done
--|script|#TutorialConfig|-1,
+-|script|#TutorialConfig|-1
{
end;
@@ -12,20 +12,20 @@ OnInit:
set $@SpokeToKaan, (1 << 31);
end;
}
-function|script|TutorialState|,
+function|script|TutorialState
{
callfunc "ClearVariables";
set @tutorial, ((STARTAREA & NIBBLE_0_MASK) >> NIBBLE_0_SHIFT);
set @kaan_talked, (STARTAREA & $@SpokeToKaan);
return;
}
-function|script|SetTutorialMask|,
+function|script|SetTutorialMask
{
set STARTAREA, (STARTAREA & ~(NIBBLE_0_MASK) | (@tutorial_tmp << NIBBLE_0_SHIFT));
set @tutorial_tmp, 0;
return;
}
-042-2.gat,21,26,0|script|TutDebug|154,
+042-2.gat,21,26,0|script|TutDebug|154
{
mes "[TutDebug]";
mes "Reset?";