diff options
Diffstat (limited to 'npc/018-6-1')
-rw-r--r-- | npc/018-6-1/main.txt | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/npc/018-6-1/main.txt b/npc/018-6-1/main.txt index 87c9b8daa..e38d102f4 100644 --- a/npc/018-6-1/main.txt +++ b/npc/018-6-1/main.txt @@ -95,8 +95,22 @@ OnTouch: setq3 LoFQuest_Barbara, 0; } // Update M0 NPCs based on quest state - if (.@q3 == 5) + if (.@q > 2) enablenpc instance_npcname("#ToForgottenShrine", .@q2); + if (.@q == 2) { + if (.@q3 == 5) + enablenpc instance_npcname("#ToForgottenShrine", .@q2); + if (.@q3 == 3) + enablenpc instance_npcname("#ToSouthHall", .@q2); + // Note: state 64 and 128 are temporary and must be removed + if (.@q3 & 64) + setq3 LoFQuest_Barbara, .@q3^64; + // Safety update + .@q3=getq3(LoFQuest_Barbara); + if (.@q3 & 128) + setq3 LoFQuest_Barbara, .@q3^128; + + } } else { Exception("ERROR, YOU SHOULD NOT BEEN SEEING THIS. 018-6-1.TFC"); |