gdevent_aru.txt 48 KB

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