summaryrefslogtreecommitdiff
path: root/npc/002-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-09-24 20:28:59 -0300
committerJesusaves <cpntb1@ymail.com>2021-09-24 20:28:59 -0300
commitbe45c124915ca1f4de50b70572d8f28a0c8998b0 (patch)
tree3b6480b09aca545d4f6c2cb2a87c5e0a58712981 /npc/002-1
parent81a63112d6bb6fa383ceea8c3a7a6a327b793127 (diff)
downloadserverdata-be45c124915ca1f4de50b70572d8f28a0c8998b0.tar.gz
serverdata-be45c124915ca1f4de50b70572d8f28a0c8998b0.tar.bz2
serverdata-be45c124915ca1f4de50b70572d8f28a0c8998b0.tar.xz
serverdata-be45c124915ca1f4de50b70572d8f28a0c8998b0.zip
Fix the most annoying bug ever. Instance 0 is reserved anyways.
Diffstat (limited to 'npc/002-1')
-rw-r--r--npc/002-1/peter.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/npc/002-1/peter.txt b/npc/002-1/peter.txt
index bff153067..0d8ff3bba 100644
--- a/npc/002-1/peter.txt
+++ b/npc/002-1/peter.txt
@@ -53,7 +53,7 @@ L_Main:
OnGiveTask:
L_Task:
if (!.@q)
- setq ShipQuests_Peter, 1, 0, -1;
+ setq ShipQuests_Peter, 1, 0, 0;
mesn;
mesq lg("Hey, girl!", "Hey, man!");
next;
@@ -93,7 +93,7 @@ L_ReturnFail:
.@q3 = getq3(ShipQuests_Peter);
//instance_destroy(.@q3);
setq2 ShipQuests_Peter, 0;
- setq3 ShipQuests_Peter, -1;
+ setq3 ShipQuests_Peter, 0;
deltimer("RattosControl::OnRatto1Respawn");
deltimer("RattosControl::OnRatto2Respawn");
deltimer("RattosControl::OnRatto3Respawn");
@@ -238,7 +238,7 @@ OnTimeout:
.@q3 = getq3(ShipQuests_Peter);
//instance_destroy(.@q3);
setq2 ShipQuests_Peter, 0;
- setq3 ShipQuests_Peter, -1;
+ setq3 ShipQuests_Peter, 0;
deltimer("RattosControl::OnRatto1Respawn");
deltimer("RattosControl::OnRatto2Respawn");
deltimer("RattosControl::OnRatto3Respawn");
@@ -250,7 +250,7 @@ OnTimeout:
OnDone:
.@q3 = getq3(ShipQuests_Peter);
//instance_destroy(.@q3);
- setq ShipQuests_Peter, getq(ShipQuests_Peter)|@peter, 0, -1;
+ setq ShipQuests_Peter, getq(ShipQuests_Peter)|@peter, 0, 0;
.@q = getq(ShipQuests_Peter);
if (@peter) {