summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/081-3/logic.txt20
1 files changed, 15 insertions, 5 deletions
diff --git a/npc/081-3/logic.txt b/npc/081-3/logic.txt
index 0911dd18..145bec33 100644
--- a/npc/081-3/logic.txt
+++ b/npc/081-3/logic.txt
@@ -6,7 +6,7 @@
081-3,44,36,0 script Pentagram#Xmas21A NPC424,{
.@id = X21ID();
- if ($@XMAS21_BC1[.@id]) end;
+ if ($@XMAS21_BC1[.@id] == X21BC1_ON) end;
.@n$ = instance_npcname("Pentagram#Xmas21A");
.@cl = X21BC1_CLEAR();
@@ -21,11 +21,11 @@
rif(.@cl, l("Kill me semi-instantly!"));
mes "";
closeclientdialog;
- if (@menu == 1 || .LOCKD) {
+ if (@menu == 1 || 'LOCKD) {
close;
}
- .LOCKD = true;
+ 'LOCKD = true;
@BC1ME = getcharid(3);
.@mg = monster(getmap(), 44, 36, "Existential Crisis", Santaboo, 1, "Pentagram#Xmas21A::OnFin"); // FIXME Santaboo => SnowBallMan
@@ -145,7 +145,6 @@ OnInit:
.distance=2;
.BC1ID = 0;
.CYCLE = 0;
- .LOCKD = false;
end;
}
@@ -164,10 +163,21 @@ OnTouch:
mes l("Past this gate, beyond the existential frontier, I can see the Northen Lights.");
mes l("Should we walk toward it?");
next;
- if (askyesno() == ASK_YES) {
+ select
+ l("Yes"),
+ l("Not yet"),
+ l("[Run away]");
+ mes "";
+ if (@menu == 1) {
// FIXME: Alissa's ED Cutscene
warp "081-1", 68, 31;
}
+ // FIXME: Right now, anyone can do so?
+ else if (@menu == 3) {
+ enablenpc(instance_npcname("Pentagram#Xmas21A"));
+ warp "081-2", 90, 21;
+ 'LOCKD = false;
+ }
closeclientdialog;
close;
}