summaryrefslogtreecommitdiff
path: root/npc/003-0-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-01-08 02:37:23 -0300
committerJesusaves <cpntb1@ymail.com>2021-01-08 02:37:23 -0300
commit516cd42dccb974451e58accdae0c7dcbbf4b3df1 (patch)
tree0d22ec6d7f33d7375e43035d8e429f5e3bb466e7 /npc/003-0-1
parent35cae09f141d065d4dcb9d38dfac58ede81ce4d0 (diff)
downloadserverdata-516cd42dccb974451e58accdae0c7dcbbf4b3df1.tar.gz
serverdata-516cd42dccb974451e58accdae0c7dcbbf4b3df1.tar.bz2
serverdata-516cd42dccb974451e58accdae0c7dcbbf4b3df1.tar.xz
serverdata-516cd42dccb974451e58accdae0c7dcbbf4b3df1.zip
Rewrite some internal functions and structure to be lighter (optmization)
Diffstat (limited to 'npc/003-0-1')
-rw-r--r--npc/003-0-1/hiddenwarp.txt9
1 files changed, 1 insertions, 8 deletions
diff --git a/npc/003-0-1/hiddenwarp.txt b/npc/003-0-1/hiddenwarp.txt
index d6f339b58..98874a9ac 100644
--- a/npc/003-0-1/hiddenwarp.txt
+++ b/npc/003-0-1/hiddenwarp.txt
@@ -9,13 +9,6 @@
OnTouch:
warp "003-1", 49, 24;
- .@q=getq(General_EasterEggs);
-
- if (!(.@q & EE_MAGICSCHOOL)) {
- setq General_EasterEggs, .@q|EE_MAGICSCHOOL;
- dispbottom l("For finding an Easter Egg, you got Strange Coins!");
- getitem StrangeCoin, 3;
- }
-
+ RegEasterEgg(EE_MAGICSCHOOL, 3);
end;
}