[Statedef 1000] ;Boomer straight type = S movetype= A physics = S juggle = 2 velset = 0,0 anim = 1110 ctrl = 0 sprpriority = 2 [State 181, DIED] type = playsnd trigger1 = animelem = 2 value = 4,9 volumescale = 120 [State 181, DIED] type = Explod trigger1 = animelem = 2 anim = 1113 scale = const(size.xscale),const(size.yscale) removetime = -2 bindtime = -1 ownpal = 1 sprpriority = 3 removeongethit = 1 [State 0, Helper] type = Helper trigger1 = animelem = 4 helpertype = normal ;player stateno = 1501 ID = 1001 pos = 95*const(size.xscale),-103*const(size.yscale) ownpal = 1 [State 1000, 7] type = ChangeState trigger1 = AnimTime = 0 value = 0 ctrl = 1 [Statedef 1501] ; boomer flies forward - no return type = S movetype= A physics = N juggle = 2 velset = 0,0 anim = 1114 ctrl = 0 sprpriority = 1 [State 1000, 7] type = null trigger1 = time = 0 [State 1000, 7] type = changestate trigger1 = time = 0 value = 1550 [Statedef 1510] ;Boomer up type = S movetype= A physics = S juggle = 2 velset = 0,0 anim = 1111 ctrl = 0 sprpriority = 2 [State 181, DIED] type = playsnd trigger1 = time = 0 value = 4,9 volumescale = 120 [State 181, DIED] type = Explod trigger1 = time = 0 anim = 1113 scale = const(size.xscale),const(size.yscale) removetime = -2 bindtime = -1 ownpal = 1 sprpriority = 3 removeongethit = 1 [State 0, Helper] type = Helper trigger1 = animelem = 3 helpertype = normal ;player stateno = 1511 ID = 1001 pos = 95*const(size.xscale),-103*const(size.yscale) ownpal = 1 [State 1000, 7] type = ChangeState trigger1 = AnimTime = 0 value = 0 ctrl = 1 [Statedef 1511] ; boomer flies upward type = S movetype= A physics = N juggle = 2 velset = 0,0 anim = 1114 ctrl = 0 sprpriority = 1 [State 1000, 7] type = varset trigger1 = time = 0 v = 11 value = -7500 [State 1000, 7] type = changestate trigger1 = time = 0 value = 1550 [Statedef 1520] ;Boomer down type = S movetype= A physics = S juggle = 2 velset = 0,0 anim = 1112 ctrl = 0 sprpriority = 2 [State 181, DIED] type = playsnd trigger1 = animelem = 2 value = 4,9 volumescale = 120 [State 181, DIED] type = Explod trigger1 = animelem = 2 anim = 1113 scale = const(size.xscale),const(size.yscale) removetime = 6 bindtime = -1 ownpal = 1 sprpriority = 3 removeongethit = 1 [State 0, Helper] type = Helper trigger1 = animelem = 4 helpertype = normal ;player stateno = 1521 ID = 1001 pos = 95*const(size.xscale),-73*const(size.yscale) ownpal = 1 [State 1000, 7] type = ChangeState trigger1 = AnimTime = 0 value = 0 ctrl = 1 [Statedef 1521] ; boomer flies downward type = S movetype= A physics = N juggle = 2 velset = 0,0 anim = 1114 ctrl = 0 sprpriority = 1 [State 1000, 7] type = varset trigger1 = time = 0 v = 11 value = 3125 [State 1000, 7] type = changeanim trigger1 = time = 0 value = anim elem = 3 [State 1000, 7] type = changestate trigger1 = time = 0 value = 1550 [Statedef 1530] ;Boomer with return type = S movetype= A physics = S juggle = 2 velset = 0,0 anim = 1110 ctrl = 0 sprpriority = 2 [State 181, DIED] type = playsnd trigger1 = animelem = 2 value = 4,9 volumescale = 120 [State 181, DIED] type = Explod trigger1 = animelem = 2 anim = 1113 scale = const(size.xscale),const(size.yscale) removetime = -2 bindtime = -1 ownpal = 1 sprpriority = 3 removeongethit = 1 [State 0, Helper] type = Helper trigger1 = animelem = 4 helpertype = normal ;player stateno = 1531 ID = 1001 pos = 95*const(size.xscale),-103*const(size.yscale) ownpal = 1 [State 1000, 7] type = ChangeState trigger1 = AnimTime = 0 value = 0 ctrl = 1 [Statedef 1531] ; boomer flies forward - will return type = S movetype= A physics = N juggle = 2 velset = 0,0 anim = 1114 ctrl = 0 sprpriority = 1 [State 1000, 7] type = varset trigger1 = time = 0 v = 12 value = 1 [State 1000, 7] type = changestate trigger1 = time = 0 value = 1550 [Statedef 1550] ; boomer flies type = S movetype= A physics = N juggle = 2 velset = 0,0 ctrl = 0 sprpriority = 1 [State 1000, 7] type = velset trigger1 = time > 3 x = 9 [State 1000, 7] type = veladd trigger1 = time > 3 && !movecontact y = 0.0001*var(11) [State 1000, 7] type = playsnd trigger1 = Time = 0 value = 5,14 [State 181, DIED] type = Explod trigger1 = time%3 = 0 anim = 1117 scale = const(size.xscale),const(size.yscale) bindtime = 1 ownpal = 1 sprpriority = 0 [State 1200, BoltFat] type = hitdef trigger1 = !movecontact attr = S, NP damage = 200, 30 animtype = Light air.animtype = Back projremove = 1 hitflag = MAFD guardflag = HL pausetime = 0,0 sparkno = -1 guard.sparkno = -1 hitsound = s20,1 guardsound = 5,14 ground.type = High ground.slidetime = 20 ground.hittime = 15 ground.velocity = -15,0 air.velocity = -4,-5 yaccel = 0.5 guard.dist = 100 air.fall = 1 fall.recover = 0 air.juggle = 3 kill = (root,Var(9) = 0) fall.kill = (root,Var(9) = 0) guard.kill = (root,Var(9) = 0) p2stateno = 21238 p2facing = 1 [State 1000, 7] type = targetvelset trigger1 = target,stateno = [21238,21239] x = -4 ignorehitpause = 1 [State 1000, 7] type = helper trigger1 = movehit stateno = 31 pos = -20,100 persistent = 0 ignorehitpause = 1 [State 1000, 7] type = changeState trigger1 = !movecontact && frontedgedist < -30 && var(12) = 1 value = 1551 ignorehitpause = 1 [State 1000, 7] type = destroyself trigger1 = frontedgedist < -200 trigger2 = pos y < -320 +root,var(57) trigger3 = pos y > 60 +root,var(57) [Statedef 1551] ; boomer returns type = S movetype= A physics = N juggle = 2 velset = 0,0 anim = 1115 ctrl = 0 sprpriority = 1 [State 1000, 7] type = turn trigger1 = time = 0 [State 1000, 7] type = velset trigger1 = time > 0 x = 9 [State 181, DIED] type = Explod trigger1 = time%3 = 0 anim = 1117 scale = const(size.xscale),const(size.yscale) bindtime = 1 facing = -1 ownpal = 1 sprpriority = 0 [State 1200, BoltFat] type = hitdef trigger1 = !movecontact attr = S, NP damage = 200, 30 animtype = Light air.animtype = Back projremove = 1 guardflag = HL pausetime = 0,0 sparkno = -1 guard.sparkno = -1 hitsound = s20,1 guardsound = 5,14 ground.type = High ground.slidetime = 20 ground.hittime = 15 ground.velocity = -15,0 air.velocity = -4,-5 yaccel = 0.5 guard.dist = 100 air.fall = 1 fall.recover = 0 air.juggle = 3 kill = (root,Var(9) = 0) fall.kill = (root,Var(9) = 0) guard.kill = (root,Var(9) = 0) p2stateno = 21238 [State 1000, 7] type = helper trigger1 = movehit stateno = 28 persistent = 0 ignorehitpause = 1 [State 1000, 7] type = destroyself trigger1 = frontedgedist < -200 [Statedef 1552] ; boomer flies back type = S movetype= A physics = N juggle = 2 velset = 0,0 anim = 1116 ctrl = 0 sprpriority = 1 [State 1000, 7] type = turn trigger1 = Time = 0 [State 1000, 7] type = velset trigger1 = time > 0 x = 9 [State 1000, 7] type = veladd trigger1 = time > 0 && !movecontact y = 0.0001*var(11) [State 181, DIED] type = Explod trigger1 = time%3 = 0 anim = 1117 scale = const(size.xscale),const(size.yscale) bindtime = 1 vfacing = -1 ownpal = 1 sprpriority = 0 [State 1200, BoltFat] type = hitdef trigger1 = !movecontact && time > 3 attr = S, HP damage = 200, 30 affectteam = F animtype = Light air.animtype = Back projremove = 1 guardflag = HL pausetime = 0,0 sparkno = -1 guard.sparkno = -1 hitsound = s20,1 guardsound = 5,14 ground.type = High ground.slidetime = 20 ground.hittime = 15 ground.velocity = -15,0 air.velocity = -4,-5 yaccel = 0.5 guard.dist = 100 air.fall = 1 fall.recover = 0 air.juggle = 3 kill = (root,Var(9) = 0) fall.kill = (root,Var(9) = 0) guard.kill = (root,Var(9) = 0) p2stateno = 21238 p2facing = 1 [State 1000, 7] type = targetvelset trigger1 = target,stateno = [21238,21239] x = -4 ignorehitpause = 1 [State 1000, 7] type = destroyself trigger1 = frontedgedist < -200 trigger2 = pos y < -320 +root,var(57) trigger3 = pos y > 60 +root,var(57) ;----------------------------------------- [Statedef 1600]; green kick type = S movetype= A physics = N juggle = 1 anim = 1320 Velset = 0, 0 sprpriority = 2 ctrl = 0 [State 0, Explod] type = Explod trigger1 = time = [3,20] trigger1 = vel x > 0 anim = 1321 pos = 12,-60 facing = 1-2*(random%2) vfacing = 1-2*(random%2) vel = -0.5,0 bindtime = 3 random = 6,96 sprpriority = 2 ownpal = 1 [State 0, Explod] type = Explod trigger1 = time = [3,20] trigger1 = vel x > 0 anim = 1321 pos = 12,-60 facing = 1-2*(random%2) vfacing = 1-2*(random%2) bindtime = 3 vel = -0.5,0 random = 6,96 sprpriority = 0 ownpal = 1 [State 2000, 0.5] type = Playsnd trigger1 = time = 0 value = 4,16 volumescale = 60 channel = 0 [State 2000, 0.5] type = Playsnd trigger1 = animelem = 2 value = 5,12 volumescale = 200 [State 2000, 0.5] type = removeexplod trigger1 = time = 0 ID = 1600 [State 2000, 0.5] type = nothitby trigger1 = time = 0 value = ,AP time = 0 [State 2000, 0.5] type = palfx trigger1 = time < 30 && numexplod(1991) = 0 add = -90,60,-190 sinadd = 90,-60,190,48 color = 0 time = 12 [State 2000, 2] type = Veladd trigger1 = animelem = 2 x = 8 [State 2000, 2] type = Velmul trigger1 = animelemtime(4) > 4 x = 0.875 [State 2000, 2] type = Velset trigger1 = movecontact x = 0 [State 181, DIED] type = posadd trigger1 = animelem = 8 || animelem = 10 x = -10 [State 1050, 4] type = HitDef trigger1 = !movecontact attr = S, NA damage = 190,30 animtype = back air.animtype = Back hitflag = MAF guardflag = HL priority = 7 pausetime = 0, 2 sparkno = -1 guard.sparkno = -1 sparkxy = 18,-60 hitsound = 5,0 guardsound = 5,14 ground.type = High ground.slidetime = 12 ground.hittime = 12 guard.velocity = 0 ground.velocity = -6,-4 air.velocity = -6,-4 yaccel = 0.375 guard.slidetime = 12 ;Values for guarded attack (def: ground.slidetime) guard.ctrltime = 5 ;Time to regain control after guard (def: guard.slidetime) guard.dist = 120 kill = (Var(9) = 0) fall.kill = (Var(9) = 0) guard.kill = (Var(9) = 0) envshake.freq = 90 envshake.time = 12 envshake.ampl = 6 [State 2000, 0.5] type = targetvelset trigger1 = moveguarded = [1,12] x = -2 ignorehitpause = 1 [State 181, DIED] type = statetypeset trigger1 = moveguarded > 12 || p2dist x < 0 || animelem = 5 movetype = I [State 1050, 7] type = selfstate trigger1 = animtime = 0 value = 0 ctrl = 1 ;----------------------------------------- [Statedef 1610] ; invincibility type = S movetype= I physics = N [State 1000, 7] type = nothitby trigger1 = time = 0 && numexplod(1991) = 0 value = ,AP time = 60 [State 1000, 7] type = palfx trigger1 = time = 0 && numexplod(1991) = 0 sinadd = 240,240,240,8 time = 60 color = 0 [State 1000, 7] type = explod trigger1 = time = 0 && numexplod(1991) = 0 anim = 888 ID = 1600 removetime = 60 [State 1000, 7] type = selfstate trigger1 = time = 0 value = 0 ctrl = 1 ;============================================================== [StateDef 1999] type = U movetype= H physics = N ctrl = 0 [State 1000, BounceOff] type = selfState trigger1 = prevstateno != 1999 value = 1999 [State 1000, boomer] type = selfState trigger1 = anim = 1114 value = 1552 [State 1000, BounceOff] type = destroyself trigger1 = ishelper && root,stateno >= 0 [State 1000, BounceOff] type = selfState trigger1 = time = 30 || animtime = 0 value = 0 ctrl = 1 ;-- [Statedef 2111];fake jump type = S physics = S anim = 40 ctrl = 0 sprpriority = 1 [State 40, jumpup] type = PlaySnd trigger1 = time = 2 && numexplod(7082) = 0 value = 3, 9 channel = 3 [State 40, 4] type = VelSet trigger1 = AnimTime = 0 x = const(velocity.jump.fwd.x) y = const(velocity.jump.y) [State 40, 6] type = ChangeState trigger1 = AnimTime = 0 value = 50 ctrl = 1 ;-- [StateDef 2112]; fake walk type = S movetype= I physics = N ctrl = 0 anim = 20 velset = 3.25,0 [State -1] type = selfState value = 220 trigger1 = var(50) = 1 && p2life > 2 triggerall = roundstate = 2 triggerall = p2bodydist x < 40 && p2stateno != 1410 && random%12 < AILevel triggerall = numexplod(1300) = 0 [State -1] type = selfState value = 240 trigger1 = var(50) = 1 && p2life > 2 triggerall = roundstate = 2 triggerall = p2bodydist x < 30 && frontedgedist < 90 && random%12 < AILevel [State -1] type = selfState value = 210 trigger1 = var(50) = 1 && p2life > 2 triggerall = roundstate = 2 triggerall = p2bodydist x < 85 && random%12 < AILevel [State -1] type = selfState value = 225 trigger1 = var(50) = 1 && p2life > 2 triggerall = roundstate = 2 triggerall = p2bodydist x < 105 && random%12 < AILevel [State -1] type = selfState value = 20 trigger1 = var(50) != 1 trigger2 = roundstate != 2 trigger3 = time = 40 trigger4 = p2statetype != A || p2movetype != H ctrl = 1