summaryrefslogtreecommitdiff
path: root/npc/custom/bgqueue
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/custom/bgqueue
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/custom/bgqueue')
-rw-r--r--npc/custom/bgqueue/flavius.txt82
1 files changed, 41 insertions, 41 deletions
diff --git a/npc/custom/bgqueue/flavius.txt b/npc/custom/bgqueue/flavius.txt
index 4b2a9b250..b3db9f81d 100644
--- a/npc/custom/bgqueue/flavius.txt
+++ b/npc/custom/bgqueue/flavius.txt
@@ -19,7 +19,7 @@
//Tacham, while the script is under testings the original will remain, meaning if you wanna test this you need to disable the other, or they'll conflict.
-bat_b01,15,15,3 script start#bat_b01 844,{
+bat_b01,15,15,3 script start#bat_b01 CLEAR_NPC,{
OnInit:
mapwarp "bat_b01","bat_room",154,150;
end;
@@ -131,7 +131,7 @@ OnMatchOver:
end;
}
-bat_b01,1,1,3 script OBJ#bat_b01_a 844,{
+bat_b01,1,1,3 script OBJ#bat_b01_a CLEAR_NPC,{
OnEnable:
bg_monster $@FlaviusBG1_id1,"bat_b01",61,150,"Pink Crystal",1915,"OBJ#bat_b01_a::OnMyMobDead";
end;
@@ -162,7 +162,7 @@ OnMyMobDead:
}
end;
}
-bat_b01,1,2,3 script OBJ#bat_b01_b 844,{
+bat_b01,1,2,3 script OBJ#bat_b01_b CLEAR_NPC,{
OnEnable:
bg_monster $@FlaviusBG1_id2,"bat_b01",328,150,"Blue Crystal",1914,"OBJ#bat_b01_b::OnMyMobDead";
end;
@@ -194,7 +194,7 @@ OnMyMobDead:
end;
}
-bat_b01,1,3,3 script guardian#bat_b01_a 844,{
+bat_b01,1,3,3 script guardian#bat_b01_a CLEAR_NPC,{
OnEnable:
bg_monster $@FlaviusBG1_id1,"bat_b01",108,159,"Guillaume Camp Guardian",1949,"guardian#bat_b01_a::OnMyMobDead";
bg_monster $@FlaviusBG1_id1,"bat_b01",108,141,"Guillaume Camp Guardian",1949,"guardian#bat_b01_a::OnMyMobDead";
@@ -212,7 +212,7 @@ OnMyMobDead:
end;
}
-bat_b01,1,3,3 script guardian#bat_b01_b 844,{
+bat_b01,1,3,3 script guardian#bat_b01_b CLEAR_NPC,{
OnEnable:
bg_monster $@FlaviusBG1_id2,"bat_b01",307,160,"Croix Camp Guardian",1949,"guardian#bat_b01_b::OnMyMobDead";
bg_monster $@FlaviusBG1_id2,"bat_b01",307,138,"Croix Camp Guardian",1949,"guardian#bat_b01_b::OnMyMobDead";
@@ -230,7 +230,7 @@ OnMyMobDead:
end;
}
-bat_b01,1,4,3 script cell#bat_b01_a 844,{
+bat_b01,1,4,3 script cell#bat_b01_a CLEAR_NPC,{
Onred:
setcell "bat_b01",62,149,60,151,cell_basilica,1;
setcell "bat_b01",62,149,60,151,cell_walkable,0;
@@ -242,7 +242,7 @@ Ongreen:
end;
}
-bat_b01,1,5,3 script cell#bat_b01_b 844,{
+bat_b01,1,5,3 script cell#bat_b01_b CLEAR_NPC,{
Onred:
setcell "bat_b01",327,151,329,149,cell_basilica,1;
setcell "bat_b01",327,151,329,149,cell_walkable,0;
@@ -254,7 +254,7 @@ Ongreen:
end;
}
-bat_b01,1,6,1 script time#bat_b01 844,{
+bat_b01,1,6,1 script time#bat_b01 CLEAR_NPC,{
OnEnable:
donpcevent "Battle Therapist#b01_a::OnEnable";
donpcevent "Battle Therapist#b01_b::OnEnable";
@@ -266,7 +266,7 @@ Onstop:
end;
}
-bat_b01,10,294,3 script Battle Therapist#b01_a 95,{
+bat_b01,10,294,3 script Battle Therapist#b01_a 4_F_SISTER,{
specialeffect2 EF_HEAL;
mes "[Battle Therapist]";
mes "Just close your eyes,";
@@ -300,7 +300,7 @@ Onstop:
end;
}
-bat_b01,10,290,0 script bat_b01_rp1_a_warp 45,10,10,{
+bat_b01,10,290,0 script bat_b01_rp1_a_warp WARPNPC,10,10,{
OnInit:
disablenpc "bat_b01_rp1_a_warp";
end;
@@ -311,7 +311,7 @@ OnTouch:
end;
}
-bat_b01,389,14,3 script Battle Therapist#b01_b 95,{
+bat_b01,389,14,3 script Battle Therapist#b01_b 4_F_SISTER,{
specialeffect2 EF_HEAL;
mes "[Battle Therapist]";
mes "Just close your eyes,";
@@ -345,7 +345,7 @@ Onstop:
end;
}
-bat_b01,389,10,0 script bat_b01_rp1_b_warp 45,9,9,{
+bat_b01,389,10,0 script bat_b01_rp1_b_warp WARPNPC,9,9,{
OnInit:
disablenpc "bat_b01_rp1_a_warp";
end;
@@ -370,7 +370,7 @@ OnTouch:
end;
}
-bat_b01,10,294,3 script Guillaume Vintenar#b01_a 934,{
+bat_b01,10,294,3 script Guillaume Vintenar#b01_a 4_M_RASWORD,{
if ($@FlaviusBG1_id1 == getcharid(4)) {
if ($@FlaviusBG1_Victory == 1) {
set .@your_medal,countitem(7829);
@@ -422,7 +422,7 @@ OnInit:
end;
}
-bat_b01,389,14,3 script Croix Vintenar#b01_b 934,{
+bat_b01,389,14,3 script Croix Vintenar#b01_b 4_M_RASWORD,{
if ($@FlaviusBG1_id2 == getcharid(4)) {
if ($@FlaviusBG1_Victory == 2) {
set .@your_medal,countitem(7829);
@@ -474,7 +474,7 @@ OnInit:
end;
}
-bat_b01,1,5,3 script countdown#bat_b01 844,{
+bat_b01,1,5,3 script countdown#bat_b01 CLEAR_NPC,{
OnInit:
stopnpctimer;
end;
@@ -531,31 +531,31 @@ OnTimer1900000:
end;
}
-bat_b01,81,83,3 script Guillaume Camp#flag21 973,{ end; }
-bat_b01,94,83,3 script Guillaume Camp#flag22 973,{ end; }
-bat_b01,81,66,3 script Guillaume Camp#flag23 973,{ end; }
-bat_b01,94,66,3 script Guillaume Camp#flag24 973,{ end; }
-bat_b01,139,142,3 script Guillaume Camp#flag25 973,{ end; }
-bat_b01,139,158,3 script Guillaume Camp#flag26 973,{ end; }
-bat_b01,110,161,3 script Guillaume Camp#flag27 973,{ end; }
-bat_b01,110,137,3 script Guillaume Camp#flag28 973,{ end; }
-bat_b01,63,135,3 script Guillaume Camp#flag29 973,{ end; }
-bat_b01,63,165,3 script Guillaume Camp#flag30 973,{ end; }
-bat_b01,10,296,3 script Guillaume Camp#flag31 973,{ end; }
-
-bat_b01,306,233,3 script Croix Camp#flag21 974,{ end; }
-bat_b01,317,233,3 script Croix Camp#flag22 974,{ end; }
-bat_b01,306,216,3 script Croix Camp#flag23 974,{ end; }
-bat_b01,317,216,3 script Croix Camp#flag24 974,{ end; }
-bat_b01,257,158,3 script Croix Camp#flag25 974,{ end; }
-bat_b01,257,141,3 script Croix Camp#flag26 974,{ end; }
-bat_b01,297,164,3 script Croix Camp#flag27 974,{ end; }
-bat_b01,297,136,3 script Croix Camp#flag28 974,{ end; }
-bat_b01,336,161,3 script Croix Camp#flag29 974,{ end; }
-bat_b01,336,139,3 script Croix Camp#flag30 974,{ end; }
-bat_b01,389,16,3 script Croix Camp#flag31 974,{ end; }
-
-bat_b01,10,294,3 script Vintenar#bat_b01_aover 419,{
+bat_b01,81,83,3 script Guillaume Camp#flag21 1_FLAG_LION,{ end; }
+bat_b01,94,83,3 script Guillaume Camp#flag22 1_FLAG_LION,{ end; }
+bat_b01,81,66,3 script Guillaume Camp#flag23 1_FLAG_LION,{ end; }
+bat_b01,94,66,3 script Guillaume Camp#flag24 1_FLAG_LION,{ end; }
+bat_b01,139,142,3 script Guillaume Camp#flag25 1_FLAG_LION,{ end; }
+bat_b01,139,158,3 script Guillaume Camp#flag26 1_FLAG_LION,{ end; }
+bat_b01,110,161,3 script Guillaume Camp#flag27 1_FLAG_LION,{ end; }
+bat_b01,110,137,3 script Guillaume Camp#flag28 1_FLAG_LION,{ end; }
+bat_b01,63,135,3 script Guillaume Camp#flag29 1_FLAG_LION,{ end; }
+bat_b01,63,165,3 script Guillaume Camp#flag30 1_FLAG_LION,{ end; }
+bat_b01,10,296,3 script Guillaume Camp#flag31 1_FLAG_LION,{ end; }
+
+bat_b01,306,233,3 script Croix Camp#flag21 1_FLAG_EAGLE,{ end; }
+bat_b01,317,233,3 script Croix Camp#flag22 1_FLAG_EAGLE,{ end; }
+bat_b01,306,216,3 script Croix Camp#flag23 1_FLAG_EAGLE,{ end; }
+bat_b01,317,216,3 script Croix Camp#flag24 1_FLAG_EAGLE,{ end; }
+bat_b01,257,158,3 script Croix Camp#flag25 1_FLAG_EAGLE,{ end; }
+bat_b01,257,141,3 script Croix Camp#flag26 1_FLAG_EAGLE,{ end; }
+bat_b01,297,164,3 script Croix Camp#flag27 1_FLAG_EAGLE,{ end; }
+bat_b01,297,136,3 script Croix Camp#flag28 1_FLAG_EAGLE,{ end; }
+bat_b01,336,161,3 script Croix Camp#flag29 1_FLAG_EAGLE,{ end; }
+bat_b01,336,139,3 script Croix Camp#flag30 1_FLAG_EAGLE,{ end; }
+bat_b01,389,16,3 script Croix Camp#flag31 1_FLAG_EAGLE,{ end; }
+
+bat_b01,10,294,3 script Vintenar#bat_b01_aover 4_M_KY_HEAD,{
set .@A_B_gap,$@Guill_ScoreBG1 - $@Croix_ScoreBG1;
if ($@FlaviusBG1_id1 == getcharid(4)) {
if (.@A_B_gap > 0) {
@@ -633,7 +633,7 @@ OnInit:
end;
}
-bat_b01,389,14,3 script Vintenar#bat_b01_bover 415,{
+bat_b01,389,14,3 script Vintenar#bat_b01_bover 4_M_CRU_HEAD,{
set .@A_B_gap,$@Guill_ScoreBG1 - $@Croix_ScoreBG1;
if ($@FlaviusBG1_id2 == getcharid(4)) {
if (.@A_B_gap > 0) {