summaryrefslogtreecommitdiff
path: root/npc/warps/dungeons/ant_hell.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/warps/dungeons/ant_hell.txt')
-rw-r--r--npc/warps/dungeons/ant_hell.txt22
1 files changed, 14 insertions, 8 deletions
diff --git a/npc/warps/dungeons/ant_hell.txt b/npc/warps/dungeons/ant_hell.txt
index 808f5c4b2..94d12ea1c 100644
--- a/npc/warps/dungeons/ant_hell.txt
+++ b/npc/warps/dungeons/ant_hell.txt
@@ -3,25 +3,31 @@
//===== By: ==================================================
//= Nana (1.0)
//===== Current Version: =====================================
-//= 1.2
+//= 1.3
//===== Compatible With: =====================================
//= Any Athena Version
//===== Description: =========================================
//= Warp Points for Ant Hell
//===== Additional Comments: =================================
-//= No Comment!
+//= 1.3 Changed var anthell to @anthell. Optimized [Lupus]
//============================================================
//= Ant Hell =================================================
anthell01.gat,35,267,0 script ant001 45,1,1,{
- if( anthell==1) goto moc15;
- warp "moc_fild04.gat",213,327; end;
-moc15: warp "moc_fild15.gat",251,248; end;
+ if(@anthell) {
+ warp "moc_fild15.gat",251,248;
+ } else {
+ warp "moc_fild04.gat",213,327;
+ }
+ end;
}
anthell02.gat,171,169,0 script ant001 45,1,2,{
- if(anthell==0) goto moc15;
- warp "moc_fild04.gat",213,327; end;
-moc15: warp "moc_fild15.gat",251,248; end;
+ if(@anthell) {
+ warp "moc_fild04.gat",213,327;
+ } else {
+ warp "moc_fild15.gat",251,248;
+ }
+ end;
}
anthell01.gat,253,32,0 warp ant01 2,1,anthell02.gat,34,263
anthell02.gat,32,267,0 warp ant01-1 2,2,anthell01.gat,253,35