summaryrefslogtreecommitdiff
path: root/npc/re/quests/quests_brasilis.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/re/quests/quests_brasilis.txt')
-rw-r--r--npc/re/quests/quests_brasilis.txt14
1 files changed, 7 insertions, 7 deletions
diff --git a/npc/re/quests/quests_brasilis.txt b/npc/re/quests/quests_brasilis.txt
index d44b4e2fe..9c414a6c9 100644
--- a/npc/re/quests/quests_brasilis.txt
+++ b/npc/re/quests/quests_brasilis.txt
@@ -124,11 +124,11 @@ OnGo:
mes "Ah... who's a good puppy?";
mes "Ok, where are the others?";
}
- if (compare(strnpcinfo(2),"1")) setarray .@i[0],2,3;
- else if (compare(strnpcinfo(2),"2")) setarray .@i[0],1,3;
+ if (compare(strnpcinfo(NPC_NAME_UNIQUE),"1")) setarray .@i[0],2,3;
+ else if (compare(strnpcinfo(NPC_NAME_UNIQUE),"2")) setarray .@i[0],1,3;
else setarray .@i[0],1,2;
- donpcevent "Puppy#"+charat(strnpcinfo(2),0)+.@i[rand(2)]+"::OnEnable";
- hideonnpc strnpcinfo(0);
+ donpcevent "Puppy#"+charat(strnpcinfo(NPC_NAME_UNIQUE),0)+.@i[rand(2)]+"::OnEnable";
+ hideonnpc strnpcinfo(NPC_NAME);
close;
}
}
@@ -137,15 +137,15 @@ OnGo:
close;
OnInit:
- if (!compare(strnpcinfo(2),"1")) hideonnpc strnpcinfo(0);
+ if (!compare(strnpcinfo(NPC_NAME_UNIQUE),"1")) hideonnpc strnpcinfo(NPC_NAME);
end;
OnEnable:
- hideoffnpc strnpcinfo(0);
+ hideoffnpc strnpcinfo(NPC_NAME);
end;
OnDisable:
- hideonnpc strnpcinfo(0);
+ hideonnpc strnpcinfo(NPC_NAME);
end;
}