From ba77ee333e36ce15fb83d045c4160425436fcc68 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 7 Sep 2019 18:36:40 -0300 Subject: Central Room - As it is activated manually, add regular warps systems --- npc/018-6-3/main.txt | 5 +++++ npc/018-6-3/wsys.txt | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) (limited to 'npc/018-6-3') diff --git a/npc/018-6-3/main.txt b/npc/018-6-3/main.txt index 8ee45b75b..956f19b53 100644 --- a/npc/018-6-3/main.txt +++ b/npc/018-6-3/main.txt @@ -194,6 +194,11 @@ L_Room128: } end; +OnRoomCC: + enablenpc instance_npcname("#01863_fromCCtoNC"); + enablenpc instance_npcname("#01863_fromCCtoSC"); + end; + OnFinalRoom: // Room: 74,83 ~ 106,97 .@x1=74; diff --git a/npc/018-6-3/wsys.txt b/npc/018-6-3/wsys.txt index 53c5f8e28..0fce5f11a 100644 --- a/npc/018-6-3/wsys.txt +++ b/npc/018-6-3/wsys.txt @@ -617,4 +617,51 @@ OnInstanceInit: end; } +018-6-3,90,74,0 script #01863_fromNCtoCC NPC_SUMMONING_CIRC,0,0,{ + dispbottom l("I should be prepared before walking on this."); + end; + +OnTouch: + // Disable any other active portal + 01863_DisableAllWarps(); + + // Warp you to next room coordinates + slide 90, 85; + + // Execute the next room code and finish + doevent instance_npcname("#01863_InstCtrl", .@q2)+"::OnRoomCC"; + end; + +// NPC must remain hidden. +OnInit: + disablenpc .name$; + end; +OnInstanceInit: + disablenpc instance_npcname(.name$); + end; +} + +018-6-3,90,105,0 script #01863_fromSCtoCC NPC_SUMMONING_CIRC,0,0,{ + dispbottom l("I should be prepared before walking on this."); + end; + +OnTouch: + // Disable any other active portal + 01863_DisableAllWarps(); + + // Warp you to next room coordinates + slide 90, 95; + + // Execute the next room code and finish + doevent instance_npcname("#01863_InstCtrl", .@q2)+"::OnRoomCC"; + end; + +// NPC must remain hidden. +OnInit: + disablenpc .name$; + end; +OnInstanceInit: + disablenpc instance_npcname(.name$); + end; +} -- cgit v1.2.3-60-g2f50