diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-01-08 02:37:23 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-01-08 02:37:23 -0300 |
commit | 516cd42dccb974451e58accdae0c7dcbbf4b3df1 (patch) | |
tree | 0d22ec6d7f33d7375e43035d8e429f5e3bb466e7 /npc/006-4-1/painting.txt | |
parent | 35cae09f141d065d4dcb9d38dfac58ede81ce4d0 (diff) | |
download | serverdata-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/006-4-1/painting.txt')
-rw-r--r-- | npc/006-4-1/painting.txt | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/npc/006-4-1/painting.txt b/npc/006-4-1/painting.txt index 8a3cfb1d5..82172d304 100644 --- a/npc/006-4-1/painting.txt +++ b/npc/006-4-1/painting.txt @@ -3,13 +3,7 @@ // Jesusalva 006-4-1,59,29,0 script #jakPortrait1 NPC_NO_SPRITE,{ - .@q=getq(General_EasterEggs); - - if (!(.@q & EE_JAK1)) { - setq General_EasterEggs, .@q|EE_JAK1; - dispbottom l("For finding an Easter Egg, you got Strange Coins!"); - getitem StrangeCoin, 1; - } + RegEasterEgg(EE_JAK1, 1); mesc ".:: " + l("Researcher Jak's Residence") + " ::."; mes ""; mesc l("And his sister,"); |