diff options
author | Wushin <pasekei@gmail.com> | 2015-04-30 00:19:47 -0500 |
---|---|---|
committer | Wushin <pasekei@gmail.com> | 2015-04-30 00:19:47 -0500 |
commit | a15b94def3cc24a2ee8b1401a92d53a8aaa3ca86 (patch) | |
tree | ef694cb7f064506246778e0d3253b262ab9c94dc /world/map/npc/029-1/zegas.txt | |
parent | 86cc243c069b90c3eb47df1faede506822634f4a (diff) | |
parent | b1ff0f2cbbf03cbda01945537dfd65f6cc6f4e53 (diff) | |
download | serverdata-a15b94def3cc24a2ee8b1401a92d53a8aaa3ca86.tar.gz serverdata-a15b94def3cc24a2ee8b1401a92d53a8aaa3ca86.tar.bz2 serverdata-a15b94def3cc24a2ee8b1401a92d53a8aaa3ca86.tar.xz serverdata-a15b94def3cc24a2ee8b1401a92d53a8aaa3ca86.zip |
Merge pull request #337 from wushin/quest-log-with-bits
Quest Log example
Diffstat (limited to 'world/map/npc/029-1/zegas.txt')
-rw-r--r-- | world/map/npc/029-1/zegas.txt | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/world/map/npc/029-1/zegas.txt b/world/map/npc/029-1/zegas.txt index f9cefcbd..49b9a5c5 100644 --- a/world/map/npc/029-1/zegas.txt +++ b/world/map/npc/029-1/zegas.txt @@ -8,14 +8,13 @@ if (@npc_check) goto L_Range; - callfunc "CheckBarrelQuest"; - if (@barrel_quest == 1) + if (QL_ZEGAS == 1) goto L_Find; - if (@barrel_quest == 2) + if (QL_ZEGAS == 2) goto L_Looking; - if (@barrel_quest == 3) + if (QL_ZEGAS == 3) goto L_QuestEnd; - if (@barrel_quest == 4) + if (QL_ZEGAS == 4) goto L_Thanks; goto L_Meet; @@ -32,8 +31,7 @@ L_Meet: mes "\"Wouldn't you know it, the bug bomb Eomie gave us is in one of the store room barrels.\""; next; mes "\"Can you search the barrels for the bug bomb and set it off when you find it?\""; - set @barrel_tmp, 1; - callfunc "SetBarrelMask"; + set QL_ZEGAS, 1; menu "Sure.",L_Start, "Maybe some other time.",L_Close; @@ -49,8 +47,7 @@ L_Find: L_Start: mes "[Zegas]"; - set @barrel_tmp, 2; - callfunc "SetBarrelMask"; + set QL_ZEGAS, 2; mes "\"Thanks, come back and see me once you found the bug bomb and set it off.\""; goto L_Close; @@ -65,8 +62,7 @@ L_QuestEnd: mes "\"Thanks once again, I know it's not much but here is 50 GP for your troubles.\""; getexp 50, 0; set Zeny, (Zeny + 50); - set @barrel_tmp, 4; - callfunc "SetBarrelMask"; + set QL_ZEGAS, 4; goto L_Close; L_Thanks: @@ -86,7 +82,7 @@ L_Close: "No.", L_Close; L_Reset: - set STARTAREA, (STARTAREA & ~(NIBBLE_4_MASK) | (0 << NIBBLE_4_SHIFT)); + set QL_ZEGAS, 0; set STARTAREA, STARTAREA &~ (1 << 20); set STARTAREA, STARTAREA &~ (1 << 21); set STARTAREA, STARTAREA &~ (1 << 22); |