summaryrefslogtreecommitdiff
path: root/npc/005-2-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/005-2-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/005-2-1')
-rw-r--r--npc/005-2-1/note.txt8
1 files changed, 1 insertions, 7 deletions
diff --git a/npc/005-2-1/note.txt b/npc/005-2-1/note.txt
index 6add835ba..c77c50fb6 100644
--- a/npc/005-2-1/note.txt
+++ b/npc/005-2-1/note.txt
@@ -7,13 +7,7 @@
005-2-1,41,33,0 script Note#saxsocave NPC_PAPER_NOTE,{
mesc l("I leave this basement that start to be too dangerous!");
- .@q=getq(General_EasterEggs);
-
- if (!(.@q & EE_SAXSO)) {
- setq General_EasterEggs, .@q|EE_SAXSO;
- dispbottom l("For finding an Easter Egg, you got Strange Coins!");
- getitem StrangeCoin, 5;
- }
+ RegEasterEgg(EE_SAXSO, 5);
close;
OnInit: