Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;A BUTTON TRIGGERED PARRY
- ;------------------------------------------------------------
- ---------------------------
- CMD SECTION OF CODE
- ;------------------------------------------------------------
- ---------------------------
- [Command]
- name = "Parry Input"
- command = b+y
- time = 1
- [State -1,Parry window]
- type = changestate
- value = 900
- triggerall = statetype != A && statetype != C
- triggerall = command = "Parry Input"
- trigger1 = ctrl
- trigger1 = statetype = S
- ;------------------------------------------------------------
- ---------------------------
- ;CNS SECTION OF CODE
- ;------------------------------------------------------------
- ---------------
- ;Parry window/Time in which you try to parry
- [Statedef 900]
- type = S
- movetype = A
- physics = S
- velset = 0.0
- ctrl = 0
- anim = 900
- facep2 = 1
- sprpriority = 0
- [State 900,reversaldef]
- type = reversaldef
- reversal.attr = SCA,AA,AP
- trigger1 = animelem = 1
- pausetime = 0,18
- p1stateno = 955
- [State 900,0]
- type = playsnd
- trigger1 = animelem =1
- value = 0,0
- [State 900,1]
- type = playsnd
- trigger1 = animelem = 1
- value = 0,0
- [state 900,2]
- type = statetypeset
- trigger1= animelem = 2
- movetype = I
- [State 900,3]
- type = changestate
- trigger1 = time = 20
- value = 0
- ctrl = 1
- ;------------------------------------------------------------
- ;Parry Success/Player is hit while the reversaldef is active
- [Statedef 955]
- type = S
- movetype = I
- physics = S
- velset = 0,0
- ctrl = 0
- anim = 955
- juggle = 0
- facep2 = 1
- sprpriority = 2
- poweradd = 50
- ;Parry color flash
- [State 955,0]
- type = palfx
- trigger1 = time = 0
- color = 128
- add = 54,105,143
- time = 20
- [State 955, Stop]
- type = posfreeze
- trigger1 = 1
- value = 1
- [State 955,1]
- type = afterimage
- trigger1 = animelem = 1
- time = 20
- length = 20
- [State 955,2]
- type = playsnd
- trigger1 = animelem = 1
- value = 0,0
- [State 955,3]
- type = playsnd
- trigger1 = animelem = 1
- value = 0,0
- [State 955,4]
- type = ctrlset
- trigger1 = animelem =2
- value = 1
- [State 955]
- type = changestate
- trigger1 = animelem = 4
- value = 0
- ctrl = 1
- ;------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement