gdevent_sch.txt 47 KB

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