From c351742b3647b1f62ea74fa53e5de38d254e336b Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 22 Jul 2019 10:43:24 -0300 Subject: Easter Egg --- npc/003-0-1/hiddenwarp.txt | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 npc/003-0-1/hiddenwarp.txt (limited to 'npc/003-0-1/hiddenwarp.txt') diff --git a/npc/003-0-1/hiddenwarp.txt b/npc/003-0-1/hiddenwarp.txt new file mode 100644 index 000000000..d6f339b58 --- /dev/null +++ b/npc/003-0-1/hiddenwarp.txt @@ -0,0 +1,21 @@ +// TMW2 Script +// Author: +// Jesusalva +// Easter Egg for Hello World player +// TODO: In future, check player direction + +003-0-1,21,24,0 script #MSchoolRoof NPC_HIDDEN,0,0,{ + end; + +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; + } + + end; +} -- cgit v1.2.3-60-g2f50