summaryrefslogtreecommitdiff
path: root/world/map/npc/052-2/lobby.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/052-2/lobby.txt')
-rw-r--r--world/map/npc/052-2/lobby.txt38
1 files changed, 19 insertions, 19 deletions
diff --git a/world/map/npc/052-2/lobby.txt b/world/map/npc/052-2/lobby.txt
index 71dde1f7..50eb472f 100644
--- a/world/map/npc/052-2/lobby.txt
+++ b/world/map/npc/052-2/lobby.txt
@@ -14,7 +14,7 @@
// 8: Witch guards defeated. Door is open.
//-----------------------------------------------------------------------------
-052-2.gat,40,19,0|script|#InnDoorTrigger|32767,2,2
+052-2,40,19,0|script|#InnDoorTrigger|32767,2,2
{
set @step, 5;
if ($@illia_progress < @step) goto L_ShouldNotBeHere;
@@ -23,7 +23,7 @@
end;
L_Warp:
- warp "052-2.gat", 23, 71;
+ warp "052-2", 23, 71;
message strcharinfo(0), "This place is full of dust... *coughs*";
end;
@@ -33,7 +33,7 @@ L_ShouldNotBeHere:
}
-052-2.gat,33,40,0|script|#EntranceTrigger|32767,4,2
+052-2,33,40,0|script|#EntranceTrigger|32767,4,2
{
set @step, 5;
if ($@illia_progress < @step) goto L_ShouldNotBeHere;
@@ -50,7 +50,7 @@ L_ShouldNotBeHere:
end;
}
-052-2.gat,1,1,0|script|#LuviaShadow|127
+052-2,1,1,0|script|#LuviaShadow|127
{
end;
@@ -103,7 +103,7 @@ OnNN:
}
-052-2.gat,1,1,0|script|#MysteriousVoice|127
+052-2,1,1,0|script|#MysteriousVoice|127
{
end;
@@ -149,7 +149,7 @@ L_Continue:
// Dummy npc to display the mysterious voice,
// as a workaround to fakenpcname causing problems
-052-2.gat,1,1,0|script|?|127
+052-2,1,1,0|script|?|127
{
end;
@@ -159,10 +159,10 @@ OnCommandTalk:
}
-052-2.gat,1,1,0|script|Luvia?|371,2,2
+052-2,1,1,0|script|Luvia?|371,2,2
{
if ($@illia_level_5_progress != 3) end;
- if (isin("052-2.gat", 37,36, 41,39)) goto L_HandleTalk;
+ if (isin("052-2", 37,36, 41,39)) goto L_HandleTalk;
// Notify too far
mes "You see a strange and frightening, yet beautiful woman.";
if (strcharinfo(0) == $@ILLIA_HERO$)
@@ -235,7 +235,7 @@ OnTimer24500:
npctalk "Demonotis!";
misceffect FX_EVIL_SUMMON;
callsub S_GetHeroRect;
- areamonster "052-2.gat", $@illia_lobby_x1, $@illia_lobby_y1, $@illia_lobby_x2, $@illia_lobby_y2, "", 1101, 20 + 16 - 480/(30+$Illia_Luvia_Harvest), "Luvia?::OnDSDeath";
+ areamonster "052-2", $@illia_lobby_x1, $@illia_lobby_y1, $@illia_lobby_x2, $@illia_lobby_y2, "", 1101, 20 + 16 - 480/(30+$Illia_Luvia_Harvest), "Luvia?::OnDSDeath";
callsub S_ClearHeroRect;
end;
@@ -245,7 +245,7 @@ OnTimer44000:
npctalk "Demonotis!";
misceffect FX_EVIL_SUMMON;
callsub S_GetHeroRect;
- areamonster "052-2.gat", $@illia_lobby_x1, $@illia_lobby_y1, $@illia_lobby_x2, $@illia_lobby_y2, "", 1101, 28 + 16 - 480/(30+$Illia_Luvia_Harvest), "Luvia?::OnDSDeath";
+ areamonster "052-2", $@illia_lobby_x1, $@illia_lobby_y1, $@illia_lobby_x2, $@illia_lobby_y2, "", 1101, 28 + 16 - 480/(30+$Illia_Luvia_Harvest), "Luvia?::OnDSDeath";
callsub S_ClearHeroRect;
end;
@@ -255,7 +255,7 @@ OnTimer77000:
npctalk "Demonotis!";
misceffect FX_EVIL_SUMMON;
callsub S_GetHeroRect;
- areamonster "052-2.gat", $@illia_lobby_x1, $@illia_lobby_y1, $@illia_lobby_x2, $@illia_lobby_y2, "", 1101, 42 + 16 - 480/(30+$Illia_Luvia_Harvest), "Luvia?::OnDSDeath";
+ areamonster "052-2", $@illia_lobby_x1, $@illia_lobby_y1, $@illia_lobby_x2, $@illia_lobby_y2, "", 1101, 42 + 16 - 480/(30+$Illia_Luvia_Harvest), "Luvia?::OnDSDeath";
callsub S_ClearHeroRect;
// That was the last spawn: reset the timer to start the CheckInvoke loop.
set $@illia_level_5_progress, 5;
@@ -288,7 +288,7 @@ OnTimer18500:
misceffect FX_EVIL_SUMMON;
misceffect FX_MAGIC_DARK_EXPLOSION;
callsub S_GetHeroRect;
- areamonster "052-2.gat", $@illia_lobby_x1, $@illia_lobby_y1, $@illia_lobby_x2, $@illia_lobby_y2, "", 1103, 8 + (16 - 480/(30+$Illia_Luvia_Harvest))/3, "Luvia?::OnWGDeath";
+ areamonster "052-2", $@illia_lobby_x1, $@illia_lobby_y1, $@illia_lobby_x2, $@illia_lobby_y2, "", 1103, 8 + (16 - 480/(30+$Illia_Luvia_Harvest))/3, "Luvia?::OnWGDeath";
callsub S_ClearHeroRect;
end;
@@ -308,19 +308,19 @@ OnTimer2000:
end;
setnpctimer 0;
// Mock players randomly (more or less once every 40 secs) and if still enough mobs running after them
- if ($@illia_level_5_progress == 5 && rand(20) == 0 && (mobcount("052-2.gat", "Luvia?::OnDSDeath") > 20))
+ if ($@illia_level_5_progress == 5 && rand(20) == 0 && (mobcount("052-2", "Luvia?::OnDSDeath") > 20))
npctalk "Ahaha! Run... Run!";
- if ($@illia_level_5_progress == 5 && (mobcount("052-2.gat", "Luvia?::OnDSDeath") < 0))
+ if ($@illia_level_5_progress == 5 && (mobcount("052-2", "Luvia?::OnDSDeath") < 0))
goto L_AllWavesClear;
- if ($@illia_level_5_progress == 7 && (mobcount("052-2.gat", "Luvia?::OnWGDeath") < 0))
+ if ($@illia_level_5_progress == 7 && (mobcount("052-2", "Luvia?::OnWGDeath") < 0))
goto L_AllWavesClear;
end;
L_Clear:
stopnpctimer;
setnpctimer 0;
- killmonster "052-2.gat", "Luvia?::OnDSDeath";
- killmonster "052-2.gat", "Luvia?::OnWGDeath";
+ killmonster "052-2", "Luvia?::OnDSDeath";
+ killmonster "052-2", "Luvia?::OnWGDeath";
end;
L_AllWavesClear:
@@ -337,13 +337,13 @@ L_ChaseLuvia:
set $@illia_progress, 6;
callfunc "UpdateIlliaProgress";
set $@illia_max_time, $@illia_max_time + 360;
- areatimer "052-2.gat", 19, 18, 48, 43, 2000, "#LuviaShadow::OnNN";
+ areatimer "052-2", 19, 18, 48, 43, 2000, "#LuviaShadow::OnNN";
end;
S_GetHeroRect:
if (!(attachrid($@ILLIA_HERO_ID)))
goto L_Clear;
- if(!(isin("052-2.gat", 20, 21, 47, 43)))
+ if(!(isin("052-2", 20, 21, 47, 43)))
goto L_Clear;
set $@illia_lobby_x, getx();