Advertisement
ProClifo

Untitled

Jun 8th, 2015
247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.74 KB | None | 0 0
  1. '---------------
  2. #org 0x2118F1
  3. lock
  4. faceplayer
  5. compare 0x40C4 0x2
  6. if 0x1 goto 0x8211A03
  7. compare 0x40C4 0x1
  8. if 0x1 goto 0x82119F9
  9. msgbox 0x8211F48 MSG_KEEPOPEN '"I've been trying to develop a devi..."
  10. checkitem 0x11E 0x1
  11. compare LASTRESULT 0x1
  12. if 0x1 goto 0x8211933
  13. checkitem 0x11F 0x1
  14. compare LASTRESULT 0x1
  15. if 0x1 goto 0x8211991
  16. release
  17. end
  18.  
  19. '---------------
  20. #org 0x211A03
  21. compare 0x40C5 0x1
  22. if 0x1 goto 0x8211A1A
  23. compare 0x40C5 0x2
  24. if 0x1 goto 0x8211A2C
  25. end
  26.  
  27. '---------------
  28. #org 0x2119F9
  29. msgbox 0x82121A2 MSG_KEEPOPEN '"The FOSSIL REGENERATOR, which I ma..."
  30. release
  31. end
  32.  
  33. '---------------
  34. #org 0x211933
  35. closeonkeypress
  36. sound 0x15
  37. applymovement 0x5 0x8272598
  38. waitmovement 0x0
  39. applymovement 0x5 0x827259A
  40. waitmovement 0x0
  41. msgbox 0x8211FA6 MSG_YESNO '"Wait! That thing you have there[.]..."
  42. compare LASTRESULT 0x0
  43. if 0x1 goto 0x82119EF
  44. checkitem 0x11F 0x1
  45. compare LASTRESULT 0x1
  46. if 0x1 goto 0x8211B84
  47. goto 0x8211974
  48.  
  49. '---------------
  50. #org 0x211991
  51. closeonkeypress
  52. sound 0x15
  53. applymovement 0x5 0x8272598
  54. waitmovement 0x0
  55. applymovement 0x5 0x827259A
  56. waitmovement 0x0
  57. msgbox 0x8211FA6 MSG_YESNO '"Wait! That thing you have there[.]..."
  58. compare LASTRESULT 0x0
  59. if 0x1 goto 0x82119EF
  60. checkitem 0x11E 0x1
  61. compare LASTRESULT 0x1
  62. if 0x1 goto 0x8211B84
  63. goto 0x82119D2
  64.  
  65. '---------------
  66. #org 0x211A1A
  67. bufferpokemon 0x1 0x184
  68. msgbox 0x8212251 MSG_KEEPOPEN '"Thanks for waiting!\pYour fossiliz..."
  69. goto 0x8211A3E
  70.  
  71. '---------------
  72. #org 0x211A2C
  73. bufferpokemon 0x1 0x186
  74. msgbox 0x8212251 MSG_KEEPOPEN '"Thanks for waiting!\pYour fossiliz..."
  75. goto 0x8211AE1
  76.  
  77. '---------------
  78. #org 0x2119EF
  79. msgbox 0x8212046 MSG_KEEPOPEN '"Oh, is that so?\pDEVON's technolog..."
  80. release
  81. end
  82.  
  83. '---------------
  84. #org 0x211B84
  85. preparemsg 0x8212092 '"Oh, now that's a surprise!\nYou ha..."
  86. waitmsg
  87. multichoice 0x11 0x6 0x5D 0x0
  88. copyvar 0x8000 LASTRESULT
  89. compare 0x8000 0x0
  90. if 0x1 goto 0x8211BC1
  91. compare 0x8000 0x1
  92. if 0x1 goto 0x8211BC7
  93. compare 0x8000 0x2
  94. if 0x1 goto 0x8211BCD
  95. compare 0x8000 0x7F
  96. if 0x1 goto 0x8211BCD
  97. end
  98.  
  99. '---------------
  100. #org 0x211974
  101. bufferitem 0x0 0x11E
  102. msgbox 0x8212153 MSG_KEEPOPEN '"Excellent!\nLet's do this right aw..."
  103. removeitem 0x11E 0x1
  104. setvar 0x40C4 0x1
  105. setvar 0x40C5 0x1
  106. release
  107. end
  108.  
  109. '---------------
  110. #org 0x2119D2
  111. bufferitem 0x0 0x11F
  112. msgbox 0x8212153 MSG_KEEPOPEN '"Excellent!\nLet's do this right aw..."
  113. removeitem 0x11F 0x1
  114. setvar 0x40C4 0x1
  115. setvar 0x40C5 0x2
  116. release
  117. end
  118.  
  119. '---------------
  120. #org 0x211A3E
  121. setvar 0x4001 0x184
  122. givepokemon 0x184 0x14 0x0 0x0 0x0 0x0
  123. compare LASTRESULT 0x0
  124. if 0x1 goto 0x8211A6E
  125. compare LASTRESULT 0x1
  126. if 0x1 goto 0x8211A96
  127. goto 0x8273811
  128.  
  129. '---------------
  130. #org 0x211AE1
  131. setvar 0x4001 0x186
  132. givepokemon 0x186 0x14 0x0 0x0 0x0 0x0
  133. compare LASTRESULT 0x0
  134. if 0x1 goto 0x8211B11
  135. compare LASTRESULT 0x1
  136. if 0x1 goto 0x8211B39
  137. goto 0x8273811
  138.  
  139. '---------------
  140. #org 0x211BC1
  141. goto 0x82119D2
  142.  
  143. '---------------
  144. #org 0x211BC7
  145. goto 0x8211974
  146.  
  147. '---------------
  148. #org 0x211BCD
  149. release
  150. end
  151.  
  152. '---------------
  153. #org 0x211A6E
  154. call 0x8211AC4
  155. msgbox 0x8273374 MSG_YESNO '"Do you want to give a nickname to\..."
  156. compare LASTRESULT 0x0
  157. if 0x1 goto 0x8211AD7
  158. call 0x827378B
  159. call 0x82723DD
  160. goto 0x8211AD7
  161.  
  162. '---------------
  163. #org 0x211A96
  164. call 0x8211AC4
  165. msgbox 0x8273374 MSG_YESNO '"Do you want to give a nickname to\..."
  166. compare LASTRESULT 0x0
  167. if 0x1 goto 0x8211AB9
  168. call 0x8273797
  169. goto 0x8211AB9
  170.  
  171. '---------------
  172. #org 0x273811
  173. msgbox 0x827331C MSG_KEEPOPEN '"There's no more room for POKéMON!\..."
  174. release
  175. end
  176.  
  177. '---------------
  178. #org 0x211B11
  179. call 0x8211B67
  180. msgbox 0x8273374 MSG_YESNO '"Do you want to give a nickname to\..."
  181. compare LASTRESULT 0x0
  182. if 0x1 goto 0x8211B7A
  183. call 0x827378B
  184. call 0x82723DD
  185. goto 0x8211B7A
  186.  
  187. '---------------
  188. #org 0x211B39
  189. call 0x8211B67
  190. msgbox 0x8273374 MSG_YESNO '"Do you want to give a nickname to\..."
  191. compare LASTRESULT 0x0
  192. if 0x1 goto 0x8211B5C
  193. call 0x8273797
  194. goto 0x8211B5C
  195.  
  196. '---------------
  197. #org 0x211AC4
  198. bufferpokemon 0x1 0x184
  199. fanfare 0x172
  200. preparemsg 0x82122CB '"[player] received [buffer2] from\n..."
  201. waitmsg
  202. waitfanfare
  203. bufferpokemon 0x0 0x184
  204. return
  205.  
  206. '---------------
  207. #org 0x211AD7
  208. setvar 0x40C4 0x0
  209. setflag 0x10B
  210. release
  211. end
  212.  
  213. '---------------
  214. #org 0x27378B
  215. countpokemon
  216. subvar LASTRESULT 0x1
  217. copyvar 0x8004 LASTRESULT
  218. return
  219.  
  220. '---------------
  221. #org 0x2723DD
  222. fadescreen 0x1
  223. special 0xA1
  224. waitstate
  225. return
  226.  
  227. '---------------
  228. #org 0x211AB9
  229. call 0x82737A0
  230. goto 0x8211AD7
  231.  
  232. '---------------
  233. #org 0x273797
  234. fadescreen 0x1
  235. special 0x1E6
  236. waitstate
  237. lock
  238. faceplayer
  239. return
  240.  
  241. '---------------
  242. #org 0x211B67
  243. bufferpokemon 0x1 0x186
  244. fanfare 0x172
  245. preparemsg 0x82122CB '"[player] received [buffer2] from\n..."
  246. waitmsg
  247. waitfanfare
  248. bufferpokemon 0x0 0x186
  249. return
  250.  
  251. '---------------
  252. #org 0x211B7A
  253. setvar 0x40C4 0x0
  254. setflag 0x10B
  255. release
  256. end
  257.  
  258. '---------------
  259. #org 0x211B5C
  260. call 0x82737A0
  261. goto 0x8211B7A
  262.  
  263. '---------------
  264. #org 0x2737A0
  265. bufferboxname 0x0 0x4036
  266. bufferpokemon 0x1 0x4001
  267. checkflag 0x8AB
  268. if 0x0 call 0x82737BB
  269. checkflag 0x8AB
  270. if 0x1 call 0x82737E6
  271. return
  272.  
  273. '---------------
  274. #org 0x2737BB
  275. special2 LASTRESULT 0x1E8
  276. compare LASTRESULT 0x1
  277. if 0x1 goto 0x82737D4
  278. msgbox 0x8273216 MSG_KEEPOPEN '"[buffer2] was transferred to\nSOME..."
  279. return
  280.  
  281. '---------------
  282. #org 0x2737E6
  283. special2 LASTRESULT 0x1E8
  284. compare LASTRESULT 0x1
  285. if 0x1 goto 0x82737FF
  286. msgbox 0x8273256 MSG_KEEPOPEN '"[buffer2] was transferred to\nLANE..."
  287. return
  288.  
  289. '---------------
  290. #org 0x2737D4
  291. special2 LASTRESULT 0x1E7
  292. bufferboxname 0x2 LASTRESULT
  293. msgbox 0x8273296 MSG_KEEPOPEN '"BOX ["][buffer3]" on\nSOMEONE'S PC..."
  294. return
  295.  
  296. '---------------
  297. #org 0x2737FF
  298. special2 LASTRESULT 0x1E7
  299. bufferboxname 0x2 LASTRESULT
  300. msgbox 0x82732D9 MSG_KEEPOPEN '"BOX ["][buffer3]" on\nLANETTE'S PC..."
  301. return
  302.  
  303.  
  304. '---------
  305. ' Strings
  306. '---------
  307. #org 0x211F48
  308. = I've been trying to develop a device\nthat resurrects POKéMON from fossils[.]\pAnd, it's working!
  309.  
  310. #org 0x2121A2
  311. = The FOSSIL REGENERATOR, which I made,\nis incredible.\pBut it has one drawback--it takes\na long time to work.\pSo, uh[.] How about you go for a stroll\nand look around for a while?
  312.  
  313. #org 0x211FA6
  314. = Wait! That thing you have there[.]\nIs that a POKéMON fossil?\pWould you like to bring that POKéMON\nback to life?\pI can with my newly developed\nFOSSIL REGENERATOR.
  315.  
  316. #org 0x212251
  317. = Thanks for waiting!\pYour fossilized POKéMON has been\nbrought back to life!\pThe fossil was an ancient POKéMON.\n[buffer2], it was!
  318.  
  319. #org 0x212046
  320. = Oh, is that so?\pDEVON's technological expertise\nis outstanding, I tell you.
  321.  
  322. #org 0x212092
  323. = Oh, now that's a surprise!\nYou have not one, but two, fossils?\pUnfortunately, my machine can only\nregenerate one POKéMON at a time.\pWould you like to pick one of your\nfossils for regeneration?
  324.  
  325. #org 0x212153
  326. = Excellent!\nLet's do this right away.\p[player] handed the [buffer1] to\nthe DEVON RESEARCHER.
  327.  
  328. #org 0x273374
  329. = Do you want to give a nickname to\nthis [buffer1]?
  330.  
  331. #org 0x27331C
  332. = There's no more room for POKéMON!\pThe POKéMON BOXES are full and\ncan't accept any more!
  333.  
  334. #org 0x2122CB
  335. = [player] received [buffer2] from\nthe DEVON RESEARCHER.
  336.  
  337. #org 0x273216
  338. = [buffer2] was transferred to\nSOMEONE'S PC.\pIt was placed in \nBOX ["][buffer1]."
  339.  
  340. #org 0x273256
  341. = [buffer2] was transferred to\nLANETTE'S PC.\pIt was placed in \nBOX ["][buffer1]."
  342.  
  343. #org 0x273296
  344. = BOX ["][buffer3]" on\nSOMEONE'S PC was full.\p[buffer2] was transferred to\nBOX ["][buffer1]."
  345.  
  346. #org 0x2732D9
  347. = BOX ["][buffer3]" on\nLANETTE'S PC was full.\p[buffer2] was transferred to\nBOX ["][buffer1]."
  348.  
  349.  
  350. '-----------
  351. ' Movements
  352. '-----------
  353. #org 0x272598
  354. #raw 0x56 'Exclamation Mark (!)
  355. #raw 0xFE 'End of Movements
  356.  
  357. #org 0x27259A
  358. #raw 0x14 'Delay5
  359. #raw 0x14 'Delay5
  360. #raw 0x14 'Delay5
  361. #raw 0xFE 'End of Movements
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement