From a5cc84660484054451ab8c912ec6fc4652eac1a0 Mon Sep 17 00:00:00 2001 From: Jessica Tölke Date: Fri, 14 Oct 2011 15:22:43 +0200 Subject: 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. --- world/map/npc/027-2/diary.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'world/map/npc/027-2/diary.txt') 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: -- cgit v1.2.3-70-g09d2