summaryrefslogtreecommitdiff
path: root/npc/warps/dungeons/ant_hell.txt
diff options
context:
space:
mode:
authorLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-25 11:14:20 +0000
committerLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-25 11:14:20 +0000
commit61c9ecdec07f41a48e65a238d7f7338bb543c4e7 (patch)
treee0bbfd0b46cdeab2b1b60f0a093150487d9f6070 /npc/warps/dungeons/ant_hell.txt
parent4cbc9454fca17c95515554992b2ccc4e5fe71e72 (diff)
downloadhercules-61c9ecdec07f41a48e65a238d7f7338bb543c4e7.tar.gz
hercules-61c9ecdec07f41a48e65a238d7f7338bb543c4e7.tar.bz2
hercules-61c9ecdec07f41a48e65a238d7f7338bb543c4e7.tar.xz
hercules-61c9ecdec07f41a48e65a238d7f7338bb543c4e7.zip
optimized warps scripts
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6748 54d463be-8e91-2dee-dedb-b68131a5f0ec
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