diff options
author | wushin <pasekei@gmail.com> | 2015-04-21 13:42:04 -0500 |
---|---|---|
committer | wushin <pasekei@gmail.com> | 2015-04-25 23:28:57 -0500 |
commit | b1ff0f2cbbf03cbda01945537dfd65f6cc6f4e53 (patch) | |
tree | 3607a90959888954db09b369588bbc5bc5687499 /world/map/npc/029-1/zegas.txt | |
parent | c93710edb93f00d42119adbc332ab4152ead4341 (diff) | |
download | serverdata-b1ff0f2cbbf03cbda01945537dfd65f6cc6f4e53.tar.gz serverdata-b1ff0f2cbbf03cbda01945537dfd65f6cc6f4e53.tar.bz2 serverdata-b1ff0f2cbbf03cbda01945537dfd65f6cc6f4e53.tar.xz serverdata-b1ff0f2cbbf03cbda01945537dfd65f6cc6f4e53.zip |
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); |