From fad04ba82736ea807a3b7d377846597694eb7fe8 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 1 Sep 2019 14:44:34 -0300 Subject: This should resolve south wing. That would allow you to go to shrine. Monsters still missing. --- npc/018-6-0/ctrl | 2 +- npc/018-6-0/main.txt | 17 ++++++++++++----- 2 files changed, 13 insertions(+), 6 deletions(-) (limited to 'npc/018-6-0') diff --git a/npc/018-6-0/ctrl b/npc/018-6-0/ctrl index 865cd9903..fad4beb65 100644 --- a/npc/018-6-0/ctrl +++ b/npc/018-6-0/ctrl @@ -13,7 +13,7 @@ q1 1 West puzzle solved (&) (west lever) 2 East puzzle solved (&) (east lever) 3 South puzzle unlocked (w/e lever) - 4 South puzzle node (e/w lever) + 4 South puzzle node (unused) 5 South puzzle solved, access to shrine granted &64 West Puzzle in Progress &128 East Puzzle in Progress diff --git a/npc/018-6-0/main.txt b/npc/018-6-0/main.txt index 9789d82f7..2d30b3f48 100644 --- a/npc/018-6-0/main.txt +++ b/npc/018-6-0/main.txt @@ -11,12 +11,17 @@ OnTouch: .@q=getq(LoFQuest_Barbara); - if (.@q >= 2) { - warp BarbaraInstCheck(3), 31, 151; - //warp BarbaraInstCheck(0), 90+any(-1, 1), 90+any(-1,1); - } else { - Exception("ERROR, YOU SHOULD NOT BEEN SEEING THIS. 018-6-1.TFC"); + .@q2=getq2(LoFQuest_Barbara); + .@q3=getq3(LoFQuest_Barbara); + if (.@q < 2 || .@q3 != 5) + Exception("ERROR, YOU SHOULD NOT BEEN SEEING THIS. 018-6-1.TFC.INVALID", RB_DEFAULT|RB_ISFATAL); + // Make the speech + if (.@q == 2) { + setq1 LoFQuest_Barbara, 3; + setq3 LoFQuest_Barbara, 0; } + // Execute the warp + warp BarbaraInstCheck(3), 31, 151; end; @@ -58,6 +63,8 @@ OnTouch: .@q2=getq2(LoFQuest_Barbara); .@q3=getq3(LoFQuest_Barbara); if (.@q == 2 && .@q3 >= 3) { + enablenpc instance_npcname("#FromWestHall", .@q2); + enablenpc instance_npcname("#FromEastHall", .@q2); warp BarbaraInstCheck(2), 90, 32; //warp BarbaraInstCheck(0), 90+any(-1, 1), 90+any(-1,1); } else { -- cgit v1.2.3-70-g09d2