;---------------------------------------; ; arrow shot [StateDef 1000] type = S movetype= I physics = S juggle = 4 ctrl = 0 velset = 0,0 anim = 1000 [State 0, Explod] type = varset trigger1 = time = 0 v = 11 value = 0 [State 0, Explod] type = varset triggerall = time = 0 trigger1 = random%7 = 0 trigger2 = AILevel > 6 && random%21 < AILevel trigger3 = p2statetype = A && p2movetype = H && prevstateno = [200,221] v = 11 value = 1 [State 1200, ZappySound] type = PlaySnd trigger1 = AnimElem = 3 value = 4, 4 volumescale = 150 [State 0, Explod] type = Explod trigger1 = time = 0 anim = 1001 + 4*(var(11) = 1) bindtime = -1 removetime = -2 scale = const(size.xscale), const(size.yscale) sprpriority = 2 ownpal = 1 removeongethit = 1 ;ignorehitpause = ;persistent = [State 0, Explod] type = statetypeset trigger1 = animelem = 5 movetype = A [State 0, Helper] type = Helper trigger1 = animelem = 6 helpertype = normal stateno = 1010 + 2*(var(11) = 1) pos = 86*const(size.xscale),-90*const(size.yscale) postype = p1 ownpal = 1 size.xscale = 0.8 size.yscale = 0.8 [State 1200, 10] type = posadd trigger1 = AnimTime = 0 x = -10 [State 1200, 10] type = ChangeState trigger1 = AnimTime = 0 ctrl = 1 value = 0 [StateDef 1010]; green arrow type = A movetype= A physics = N juggle = 4 ctrl = 0 velset = 10,0 anim = 1002 sprpriority = 2 [State 0, Explod] type = varset trigger1 = time = 0 v = 11 value = 0 [State 1200, BoltFat] type = hitdef trigger1 = !movecontact attr = S, NP p2stateno = 21238 air.animtype = back damage = 160, 30 guardflag = HL sparkno = -1 sparkxy = 20, 0 guard.sparkno = -1 hitsound = -1 guardsound = s20,4 air.velocity = -3.5,-6 air.fall = 1 fall.recover = 0 air.juggle = 3 yaccel = 0.5 guard.dist = 100 p2facing = 1 kill = (root,Var(9) = 0) fall.kill = (root,Var(9) = 0) guard.kill = (root,Var(9) = 0) [State 1200, ZappySound] type = PlaySnd trigger1 = moveguarded value = 20, 2 ignorehitpause = 1 persistent = 0 [State 1200, ZappySound] type = PlaySnd trigger1 = movehit value = 14, 0 volumescale = 85 ignorehitpause = 1 persistent = 0 [State 1200, 10] type = ChangeState trigger1 = movecontact value = 1011 [State 1200, 10] type = assertspecial trigger1 = 1 flag = noshadow ignorehitpause = 1 [State 1200, 10] type = destroyself trigger1 = frontedgedist < -100 [StateDef 1011]; arrow hits type = A movetype= A physics = N juggle = 4 ctrl = 0 velset = 0,0 sprpriority = 4 [State 1200, 10] type = Changeanim trigger1 = time = 0 value = anim + 1 [State 1200, 10] type = posadd trigger1 = time = 0 x = 10 [State 1200, 10] type = assertspecial trigger1 = 1 flag = noshadow ignorehitpause = 1 [State 1200, 10] type = targetvelset trigger1 = target,stateno = 21239 x = -4*ifelse(target,vel x <= 0, 1, -1) ignorehitpause = 1 [State 1200, 10] type = destroyself trigger1 = animtime = 0 [StateDef 1012]; red arrow type = A movetype= A physics = N juggle = 4 ctrl = 0 velset = 11,0 anim = 1006 sprpriority = 2 [State 1200, BoltFat] type = hitdef trigger1 = !movecontact attr = S, NP p2stateno = 21238 air.animtype = back damage = 180, 30 guardflag = HL sparkno = -1 sparkxy = 20, 0 guard.sparkno = -1 hitsound = -1 guardsound = s20,4 air.velocity = -3.5,-6 air.fall = 1 fall.recover = 0 air.juggle = 3 guard.dist = 110 yaccel = 0.45 kill = (root,Var(9) = 0) fall.kill = (root,Var(9) = 0) guard.kill = (root,Var(9) = 0) p2facing = 1 [State 1200, ZappySound] type = PlaySnd trigger1 = moveguarded value = 20, 2 ignorehitpause = 1 persistent = 0 [State 1200, ZappySound] type = PlaySnd trigger1 = movehit value = 14, 0 volumescale = 85 ignorehitpause = 1 persistent = 0 [State 1200, 10] type = ChangeState trigger1 = movecontact value = 1011 [State 1200, 10] type = assertspecial trigger1 = 1 flag = noshadow ignorehitpause = 1 [State 1200, 10] type = destroyself trigger1 = frontedgedist < -100 [StateDef 1110]; green arrow flies back type = A movetype= A physics = N juggle = 4 ctrl = 0 velset = 0,0 anim = 1002 sprpriority = 2 [State 0, Explod] type = varset trigger1 = time = 0 v = 11 value = ifelse(var(11) = 1, 0, 1) persistent = 0 [State 1200, 10] type = changeanim trigger1 = time = 0 value = anim elem = 2 [State 1200, 10] type = turn trigger1 = time = 0 [State 1200, 10] type = posadd trigger1 = time = 0 x = 20 [State 1200, 10] type = velset trigger1 = time > 0 x = 10 [State 0, Explod] type = playsnd trigger1 = var(11) = 1 && rootdist x < 30 && root,stateno = 1300 && root,animelemno(0) = 3 value = 20,5 volumescale = 200 persistent = 0 [State 1200, 10] type = changestate trigger1 = var(11) = 1 && rootdist x < 30 && root,stateno = 1300 && root,animelemno(0) = 3 value = 1999 [State 1200, BoltFat] type = hitdef trigger1 = time > 3 && !movecontact && var(11) = 1 attr = S, HP affectteam = F p2stateno = 21238 air.animtype = back damage = 160, 30 guardflag = HL sparkno = -1 sparkxy = 20, 0 guard.sparkno = -1 hitsound = -1 guardsound = s20,4 air.velocity = -3.5,-6 air.fall = 1 fall.recover = 0 air.juggle = 3 yaccel = 0.5 guard.dist = 100 kill = (enemy,Var(9) = 0) fall.kill = (enemy,Var(9) = 0) guard.kill = (enemy,Var(9) = 0) p2facing = 1 [State 1200, BoltFat] type = hitdef trigger1 = time > 3 && !movecontact && var(11) = 0 attr = S, NP p2stateno = 21238 air.animtype = back damage = 160, 30 guardflag = HL sparkno = -1 sparkxy = 20, 0 guard.sparkno = -1 hitsound = -1 guardsound = s20,4 air.velocity = -3.5,-6 air.fall = 1 fall.recover = 0 air.juggle = 3 yaccel = 0.5 guard.dist = 100 kill = (root,Var(9) = 0) fall.kill = (root,Var(9) = 0) guard.kill = (root,Var(9) = 0) p2facing = 1 [State 1200, ZappySound] type = PlaySnd trigger1 = moveguarded value = 20, 2 ignorehitpause = 1 persistent = 0 [State 1200, ZappySound] type = PlaySnd trigger1 = movehit value = 14, 0 volumescale = 85 ignorehitpause = 1 persistent = 0 [State 1200, 10] type = ChangeState trigger1 = movecontact value = 1011 [State 1200, 10] type = assertspecial trigger1 = 1 flag = noshadow ignorehitpause = 1 [State 1200, 10] type = destroyself trigger1 = frontedgedist < -100 [StateDef 1112]; red arrow flies back type = A movetype= A physics = N juggle = 4 ctrl = 0 velset = 0,0 anim = 1006 sprpriority = 2 [State 0, Explod] type = varset trigger1 = time = 0 v = 11 value = ifelse(var(11) = 1, 0, 1) persistent = 0 [State 1200, 10] type = turn trigger1 = time = 0 [State 1200, 10] type = posadd trigger1 = time = 0 x = 20 [State 1200, 10] type = velset trigger1 = time > 0 x = 11 [State 1200, 10] type = changeanim trigger1 = time = 0 value = anim elem = 2 [State 0, Explod] type = playsnd trigger1 = var(11) = 1 && rootdist x < 30 && root,stateno = 1300 && root,animelemno(0) = 3 value = 20,5 volumescale = 200 persistent = 0 [State 1200, 10] type = changestate trigger1 = var(11) = 1 && rootdist x < 30 && root,stateno = 1300 && root,animelemno(0) = 3 value = 1999 [State 1200, BoltFat] type = hitdef trigger1 = time > 3 && !movecontact && var(11) = 1 attr = S, HP p2stateno = 21238 air.animtype = back damage = 180, 30 guardflag = HL sparkno = -1 sparkxy = 20, 0 affectteam = F guard.sparkno = -1 hitsound = -1 guardsound = s20,4 air.velocity = -4,-5 air.fall = 1 fall.recover = 0 air.juggle = 3 yaccel = 0.5 guard.dist = 110 kill = (enemy,Var(9) = 0) fall.kill = (enemy,Var(9) = 0) guard.kill = (enemy,Var(9) = 0) p2facing = 1 [State 1200, BoltFat] type = hitdef trigger1 = time > 3 && !movecontact && var(11) = 0 attr = S, NP p2stateno = 21238 air.animtype = back damage = 180, 30 guardflag = HL sparkno = -1 sparkxy = 20, 0 guard.sparkno = -1 hitsound = -1 guardsound = s20,4 air.velocity = -4,-5 air.fall = 1 fall.recover = 0 air.juggle = 3 yaccel = 0.5 guard.dist = 110 kill = (root,Var(9) = 0) fall.kill = (root,Var(9) = 0) guard.kill = (root,Var(9) = 0) p2facing = 1 [State 1200, ZappySound] type = PlaySnd trigger1 = movehit value = 14, 0 volumescale = 85 ignorehitpause = 1 persistent = 0 [State 1200, ZappySound] type = PlaySnd trigger1 = moveguarded value = 20, 2 ignorehitpause = 1 persistent = 0 [State 1200, 10] type = ChangeState trigger1 = movecontact value = 1011 [State 1200, 10] type = assertspecial trigger1 = 1 flag = noshadow ignorehitpause = 1 [State 1200, 10] type = destroyself trigger1 = frontedgedist < -100 ;---------------------------------------; ;Hatchet [StateDef 1100] type = S movetype= A physics = S juggle = 4 velset = 0,0 ctrl = 0 anim = 1100 [State 0, Explod] type = varset trigger1 = time = 0 v = 11 value = 0 [State 0, Explod] type = varset triggerall = time = 0 trigger1 = prevstateno = 2002 v = 11 value = 1 [State 1200, ZappySound] type = PlaySnd trigger1 = AnimElem = 3 value = 4, 14 volumescale = 120 [State 1200, ZappySound] type = PlaySnd trigger1 = movehit value = 20, 2 ignorehitpause = 1 persistent = 0 [State 1200, ZappySound] type = PlaySnd trigger1 = moveguarded value = 20, 3 ignorehitpause = 1 persistent = 0 [State 0, Explod] type = Explod trigger1 = animelem = 2 anim = 1101 + (var(11) = 1) bindtime = -1 removetime = -2 scale = const(size.xscale), const(size.yscale) sprpriority = 2 ownpal = 1 removeongethit = 1 ;ignorehitpause = ;persistent = [State 13130, BoltFat] type = HitDef trigger1 = !movecontact attr = S, NA damage = 180-90*(prevstateno = 2002), 30 animtype = Back hitflag = MAF ;HAF guardflag = HL pausetime = 0,2 sparkno = -1 sparkxy = -18,-100 guard.sparkno = -1 hitsound = s20,4 p2facing = 1 guardsound = s20,4 ground.cornerpush.veloff = -20 ground.type = High guard.ctrltime = 20 guard.slidetime = 20 ground.slidetime = 20 ground.hittime = 20 ground.velocity = -1,-8 air.velocity = -1,-8 yaccel = 0.375 envshake.time = 15 envshake.freq = 70 envshake.ampl = 7 fall.recover = 0 kill = (Var(9) = 0) fall.kill = (Var(9) = 0) guard.kill = (Var(9) = 0) [State 2, Upperblood] type = Helper trigger1 = numhelper(28) < 1 trigger1 = movehit ID = 28 stateno = 28 pos = 0, 0 postype = p1 persistent = 0 ignorehitpause = 1 [State 0, TargetVelSet] type = TargetVelSet trigger1 = moveguarded = [1,12] trigger1 = p2stateno = [150,159] x = -2 persistent = 1 ignorehitpause = 1 [State 1200, 10] type = ChangeState trigger1 = AnimTime = 0 ctrl = 1 value = 0 ;---------------------------------------; ;tackle - green [StateDef 1200] type = S movetype= A physics = S juggle = 4 ctrl = 0 anim = 1200 [State 1000, Bounf] type = velset trigger1 = time <= 3 x = 0.5 [State 1100, aAccell] type = Velset trigger1 = Time > 3 && time < 14 && movecontact = 0 x = 9 [State 1000, bber] type = PlaySnd trigger1 = Time = 0 value = 4, 18 volumescale = 200 [State 1000, 10] type = HitDef trigger1 = !movecontact attr = S, SA animtype = back damage = 240, 40 guardflag = HL hitflag = MAF pausetime = 10,2 sparkno = -1 guard.sparkno = -1 hitsound = 5,0 guardsound = 5,14 ground.type = High ground.slidetime = 12 ground.hittime = 12 ground.velocity = -4,-3 air.velocity = -4,-3 air.hittime = 12 yaccel = 0.375 fall = 1 fall.recover = 0 kill = (Var(9) = 0) fall.kill = (Var(9) = 0) guard.kill = (Var(9) = 0) [State 0, Helper] type = Helper trigger1 = time%6 = 0 && time < 16 && movecontact = 0 helpertype = normal stateno = 1201 postype = p1 ownpal = 1 size.xscale = 1.06 size.yscale = 1.06 [State 1000, Bounf] type = velset trigger1 = Movecontact = 1 x = 0 ignorehitpause = 1 [State 1000, Bounf] type = targetvelset trigger1 = Moveguarded && enemy,hitover = 0 x = -2 ignorehitpause = 1 [State 1000, BounceOff] type = ChangeState trigger1 = AnimTime = 0 ctrl = 1 value = 0 ;tackle - red [StateDef 1250] type = S movetype= A physics = S juggle = 4 ctrl = 0 anim = 1200 [State 1000, Bounf] type = velset trigger1 = time <= 3 x = 1 [State 1100, aAccell] type = Velset trigger1 = Time > 3 && time < 17 && movecontact = 0 x = 10 [State 1000, bber] type = PlaySnd trigger1 = Time = 0 value = 4, 18 volumescale = 200 [State 1000, 10] type = HitDef trigger1 = !movecontact attr = S, SA animtype = back damage = 240, 40 guardflag = HL hitflag = MAF pausetime = 10,2 sparkno = -1 guard.sparkno = -1 hitsound = 5,0 guardsound = 5,14 ground.type = High ground.slidetime = 12 ground.hittime = 12 ground.velocity = -4,-3 air.velocity = -4,-3 air.hittime = 12 yaccel = 0.375 fall = 1 fall.recover = 0 kill = (Var(9) = 0) fall.kill = (Var(9) = 0) guard.kill = (Var(9) = 0) [State 0, Helper] type = Helper trigger1 = time%5 = 0 && time < 14 && movecontact = 0 helpertype = normal stateno = 1201 postype = p1 ownpal = 1 size.xscale = 1.06 size.yscale = 1.06 [State 1000, Bounf] type = velset trigger1 = Movecontact = 1 x = 0 ignorehitpause = 1 [State 1000, Bounf] type = targetvelset trigger1 = Moveguarded && enemy,hitover = 0 x = -2 ignorehitpause = 1 [State 1000, BounceOff] type = ChangeState trigger1 = AnimTime = 0 ctrl = 1 value = 0 [StateDef 1201] type = S movetype= I physics = S ctrl = 0 velset = 0,0 anim = 888 sprpriority = -2 [State 3100, Super D] type = varset trigger1 = time = 0 v = 11 value = root,anim [State 3100, Super D] type = varset trigger1 = time = 0 v = 12 value = root,animelemno(0) [State 3100, Super D] type = varset trigger1 = time = 0 && root,stateno = 1250 v = 13 value = 1 [State 1000, Accellw] type = nothitby trigger1 = 1 value = SCA [State 1000, Accellw] type = playerpush trigger1 = 1 value = 0 [State 1000, Accellw] type = changeanim trigger1 = 1 value = var(11) elem = var(12) [State 1000, Accellw] type = trans trigger1 = 1 trans = add [State 1000, Accellw] type = assertspecial trigger1 = 1 flag = noshadow [State 1000, Accellw] type = palfx trigger1 = time < 30 && var(13) = 0 add = -255,8,-255 sinadd = 0,-260,0,120 color = 0 time = 30 [State 1000, Accellw] type = palfx trigger1 = time < 30 && var(13) = 1 add = 16,-255,-255 sinadd = -260,0,0,120 color = 0 time = 30 [State 1001, 10] type = destroyself trigger1 = time = 50 ;---------------------------------------; ; fireball reflector [StateDef 1300] type = S movetype= A physics = S ctrl = 0 SprPriority = 0 [State 1300, chg] trigger1 = time = 0 && anim != 1300 type = changeanim value = 1300 [State 1300, sonido] type = Playsnd trigger1 = anim = 1300 && animelem = 2 value = 4, 12 [State 0, Explod] type = Explod trigger1 = anim = 1300 && animelem = 2 anim = 1301 bindtime = -1 removetime = -2 scale = const(size.xscale), const(size.yscale) sprpriority = 1 ownpal = 1 removeongethit = 1 ;ignorehitpause = ;persistent = [State 0, HitOverride] type = nothitby trigger1 = animelemno(0) = 3 value = ,AP time = 1 ignorehitpause = 1 persistent = 1 [State 0, ReversalDef] type = ReversalDef trigger1 = 1 reversal.attr = SCA,AP;NA,SA,HA,NP,SP,HP sparkno = -1 p1stateno = 1301 p2stateno = 1999 numhits = 0 p2getp1state = 0 [State 1000, BounceOff] type = ChangeState trigger1 = animtime = 0 value = 0 ctrl = 1 ;---------------------------------- [StateDef 1301] type = S movetype= I physics = S ctrl = 0 [State 0, Explod] type = playsnd trigger1 = time = 0 value = 20,5 volumescale = 200 [State 0, Explod] type = Explod trigger1 = time = 0 anim = 1302 bindtime = 6 vel = 2,-1 removetime = -2 scale = const(size.xscale), const(size.yscale) sprpriority = 2 ownpal = 1 removeongethit = 1 [State 1000, BounceOff] type = selfState trigger1 = time = 5 value = 1300 [StateDef 1999] type = U movetype= H physics = N ctrl = 0 [State 1000, BounceOff] type = selfState trigger1 = prevstateno != 1999 value = 1999 [State 1000, BounceOff] type = selfState trigger1 = anim = 1002 value = 1110 [State 1000, BounceOff] type = selfState trigger1 = anim = 1006 value = 1112 [State 1000, BounceOff] type = destroyself trigger1 = ishelper && root,stateno >= 0 [State 1000, BounceOff] type = selfState trigger1 = time = 30 || animtime = 0 value = 0 ctrl = 1