Advertisement
Guest User

Untitled

a guest
May 25th, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 27.17 KB | None | 0 0
  1. Start Battle Phase Pt.I
  2.  
  3. Fight Click
  4. (0:80) When someone clicks DragonSpeak Button 18,
  5. (1:95) and their DragonSpeak Button 18 is visible,
  6. (1:630) and the PhoenixSpeak info {status} about the triggering player contains {battle} somewhere within it,
  7. (1:630) and the PhoenixSpeak info {battlestatus} about the triggering player contains {fight} somewhere within it,
  8. (5:613) pull PhoenixSpeak info {currentpokemonmoves1} about the triggering player, and put it in message ~battlemessageset.
  9. (5:282) set variable %junk to the first number in ~battlemessageset.
  10. (5:278) remove the first 1 copies of {%junk} from message ~battlemessageset.
  11. (5:282) set variable %junk to the first number in ~battlemessageset.
  12. (5:278) remove the first 1 copies of {%junk} from message ~battlemessageset.
  13. (5:282) set variable %junk to the first number in ~battlemessageset.
  14. (5:278) remove the first 1 copies of {%junk} from message ~battlemessageset.
  15. (5:282) set variable %junk to the first number in ~battlemessageset.
  16. (5:278) remove the first 1 copies of {%junk} from message ~battlemessageset.
  17. (5:278) remove the first 99 copies of { } from message ~battlemessageset.
  18. (5:250) set message ~battlemessage to {[1] ~battlemessageset}.
  19. (5:613) pull PhoenixSpeak info {currentpokemonmoves2} about the triggering player, and put it in message ~battlemessageset.
  20. (5:282) set variable %junk to the first number in ~battlemessageset.
  21. (5:278) remove the first 1 copies of {%junk} from message ~battlemessageset.
  22. (5:282) set variable %junk to the first number in ~battlemessageset.
  23. (5:278) remove the first 1 copies of {%junk} from message ~battlemessageset.
  24. (5:282) set variable %junk to the first number in ~battlemessageset.
  25. (5:278) remove the first 1 copies of {%junk} from message ~battlemessageset.
  26. (5:282) set variable %junk to the first number in ~battlemessageset.
  27. (5:278) remove the first 1 copies of {%junk} from message ~battlemessageset.
  28. (5:278) remove the first 99 copies of { } from message ~battlemessageset.
  29. (5:257) take message ~battlemessage and add { [2] ~battlemessageset} onto the end of it.
  30. (5:613) pull PhoenixSpeak info {currentpokemonmoves3} about the triggering player, and put it in message ~battlemessageset.
  31. (5:282) set variable %junk to the first number in ~battlemessageset.
  32. (5:278) remove the first 1 copies of {%junk} from message ~battlemessageset.
  33. (5:282) set variable %junk to the first number in ~battlemessageset.
  34. (5:278) remove the first 1 copies of {%junk} from message ~battlemessageset.
  35. (5:282) set variable %junk to the first number in ~battlemessageset.
  36. (5:278) remove the first 1 copies of {%junk} from message ~battlemessageset.
  37. (5:282) set variable %junk to the first number in ~battlemessageset.
  38. (5:278) remove the first 1 copies of {%junk} from message ~battlemessageset.
  39. (5:278) remove the first 99 copies of { } from message ~battlemessageset.
  40. (5:257) take message ~battlemessage and add { [3] ~battlemessageset} onto the end of it.
  41. (5:613) pull PhoenixSpeak info {currentpokemonmoves4} about the triggering player, and put it in message ~battlemessageset.
  42. (5:282) set variable %junk to the first number in ~battlemessageset.
  43. (5:278) remove the first 1 copies of {%junk} from message ~battlemessageset.
  44. (5:282) set variable %junk to the first number in ~battlemessageset.
  45. (5:278) remove the first 1 copies of {%junk} from message ~battlemessageset.
  46. (5:282) set variable %junk to the first number in ~battlemessageset.
  47. (5:278) remove the first 1 copies of {%junk} from message ~battlemessageset.
  48. (5:282) set variable %junk to the first number in ~battlemessageset.
  49. (5:278) remove the first 1 copies of {%junk} from message ~battlemessageset.
  50. (5:278) remove the first 99 copies of { } from message ~battlemessageset.
  51. (5:257) take message ~battlemessage and add { [4] ~battlemessageset} onto the end of it.
  52. (5:278) remove the first 1 copies of { [2] none} from message ~battlemessage.
  53. (5:278) remove the first 1 copies of { [3] none} from message ~battlemessage.
  54. (5:278) remove the first 1 copies of { [4] none} from message ~battlemessage.
  55. (5:200) emit message {Move List: ~battlemessage} to the triggering player.
  56.  
  57. Show Move Selection Buttons
  58. (5:282) set variable %selectionbuttons to the first number in ~battlemessage.
  59. (5:278) remove the first 1 copies of {%selectionbuttons} from message ~battlemessage.
  60. (5:301) copy the value of variable %selectionbuttons into variable %copy.
  61. (5:302) take variable %selectionbuttons and add 31 to it.
  62. (5:309) divide variable %copy by variable %copy and put the remainder in variable %junk.
  63. (5:307) multiply variable %selectionbuttons by variable %copy.
  64. (5:180) show the triggering player's DragonSpeak Button %selectionbuttons.
  65.  
  66. (5:282) set variable %selectionbuttons to the first number in ~battlemessage.
  67. (5:278) remove the first 1 copies of {%selectionbuttons} from message ~battlemessage.
  68. (5:301) copy the value of variable %selectionbuttons into variable %copy.
  69. (5:302) take variable %selectionbuttons and add 31 to it.
  70. (5:309) divide variable %copy by variable %copy and put the remainder in variable %junk.
  71. (5:307) multiply variable %selectionbuttons by variable %copy.
  72. (5:180) show the triggering player's DragonSpeak Button %selectionbuttons.
  73.  
  74. (5:282) set variable %selectionbuttons to the first number in ~battlemessage.
  75. (5:278) remove the first 1 copies of {%selectionbuttons} from message ~battlemessage.
  76. (5:301) copy the value of variable %selectionbuttons into variable %copy.
  77. (5:302) take variable %selectionbuttons and add 31 to it.
  78. (5:309) divide variable %copy by variable %copy and put the remainder in variable %junk.
  79. (5:307) multiply variable %selectionbuttons by variable %copy.
  80. (5:180) show the triggering player's DragonSpeak Button %selectionbuttons.
  81.  
  82. (5:282) set variable %selectionbuttons to the first number in ~battlemessage.
  83. (5:278) remove the first 1 copies of {%selectionbuttons} from message ~battlemessage.
  84. (5:301) copy the value of variable %selectionbuttons into variable %copy.
  85. (5:302) take variable %selectionbuttons and add 31 to it.
  86. (5:309) divide variable %copy by variable %copy and put the remainder in variable %junk.
  87. (5:307) multiply variable %selectionbuttons by variable %copy.
  88. (5:180) show the triggering player's DragonSpeak Button %selectionbuttons.
  89.  
  90. Move Click
  91.  
  92. AI Battle
  93. (0:80) When someone clicks DragonSpeak Button 32,
  94. (1:95) and their DragonSpeak Button 32 is visible,
  95. (1:630) and the PhoenixSpeak info {status} about the triggering player contains {ai-battle} somewhere within it,
  96. (1:630) and the PhoenixSpeak info {battlestatus} about the triggering player contains {fight} somewhere within it,
  97.  
  98. (0:80) When someone clicks DragonSpeak Button 33,
  99. (1:95) and their DragonSpeak Button 33 is visible,
  100. (1:630) and the PhoenixSpeak info {status} about the triggering player contains {ai-battle} somewhere within it,
  101. (1:630) and the PhoenixSpeak info {battlestatus} about the triggering player contains {fight} somewhere within it,
  102.  
  103. (0:80) When someone clicks DragonSpeak Button 34,
  104. (1:95) and their DragonSpeak Button 34 is visible,
  105. (1:630) and the PhoenixSpeak info {status} about the triggering player contains {ai-battle} somewhere within it,
  106. (1:630) and the PhoenixSpeak info {battlestatus} about the triggering player contains {fight} somewhere within it,
  107.  
  108. (0:80) When someone clicks DragonSpeak Button 35,
  109. (1:95) and their DragonSpeak Button 35 is visible,
  110. (1:630) and the PhoenixSpeak info {status} about the triggering player contains {ai-battle} somewhere within it,
  111. (1:630) and the PhoenixSpeak info {battlestatus} about the triggering player contains {fight} somewhere within it,
  112.  
  113. Speed Calculation
  114. (5:184) set variable %battleselection to the number of the DragonSpeak Button they just pressed.
  115. (5:304) take variable %battleselection and subtract 31 from it.
  116. (5:613) pull PhoenixSpeak info {currentpokemonmoves%battleselection} about the triggering player, and put it in message ~battlemessage.
  117. (5:282) set variable %junk to the first number in ~battlemessage.
  118. (5:278) remove the first 1 copies of {%junk} from message ~battlemessage.
  119. (5:282) set variable %currentpp to the first number in ~battlemessage.
  120.  
  121. PP Check
  122.  
  123. No PP
  124. (0:80) When someone clicks DragonSpeak Button 32,
  125. (1:95) and their DragonSpeak Button 32 is visible,
  126. (1:202) and variable %currentpp is less than 1,
  127. (1:630) and the PhoenixSpeak info {status} about the triggering player contains {ai-battle} somewhere within it,
  128. (1:630) and the PhoenixSpeak info {battlestatus} about the triggering player contains {fight} somewhere within it,
  129.  
  130. (0:80) When someone clicks DragonSpeak Button 33,
  131. (1:95) and their DragonSpeak Button 33 is visible,
  132. (1:202) and variable %currentpp is less than 1,
  133. (1:630) and the PhoenixSpeak info {status} about the triggering player contains {ai-battle} somewhere within it,
  134. (1:630) and the PhoenixSpeak info {battlestatus} about the triggering player contains {fight} somewhere within it,
  135.  
  136. (0:80) When someone clicks DragonSpeak Button 34,
  137. (1:95) and their DragonSpeak Button 34 is visible,
  138. (1:202) and variable %currentpp is less than 1,
  139. (1:630) and the PhoenixSpeak info {status} about the triggering player contains {ai-battle} somewhere within it,
  140. (1:630) and the PhoenixSpeak info {battlestatus} about the triggering player contains {fight} somewhere within it,
  141.  
  142. (0:80) When someone clicks DragonSpeak Button 35,
  143. (1:95) and their DragonSpeak Button 35 is visible,
  144. (1:202) and variable %currentpp is less than 1,
  145. (1:630) and the PhoenixSpeak info {status} about the triggering player contains {ai-battle} somewhere within it,
  146. (1:630) and the PhoenixSpeak info {battlestatus} about the triggering player contains {fight} somewhere within it,
  147.  
  148. (5:200) emit message {Insufficient Power Points!} to the triggering player.
  149.  
  150. PP Available
  151. (0:80) When someone clicks DragonSpeak Button 32,
  152. (1:95) and their DragonSpeak Button 32 is visible,
  153. (1:201) and variable %currentpp is more than 0,
  154. (1:630) and the PhoenixSpeak info {status} about the triggering player contains {ai-battle} somewhere within it,
  155. (1:630) and the PhoenixSpeak info {battlestatus} about the triggering player contains {fight} somewhere within it,
  156.  
  157. (0:80) When someone clicks DragonSpeak Button 33,
  158. (1:95) and their DragonSpeak Button 33 is visible,
  159. (1:201) and variable %currentpp is more than 0,
  160. (1:630) and the PhoenixSpeak info {status} about the triggering player contains {ai-battle} somewhere within it,
  161. (1:630) and the PhoenixSpeak info {battlestatus} about the triggering player contains {fight} somewhere within it,
  162.  
  163. (0:80) When someone clicks DragonSpeak Button 34,
  164. (1:95) and their DragonSpeak Button 34 is visible,
  165. (1:201) and variable %currentpp is more than 0,
  166. (1:630) and the PhoenixSpeak info {status} about the triggering player contains {ai-battle} somewhere within it,
  167. (1:630) and the PhoenixSpeak info {battlestatus} about the triggering player contains {fight} somewhere within it,
  168.  
  169. (0:80) When someone clicks DragonSpeak Button 35,
  170. (1:95) and their DragonSpeak Button 35 is visible,
  171. (1:201) and variable %currentpp is more than 0,
  172. (1:630) and the PhoenixSpeak info {status} about the triggering player contains {ai-battle} somewhere within it,
  173. (1:630) and the PhoenixSpeak info {battlestatus} about the triggering player contains {fight} somewhere within it,
  174.  
  175. (5:613) pull PhoenixSpeak info {currentpokemonmoves%battleselection} about the triggering player, and put it in message ~battlemessage.
  176. (5:603) save PhoenixSpeak info {optionselect} about the triggering player will now be {Move ~battlemessage}.
  177. (5:603) save PhoenixSpeak info {battlestatus} about the triggering player will now be {wait-speed}.
  178. (5:600) save PhoenixSpeak info {wait-timer} about the triggering player will now be 3.
  179. (5:610) pull PhoenixSpeak info {currentpokemonspeed} about the triggering player, and put it in variable %speed1.
  180. (5:613) pull PhoenixSpeak info {currentpokemonmoves%battleselection} about the triggering player, and put it in message ~battlemessage.
  181. (5:277) remove the first word from message ~battlemessageset and put it in message ~junk.
  182. (5:282) set variable %junk to the first number in ~battlemessageset.
  183. (5:278) remove the first 1 copies of {junk} from message ~battlemessageset.
  184. (5:282) set variable %junk to the first number in ~battlemessageset.
  185. (5:278) remove the first 1 copies of {junk} from message ~battlemessageset.
  186. (5:282) set variable %junk to the first number in ~battlemessageset.
  187. (5:278) remove the first 1 copies of {junk} from message ~battlemessageset.
  188. (5:282) set variable %speedadd to the first number in ~battlemessageset.
  189. (5:302) take variable %speed1 and add %speedadd to it.
  190.  
  191. Enemy Move Select
  192. (5:613) pull PhoenixSpeak info {currentenemymoves1} about the triggering player, and put it in message ~battlemessageset.
  193. (5:282) set variable %junk to the first number in ~battlemessageset.
  194. (5:278) remove the first 1 copies of {%junk} from message ~battlemessageset.
  195. (5:282) set variable %junk to the first number in ~battlemessageset.
  196. (5:278) remove the first 1 copies of {%junk} from message ~battlemessageset.
  197. (5:282) set variable %junk to the first number in ~battlemessageset.
  198. (5:278) remove the first 1 copies of {%junk} from message ~battlemessageset.
  199. (5:282) set variable %junk to the first number in ~battlemessageset.
  200. (5:278) remove the first 1 copies of {%junk} from message ~battlemessageset.
  201. (5:250) set message ~battlemessage to { ~battlemessageset}.
  202. (5:613) pull PhoenixSpeak info {currentenemymoves2} about the triggering player, and put it in message ~battlemessageset.
  203. (5:282) set variable %junk to the first number in ~battlemessageset.
  204. (5:278) remove the first 1 copies of {%junk} from message ~battlemessageset.
  205. (5:282) set variable %junk to the first number in ~battlemessageset.
  206. (5:278) remove the first 1 copies of {%junk} from message ~battlemessageset.
  207. (5:282) set variable %junk to the first number in ~battlemessageset.
  208. (5:278) remove the first 1 copies of {%junk} from message ~battlemessageset.
  209. (5:282) set variable %junk to the first number in ~battlemessageset.
  210. (5:278) remove the first 1 copies of {%junk} from message ~battlemessageset.
  211. (5:257) take message ~battlemessage and add { ~battlemessageset} onto the end of it.
  212. (5:613) pull PhoenixSpeak info {currentenemymoves3} about the triggering player, and put it in message ~battlemessageset.
  213. (5:282) set variable %junk to the first number in ~battlemessageset.
  214. (5:278) remove the first 1 copies of {%junk} from message ~battlemessageset.
  215. (5:282) set variable %junk to the first number in ~battlemessageset.
  216. (5:278) remove the first 1 copies of {%junk} from message ~battlemessageset.
  217. (5:282) set variable %junk to the first number in ~battlemessageset.
  218. (5:278) remove the first 1 copies of {%junk} from message ~battlemessageset.
  219. (5:282) set variable %junk to the first number in ~battlemessageset.
  220. (5:278) remove the first 1 copies of {%junk} from message ~battlemessageset.
  221. (5:257) take message ~battlemessage and add { ~battlemessageset} onto the end of it.
  222. (5:613) pull PhoenixSpeak info {currentenemymoves4} about the triggering player, and put it in message ~battlemessageset.
  223. (5:282) set variable %junk to the first number in ~battlemessageset.
  224. (5:278) remove the first 1 copies of {%junk} from message ~battlemessageset.
  225. (5:282) set variable %junk to the first number in ~battlemessageset.
  226. (5:278) remove the first 1 copies of {%junk} from message ~battlemessageset.
  227. (5:282) set variable %junk to the first number in ~battlemessageset.
  228. (5:278) remove the first 1 copies of {%junk} from message ~battlemessageset.
  229. (5:282) set variable %junk to the first number in ~battlemessageset.
  230. (5:278) remove the first 1 copies of {%junk} from message ~battlemessageset.
  231. (5:257) take message ~battlemessage and add { ~battlemessageset} onto the end of it.
  232. (5:278) remove the first 3 copies of { none} from message ~battlemessage.
  233. (5:281) set variable %selectionbuttons to the length of message ~battlemessage in words separated by spaces.
  234. (5:312) set variable %battleselection to the total of rolling 1 dice with %selectionbuttons sides plus 0.
  235. (5:613) pull PhoenixSpeak info {currentenemymoves%battleselection} about the triggering player, and put it in message ~battlemessageset.
  236. (5:600) save PhoenixSpeak info {enemymove} about the triggering player will now be %battleselection.
  237. (5:277) remove the first word from message ~battlemessageset and put it in message ~junk.
  238. (5:282) set variable %junk to the first number in ~battlemessageset.
  239. (5:278) remove the first 1 copies of {junk} from message ~battlemessageset.
  240. (5:282) set variable %junk to the first number in ~battlemessageset.
  241. (5:278) remove the first 1 copies of {junk} from message ~battlemessageset.
  242. (5:282) set variable %junk to the first number in ~battlemessageset.
  243. (5:278) remove the first 1 copies of {junk} from message ~battlemessageset.
  244. (5:282) set variable %speedadd to the first number in ~battlemessageset.
  245.  
  246. Speed Calculation
  247. (5:610) pull PhoenixSpeak info {currentenemyspeed} about the triggering player, and put it in variable %speed2.
  248. (5:302) take variable %speed2 and add %speedadd to it.
  249. (5:305) take variable %speed1 and subtract variable %speed2 from it.
  250. (5:600) save PhoenixSpeak info {speedcalc} about the triggering player will now be %speed1.
  251.  
  252. Message Clear
  253. (5:250) set message ~battlemessage to {}.
  254. (5:250) set message ~battlemessageset to {}.
  255.  
  256. Start Wait Timer
  257. (3:1) everywhere on the whole map,
  258. (3:5) where the triggering player is at, not moving,
  259. (5:80) move any player present 0 step(s) northeast (up and right) if there's nobody already there.
  260.  
  261. Wait Attack I
  262.  
  263. Battle Phase
  264.  
  265. Player First
  266. (0:71) When someone stays in the same square for 3 seconds,
  267. (1:630) and the PhoenixSpeak info {battlestatus} about the triggering player contains {wait-speed} somewhere within it,
  268. (1:600) and the PhoenixSpeak info {wait-timer} about the triggering player is equal to 0,
  269. (1:630) and the PhoenixSpeak info {status} about the triggering player contains {ai-battle} somewhere within it,
  270. (1:602) and the PhoenixSpeak info {speedcalc} about the triggering player is more than -1,
  271.  
  272. Load Move Index
  273. (5:250) set message ~battlemessage to {[1 100 40 1 100 1] [2 100 50 111 100 2] [3 85 15 155 85 3] [4 85 18 155 85 4] [5 85 80 1 85 5] [6 100 40 806 100 6] [7 100 75 4 10 7] [8 100 75 5 10 8] [9 100 75 6 10 9] [10 100 40 1 100 10] [11 100 55 1 100 11] [12 30 0 171 0 12] [13 100 80 161 100 13] [14 0 0 12 0 14] [15 95 50 1 95 15] [16 100 40 812 100 16] [17 100 60 1 100 17] [18 0 0 998 0 18] [19 95 90 802 95 19] [20 85 15 140 100 20] [21 75 80 1 75 21] [22 100 45 1 100 22] [23 100 65 180 30 23] [24 100 30 152 100 24] [25 75 120 1 75 25] [26 95 100 121 95 26] [27 85 60 180 30 27] [28 100 0 91 0 28]}.
  274. (5:257) take message ~battlemessage and add { [29 100 70 180 30 29] [30 100 65 1 100 30] [31 85 15 155 85 31] [32 30 0 171 0 32] [33 100 50 1 100 33] [34 100 85 6 30 34] [35 90 15 140 100 35] [36 85 90 124 85 36] [37 100 120 6 100 37] [38 100 120 123 100 38] [39 100 0 71 0 39] [40 100 15 3 30 40] [41 100 25 152 20 41] [42 95 25 155 95 42] [43 100 0 71 0 43] [44 100 60 180 30 44] [45 100 0 61 0 45] [46 0 0 998 0 46] [47 55 0 2 0 47] [48 55 0 7 0 48] [49 90 20 172 90 49] [50 100 0 801 0 50] [51 100 40 71 10 51] [52 100 40 4 10 52] [53 100 90 4 10 53] [54 0 0 805 0 54] [55 100 40 1 100 55] [56 80 110 1 80 56]} onto the end of it.
  275. (5:257) take message ~battlemessage and add { [57 100 90 814 100 57] [58 100 90 5 10 58] [59 70 110 5 10 59] [60 100 65 7 10 60] [61 100 65 81 10 61] [62 100 65 61 10 62] [63 90 150 161 90 63] [64 100 35 1 100 64] [65 100 80 1 100 65] [66 80 80 124 80 66] [67 100 100 1 100 67] [68 100 0 177 0 68] [69 100 0 175 0 69] [70 100 80 1 100 70] [71 100 20 134 100 71] [72 100 40 134 100 72] [73 90 0 133 0 73] [74 0 0 11 0 74] [75 95 55 111 95 75] [76 100 120 161 100 76] [77 75 0 3 0 77] [78 75 0 6 0 78] [79 75 0 2 0 79] [80 100 120 6 100 80] [81 95 0 81 0 81] [82 100 40 174 100 82] [83 85 35 140 100 83]} onto the end of it.
  276. (5:257) take message ~battlemessage and add { [84 100 40 6 10 84] [85 100 90 6 10 85] [86 100 0 6 0 86] [87 70 110 6 30 87] [88 90 50 1 90 88] [89 100 100 813 100 89] [90 30 0 171 0 90] [91 100 80 803 100 91] [92 90 0 3 0 92] [93 100 50 7 10 93] [94 100 90 71 10 94] [95 60 0 2 0 95] [96 0 0 11 0 96] [97 0 0 32 0 97] [98 100 40 1 100 98] [99 100 20 13 100 99] [100 0 0 999 0 100] [101 100 0 175 0 101] [102 0 0 10 0 102] [103 85 0 72 0 103] [104 0 0 41 0 104] [105 0 0 131 0 105] [106 0 0 21 0 106] [107 0 0 42 0 107] [108 100 0 91 0 108] [109 100 0 7 0 109] [110 0 0 21 0 110] [111 0 0 21 0 111]} onto the end of it.
  277. (5:257) take message ~battlemessage and add { [112 0 0 22 0 112] [113 0 0 195 0 113] [114 0 0 135 0 114] [115 0 0 191 0 115] [116 0 0 111 0 116] [117 0 0 162 0 117] [118 0 0 809 0 118] [119 0 0 10 0 119] [120 100 200 9 100 120] [121 75 100 1 75 121] [122 100 30 6 30 122] [123 70 30 3 40 123] [124 100 65 3 30 124] [125 85 65 180 10 125] [126 85 110 4 10 126] [127 100 80 180 20 127] [128 85 35 140 100 128] [129 0 60 8 0 129] [130 100 130 163 100 130] [131 100 20 155 100 131] [132 100 10 81 10 132] [133 0 0 22 0 133] [134 80 0 91 0 134] [135 0 0 131 0 135] [136 90 130 121 90 136] [137 100 0 6 0 137]} onto the end of it.
  278. (5:257) take message ~battlemessage and add { [138 100 100 136 100 138] [139 90 0 3 0 139] [140 85 15 155 85 140] [141 100 20 134 100 141] [142 75 0 2 0 142] [143 90 140 164 30 143] [144 0 0 800 0 144] [145 100 40 81 10 145] [146 100 70 7 20 146] [147 100 0 2 0 147] [148 100 0 91 0 148] [149 100 0 176 0 149] [150 0 0 0 0 150] [151 0 0 22 0 151] [152 90 100 111 90 152] [153 100 250 9 100 153] [154 80 18 155 80 154] [155 90 50 152 90 155] [156 0 0 132 0 156] [157 90 75 180 30 157] [158 90 80 180 10 158] [159 0 0 11 0 159] [160 0 + 808 0 160] [161 100 80 807 20 161] [162 90 0 178 0 162] } onto the end of it.
  279. (5:257) take message ~battlemessage and add { [163 100 70 111 100 163] [164 0 0 0 0 164] [165 0 50 124 0 165]} onto the end of it.
  280. (5:613) pull PhoenixSpeak info {optionselect} about the triggering player, and put it in message ~battlemessageset.
  281. (5:282) set variable %move to the first number in ~battlemessageset.
  282. (5:283) set variable %grouplookupdelete to the total number of characters before {[%move} appears in message ~battlemessage (or zero if not found).
  283. (5:274) chop off the beginning of message ~battlemessageset, removing the first %grouplookupdelete characters of it.
  284. (5:284) set variable %grouplookupdelete to the total number of characters after the first place {%move]} appears in message ~battlemessage (or zero if not found).
  285. (5:273) chop off the end of message ~battlemessage, removing the last %grouplookupdelete characters of it.
  286.  
  287. Set Accuracy
  288. (5:282) set variable %accuracy to the first number in ~battlemessage.
  289. (5:278) remove the first 1 copies of {%accuracy} from message ~battlemessage.
  290. (5:610) pull PhoenixSpeak info {currentaccuracysubtract} about the triggering player, and put it in variable %accuracysubtract.
  291. (5:304) take variable %accuracy and subtract %accuracysubtract from it.
  292.  
  293. Set Enemy Evasion
  294. (5:610) pull PhoenixSpeak info {currentenemyevasion} about the triggering player, and put it in variable %evasion.
  295. (5:302) take variable %evasion and add 9 to it.
  296.  
  297. Evasion Roll
  298. (5:312) set variable %evasionroll to the total of rolling 1 dice with 20 sides plus %accuracy.
  299.  
  300. Hit
  301. (0:71) When someone stays in the same square for 3 seconds,
  302. (1:630) and the PhoenixSpeak info {battlestatus} about the triggering player contains {wait-speed} somewhere within it,
  303. (1:600) and the PhoenixSpeak info {wait-timer} about the triggering player is equal to 0,
  304. (1:630) and the PhoenixSpeak info {status} about the triggering player contains {ai-battle} somewhere within it,
  305. (1:602) and the PhoenixSpeak info {speedcalc} about the triggering player is more than -1,
  306. (1:204) and variable %evasionroll is more than variable %evasion,
  307.  
  308. Store Move Damage
  309. (5:282) set variable %damagerating to the first number in ~battlemessage.
  310. (5:278) remove the first 1 copies of {%damagerating} from message ~battlemessage.
  311.  
  312. Store Effect ID
  313. (5:282) set variable %effect_id to the first number in ~battlemessage.
  314. (5:278) remove the first 1 copies of {%effect_id} from message ~battlemessage.
  315.  
  316. Store Effect Chance
  317. (5:282) set variable %effect_chance to the first number in ~battlemessage.
  318. (5:278) remove the first 1 copies of {%effect_chance} from message ~battlemessage.
  319.  
  320. Store Type
  321. (5:282) set variable %move_type_id to the first number in ~battlemessage.
  322. (5:278) remove the first 1 copies of {%move_type_id} from message ~battlemessage.
  323.  
  324. Check Effect
  325.  
  326. Check Type
  327.  
  328. Effect Roll
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement