gdevent_sch.txt 48 KB

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