diff options
Diffstat (limited to 'npc')
-rw-r--r-- | npc/018-6-3/main.txt | 5 | ||||
-rw-r--r-- | npc/018-6-3/wsys.txt | 47 |
2 files changed, 52 insertions, 0 deletions
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; +} |