gdevent_aru.txt 47 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526
  1. arug_dun01,1,1,1 script Monster Controler#aru_gd 81,{
  2. OnInit:
  3. donpcevent "Monster Controler1#aru::OnKill";
  4. initnpctimer;
  5. end;
  6. OnTimer10000:
  7. donpcevent "Monster Controler1#aru::OnEnable";
  8. mapannounce "arug_dun01", "Kublin: Aargh!",bc_map,"0x99CC00";
  9. mapannounce "arug_dun01", "Morestone: Stop righ there! You thief!",bc_map,"0x99CC00";
  10. stopnpctimer;
  11. end;
  12. }
  13. arug_dun01,1,2,1 script Monster Controler1#aru 81,{
  14. OnEnable:
  15. set .@callwhere,rand(1,4);
  16. if (.@callwhere == 1) {
  17. monster "arug_dun01",150,340,"Kublin",1980,1,"Monster Controler1#aru::OnMyMobDead";
  18. }
  19. else if (.@callwhere == 2) {
  20. monster "arug_dun01",232,293,"Kublin",1980,1,"Monster Controler1#aru::OnMyMobDead";
  21. }
  22. else if (.@callwhere == 3) {
  23. monster "arug_dun01",156,167,"Kublin",1980,1,"Monster Controler1#aru::OnMyMobDead";
  24. }
  25. else {
  26. monster "arug_dun01",243,56,"Kublin",1980,1,"Monster Controler1#aru::OnMyMobDead";
  27. }
  28. end;
  29. Onkill:
  30. killmonster "arug_dun01","Monster Controler1#aru::OnMyMObDead";
  31. end;
  32. OnMyMobDead:
  33. if (mobcount("arug_dun01","Monster Controler1#aru::OnMyMObDead") == 0) {
  34. mapannounce "arug_dun01", "Kublin: Aargh!",bc_map,"0x99CC00";
  35. mapannounce "arug_dun01", "Morestone: I thought I heard Kublin screaming!! Who is there? What happened to Kublin? Hey you!",bc_map,"0x99CC00";
  36. donpcevent "Dwarf#aru_gd::OnEnable";
  37. }
  38. end;
  39. }
  40. arug_dun01,199,195,5 script Dwarf#aru_gd 826,{
  41. if (getcharid(2) == 0) {
  42. mes "[Dwarf]";
  43. mes "Hey did you see an ugly Goblin come by? He stole something from me!";
  44. close;
  45. }
  46. set .@chk_urquest,checkquest(2143,PLAYTIME);
  47. set .@chk_yourgdname$,getguildname(getcharid(2));
  48. if ($@gdeventv_a1 == 0) {
  49. if ($@gdevents_a$ == "") {
  50. set $@gdeventv_a1,1;
  51. set $@gdevents_a$,.@chk_yourgdname$;
  52. mes "[Dwarf]";
  53. mes "Help me!";
  54. mes "Please, help me!";
  55. next;
  56. switch(select("What happened?:Nevermind.")) {
  57. case 1:
  58. mes "[Dwarf]";
  59. mes "I am Morestone and I collect rare gems.";
  60. next;
  61. mes "[Morestone]";
  62. mes "In my travels, I was told that there were alot of gems in Valfreyja and Nidhoggur, so I came down here.";
  63. mes "But here, the soil is very hard to dig into. Fortunately, my ^3131FFPickaxe^000000 never lets me down!";
  64. next;
  65. select("Pickaxe!");
  66. mes "[Morestone]";
  67. mes "Yes, my beloved pickaxe!";
  68. mes "I always carry it with me, you know?";
  69. next;
  70. mes "[Morestone]";
  71. mes "We started working here together.";
  72. mes "After a few days, we finally found something!";
  73. next;
  74. select("Something strange??");
  75. mes "[Morestone]";
  76. mes "No, but it was worth quite alot.";
  77. mes "But we did not have much time to celebrate. Suddenly, a monster appeared that stole my pickaxe.";
  78. mes "His name was^3131FFKublin^000000!";
  79. next;
  80. mes "[Morestone]";
  81. mes "He stole my Pickaxe!";
  82. mes "I can't live without it...";
  83. next;
  84. if (countitem(6010) > 0) {
  85. mes "[" + strcharinfo(0) + "]";
  86. mes "Is this the pickaxe that you've been looking for?";
  87. next;
  88. mes "[Morestone]";
  89. mes "You found my Pickaxe?";
  90. mes "Show me, please!";
  91. next;
  92. mes "[Morestone]";
  93. mes "Oh, my! You've returned it to me!";
  94. mes "My precious pickaxe, I thought I lost you forever.";
  95. next;
  96. mes "[Morestone]";
  97. mes "You are great! What guild are you from?";
  98. mes "Could it be Gravity or Mercury?";
  99. next;
  100. mes "[" + strcharinfo(0) + "]";
  101. mes "I am a member of the ^3131FF"+.@chk_yourgdname$+"^.";
  102. next;
  103. mes "[Morestone]";
  104. mes "Oh... That guild will receive my greatest respect.";
  105. next;
  106. mes "[Morestone]";
  107. mes "Oh! My friend, I am very grateful for your help.";
  108. mes "As a reward, I will tell you about a mysterious area I have discovered recently.";
  109. next;
  110. select("A mysterious area?");
  111. mes "[Morestone]";
  112. mes "That's right. I found it when I was digging around here.";
  113. mes "It looks like it was made for some special purpose, but since there are no gems around there, I have no interest in it.";
  114. next;
  115. mes "[Morestone]";
  116. mes "Instead of going there alone, I think it would be more fun to go with your friends...";
  117. next;
  118. mes "[Morestone]";
  119. mes "If you want, I can take ^3131FFyou and your guild members^000000 to explore that area.";
  120. mes "Do you want to go there now?";
  121. next;
  122. switch(select("Wait! I'm not ready yet.:Let's go!")) {
  123. case 1:
  124. set $@gdeventv_a1,0;
  125. set $@gdevents_a$,"";
  126. mes "[Morestone]";
  127. mes "Take your time, and find a place to gather your friends.";
  128. close;
  129. case 2:
  130. mes "[Morestone]";
  131. mes "Alright! Let's go.";
  132. mes "If your friends visit me again later, I will guide them to that area again.";
  133. mes "Don't forget, dwarves are grateful beings! Hahaha!";
  134. delitem 6010,1; //Pickaxe
  135. set $@gdeventv_a1,1;
  136. set $@gdevents_a$,.@chk_yourgdname$;
  137. close2;
  138. setquest 2144;
  139. warp "arug_que01",103,133;
  140. end;
  141. }
  142. }
  143. else {
  144. set $@gdeventv_a1,0;
  145. set $@gdevents_a$,"";
  146. mes "[Morestone]";
  147. mes "I will tell you how to find him.";
  148. mes "Kublin wears a ridiculous golden hat, It should be easy to recognise him by that.";
  149. close;
  150. }
  151. case 2:
  152. set $@gdeventv_a1,0;
  153. set $@gdevents_a$,"";
  154. emotion e_sob;
  155. mes "[Dwarf]";
  156. mes "Ahhh...";
  157. close;
  158. }
  159. }
  160. else if ($@gdevents_a$ == .@chk_yourgdname$) {
  161. set .@chk_urquest1,checkquest(2144);
  162. if ((.@chk_urquest1 == 0) || (.@chk_urquest1 == 1)) {
  163. mes "[Morestone]";
  164. mes "I, Morestone, have made an alliance with the "+$@gdevents_a$+" guild.";
  165. mes "Oh, you are a member.";
  166. mes "Would you like to go to the mysterious area?";
  167. next;
  168. switch(select("Let's go.:No, thanks.")) {
  169. case 1:
  170. mes "[Morestone]";
  171. mes "I hope you enjoy yourself, my friend.";
  172. close2;
  173. warp "arug_que01",103,133;
  174. end;
  175. case 2:
  176. mes "[Morestone]";
  177. mes "If you need my assistance, just ask.";
  178. mes "Ah! Dont forget, I hate monsters! So I don't want to see them. It will be better if you ask for another favour.";
  179. close;
  180. }
  181. }
  182. else {
  183. set $@gdeventv_a1,1;
  184. set $@gdevents_a$,.@chk_yourgdname$;
  185. mes "[Dwarf]";
  186. mes "Help me!";
  187. mes "Please, help me!";
  188. next;
  189. switch(select("What happened?:Nevermind.")) {
  190. case 1:
  191. mes "[Dwarf]";
  192. mes "I am Morestone and I collect rare gems.";
  193. next;
  194. mes "[Morestone]";
  195. mes "In my travels, I was told that there were alot of gems in Valfreyja and Nidhoggur, so I came down here.";
  196. mes "But here, the soil is very hard to dig into. Fortunately, my ^3131FFPickaxe^000000 never lets me down!";
  197. next;
  198. select("Pickaxe!");
  199. mes "[Morestone]";
  200. mes "Yes, my beloved pickaxe!";
  201. mes "I always carry it with me, you know?";
  202. next;
  203. mes "[Morestone]";
  204. mes "We started working here together.";
  205. mes "After a few days, we finally found something!";
  206. next;
  207. select("Something strange??");
  208. mes "[Morestone]";
  209. mes "No, but it was worth quite alot.";
  210. mes "But we did not have much time to celebrate. Suddenly, a monster appeared that stole my pickaxe.";
  211. mes "His name was^3131FFKublin^000000!";
  212. next;
  213. mes "[Morestone]";
  214. mes "He stole my Pickaxe!";
  215. mes "I can't live without it...";
  216. next;
  217. if (countitem(6010) > 0) {
  218. mes "[" + strcharinfo(0) + "]";
  219. mes "Is this the pickaxe that you've been looking for?";
  220. next;
  221. mes "[Morestone]";
  222. mes "You found my Pickaxe?";
  223. mes "Show me, please!";
  224. next;
  225. mes "[Morestone]";
  226. mes "Oh, my! You've returned it to me!";
  227. mes "My precious pickaxe, I thought I lost you forever.";
  228. next;
  229. mes "[Morestone]";
  230. mes "You are great! What guild are you from?";
  231. mes "Could it be Gravity or Mercury?";
  232. next;
  233. mes "[" + strcharinfo(0) + "]";
  234. mes "I am a member of the ^3131FF"+.@chk_yourgdname$+"^.";
  235. next;
  236. mes "[Morestone]";
  237. mes "Oh... That guild will receive my greatest respect.";
  238. next;
  239. mes "[Morestone]";
  240. mes "Oh! My friend, I am very grateful for your help.";
  241. mes "As a reward, I will tell you about a mysterious area I have discovered recently.";
  242. next;
  243. select("A mysterious area?");
  244. mes "[Morestone]";
  245. mes "That's right. I found it when I was digging around here.";
  246. mes "It looks like it was made for some special purpose, but since there are no gems around there, I have no interest in it.";
  247. next;
  248. mes "[Morestone]";
  249. mes "Instead of going there alone, I think it would be more fun to go with your friends...";
  250. next;
  251. mes "[Morestone]";
  252. mes "If you want, I can take ^3131FFyou and your guild members^000000 to explore that area.";
  253. mes "Do you want to go there now?";
  254. next;
  255. switch(select("Wait! I'm not ready yet.:Let's go!")) {
  256. case 1:
  257. set $@gdeventv_a1,0;
  258. set $@gdevents_a$,"";
  259. mes "[Morestone]";
  260. mes "Take your time, and find a place to gather your friends.";
  261. close;
  262. case 2:
  263. mes "[Morestone]";
  264. mes "Alright! Let's go.";
  265. mes "If your friends visit me again later, I will guide them to that area again.";
  266. mes "Don't forget, dwarves are grateful beings! Hahaha!";
  267. delitem 6010,1; //Pickaxe
  268. set $@gdeventv_a1,1;
  269. set $@gdevents_a$,.@chk_yourgdname$;
  270. close2;
  271. setquest 2144;
  272. warp "arug_que01",103,133;
  273. end;
  274. }
  275. }
  276. else {
  277. set $@gdeventv_a1,0;
  278. set $@gdevents_a$,"";
  279. mes "[Morestone]";
  280. mes "I will tell you how to find him.";
  281. mes "Kublin wears a ridiculous golden hat, It should be easy to recognise him by that.";
  282. close;
  283. }
  284. case 2:
  285. set $@gdeventv_a1,0;
  286. set $@gdevents_a$,"";
  287. emotion e_sob;
  288. mes "[Dwarf]";
  289. mes "Ah....";
  290. close;
  291. }
  292. }
  293. }
  294. else {
  295. mes "[Morestone]";
  296. mes "I, Morestone, have made an alliance with the "+$@gdevents_a$+" guild.";
  297. mes "Hm, you're not a member.";
  298. mes "Could you please give them my greetings?";
  299. close;
  300. }
  301. }
  302. else {
  303. if ($@gdevents_a$ == .@chk_yourgdname$) {
  304. set .@chk_urquest1,checkquest(2144);
  305. if ((.@chk_urquest1 == 0) || (.@chk_urquest1 == 1)) {
  306. mes "[Morestone]";
  307. mes "[Morestone]";
  308. mes "I, Morestone, have made an alliance with the "+$@gdevents_a$+" guild.";
  309. mes "Oh, you are a member.";
  310. mes "Would you like to go to the mysterious area?";
  311. next;
  312. switch(select("Let's go.:No, thanks.")) {
  313. case 1:
  314. mes "[Morestone]";
  315. mes "I hope you enjoy yourself, my friend.";
  316. close2;
  317. warp "arug_que01",103,133;
  318. end;
  319. case 2:
  320. mes "[Morestone]";
  321. mes "If you need my assistance, just ask.";
  322. mes "Ah! Dont forget, I hate monsters! So I don't want to see them. It will be better if you ask for another favour.";
  323. close;
  324. }
  325. }
  326. else {
  327. set $@gdeventv_a1,1;
  328. set $@gdevents_a$,.@chk_yourgdname$;
  329. mes "[Dwarf]";
  330. mes "Help me!";
  331. mes "Please, help me!";
  332. next;
  333. switch(select("What happened?:Nevermind.")) {
  334. case 1:
  335. mes "[Dwarf]";
  336. mes "I am Morestone and I collect rare gems.";
  337. next;
  338. mes "[Morestone]";
  339. mes "In my travels, I was told that there were alot of gems in Valfreyja and Nidhoggur, so I came down here.";
  340. mes "But here, the soil is very hard to dig into. Fortunately, my ^3131FFPickaxe^000000 never lets me down!";
  341. next;
  342. select("Pickaxe!");
  343. mes "[Morestone]";
  344. mes "Yes, my beloved pickaxe!";
  345. mes "I always carry it with me, you know?";
  346. next;
  347. mes "[Morestone]";
  348. mes "We started working here together.";
  349. mes "After a few days, we finally found something!";
  350. next;
  351. select("Something strange??");
  352. mes "[Morestone]";
  353. mes "No, but it was worth quite alot.";
  354. mes "But we did not have much time to celebrate. Suddenly, a monster appeared that stole my pickaxe.";
  355. mes "His name was^3131FFKublin^000000!";
  356. next;
  357. mes "[Morestone]";
  358. mes "He stole my Pickaxe!";
  359. mes "I can't live without it...";
  360. next;
  361. if (countitem(6010) > 0) {
  362. mes "[" + strcharinfo(0) + "]";
  363. mes "Is this the pickaxe that you've been looking for?";
  364. next;
  365. mes "[Morestone]";
  366. mes "You found my Pickaxe?";
  367. mes "Show me, please!";
  368. next;
  369. mes "[Morestone]";
  370. mes "Oh, my! You've returned it to me!";
  371. mes "My precious pickaxe, I thought I lost you forever.";
  372. next;
  373. mes "[Morestone]";
  374. mes "You are great! What guild are you from?";
  375. mes "Could it be Gravity or Mercury?";
  376. next;
  377. mes "[" + strcharinfo(0) + "]";
  378. mes "I am a member of the ^3131FF"+.@chk_yourgdname$+"^.";
  379. next;
  380. mes "[Morestone]";
  381. mes "Oh... That guild will receive my greatest respect.";
  382. next;
  383. mes "[Morestone]";
  384. mes "Oh! My friend, I am very grateful for your help.";
  385. mes "As a reward, I will tell you about a mysterious area I have discovered recently.";
  386. next;
  387. select("A mysterious area?");
  388. mes "[Morestone]";
  389. mes "That's right. I found it when I was digging around here.";
  390. mes "It looks like it was made for some special purpose, but since there are no gems around there, I have no interest in it.";
  391. next;
  392. mes "[Morestone]";
  393. mes "Instead of going there alone, I think it would be more fun to go with your friends...";
  394. next;
  395. mes "[Morestone]";
  396. mes "If you want, I can take ^3131FFyou and your guild members^000000 to explore that area.";
  397. mes "Do you want to go there now?";
  398. next;
  399. switch(select("Wait! I'm not ready yet.:Let's go!")) {
  400. case 1:
  401. set $@gdeventv_a1,0;
  402. set $@gdevents_a$,"";
  403. mes "[Morestone]";
  404. mes "Take your time, and find a place to gather you friends.";
  405. close;
  406. case 2:
  407. mes "[Morestone]";
  408. mes "Alright! Let's go.";
  409. mes "If your friends visit me again later, I will guide them to that area again.";
  410. mes "Don't forget, dwarves are grateful beings! Hahaha!";
  411. delitem 6010,1; //Pickaxe
  412. set $@gdeventv_a1,1;
  413. set $@gdevents_a$,.@chk_yourgdname$;
  414. close2;
  415. setquest 2144;
  416. warp "arug_que01",103,133;
  417. end;
  418. }
  419. }
  420. else {
  421. set $@gdeventv_a1,0;
  422. set $@gdevents_a$,"";
  423. mes "[Morestone]";
  424. mes "I will tell you how to find him.";
  425. mes "Kublin wears a ridiculous golden hat, It should be easy to recognise him by that.";
  426. close;
  427. }
  428. case 2:
  429. set $@gdeventv_a1,0;
  430. set $@gdevents_a$,"";
  431. emotion e_sob;
  432. mes "[Dwarf]";
  433. mes "Ah....";
  434. close;
  435. }
  436. }
  437. }
  438. else {
  439. mes "[Morestone]";
  440. mes "I, Morestone, have made an alliance with the "+$@gdevents_a$+" guild.";
  441. mes "Hm, you're not a member.";
  442. mes "Could you please give them my greetings?";
  443. close;
  444. }
  445. }
  446. end;
  447. OnInit:
  448. disablenpc "Dwarf#aru_gd";
  449. set $@gdeventv_a1,0;
  450. set $@gdevents_a$,"";
  451. end;
  452. OnEnable:
  453. enablenpc "Dwarf#aru_gd";
  454. end;
  455. }
  456. arug_que01,100,81,3 script Pierrot Pier#aru_gd 715,{
  457. specialeffect EF_POISONHIT;
  458. set .@sprchg_gd,rand(1,5);
  459. if (.@sprchg_gd == 1) {
  460. setnpcdisplay "Pierrot Pier#aru_gd",950;
  461. }
  462. else if (.@sprchg_gd == 2) {
  463. setnpcdisplay "Pierrot Pier#aru_gd",715;
  464. }
  465. else if (.@sprchg_gd == 3) {
  466. setnpcdisplay "Pierrot Pier#aru_gd",714;
  467. }
  468. else if (.@sprchg_gd == 4) {
  469. setnpcdisplay "Pierrot Pier#aru_gd",785;
  470. }
  471. else {
  472. setnpcdisplay "Pierrot Pier#aru_gd",876;
  473. }
  474. if (checkweight(1201,1) == 0) {
  475. mes "- Wait!! -";
  476. mes "- You're carrying too many items, -";
  477. mes "- you can't receive the materials. -";
  478. mes "- Please use the Kafra Services, -";
  479. mes "- and come back later. -";
  480. close;
  481. }
  482. if (strcharinfo(0) == getguildmaster(getcharid(2))) {
  483. if ($@gdeventv_a2 == 0) {
  484. set .@que_2143,checkquest(2143,PLAYTIME);
  485. if (.@que_2143 == -1) {
  486. setnpcdisplay "Pierrot Pier#aru_gd",715;
  487. mes "A lonely clown is juggling.";
  488. next;
  489. mes "When looked at closely, the clown is just a puppet that looks like a human.";
  490. next;
  491. mes "The clown stops, then starts moving in accordance to your movements, noises start to emit from it's mouth.";
  492. next;
  493. mes "[Pierrot Pier]";
  494. mes "Beep beep beep.";
  495. mes "Hello, my friends!";
  496. mapannounce "arug_que01", "Pierrot Pier: Beep beep beep! Hello, my friends!",bc_map,"0x99CC00";
  497. next;
  498. mes "[Pierrot Pier]";
  499. mes "I am the loyal servant of Gergath, and I have finally received my orders.";
  500. mes "I am happy to hear all the laughter, but without my master's permission, I can't do anything.";
  501. mapannounce "arug_que01", "Pierrot Pier: I am happy to hear all the laughter, but without my master's permission, I can't do anything.",bc_map,"0x99CC00";
  502. next;
  503. mes "[Pierrot Pier]";
  504. mes "Did you get permission from Gergath?";
  505. mapannounce "arug_que01", "Pierrot Pier: Did you get permission from Gergath?",bc_map,"0x99CC00";
  506. next;
  507. switch(select("I need to check that.:No.")) {
  508. case 1:
  509. mes "[Pierrot Pier]";
  510. mes "Please give me the palm of your hand.";
  511. mapannounce "arug_que01", "Pierrot Pier: Please give me the palm of your hand.",bc_map,"0x99CC00";
  512. next;
  513. mes "[Pierrot Pier]";
  514. mes "Let me see...";
  515. mapannounce "arug_que01", "Pierrot Pier: Let me see...",bc_map,"0x99CC00";
  516. next;
  517. emotion e_dots;
  518. mes "[Pierrot Pier]";
  519. mes "Hm...";
  520. mapannounce "arug_que01", "Pierrot Pier: Hm...",bc_map,"0x99CC00";
  521. next;
  522. emotion e_dots;
  523. mes "[Pierrot Pier]";
  524. mes "Okay, I see...";
  525. mapannounce "arug_que01", "Pierrot Pier: Okay, I see...",bc_map,"0x99CC00";
  526. next;
  527. emotion e_dots;
  528. mes "[Pierrot Pier]";
  529. mes "Indeed...";
  530. mapannounce "arug_que01", "Pierrot Pier: Indeed...",bc_map,"0x99CC00";
  531. next;
  532. emotion e_bzz;
  533. mes "[Pierrot Pier]";
  534. mes "Verification completed!";
  535. mapannounce "arug_que01", "Pierrot Pier: Verification completed!",bc_map,"0x99CC00";
  536. next;
  537. break;
  538. case 2:
  539. mes "[Pierrot Pier]";
  540. mes "Hm? that's right.";
  541. mes "When is that person coming? I am very bored~!";
  542. close;
  543. }
  544. mes "[Pierrot Pier]";
  545. mes "^3131FF<You're someone who can only think about nonsense everyday, you have no focus at all.>^000000";
  546. mapannounce "arug_que01", "Pierrot Pier: <You're someone who can only think about nonsense everyday, you have no focus at all.>",bc_map,"0x99CC00";
  547. next;
  548. emotion e_ho;
  549. mes "[Pierrot Pier]";
  550. mes "Hm? You don't think so?";
  551. mapannounce "arug_que01", "Pierrot Pier: Hm? You don't think so?",bc_map,"0x99CC00";
  552. next;
  553. emotion e_heh;
  554. mes "[Pierrot Pier]";
  555. mes "Haha, I'm just kidding. Beep beep.";
  556. mes "Ah, you are the one my master speaks of.";
  557. mapannounce "arug_que01", "Pierrot Pier: Haha, I'm just kidding. Beep beep. You are the one my master speaks of.",bc_map,"0x99CC00";
  558. next;
  559. mes "[Pierrot Pier]";
  560. mes "Come, the Gergath has left a message for you.";
  561. mes "It's a bit old, but it should still be legible.";
  562. next;
  563. mes "[Pierrot Pier]";
  564. mes "Alright, let's begin!";
  565. setquest 2143;
  566. donpcevent "Gergath#aru_gd::OnEnable";
  567. close;
  568. }
  569. else if ((.@que_2143 == 0) || (.@que_2143 == 1)) {
  570. mes "[Pierrot Pier]";
  571. mes "Let's talk after I finished reading my master's message. Beep beep.";
  572. close;
  573. }
  574. else {
  575. mes "[Pierrot Pier]";
  576. mes "My master Gergath sincerely wishes you joy for you and your family everyday.";
  577. next;
  578. mes "[Pierrot Pier]";
  579. mes "Alright, would you like to play the game Gergath has prepared for you?";
  580. next;
  581. switch(select("Game instructions.:Skip instructions.:Refuse game.")) {
  582. case 1:
  583. mes "[Pierrot Pier]";
  584. mes "The game prepared by my master is very unique, yet simple and fun!";
  585. mapannounce "arug_que01", "Pierrot Pier: The game prepared by my lord is very unique, yet simple and fun!",bc_map,"0x99CC00";
  586. next;
  587. mes "[Pierrot Pier]";
  588. mes "It's called \"Find the Treasure Map\"!!";
  589. mapannounce "arug_que01", "Pierrot Pier: It's called \"Find the Treasure Map\"!!",bc_map,"0x99CC00";
  590. next;
  591. mes "[Pierrot Pier]";
  592. mes "Do you see this large and green field? Beep, beep?";
  593. mes "I will show you the most incredible magic here.";
  594. mes "I will turn this place very white. Veeery white!";
  595. mapannounce "arug_que01", "Pierrot Pier: I will turn this place very white. Veeery white!",bc_map,"0x99CC00";
  596. next;
  597. mes "[Pierrot Pier]";
  598. mes "The game instruction is just to find the treasure map within the time limit.";
  599. mes "Sounds easy, right?";
  600. mapannounce "arug_que01", "Pierrot Pier: The game instruction is just to find the treasure map within the time limit. ounds easy, right?",bc_map,"0x99CC00";
  601. next;
  602. break;
  603. case 2:
  604. break;
  605. case 3:
  606. emotion e_sob;
  607. mes "[Pierrot Pier]";
  608. mes "Oh, you don't want to play?";
  609. close;
  610. }
  611. mes "[Pierrot Pier]";
  612. mes "Okay, I'm ready to begin.";
  613. mes "Shall we start? Beep, beep?";
  614. next;
  615. switch(select("No.:Start.")) {
  616. case 1:
  617. mes "[Pierrot Pier]";
  618. mes "Let me know when you are ready.";
  619. close;
  620. case 2:
  621. mes "[Pierrot Pier]";
  622. mes "Alright! Let us begin!";
  623. next;
  624. mes "[Pierrot Pier]";
  625. mes "Ladies, and gentlemen.";
  626. mapannounce "arug_que01", "Pierrot Pier: Ladies, and gentlemen.",bc_map,"0x99CC00";
  627. next;
  628. mes "[Pierrot Pier]";
  629. mes "Who will find the treasure map in this white world?";
  630. mapannounce "arug_que01", "Pierrot Pier: Who will find the treasure map in this white world?",bc_map,"0x99CC00";
  631. next;
  632. mes "[Pierrot Pier]";
  633. mes "Amongst all of you, who shall be the lucky one?";
  634. mapannounce "arug_que01", "Pierrot Pier: Amongst all of you, who shall be the lucky one?",bc_map,"0x99CC00";
  635. next;
  636. mes "[Pierrot Pier]";
  637. mes "Let the game.. Begin!";
  638. mapannounce "arug_que01", "Pierrot Pier: Let the game.. Begin!",bc_map,"0x99CC00";
  639. set $@gdeventv_a2,1;
  640. donpcevent "Controller#gdevent_a::Ongame_start";
  641. erasequest 2143;
  642. close;
  643. }
  644. }
  645. }
  646. else if ($@gdeventv_a2 == 1) {
  647. mes "[Pierrot Pier]";
  648. mes "Did you find the treasure map?";
  649. mes "Show me what you have in your hands! Beep, beep!";
  650. next;
  651. mes "[Pierrot Pier]";
  652. mes "Let me see...";
  653. next;
  654. if (countitem(6031) > 0) {
  655. donpcevent "Controller#gdevent_a::Onstop";
  656. set $@gdeventv_a2,3;
  657. donpcevent "eff_mvp#aru_gd::Onmvp";
  658. mes "[Pierrot Pier]";
  659. mes "Wow~~!!";
  660. mes "Success~!!";
  661. mes "What a success~!!";
  662. mapannounce "arug_que01", "Pierrot Pier: Wow~~!! Success~!! What a success~!!",bc_map,"0x99CC00";
  663. delitem 6031,1; //Glitering_PaperB
  664. close;
  665. }
  666. else {
  667. if (countitem(6030) > 0) {
  668. mes "[Pierrot Pier]";
  669. mes "Ahh, what a shame, it seems like you haven't found the treasure map yet.";
  670. mes "Quickly! Your time is running out! Hurry up!";
  671. close;
  672. }
  673. else {
  674. mes "[Pierrot Pier]";
  675. mes "I don't see anything. Have you even started yet? Beep?";
  676. mes "Hehe, while you're talking to me, the time is slowly ticking away~";
  677. close;
  678. }
  679. }
  680. }
  681. else if ($@gdeventv_a2 == 2) {
  682. mes "[Pierrot Pier]";
  683. mes "Wah, why is it like this~!!";
  684. mes "Not enough? But this makes the game fun, no? Hahaha!";
  685. next;
  686. mes "[Pierrot Pier]";
  687. mes "What did you think?";
  688. next;
  689. switch(select("It was pretty hard.:I should've been successful...")) {
  690. case 1:
  691. mes "[Pierrot Pier]";
  692. mes "It's like trying to find a needle in a haystack!";
  693. mes "It's hard, but if you find it, it's worth ten times the effort. Beep, beep.";
  694. next;
  695. break;
  696. case 2:
  697. mes "[Pierrot Pier]";
  698. mes "Aaah~! Time is gold.";
  699. mes "Precious time goes by so fast.";
  700. next;
  701. break;
  702. }
  703. mes "[Pierrot Pier]";
  704. mes "I, Pierrot Piere, am not a heartless clown! Beep beep.";
  705. mapannounce "arug_que01", "Pierrot Pier: I, Pierrot Piere, am not a heartless clown! Beep beep.",bc_map,"0x99CC00";
  706. next;
  707. mes "[Pierrot Pier]";
  708. mes "Your success is my happiness!";
  709. mes "I'll give you one more chance. How's that? Beep?";
  710. mapannounce "arug_que01", "Pierrot Pier: I'll give you one more chance. How's that? Beep?",bc_map,"0x99CC00";
  711. next;
  712. mes "[Pierrot Pier]";
  713. mes "Okay, I'm ready to begin.";
  714. mes "Shall we start? Beep, beep?";
  715. mapannounce "arug_que01", "Pierrot Pier: Okay, I'm ready to begin. Shall we start? Beep, beep?",bc_map,"0x99CC00";
  716. next;
  717. switch(select("No.:Start.")) {
  718. case 1:
  719. mes "[Pierrot Pier]";
  720. mes "Let me know when you are ready.";
  721. close;
  722. case 2:
  723. mes "[Pierrot Pier]";
  724. mes "Alright! Let us begin!";
  725. next;
  726. mes "[Pierrot Pier]";
  727. mes "Ladies, and gentlemen.";
  728. mapannounce "arug_que01", "Pierrot Pier: Ladies, and gentlemen.",bc_map,"0x99CC00";
  729. next;
  730. mes "[Pierrot Pier]";
  731. mes "Who will find the treasure map in this white world?";
  732. mapannounce "arug_que01", "Pierrot Pier: Who will find the treasure map in this white world?",bc_map,"0x99CC00";
  733. next;
  734. mes "[Pierrot Pier]";
  735. mes "Amongst all of you, who shall be the lucky one?";
  736. mapannounce "arug_que01", "Pierrot Pier: Amongst all of you, who shall be the lucky one?",bc_map,"0x99CC00";
  737. next;
  738. mes "[Pierrot Pier]";
  739. mes "Let the game.. Begin!";
  740. mapannounce "arug_que01", "Pierrot Pier: Let the game.. Begin!",bc_map,"0x99CC00";
  741. set $@gdeventv_a2,10;
  742. donpcevent "Controller#gdevent_a::Ongame_start";
  743. close;
  744. }
  745. }
  746. else if ($@gdeventv_a2 == 3) {
  747. set .@que_2143,checkquest(2143);
  748. if (.@que_2143 == 3) {
  749. erasequest 2143;
  750. }
  751. mes "[Pierrot Pier]";
  752. mes "How did you do it?";
  753. mapannounce "arug_que01", "Pierrot Pier: How did you do it?",bc_map,"0x99CC00";
  754. next;
  755. mes "[Pierrot Pier]";
  756. mes "You managed to find a needle in a haystack!";
  757. mes "Amazing!";
  758. mapannounce "arug_que01", "Pierrot Pier: You managed to find a needle in a haystack! Amazing!!",bc_map,"0x99CC00";
  759. next;
  760. mes "[Pierrot Pier]";
  761. mes "You've completeled an unbelievable task, I will give you the wonderful gift master has prepared!! Ha!";
  762. mapannounce "arug_que01", "Pierrot Pier: You've completeled an unbelievable task, I will give you the wonderful gift my master has prepared!! Ha!",bc_map,"0x99CC00";
  763. mapannounce "arug_que01", "Pierrot Pier: Here, take Pierre's Treasure Boxes.",bc_map,"0x99CC00";
  764. donpcevent "eff_mvp#aru_gd::Onmvp";
  765. set $@gdeventv_a2,5;
  766. getitem 14596,10; //Pierre_Treasurebox
  767. close;
  768. }
  769. else if ($@gdeventv_a2 == 4) {
  770. mes "[Pierrot Pier]";
  771. mes "Incredible! Unbelievable! Beep beep!";
  772. close;
  773. }
  774. else if ($@gdeventv_a2 == 5) {
  775. mapannounce "arug_que01", "Pierrot Pier: Seeing your smiles, makes Pierrot feel very happy~ See you next time!",bc_map,"0x99CC00";
  776. mes "[Pierrot Pier]";
  777. mes "Did you have fun?";
  778. next;
  779. mes "[Pierrot Pier]";
  780. mes "Seeing your smiles, makes Pierrot feel very happy~";
  781. next;
  782. mes "[Pierrot Pier]";
  783. mes "I hope to see you again very soon, I must go back to being a doll now.";
  784. mes "See you next time!";
  785. erasequest 2144;
  786. close;
  787. }
  788. else {
  789. mes "[Pierrot Pier]";
  790. mes "Did you find the treasure map?";
  791. mes "Show me what you have in your hands! Beep, beep!";
  792. next;
  793. mes "[Pierrot Pier]";
  794. mes "Let me see.";
  795. next;
  796. if (countitem(6031) > 0) {
  797. donpcevent "Controller#gdevent_a::Onstop";
  798. set $@gdeventv_a2,3;
  799. donpcevent "eff_mvp#aru_gd::Onmvp";
  800. mes "[Pierrot Pier]";
  801. mes "Wow~~!!";
  802. mes "Success~!!";
  803. mes "What a success~!!";
  804. delitem 6031,1; //Glitering_PaperB
  805. close;
  806. }
  807. else {
  808. if (countitem(6030) > 0) {
  809. mes "[Pierrot Pier]";
  810. mes "Ahh, what a shame, it seems like you haven't found the treasure map yet.";
  811. mes "Quickly! Your time is running out! Hurry up!";
  812. close;
  813. }
  814. else {
  815. mes "[Pierrot Pier]";
  816. mes "I don't see anything. Have you even started yet? Beep?";
  817. mes "Hehe, while you're talking to me, the time is slowly ticking away~";
  818. close;
  819. }
  820. }
  821. }
  822. }
  823. else {
  824. if ($@gdeventv_a2 == 0) {
  825. setnpcdisplay "Pierrot Pier#aru_gd",715;
  826. mes "A lonely clown is juggling.";
  827. next;
  828. mes "When looked at closely, the clown is just a puppet that looks like a human.";
  829. next;
  830. mes "The clown stops, then starts moving in accordance to your movements, noises start to emit from it's mouth.";
  831. next;
  832. mes "[Pierrot Pier]";
  833. mes "Beep beep beep.";
  834. mes "Hello, my friends!";
  835. mapannounce "arug_que01", "Pierrot Pier: Beep beep beep! Hello, my friends!",bc_map,"0x99CC00";
  836. next;
  837. mes "[Pierrot Pier]";
  838. mes "I am the loyal servant of Gergath, and I have finally received my orders.";
  839. mes "I am happy to hear all the laughter, but without my master's permission, I can't do anything.";
  840. mapannounce "arug_que01", "Pierrot Pier: I am happy to hear all the laughter, but without my master's permission, I can't do anything.",bc_map,"0x99CC00";
  841. next;
  842. mes "[Pierrot Pier]";
  843. mes "Did you get permission from the Gergath?";
  844. mapannounce "arug_que01", "Pierrot Pier: Did you get permission from Gergath?",bc_map,"0x99CC00";
  845. next;
  846. switch(select("I need to check that.:No.")) {
  847. case 1:
  848. mes "[Pierrot Pier]";
  849. mes "Please give me the palm of your hand.";
  850. mapannounce "arug_que01", "Pierrot Pier: Please give me the palm of your hand.",bc_map,"0x99CC00";
  851. next;
  852. mes "[Pierrot Pier]";
  853. mes "Let me see...";
  854. mapannounce "arug_que01", "Pierrot Pier: Let me see...",bc_map,"0x99CC00";
  855. next;
  856. emotion e_dots;
  857. mes "[Pierrot Pier]";
  858. mes "Hm...";
  859. mapannounce "arug_que01", "Pierrot Pier: Hm...",bc_map,"0x99CC00";
  860. next;
  861. emotion e_dots;
  862. mes "[Pierrot Pier]";
  863. mes "Okay, I see...";
  864. mapannounce "arug_que01", "Pierrot Pier: Okay, I see...",bc_map,"0x99CC00";
  865. next;
  866. emotion e_dots;
  867. mes "[Pierrot Pier]";
  868. mes "Indeed...";
  869. mapannounce "arug_que01", "Pierrot Pier: Indeed...",bc_map,"0x99CC00";
  870. next;
  871. emotion e_bzz;
  872. mes "[Pierrot Pier]";
  873. mes "Verification completed!";
  874. mapannounce "arug_que01", "Pierrot Pier: Verification completed!",bc_map,"0x99CC00";
  875. next;
  876. break;
  877. case 2:
  878. mes "[Pierrot Pier]";
  879. mes "Hm? that's right.";
  880. mes "When is that person coming? I am very bored~!";
  881. close;
  882. }
  883. emotion 18;
  884. mes "[Pierrot Pier]";
  885. mes "^3131FF<Although you're a weirdo, you seem to be very dedicated>^000000. Beep beep.";
  886. next;
  887. emotion e_swt2;
  888. mes "[Pierrot Pier]";
  889. mes "Hm? You don't think so?";
  890. next;
  891. mes "[Pierrot Pier]";
  892. mes "The one my lord appointed is ^3131FF< someone who leads many people >^000000. Beep.";
  893. next;
  894. mes "[Pierrot Pier]";
  895. mes "Pierrot wants to be someone like that, too. Beep.";
  896. close;
  897. }
  898. else if ($@gdeventv_a2 == 1) {
  899. mes "[Pierrot Pier]";
  900. mes "Did you find the treasure map?";
  901. mes "Show me what you have in your hands! Beep, beep!";
  902. next;
  903. mes "[Pierrot Pier]";
  904. mes "Let me see...";
  905. next;
  906. if (countitem(6031) > 0) {
  907. donpcevent "Controller#gdevent_a::Onstop";
  908. set $@gdeventv_a2,3;
  909. donpcevent "eff_mvp#aru_gd::Onmvp";
  910. mes "[Pierrot Pier]";
  911. mes "Wow~~!!";
  912. mes "Success~!!";
  913. mes "What a success~!!";
  914. mapannounce "arug_que01", "Pierrot Pier: Wow~~!! Success~!! What a success~!!",bc_map,"0x99CC00";
  915. delitem 6031,1; //Glitering_PaperB
  916. close;
  917. }
  918. else {
  919. if (countitem(6030) > 0) {
  920. mes "[Pierrot Pier]";
  921. mes "Ahh, what a shame, it seems like you haven't found the treasure map yet.";
  922. mes "Quickly! Your time is running out! Hurry up!";
  923. close;
  924. }
  925. else {
  926. mes "[Pierrot Pier]";
  927. mes "I don't see anything. Have you even started yet? Beep?";
  928. mes "Hehe, while you're talking to me, the time is slowly ticking away~";
  929. close;
  930. }
  931. }
  932. }
  933. else if ($@gdeventv_a2 == 2) {
  934. mes "[Pierrot Pier]";
  935. mes "Wah, why is it like this~!!";
  936. mes "Not enough? But this makes the game fun, no? Hahaha!";
  937. close;
  938. }
  939. else if ($@gdeventv_a2 == 3) {
  940. mes "[Pierrot Pier]";
  941. mes "Congratulations, you have succeeded!";
  942. mes "I will talk to your leader about other details.";
  943. close;
  944. }
  945. else if ($@gdeventv_a2 == 4) {
  946. mes "[Pierrot Pier]";
  947. mes "Incredible! Unbelievable! Beep beep!";
  948. close;
  949. }
  950. else if ($@gdeventv_a2 == 5) {
  951. mes "[Pierrot Pier]";
  952. mes "Did you have fun?";
  953. next;
  954. mes "[Pierrot Pier]";
  955. mes "Seeing your smiles, makes Pierrot feel very happy~";
  956. next;
  957. mes "[Pierrot Pier]";
  958. mes "I hope to see you again very soon, I must go back to being a doll now.";
  959. mes "See you next time!";
  960. close;
  961. }
  962. else {
  963. mes "[Pierrot Pier]";
  964. mes "Você encontrou o tesouro?";
  965. mes "Mostre-me o que você tem nas mãos agora.";
  966. next;
  967. mes "[Pierrot Pier]";
  968. mes "Deixe-me ver...";
  969. next;
  970. if (countitem(6031) > 0) {
  971. donpcevent "Controller#gdevent_a::Onstop";
  972. set $@gdeventv_a2,3;
  973. donpcevent "eff_mvp#aru_gd::Onmvp";
  974. mes "[Pierrot Pier]";
  975. mes "Wow~~!!";
  976. mes "Success~!!";
  977. mes "What a success~!!";
  978. delitem 6031,1; //Glitering_PaperB
  979. close;
  980. }
  981. else {
  982. if (countitem(6030) > 0) {
  983. mes "[Pierrot Pier]";
  984. mes "Ahh, what a shame, it seems like you haven't found the treasure map yet.";
  985. mes "Quickly! Your time is running out! Hurry up!";
  986. close;
  987. }
  988. else {
  989. mes "[Pierrot Pier]";
  990. mes "I don't see anything. Have you even started yet? Beep?";
  991. mes "Hehe, while you're talking to me, the time is slowly ticking away~";
  992. close;
  993. }
  994. }
  995. }
  996. }
  997. }
  998. arug_que01,10,10,3 script Controller#gdevent_a 81,{
  999. OnInit:
  1000. set $@gdeventv_a2,0;
  1001. end;
  1002. Onwin:
  1003. donpcevent "treg#aru_gd::OnEnable";
  1004. end;
  1005. Ongame_start:
  1006. initnpctimer;
  1007. donpcevent "paper_sp_1_a::OnEnable";
  1008. donpcevent "paper_sp_2_a::OnEnable";
  1009. donpcevent "paper_sp_3_a::OnEnable";
  1010. donpcevent "paper_sp_4_a::OnEnable";
  1011. donpcevent "paper_sp_5_a::OnEnable";
  1012. donpcevent "paper_sp_6_a::OnEnable";
  1013. donpcevent "paper_sp_7_a::OnEnable";
  1014. donpcevent "paper_sp_8_a::OnEnable";
  1015. donpcevent "paper_sp_9_a::OnEnable";
  1016. set .@roulette_where,rand(1,9);
  1017. if (.@roulette_where == 1) {
  1018. donpcevent "paper_sp_1_a::Onbingo";
  1019. }
  1020. else if (.@roulette_where == 2) {
  1021. donpcevent "paper_sp_2_a::Onbingo";
  1022. }
  1023. else if (.@roulette_where == 3) {
  1024. donpcevent "paper_sp_3_a::Onbingo";
  1025. }
  1026. else if (.@roulette_where == 4) {
  1027. donpcevent "paper_sp_4_a::Onbingo";
  1028. }
  1029. else if (.@roulette_where == 5) {
  1030. donpcevent "paper_sp_5_a::Onbingo";
  1031. }
  1032. else if (.@roulette_where == 6) {
  1033. donpcevent "paper_sp_6_a::Onbingo";
  1034. }
  1035. else if (.@roulette_where == 7) {
  1036. donpcevent "paper_sp_7_a::Onbingo";
  1037. }
  1038. else if (.@roulette_where == 8) {
  1039. donpcevent "paper_sp_8_a::Onbingo";
  1040. }
  1041. else {
  1042. donpcevent "paper_sp_9_a::Onbingo";
  1043. }
  1044. end;
  1045. Onstop:
  1046. stopnpctimer;
  1047. end;
  1048. OnTimer40000:
  1049. mapannounce "arug_que01", "Pierrot Pier: Time is running out, hurry up!",bc_map,"0x99CC00";
  1050. end;
  1051. OnTimer60000:
  1052. mapannounce "arug_que01", "Pierrot Pier: Time is up!",bc_map,"0x99CC00";
  1053. mapwarp "arug_que01","arug_que01",100,79;
  1054. enablenpc "removepp_aru_gd";
  1055. set $@gdeventv_a2,2;
  1056. end;
  1057. OnTimer63000:
  1058. stopnpctimer;
  1059. end;
  1060. }
  1061. arug_que01,87,93,0 script paper_sp_1_a 139,{
  1062. end;
  1063. OnEnable:
  1064. set .@paper_while1,0;
  1065. while(1) {
  1066. if (.@paper_while1 == 100) {
  1067. break;
  1068. }
  1069. else {
  1070. set .@paper_while1,.@paper_while1+1;
  1071. set .@paper_x1,rand(81,95);
  1072. set .@paper_y1,rand(87,100);
  1073. makeitem 6030,1,"arug_que01",.@paper_x1,.@paper_y1; //Glitering_PaperA
  1074. }
  1075. }
  1076. end;
  1077. Onbingo:
  1078. set .@paper_x1,rand(81,95);
  1079. set .@paper_y1,rand(87,100);
  1080. makeitem 6031,1,"arug_que01",.@paper_x1,.@paper_y1; //Glitering_PaperB
  1081. end;
  1082. }
  1083. arug_que01,102,93,0 script paper_sp_2_a 139,{
  1084. end;
  1085. OnEnable:
  1086. set .@paper_while2,0;
  1087. while(1) {
  1088. if (.@paper_while2 == 100) {
  1089. break;
  1090. }
  1091. else {
  1092. set .@paper_while2,.@paper_while2+1;
  1093. set .@paper_x2,rand(96,110);
  1094. set .@paper_y2,rand(87,100);
  1095. makeitem 6030,1,"arug_que01",.@paper_x2,.@paper_y2; //Glitering_PaperA
  1096. }
  1097. }
  1098. end;
  1099. Onbingo:
  1100. set .@paper_x2,rand(96,110);
  1101. set .@paper_y2,rand(87,100);
  1102. makeitem 6031,1,"arug_que01",.@paper_x2,.@paper_y2; //Glitering_PaperB
  1103. end;
  1104. }
  1105. arug_que01,117,93,0 script paper_sp_3_a 139,{
  1106. end;
  1107. OnEnable:
  1108. set .@paper_while3,0;
  1109. while(1) {
  1110. if (.@paper_while3 == 100) {
  1111. break;
  1112. }
  1113. else {
  1114. set .@paper_while3,.@paper_while3+1;
  1115. set .@paper_x3,rand(111,124);
  1116. set .@paper_y3,rand(87,100);
  1117. makeitem 6030,1,"arug_que01",.@paper_x3,.@paper_y3; //Glitering_PaperA
  1118. }
  1119. }
  1120. end;
  1121. Onbingo:
  1122. set .@paper_x3,rand(111,124);
  1123. set .@paper_y3,rand(87,100);
  1124. makeitem 6031,1,"arug_que01",.@paper_x3,.@paper_y3; //Glitering_PaperB
  1125. end;
  1126. }
  1127. arug_que01,87,80,0 script paper_sp_4_a 139,{
  1128. end;
  1129. OnEnable:
  1130. set .@paper_while4,0;
  1131. while(1) {
  1132. if (.@paper_while4 == 100) {
  1133. break;
  1134. }
  1135. else {
  1136. set .@paper_while4,.@paper_while4+1;
  1137. set .@paper_x4,rand(81,95);
  1138. set .@paper_y4,rand(73,86);
  1139. makeitem 6030,1,"arug_que01",.@paper_x4,.@paper_y4; //Glitering_PaperA
  1140. }
  1141. }
  1142. end;
  1143. Onbingo:
  1144. set .@paper_x4,rand(81,95);
  1145. set .@paper_y4,rand(73,86);
  1146. makeitem 6031,1,"arug_que01",.@paper_x4,.@paper_y4; //Glitering_PaperB
  1147. end;
  1148. }
  1149. arug_que01,102,80,0 script paper_sp_5_a 139,{
  1150. end;
  1151. OnEnable:
  1152. set .@paper_while5,0;
  1153. while(1) {
  1154. if (.@paper_while5 == 100) {
  1155. break;
  1156. }
  1157. else {
  1158. set .@paper_while5,.@paper_while5+1;
  1159. set .@paper_x5,rand(96,110);
  1160. set .@paper_y5,rand(73,86);
  1161. makeitem 6030,1,"arug_que01",.@paper_x5,.@paper_y5; //Glitering_PaperA
  1162. }
  1163. }
  1164. end;
  1165. Onbingo:
  1166. set .@paper_x5,rand(96,110);
  1167. set .@paper_y5,rand(73,86);
  1168. makeitem 6031,1,"arug_que01",.@paper_x5,.@paper_y5; //Glitering_PaperB
  1169. end;
  1170. }
  1171. arug_que01,117,80,0 script paper_sp_6_a 139,{
  1172. end;
  1173. OnEnable:
  1174. set .@paper_while6,0;
  1175. while(1) {
  1176. if (.@paper_while6 == 100) {
  1177. break;
  1178. }
  1179. else {
  1180. set .@paper_while6,.@paper_while6+1;
  1181. set .@paper_x6,rand(111,124);
  1182. set .@paper_y6,rand(73,86);
  1183. makeitem 6030,1,"arug_que01",.@paper_x6,.@paper_y6; //Glitering_PaperA
  1184. }
  1185. }
  1186. end;
  1187. Onbingo:
  1188. set .@paper_x6,rand(111,124);
  1189. set .@paper_y6,rand(73,86);
  1190. makeitem 6031,1,"arug_que01",.@paper_x6,.@paper_y6; //Glitering_PaperB
  1191. end;
  1192. }
  1193. arug_que01,87,65,0 script paper_sp_7_a 139,{
  1194. end;
  1195. OnEnable:
  1196. set .@paper_while7,0;
  1197. while(1) {
  1198. if (.@paper_while7 == 100) {
  1199. break;
  1200. }
  1201. else {
  1202. set .@paper_while7,.@paper_while7+1;
  1203. set .@paper_x7,rand(81,95);
  1204. set .@paper_y7,rand(59,72);
  1205. makeitem 6030,1,"arug_que01",.@paper_x7,.@paper_y7; //Glitering_PaperA
  1206. }
  1207. }
  1208. end;
  1209. Onbingo:
  1210. set .@paper_x7,rand(81,95);
  1211. set .@paper_y7,rand(59,72);
  1212. makeitem 6031,1,"arug_que01",.@paper_x7,.@paper_y7; //Glitering_PaperB
  1213. end;
  1214. }
  1215. arug_que01,102,65,0 script paper_sp_8_a 139,{
  1216. end;
  1217. OnEnable:
  1218. set .@paper_while8,0;
  1219. while(1) {
  1220. if (.@paper_while8 == 100) {
  1221. break;
  1222. }
  1223. else {
  1224. set .@paper_while8,.@paper_while8+1;
  1225. set .@paper_x8,rand(96,110);
  1226. set .@paper_y8,rand(59,72);
  1227. makeitem 6030,1,"arug_que01",.@paper_x8,.@paper_y8; //Glitering_PaperA
  1228. }
  1229. }
  1230. end;
  1231. Onbingo:
  1232. set .@paper_x8,rand(96,110);
  1233. set .@paper_y8,rand(59,72);
  1234. makeitem 6031,1,"arug_que01",.@paper_x8,.@paper_y8; //Glitering_PaperB
  1235. end;
  1236. }
  1237. arug_que01,117,65,0 script paper_sp_9_a 139,{
  1238. end;
  1239. OnEnable:
  1240. set .@paper_while9,0;
  1241. while(1) {
  1242. if (.@paper_while9 == 100) {
  1243. break;
  1244. }
  1245. else {
  1246. set .@paper_while9,.@paper_while9+1;
  1247. set .@paper_x9,rand(111,124);
  1248. set .@paper_y9,rand(59,72);
  1249. makeitem 6030,1,"arug_que01",.@paper_x9,.@paper_y9; //Glitering_PaperA
  1250. }
  1251. }
  1252. end;
  1253. Onbingo:
  1254. set .@paper_x9,rand(111,124);
  1255. set .@paper_y9,rand(59,72);
  1256. makeitem 6031,1,"arug_que01",.@paper_x9,.@paper_y9; //Glitering_PaperB
  1257. end;
  1258. }
  1259. arug_que01,100,80,0 script removepp_aru_gd -1,5,5,{
  1260. end;
  1261. OnInit:
  1262. disablenpc "removepp_aru_gd";
  1263. end;
  1264. OnTouch2:
  1265. set .@paper_aru_gd,countitem(6030);
  1266. set .@spaper_aru_gd,countitem(6031);
  1267. if ((.@paper_aru_gd > 0) || (.@spaper_aru_gd > 0)) {
  1268. delitem 6030,.@paper_aru_gd; //Glitering_PaperA
  1269. delitem 6031,.@spaper_aru_gd; //Glitering_PaperB
  1270. }
  1271. end;
  1272. }
  1273. arug_que01,6,6,1 script eff_mvp#aru_gd 844,{
  1274. end;
  1275. Onmvp:
  1276. initnpctimer;
  1277. end;
  1278. OnTimer1000:
  1279. specialeffect EF_MVP,AREA,"paper_sp_1_a";
  1280. specialeffect EF_MVP,AREA,"paper_sp_3_a";
  1281. specialeffect EF_MVP,AREA,"paper_sp_5_a";
  1282. specialeffect EF_MVP,AREA,"paper_sp_7_a";
  1283. specialeffect EF_MVP,AREA,"paper_sp_9_a";
  1284. end;
  1285. OnTimer2000:
  1286. specialeffect EF_MVP,AREA,"paper_sp_2_a";
  1287. specialeffect EF_MVP,AREA,"paper_sp_4_a";
  1288. specialeffect EF_MVP,AREA,"paper_sp_6_a";
  1289. specialeffect EF_MVP,AREA,"paper_sp_8_a";
  1290. end;
  1291. OnTimer3000:
  1292. specialeffect EF_MVP,AREA,"paper_sp_1_a";
  1293. specialeffect EF_MVP,AREA,"paper_sp_3_a";
  1294. specialeffect EF_MVP,AREA,"paper_sp_5_a";
  1295. specialeffect EF_MVP,AREA,"paper_sp_7_a";
  1296. specialeffect EF_MVP,AREA,"paper_sp_9_a";
  1297. end;
  1298. OnTimer4000:
  1299. specialeffect EF_MVP,AREA,"paper_sp_2_a";
  1300. specialeffect EF_MVP,AREA,"paper_sp_4_a";
  1301. specialeffect EF_MVP,AREA,"paper_sp_6_a";
  1302. specialeffect EF_MVP,AREA,"paper_sp_8_a";
  1303. stopnpctimer;
  1304. end;
  1305. }
  1306. arug_que01,100,75,5 script Gergath#aru_gd 412,{
  1307. end;
  1308. OnInit:
  1309. disablenpc "Gergath#aru_gd";
  1310. end;
  1311. OnEnable:
  1312. enablenpc "Gergath#aru_gd";
  1313. specialeffect EF_FORESTLIGHT;
  1314. initnpctimer;
  1315. end;
  1316. OnTimer5000:
  1317. mapannounce "arug_que01", "Gergath : My dear friend, how have you been? This is something I prepared for you.",bc_map,"0xFFFF00";
  1318. end;
  1319. OnTimer10000:
  1320. mapannounce "arug_que01", "Gergath : Do you still remember when we were young? We fought everyday like we were sworn enemies.",bc_map,"0xFFFF00";
  1321. end;
  1322. OnTimer15000:
  1323. mapannounce "arug_que01", "Gergath : No matter how hard the adults tried, we had no intentions to change. Haha.",bc_map,"0xFFFF00";
  1324. end;
  1325. OnTimer20000:
  1326. mapannounce "arug_que01", "Gergath : But I believe that deep inside, we valued our friendship with each other.",bc_map,"0xFFFF00";
  1327. end;
  1328. OnTimer25000:
  1329. mapannounce "arug_que01", "Gergath : After I lost my mother's remnants in Mt. Mjolnir, you came to find me.",bc_map,"0xFFFF00";
  1330. end;
  1331. OnTimer30000:
  1332. mapannounce "arug_que01", "Gergath : When you, handed me my mother's remnants, I couldn't even say thank you.",bc_map,"0xFFFF00";
  1333. end;
  1334. OnTimer35000:
  1335. mapannounce "arug_que01", "Gergath : I couldn't say it even as I became an old man.",bc_map,"0xFFFF00";
  1336. end;
  1337. OnTimer40000:
  1338. mapannounce "arug_que01", "Gergath : I found out about your whereabouts not long ago. I heard you were taking care of orphaned children?",bc_map,"0xFFFF00";
  1339. end;
  1340. OnTimer45000:
  1341. mapannounce "arug_que01", "Gergath : Please accept this as a gift from a useless friend to you and your beloved children. I hope you will like it, haha.",bc_map,"0xFFFF00";
  1342. end;
  1343. OnTimer50000:
  1344. mapannounce "arug_que01", "Gergath : Pierrot Pier will help you. I hope you can use this chance to return to the past and enjoy yourself with your children.",bc_map,"0xFFFF00";
  1345. disablenpc "Gergath#aru_gd";
  1346. stopnpctimer;
  1347. end;
  1348. }
  1349. arug_que01,104,140,0 warp back#aru_gd 1,1,arug_dun01,199,192
  1350. /*
  1351. arug_que01,104,140,1 script treg#aru_gd 844,{
  1352. end;
  1353. OnEnable:
  1354. monster "arug_que01",87,93,"Poporing",1031,1,"treg#aru_gd::OnMyMobDead";
  1355. monster "arug_que01",102,93,"Poporing",1031,1,"treg#aru_gd::OnMyMobDead";
  1356. monster "arug_que01",117,93,"Poporing",1031,1,"treg#aru_gd::OnMyMobDead";
  1357. monster "arug_que01",87,80,"Poporing",1031,1,"treg#aru_gd::OnMyMobDead";
  1358. monster "arug_que01",102,80,"Poporing",1031,1,"treg#aru_gd::OnMyMobDead";
  1359. monster "arug_que01",117,80,"Poporing",1031,1,"treg#aru_gd::OnMyMobDead";
  1360. monster "arug_que01",87,65,"Poporing",1031,1,"treg#aru_gd::OnMyMobDead";
  1361. monster "arug_que01",102,65,"Poporing",1031,1,"treg#aru_gd::OnMyMobDead";
  1362. monster "arug_que01",117,65,"Poporing",1031,1,"treg#aru_gd::OnMyMobDead";
  1363. end;
  1364. OnMyMobDead:
  1365. if (mobcount("arug_que01","treg#aru_gd::OnMyMobDead") == 0) {
  1366. mapannounce "arug_que01", "Pierrot Pier: Beep! Oh, you already opened the gift? You sure are fast now, beep!",bc_map,"0x99CC00";
  1367. set $@gdeventv_a2,5;
  1368. }
  1369. end;
  1370. }
  1371. */
  1372. arug_que01,98,105,3 script #aru_flower_01::GD_Ev_Flower 978,{
  1373. end;
  1374. }
  1375. arug_que01,94,105,3 duplicate(GD_Ev_Flower) #aru_flower_02 977
  1376. arug_que01,90,105,3 duplicate(GD_Ev_Flower) #aru_flower_03 978
  1377. arug_que01,86,105,3 duplicate(GD_Ev_Flower) #aru_flower_04 977
  1378. arug_que01,82,105,3 duplicate(GD_Ev_Flower) #aru_flower_05 978
  1379. arug_que01,79,103,3 duplicate(GD_Ev_Flower) #aru_flower_06 977
  1380. arug_que01,79,100,3 duplicate(GD_Ev_Flower) #aru_flower_07 978
  1381. arug_que01,79,97,3 duplicate(GD_Ev_Flower) #aru_flower_08 977
  1382. arug_que01,79,97,3 duplicate(GD_Ev_Flower) #aru_flower_09 978
  1383. arug_que01,79,94,3 duplicate(GD_Ev_Flower) #aru_flower_10 977
  1384. arug_que01,79,91,3 duplicate(GD_Ev_Flower) #aru_flower_11 978
  1385. arug_que01,79,88,3 duplicate(GD_Ev_Flower) #aru_flower_12 977
  1386. arug_que01,79,85,3 duplicate(GD_Ev_Flower) #aru_flower_13 978
  1387. arug_que01,79,82,3 duplicate(GD_Ev_Flower) #aru_flower_14 977
  1388. arug_que01,79,79,3 duplicate(GD_Ev_Flower) #aru_flower_15 978
  1389. arug_que01,79,76,3 duplicate(GD_Ev_Flower) #aru_flower_16 977
  1390. arug_que01,79,73,3 duplicate(GD_Ev_Flower) #aru_flower_17 978
  1391. arug_que01,79,70,3 duplicate(GD_Ev_Flower) #aru_flower_18 977
  1392. arug_que01,79,67,3 duplicate(GD_Ev_Flower) #aru_flower_19 978
  1393. arug_que01,79,64,3 duplicate(GD_Ev_Flower) #aru_flower_20 977
  1394. arug_que01,79,61,3 duplicate(GD_Ev_Flower) #aru_flower_21 978
  1395. arug_que01,79,58,3 duplicate(GD_Ev_Flower) #aru_flower_22 977
  1396. arug_que01,84,58,3 duplicate(GD_Ev_Flower) #aru_flower_23 978
  1397. arug_que01,89,58,3 duplicate(GD_Ev_Flower) #aru_flower_24 977
  1398. arug_que01,94,58,3 duplicate(GD_Ev_Flower) #aru_flower_25 978
  1399. arug_que01,99,58,3 duplicate(GD_Ev_Flower) #aru_flower_26 977
  1400. arug_que01,104,58,3 duplicate(GD_Ev_Flower) #aru_flower_27 978
  1401. arug_que01,109,58,3 duplicate(GD_Ev_Flower) #aru_flower_28 977
  1402. arug_que01,114,58,3 duplicate(GD_Ev_Flower) #aru_flower_29 978
  1403. arug_que01,119,58,3 duplicate(GD_Ev_Flower) #aru_flower_30 977
  1404. arug_que01,124,58,3 duplicate(GD_Ev_Flower) #aru_flower_31 978
  1405. arug_que01,129,58,3 duplicate(GD_Ev_Flower) #aru_flower_32 977
  1406. arug_que01,129,105,3 duplicate(GD_Ev_Flower) #aru_flower_33 978
  1407. arug_que01,129,103,3 duplicate(GD_Ev_Flower) #aru_flower_34 977
  1408. arug_que01,129,100,3 duplicate(GD_Ev_Flower) #aru_flower_35 978
  1409. arug_que01,129,97,3 duplicate(GD_Ev_Flower) #aru_flower_36 977
  1410. arug_que01,129,97,3 duplicate(GD_Ev_Flower) #aru_flower_37 978
  1411. arug_que01,129,94,3 duplicate(GD_Ev_Flower) #aru_flower_38 977
  1412. arug_que01,129,91,3 duplicate(GD_Ev_Flower) #aru_flower_39 978
  1413. arug_que01,129,88,3 duplicate(GD_Ev_Flower) #aru_flower_40 977
  1414. arug_que01,129,85,3 duplicate(GD_Ev_Flower) #aru_flower_41 978
  1415. arug_que01,129,82,3 duplicate(GD_Ev_Flower) #aru_flower_42 977
  1416. arug_que01,129,79,3 duplicate(GD_Ev_Flower) #aru_flower_43 978
  1417. arug_que01,129,76,3 duplicate(GD_Ev_Flower) #aru_flower_44 977
  1418. arug_que01,129,73,3 duplicate(GD_Ev_Flower) #aru_flower_45 978
  1419. arug_que01,129,70,3 duplicate(GD_Ev_Flower) #aru_flower_46 977
  1420. arug_que01,129,67,3 duplicate(GD_Ev_Flower) #aru_flower_47 978
  1421. arug_que01,129,64,3 duplicate(GD_Ev_Flower) #aru_flower_48 977
  1422. arug_que01,129,61,3 duplicate(GD_Ev_Flower) #aru_flower_49 978
  1423. arug_que01,129,58,3 duplicate(GD_Ev_Flower) #aru_flower_50 977
  1424. arug_que01,124,105,3 duplicate(GD_Ev_Flower) #aru_flower_51 978
  1425. arug_que01,119,105,3 duplicate(GD_Ev_Flower) #aru_flower_52 977
  1426. arug_que01,114,105,3 duplicate(GD_Ev_Flower) #aru_flower_53 978
  1427. arug_que01,109,105,3 duplicate(GD_Ev_Flower) #aru_flower_54 977
  1428. arug_que01,104,105,3 duplicate(GD_Ev_Flower) #aru_flower_55 976
  1429. /*
  1430. arug_dun01,5,5,1 script Event controller#aru_gd 81,{
  1431. input .@input; //,0,9999;
  1432. if (input == 1854) {
  1433. mes "How can I help you?";
  1434. next;
  1435. switch(select("Reset.:No, thanks.")) {
  1436. case 1:
  1437. mes "Completed.";
  1438. donpcevent "Monster Controler1#aru::OnControler1#aru_gd";
  1439. donpcevent "Monster Controler1#aru::OnControler1#aru_gd";
  1440. disablenpc "Dwarf#aru_gd";
  1441. set $@gdeventv_a1,0;
  1442. set $@gdeventv_a2,0;
  1443. set $@gdevents_a$,"";
  1444. close;
  1445. case 2:
  1446. mes "Good bye~";
  1447. close;
  1448. }
  1449. }
  1450. else {
  1451. mes "Incorrect password.";
  1452. close;
  1453. }
  1454. }
  1455. */