summaryrefslogtreecommitdiff
path: root/npc/re/warps
diff options
context:
space:
mode:
authorKisuka <kisuka@kisuka.com>2013-10-28 00:42:23 -0700
committerKisuka <kisuka@kisuka.com>2013-10-28 00:42:23 -0700
commit124ab2a1cdb344f24170a4d91f7000ebabf39b40 (patch)
treeebc5aeee49da96f88e55358c184d69d90eae9289 /npc/re/warps
parente7efdfe96e1b4c288bca845c03512da6842d6425 (diff)
downloadhercules-124ab2a1cdb344f24170a4d91f7000ebabf39b40.tar.gz
hercules-124ab2a1cdb344f24170a4d91f7000ebabf39b40.tar.bz2
hercules-124ab2a1cdb344f24170a4d91f7000ebabf39b40.tar.xz
hercules-124ab2a1cdb344f24170a4d91f7000ebabf39b40.zip
Added ability to use constants instead of sprite IDs for NPCs. Converted all npcs to use this.
Diffstat (limited to 'npc/re/warps')
-rw-r--r--npc/re/warps/cities/dicastes.txt28
-rw-r--r--npc/re/warps/cities/malaya.txt28
-rw-r--r--npc/re/warps/dungeons/iz_dun.txt4
-rw-r--r--npc/re/warps/fields/bif_fild.txt6
-rw-r--r--npc/re/warps/fields/morroc_fild.txt4
-rw-r--r--npc/re/warps/fields/veins_fild.txt2
6 files changed, 36 insertions, 36 deletions
diff --git a/npc/re/warps/cities/dicastes.txt b/npc/re/warps/cities/dicastes.txt
index 8d43c8edd..6ad933aa3 100644
--- a/npc/re/warps/cities/dicastes.txt
+++ b/npc/re/warps/cities/dicastes.txt
@@ -30,7 +30,7 @@ dicastes02,120,237,0 warp eldicastes0013 1,1,dic_in01,45,246
dic_in01,45,244,0 warp eldicastes0014 1,1,dicastes02,119,235
dic_in01,299,248,0 warp eldicastes0015 1,1,dic_in01,262,191
-dic_in01,242,182,0 script #eldicastes0016 844,{
+dic_in01,242,182,0 script #eldicastes0016 CLEAR_NPC,{
if (isequipped(2782)) select("Administrative Office");
else select("¡÷¡ú¡ð");
warp "dic_in01",138,221;
@@ -57,16 +57,16 @@ dic_in01,242,182,0 script #eldicastes0016 844,{
warp "dic_in01",.@xy[.@m*2],.@xy[.@m*2+1];
end;
}
-dic_in01,46,288,0 duplicate(Elevator#main) Elevator#1 844
-dic_in01,122,284,0 duplicate(Elevator#main) Elevator#2 844
-dic_in01,121,203,0 duplicate(Elevator#main) Elevator#3 844
-dic_in01,35,214,0 duplicate(Elevator#main) Elevator#4 844
-dic_in01,44,116,0 duplicate(Elevator#main) Elevator#5 844
-dic_in01,112,108,0 duplicate(Elevator#main) Elevator#6 844
-dic_in01,180,108,0 duplicate(Elevator#main) Elevator#7 844
-dic_in01,261,115,0 duplicate(Elevator#main) Elevator#8 844
-dic_in01,57,48,0 duplicate(Elevator#main) Elevator#9 844
-dic_in01,137,46,0 duplicate(Elevator#main) Elevator#10 844
-dic_in01,222,46,0 duplicate(Elevator#main) Elevator#11 844
-dic_in01,388,272,0 duplicate(Elevator#main) Elevator#12 844
-dic_in01,389,208,0 duplicate(Elevator#main) Elevator#13 844 \ No newline at end of file
+dic_in01,46,288,0 duplicate(Elevator#main) Elevator#1 CLEAR_NPC
+dic_in01,122,284,0 duplicate(Elevator#main) Elevator#2 CLEAR_NPC
+dic_in01,121,203,0 duplicate(Elevator#main) Elevator#3 CLEAR_NPC
+dic_in01,35,214,0 duplicate(Elevator#main) Elevator#4 CLEAR_NPC
+dic_in01,44,116,0 duplicate(Elevator#main) Elevator#5 CLEAR_NPC
+dic_in01,112,108,0 duplicate(Elevator#main) Elevator#6 CLEAR_NPC
+dic_in01,180,108,0 duplicate(Elevator#main) Elevator#7 CLEAR_NPC
+dic_in01,261,115,0 duplicate(Elevator#main) Elevator#8 CLEAR_NPC
+dic_in01,57,48,0 duplicate(Elevator#main) Elevator#9 CLEAR_NPC
+dic_in01,137,46,0 duplicate(Elevator#main) Elevator#10 CLEAR_NPC
+dic_in01,222,46,0 duplicate(Elevator#main) Elevator#11 CLEAR_NPC
+dic_in01,388,272,0 duplicate(Elevator#main) Elevator#12 CLEAR_NPC
+dic_in01,389,208,0 duplicate(Elevator#main) Elevator#13 CLEAR_NPC \ No newline at end of file
diff --git a/npc/re/warps/cities/malaya.txt b/npc/re/warps/cities/malaya.txt
index b18a1f52d..190f1831a 100644
--- a/npc/re/warps/cities/malaya.txt
+++ b/npc/re/warps/cities/malaya.txt
@@ -32,7 +32,7 @@ ma_in01,105,160,0 warp mf_in_minga_mf_minga 1,1,ma_fild01,248,190
// Locked Warps
//============================================================
-malaya,178,211,0 script malaya_inn 45,1,1,{
+malaya,178,211,0 script malaya_inn WARPNPC,1,1,{
end;
OnTouch:
if (malaya_hi < 10) {
@@ -43,7 +43,7 @@ OnTouch:
end;
}
-malaya,112,212,0 script malaya_ws 45,1,1,{
+malaya,112,212,0 script malaya_ws WARPNPC,1,1,{
end;
OnTouch:
if (malaya_hi < 20) {
@@ -54,7 +54,7 @@ OnTouch:
end;
}
-malaya,299,167,0 script malaya_ts 45,1,1,{
+malaya,299,167,0 script malaya_ts WARPNPC,1,1,{
end;
OnTouch:
if (malaya_hi < 20) {
@@ -65,7 +65,7 @@ OnTouch:
end;
}
-malaya,261,240,0 script malaya_shop 45,1,1,{
+malaya,261,240,0 script malaya_shop WARPNPC,1,1,{
end;
OnTouch:
if (malaya_hi < 20) {
@@ -76,7 +76,7 @@ OnTouch:
end;
}
-malaya,300,211,0 script malaya_house01 45,1,1,{
+malaya,300,211,0 script malaya_house01 WARPNPC,1,1,{
end;
OnTouch:
if (malaya_hi < 10) {
@@ -123,17 +123,17 @@ function script F_Malaya_Warp {
end;
}
-ma_zif01,30,22,0 script Town Warp#zif01 45,1,1,{ callfunc "F_Malaya_Warp","Center","Southwest","Southeast",1; }
-ma_zif02,30,22,0 script Town Warp#zif02 45,1,1,{ callfunc "F_Malaya_Warp","Southwest","Center","Southeast",1; }
-ma_zif03,30,22,0 script Town Warp#zif03 45,1,1,{ callfunc "F_Malaya_Warp","Southeast","Center","Southwest",1; }
+ma_zif01,30,22,0 script Town Warp#zif01 WARPNPC,1,1,{ callfunc "F_Malaya_Warp","Center","Southwest","Southeast",1; }
+ma_zif02,30,22,0 script Town Warp#zif02 WARPNPC,1,1,{ callfunc "F_Malaya_Warp","Southwest","Center","Southeast",1; }
+ma_zif03,30,22,0 script Town Warp#zif03 WARPNPC,1,1,{ callfunc "F_Malaya_Warp","Southeast","Center","Southwest",1; }
-ma_zif04,30,22,0 script Town Warp#zif04 45,1,1,{ callfunc "F_Malaya_Warp","Northwest","Southeast","Northeast",2; }
-ma_zif05,30,22,0 script Town Warp#zif05 45,1,1,{ callfunc "F_Malaya_Warp","Southeast","Northwest","Northeast",2; }
-ma_zif06,30,22,0 script Town Warp#zif06 45,1,1,{ callfunc "F_Malaya_Warp","Northeast","Northwest","Southeast",2; }
+ma_zif04,30,22,0 script Town Warp#zif04 WARPNPC,1,1,{ callfunc "F_Malaya_Warp","Northwest","Southeast","Northeast",2; }
+ma_zif05,30,22,0 script Town Warp#zif05 WARPNPC,1,1,{ callfunc "F_Malaya_Warp","Southeast","Northwest","Northeast",2; }
+ma_zif06,30,22,0 script Town Warp#zif06 WARPNPC,1,1,{ callfunc "F_Malaya_Warp","Northeast","Northwest","Southeast",2; }
-ma_zif07,30,22,0 script Town Warp#zif07 45,1,1,{ callfunc "F_Malaya_Warp","Center","Northwest","Southeast",3; }
-ma_zif08,30,22,0 script Town Warp#zif08 45,1,1,{ callfunc "F_Malaya_Warp","Northwest","Center","Southeast",3; }
-ma_zif09,30,22,0 script Town Warp#zif09 45,1,1,{ callfunc "F_Malaya_Warp","Southeast","Center","Northwest",3; }
+ma_zif07,30,22,0 script Town Warp#zif07 WARPNPC,1,1,{ callfunc "F_Malaya_Warp","Center","Northwest","Southeast",3; }
+ma_zif08,30,22,0 script Town Warp#zif08 WARPNPC,1,1,{ callfunc "F_Malaya_Warp","Northwest","Center","Southeast",3; }
+ma_zif09,30,22,0 script Town Warp#zif09 WARPNPC,1,1,{ callfunc "F_Malaya_Warp","Southeast","Center","Northwest",3; }
//ma_zif01,30,22,0 warp malaya_car0001 1,1,malaya,241,238
//ma_zif02,30,22,0 warp malaya_car0002 1,1,malaya,71,43
diff --git a/npc/re/warps/dungeons/iz_dun.txt b/npc/re/warps/dungeons/iz_dun.txt
index 9a65e15a7..95e20d84c 100644
--- a/npc/re/warps/dungeons/iz_dun.txt
+++ b/npc/re/warps/dungeons/iz_dun.txt
@@ -14,7 +14,7 @@
// Undersea Tunnel Warper
//============================================================
-iz_dun04,130,234,5 script Gatekeeper#iz_dun 413,{
+iz_dun04,130,234,5 script Gatekeeper#iz_dun 4_M_CRU_SOLD,{
mes "[Gatekeeper]";
mes "Halt!";
mes "What brings you here, Adventurer?";
@@ -41,7 +41,7 @@ iz_dun04,130,234,5 script Gatekeeper#iz_dun 413,{
}
}
-iz_dun05,142,190,5 script Guard#iz_dun 413,{
+iz_dun05,142,190,5 script Guard#iz_dun 4_M_CRU_SOLD,{
mes "[Gatekeeper]";
mes "So I guess you want to go back to the fifth floor?";
next;
diff --git a/npc/re/warps/fields/bif_fild.txt b/npc/re/warps/fields/bif_fild.txt
index b2a9594c0..5fc888b3c 100644
--- a/npc/re/warps/fields/bif_fild.txt
+++ b/npc/re/warps/fields/bif_fild.txt
@@ -37,6 +37,6 @@ OnTouch:
specialeffect EF_LEVEL99_4;
end;
}
-bif_fild02,285,332,0 duplicate(bifrost_field0000) Small Hole#ep14_mora1 844
-bif_fild02,95,310,0 duplicate(bifrost_field0000) Small Hole#ep14_mora2 844
-bif_fild02,174,162,0 duplicate(bifrost_field0000) Small Hole#ep14_mora3 844
+bif_fild02,285,332,0 duplicate(bifrost_field0000) Small Hole#ep14_mora1 CLEAR_NPC
+bif_fild02,95,310,0 duplicate(bifrost_field0000) Small Hole#ep14_mora2 CLEAR_NPC
+bif_fild02,174,162,0 duplicate(bifrost_field0000) Small Hole#ep14_mora3 CLEAR_NPC
diff --git a/npc/re/warps/fields/morroc_fild.txt b/npc/re/warps/fields/morroc_fild.txt
index 050c76038..3b40d2443 100644
--- a/npc/re/warps/fields/morroc_fild.txt
+++ b/npc/re/warps/fields/morroc_fild.txt
@@ -42,7 +42,7 @@ moc_fild03,70,341,0 warp mocf04-1 5,2,moc_fild02,332,23
//moc_fild04,14,98,0 warp mocf07 1,11,moc_fild05,378,119
//moc_fild04,175,18,0 warp mocf08 3,2,moc_fild08,170,380
//moc_fild04,19,206,0 warp mocf09 3,15,moc_fild05,373,208
-//moc_fild04,219,327,0 script mocf016 45,3,4,{ set @anthell,0; warp "anthell01",35,262; }
+//moc_fild04,219,327,0 script mocf016 WARPNPC,3,4,{ set @anthell,0; warp "anthell01",35,262; }
//moc_fild04,292,381,0 warp mocf01-2 10,1,moc_fild01,76,25
//moc_fild04,314,381,0 warp mocf01-3 10,1,moc_fild01,76,25
//moc_fild04,336,381,0 warp mocf01-4 10,1,moc_fild01,76,25
@@ -95,7 +95,7 @@ moc_fild13,308,49,0 warp mocf06-1 2,4,moc_fild03,20,37
//moc_fild14,196,382,0 warp mocf16-1 4,2,moc_fild08,204,19
//moc_fild15,104,16,0 warp mocf26 9,2,moc_fild16,125,380
//moc_fild15,158,363,0 warp mocf18-1 6,2,moc_fild09,126,23
-//moc_fild15,258,253,0 script mocf017 45,3,3,{ set @anthell,1; warp "anthell01",35,262; }
+//moc_fild15,258,253,0 script mocf017 WARPNPC,3,3,{ set @anthell,1; warp "anthell01",35,262; }
//moc_fild15,348,18,0 warp mocf27 5,2,moc_fild16,334,379
//moc_fild15,367,276,0 warp mocf25-1 2,4,moc_fild14,19,278
//moc_fild15,38,105,0 warp mocf23-1 2,4,moc_fild11,376,197
diff --git a/npc/re/warps/fields/veins_fild.txt b/npc/re/warps/fields/veins_fild.txt
index 255ce637c..69c10edf3 100644
--- a/npc/re/warps/fields/veins_fild.txt
+++ b/npc/re/warps/fields/veins_fild.txt
@@ -30,7 +30,7 @@ ve_fild04,115,50,0 warp ve_fild4-3 1,1,ve_fild06,80,183
//ve_fild05,359,192,0 warp ve_fild5-2 1,1,ve_fild06,80,183
ve_fild06,153,220,0 warp ve_fild6-1 1,1,veins,218,355
/*
-ve_fild06,81,177,0 script ve_fild6-2 45,1,1,{
+ve_fild06,81,177,0 script ve_fild6-2 WARPNPC,1,1,{
if (rand(2))
warp "ve_fild04",115,55;
else