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/_import.txt | 1 + npc/003-0-1/hiddenwarp.txt | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 npc/003-0-1/hiddenwarp.txt (limited to 'npc/003-0-1') diff --git a/npc/003-0-1/_import.txt b/npc/003-0-1/_import.txt index 5aa9264e7..0d04be190 100644 --- a/npc/003-0-1/_import.txt +++ b/npc/003-0-1/_import.txt @@ -3,6 +3,7 @@ "npc/003-0-1/_warps.txt", "npc/003-0-1/audsbel.txt", "npc/003-0-1/guards.txt", +"npc/003-0-1/hiddenwarp.txt", "npc/003-0-1/maxime.txt", "npc/003-0-1/professor.txt", "npc/003-0-1/researcher.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-70-g09d2