From 124ab2a1cdb344f24170a4d91f7000ebabf39b40 Mon Sep 17 00:00:00 2001 From: Kisuka Date: Mon, 28 Oct 2013 00:42:23 -0700 Subject: Added ability to use constants instead of sprite IDs for NPCs. Converted all npcs to use this. --- npc/battleground/flavius/flavius02.txt | 90 +++++++++++++++++----------------- 1 file changed, 45 insertions(+), 45 deletions(-) (limited to 'npc/battleground/flavius/flavius02.txt') diff --git a/npc/battleground/flavius/flavius02.txt b/npc/battleground/flavius/flavius02.txt index aebeab4f2..0a88b9919 100644 --- a/npc/battleground/flavius/flavius02.txt +++ b/npc/battleground/flavius/flavius02.txt @@ -21,7 +21,7 @@ // Waiting Room NPCs //============================================================ -bat_room,142,227,4 script Lieutenant Huvas 418,{ +bat_room,142,227,4 script Lieutenant Huvas 4_M_KY_KNT,{ end; OnInit: waitingroom "Battle Station",11,"start#bat_b02::OnReadyCheck",1,0,80; @@ -31,7 +31,7 @@ OnEnterBG: end; } -bat_room,142,204,0 script Lieutenant Yukon 414,{ +bat_room,142,204,0 script Lieutenant Yukon 4_M_CRU_KNT,{ end; OnInit: waitingroom "Battle Station",11,"start#bat_b02::OnReadyCheck",1,0,80; @@ -44,7 +44,7 @@ OnEnterBG: bat_room,141,220,0 warp back_bgroomb02a 1,1,bat_room,154,150 bat_room,141,211,0 warp back_bgroomb02b 1,1,bat_room,154,150 -bat_room,2,151,3 script #bat_b02_timer 844,{ +bat_room,2,151,3 script #bat_b02_timer CLEAR_NPC,{ end; OnInit: @@ -72,7 +72,7 @@ OnTimer1000: // Flavius Battleground Engine //============================================================ -bat_b02,15,15,3 script start#bat_b02 844,{ +bat_b02,15,15,3 script start#bat_b02 CLEAR_NPC,{ OnInit: mapwarp "bat_b02","bat_room",154,150; end; @@ -148,7 +148,7 @@ OnTimer10000: end; } -bat_b02,1,1,3 script OBJ#bat_b02_a 844,{ +bat_b02,1,1,3 script OBJ#bat_b02_a CLEAR_NPC,{ OnEnable: bg_monster $@FlaviusBG2_id1,"bat_b02",61,150,"Pink Crystal",1915,"OBJ#bat_b02_a::OnMyMobDead"; end; @@ -181,7 +181,7 @@ OnMyMobDead: end; } -bat_b02,1,2,3 script OBJ#bat_b02_b 844,{ +bat_b02,1,2,3 script OBJ#bat_b02_b CLEAR_NPC,{ OnEnable: bg_monster $@FlaviusBG2_id2,"bat_b02",328,150,"Blue Crystal",1914,"OBJ#bat_b02_b::OnMyMobDead"; end; @@ -214,7 +214,7 @@ OnMyMobDead: end; } -bat_b02,1,3,3 script guardian#bat_b02_a 844,{ +bat_b02,1,3,3 script guardian#bat_b02_a CLEAR_NPC,{ OnEnable: bg_monster $@FlaviusBG2_id1,"bat_b02",108,159,"Guillaume Camp Guardian",1949,"guardian#bat_b02_a::OnMyMobDead"; bg_monster $@FlaviusBG2_id1,"bat_b02",108,141,"Guillaume Camp Guardian",1949,"guardian#bat_b02_a::OnMyMobDead"; @@ -232,7 +232,7 @@ OnMyMobDead: end; } -bat_b02,1,3,3 script guardian#bat_b02_b 844,{ +bat_b02,1,3,3 script guardian#bat_b02_b CLEAR_NPC,{ OnEnable: bg_monster $@FlaviusBG2_id2,"bat_b02",307,160,"Croix Camp Guardian",1949,"guardian#bat_b02_b::OnMyMobDead"; bg_monster $@FlaviusBG2_id2,"bat_b02",307,138,"Croix Camp Guardian",1949,"guardian#bat_b02_b::OnMyMobDead"; @@ -250,7 +250,7 @@ OnMyMobDead: end; } -bat_b02,1,4,3 script cell#bat_b02_a 844,{ +bat_b02,1,4,3 script cell#bat_b02_a CLEAR_NPC,{ OnRed: setcell "bat_b02",62,149,60,151,cell_basilica,1; setcell "bat_b02",62,149,60,151,cell_walkable,0; @@ -262,7 +262,7 @@ OnGreen: end; } -bat_b02,1,5,3 script cell#bat_b02_b 844,{ +bat_b02,1,5,3 script cell#bat_b02_b CLEAR_NPC,{ OnRed: setcell "bat_b02",327,151,329,149,cell_basilica,1; setcell "bat_b02",327,151,329,149,cell_walkable,0; @@ -274,7 +274,7 @@ OnGreen: end; } -bat_b02,1,6,1 script time#bat_b02 844,{ +bat_b02,1,6,1 script time#bat_b02 CLEAR_NPC,{ OnEnable: donpcevent "Battle Therapist#b02_a::OnEnable"; donpcevent "Battle Therapist#b02_b::OnEnable"; @@ -286,7 +286,7 @@ OnStop: end; } -bat_b02,10,294,3 script Battle Therapist#b02_a 95,{ +bat_b02,10,294,3 script Battle Therapist#b02_a 4_F_SISTER,{ specialeffect2 EF_HEAL; mes "[Battle Therapist]"; mes "Just close your eyes,"; @@ -320,7 +320,7 @@ OnStop: end; } -bat_b02,10,290,0 script bat_b02_rp1_a_warp 45,10,10,{ +bat_b02,10,290,0 script bat_b02_rp1_a_warp WARPNPC,10,10,{ OnInit: disablenpc "bat_b02_rp1_a_warp"; end; @@ -331,7 +331,7 @@ OnTouch: end; } -bat_b02,389,14,3 script Battle Therapist#b02_b 95,{ +bat_b02,389,14,3 script Battle Therapist#b02_b 4_F_SISTER,{ specialeffect2 EF_HEAL; mes "[Battle Therapist]"; mes "Just close your eyes,"; @@ -365,7 +365,7 @@ OnStop: end; } -bat_b02,389,10,0 script bat_b02_rp1_b_warp 45,9,9,{ +bat_b02,389,10,0 script bat_b02_rp1_b_warp WARPNPC,9,9,{ OnInit: disablenpc "bat_b02_rp1_a_warp"; end; @@ -390,7 +390,7 @@ OnTouch: end; } -bat_b02,10,294,3 script Guillaume Vintenar#b02_a 934,{ +bat_b02,10,294,3 script Guillaume Vintenar#b02_a 4_M_RASWORD,{ if ($@FlaviusBG2_id1 == getcharid(4)) { if ($@FlaviusBG2_Victory == 1) { set .@your_medal,countitem(7829); @@ -442,7 +442,7 @@ OnInit: end; } -bat_b02,389,14,3 script Croix Vintenar#b02_b 934,{ +bat_b02,389,14,3 script Croix Vintenar#b02_b 4_M_RASWORD,{ if ($@FlaviusBG2_id2 == getcharid(4)) { if ($@FlaviusBG2_Victory == 2) { set .@your_medal,countitem(7829); @@ -494,7 +494,7 @@ OnInit: end; } -bat_b02,1,5,3 script countdown#bat_b02 844,{ +bat_b02,1,5,3 script countdown#bat_b02 CLEAR_NPC,{ OnInit: stopnpctimer; end; @@ -550,31 +550,31 @@ OnTimer1900000: end; } -bat_b02,81,83,3 script Guillaume Camp#flag32 973,{ end; } -bat_b02,94,83,3 script Guillaume Camp#flag33 973,{ end; } -bat_b02,81,66,3 script Guillaume Camp#flag34 973,{ end; } -bat_b02,94,66,3 script Guillaume Camp#flag35 973,{ end; } -bat_b02,139,142,3 script Guillaume Camp#flag36 973,{ end; } -bat_b02,139,158,3 script Guillaume Camp#flag37 973,{ end; } -bat_b02,110,161,3 script Guillaume Camp#flag38 973,{ end; } -bat_b02,110,137,3 script Guillaume Camp#flag39 973,{ end; } -bat_b02,63,135,3 script Guillaume Camp#flag40 973,{ end; } -bat_b02,63,165,3 script Guillaume Camp#flag41 973,{ end; } -bat_b02,10,296,3 script Guillaume Camp#flag42 973,{ end; } - -bat_b02,306,233,3 script Croix Camp#flag32 974,{ end; } -bat_b02,317,233,3 script Croix Camp#flag33 974,{ end; } -bat_b02,306,216,3 script Croix Camp#flag34 974,{ end; } -bat_b02,317,216,3 script Croix Camp#flag35 974,{ end; } -bat_b02,257,158,3 script Croix Camp#flag36 974,{ end; } -bat_b02,257,141,3 script Croix Camp#flag37 974,{ end; } -bat_b02,297,164,3 script Croix Camp#flag38 974,{ end; } -bat_b02,297,136,3 script Croix Camp#flag39 974,{ end; } -bat_b02,336,161,3 script Croix Camp#flag40 974,{ end; } -bat_b02,336,139,3 script Croix Camp#flag41 974,{ end; } -bat_b02,389,16,3 script Croix Camp#flag42 974,{ end; } - -bat_b02,10,294,3 script Vintenar#bat_b02_aover 419,{ +bat_b02,81,83,3 script Guillaume Camp#flag32 1_FLAG_LION,{ end; } +bat_b02,94,83,3 script Guillaume Camp#flag33 1_FLAG_LION,{ end; } +bat_b02,81,66,3 script Guillaume Camp#flag34 1_FLAG_LION,{ end; } +bat_b02,94,66,3 script Guillaume Camp#flag35 1_FLAG_LION,{ end; } +bat_b02,139,142,3 script Guillaume Camp#flag36 1_FLAG_LION,{ end; } +bat_b02,139,158,3 script Guillaume Camp#flag37 1_FLAG_LION,{ end; } +bat_b02,110,161,3 script Guillaume Camp#flag38 1_FLAG_LION,{ end; } +bat_b02,110,137,3 script Guillaume Camp#flag39 1_FLAG_LION,{ end; } +bat_b02,63,135,3 script Guillaume Camp#flag40 1_FLAG_LION,{ end; } +bat_b02,63,165,3 script Guillaume Camp#flag41 1_FLAG_LION,{ end; } +bat_b02,10,296,3 script Guillaume Camp#flag42 1_FLAG_LION,{ end; } + +bat_b02,306,233,3 script Croix Camp#flag32 1_FLAG_EAGLE,{ end; } +bat_b02,317,233,3 script Croix Camp#flag33 1_FLAG_EAGLE,{ end; } +bat_b02,306,216,3 script Croix Camp#flag34 1_FLAG_EAGLE,{ end; } +bat_b02,317,216,3 script Croix Camp#flag35 1_FLAG_EAGLE,{ end; } +bat_b02,257,158,3 script Croix Camp#flag36 1_FLAG_EAGLE,{ end; } +bat_b02,257,141,3 script Croix Camp#flag37 1_FLAG_EAGLE,{ end; } +bat_b02,297,164,3 script Croix Camp#flag38 1_FLAG_EAGLE,{ end; } +bat_b02,297,136,3 script Croix Camp#flag39 1_FLAG_EAGLE,{ end; } +bat_b02,336,161,3 script Croix Camp#flag40 1_FLAG_EAGLE,{ end; } +bat_b02,336,139,3 script Croix Camp#flag41 1_FLAG_EAGLE,{ end; } +bat_b02,389,16,3 script Croix Camp#flag42 1_FLAG_EAGLE,{ end; } + +bat_b02,10,294,3 script Vintenar#bat_b02_aover 4_M_KY_HEAD,{ set .@A_B_gap,$@Guill_ScoreBG2 - $@Croix_ScoreBG2; if ($@FlaviusBG2_id1 == getcharid(4)) { if (.@A_B_gap > 0) { @@ -652,7 +652,7 @@ OnInit: end; } -bat_b02,389,14,3 script Vintenar#bat_b02_bover 415,{ +bat_b02,389,14,3 script Vintenar#bat_b02_bover 4_M_CRU_HEAD,{ set .@A_B_gap,$@Guill_ScoreBG2 - $@Croix_ScoreBG2; if ($@FlaviusBG2_id2 == getcharid(4)) { if (.@A_B_gap > 0) { @@ -730,7 +730,7 @@ OnInit: end; } -bat_b02,1,10,3 script Release all#b02 81,{ +bat_b02,1,10,3 script Release all#b02 4_DOG01,{ set .@i, callfunc("F_GM_NPC",1854,0); if (.@i == -1) { mes "Cancelled."; -- cgit v1.2.3-70-g09d2