Advertisement
Baby_Desu

1400 stand's body não funcionando

Jan 25th, 2022 (edited)
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.47 KB | None | 0 0
  1. ;-------------------------------------------------------------------------------
  2. ; Stand Body (Colision)
  3. [Statedef 297]
  4. type = A
  5. movetype= H
  6. physics = N
  7. juggle = 1
  8. velset = 0,0
  9. ctrl = 0
  10. anim = 297
  11.  
  12. [State 0]
  13. type = PlayerPush
  14. trigger1 = 1
  15. value = 1
  16.  
  17. [State 0]
  18. type = BindToParent
  19. trigger1 = numhelper(305) >= 1
  20. pos = 0,0
  21.  
  22. [State 0]
  23. type = Turn
  24. trigger1 = facing != root,facing
  25.  
  26. [State 0]
  27. type = Width
  28. trigger1 = 1
  29. player = 15,15
  30.  
  31. [State 0]
  32. type = HitOverride
  33. trigger1 = 1
  34. attr = SCA,NA,SA,HA,NP,SP,HP,NT,ST,HT
  35. stateno = 297
  36. time = 9999999
  37. ignorehitpause = 1
  38.  
  39. [State 0]
  40. type = AssertSpecial
  41. trigger1 = 1
  42. flag = Invisible
  43. Flag2 = Noshadow
  44.  
  45. [State 0]
  46. type = VarAdd
  47. trigger1 = time = 0
  48. v = 1
  49. value = gethitvar(damage)
  50.  
  51. [State 0]
  52. type = changestate
  53. trigger1 = numhelper(305) = 0
  54. value = 298
  55. ignorehitpause = 1
  56.  
  57. ;------------------------------------------------------------------------------------------------------------------------
  58. [Statedef 298]
  59. type = A
  60. movetype= I
  61. physics = N
  62. juggle = 1
  63. ctrl = 0
  64. anim = 9999
  65. poweradd = 0
  66. sprpriority = 3
  67.  
  68. [State 0]
  69. type = DestroySelf
  70. trigger1 = time > 5
  71.  
  72. ;-------------------------------------------------------------------------------
  73. ; Skill - 5 User
  74. [Statedef 1400]
  75. type = S
  76. movetype = A
  77. physics = S
  78. juggle = 1
  79. velset = 0,0
  80. ctrl = 0
  81. anim = 1400
  82. poweradd = -500
  83. sprpriority = 2
  84.  
  85. [State 0]
  86. type = PlaySnd
  87. trigger1 = !Time
  88. value = S0,12
  89. [State 0]
  90. type = PlaySnd
  91. trigger1 = !Time
  92. value = S0,12
  93.  
  94. [state 0]
  95. type = helper
  96. trigger1 = !time
  97. stateno = 8050
  98. id = 8050
  99. pos = 0, 0
  100. postype = p1
  101. ownpal = 1
  102. supermovetime = 999
  103. pausemovetime = 999
  104.  
  105. [state 0]
  106. type = helper
  107. trigger1 = time % 10 = 0
  108. stateno = 8060
  109. id = 8060
  110. pos = 0, 0
  111. postype = p1
  112. supermovetime = 999
  113. pausemovetime = 999
  114.  
  115. [state 0]
  116. type = explod
  117. trigger1 = (pos y = 0) && (time % 12 = 0) && (animelem = 1)
  118. anim = 8120
  119. id = 8120
  120. pos = -10,2
  121. postype = p1
  122. facing = 1
  123. bindtime = 1
  124. removetime = -2
  125. sprpriority = 0
  126. scale = .15,.2
  127. angle = 0
  128. ownpal = 1
  129. remappal = 3,0
  130. removeongethit = 1
  131. ignorehitpause = 1
  132. supermovetime = 999
  133. pausemovetime = 999
  134. vel = -1,0
  135. trans = sub
  136. [state 0]
  137. type = explod
  138. trigger1 = (pos y = 0) && (time % 12 = 0) && (animelem = 1)
  139. anim = 8120
  140. id = 8120
  141. pos = -10,2
  142. postype = p1
  143. facing = 1
  144. bindtime = 1
  145. removetime = -2
  146. sprpriority = 3
  147. scale = .15,.2
  148. angle = 0
  149. ownpal = 1
  150. remappal = 3,2
  151. removeongethit = 1
  152. ignorehitpause = 1
  153. supermovetime = 999
  154. pausemovetime = 999
  155. vel = -1,0
  156.  
  157. [state 0]
  158. type = explod
  159. trigger1 = (pos y = 0) && (time % 12 = 0) && (animelem = 1)
  160. anim = 8120
  161. id = 8120
  162. pos = 10,-2
  163. postype = p1
  164. facing = -1
  165. bindtime = 1
  166. removetime = -2
  167. sprpriority = 0
  168. scale = .15,.2
  169. angle = 0
  170. ownpal = 1
  171. remappal = 3,0
  172. removeongethit = 1
  173. ignorehitpause = 1
  174. supermovetime = 999
  175. pausemovetime = 999
  176. vel = 1,0
  177. trans = sub
  178. [state 0]
  179. type = explod
  180. trigger1 = (pos y = 0) && (time % 12 = 0) && (animelem = 1)
  181. anim = 8120
  182. id = 8120
  183. pos = 10, -2
  184. postype = p1
  185. facing = -1
  186. bindtime = 1
  187. removetime = -2
  188. sprpriority = 1
  189. scale = .15,.2
  190. angle = 0
  191. ownpal = 1
  192. remappal = 3,2
  193. removeongethit = 1
  194. ignorehitpause = 1
  195. supermovetime = 999
  196. pausemovetime = 999
  197. vel = 1,0
  198.  
  199. [State 0]
  200. type = PalFX
  201. triggerall = prevstateno != [300,320]
  202. trigger1 = time = 5
  203. time = 10
  204. add = 100,150,100
  205. mul = 200,256,200
  206. sinadd = 0,0,0,1
  207. invertall = 0
  208. color = 256
  209. [State 0]
  210. type = helper
  211. triggerall = prevstateno != [300,320]
  212. trigger1 = time = 5 && numhelper(700) = 0
  213. name = "Aura FX"
  214. ID = 900
  215. stateno = 900
  216. pos = 0,0
  217. postype = P1
  218. facing = 1
  219. ownpal = 1
  220. supermovetime = 99999
  221. pausemovetime = cond(var(50)>0,999999,0)
  222.  
  223. [State 0]
  224. type = Helper
  225. trigger1 = numhelper(305) = 0
  226. trigger1 = numhelper(1405) = 0
  227. trigger1 = time = 5
  228. name = "HG"
  229. ID = 1405
  230. stateno = 1405
  231. pos = -5,-5
  232. postype = p1
  233. ownpal = 1
  234. supermovetime = 9999
  235.  
  236. [State 0]
  237. type = ChangeState
  238. triggerall = time >= 30
  239. trigger1 = ailevel = 0 && Command != "hold_c"
  240. trigger2 = ailevel > 0 && p2bodydist x < 100
  241. trigger3 = ailevel > 0 && p2bodydist x >= 100 && p2bodydist x < 300 && time >= 30 +random % 60
  242. trigger4 = time = 80
  243. value = 1401
  244.  
  245. ;-------------------------------------------------------------------------------
  246. ; Skill - 5 User Releasing
  247. [Statedef 1401]
  248. type = S
  249. movetype = A
  250. physics = S
  251. juggle = 1
  252. velset = 0,0
  253. ctrl = 0
  254. anim = 1401
  255. sprpriority = 2
  256.  
  257. [State 0]
  258. type = PlaySnd
  259. trigger1 = !Time
  260. value = S0,13
  261. [State 0]
  262. type = PlaySnd
  263. trigger1 = !Time
  264. value = S0,13
  265.  
  266. [State 0]
  267. type = ChangeState
  268. trigger1 = Time >= 130
  269. value = 0
  270. ctrl = 1
  271.  
  272. ;-------------------------------------------------------------------------------
  273. ; Skill - 5 HG
  274. [Statedef 1405]
  275. type = S
  276. movetype = A
  277. physics = S
  278. juggle = 1
  279. velset = 0,0
  280. anim = 1405
  281. sprpriority = 4
  282.  
  283. [State 0]
  284. type = PlaySnd
  285. triggerall = prevstateno != [305,325]
  286. trigger1 = !Time
  287. value = S400,9
  288. [State 0]
  289. type = PlaySnd
  290. triggerall = prevstateno != [305,325]
  291. trigger1 = !Time
  292. value = S400,9
  293. [State 0]
  294. type = PlaySnd
  295. triggerall = prevstateno != [305,325]
  296. trigger1 = !Time
  297. value = S400,9
  298. [State 0]
  299. type = PlaySnd
  300. triggerall = prevstateno != [305,325]
  301. trigger1 = !Time
  302. value = S400,9
  303.  
  304. [State 0]
  305. type = VelSet
  306. triggerall = prevstateno != [305,325]
  307. triggerall = numhelper(305) = 1
  308. trigger1 = !time
  309. x = 6
  310. [State 0]
  311. type = VelSet
  312. triggerall = prevstateno = [305,325]
  313. triggerall = numhelper(305) = 1
  314. trigger1 = !time
  315. x = 4
  316. [State 0]
  317. type = VelSet
  318. trigger1 = time < 5
  319. x = 4
  320. [State 0]
  321. type = VelSet
  322. trigger1 = frontedgedist < 30
  323. x = .1
  324.  
  325. [State 0]
  326. type = Helper
  327. triggerall = numhelper(297) = 0
  328. trigger1 = !time
  329. name = "Stand Body (Colision)"
  330. ID = 297
  331. stateno = 297
  332. pos = 0,0
  333. postype = p1
  334. facing = 1
  335. ownpal = 1
  336. supermovetime = 999
  337. pausemovetime = cond(root,var(50)>0,999999,0)
  338.  
  339. [state 0]
  340. type = explod
  341. trigger1 = time >= 10 && timemod = 10,0
  342. anim = 1430
  343. id = 1430
  344. pos = -1,-36
  345. postype = p1
  346. facing = 1
  347. bindtime = 1
  348. removetime = -2
  349. sprpriority = 4
  350. ontop = 1
  351. scale = .25,.25
  352. angle = 0
  353. ownpal = 1
  354. remappal = 1430,2
  355. trans = add
  356. removeongethit = 1
  357. ignorehitpause = 1
  358. supermovetime = 999
  359. pausemovetime = 999
  360. [state 0]
  361. type = explod
  362. trigger1 = time >= 10 && timemod = 10,0
  363. anim = 1430
  364. id = 1430
  365. pos = -1,-36
  366. postype = p1
  367. facing = 1
  368. bindtime = 1
  369. removetime = -2
  370. sprpriority = 4
  371. scale = .25,.25
  372. angle = 1
  373. ownpal = 1
  374. remappal = 1430,0
  375. trans = sub
  376. removeongethit = 1
  377. ignorehitpause = 1
  378. supermovetime = 999
  379. pausemovetime = 999
  380.  
  381. [State 0]
  382. type = RemoveExplod
  383. trigger1 = root,stateno = 1401
  384. id = 1430
  385.  
  386. [state 0]
  387. type = helper
  388. trigger1 = time >= 10 && timemod = 15,0
  389. name = "Emerald Splash Charging FX"
  390. stateno = 1407
  391. id = 1407
  392. pos = 0,0
  393. postype = p1
  394. ownpal = 1
  395. size.xscale = .1
  396. size.yscale = .1
  397. ignorehitpause = 1
  398.  
  399. [State 0]
  400. type = Trans
  401. triggerall = prevstateno != [305,325]
  402. trigger1 = time < 5
  403. trans = addalpha
  404. alpha = 0 +time * 25,256 -time * 25
  405.  
  406. [State 0]
  407. type = ChangeState
  408. trigger1 = root,stateno = 1401
  409. value = 1406
  410.  
  411. [State 0]
  412. type = ChangeState
  413. trigger1 = root,stateno != 1400
  414. value = 299
  415.  
  416. ;-------------------------------------------------------------------------------
  417. ; Skill - 5 HG Releasing
  418. [Statedef 1406]
  419. type = S
  420. movetype = A
  421. physics = S
  422. juggle = 1
  423. velset = 0,0
  424. anim = 1406
  425. sprpriority = 4
  426.  
  427. [State 0]
  428. type = PlaySnd
  429. trigger1 = time = 5
  430. value = S400,2
  431. [State 0]
  432. type = PlaySnd
  433. trigger1 = time = 5
  434. value = S400,2
  435.  
  436. [State 0]
  437. type = PlaySnd
  438. trigger1 = timemod = 5,0 && time = [5,85]
  439. value = S400,3
  440. [State 0]
  441. type = PlaySnd
  442. trigger1 = timemod = 5,0 && time = [5,85]
  443. value = S400,3
  444. [State 0]
  445. type = PlaySnd
  446. trigger1 = timemod = 5,0 && time = [7.5,82.5]
  447. value = S400,3
  448. [State 0]
  449. type = PlaySnd
  450. trigger1 = timemod = 5,0 && time = [7.5,82.5]
  451. value = S400,3
  452.  
  453. [State 0]
  454. type = Helper
  455. triggerall = numhelper(297) = 0
  456. trigger1 = !time
  457. name = "Stand Body (Colision)"
  458. ID = 297
  459. stateno = 297
  460. pos = 0,0
  461. postype = p1
  462. facing = 1
  463. ownpal = 1
  464. supermovetime = 999
  465. pausemovetime = cond(root,var(50)>0,999999,0)
  466.  
  467. [state 0]
  468. type = explod
  469. triggerall = time % 5 = 0
  470. trigger1 = time = [5,80]
  471. anim = 8020
  472. id = 8020
  473. pos = 29 +random % 12,-29 -random % 12
  474. postype = p1
  475. facing = 1
  476. bindtime = 1
  477. removetime = -2
  478. sprpriority = 3
  479. ontop = 1
  480. scale = .13,.13
  481. angle = 0
  482. ownpal = 1
  483. remappal = 8020,2
  484. removeongethit = 1
  485. ignorehitpause = 1
  486. supermovetime = 999
  487. pausemovetime = 999
  488.  
  489. [State 0]
  490. type = Helper
  491. triggerall = timemod = 5,0
  492. trigger1 = time = [5,85]
  493. name = "Emerald FX"
  494. ID = 1410
  495. stateno = 1410
  496. pos = 28 +random % 12,-30 -random % -14
  497. postype = p1
  498. ownpal = 1
  499. facing = 1
  500. size.xscale = .055
  501. size.yscale = .055
  502.  
  503. [State 0]
  504. type = Helper
  505. triggerall = timemod = 5,0
  506. trigger1 = time = [7.5,82.5]
  507. name = "Emerald FX"
  508. ID = 1410
  509. stateno = 1410
  510. pos = 28 +random % 12,-30 -random % -14
  511. postype = p1
  512. ownpal = 1
  513. facing = 1
  514. size.xscale = .055
  515. size.yscale = .055
  516.  
  517. [State 0]
  518. type = ChangeState
  519. trigger1 = time >= 90
  520. value = 299
  521. [State 0]
  522. type = ChangeState
  523. trigger1 = root,movetype = H
  524. value = 299
  525.  
  526. ;-------------------------------------------------------------------------------
  527. ; Skill - 5 Emerald Splash Charging FX
  528. [Statedef 1407]
  529. type = u
  530. anim = 1407
  531. sprpriority = 8
  532.  
  533. [state 0]
  534. type = remappal
  535. trigger1 = 1
  536. source = 1407,0
  537. dest = 1407,2
  538.  
  539. [state 0]
  540. type = varset
  541. trigger1 = !time
  542. v = 1
  543. value = random % 360
  544.  
  545. [State 0]
  546. type = BindToParent
  547. trigger1 = 1
  548. pos = -1,-36
  549.  
  550. [state 0]
  551. type = angledraw
  552. trigger1 = 1
  553. value = var(1)
  554.  
  555. [state 0]
  556. type = explod
  557. trigger1 = !time
  558. anim = anim
  559. id = anim
  560. pos = 0,0
  561. postype = p1
  562. facing = 1
  563. bindtime = -1
  564. removetime = -2
  565. sprpriority = 0
  566. scale = const(size.xscale), const(size.yscale)
  567. angle = var(1)
  568. ownpal = 1
  569. remappal = 1407,0
  570. removeongethit = 1
  571. ignorehitpause = 1
  572. supermovetime = 0
  573. pausemovetime = 0
  574. trans = sub
  575.  
  576. [State 0]
  577. type = RemoveExplod
  578. trigger1 = !animtime
  579. trigger2 = root,stateno = 1401
  580. id = anim
  581.  
  582. [state 0]
  583. type = destroyself
  584. trigger1 = !animtime
  585. trigger2 = root,stateno = 1401
  586.  
  587. ;-------------------------------------------------------------------------------
  588. ; Skill - 5 Emerald FX
  589. [Statedef 1410]
  590. type = S
  591. movetype = A
  592. physics = N
  593. juggle = 2
  594. ctrl = 0
  595. anim = 410
  596. sprpriority = 3
  597.  
  598. [State 0]
  599. type = AngleDraw
  600. trigger1 = 1
  601. value = -vel y * 5
  602.  
  603. [State 0]
  604. type = VelSet
  605. trigger1 = !Time
  606. x = 8
  607. y = -1.5 +random % 3
  608.  
  609. [State 0]
  610. type = HitDef
  611. triggerall = !movecontact
  612. trigger1 = 1
  613. attr = A,NP
  614. animtype = Medium
  615. damage = Var(20) := 6,6
  616. hitflag = MAFD
  617. guardflag = MA
  618. pausetime = 0,3
  619. sparkno = -1
  620. guard.sparkno = -1
  621. sparkxy = 0,0
  622. hitsound = -1
  623. guardsound = S7000,1
  624. ground.type = High
  625. ground.slidetime = 12
  626. ground.hittime = 16
  627. ground.velocity = Cond(Cond(Var(50) = 0,P2BodyDist X < 150,P2BodyDist X < 150),-3,3),-3 ;-2,-.7
  628. air.velocity = Cond(Cond(Var(50) = 0,P2BodyDist X < 150,P2BodyDist X < 150),-3,3),-1.5 ;-2,-.7
  629. Envshake.time = 15
  630. Fall = 1
  631. fall.recover = 0
  632.  
  633. [State 0]
  634. type = Explod
  635. triggerall = time % 5 = 0
  636. trigger1 = time >= 0
  637. anim = 8010
  638. ID = 8010
  639. pos = -10 + random % 30,5 -random % 5
  640. facing = 1
  641. postype = P1
  642. vfacing = 1
  643. bindtime = 1
  644. vel = -1 + (-random % 1),-.5 + (-random % 1)
  645. removetime = -2
  646. scale = .35,.35
  647. remappal = 8010,1 + random % 3
  648. supermovetime = 999
  649. pausemovetime = 999
  650. sprpriority = cond(random < 500,-3,3)
  651. ownpal = 1
  652. ignorehitpause = 1
  653.  
  654. [state 0]
  655. type = helper
  656. trigger1 = moveguarded
  657. stateno = 7000
  658. id = 7000
  659. pos = 15,-25
  660. postype = p2
  661. ownpal = 1
  662. size.xscale = .7
  663. size.yscale = .7
  664. ignorehitpause = 1
  665. persistent = 0
  666.  
  667. [State 0]
  668. type = Changestate
  669. trigger1 = movecontact || frontedgedist < 5 || pos y > -2
  670. value = 413
  671. ignorehitpause = 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement