summaryrefslogtreecommitdiff
path: root/world/map/npc/011-6
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/011-6')
-rw-r--r--world/map/npc/011-6/_mobs.txt3
-rw-r--r--world/map/npc/011-6/bryant.txt16
2 files changed, 10 insertions, 9 deletions
diff --git a/world/map/npc/011-6/_mobs.txt b/world/map/npc/011-6/_mobs.txt
index 69867dee..a6574415 100644
--- a/world/map/npc/011-6/_mobs.txt
+++ b/world/map/npc/011-6/_mobs.txt
@@ -50,7 +50,8 @@
011-6.gat,263,236,16,5|monster|CaveMaggot|1056,3,30000,100000,Mob011-6::On1056
-011-6.gat,0,0,0|script|Mob011-6|-1,{
+011-6.gat,0,0,0|script|Mob011-6|-1,
+{
On1007:
set @mobID, 1007;
callfunc "MobPoints";
diff --git a/world/map/npc/011-6/bryant.txt b/world/map/npc/011-6/bryant.txt
index f06b2a80..528bf434 100644
--- a/world/map/npc/011-6/bryant.txt
+++ b/world/map/npc/011-6/bryant.txt
@@ -1,8 +1,8 @@
//NPC to set the state for killing the bandit lord.
// Variables used: nibble 0 of QUEST_Hurnscald
-011-6.gat,27,200,0|script|Bryant|126,{
-
+011-6.gat,27,200,0|script|Bryant|126,
+{
// This NPC previously used the variable TMW_Quest
callfunc "ClearVarTMW_Quest";
@@ -25,10 +25,10 @@ L_Bryant_Summon:
mes "\"I believe I saw him run into a cave south and east of here. There is a red carpet in front of the cave entrance. Be careful and good luck.\"";
set @state, 4;
callsub S_Update_Var;
- monster "011-6.gat",260,250,"BanditLord",1065,1, "Bryant::onBanditLordDead";
+ monster "011-6.gat",260,250,"BanditLord",1065,1, "Bryant::OnBanditLordDead";
goto L_Close;
-onBanditLordDead:
+OnBanditLordDead:
message strcharinfo(0), "You killed the bandit lord.";
set @state, ((QUEST_Hurnscald & NIBBLE_0_MASK) >> NIBBLE_0_SHIFT);
if (@state != 4)
@@ -51,15 +51,15 @@ L_Bryant_Waits:
L_Bryant_No:
mes "[Bryant]";
mes "\"Well, maybe he ran off. I'm pretty sure he should be there now.\"";
- killmonster "011-6.gat", "Bryant::onBanditLordDead";
- monster "011-6.gat",260,250,"BanditLord",1065,1, "Bryant::onBanditLordDead";
+ killmonster "011-6.gat", "Bryant::OnBanditLordDead";
+ monster "011-6.gat",260,250,"BanditLord",1065,1, "Bryant::OnBanditLordDead";
goto L_Close;
L_Bryant_Yes:
mes "[Bryant]";
mes "\"I don't think you killed him. Please try to find and kill him. He should be in the cave south and east of here with the red carpet in front of it.\"";
- killmonster "011-6.gat", "Bryant::onBanditLordDead";
- monster "011-6.gat",260,250,"BanditLord",1065,1, "Bryant::onBanditLordDead";
+ killmonster "011-6.gat", "Bryant::OnBanditLordDead";
+ monster "011-6.gat",260,250,"BanditLord",1065,1, "Bryant::OnBanditLordDead";
goto L_Close;
L_Bryant_Quiet: