summaryrefslogtreecommitdiff
path: root/npc/023-3-1/logic.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/023-3-1/logic.txt')
-rw-r--r--npc/023-3-1/logic.txt43
1 files changed, 11 insertions, 32 deletions
diff --git a/npc/023-3-1/logic.txt b/npc/023-3-1/logic.txt
index 9ce0bc4f0..62ce7d33e 100644
--- a/npc/023-3-1/logic.txt
+++ b/npc/023-3-1/logic.txt
@@ -9,15 +9,15 @@
023-3,39,59,0 script #Exit02331 NPC_HIDDEN,1,0,{
end;
OnTouch:
- .@q=getq(General_Narrator);
- .@q2=getq2(General_Narrator);
+ .@n=getq(General_Narrator);
+ .@q=getq2(FrostiaQuest_Homunculus);
// Cheater Detected
- if (.@q < 15) {
+ if (.@n < 15) {
warp "Save", 0, 0;
percentheal -100, -100;
return false;
}
- if (.@q == 15) {
+ if (.@n == 15) {
dispbottom lg("I'm not a coward! I must press forward!");
end;
}
@@ -30,10 +30,10 @@ OnTouch:
end;
OnTouch:
- .@q=getq(General_Narrator);
- .@q2=getq2(General_Narrator);
+ .@n=getq(General_Narrator);
+ .@q=getq2(FrostiaQuest_Homunculus);
// Cheater Detected
- if (.@q < 13) {
+ if (.@n < 13) {
warp "Save", 0, 0;
percentheal -100, -100;
return false;
@@ -47,15 +47,15 @@ OnTouch:
023-3,45,27,0 script #Leave02331 NPC_HIDDEN,1,0,{
end;
OnTouch:
- .@q=getq(General_Narrator);
- .@q2=getq2(General_Narrator);
+ .@n=getq(General_Narrator);
+ .@q=getq2(FrostiaQuest_Homunculus);
// Cheater Detected
- if (.@q < 15) {
+ if (.@n < 15) {
warp "Save", 0, 0;
percentheal -100, -100;
return false;
}
- if (.@q == 15) {
+ if (.@n == 15) {
dispbottom lg("I'm not a coward! I must press forward!");
end;
}
@@ -64,24 +64,3 @@ OnTouch:
end;
}
-001-7,59,44,0 script #Init02331 NPC_HIDDEN,0,0,{
- end;
-
-OnTouch:
- .@q=getq(General_Narrator);
- .@q2=getq2(General_Narrator);
- // Cheater Detected
- if (.@q < 13) {
- warp "Save", 0, 0;
- percentheal -100, -100;
- return false;
- }
- /*if (.@q == 15) {
- dispbottom lg("I'm not a coward! I must press forward!");
- end;
- }*/
- .@mapn$="023-3-1";
- warp .@mapn$, any(45,46), 79;
- end;
-}
-