diff options
Diffstat (limited to 'world/map/npc/012-1/flowerpentagram2.txt')
-rw-r--r-- | world/map/npc/012-1/flowerpentagram2.txt | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/world/map/npc/012-1/flowerpentagram2.txt b/world/map/npc/012-1/flowerpentagram2.txt index 35a9a21e..3ce479e9 100644 --- a/world/map/npc/012-1/flowerpentagram2.txt +++ b/world/map/npc/012-1/flowerpentagram2.txt @@ -1,6 +1,6 @@ // Author: Jenalya -012-1.gat,143,70,0|script|#FlowerPentagram2|400 +012-1,143,70,0|script|#FlowerPentagram2|400 { if (OrumQuest >= 31) goto L_PlacedFifthFlower; @@ -17,7 +17,7 @@ L_SecondFlower: "Leave.", L_Close; L_Next: - if (isin("012-1.gat", 142, 69, 144, 71)) + if (isin("012-1", 142, 69, 144, 71)) goto L_Place; mes "This isn't working, you're too far away."; @@ -25,10 +25,10 @@ L_Next: L_Place: set @localMonsterCount, - mobcount("012-1.gat", "#FlowerPentagram2::OnSquirrelDeath") + - mobcount("012-1.gat", "#FlowerPentagram2::OnMushroomDeath") + - mobcount("012-1.gat", "#FlowerPentagram2::OnScorpionDeath") + - mobcount("012-1.gat", "#FlowerPentagram2::OnRScorpionDeath") + + mobcount("012-1", "#FlowerPentagram2::OnSquirrelDeath") + + mobcount("012-1", "#FlowerPentagram2::OnMushroomDeath") + + mobcount("012-1", "#FlowerPentagram2::OnScorpionDeath") + + mobcount("012-1", "#FlowerPentagram2::OnRScorpionDeath") + 4; // the mobcount function has an offset of -1, so we add 4 to have the actual amount of monsters if (@localMonsterCount > 2) goto L_MonstersAlive; @@ -40,10 +40,10 @@ L_Place: mes "Sensing a certain tension build up around you, you can't help but feel alarmed."; set OrumQuest, 21; close2; - areamonster "012-1.gat", 140, 64, 146, 73, "", 1105, 2, "#FlowerPentagram2::OnSquirrelDeath"; - areamonster "012-1.gat", 140, 64, 146, 73, "", 1106, 2, "#FlowerPentagram2::OnMushroomDeath"; - areamonster "012-1.gat", 140, 64, 146, 73, "", 1003, 2, "#FlowerPentagram2::OnScorpionDeath"; - areamonster "012-1.gat", 140, 64, 146, 73, "", 1004, 2, "#FlowerPentagram2::OnRScorpionDeath"; + areamonster "012-1", 140, 64, 146, 73, "", 1105, 2, "#FlowerPentagram2::OnSquirrelDeath"; + areamonster "012-1", 140, 64, 146, 73, "", 1106, 2, "#FlowerPentagram2::OnMushroomDeath"; + areamonster "012-1", 140, 64, 146, 73, "", 1003, 2, "#FlowerPentagram2::OnScorpionDeath"; + areamonster "012-1", 140, 64, 146, 73, "", 1004, 2, "#FlowerPentagram2::OnRScorpionDeath"; set @value, 15; callfunc "QuestSagathaAnnoy"; set @value, 0; |