From 9eeb8ad3362e221eb841605758f3ca2c69048b4b Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 11 Jul 2018 01:29:37 -0300 Subject: Regenerate maps, with a slide on 014-4 --- maps/re/014-4.mcache | Bin 1094 -> 1095 bytes npc/014-4/_import.txt | 1 + npc/014-4/slide.txt | 20 ++++++++++++++++++++ npc/functions/weather.txt | 1 + 4 files changed, 22 insertions(+) create mode 100644 npc/014-4/slide.txt diff --git a/maps/re/014-4.mcache b/maps/re/014-4.mcache index 0f27dceb2..d4c22ec11 100644 Binary files a/maps/re/014-4.mcache and b/maps/re/014-4.mcache differ diff --git a/npc/014-4/_import.txt b/npc/014-4/_import.txt index 82a798273..b744dbcc3 100644 --- a/npc/014-4/_import.txt +++ b/npc/014-4/_import.txt @@ -3,3 +3,4 @@ "npc/014-4/_mobs.txt", "npc/014-4/_warps.txt", "npc/014-4/mapflags.txt", +"npc/014-4/slide.txt", diff --git a/npc/014-4/slide.txt b/npc/014-4/slide.txt new file mode 100644 index 000000000..6345e7a80 --- /dev/null +++ b/npc/014-4/slide.txt @@ -0,0 +1,20 @@ +// TMW2 scripts. +// Authors: +// Jesusalva +// Description: +// Allows movement sliding though the bridge on 014-4 + +014-4,58,51,0 script #014-4_58_51 NPC_HIDDEN,0,0,{ + end; +OnTouch: + slide "014-4", 51, 51; + end; +} + +014-4,52,51,0 script #014-4_52_51 NPC_HIDDEN,0,0,{ + end; +OnTouch: + slide "014-4", 59, 51; + end; +} + diff --git a/npc/functions/weather.txt b/npc/functions/weather.txt index 8b64bf2de..383db3b1d 100644 --- a/npc/functions/weather.txt +++ b/npc/functions/weather.txt @@ -55,6 +55,7 @@ OnInit: htput(.wcore, "014-1", "woodland"); htput(.wcore, "014-2", "woodland"); htput(.wcore, "014-3", "woodland"); + htput(.wcore, "014-4", "woodland"); htput(.wcore, "017-1", "woodland"); htput(.wcore, "018-1", "woodland"); htput(.wcore, "018-2", "woodland"); -- cgit v1.2.3-60-g2f50