summaryrefslogtreecommitdiff
path: root/world/map/npc/017-1/flowerpentagram1.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/017-1/flowerpentagram1.txt')
-rw-r--r--world/map/npc/017-1/flowerpentagram1.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/world/map/npc/017-1/flowerpentagram1.txt b/world/map/npc/017-1/flowerpentagram1.txt
index e925445c..64128b4b 100644
--- a/world/map/npc/017-1/flowerpentagram1.txt
+++ b/world/map/npc/017-1/flowerpentagram1.txt
@@ -1,6 +1,6 @@
// Author: Jenalya
-017-1.gat,95,42,0|script|#FlowerPentagram1|400
+017-1,95,42,0|script|#FlowerPentagram1|400
{
if (OrumQuest >= 31) goto L_PlacedFifthFlower;
@@ -17,7 +17,7 @@ L_FirstFlower:
"Leave.", L_Close;
L_Next:
- if (isin("017-1.gat", 94, 41, 96, 43))
+ if (isin("017-1", 94, 41, 96, 43))
goto L_Place;
mes "You're too far away.";
@@ -25,8 +25,8 @@ L_Next:
L_Place:
set @localMonsterCount,
- mobcount("017-1.gat", "#FlowerPentagram1::OnSquirrelDeath") +
- mobcount("017-1.gat", "#FlowerPentagram1::OnScorpionDeath") +
+ mobcount("017-1", "#FlowerPentagram1::OnSquirrelDeath") +
+ mobcount("017-1", "#FlowerPentagram1::OnScorpionDeath") +
2; // the mobcount function has an offset of -1, so we add 2 to have the actual amount of monsters
if (@localMonsterCount > 2)
goto L_MonstersAlive;
@@ -37,8 +37,8 @@ L_Place:
mes "You carefully place the magic flower on the marked spot. You feel some tension in the air around you.";
set OrumQuest, 18;
close2;
- areamonster "017-1.gat", 91, 37, 101, 46, "", 1105, 2, "#FlowerPentagram1::OnSquirrelDeath";
- areamonster "017-1.gat", 91, 37, 101, 46, "", 1003, 3, "#FlowerPentagram1::OnScorpionDeath";
+ areamonster "017-1", 91, 37, 101, 46, "", 1105, 2, "#FlowerPentagram1::OnSquirrelDeath";
+ areamonster "017-1", 91, 37, 101, 46, "", 1003, 3, "#FlowerPentagram1::OnScorpionDeath";
set @value, 15;
callfunc "QuestSagathaAnnoy";
set @value, 0;