gdevent_aru.txt 48 KB

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