poring_war.txt 50 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771
  1. //===== rAthena Script =======================================
  2. //= Poring War
  3. //===== By: ==================================================
  4. //= Kisuka
  5. //===== Current Version: =====================================
  6. //= 1.2
  7. //===== Compatible With: =====================================
  8. //= rAthena Project
  9. //===== Description: =========================================
  10. //= [Official Conversion]
  11. //= Join a team in battle between Angeling and Deviling.
  12. //===== Additional Comments: =================================
  13. //= 1.0 First version. [Kisuka][5511]
  14. //= 1.1 Fixed some typos/bugs. [CalciumKid]
  15. //= 1.1a Fixed Waiting rooms witht he default MAX_LEVEL [Slim]
  16. //= 1.1b Fixed incorrect label calls. [Euphy]
  17. //= 1.2 Added missing barrier resets, credits to Zopokx. [Euphy]
  18. //============================================================
  19. // Poring War Recruiter
  20. //============================================================
  21. prt_fild08,159,371,3 script Poring War Recruiter#wop 909,{
  22. mes "[Poring]";
  23. mes "!!!!!";
  24. mes "Whoa-! Humans, ring~!!";
  25. mes "Gotta hide, hide, right~!";
  26. mes "They're tempting us with Jellopy! Don't be fooled!";
  27. next;
  28. mes "[Poring]";
  29. mes "Hwak!!";
  30. mes "Ring, Ring~ What's wrong with you people..?";
  31. mes "Hey.. Hey, there. Hu.. Humans...";
  32. mes "Poring..";
  33. next;
  34. mes "[Poring]";
  35. mes "I.. I've got some interesting work for ya.. Would you be interested?";
  36. mes "We.. we porings need lots and lots of brave human worriers, ring~.";
  37. next;
  38. switch(select("Alright, I'm with you!:What's that?:Ignore")) {
  39. case 1:
  40. if (Zeny > 499) {
  41. mes "[Poring]";
  42. mes "Oh, and there's an entrance fee of 500 zeny, ring.";
  43. mes "Have a good time, ring.";
  44. delitem 7773,countitem(7773);
  45. set Zeny,Zeny-500;
  46. close2;
  47. warp "poring_w01",112,138;
  48. end;
  49. } else {
  50. mes "[Poring]";
  51. mes "Oh, and there's an entrance fee of 500 zeny, ring.";
  52. mes "...........";
  53. mes "Hey, that's life, ring. We need zeny too you know~!";
  54. close;
  55. }
  56. case 2:
  57. mes "[Poring]";
  58. mes "That's.. because there's been a.. slight confliction in our.. Ring Society..";
  59. mes "So we've got to.............have a battle to settle this problem..";
  60. mes "You'll see when you get there!";
  61. close;
  62. case 3:
  63. mes "[Poring]";
  64. mes "Huhhhh! Hu.. Humans are so cold and cruel!!!";
  65. close;
  66. }
  67. }
  68. // Poring Vending Machine
  69. //============================================================
  70. poring_w01,100,97,3 script Poring Vending Machine#w 909,{
  71. if (checkweight(714,3) == 0) {
  72. mes "- You are carrying too much items in order to use the Vending Machine. -";
  73. close;
  74. }
  75. mes "It's a vending machine. You can use Poring Coints to purchase.";
  76. next;
  77. if(select("Purchase.:Read the descriptions of goods.") == 1) {
  78. mes "You need Poring Coins to purchase items.";
  79. mes "You cannot use any zeny.";
  80. mes "Item name - Price Poring Coin(P.Co)";
  81. next;
  82. switch(select("Marvelous Medal - 4 P.Co:Union of Tribe - 20 P.Co:Poring Box - 30 P.Co:Next")) {
  83. case 1:
  84. callsub S_PoringVending,7515,4;
  85. case 2:
  86. callsub S_PoringVending,658,20;
  87. case 3:
  88. callsub S_PoringVending,12109,30;
  89. case 4:
  90. mes "This is a special item.";
  91. mes "Item name - Poring Coin(P.Co)";
  92. next;
  93. switch(select("Wild Rose - 15 P.Co:Doppelganger - 20 P.Co:Egnigem Cenia - 20 P.Co:Collection Item")) {
  94. case 1:
  95. callsub S_PoringVending,12300,15;
  96. case 2:
  97. callsub S_PoringVending,12301,20;
  98. case 3:
  99. callsub S_PoringVending,12302,20;
  100. case 4:
  101. mes "Figures of 1st Job Class Characters including Novice are finally on sale!";
  102. mes "Figures except for Novice are all ^4d4dffCharacter bound items^000000.";
  103. mes "Please be aware before you make a purchase~";
  104. mes "Item name - Poring Coin(P.Co)";
  105. next;
  106. switch(select("Novice Figure - 50 P.Co:Swordman Figure - 100 P.Co:Thief Figure - 100 P.Co:Merchant Figure - 100 P.Co:Acolyte Figure - 100 P.Co:Mage Figure - 100 P.Co:Archer Figure - 100 P.Co:Random Draw - 50 P.Co:Cancel")) {
  107. case 1:
  108. callsub S_PoringVending,2765,50;
  109. case 2:
  110. callsub S_PoringVending,2766,100;
  111. case 3:
  112. callsub S_PoringVending,2770,100;
  113. case 4:
  114. callsub S_PoringVending,2771,100;
  115. case 5:
  116. callsub S_PoringVending,2767,100;
  117. case 6:
  118. callsub S_PoringVending,2768,100;
  119. case 7:
  120. callsub S_PoringVending,2769,100;
  121. case 8:
  122. mes "You have chosen Random Draw.";
  123. mes "1 of 7 diffeent kinds of figures will be selected.";
  124. next;
  125. if(select("Draw:Cancel") == 1) {
  126. if (countitem(7539) >= 50) {
  127. mes "Insert the Poring coin and pull the lever.";
  128. mes "Click~ The item came out of the mouth of the Poring with a rumbling sound.";
  129. mes "What could it be?";
  130. next;
  131. switch(rand(1,17)) {
  132. case 5: set .@Random_Figure,2766; break; // Swordman_Figure
  133. case 6: set .@Random_Figure,2767; break; // Acolyte_Figure
  134. case 8: set .@Random_Figure,2770; break; // Thief_Figure
  135. case 11: set .@Random_Figure,2771; break; // Merchant_Figure
  136. case 13: set .@Random_Figure,2769; break; // Archer_Figure
  137. case 14: set .@Random_Figure,2768; break; // Mage_Figure
  138. default: set .@Random_Figure,2765; break; // Novice_Figure
  139. }
  140. mes "A nice " + getitemname(.@Random_Figure) + ".";
  141. delitem 7539,50; // Poring_Coin
  142. getitem .@Random_Figure,1;
  143. close;
  144. } else {
  145. mes "Not enough coins.";
  146. close;
  147. }
  148. }
  149. mes "["+strcharinfo(0)+"]";
  150. mes "... Maybe next time...";
  151. close;
  152. case 9:
  153. mes "["+strcharinfo(0)+"]";
  154. mes "... Maybe next time...";
  155. close;
  156. }
  157. }
  158. }
  159. }
  160. mes "Selling Item List";
  161. mes "====================";
  162. mes "[Marvelous Medal]";
  163. mes " : A medal made of special metal only produced in Hugel.";
  164. mes " ";
  165. mes "[Union of Tribe]";
  166. mes " : A statue with the image of a strong union of Tribes. People believe watching this statue actually helps strengthen the relationships between Tribes.";
  167. mes " ";
  168. mes "[Poring Box]";
  169. mes " : A box wrapped with Poring patterned wrapping paper. Something's inside.";
  170. mes " ";
  171. mes "[Wild Rose]";
  172. mes " : Your friend Wild Rose will come and help you.";
  173. mes " ";
  174. mes "[Mr. Doppel]";
  175. mes " : A young nobe, Doppelganger will come and help you.";
  176. mes " ";
  177. mes "[Egnigem Cenia]";
  178. mes " : A beautiful girl, Egnigem Cenia from Somatology Laboratory, is going to come and help you.";
  179. mes " ";
  180. mes "[Novice Figure]";
  181. mes " : A fine figure of a Novice. Can be equiped as an '^4d4dffaccessory^000000'.";
  182. mes " HP + 70, extra effect of HP + 30 when equipped by a Novices.";
  183. mes " ";
  184. mes "[Swordman Figure]";
  185. mes " : A nice figure of a Swordman. Can be equipped as an '^4d4dffaccessory^000000'.";
  186. mes " VIT + 1, extra effect of DEF + 2 when equipped by Swordman classes.";
  187. mes " ";
  188. mes "[Merchant Figure]";
  189. mes " : A fine figure of a Merchant. Can be equipped as an '^4d4dffaccessory^000000'.";
  190. mes " STR + 1, extra effect of CRI + 5 when equipped by Merchant classes.";
  191. mes " ";
  192. mes "[Thief Figure]";
  193. mes " : A fine Figure of a Thief. Can be equipped as an '^4d4dffaccessory^000000'.";
  194. mes " AGI + 1, extra effectASPD + 3% when equipped by Thief classes.";
  195. mes " ";
  196. mes "[Mage Figure]";
  197. mes " : A fine figure of a Mage. Can be equipped as an '^4d4dffaccessory^000000'.";
  198. mes " INT + 1, an extra SP Recovery increase by 5% when equipped by Mage classes.";
  199. mes " ";
  200. mes "[Acolyte Figure]";
  201. mes " : A fine figure of an Acolyte. Can be equipped as an '^4d4dffaccessory^000000'.";
  202. mes " INT + 1, extra effct of SP + 50 when equipped by Acolyte classes.";
  203. mes " ";
  204. mes "[Archer Figure]";
  205. mes " : A fine figure of an Archer. Can be equipped as an '^4d4dffaccessory^000000'.";
  206. mes " DEX + 1, extra effct of ATK + 10 when equipped by Archer classes.";
  207. close;
  208. end;
  209. S_PoringVending:
  210. if (countitem(7539) >= getarg(1)) {
  211. mes "Click~ The item came out of the mouth of the Poring with a rumbling sound.";
  212. delitem 7539,getarg(1); // Poring_Coin
  213. getitem getarg(0),1;
  214. } else {
  215. mes "Not enough coins.";
  216. }
  217. close;
  218. }
  219. // Information
  220. //============================================================
  221. poring_w01,96,97,3 script Sweet Devi#wop 738,{
  222. if (MaxWeight-Weight < 2000 || checkweight(1201,1) == 0) {
  223. mes "- Wait a minute !! -";
  224. mes "- Currently you're carrying -";
  225. mes "- too many items with you. -";
  226. mes "- Please try again -";
  227. mes "- after you lose some weight. -";
  228. close;
  229. }
  230. mes "[Deviruchi]";
  231. mes "Oh, Another Human Warrior!";
  232. mes "How come so many humans want to join our Poring War these days?";
  233. next;
  234. mes "[Deviruchi]";
  235. mes "Well, whatever, as long as I make money out of it~";
  236. mes "Ok, Warriors-! Hahaha How badly have I wanted to shout it out~!!";
  237. next;
  238. mes "[Deviruchi]";
  239. mes "You, brave warrior, are you ready to join the holy battle of Angeling and Deviling?";
  240. next;
  241. mes "[Deviruchi]";
  242. mes "Hehehee, I feel kinda shy now.";
  243. mes "Anyway, human. Do you want to join our Poring War?";
  244. next;
  245. switch(select("Am I qualified to join?:How do I join the war?:Cancel:Let me out of here, please!")) {
  246. case 1:
  247. mes "[Deviruchi]";
  248. mes "No racial discrimination! Anyone can join if they're willing to fight.";
  249. mes "But the weird thing is that you humans who used to be our greatest enemies are now our participants.";
  250. next;
  251. mes "[Deviruchi]";
  252. mes "If you really want to fight in the war or whatever.. the Team recruiter's right there.";
  253. mes "Also, it's totally up to you which team you want to fight for~";
  254. close;
  255. case 2:
  256. mes "[Deviruchi]";
  257. mes "It's simple. You see that Team recruiting room?";
  258. mes "Each team is composed of 5 people. As soon as 5 members are collected, the battle starts.";
  259. mes "You win if you kill the other team's Porings.";
  260. next;
  261. mes "[Deviruchi]";
  262. mes "This also means that the battle needs the total of 10 members.";
  263. next;
  264. mes "[Deviruchi]";
  265. mes "When all 10 members are collected, those participants get to choose a team. Each team then should have 5 members who are in the SAME party.";
  266. next;
  267. mes "[Deviruchi]";
  268. mes "So, finally, half of the members joins the Angeling Team";
  269. mes "and the other half joins the Deviling Team.";
  270. next;
  271. mes "[Deviruchi]";
  272. mes "If you're a member of the Angeling Team, your goal is to kill the Devilings at the other team's base and vice versa.";
  273. next;
  274. mes "[Deviruchi]";
  275. mes "Each team should try killing both Porings in the other team's base. After killing one Poring, you have a limited time to kill the other Poring. Otherwise, the one you killed will come back alive.";
  276. next;
  277. mes "[Deviruchi]";
  278. mes "It's sort of like a capture the flag game but with Porings instead. Understood?";
  279. mes "And you need to make sure you know who's in which party.";
  280. close;
  281. case 3:
  282. mes "[" + strcharinfo(0) + "]";
  283. mes "hmm, I see.";
  284. close;
  285. case 4:
  286. mes "[Deviruchi]";
  287. mes "Oh, Alright. I can help.";
  288. mes "I'll send you back to your savepoint.";
  289. close2;
  290. if (WoP_SaveMap$ != "") {
  291. savepoint WoP_SaveMap$,WoP_SaveMap_X,WoP_SaveMap_Y,1,1;
  292. set WoP_SaveMap$,"";
  293. set WoP_SaveMap_X,0;
  294. set WoP_SaveMap_Y,0;
  295. }
  296. warp getsavepoint(0), getsavepoint(1), getsavepoint(2);
  297. end;
  298. }
  299. OnPCLogoutEvent:
  300. getmapxy .@map$,.@x,.@y;
  301. if (.@map$ == "poring_w02") {
  302. if (WoP_SaveMap$ != "") {
  303. savepoint WoP_SaveMap$,WoP_SaveMap_X,WoP_SaveMap_Y,1,1;
  304. set WoP_SaveMap$,"";
  305. set WoP_SaveMap_X,0;
  306. set WoP_SaveMap_Y,0;
  307. }
  308. delitem 7773,countitem(7773);
  309. set wop_team,0;
  310. }
  311. end;
  312. OnPCDieEvent:
  313. getmapxy .@map$,.@x,.@y;
  314. if (.@map$ == "poring_w02" && wop_team) {
  315. if (getsavepoint(0) != "poring_w02" && WoP_SaveMap$ == "") {
  316. set WoP_SaveMap$,getsavepoint(0);
  317. set WoP_SaveMap_X,getsavepoint(1);
  318. set WoP_SaveMap_Y,getsavepoint(2);
  319. }
  320. if (wop_team == 1) {
  321. savepoint "poring_w02",rand(44,51),rand(76,87);
  322. }
  323. if (wop_team == 2) {
  324. savepoint "poring_w02",rand(146,153),rand(76,87);
  325. }
  326. }
  327. end;
  328. OnPCKillEvent:
  329. getmapxy .@map$,.@x,.@y;
  330. if (.@map$ == "poring_w02" && wop_team) {
  331. getnameditem 7773,rid2name(killedrid);
  332. }
  333. end;
  334. OnInit:
  335. removemapflag "poring_w02",mf_partylock;
  336. removemapflag "poring_w02",mf_pvp;
  337. removemapflag "poring_w02",mf_pvp_noguild;
  338. removemapflag "poring_w02",mf_pvp_nocalcrank;
  339. set $@wop_teamcount,0;
  340. set $@wop_deadcount_a,0;
  341. set $@wop_deadcount_d,0;
  342. set $@wop_team_a,0;
  343. set $@wop_team_d,0;
  344. set $@wop_doorcount_a,0;
  345. set $@wop_doorcount_d,0;
  346. end;
  347. }
  348. // Poring Registers
  349. //============================================================
  350. poring_w01,91,97,3 script Poring#wop_door_all 1002,{
  351. end;
  352. OnInit:
  353. waitingroom "[Recruiting 10 Battle Participants]",11,"Poring#wop_door_all::OnStartArena",10,500,9;
  354. enablewaitingroomevent;
  355. end;
  356. OnStartArena:
  357. warpwaitingpc "poring_w01",101,70;
  358. donpcevent "#wop_warp_rtry::OnReady";
  359. disablewaitingroomevent;
  360. end;
  361. OnEnable:
  362. enablewaitingroomevent;
  363. end;
  364. OnDisable:
  365. disablewaitingroomevent;
  366. end;
  367. }
  368. poring_w01,91,68,5 script Poring#wop_door_a 1002,{
  369. end;
  370. OnInit:
  371. waitingroom "[Angeling Team Recruiter]",6,"Poring#wop_door_a::OnStartArena",5,0,9;
  372. enablewaitingroomevent;
  373. end;
  374. OnStartArena:
  375. warpwaitingpc "poring_w02",26,175;
  376. disablewaitingroomevent;
  377. if ($@wop_teamcount == 0) {
  378. set $@wop_teamcount,1;
  379. donpcevent "Poring#wop_door_d::OnDevilingStart";
  380. donpcevent "#wop_warp_rtry::OnStop";
  381. }
  382. else if ($@wop_teamcount == 1) {
  383. donpcevent "#wop_master::OnStart";
  384. donpcevent "Poring#wop_door_d::OnStop";
  385. stopnpctimer;
  386. }
  387. end;
  388. OnEnable:
  389. enablewaitingroomevent;
  390. end;
  391. OnDisable:
  392. disablewaitingroomevent;
  393. end;
  394. OnAngelingStart:
  395. initnpctimer;
  396. end;
  397. OnStop:
  398. stopnpctimer;
  399. end;
  400. OnTimer1000:
  401. mapannounce "poring_w01","The greatest battle of all time, the recruitment for the Deviling Team is over, ring!",0,0xf08080;
  402. end;
  403. OnTimer4000:
  404. mapannounce "poring_w01","Join the proud Angeling Team with angel wings!!",0,0xf08080;
  405. end;
  406. OnTimer8000:
  407. mapannounce "poring_w01","You got one minute to join the Angeling Team. The battle will be cancelled in 1 minute if not ready!!",0,0xf08080;
  408. donpcevent "#wop_master::OnAngelingWarn";
  409. end;
  410. OnTimer13000:
  411. mapannounce "poring_w01","This is the time to join the great Angeling Team, ring!",0,0xf08080;
  412. end;
  413. OnTimer20000:
  414. mapannounce "poring_w01","This battle is the proud of the porings! Ring! Join the Angeling Team!!",0,0xf08080;
  415. end;
  416. OnTimer30000:
  417. mapannounce "poring_w01","We don't have much time, ring. Don't let the Devilings contaminate you!",0,0xf08080;
  418. end;
  419. OnTimer40000:
  420. mapannounce "poring_w01","Come! Join us!",0,0xf08080;
  421. end;
  422. OnTimer50000:
  423. mapannounce "poring_w01","What a pitty! I can't believe that brave warriors are missing!",0,0xf08080;
  424. end;
  425. OnTimer55000:
  426. mapannounce "poring_w01","Deviling: You can't leave us waiting for ever!! We're going to cancel the battle, ring!",0,0x33FF66;
  427. end;
  428. OnTimer55100:
  429. donpcevent "Poring#wop_door_a::OnDisable";
  430. donpcevent "Poring#wop_door_d::OnDisable";
  431. donpcevent "Poring#wop_door_all::OnDisable";
  432. set $@wop_teamcount,0;
  433. donpcevent "#wop_master::OnAngelingEnd";
  434. donpcevent "#wop_warp_rtry::OnEnable";
  435. end;
  436. OnTimer58000:
  437. mapannounce "poring_w01","...There is nothing we can do, ring... Lets cheer for the next one, ring.",0,0xf08080;
  438. donpcevent "#wop_master::OnReset";
  439. stopnpctimer;
  440. end;
  441. }
  442. poring_w01,112,68,3 script Poring#wop_door_d 1002,{
  443. end;
  444. OnInit:
  445. waitingroom "[Deviling Team Recruiter]",6,"Poring#wop_door_d::OnStartArena",5,0,9;
  446. enablewaitingroomevent;
  447. end;
  448. OnStartArena:
  449. warpwaitingpc "poring_w02",170,175;
  450. disablewaitingroomevent;
  451. if ($@wop_teamcount == 0) {
  452. set $@wop_teamcount,1;
  453. donpcevent "Poring#wop_door_a::OnAngelingStart";
  454. donpcevent "#wop_warp_rtry::OnStop";
  455. }
  456. else if ($@wop_teamcount == 1) {
  457. donpcevent "#wop_master::OnStart";
  458. donpcevent "Poring#wop_door_a::OnStop";
  459. stopnpctimer;
  460. }
  461. end;
  462. OnEnable:
  463. enablewaitingroomevent;
  464. end;
  465. OnDisable:
  466. disablewaitingroomevent;
  467. end;
  468. OnDevilingStart:
  469. initnpctimer;
  470. end;
  471. OnStop:
  472. stopnpctimer;
  473. end;
  474. OnTimer1000:
  475. mapannounce "poring_w01","No more good people, the recruitment for the Angeling Team is over, ring!",0,0x33FF66;
  476. end;
  477. OnTimer4000:
  478. mapannounce "poring_w01","Nice members of the Deviling Team! Lets gather, ring!!",0,0x33FF66;
  479. end;
  480. OnTimer8000:
  481. mapannounce "poring_w01","The battle will be cancelled if the members aren't recruited in one minute!!",0,0x33FF66;
  482. donpcevent "#wop_master::OnDevilingWarn";
  483. end;
  484. OnTimer13000:
  485. mapannounce "poring_w01","This is the time to join the brave Deviling Team, ring!",0,0x33FF66;
  486. end;
  487. OnTimer20000:
  488. mapannounce "poring_w01","D,E,V,I,L,I,N,G! Deviling Team! Come and join us!",0,0x33FF66;
  489. end;
  490. OnTimer30000:
  491. mapannounce "poring_w01","There ain't much time left, ring! If you wish to became a member of Deviling Team, Come and Join!",0,0x33FF66;
  492. end;
  493. OnTimer40000:
  494. mapannounce "poring_w01","D,E,V,I,L,I,N,G! Deviling Team! Come and Join us!!",0,0x33FF66;
  495. end;
  496. OnTimer50000:
  497. mapannounce "poring_w01","What a pitty! I can't believe there aren't enough players!",0,0x33FF66;
  498. end;
  499. OnTimer55000:
  500. mapannounce "poring_w01","Angeling: We got no time to wait, stupid Deviling! The battle has been cancelled, ring!",0,0xf08080;
  501. end;
  502. OnTimer55100:
  503. donpcevent "Poring#wop_door_a::OnDisable";
  504. donpcevent "Poring#wop_door_d::OnDisable";
  505. donpcevent "Poring#wop_door_all::OnDisable";
  506. set $@wop_teamcount,0;
  507. donpcevent "#wop_master::OnDevilingEnd";
  508. donpcevent "#wop_warp_rtry::OnEnable";
  509. end;
  510. OnTimer58000:
  511. mapannounce "poring_w01","...Ughhhhhh... Tell me that isn't happening, ring! Right, Be ready for the next one, ring!!",0,0x33FF66;
  512. donpcevent "#wop_master::OnReset";
  513. stopnpctimer;
  514. end;
  515. }
  516. poring_w01,103,70,0 script #wop_warp_rtry 139,13,13,{
  517. end;
  518. OnInit:
  519. disablenpc "#wop_warp_rtry";
  520. end;
  521. OnEnable:
  522. enablenpc "#wop_warp_rtry";
  523. end;
  524. OnDisable:
  525. disablenpc "#wop_warp_rtry";
  526. end;
  527. OnReady:
  528. initnpctimer;
  529. end;
  530. OnStop:
  531. stopnpctimer;
  532. end;
  533. OnTouch:
  534. warp "poring_w01",112,138;
  535. end;
  536. OnTimer3000:
  537. mapannounce "poring_w01","Porings: I am giving you 1 minute. Choose your team, ring!",0,0xf08080;
  538. end;
  539. OnTimer33000:
  540. mapannounce "poring_w01","Porings: 30 seconds left! Come on, Choose a team now, ring?!!",0,0xf08080;
  541. end;
  542. OnTimer58000:
  543. mapannounce "poring_w01","Porings: You sure you're a warrior?!!! I'm disappointed, ring!",0,0xf08080;
  544. end;
  545. OnTimer60000:
  546. mapannounce "poring_w01","The battle has been canceled since not all teams are full!!",0,0xf08080;
  547. end;
  548. OnTimer61000:
  549. enablenpc "#wop_warp_rtry";
  550. end;
  551. OnTimer65000:
  552. disablenpc "#wop_warp_rtry";
  553. donpcevent "#wop_master::OnReset";
  554. stopnpctimer;
  555. end;
  556. }
  557. // Mr. Doppel
  558. //============================================================
  559. poring_w02,26,181,3 script Mr. Doppel#wop_team_a 739,{
  560. if (checkweight(714,3) == 0) {
  561. mes "- Wait a minute !! -";
  562. mes "- Currently you're carrying -";
  563. mes "- too many items with you. -";
  564. mes "- Please try again -";
  565. mes "- after you lose some weight. -";
  566. close;
  567. }
  568. set .@a_tname$,getpartyname($@wop_team_a);
  569. set .@pname$,getpartyname(getcharid(1));
  570. if ($@wop_team_a != 0 && $@wop_team_a == getcharid(1)) {
  571. mes "[Mr. Doppel]";
  572. mes "So, everyone joined the party?";
  573. mes "The name of the party is... " + .@pname$ + ", right?";
  574. mes "I'll transfer you to the battle staging area.";
  575. next;
  576. switch(select("No! Wait!:Go to the staging area.")) {
  577. case 1:
  578. mes "[Mr. Doppel]";
  579. mes "What is it now?";
  580. mes "Can't you have a little more consideration?";
  581. mes "You don't have much time. Decide now!";
  582. next;
  583. mes "[Mr. Doppel]";
  584. mes "If you don't get there in time, you won't make it to the battle.";
  585. close;
  586. case 2:
  587. if (is_party_leader() == true) {
  588. mes "[Mr. Doppel]";
  589. mes "So, you are the leader. Before going to the battlefield, you should check all your members.";
  590. next;
  591. switch(select("Very well. I'll be the last.:I am the last. Send me to the battlefield.")) {
  592. case 1:
  593. mes "[Mr. Doppel]";
  594. mes "First, make sure all the members are in your party.";
  595. close;
  596. case 2:
  597. mes "[Mr. Doppel]";
  598. mes "Very well. Nice you have done everything on time.";
  599. delitem 7773,countitem(7773);
  600. close2;
  601. set wop_team,0;
  602. warp "poring_w02",44,82;
  603. end;
  604. }
  605. }
  606. else {
  607. mes "[Mr. Doppel]";
  608. mes "Right. I'm gonna send you to the battle staging area.";
  609. mes "Wait for all the other party members there.";
  610. delitem 7773,countitem(7773);
  611. close2;
  612. set wop_team,0;
  613. warp "poring_w02",44,82;
  614. end;
  615. }
  616. }
  617. }
  618. else {
  619. if (is_party_leader() == true) {
  620. if ($@wop_team_a == 0) {
  621. mes "[Mr. Doppel]";
  622. mes "So, you are the party leader of Angeling Team.";
  623. mes "Are you sure all the members are in your party?";
  624. mes "First, lets register your party name, after, we'll check the members.";
  625. next;
  626. mes "[Mr. Doppel]";
  627. mes "Lets see... The name of the party is...";
  628. mes " ";
  629. mes "^4d4dff " + .@pname$ + " ^000000";
  630. mes " ";
  631. mes "Right? That is the name you wish?";
  632. next;
  633. switch(select("No! You're wrong.:Yes. I would like to register that name.:Cancel")) {
  634. case 1:
  635. mes "[Mr. Doppel]";
  636. mes "Hey, I don't have all day! Make your mind and register as fast as you can.";
  637. mes "Don't forget to let all the members join the party. Only the members of a registered party can join the battle.";
  638. close;
  639. case 2:
  640. mes "[Mr. Doppel]";
  641. mes "So, I'll register your party name as - " +.@pname$ + " -.";
  642. mes "Now, Tell your ^4d4dffmembers to confirm your party^000000.";
  643. mes "I'll send you to the battlefield as soon as I confirm your party.";
  644. set $@wop_team_a,getcharid(1);
  645. mapannounce "poring_w02","The registration of the Angeling Team has been confirmed. The party members must confirm their team with Mr. Doppel.",0,0x33FF66;
  646. close;
  647. case 3:
  648. mes "[Mr. Doppel]";
  649. mes "The clock is ticking. Make up your mind and register as soon as you can.";
  650. close;
  651. }
  652. }
  653. else {
  654. mes "[Mr. Doppel]";
  655. mes "So, you are the leader of the party.";
  656. mes "Haven't you finished the party registration yet?";
  657. mes "You must stay on the one that has been registered!";
  658. next;
  659. mes "[Mr. Doppel]";
  660. mes "The name of the party is ";
  661. mes " " + .@a_tname$ + " ";
  662. mes "Please, confirm.";
  663. close;
  664. }
  665. }
  666. else {
  667. mes "[Mr. Doppel]";
  668. mes "If you aren't a registered member of the party, you can't join the battle.";
  669. next;
  670. mes "[Mr. Doppel]";
  671. mes "I'll check again and, after the registeration of the party name, you'll be sent to the battlefield.";
  672. mes "We must stay together as a party, since this is a team game. Otherwise, we'll have problems.";
  673. close;
  674. }
  675. }
  676. OnInit:
  677. disablenpc "Mr. Doppel#wop_team_a";
  678. end;
  679. OnEnable:
  680. enablenpc "Mr. Doppel#wop_team_a";
  681. end;
  682. OnDisable:
  683. disablenpc "Mr. Doppel#wop_team_a";
  684. end;
  685. }
  686. poring_w02,170,181,3 script Mr. Doppel#wop_team_d 739,{
  687. if (checkweight(714,3) == 0) {
  688. mes "- Wait a minute !! -";
  689. mes "- Currently you're carrying -";
  690. mes "- too many items with you. -";
  691. mes "- Please try again -";
  692. mes "- after you lose some weight. -";
  693. close;
  694. }
  695. set .@d_tname$,getpartyname($@wop_team_d);
  696. set .@pname$,getpartyname(getcharid(1));
  697. if ($@wop_team_d != 0 && $@wop_team_d == getcharid(1)) {
  698. mes "[Mr. Doppel]";
  699. mes "So, everyone joined the party?";
  700. mes "The name of the party is... " + .@pname$ + ", right?";
  701. mes "I'll transfer you to the battle staging area.";
  702. next;
  703. switch(select("No! Wait!:Go to the staging area.")) {
  704. case 1:
  705. mes "[Mr. Doppel]";
  706. mes "What is it now?";
  707. mes "Can't you have a little more consideration?";
  708. mes "You don't have much time. Decide now!";
  709. next;
  710. mes "[Mr. Doppel]";
  711. mes "If you don't get there in time, you won't make it to the battle.";
  712. close;
  713. case 2:
  714. if (is_party_leader() == true) {
  715. mes "[Mr. Doppel]";
  716. mes "So, you are the leader. Before going to the battlefield, you should check all your members.";
  717. next;
  718. switch(select("Very well. I'll be the last.:I am the last. Send me to the battlefield.")) {
  719. case 1:
  720. mes "[Mr. Doppel]";
  721. mes "First, make sure all the members are in your party.";
  722. close;
  723. case 2:
  724. mes "[Mr. Doppel]";
  725. mes "Very well. Nice you have done everything on time.";
  726. delitem 7773,countitem(7773);
  727. close2;
  728. set wop_team,0;
  729. warp "poring_w02",153,82;
  730. end;
  731. }
  732. } else {
  733. mes "[Mr. Doppel]";
  734. mes "Right. I'm gonna send you to the battle staging area.";
  735. mes "Wait for all the other party members there.";
  736. delitem 7773,countitem(7773);
  737. close2;
  738. set wop_team,0;
  739. warp "poring_w02",153,82;
  740. end;
  741. }
  742. }
  743. } else {
  744. if (is_party_leader() == true) {
  745. if ($@wop_team_d == 0) {
  746. mes "[Mr. Doppel]";
  747. mes "So, you are the party leader of Deviling Team.";
  748. mes "Are you sure all the members are in your party?";
  749. mes "First, lets register your party name, after, we'll check the members.";
  750. next;
  751. mes "[Mr. Doppel]";
  752. mes "Lets see... The name of the party is...";
  753. mes " ";
  754. mes "^4d4dff " + .@pname$ + " ^000000";
  755. mes " ";
  756. mes "Right? That is the name you wish?";
  757. next;
  758. switch(select("No! You're wrong.:Yes. I would like to register that name.:Cancel")) {
  759. case 1:
  760. mes "[Mr. Doppel]";
  761. mes "Hey, I don't have all day! Make your mind and register as fast as you can.";
  762. mes "Don't forget to let all the members join the party. Only the members of a registered party can join the battle.";
  763. close;
  764. case 2:
  765. mes "[Mr. Doppel]";
  766. mes "So, I'll register your party name as - " + .@pname$ + " -.";
  767. mes "Now, Tell your ^4d4dffmembers to confirm your party^000000.";
  768. mes "I'll send you to the battlefield as soon as I confirm your party.";
  769. set $@wop_team_d,getcharid(1);
  770. mapannounce "poring_w02","The registration of the Deviling Team has been confirmed. The party members must confirm their team with Mr. Doppel.",0,0x33FF66;
  771. close;
  772. case 3:
  773. mes "[Mr. Doppel]";
  774. mes "The clock is ticking. Make up your mind and register as soon as you can.";
  775. close;
  776. }
  777. } else {
  778. mes "[Mr. Doppel]";
  779. mes "So, you are the leader of the party.";
  780. mes "Haven't you finished the party registration yet?";
  781. mes "You must stay on the one that has been registered!";
  782. next;
  783. mes "[Mr. Doppel]";
  784. mes "The name of the party is ";
  785. mes " " + .@d_tname$ + " ";
  786. mes "Please, confirm.";
  787. close;
  788. }
  789. } else {
  790. mes "[Mr. Doppel]";
  791. mes "If you aren't a registered member of the party, you can't join the battle.";
  792. next;
  793. mes "[Mr. Doppel]";
  794. mes "I'll check again and, after the registeration of the party name, you'll be sent to the battlefield.";
  795. mes "We must stay together as a party, since this is a team game. Otherwise, we'll have problems.";
  796. close;
  797. }
  798. }
  799. OnInit:
  800. disablenpc "Mr. Doppel#wop_team_d";
  801. end;
  802. OnEnable:
  803. enablenpc "Mr. Doppel#wop_team_d";
  804. end;
  805. OnDisable:
  806. disablenpc "Mr. Doppel#wop_team_d";
  807. end;
  808. }
  809. poring_w02,1,1,0 script #wop_master -1,{
  810. end;
  811. OnReset:
  812. removemapflag "poring_w02",mf_partylock;
  813. removemapflag "poring_w02",mf_pvp;
  814. removemapflag "poring_w02",mf_pvp_noguild;
  815. removemapflag "poring_w02",mf_pvp_nocalcrank;
  816. mapwarp "poring_w02","poring_w01",112,138;
  817. donpcevent "#wop_angellium1::OnReset";
  818. donpcevent "#wop_angellium2::OnReset";
  819. donpcevent "#wop_devillium1::OnReset";
  820. donpcevent "#wop_devillium2::OnReset";
  821. set $@wop_team_a,0;
  822. set $@wop_team_d,0;
  823. set $@wop_deadcount_a,0;
  824. set $@wop_deadcount_d,0;
  825. set $@wop_teamcount,0;
  826. set $@wop_doorcount_a,0;
  827. set $@wop_doorcount_d,0;
  828. donpcevent "#wop_warp_a::OnDisable";
  829. donpcevent "#wop_warp_d::OnDisable";
  830. donpcevent "#wop_warp_rtry::OnDisable";
  831. donpcevent "Poring#wop_door_a::OnEnable";
  832. donpcevent "Poring#wop_door_d::OnEnable";
  833. donpcevent "Poring#wop_door_all::OnEnable";
  834. stopnpctimer;
  835. end;
  836. OnStart:
  837. initnpctimer;
  838. end;
  839. OnAngelingWarn:
  840. mapannounce "poring_w02","Deviling Team Recruitment is complete. The battle will be canceled automatically if the Angeling Team Recruitment isn't ready in 1 minute.",0,0xf08080;
  841. end;
  842. OnDevilingWarn:
  843. mapannounce "poring_w02","Angeling Team Recruitment is complete. The battle will be canceled automatically if the Deviling Team Recruitment isn't ready in 1 minute.",0,0xf08080;
  844. end;
  845. OnDevilingEnd:
  846. mapannounce "poring_w02","Deviling Team Recruitment failed. The battle will be canceled shortly.",0,0xf08080;
  847. end;
  848. OnAngelingEnd:
  849. mapannounce "poring_w02","Angeling Team Recruitment failed. The battle will be canceled shortly.",0,0xf08080;
  850. end;
  851. OnStop:
  852. stopnpctimer;
  853. end;
  854. OnAngelingWin:
  855. set .@i,1;
  856. OnDevilingWin:
  857. removemapflag "poring_w02",mf_partylock;
  858. removemapflag "poring_w02",mf_pvp;
  859. removemapflag "poring_w02",mf_pvp_noguild;
  860. removemapflag "poring_w02",mf_pvp_nocalcrank;
  861. if (.@i)
  862. mapannounce "poring_w02","Mr. Doppel: Angeling Team of party " + getpartyname($@wop_team_a) + " won the battle!",0,0xf08080;
  863. else
  864. mapannounce "poring_w02","Mr. Doppel: Deviling Team of party " + getpartyname($@wop_team_d) + " won the battle!",0,0xf08080;
  865. donpcevent "Deviruchi#wop_endmaster::OnEnable";
  866. stopnpctimer;
  867. // Reset Barriers
  868. donpcevent "#aroom_ingate_wop::OnDisable";
  869. donpcevent "#aroom_outgate_wop::OnDisable";
  870. donpcevent "#droom_ingate_wop::OnDisable";
  871. donpcevent "#droom_outgate_wop::OnDisable";
  872. end;
  873. OnTimer5000:
  874. mapannounce "poring_w02","Mr. Doppel: Welcome to all the warriors that have come to fight the battle.",0,0xf08080;
  875. donpcevent "Mr. Doppel#wop_team_a::OnEnable";
  876. donpcevent "Mr. Doppel#wop_team_d::OnEnable";
  877. end;
  878. OnTimer8000:
  879. mapannounce "poring_w02","Mr. Doppel: Each member of the team must join the group, and the leader will register their team name.",0,0xf08080;
  880. end;
  881. OnTimer12000:
  882. mapannounce "poring_w02","Mr. Doppel: You have 50 seconds. Join the group, register it's name and go to the battlefield.",0,0xf08080;
  883. end;
  884. OnTimer32000:
  885. mapannounce "poring_w02","Mr. Doppel: You still have 30 seconds. Join the group, register it's name and go to the battlefield.",0,0xf08080;
  886. end;
  887. OnTimer62000:
  888. mapannounce "poring_w02","Mr. Doppel: Time is up. The rules will be explained shortly before the battle.",0,0xf08080;
  889. end;
  890. OnTimer70000:
  891. mapannounce "poring_w02","Mr. Doppel: All ready? Let me explain the battle rules.",0,0xf08080;
  892. end;
  893. OnTimer75000:
  894. mapannounce "poring_w02","Mr. Doppel: The Angeling Team has to protect 2 Angelings on their bases and, at the same time, eliminate the Devilings on their Deviling Team bases, and vice-versa.",0,0xf08080;
  895. end;
  896. OnTimer80000:
  897. mapannounce "poring_w02","Mr. Doppel: Your team wins if you eliminate the 2 monsters of the enemy team. The rules are as simple as that.",0,0xf08080;
  898. end;
  899. OnTimer85000:
  900. mapannounce "poring_w02","Mr. Doppel: But the Angelings or the Devilings return to life after a certain period of time, so it's important to eliminate the other Poring quickly, after you have eliminated the first.",0,0xf08080;
  901. end;
  902. OnTimer90000:
  903. mapannounce "poring_w02","Mr. Doppel: Also know that those Porings are furious and will attack everybody, it doesnt matter to what team they belong.",0,0xf08080;
  904. end;
  905. OnTimer95000:
  906. mapannounce "poring_w02","Mr. Doppel: Basically, the Porings are natural enemies of the humans, so the attack is innevitable, even if both are on the same team.",0,0xf08080;
  907. end;
  908. OnTimer100000:
  909. mapannounce "poring_w02","Mr. Doppel: In certain areas, you will need War Badges that are obtained by eliminating members of the other team. Alright, lets begin!",0,0xf08080;
  910. setmapflag "poring_w02",mf_partylock;
  911. setmapflag "poring_w02",mf_pvp;
  912. setmapflag "poring_w02",mf_pvp_noguild;
  913. setmapflag "poring_w02",mf_pvp_nocalcrank;
  914. donpcevent "#wop_warp_a::OnEnable";
  915. donpcevent "#wop_warp_d::OnEnable";
  916. donpcevent "#wop_angellium1::OnAngelingSpawn";
  917. donpcevent "#wop_angellium2::OnAngelingSpawn";
  918. donpcevent "#wop_devillium1::OnDevilingSpawn";
  919. donpcevent "#wop_devillium2::OnDevilingSpawn";
  920. end;
  921. OnTimer700000:
  922. mapannounce "poring_w02","Mr. Doppel: Time is up. Soon, you will be teleported to the Winners Stage.",0,0xf08080;
  923. removemapflag "poring_w02",mf_partylock;
  924. removemapflag "poring_w02",mf_pvp;
  925. removemapflag "poring_w02",mf_pvp_noguild;
  926. removemapflag "poring_w02",mf_pvp_nocalcrank;
  927. donpcevent "#wop_angellium1::OnReset";
  928. donpcevent "#wop_angellium2::OnReset";
  929. donpcevent "#wop_devillium1::OnReset";
  930. donpcevent "#wop_devillium2::OnReset";
  931. end;
  932. OnTimer703000:
  933. donpcevent "Deviruchi#wop_endmaster::OnEnable";
  934. stopnpctimer;
  935. end;
  936. }
  937. poring_w02,51,82,0 script #wop_warp_a 139,1,1,{
  938. end;
  939. OnInit:
  940. disablenpc "#wop_warp_a";
  941. end;
  942. OnEnable:
  943. enablenpc "#wop_warp_a";
  944. specialeffect EF_MAPPILLAR2,AREA,"#wop_warp_a";
  945. end;
  946. OnDisable:
  947. disablenpc "#wop_warp_a";
  948. end;
  949. OnTouch_:
  950. set wop_team,1;
  951. warp "poring_w02",57,82;
  952. end;
  953. }
  954. poring_w02,146,82,0 script #wop_warp_d 139,1,1,{
  955. end;
  956. OnInit:
  957. disablenpc "#wop_warp_d";
  958. end;
  959. OnEnable:
  960. enablenpc "#wop_warp_d";
  961. specialeffect EF_MAPPILLAR2,AREA,"#wop_warp_d";
  962. end;
  963. OnDisable:
  964. disablenpc "#wop_warp_d";
  965. end;
  966. OnTouch_:
  967. set wop_team,2;
  968. warp "poring_w02",140,82;
  969. end;
  970. }
  971. // Poring Spawn
  972. //============================================================
  973. poring_w02,80,82,0 script #wop_angellium1 -1,{
  974. end;
  975. OnReset:
  976. killmonster "poring_w02","#wop_angellium1::OnMyMobDead";
  977. stopnpctimer;
  978. end;
  979. OnAngelingSpawn:
  980. monster "poring_w02",80,82,"Angeling",1766,1,"#wop_angellium1::OnMyMobDead";
  981. end;
  982. OnMyMobDead:
  983. set $@wop_deadcount_a,$@wop_deadcount_a + 1;
  984. if ($@wop_deadcount_a == 1) {
  985. mapannounce "poring_w02","Mr. Doppel: The Angeling on the 1st base has been killed! 1 point lost!!",0,0x00ff00;
  986. initnpctimer;
  987. }
  988. else {
  989. donpcevent "#wop_angellium1::OnReset";
  990. donpcevent "#wop_angellium2::OnReset";
  991. donpcevent "#wop_devillium1::OnReset";
  992. donpcevent "#wop_devillium2::OnReset";
  993. donpcevent "#wop_master::OnDevilingWin";
  994. }
  995. end;
  996. OnTimer120000:
  997. set $@wop_deadcount_a,$@wop_deadcount_a - 1;
  998. donpcevent "#wop_angellium1::OnAngelingSpawn";
  999. mapannounce "poring_w02","Mr. Doppel: The Angeling on the 1st base has been revived! 1 point gained!!",0,0x00ff00;
  1000. stopnpctimer;
  1001. }
  1002. poring_w02,98,41,0 script #wop_angellium2 -1,{
  1003. end;
  1004. OnReset:
  1005. killmonster "poring_w02","#wop_angellium2::OnMyMobDead";
  1006. stopnpctimer;
  1007. end;
  1008. OnAngelingSpawn:
  1009. monster "poring_w02",98,41,"Angeling",1766,1,"#wop_angellium2::OnMyMobDead";
  1010. end;
  1011. OnMyMobDead:
  1012. set $@wop_deadcount_a,$@wop_deadcount_a + 1;
  1013. if ($@wop_deadcount_a == 1) {
  1014. mapannounce "poring_w02","Mr. Doppel: The Angeling on the 2nd base has been killed! 1 point lost!!",0,0x00ff00;
  1015. initnpctimer;
  1016. }
  1017. else {
  1018. donpcevent "#wop_angellium1::OnReset";
  1019. donpcevent "#wop_angellium2::OnReset";
  1020. donpcevent "#wop_devillium1::OnReset";
  1021. donpcevent "#wop_devillium2::OnReset";
  1022. donpcevent "#wop_master::OnDevilingWin";
  1023. }
  1024. end;
  1025. OnTimer120000:
  1026. set $@wop_deadcount_a,$@wop_deadcount_a - 1;
  1027. donpcevent "#wop_angellium2::OnAngelingSpawn";
  1028. mapannounce "poring_w02","Mr. Doppel: The Angeling on the 2nd base has been revived! 1 point gained!!",0,0x00ff00;
  1029. stopnpctimer;
  1030. end;
  1031. }
  1032. poring_w02,116,82,0 script #wop_devillium1 -1,{
  1033. end;
  1034. OnReset:
  1035. killmonster "poring_w02","#wop_devillium1::OnMyMobDead";
  1036. stopnpctimer;
  1037. end;
  1038. OnDevilingSpawn:
  1039. monster "poring_w02",116,82,"Deviling",1767,1,"#wop_devillium1::OnMyMobDead";
  1040. end;
  1041. OnMyMobDead:
  1042. set $@wop_deadcount_d,$@wop_deadcount_d + 1;
  1043. if ($@wop_deadcount_d == 1) {
  1044. mapannounce "poring_w02","Mr. Doppel: The Deviling on the 1st base has been killed! 1 point lost!!",0,0x00ff00;
  1045. initnpctimer;
  1046. }
  1047. else {
  1048. donpcevent "#wop_devillium1::OnReset";
  1049. donpcevent "#wop_devillium2::OnReset";
  1050. donpcevent "#wop_devillium1::OnReset";
  1051. donpcevent "#wop_devillium2::OnReset";
  1052. donpcevent "#wop_master::OnAngelingWin";
  1053. }
  1054. end;
  1055. OnTimer120000:
  1056. set $@wop_deadcount_d,$@wop_deadcount_d - 1;
  1057. donpcevent "#wop_devillium1::OndevilingSpawn";
  1058. mapannounce "poring_w02","Mr. Doppel: The Deviling on the 1st base has been revived! 1 point gained!!",0,0x00ff00;
  1059. stopnpctimer;
  1060. end;
  1061. }
  1062. poring_w02,98,124,0 script #wop_devillium2 -1,{
  1063. end;
  1064. OnReset:
  1065. killmonster "poring_w02","#wop_devillium2::OnMyMobDead";
  1066. stopnpctimer;
  1067. end;
  1068. OndevilingSpawn:
  1069. monster "poring_w02",98,124,"Deviling",1767,1,"#wop_devillium2::OnMyMobDead";
  1070. end;
  1071. OnMyMobDead:
  1072. set $@wop_deadcount_d,$@wop_deadcount_d + 1;
  1073. if ($@wop_deadcount_d == 1) {
  1074. mapannounce "poring_w02","Mr. Doppel: The deviling on the 2nd base has been killed! 1 point lost!!",0,0x00ff00;
  1075. initnpctimer;
  1076. }
  1077. else {
  1078. donpcevent "#wop_devillium1::OnReset";
  1079. donpcevent "#wop_devillium2::OnReset";
  1080. donpcevent "#wop_devillium1::OnReset";
  1081. donpcevent "#wop_devillium2::OnReset";
  1082. donpcevent "#wop_master::OnAngelingWin";
  1083. }
  1084. end;
  1085. OnTimer120000:
  1086. set $@wop_deadcount_d,$@wop_deadcount_d - 1;
  1087. donpcevent "#wop_devillium2::OndevilingSpawn";
  1088. mapannounce "poring_w02","Mr. Doppel: The deviling on the 2nd base has been revived! 1 point gained!!",0,0x00ff00;
  1089. stopnpctimer;
  1090. }
  1091. // Deviruchi
  1092. //============================================================
  1093. poring_w02,99,201,3 script Deviruchi#wop_endmaster 738,{
  1094. if (MaxWeight-Weight < 2000 || checkweight(1201,1) == 0) {
  1095. mes "- Wait a minute !! -";
  1096. mes "- Currently you're carrying -";
  1097. mes "- too many items with you. -";
  1098. mes "- Please try again -";
  1099. mes "- after you lose some weight. -";
  1100. close;
  1101. }
  1102. set .@a_point,$@wop_deadcount_a;
  1103. set .@d_point,$@wop_deadcount_d;
  1104. if (getcharid(1) == $@wop_team_a) {
  1105. if (.@a_point < .@d_point) {
  1106. mes "[Devi]";
  1107. mes "Good work!";
  1108. mes "Thanks to you, we increased our chances of victory.";
  1109. mes "Please, accept these Poring Coins as a sign of our appreciation.";
  1110. next;
  1111. if (wop_team == 1) {
  1112. mes "[Devi]";
  1113. mes "Goodbye, my human friend.";
  1114. close2;
  1115. getitem 7539,3; // Poring_Coin
  1116. warp "prt_fild08",150,370;
  1117. end;
  1118. }
  1119. else {
  1120. mes "[Devi]";
  1121. mes "Wait a minute, you look suspicious!!";
  1122. mes "Ah, I got it! You are on the side of the Devilings?!";
  1123. mes "You are spying on us!";
  1124. mes "I will never forgive you!";
  1125. close2;
  1126. percentheal 99,0;
  1127. warp "prt_fild08",150,370;
  1128. end;
  1129. }
  1130. }
  1131. else if (.@a_point == .@d_point) {
  1132. mes "[Devi]";
  1133. mes "You did the best you could.";
  1134. mes "I' ts a shame the battle was tied...";
  1135. mes "Even so, thanks for coming to fight for us. Please, accept this Poring Coin.";
  1136. next;
  1137. if (wop_team == 1) {
  1138. mes "[Devi]";
  1139. mes "Goodbye, my human friend.";
  1140. close2;
  1141. getitem 7539,1; // Poring_Coin
  1142. warp "prt_fild08",150,370;
  1143. end;
  1144. }
  1145. else {
  1146. mes "[Devi]";
  1147. mes "Wait a minute, you look suspicious!!";
  1148. mes "Ah, I got it! You are on the side of the Devilings?!";
  1149. mes "You are spying on us!";
  1150. mes "It must have been you that made us tie the battle!!";
  1151. mes "I will never forgive you!";
  1152. close2;
  1153. percentheal 99,0;
  1154. warp "prt_fild08",150,370;
  1155. end;
  1156. }
  1157. }
  1158. else {
  1159. if (wop_team == 1) {
  1160. mes "[Devi]";
  1161. mes "Well, I guess we had bad luck...";
  1162. mes "I cant give you anything, since we lost and everything...";
  1163. next;
  1164. mes "[Devi]";
  1165. mes "Goodbye, my human friend.";
  1166. close2;
  1167. warp "prt_fild08",150,370;
  1168. end;
  1169. }
  1170. else {
  1171. mes "[Devi]";
  1172. mes "Wait a minute... There is a traitor here!";
  1173. mes "Ah, I got it! You are on the side of the Devilings?!";
  1174. mes "You are spying on us, Angelings!";
  1175. next;
  1176. mes "[Devi]";
  1177. mes "You should be ashamed!";
  1178. close2;
  1179. percentheal 99,0;
  1180. warp "prt_fild08",150,370;
  1181. end;
  1182. }
  1183. }
  1184. }
  1185. else if (getcharid(1) == $@wop_team_d) {
  1186. if (.@a_point > .@d_point) {
  1187. mes "[Devi]";
  1188. mes "Good work!";
  1189. mes "Thanks to you, we increased our chances of victory.";
  1190. mes "Please, accept these Poring Coins as a sign of our appreciation.";
  1191. next;
  1192. if (wop_team == 2) {
  1193. mes "[Devi]";
  1194. mes "Goodbye, my human friend.";
  1195. close2;
  1196. getitem 7539,3; // Poring_Coin
  1197. warp "prt_fild08",150,370;
  1198. end;
  1199. }
  1200. else {
  1201. mes "[Devi]";
  1202. mes "Wait a minute, you look suspicious!!";
  1203. mes "Ah, I got it! You are on the side of the Angelings?!";
  1204. mes "You are spying on us!!";
  1205. mes "I will never forgive you!";
  1206. close2;
  1207. percentheal 99,0;
  1208. warp "prt_fild08",150,370;
  1209. end;
  1210. }
  1211. }
  1212. else if (.@a_point == .@d_point) {
  1213. mes "[Devi]";
  1214. mes "You did the best you could.";
  1215. mes "It's a shame the battle was tied...";
  1216. mes "Even so, thanks for coming to fight for us. Please, accept this Poring Coin.";
  1217. next;
  1218. if (wop_team == 2) {
  1219. mes "[Devi]";
  1220. mes "Goodbye, my human friend.";
  1221. close2;
  1222. getitem 7539,1; // Poring_Coin
  1223. warp "prt_fild08",150,370;
  1224. end;
  1225. }
  1226. else {
  1227. mes "[Devi]";
  1228. mes "Wait a minute, you look suspicious!!";
  1229. mes "Ah, I got it! You are on the side of the Angelings?!";
  1230. mes "You are spying on us!";
  1231. mes "It must have been you that made us tie the battle!!";
  1232. mes "I will never forgive you!";
  1233. close2;
  1234. percentheal 99,0;
  1235. warp "prt_fild08",150,370;
  1236. end;
  1237. }
  1238. }
  1239. else {
  1240. if (wop_team == 2) {
  1241. mes "[Devi]";
  1242. mes "Well, I guess we had bad luck...";
  1243. mes "I cant give you anything, since we lost and everything...";
  1244. next;
  1245. mes "[Devi]";
  1246. mes "I will allow you to return to your human world.";
  1247. close2;
  1248. warp "prt_fild08",150,370;
  1249. end;
  1250. }
  1251. else {
  1252. mes "[Devi]";
  1253. mes "Wait a minute, you look suspicious!!";
  1254. mes "Ah, I got it! You are on the side of the Angelings?!";
  1255. mes "You are spying on us, Devilings!";
  1256. next;
  1257. mes "[Devi]";
  1258. mes "You should be ashamed!";
  1259. close2;
  1260. percentheal 99,0;
  1261. warp "prt_fild08",150,370;
  1262. end;
  1263. }
  1264. }
  1265. }
  1266. else {
  1267. mes "[Devi]";
  1268. mes "This is weird...Your party name ain't registered.";
  1269. mes "Im sorry, but rules are rules. I can't help you if your party ain't registered.";
  1270. close;
  1271. }
  1272. OnInit:
  1273. disablenpc "Deviruchi#wop_endmaster";
  1274. end;
  1275. OnEnable:
  1276. enablenpc "Deviruchi#wop_endmaster";
  1277. initnpctimer;
  1278. end;
  1279. OnDisable:
  1280. disablenpc "Deviruchi#wop_endmaster";
  1281. end;
  1282. OnTimer3000:
  1283. mapwarp "poring_w02","poring_w02",99,196;
  1284. end;
  1285. OnTimer5000:
  1286. mapannounce "poring_w02","Mr. Doppel: Allow me to offer a souvenir to the humans that fought bravely for the Porings! Please, speak to Devi.",0,0x00ff00;
  1287. end;
  1288. OnTimer65000:
  1289. mapannounce "poring_w02","Mr. Doppel: Time is up! Let me teleport you.",0,0x00ff00;
  1290. end;
  1291. OnTimer68000:
  1292. mapwarp "poring_w02","poring_w01",112,138;
  1293. end;
  1294. OnTimer68100:
  1295. donpcevent "#wop_master::OnStop";
  1296. donpcevent "#wop_devillium1::OnReset";
  1297. donpcevent "#wop_devillium2::OnReset";
  1298. donpcevent "#wop_angellium1::OnReset";
  1299. donpcevent "#wop_angellium2::OnReset";
  1300. set $@wop_team_a,0;
  1301. set $@wop_team_d,0;
  1302. set $@wop_deadcount_a,0;
  1303. set $@wop_deadcount_d,0;
  1304. set $@wop_teamcount,0;
  1305. set $@wop_doorcount_a,0;
  1306. set $@wop_doorcount_d,0;
  1307. donpcevent "#wop_warp_a::OnDisable";
  1308. donpcevent "#wop_warp_d::OnDisable";
  1309. donpcevent "Mr. Doppel#wop_team_a::OnDisable";
  1310. donpcevent "Mr. Doppel#wop_team_d::OnDisable";
  1311. donpcevent "#wop_warp_rtry::OnDisable";
  1312. donpcevent "Poring#wop_door_a::OnEnable";
  1313. donpcevent "Poring#wop_door_d::OnEnable";
  1314. donpcevent "Poring#wop_door_all::OnEnable";
  1315. stopnpctimer;
  1316. end;
  1317. }
  1318. // Gate Guardian
  1319. //============================================================
  1320. poring_w02,99,52,0 script Angeling Guardian#wop_da 111,{
  1321. cutin "wop_emb0" + $@wop_doorcount_a,1;
  1322. if ($@wop_doorcount_a < 4) {
  1323. if (wop_team == 2) {
  1324. mes "There is a device to equip the War Badges.";
  1325. mes "I can see the empty slots to equip the Badges.";
  1326. next;
  1327. switch(select("Equip War Badge.:Cancel.")) {
  1328. case 1:
  1329. if (countitem(7773)) {
  1330. if ($@wop_doorcount_a < 4) {
  1331. mes "War Badge equipped.";
  1332. delitem 7773,1; // War_Badge
  1333. set $@wop_doorcount_a,$@wop_doorcount_a + 1;
  1334. cutin "wop_emb0" + $@wop_doorcount_a,1;
  1335. if ($@wop_doorcount_a == 4) {
  1336. next;
  1337. mes "Gate Activated.";
  1338. donpcevent "#aroom_ingate_wop::OnEnable";
  1339. donpcevent "#aroom_outgate_wop::OnEnable";
  1340. }
  1341. close2;
  1342. }
  1343. else {
  1344. mes "All War Badges equipped.";
  1345. mes "No need to equip any more.";
  1346. close2;
  1347. }
  1348. }
  1349. else {
  1350. mes "^4d4dff - War Badge missing. You can obtain a War badge by killing members of the other team. - ^000000";
  1351. close2;
  1352. }
  1353. break;
  1354. case 2:
  1355. mes "Cancel.";
  1356. close2;
  1357. }
  1358. }
  1359. else {
  1360. mes "There is a device to equip a War Badge.";
  1361. mes "Be carefull to not allow the enemy to take and equip your War Badge here.";
  1362. close2;
  1363. }
  1364. }
  1365. else {
  1366. mes "All War Badges have been equipped.";
  1367. close2;
  1368. }
  1369. cutin "",255;
  1370. end;
  1371. OnInit:
  1372. set $@wop_doorcount_a,0;
  1373. end;
  1374. }
  1375. poring_w02,103,52,0 script #aroom_ingate_wop 139,1,1,{
  1376. end;
  1377. OnInit:
  1378. disablenpc "#aroom_ingate_wop";
  1379. end;
  1380. OnEnable:
  1381. enablenpc "#aroom_ingate_wop";
  1382. end;
  1383. OnDisable:
  1384. disablenpc "#aroom_ingate_wop";
  1385. end;
  1386. OnTouch_:
  1387. warp "poring_w02",99,49;
  1388. end;
  1389. }
  1390. poring_w02,93,51,0 script #aroom_outgate_wop 139,1,1,{
  1391. end;
  1392. OnInit:
  1393. disablenpc "#aroom_outgate_wop";
  1394. end;
  1395. OnEnable:
  1396. enablenpc "#aroom_outgate_wop";
  1397. end;
  1398. OnDisable:
  1399. disablenpc "#aroom_outgate_wop";
  1400. end;
  1401. OnTouch_:
  1402. warp "poring_w02",99,54;
  1403. end;
  1404. }
  1405. poring_w02,98,113,0 script Deviling Guardian#wop_dd 111,{
  1406. cutin "wop_emb0" + $@wop_doorcount_d,1;
  1407. if ($@wop_doorcount_d < 4) {
  1408. if (wop_team == 1) {
  1409. mes "There is a device to equip the War Badges.";
  1410. mes "I can see the empty slots to equip the Badges.";
  1411. next;
  1412. switch(select("Equip War Badge.:Cancel.")) {
  1413. case 1:
  1414. if (countitem(7773)) {
  1415. if ($@wop_doorcount_d < 4) {
  1416. mes "War Badge equipped.";
  1417. delitem 7773,1; // War_Badge
  1418. set $@wop_doorcount_d,$@wop_doorcount_d + 1;
  1419. cutin "wop_emb0" + $@wop_doorcount_d,1;
  1420. if ($@wop_doorcount_d == 4) {
  1421. next;
  1422. mes "Gate Activated.";
  1423. donpcevent "#droom_ingate_wop::OnEnable";
  1424. donpcevent "#droom_outgate_wop::OnEnable";
  1425. }
  1426. close2;
  1427. }
  1428. else {
  1429. mes "All War Badges equipped.";
  1430. mes "No need to equip any more.";
  1431. close2;
  1432. }
  1433. }
  1434. else {
  1435. mes "^4d4dff - War Badge missing. You can obtain a War badge by killing members of the other team. - ^000000";
  1436. close2;
  1437. }
  1438. break;
  1439. case 2:
  1440. mes "Cancel.";
  1441. close2;
  1442. }
  1443. }
  1444. else {
  1445. mes "There is a device to equip a War Badge.";
  1446. mes "Be carefull to not allow the enemy to take and equip your War Badge here.";
  1447. close2;
  1448. }
  1449. }
  1450. else {
  1451. mes "All War Badges have been equipped.";
  1452. close2;
  1453. }
  1454. cutin "",255;
  1455. end;
  1456. OnInit:
  1457. set $@wop_doorcount_d,0;
  1458. end;
  1459. }
  1460. poring_w02,93,113,0 script #droom_ingate_wop 139,1,1,{
  1461. end;
  1462. OnInit:
  1463. disablenpc "#droom_ingate_wop";
  1464. end;
  1465. OnEnable:
  1466. enablenpc "#droom_ingate_wop";
  1467. end;
  1468. OnDisable:
  1469. disablenpc "#droom_ingate_wop";
  1470. end;
  1471. OnTouch_:
  1472. warp "poring_w02",98,116;
  1473. end;
  1474. }
  1475. poring_w02,103,114,0 script #droom_outgate_wop 139,1,1,{
  1476. end;
  1477. OnInit:
  1478. disablenpc "#droom_outgate_wop";
  1479. end;
  1480. OnEnable:
  1481. enablenpc "#droom_outgate_wop";
  1482. end;
  1483. OnDisable:
  1484. disablenpc "#droom_outgate_wop";
  1485. end;
  1486. OnTouch_:
  1487. warp "poring_w02",98,111;
  1488. end;
  1489. }
  1490. // Other NPCs
  1491. //============================================================
  1492. - script Angeling Side Poring#wpa -1,{
  1493. end;
  1494. }
  1495. - script Deviling Side Marin#wpd -1,{
  1496. end;
  1497. }
  1498. poring_w01,79,102,5 duplicate(Angeling Side Poring#wpa) Angeling Side Poring#wa1 1002
  1499. poring_w01,80,107,5 duplicate(Angeling Side Poring#wpa) Angeling Side Poring#wa2 1002
  1500. poring_w01,84,108,5 duplicate(Angeling Side Poring#wpa) Angeling Side Poring#wa3 1002
  1501. poring_w01,84,112,5 duplicate(Angeling Side Poring#wpa) Angeling Side Poring#wa4 1002
  1502. poring_w01,88,112,5 duplicate(Angeling Side Poring#wpa) Angeling Side Poring#wa5 1002
  1503. poring_w01,114,112,3 duplicate(Deviling Side Marin#wpd) Deviling Side Marin#wd1 1242
  1504. poring_w01,117,111,3 duplicate(Deviling Side Marin#wpd) Deviling Side Marin#wd2 1242
  1505. poring_w01,117,108,3 duplicate(Deviling Side Marin#wpd) Deviling Side Marin#wd3 1242
  1506. poring_w01,122,108,3 duplicate(Deviling Side Marin#wpd) Deviling Side Marin#wd4 1242
  1507. poring_w01,121,105,3 duplicate(Deviling Side Marin#wpd) Deviling Side Marin#wd5 1242
  1508. poring_w01,84,108,3 script #wop_ex_1 139,3,3,{
  1509. end;
  1510. OnTouch:
  1511. mes "[Porings]";
  1512. mes "P~ooooooooo -!!!";
  1513. mes "Let's teach them a lesson, ring!";
  1514. mes "We are no longer betting our lives for Jellopies, ring!!!";
  1515. next;
  1516. mes "[Porings]";
  1517. mes "Let's go! Let's fight! Let's win, win, win!!!";
  1518. emotion ET_GO, getnpcid(0, "Angeling Side Poring#wa1");
  1519. emotion ET_GO, getnpcid(0, "Angeling Side Poring#wa2");
  1520. emotion ET_GO, getnpcid(0, "Angeling Side Poring#wa3");
  1521. emotion ET_GO, getnpcid(0, "Angeling Side Poring#wa4");
  1522. emotion ET_GO, getnpcid(0, "Angeling Side Poring#wa5");
  1523. next;
  1524. if (wop_team == 1) {
  1525. mes "[Porings]";
  1526. mes "Ohhhhhh, there he is, the warrior that fought for us!!";
  1527. mes "Oh my god... Nice, ring!";
  1528. mes "Poring~ Poring~ Poooooo~";
  1529. mes "Party of Angeling~ Popopo, Poring!";
  1530. }
  1531. else if (wop_team == 2) {
  1532. mes "[Porings]";
  1533. mes "Wait, YOU! Aren't you on the side of the Devilings?!";
  1534. mes "Get out now! Leave!!";
  1535. mes "Booooo~ Boo~ Boooo~";
  1536. emotion ET_HUK, getnpcid(0, "Angeling Side Poring#wa1");
  1537. emotion ET_FRET, getnpcid(0, "Angeling Side Poring#wa2");
  1538. emotion ET_HUK, getnpcid(0, "Angeling Side Poring#wa3");
  1539. emotion ET_FRET, getnpcid(0, "Angeling Side Poring#wa4");
  1540. emotion ET_SURPRISE, getnpcid(0, "Angeling Side Poring#wa5");
  1541. }
  1542. else {
  1543. mes "[Porings]";
  1544. mes "Hey, human. How about fighting for us Porings on Angeling's side??!";
  1545. emotion ET_HELP, getnpcid(0, "Angeling Side Poring#wa1");
  1546. emotion ET_GO, getnpcid(0, "Angeling Side Poring#wa2");
  1547. emotion ET_HELP, getnpcid(0, "Angeling Side Poring#wa3");
  1548. emotion ET_GO, getnpcid(0, "Angeling Side Poring#wa4");
  1549. emotion ET_GO, getnpcid(0, "Angeling Side Poring#wa5");
  1550. }
  1551. next;
  1552. mes "[Porings]";
  1553. mes "Party of Angeling~ Popopo, Poring!";
  1554. mes "Victory~ Victory~ Pooooooo~";
  1555. next;
  1556. mes "- Porings are cheerfully shouting for the victory. -";
  1557. close;
  1558. }
  1559. poring_w01,119,107,3 script #wop_ex_2 139,3,3,{
  1560. end;
  1561. OnTouch:
  1562. mes "[Marins]";
  1563. mes "Woooooaaaaaaaaaaa!";
  1564. mes "Finally, it's time for us to teach those stupid pigs a lesson!!";
  1565. mes "Those Porings with low-grades are all idiots!!";
  1566. next;
  1567. mes "[Marins]";
  1568. mes "Let's go! Let's fight! Fight for Triumph!!!!";
  1569. emotion ET_GO, getnpcid(0, "Deviling Side Marin#wd1");
  1570. emotion ET_GO, getnpcid(0, "Deviling Side Marin#wd2");
  1571. emotion ET_GO, getnpcid(0, "Deviling Side Marin#wd3");
  1572. emotion ET_GO, getnpcid(0, "Deviling Side Marin#wd4");
  1573. emotion ET_GO, getnpcid(0, "Deviling Side Marin#wd5");
  1574. next;
  1575. if (wop_team == 2) {
  1576. mes "[Marins]";
  1577. mes "Ohhhh... Here is the warrior that fought for us!!";
  1578. mes "Amazing!";
  1579. mes "This proves that humans recognize us as true monsters!!";
  1580. }
  1581. else if (wop_team == 1) {
  1582. mes "[Marins]";
  1583. mes "Wait, YOU! Aren't you on the side of the Angelings?!";
  1584. mes "Get out now! Leave!!";
  1585. mes "Booooo~ Boo~ Boooo~";
  1586. emotion ET_HUK, getnpcid(0, "Deviling Side Marin#wd1");
  1587. emotion ET_FRET, getnpcid(0, "Deviling Side Marin#wd2");
  1588. emotion ET_HUK, getnpcid(0, "Deviling Side Marin#wd3");
  1589. emotion ET_FRET, getnpcid(0, "Deviling Side Marin#wd4");
  1590. emotion ET_SURPRISE, getnpcid(0, "Deviling Side Marin#wd5");
  1591. }
  1592. else {
  1593. mes "[Marins]";
  1594. mes "Hey, human. Don't you wanna fight for Deviling, the noble of darkness? What do you say?!";
  1595. emotion ET_HELP, getnpcid(0, "Deviling Side Marin#wd1");
  1596. emotion ET_GO, getnpcid(0, "Deviling Side Marin#wd2");
  1597. emotion ET_HELP, getnpcid(0, "Deviling Side Marin#wd3");
  1598. emotion ET_GO, getnpcid(0, "Deviling Side Marin#wd4");
  1599. emotion ET_GO, getnpcid(0, "Deviling Side Marin#wd5");
  1600. }
  1601. next;
  1602. mes "[Marins]";
  1603. mes "The world's Best Miraculous Poring! Deviling has it all! Go, Deviling, Go-!!";
  1604. next;
  1605. mes "- Marins are cheerfully shouting for the victory. -";
  1606. close;
  1607. }