diff options
author | wushin <pasekei@gmail.com> | 2015-05-19 12:35:46 -0500 |
---|---|---|
committer | wushin <pasekei@gmail.com> | 2015-09-06 13:13:30 -0500 |
commit | a5816766ed870dd55170a4b66a75a1907021e421 (patch) | |
tree | 12288e1561914b5268a2ccd6801cc4aa4f0e4dd8 /world/map/npc/001-2/sandra.txt | |
parent | f86e961ffbf9e1467279d3086a48c47be2a5a86f (diff) | |
download | classic-serverdata-a5816766ed870dd55170a4b66a75a1907021e421.tar.gz classic-serverdata-a5816766ed870dd55170a4b66a75a1907021e421.tar.bz2 classic-serverdata-a5816766ed870dd55170a4b66a75a1907021e421.tar.xz classic-serverdata-a5816766ed870dd55170a4b66a75a1907021e421.zip |
Some of the Tonori Area Quests
Diffstat (limited to 'world/map/npc/001-2/sandra.txt')
-rw-r--r-- | world/map/npc/001-2/sandra.txt | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/world/map/npc/001-2/sandra.txt b/world/map/npc/001-2/sandra.txt index a94d10a3..2465290b 100644 --- a/world/map/npc/001-2/sandra.txt +++ b/world/map/npc/001-2/sandra.txt @@ -1,11 +1,7 @@ -// Variables used: nibble 3 of QUEST_SouthTulimshar - 001-2,98,88,0|script|Sandra|114 { - set @state, ((QUEST_SouthTulimshar & NIBBLE_3_MASK) >> NIBBLE_3_SHIFT); - - if (@state >= 2) goto L_Done; - if (@state == 1) goto L_Progress; + if (QL_SANDRA >= 2) goto L_Done; + if (QL_SANDRA == 1) goto L_Progress; mes "[Sandra]"; mes "\"Hunting monsters for potion ingredients can sometimes be a difficult task.\""; @@ -67,8 +63,7 @@ L_Req2: goto L_Set; L_Set: - set @state, 1; - callsub S_Update_Var; + set QL_SANDRA, 1; mes "\"Please get them for me!\""; goto L_Close; @@ -84,8 +79,7 @@ L_Progress: delitem "ScorpionStinger", 5; getitem "Bow", 1; getitem "Arrow", 100; - set @state, 2; - callsub S_Update_Var; + set QL_SANDRA, 2; goto L_Close; L_NotEnough: @@ -100,7 +94,6 @@ L_Done: L_Close: set @TEMP, 0; - set @state, 0; close; L_TooMany: @@ -108,8 +101,4 @@ L_TooMany: mes "[Sandra]"; mes "\"You don't have room for my reward. I'll wait until you do.\""; goto L_Close; - -S_Update_Var: - set QUEST_SouthTulimshar, (QUEST_SouthTulimshar & ~(NIBBLE_3_MASK) | (@state << NIBBLE_3_SHIFT)); - return; } |