Advertisement
ProClifo

Untitled

Jun 24th, 2015
248
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.13 KB | None | 0 0
  1. '---------------
  2. #org 0x2088AA
  3. lock
  4. faceplayer
  5. setvar 0x8004 0x1
  6. special 0xF7
  7. compare LASTRESULT 0x0
  8. if 0x5 goto 0x82087E9
  9. special 0x28
  10. msgbox 0x82C5810 MSG_KEEPOPEN '"Welcome to the BATTLE TENT\nSLATEP..."
  11. preparemsg 0x82C586A '"Would you like to take the Battle\..."
  12. waitmsg
  13. multichoice 0x11 0x6 0x17 0x0
  14. copyvar 0x8000 LASTRESULT
  15. compare 0x8000 0x0
  16. if 0x1 goto 0x8208906
  17. compare 0x8000 0x1
  18. if 0x1 goto 0x8208A07
  19. compare 0x8000 0x2
  20. if 0x1 goto 0x8208A2E
  21. compare 0x8000 0x7F
  22. if 0x1 goto 0x8208A2E
  23. setvar 0x40CF 0x4
  24. setvar 0x40CE 0x0
  25. setvar 0x8004 0x2
  26. setvar 0x8005 0x1
  27. setvar 0x8006 0x2
  28. special 0xEA
  29. msgbox 0x82C5B06 MSG_YESNO '"Before you begin your challenge,\n..."
  30. copyvar 0x8000 LASTRESULT
  31. compare 0x8000 0x0
  32. if 0x1 goto 0x8208A2B
  33. compare 0x8000 0x1
  34. if 0x1 goto 0x8208950
  35. compare 0x8000 0x7F
  36. if 0x1 goto 0x8208A2B
  37. setvar 0x4000 0x0
  38. setvar 0x8004 0x2
  39. setvar 0x8005 0x4
  40. special 0xEA
  41. setvar 0x8004 0x0
  42. special 0xF7
  43. setvar 0x8004 0x2
  44. setvar 0x8005 0x0
  45. setvar 0x8006 0x1
  46. special 0xEA
  47. setvar 0x8004 0x2
  48. setvar 0x8005 0x3
  49. setvar 0x8006 0x0
  50. special 0xEA
  51. closeonkeypress
  52. pause 0x2
  53. call 0x827134F
  54. setvar 0x4000 0xFF
  55. compare LASTRESULT 0x0
  56. if 0x1 goto 0x8208A14
  57. setvar 0x8006 0x0
  58. msgbox 0x82C5B8C MSG_KEEPOPEN '"Please step this way."
  59. closeonkeypress
  60. call 0x82089C9
  61. warp 0x9 0x3 0xFF 0x2 0x7
  62. setvar 0x4000 0x0
  63. waitstate
  64. end
  65.  
  66. '---------------
  67. #org 0x2087E9
  68. msgbox 0x82C5D14 MSG_KEEPOPEN '"In recognition of your 3-win strea..."
  69. setvar 0x8004 0x5
  70. special 0xF7
  71. copyvar 0x8000 LASTRESULT
  72. compare 0x8000 0x0
  73. if 0x1 goto 0x820882A
  74. setvar 0x8004 0x2
  75. setvar 0x8005 0x0
  76. setvar 0x8006 0x0
  77. special 0xEA
  78. preparemsg 0x823F68C '"[player] received the prize\n[buff..."
  79. waitmsg
  80. fanfare 0x172
  81. waitfanfare
  82. goto 0x8208861
  83.  
  84. '---------------
  85. #org 0x208906
  86. setvar 0x40CF 0x4
  87. setvar 0x40CE 0x0
  88. setvar 0x8004 0x2
  89. setvar 0x8005 0x1
  90. setvar 0x8006 0x2
  91. special 0xEA
  92. msgbox 0x82C5B06 MSG_YESNO '"Before you begin your challenge,\n..."
  93. copyvar 0x8000 LASTRESULT
  94. compare 0x8000 0x0
  95. if 0x1 goto 0x8208A2B
  96. compare 0x8000 0x1
  97. if 0x1 goto 0x8208950
  98. compare 0x8000 0x7F
  99. if 0x1 goto 0x8208A2B
  100. setvar 0x4000 0x0
  101. setvar 0x8004 0x2
  102. setvar 0x8005 0x4
  103. special 0xEA
  104. setvar 0x8004 0x0
  105. special 0xF7
  106. setvar 0x8004 0x2
  107. setvar 0x8005 0x0
  108. setvar 0x8006 0x1
  109. special 0xEA
  110. setvar 0x8004 0x2
  111. setvar 0x8005 0x3
  112. setvar 0x8006 0x0
  113. special 0xEA
  114. closeonkeypress
  115. pause 0x2
  116. call 0x827134F
  117. setvar 0x4000 0xFF
  118. compare LASTRESULT 0x0
  119. if 0x1 goto 0x8208A14
  120. setvar 0x8006 0x0
  121. msgbox 0x82C5B8C MSG_KEEPOPEN '"Please step this way."
  122. closeonkeypress
  123. call 0x82089C9
  124. warp 0x9 0x3 0xFF 0x2 0x7
  125. setvar 0x4000 0x0
  126. waitstate
  127. end
  128.  
  129. '---------------
  130. #org 0x208A07
  131. msgbox 0x82C589C MSG_KEEPOPEN '"Here at the SLATEPORT BATTLE TENT,..."
  132. goto 0x82088CA
  133.  
  134. '---------------
  135. #org 0x208A2E
  136. msgbox 0x82C5AA5 MSG_KEEPOPEN '"We look forward to your next visit..."
  137. release
  138. end
  139.  
  140. '---------------
  141. #org 0x208A2B
  142. special 0x29
  143. msgbox 0x82C5AA5 MSG_KEEPOPEN '"We look forward to your next visit..."
  144. release
  145. end
  146.  
  147. '---------------
  148. #org 0x208950
  149. setvar 0x4000 0x0
  150. setvar 0x8004 0x2
  151. setvar 0x8005 0x4
  152. special 0xEA
  153. setvar 0x8004 0x0
  154. special 0xF7
  155. setvar 0x8004 0x2
  156. setvar 0x8005 0x0
  157. setvar 0x8006 0x1
  158. special 0xEA
  159. setvar 0x8004 0x2
  160. setvar 0x8005 0x3
  161. setvar 0x8006 0x0
  162. special 0xEA
  163. closeonkeypress
  164. pause 0x2
  165. call 0x827134F
  166. setvar 0x4000 0xFF
  167. compare LASTRESULT 0x0
  168. if 0x1 goto 0x8208A14
  169. setvar 0x8006 0x0
  170. msgbox 0x82C5B8C MSG_KEEPOPEN '"Please step this way."
  171. closeonkeypress
  172. call 0x82089C9
  173. warp 0x9 0x3 0xFF 0x2 0x7
  174. setvar 0x4000 0x0
  175. waitstate
  176. end
  177.  
  178. '---------------
  179. #org 0x27134F
  180. special 0x60
  181. waitstate
  182. return
  183.  
  184. '---------------
  185. #org 0x208A14
  186. setvar 0x8004 0x2
  187. setvar 0x8005 0x0
  188. setvar 0x8006 0x0
  189. special 0xEA
  190. goto 0x8208A2E
  191.  
  192. '---------------
  193. #org 0x2089C9
  194. applymovement 0x1 0x82089F8
  195. applymovement MOVE_PLAYER 0x82089FF
  196. waitmovement 0x0
  197. setdooropened 0x6 0x1
  198. doorchange
  199. applymovement 0x1 0x82089FC
  200. applymovement MOVE_PLAYER 0x8208A03
  201. waitmovement 0x0
  202. setdoorclosed 0x6 0x1
  203. doorchange
  204. return
  205.  
  206. '---------------
  207. #org 0x20882A
  208. msgbox 0x82C5D52 MSG_KEEPOPEN '"Oh?\nYou seem to have no room for ..."
  209. goto 0x8208861
  210.  
  211. '---------------
  212. #org 0x208861
  213. msgbox 0x82C5AA5 MSG_KEEPOPEN '"We look forward to your next visit..."
  214. closeonkeypress
  215. setvar 0x4000 0xFF
  216. releaseall
  217. end
  218.  
  219. '---------------
  220. #org 0x2088CA
  221. preparemsg 0x82C586A '"Would you like to take the Battle\..."
  222. waitmsg
  223. multichoice 0x11 0x6 0x17 0x0
  224. copyvar 0x8000 LASTRESULT
  225. compare 0x8000 0x0
  226. if 0x1 goto 0x8208906
  227. compare 0x8000 0x1
  228. if 0x1 goto 0x8208A07
  229. compare 0x8000 0x2
  230. if 0x1 goto 0x8208A2E
  231. compare 0x8000 0x7F
  232. if 0x1 goto 0x8208A2E
  233. setvar 0x40CF 0x4
  234. setvar 0x40CE 0x0
  235. setvar 0x8004 0x2
  236. setvar 0x8005 0x1
  237. setvar 0x8006 0x2
  238. special 0xEA
  239. msgbox 0x82C5B06 MSG_YESNO '"Before you begin your challenge,\n..."
  240. copyvar 0x8000 LASTRESULT
  241. compare 0x8000 0x0
  242. if 0x1 goto 0x8208A2B
  243. compare 0x8000 0x1
  244. if 0x1 goto 0x8208950
  245. compare 0x8000 0x7F
  246. if 0x1 goto 0x8208A2B
  247. setvar 0x4000 0x0
  248. setvar 0x8004 0x2
  249. setvar 0x8005 0x4
  250. special 0xEA
  251. setvar 0x8004 0x0
  252. special 0xF7
  253. setvar 0x8004 0x2
  254. setvar 0x8005 0x0
  255. setvar 0x8006 0x1
  256. special 0xEA
  257. setvar 0x8004 0x2
  258. setvar 0x8005 0x3
  259. setvar 0x8006 0x0
  260. special 0xEA
  261. closeonkeypress
  262. pause 0x2
  263. call 0x827134F
  264. setvar 0x4000 0xFF
  265. compare LASTRESULT 0x0
  266. if 0x1 goto 0x8208A14
  267. setvar 0x8006 0x0
  268. msgbox 0x82C5B8C MSG_KEEPOPEN '"Please step this way."
  269. closeonkeypress
  270. call 0x82089C9
  271. warp 0x9 0x3 0xFF 0x2 0x7
  272. setvar 0x4000 0x0
  273. waitstate
  274. end
  275.  
  276.  
  277. '---------
  278. ' Strings
  279. '---------
  280. #org 0x2C5810
  281. = Welcome to the BATTLE TENT\nSLATEPORT SITE!\pI am your guide to the Battle Swap\nTournament.
  282.  
  283. #org 0x2C586A
  284. = Would you like to take the Battle\nSwap challenge?
  285.  
  286. #org 0x2C5B06
  287. = Before you begin your challenge,\nI need to save data. Is that okay?
  288.  
  289. #org 0x2C5B8C
  290. = Please step this way.
  291.  
  292. #org 0x2C5D14
  293. = In recognition of your 3-win streak,\nwe award you this prize.
  294.  
  295. #org 0x23F68C
  296. = [player] received the prize\n[buffer1].
  297.  
  298. #org 0x2C589C
  299. = Here at the SLATEPORT BATTLE TENT,\nwe hold Battle Swap events\lusing rental POKéMON.\pFirst, you will be loaned three\nPOKéMON specifically for this event.\pUsing the supplied rental POKéMON,\nyou must conduct a SINGLE BATTLE.\pIf you win, you are permitted to trade\none of your rental POKéMON.\pRepeat this cycle of battling and\ntrading--if you win three times in\la row, you will earn a fine prize.\pIf you want to interrupt your\nchallenge, please save the game.\pIf you don't save before interrupting,\nyou will be disqualified.
  300.  
  301. #org 0x2C5AA5
  302. = We look forward to your next visit.
  303.  
  304. #org 0x2C5D52
  305. = Oh?\nYou seem to have no room for this.\pPlease make room in your BAG and\nlet me know.
  306.  
  307.  
  308. '-----------
  309. ' Movements
  310. '-----------
  311. #org 0x2089F8
  312. #raw 0x9 'Step Up (Normal)
  313. #raw 0x9 'Step Up (Normal)
  314. #raw 0x9 'Step Up (Normal)
  315. #raw 0xFE 'End of Movements
  316.  
  317. #org 0x2089FF
  318. #raw 0x9 'Step Up (Normal)
  319. #raw 0x9 'Step Up (Normal)
  320. #raw 0x9 'Step Up (Normal)
  321. #raw 0xFE 'End of Movements
  322.  
  323. #org 0x2089FC
  324. #raw 0x9 'Step Up (Normal)
  325. #raw 0x54 'Hide
  326. #raw 0xFE 'End of Movements
  327.  
  328. #org 0x208A03
  329. #raw 0x9 'Step Up (Normal)
  330. #raw 0x9 'Step Up (Normal)
  331. #raw 0x54 'Hide
  332. #raw 0xFE 'End of Movements
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement