diff options
author | meko <mekolat@users.noreply.github.com> | 2015-09-29 12:32:48 -0400 |
---|---|---|
committer | meko <mekolat@users.noreply.github.com> | 2015-09-29 12:32:48 -0400 |
commit | 1fa42ac121792035ea777e18bb6105552b8299c0 (patch) | |
tree | 8b50ead6a5b75d2c8a52bfe762cef38c4e849cbe /world/map/npc/008-1/mikhail.txt | |
parent | aef74e905ea2abc818ffaa526f6c5e559f397509 (diff) | |
parent | a5816766ed870dd55170a4b66a75a1907021e421 (diff) | |
download | serverdata-1fa42ac121792035ea777e18bb6105552b8299c0.tar.gz serverdata-1fa42ac121792035ea777e18bb6105552b8299c0.tar.bz2 serverdata-1fa42ac121792035ea777e18bb6105552b8299c0.tar.xz serverdata-1fa42ac121792035ea777e18bb6105552b8299c0.zip |
Merge pull request #384 from wushin/tulimshar-quests
Some of the Tonori Area Quests
Diffstat (limited to 'world/map/npc/008-1/mikhail.txt')
-rw-r--r-- | world/map/npc/008-1/mikhail.txt | 21 |
1 files changed, 5 insertions, 16 deletions
diff --git a/world/map/npc/008-1/mikhail.txt b/world/map/npc/008-1/mikhail.txt index 98a58d12..aca28beb 100644 --- a/world/map/npc/008-1/mikhail.txt +++ b/world/map/npc/008-1/mikhail.txt @@ -1,12 +1,8 @@ -// Variables used: nibble 0 of QUEST_SouthTulimshar - 008-1,135,25,0|script|Mikhail|120 { - set @state, ((QUEST_SouthTulimshar & NIBBLE_0_MASK) >> NIBBLE_0_SHIFT); - - if (@state >= 6) goto L_Done; - if (@state == 5) goto L_Progress; - if (@state == 4) goto L_Start; + if (QL_SOUP >= 6) goto L_Done; + if (QL_SOUP == 5) goto L_Progress; + if (QL_SOUP == 4) goto L_Start; goto L_Con_Mik_First; L_Con_Mik_First: @@ -30,8 +26,7 @@ L_Start: L_accept: mes "[Mikhail]"; mes "\"Thank you so much! I'll wait for you here.\""; - set @state, 5; - callsub S_Update_Var; + set QL_SOUP, 5; close; L_Progress: @@ -52,8 +47,7 @@ L_try: L_get: delitem "MaggotSlime", 5; getexp 100, 0; - set @state, 6; - callsub S_Update_Var; + set QL_SOUP, 6; mes "[Mikhail]"; mes "\"Ooh! Thank you so much! I can get back to Bernard now!\""; goto L_Close; @@ -64,10 +58,5 @@ L_Done: goto L_Close; L_Close: - set @state, 0; close; - -S_Update_Var: - set QUEST_SouthTulimshar, (QUEST_SouthTulimshar & ~(NIBBLE_0_MASK) | (@state << NIBBLE_0_SHIFT)); - return; } |