summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/018-6-3/main.txt2
-rw-r--r--npc/functions/main.txt1
2 files changed, 3 insertions, 0 deletions
diff --git a/npc/018-6-3/main.txt b/npc/018-6-3/main.txt
index 0017093cc..2820ca592 100644
--- a/npc/018-6-3/main.txt
+++ b/npc/018-6-3/main.txt
@@ -206,6 +206,7 @@ OnFinalRoom:
.@x2=106;
.@y2=97;
.@id=256;
+ changemusic getmap(), "let_the_battles_begin.ogg";
mapannounce getmap(), col(l("FINAL BOSS FIGHT - WATCH OUT!"), 1), bc_map|bc_pc;
.@mi=NightDragon;
@boss=monster(getmap(), 90, 89, strmobinfo(1, .@mi), .@mi, 1, instance_npcname(.name$)+"::OnKillBoss");
@@ -272,6 +273,7 @@ OnKill256:
end;
OnKillBoss:
+ changemusic getmap(), "Misty_Shrine.ogg";
if (playerattached()) {
enablenpc instance_npcname("???#01863");
getexp 200000, 10000;
diff --git a/npc/functions/main.txt b/npc/functions/main.txt
index b54401e02..2bfb6e29a 100644
--- a/npc/functions/main.txt
+++ b/npc/functions/main.txt
@@ -282,6 +282,7 @@ function script msObjective {
function script getmap {
if (getmapxy(.@mapName$, .@xpos, .@ypos, getarg(0,0)) != 0)
return false;
+ // TODO: Maybe use getmapname() instead of getmapxy?
return .@mapName$;
}