BenArthur_7

{Attack100, Key = 1} scripts

May 1st, 2018
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.88 KB | None | 0 0
  1. script_336:
  2.  
  3. begin 0x0, 0x0
  4. pushInt. 0xc
  5. pushInt. 0x53
  6. sys. 0x2, 0x12
  7. if loc_32
  8. try loc_32
  9. pushInt. 0x53
  10. pushInt. 0x0
  11. pushInt. 0x3f800000
  12. pushInt. script_22
  13. callFunc 0x3
  14.  
  15. loc_32:
  16. pushInt. 0x7
  17. pushInt. 0x0
  18. pushInt. 0x11000007
  19. sys 0x3, 0x16 #this variable used to count "stage". Attack100Start = 0, Attack100 = 1, "Attack100End" = 2
  20. try loc_55
  21. pushInt. script_337
  22. pushInt. script_78
  23. callFunc 0x1 #set the per frame loop to script_337
  24.  
  25. loc_55:
  26. end
  27. ----------------------------------------------------------------
  28. script_337:
  29.  
  30. begin 0x0, 0x2
  31. pushInt. 0x2713
  32. sys. 0x1, 0x23 #check for FAF
  33. pushInt. 0x1
  34. equals.
  35. if loc_39
  36. try. loc_24
  37. pushInt. script_39 #allow interrupt with grounded moves
  38. callFunc 0x0
  39.  
  40. loc_24:
  41. pushInt. 0x0
  42. notEquals.
  43. if loc_39
  44. pushInt. 0x1
  45. else loc_3E
  46.  
  47. loc_39:
  48. pushInt. 0x0
  49.  
  50. loc_3E:
  51. if loc_44
  52. return_7
  53.  
  54. loc_44:
  55. pushVar. 0x1, 0x12
  56. pushInt. 0x2
  57. equals.
  58. if loc_6A #if aerial
  59. try loc_69
  60. pushInt. 0xe
  61. pushInt. 0x0
  62. pushInt. script_16
  63. callFunc 0x2 #call Fall action
  64.  
  65. loc_69:
  66. return_7
  67.  
  68. loc_6A:
  69. pushInt. 0x6
  70. pushInt. 0x11000007
  71. sys. 0x2, 0x16
  72. setVar 0x0, 0x0
  73. pushVar. 0x0, 0x0
  74. pushInt. 0x0
  75. equals.
  76. if loc_11F #if "stage" is Attack100Start
  77. pushInt. 0x7
  78. sys. 0x1, 0x12 #current subaction ID
  79. setVar 0x0, 0x1
  80. pushVar. 0x0, 0x1
  81. pushInt. 0x53
  82. notEquals.
  83. ifNot loc_B2 #if subaction ID != 0x53 (Attack100Start)
  84. pushInt. 0x2712
  85. sys. 0x1, 0x12 #or if animation ended
  86. if loc_BC
  87.  
  88. loc_B2:
  89. pushInt. 0x1
  90. else loc_C1
  91.  
  92. loc_BC:
  93. pushInt. 0x0
  94.  
  95. loc_C1:
  96. if loc_11A
  97. pushInt. 0x2710
  98. pushInt. 0x21000015
  99. sys 0x2, 0x16
  100. pushInt. 0x2711
  101. pushInt. 0x21000016
  102. sys 0x2, 0x16
  103. pushInt. 0x2711
  104. pushInt. 0x21000017
  105. sys 0x2, 0x16 #set/clear some variables
  106. try loc_108
  107. pushInt. 0x54
  108. pushInt. 0x0
  109. pushInt. 0x3f800000
  110. pushInt. script_22
  111. callFunc 0x3 #call new animation
  112.  
  113. loc_108:
  114. pushInt. 0x7
  115. pushInt. 0x1
  116. pushInt. 0x11000007
  117. sys 0x3, 0x16 #set "stage" to 1
  118.  
  119. loc_11A:
  120. else loc_1C9
  121.  
  122. loc_11F: #branches here if "stage" is not Attack100Start
  123. pushVar. 0x0, 0x0
  124. pushInt. 0x1
  125. equals.
  126. if loc_196 #if "stage" is Attack100
  127. pushInt. 0x1
  128. sys. 0x1, 0x30
  129. not.
  130. if loc_148 #if fighter is not in hitlag(?)
  131. try loc_148
  132. pushInt. script_338
  133. callFunc 0x0
  134.  
  135. loc_148:
  136. pushInt. script_338
  137. setVar 0x1, 0x10 #set 338 as an additional loop
  138. pushInt. 0x10
  139. pushInt. 0x21000015
  140. sys. 0x2, 0x16 #when this flag is off, calls the "Attack100End" animation
  141. not.
  142. if loc_191
  143. try loc_17F
  144. pushInt. 0x55
  145. pushInt. 0x0
  146. pushInt. 0x3f800000
  147. pushInt. script_22
  148. callFunc 0x3
  149.  
  150. loc_17F:
  151. pushInt. 0x7
  152. pushInt. 0x2
  153. pushInt. 0x11000007
  154. sys 0x3, 0x16 #set "stage" to "Attack100End"
  155.  
  156. loc_191:
  157. else loc_1C9
  158.  
  159. loc_196: #branches here if "stage" is not Attack100 (Attack100End)
  160. pushInt. 0x2712
  161. sys. 0x1, 0x12
  162. if loc_1C9 #if animation ended
  163. pushVar. 0x1, 0x12
  164. pushInt. 0x0
  165. equals. #if grounded
  166. if loc_1C9
  167. try loc_1C8
  168. pushInt. 0x0
  169. pushInt. 0x0
  170. pushInt. script_16
  171. callFunc 0x2 #call "wait" action
  172.  
  173. loc_1C8:
  174. return_7
  175.  
  176. loc_1C9:
  177. end
  178. ----------------------------------------------------------------
  179. script_338:
  180.  
  181. begin 0x0, 0x0
  182. pushInt. 0x2710
  183. pushInt. 0x0
  184. sys. 0x2, 0xe
  185. ifNot loc_29
  186. pushInt. 0x2711
  187. pushInt. 0x0
  188. sys. 0x2, 0xe
  189. if loc_33
  190.  
  191. loc_29:
  192. pushInt. 0x1
  193. else loc_38
  194.  
  195. loc_33:
  196. pushInt. 0x0
  197.  
  198. loc_38:
  199. if loc_4A
  200. pushInt. 0x2710
  201. pushInt. 0x21000010
  202. sys 0x2, 0x16
  203.  
  204. loc_4A:
  205. pushInt. 0x10
  206. pushInt. 0x21000018
  207. sys. 0x2, 0x16
  208. if loc_C3
  209. pushInt. 0x10
  210. pushInt. 0x21000016
  211. sys. 0x2, 0x16
  212. if loc_BE
  213. pushInt. 0x2711
  214. pushInt. 0x21000016
  215. sys 0x2, 0x16
  216. pushInt. 0x10
  217. pushInt. 0x21000010
  218. sys. 0x2, 0x16
  219. if loc_9F
  220. pushInt. 0x2711
  221. pushInt. 0x21000010
  222. sys 0x2, 0x16
  223. else loc_BE
  224.  
  225. loc_9F:
  226. pushInt. 0x2713
  227. pushInt. 0x0
  228. sys. 0x2, 0xe
  229. if loc_BE
  230. pushInt. 0x2711
  231. pushInt. 0x21000015
  232. sys 0x2, 0x16
  233.  
  234. loc_BE:
  235. else loc_DD
  236.  
  237. loc_C3:
  238. pushInt. 0xb
  239. sys. 0x1, 0x12
  240. if loc_DD
  241. pushInt. 0x2710
  242. pushInt. 0x21000018
  243. sys 0x2, 0x16
  244.  
  245. loc_DD:
  246. pushInt. 0x10
  247. pushInt. 0x21000021
  248. sys. 0x2, 0x16
  249. if loc_146
  250. pushInt. 0x2711
  251. pushInt. 0x21000021
  252. sys 0x2, 0x16
  253. pushInt. 0x6
  254. pushInt. 0x11000004
  255. sys. 0x2, 0x16
  256. pushInt. 0x0
  257. greater.
  258. if loc_146
  259. pushInt. 0xa
  260. pushInt. 0x11000004
  261. sys 0x2, 0x16
  262. pushInt. 0x6
  263. pushInt. 0x11000004
  264. sys. 0x2, 0x16
  265. pushInt. 0x0
  266. equals.
  267. if loc_146
  268. pushInt. 0x2711
  269. pushInt. 0x21000015
  270. sys 0x2, 0x16
  271.  
  272. loc_146:
  273. end
Add Comment
Please, Sign In to add comment