summaryrefslogtreecommitdiff
path: root/world/map/npc/027-2/diary.txt
diff options
context:
space:
mode:
authorJessica Tölke <jtoelke@mail.upb.de>2011-10-14 15:22:43 +0200
committerJessica Tölke <jtoelke@mail.upb.de>2011-10-14 16:35:08 +0200
commita5cc84660484054451ab8c912ec6fc4652eac1a0 (patch)
treea60b55aa8bdf8b654e2d0c2889464a685c950f04 /world/map/npc/027-2/diary.txt
parent196973261680a938b082e195c7d62cbb33e24216 (diff)
downloadserverdata-a5cc84660484054451ab8c912ec6fc4652eac1a0.tar.gz
serverdata-a5cc84660484054451ab8c912ec6fc4652eac1a0.tar.bz2
serverdata-a5cc84660484054451ab8c912ec6fc4652eac1a0.tar.xz
serverdata-a5cc84660484054451ab8c912ec6fc4652eac1a0.zip
Some clean-up in gy inn npcs:
Setting all locally used temporary player variables to zero before closing. Replacing baselevel with BaseLevel, zeny with Zeny and hp with Hp.
Diffstat (limited to 'world/map/npc/027-2/diary.txt')
-rw-r--r--world/map/npc/027-2/diary.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/world/map/npc/027-2/diary.txt b/world/map/npc/027-2/diary.txt
index 904da80f..d3394f4a 100644
--- a/world/map/npc/027-2/diary.txt
+++ b/world/map/npc/027-2/diary.txt
@@ -1,3 +1,5 @@
+// Author: Jenalya
+
027-2.gat,26,97,0|script|#Diary|127, {
set @Graveyard_Inn_MASK, NIBBLE_0_MASK;
set @Graveyard_Inn_SHIFT, NIBBLE_0_SHIFT;
@@ -5,6 +7,7 @@
set @reid, ((QUEST_Graveyard_Inn & @Graveyard_Inn_MASK) >> @Graveyard_Inn_SHIFT);
if (@reid >= 6) goto L_Diary;
+ set @reid, 0;
end;
L_Diary:
@@ -33,7 +36,10 @@ L_Diary:
set @reid, 7;
callsub S_Update_Mask;
+ goto L_Close;
+
L_Close:
+ set @reid, 0;
close;
S_Update_Mask: