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.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/npc/023-3-1/logic.txt b/npc/023-3-1/logic.txt
index d2ccb8a56..4adf97ea1 100644
--- a/npc/023-3-1/logic.txt
+++ b/npc/023-3-1/logic.txt
@@ -56,6 +56,12 @@ OnTouch:
023-3-1,45,63,0 script #Ambush02331 NPC_HIDDEN,10,0,{
OnTouch:
+ .@q=getq(FrostiaQuest_Homunculus);
+ if (.@q < 3) {
+ dispbottom l("Error, cheater detected");
+ percentheal -100, -100;
+ end;
+ }
.@q=getq3(FrostiaQuest_Homunculus);
if (!.@q) {
.@m$=getmap();
@@ -81,6 +87,12 @@ OnTouch:
OnTouch:
if (instance_id() < 0)
end;
+ .@q=getq(FrostiaQuest_Homunculus);
+ if (.@q < 3) {
+ dispbottom l("Error, cheater detected");
+ percentheal -100, -100;
+ end;
+ }
.@n$=instance_npcname(.name$);
.@q=getq3(FrostiaQuest_Homunculus);
if (.@q == 1) {