Advertisement
Guest User

scripting error

a guest
Aug 2nd, 2014
243
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.39 KB | None | 0 0
  1. '---------------
  2. #org 0x29FE56
  3. setvar 0x4012 0x1
  4. msgbox 0x829F8B5 MSG_NORMAL '"Hey! \v\h00ho1 come and help me!"
  5. applymovement MOVE_PLAYER 0x829F8D4
  6. waitmovement 0x0
  7. msgbox 0x829F8DE MSG_NORMAL '"This man has stolen my pokemon!\nb..."
  8. givepokemon 0x4 0x5 0x0 0x0 0x0 0x0
  9. fanfare 0x13E
  10. msgbox 0x829F942 MSG_KEEPOPEN '"You received a Charmander!\nIt sme..."
  11. waitfanfare
  12. closeonkeypress
  13. applymovement 0x5 0x829F974
  14. waitmovement 0x0
  15. applymovement MOVE_PLAYER 0x829FCB1
  16. waitmovement 0x0
  17. waitmovement 0xFF
  18. trainerbattle 0x1 0x1 0x0 0x829F97B 0x829F9DB 0x829FA02
  19. applymovement 0x5 0x829FA74
  20. waitmovement 0x0
  21. applymovement 0x4 0x829FA7D
  22. waitmovement 0x0
  23. msgbox 0x829FA80 MSG_NORMAL '"Thank you [player]! NOW GIMMI MY\n..."
  24. goto 0x829F874
  25.  
  26. '---------------
  27. #org 0x29FA02
  28. updatecoins 0xE1 0xE1
  29. setdoorclosed 0xAD 0xE3D3
  30. '---------------
  31. #org 0x29F874
  32. msgbox 0x829FB89 MSG_YESNO '"Do you want the fire mouse pokemon..."
  33. compare LASTRESULT 0x1
  34. if 0x1 goto 0x829FB04
  35. msgbox 0x829FBBA MSG_YESNO '"OK. so do you want the water\ncroc..."
  36. compare LASTRESULT 0x1
  37. if 0x1 goto 0x829FB2D
  38. msgbox 0x829FBF5 MSG_YESNO '"OK.OK. Do you want the grass type\..."
  39. compare LASTRESULT 0x1
  40. if 0x1 goto 0x829FB53
  41. goto 0x829FB79
  42.  
  43. '---------------
  44. #org 0x29FB04
  45. givepokemon 0x9B 0x5 0x0 0x0 0x0 0x0
  46. fanfare 0x13E
  47. msgbox 0x829FC24 MSG_NORMAL '"You recieved a CINDAQUIL!"
  48. waitfanfare
  49. closeonkeypress
  50. applymovement 0x4 0x829FCB9
  51. waitmovement 0x0
  52. release
  53. end
  54.  
  55. '---------------
  56. #org 0x29FB2D
  57. givepokemon 0x9E 0x5 0x0 0x0 0x0 0x0
  58. fanfare 0x13E
  59. msgbox 0x829FC40 MSG_NORMAL '"You recieved a TOTODILE!"
  60. waitfanfare
  61. closeonkeypress
  62. applymovement 0x4 0x829FA7D
  63. release
  64. end
  65.  
  66. '---------------
  67. #org 0x29FB53
  68. givepokemon 0x98 0x5 0x0 0x0 0x0 0x0
  69. fanfare 0x13E
  70. msgbox 0x829FC5B MSG_NORMAL '"You recived a CHIKORITA!"
  71. waitfanfare
  72. closeonkeypress
  73. applymovement 0x4 0x829FA7D
  74. release
  75. end
  76.  
  77. '---------------
  78. #org 0x29FB79
  79. msgbox 0x829FC76 MSG_NORMAL '"Oh you must take a Pokemon I\ninsi..."
  80. goto 0x829F874
  81.  
  82.  
  83. '---------
  84. ' Strings
  85. '---------
  86. #org 0x29F8B5
  87. = Hey! \v\h00ho1 come and help me!
  88.  
  89. #org 0x29F8DE
  90. = This man has stolen my pokemon!\nbut luckily I hid this\lriolu in my underpants\lhere take it quick!
  91.  
  92. #org 0x29F942
  93. = You received a Charmander!\nIt smells funny! Eww
  94.  
  95. #org 0x29F97B
  96. = Oh! So you want your pokemon back?\nThey are mine now! If you want\lthem you have to battle me!
  97.  
  98. #org 0x29F9DB
  99. = Here! Take your stupid pokemon\nback!
  100.  
  101. #org 0x29FA80
  102. = Thank you [player]! NOW GIMMI MY\nRIOLU BACK!! Hmm this riolu does\lnot want to come back. I wonder\lwhy that is.. OK OK you can keep\lhim!
  103.  
  104. #org 0x29FB89
  105. = Do you want the fire mouse pokemon\ncindaquil?
  106.  
  107. #org 0x29FBBA
  108. = OK. so do you want the water\ncrocodile pokemon TOTODILE?
  109.  
  110. #org 0x29FBF5
  111. = OK.OK. Do you want the grass type\nCHIKORITA?
  112.  
  113. #org 0x29FC24
  114. = You recieved a CINDAQUIL!
  115.  
  116. #org 0x29FC40
  117. = You recieved a TOTODILE!
  118.  
  119. #org 0x29FC5B
  120. = You recived a CHIKORITA!
  121.  
  122. #org 0x29FC76
  123. = Oh you must take a Pokemon I\ninsist! I'll Ask you again.
  124.  
  125.  
  126. '-----------
  127. ' Movements
  128. '-----------
  129. #org 0x29F8D4
  130. #raw 0x20 'Step Right (Fast)
  131. #raw 0x20 'Step Right (Fast)
  132. #raw 0x1D 'Step Down (Fast)
  133. #raw 0x1D 'Step Down (Fast)
  134. #raw 0x1D 'Step Down (Fast)
  135. #raw 0x1D 'Step Down (Fast)
  136. #raw 0x1D 'Step Down (Fast)
  137. #raw 0x1D 'Step Down (Fast)
  138. #raw 0xFE 'End of Movements
  139.  
  140. #org 0x29F974
  141. #raw 0x1D 'Step Down (Fast)
  142. #raw 0x1D 'Step Down (Fast)
  143. #raw 0x20 'Step Right (Fast)
  144. #raw 0x1D 'Step Down (Fast)
  145. #raw 0x1D 'Step Down (Fast)
  146. #raw 0xFE 'End of Movements
  147.  
  148. #org 0x29FCB1
  149. #raw 0x1F 'Step Left (Fast)
  150. #raw 0x1D 'Step Down (Fast)
  151. #raw 0x1D 'Step Down (Fast)
  152. #raw 0x20 'Step Right (Fast)
  153. #raw 0x1D 'Step Down (Fast)
  154. #raw 0x1D 'Step Down (Fast)
  155. #raw 0xFE 'End of Movements
  156.  
  157. #org 0x29FA74
  158. #raw 0x1D 'Step Down (Fast)
  159. #raw 0x1D 'Step Down (Fast)
  160. #raw 0x1D 'Step Down (Fast)
  161. #raw 0x1D 'Step Down (Fast)
  162. #raw 0x1D 'Step Down (Fast)
  163. #raw 0x1D 'Step Down (Fast)
  164. #raw 0x1D 'Step Down (Fast)
  165. #raw 0x60 'Hide
  166. #raw 0xFE 'End of Movements
  167.  
  168. #org 0x29FA7D
  169. #raw 0x1D 'Step Down (Fast)
  170. #raw 0x1D 'Step Down (Fast)
  171. #raw 0xFE 'End of Movements
  172.  
  173. #org 0x29FCB9
  174. #raw 0x20 'Step Right (Fast)
  175. #raw 0x1D 'Step Down (Fast)
  176. #raw 0x1D 'Step Down (Fast)
  177. #raw 0x1D 'Step Down (Fast)
  178. #raw 0x1D 'Step Down (Fast)
  179. #raw 0x1D 'Step Down (Fast)
  180. #raw 0x1D 'Step Down (Fast)
  181. #raw 0x1D 'Step Down (Fast)
  182. #raw 0x1D 'Step Down (Fast)
  183. #raw 0x60 'Hide
  184. #raw 0xFE 'End of Movements
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement