;----------------------------------------------------------- ; freeze ;-------------------------------- [Statedef 1000] type = S movetype= A physics = S juggle = 2 velset = 0,0 anim = 1000 sprpriority = 0 ctrl = 0 [State 181, ED] type = Explod trigger1 = animelem = 3 anim = 888 id = 1001 removetime = 220 [State 0, Explod] type = Explod trigger1 = animelem = 3 anim = 1001 bindtime = -1 scale = const(size.xscale), const(size.yscale) sprpriority = 1 ownpal = 1 removeongethit = 1 persistent = 0 [State 0, Explod] type = Explod trigger1 = animelem = 3 anim = 1002 bindtime = -1 pos = 52,-70 scale = 0.6, 0.6 sprpriority = 2 ownpal = 1 removeongethit = 1 persistent = 0 [State 9251,misil] type = Helper trigger1 = animelem = 3 postype = p1 stateno = 1001 ID = 1001 ownpal = 1 persistent = 0 [State 1000, 7] type = ChangeState trigger1 = AnimTime = 0 value = 0 ctrl = 1 [Statedef 1001] ;ice appears type = S movetype= A physics = N juggle = 2 velset = 0,0 anim = 1003 sprpriority = 3 ctrl = 0 [State 10000, open] type = varset trigger1 = time = 0 v = 11 value = 0 [State 10000, open] type = PlaySnd trigger1 = time = 0 value = 20,0 volumescale = 200 [State 800, 1] type = HitDef Trigger1 = !movecontact triggerall = p2stateno != 12001 damage = (p2stateno = 9010) pausetime = 0,0 attr = S, NP ;Attributes: Standing, Normal Throw hitflag = MAF ;Affect only ground people who are not being hit guardflag = HL priority = 1, Miss ;Throw has low priority, must be miss or dodge type. hitsound = s20,10 guardsound = -1 sparkno = -1 ;No spark guard.sparkno = -1 p2stateno = 12001 ;If hit, p2 changes to state 820 in KFM's cns guard.dist = 100 ;This prevents p2 from going into a guard state if close numhits = 0 kill = (root,Var(9) = 0) fall.kill = (root,Var(9) = 0) guard.kill = (root,Var(9) = 0) hitonce = 1 [State 800, 1] type = HitDef Trigger1 = !movecontact triggerall = p2stateno = 12001 pausetime = 0,0 attr = S, NP ;Attributes: Standing, Normal Throw hitflag = MAF ;Affect only ground people who are not being hit guardflag = HL priority = 1, Miss ;Throw has low priority, must be miss or dodge type. hitsound = -1 guardsound = -1 sparkno = -1 ;No spark guard.sparkno = -1 p1stateno = 1004 p2stateno = 12002 ;If hit, p2 changes to state 820 in KFM's cns guard.dist = 100 ;This prevents p2 from going into a guard state if close numhits = 0 hitonce = 1 [State 0, Explod] type = Explod trigger1 = 1 anim = 499 pos = 0,0 postype = p1 ;p2,front,back,left,right facing = 1-2*(random%2) vfacing = 1-2*(random%2) bindtime = 3 vel = 3+random%5,0.2*(random%7-random%7) random = 4,12 scale = 1,0.6 sprpriority = 4-2*(random%2) ownpal = 1 trans = add alpha = 40,256 [State 10000, open] type = selfstate trigger1 = movecontact value = 1003 [State 10000, open] type = selfstate trigger1 = animtime = 0 value = 1002 [State 1000, 7] type = bindtoparent trigger1 = time < 9 pos = 52,-70 [State 1000, 7] type = destroyself trigger1 = time < 9 && root,movetype = H [Statedef 1002] ;ice flies type = S movetype= A physics = N juggle = 2 velset = 10,0 anim = 1004 sprpriority = 3 ctrl = 0 [State 10000, open] type = posadd trigger1 = time = 0 x = 102*const(size.xscale) [State 0, Explod] type = Explod trigger1 = 1 anim = 499 pos = -40,0 postype = p1 ;p2,front,back,left,right facing = 1-2*(random%2) vfacing = 1-2*(random%2) bindtime = 1 ;vel = 0,-1 ;accel = 0,0.02 random = 100,12 scale = 1,0.6 sprpriority = 4-2*(random%2) ownpal = 1 trans = add alpha = 30,256 [State 800, 1] type = HitDef trigger1 = var(11) = 0 Trigger1 = !movecontact triggerall = p2stateno != 12001 damage = (p2stateno = 9010) pausetime = 0,0 attr = S, NP ;Attributes: Standing, Normal Throw hitflag = MAF ;Affect only ground people who are not being hit guardflag = HL priority = 1, Miss ;Throw has low priority, must be miss or dodge type. hitsound = s20,10 guardsound = -1 sparkno = -1 ;No spark guard.sparkno = -1 p2stateno = 12001 ;If hit, p2 changes to state 820 in KFM's cns guard.dist = 80 ;This prevents p2 from going into a guard state if close numhits = 0 kill = (root,Var(9) = 0) fall.kill = (root,Var(9) = 0) guard.kill = (root,Var(9) = 0) hitonce = 1 [State 800, 1] type = HitDef trigger1 = var(11) = 0 Trigger1 = !movecontact triggerall = p2stateno = 12001 pausetime = 0,0 attr = S, NP ;Attributes: Standing, Normal Throw hitflag = MAF ;Affect only ground people who are not being hit guardflag = HL priority = 1, Miss ;Throw has low priority, must be miss or dodge type. hitsound = -1 guardsound = -1 sparkno = -1 ;No spark guard.sparkno = -1 p1stateno = 1004 p2stateno = 12002 ;If hit, p2 changes to state 820 in KFM's cns guard.dist = 80 ;This prevents p2 from going into a guard state if close numhits = 0 hitonce = 1 [State 800, 1] type = HitDef trigger1 = var(11) = 1 Trigger1 = !movecontact triggerall = root,stateno != 12001 affectteam = F damage = (root,stateno = 9010) pausetime = 0,0 attr = S, HP ;Attributes: Standing, Normal Throw hitflag = MAF ;Affect only ground people who are not being hit guardflag = HL priority = 1, Miss ;Throw has low priority, must be miss or dodge type. hitsound = s20,10 guardsound = -1 sparkno = -1 ;No spark guard.sparkno = -1 p2stateno = 12001 ;If hit, p2 changes to state 820 in KFM's cns guard.dist = 80 ;This prevents p2 from going into a guard state if close numhits = 0 kill = (enemy,Var(9) = 0) fall.kill = (enemy,Var(9) = 0) guard.kill = (enemy,Var(9) = 0) hitonce = 1 [State 800, 1] type = HitDef trigger1 = var(11) = 1 Trigger1 = !movecontact triggerall = root,stateno = 12001 affectteam = F pausetime = 0,0 attr = S, HP ;Attributes: Standing, Normal Throw hitflag = MAF ;Affect only ground people who are not being hit guardflag = HL priority = 1, Miss ;Throw has low priority, must be miss or dodge type. hitsound = -1 guardsound = -1 sparkno = -1 ;No spark guard.sparkno = -1 p1stateno = 1004 p2stateno = 12002 ;If hit, p2 changes to state 820 in KFM's cns guard.dist = 80 ;This prevents p2 from going into a guard state if close numhits = 0 hitonce = 1 [State 10000, open] type = selfstate trigger1 = movecontact value = 1003 [State 1000, 7] type = destroyself trigger1 = frontedgedist < -100 [Statedef 1003] ;ice hits type = S movetype= A physics = N juggle = 2 velset = 0,0 sprpriority = 3 ctrl = 0 [State 0, Explod] type = Explod trigger1 = time = 0 anim = 1010 pos = 3,0 facing = 1-2*(random%2) vfacing = 1-2*(random%2) bindtime = 1 scale = 0.6,1 sprpriority = 2 ownpal = 1 [State 10000, open] type = posset trigger1 = time = 0 x = target,pos x [State 10000, open] type = changeanim trigger1 = time = 0 value = 1005 elem = 1 + 2*((anim = 1003 && animelemno(0) = [2,3])||(anim = 1006 && animelemno(0) = [6,7])) [State 10000, open] type = PlaySnd trigger1 = time = 0 value = 20,1 volumescale = 200 persistent = 0 [State 1000, 7] type = destroyself trigger1 = animtime = 0 [Statedef 1004] ;ice flies back type = S movetype= A physics = N juggle = 2 velset = 0,0 sprpriority = 3 ctrl = 0 [State 10000, open] type = posset trigger1 = time = 0 && target,movetype = H x = target,pos x [State 0, Explod] type = Explod trigger1 = time = 0 anim = 1010 pos = 3,0 facing = 1-2*(random%2) vfacing = 1-2*(random%2) bindtime = 1 scale = 0.6,1 sprpriority = 2 ownpal = 1 trans = add alpha = 160,256 [State 10000, open] type = changeanim trigger1 = time = 0 value = 1006 elem = 1 + 2*((anim = 1003 && animelemno(0) = [2,3])||(anim = 1006 && animelemno(0) = [6,7])) [State 10000, open] type = turn trigger1 = anim = 1006 && animelem = 5 [State 10000, open] type = varset trigger1 = time = 0 v = 11 value = ifelse(var(11) = 0, 1, 0) [State 10000, open] type = PlaySnd trigger1 = time = 0 value = 20,1 volumescale = 200 persistent = 0 [State 800, 1] type = HitDef trigger1 = var(11) = 0 Trigger1 = !movecontact triggerall = p2stateno != 12001 damage = (p2stateno = 9010) pausetime = 0,0 attr = S, NP ;Attributes: Standing, Normal Throw hitflag = MAF ;Affect only ground people who are not being hit guardflag = HL priority = 1, Miss ;Throw has low priority, must be miss or dodge type. hitsound = s20,10 guardsound = -1 sparkno = -1 ;No spark guard.sparkno = -1 p2stateno = 12001 ;If hit, p2 changes to state 820 in KFM's cns guard.dist = 80 ;This prevents p2 from going into a guard state if close numhits = 0 kill = (root,Var(9) = 0) fall.kill = (root,Var(9) = 0) guard.kill = (root,Var(9) = 0) hitonce = 1 [State 800, 1] type = HitDef trigger1 = var(11) = 0 Trigger1 = !movecontact triggerall = p2stateno = 12001 pausetime = 0,0 attr = S, NP ;Attributes: Standing, Normal Throw hitflag = MAF ;Affect only ground people who are not being hit guardflag = HL priority = 1, Miss ;Throw has low priority, must be miss or dodge type. hitsound = -1 guardsound = -1 sparkno = -1 ;No spark guard.sparkno = -1 p1stateno = 1004 p2stateno = 12002 ;If hit, p2 changes to state 820 in KFM's cns guard.dist = 80 ;This prevents p2 from going into a guard state if close numhits = 0 hitonce = 1 [State 800, 1] type = HitDef trigger1 = var(11) = 1 Trigger1 = !movecontact triggerall = root,stateno != 12001 affectteam = F damage = (root,stateno = 9010) pausetime = 0,0 attr = S, HP ;Attributes: Standing, Normal Throw hitflag = MAF ;Affect only ground people who are not being hit guardflag = HL priority = 1, Miss ;Throw has low priority, must be miss or dodge type. hitsound = s20,10 guardsound = -1 sparkno = -1 ;No spark guard.sparkno = -1 p2stateno = 12001 ;If hit, p2 changes to state 820 in KFM's cns guard.dist = 80 ;This prevents p2 from going into a guard state if close numhits = 0 kill = (enemy,Var(9) = 0) fall.kill = (enemy,Var(9) = 0) guard.kill = (enemy,Var(9) = 0) hitonce = 1 [State 800, 1] type = HitDef trigger1 = var(11) = 1 Trigger1 = !movecontact triggerall = root,stateno = 12001 affectteam = F pausetime = 0,0 attr = S, HP ;Attributes: Standing, Normal Throw hitflag = MAF ;Affect only ground people who are not being hit guardflag = HL priority = 1, Miss ;Throw has low priority, must be miss or dodge type. hitsound = -1 guardsound = -1 sparkno = -1 ;No spark guard.sparkno = -1 p1stateno = 1004 p2stateno = 12002 ;If hit, p2 changes to state 820 in KFM's cns guard.dist = 80 ;This prevents p2 from going into a guard state if close numhits = 0 hitonce = 1 [State 10000, open] type = selfstate trigger1 = movecontact value = 1003 [State 1000, 7] type = selfstate trigger1 = animtime = 0 value = 1002 ;===================================== ;slide ;----------------- [Statedef 1100] type = C movetype= A physics = S juggle = 1 anim = 1100 Velset = 0, 0 ctrl = 0 [State 2000, 2] type = Velset trigger1 = animelemtime(2) > 0 && animelemtime(5) < 0 x = 8 [State 2000, 0.5] type = Playsnd trigger1 = time = 0 value = 20,2 ;volumescale = 80 [State 1050, 4] type = HitDef trigger1 = !movecontact attr = C, NA damage = 130,30 p2facing = 1 animtype = back air.animtype = Back hitflag = MAFD guardflag = L priority = 7 pausetime = 2, 2 sparkno = -1 guard.sparkno = -1 sparkxy = 18,-60 hitsound = 5,105;107 guardsound = 5,14 ground.type = High ground.slidetime = 20 ground.hittime = 20 ground.velocity = -3.5,ifelse(enemy,authorname = "Boss",0,-6) air.velocity = -3.5,-6 yaccel = 0.375 guard.slidetime = 10 ;Values for guarded attack (def: ground.slidetime) guard.ctrltime = 5 ;Time to regain control after guard (def: guard.slidetime) guard.dist = 180 kill = (Var(9) = 0) fall.kill = (Var(9) = 0) guard.kill = (Var(9) = 0) [State 1040, 0.erf7] type = VelSet trigger1 = movecontact trigger2 = animelem = 5 X = 0 [State 181, DIED] type = statetypeset trigger1 = moveguarded trigger2 = p2dist x < 0 movetype = I [State 181, DIED] type = changeanim trigger1 = animelem = 4 value = anim elem = 3 persistent = 0 [State 181, DIED] type = changeanim trigger1 = movecontact = [1,40] value = anim elem = 4 [State 0, Explod] type = Explod trigger1 = animelemno(0) = 3 anim = 499 pos = 40,4 postype = p1 ;p2,front,back,left,right facing = 1-2*(random%2) vfacing = 1-2*(random%2) bindtime = 1 vel = 0,-2 accel = 0,0.02 random = 80,12 scale = 1,0.6 sprpriority = 4-4*(random%2) ownpal = 1 trans = add alpha = 40,256 [State 1050, 7] type = selfstate trigger1 = animtime = 0 value = 0 ctrl = 1 ;------------------------------ ; ice clone ;------------------------------------ [Statedef 1200] type = A movetype= I physics = A juggle = 4 ctrl = 0 velset = 0,0 sprpriority = 1 [State 240, 1.5] type = posadd trigger1 = time = 0 y = -4 ignorehitpause = 1 [State 50001, varset] type = nothitby trigger1 = time < 3 time = 3 value = SCA [State 240, 1.5] type = changeanim trigger1 = time = 2 value = 1015 [State 240, 1.5] type = velset trigger1 = time > 1 x = -6 ignorehitpause = 1 [State 240, 1.5] type = playerpush trigger1 = time < 23 value = 0 [State 240, 1.5] type = playsnd triggerall = anim = 1015 trigger1 = animelem = 3 || animelem = 7 value = f5,152 volumescale = 90 ignorehitpause = 1 [State 240, 1.5] type = veladd trigger1 = time = 2 y = -6 ignorehitpause = 1 persistent = 1 [State 0, Helper] type = Helper trigger1 = time = 0 helpertype = normal stateno = 1201 ID = 7003 pos = 4, 0 postype = p1 ownpal = 1 [State 245, 4] type = ChangeState trigger1 = AnimTime = 0 && time > 2 value = 0 ctrl = 1 [Statedef 1201] type = S movetype= A physics = N juggle = 2 velset = 0,0 anim = 1016 + 1*(root,anim = 5120||root,anim = 47||root,anim = [10,19]) + 2*((root,anim = [40,46])||(root,anim = [600,699])) [State 240, 1.5] type = posadd trigger1 = time = 0 y = 4 ignorehitpause = 1 [State 240, 1.5] type = posadd trigger1 = time < 9 x = -4 [State 240, 1.5] type = screenbound trigger1 = time < 9 value = 1 movecamera = 0,0 [State 240, 1.5] type = varset trigger1 = time = 0 v = 12 value = root,anim [State 240, 1.5] type = varset trigger1 = time = 0 v = 13 value = root,animelemno(0) [State 0, Helper] type = Helper trigger1 = time = 0 helpertype = normal stateno = 1202 pos = 0, 0 postype = p1 ownpal = 1 [State 1200, ZappySound] type = PlaySnd trigger1 = time = 0 value = 20, 3 volumescale = 100 [State 1200, 2at] type = Explod trigger1 = time = 0 anim = 1010 pos = -4,-90 postype = p1 ;scale = 0.32,0.32 facing = 1-2*(random%2) vfacing = 1-2*(random%2) sprpriority = 2 bindtime = 9 ownpal = 1 [State 1200, 2at] type = Explod trigger1 = time = 0 anim = 1013 pos = -4,-90 postype = p1 scale = 0.6,0.6 facing = 1-2*(random%2) vfacing = 1-2*(random%2) sprpriority = 4 bindtime = 5 ownpal = 1 [State 1200, BoltFat] type = hitdef triggerall = !movecontact trigger1 = p2stateno != 12001 attr = S, NP animtype = Hard air.animtype = Back air.fall = 1 numhits = 0 guardflag = HL pausetime = 2,2 guard.dist = 20 sparkno = -1 guard.sparkno = -1 hitsound = s20,10 p2stateno = 12001 guard.sparkno = -1 hitsound = -1 ground.type = high ground.slidetime = 14 ground.hittime = 16 air.juggle = 3 [State 1200, ZappySound] type = PlaySnd trigger1 = time = 114 value = 20, 5 volumescale = 60 [State 1200, ZappySound] type = envshake trigger1 = time = 114 freq = 70 ampl = 4 time = 16 [State 1200, ZappySound] type = Posadd trigger1 = time >= 60 && time%3 = 0 x = 3-6*(time%6 = 3) [State 0, Helper] type = changestate trigger1 = movecontact trigger2 = time = 96 trigger3 = time = 1 && abs(p2dist x) < 70 && abs(p2dist y) < 70 trigger4 = root,stateno = 25 trigger5 = root,life < 2 || roundstate != 2 value = 1203 [Statedef 1202] type = S movetype= I physics = N juggle = 4 ctrl = 0 velset = 0,0 anim = 888 sprpriority = 2 [State 240, 1.5] type = nothitby trigger1 = 1 value = SCA time = 999 [State 0, BindToParent] type = BindToParent trigger1 = 1 ;time = 1 ;facing = 0 ;pos = 0,0 ;ignorehitpause = ;persistent = [State 240, 1.5] type = changeanim trigger1 = 1 value = parent,var(12) elem = parent,var(13) [State 1005, Frosty color] type = palFX trigger1 = 1 add = 48,117,203;-18,78,192 color = 0 time = 4 [State 1005, Frosty color] type = trans trigger1 = 1 trans = add alpha = 200,120 [State 245, 4] type = destroyself trigger1 = parent,stateno = 1203 && parent,time > 5 trigger2 = parent,stateno != [1200,1203] [Statedef 1203] type = S movetype= A physics = N juggle = 2 velset = 0,0 anim = 888 sprpriority = 2 [State 1200, 2at] type = posadd trigger1 = time = 0 x = -6+18*(target,stateno = 12001) [State 1200, 2at] type = Explod trigger1 = time = 0 anim = 1011 pos = 0,-70 postype = p1 ;scale = 0.4,0.4 facing = 1-2*(random%2) vfacing = 1-2*(random%2) vel = 0,0 sprpriority = 3 bindtime = 1 ownpal = 1 [State 1200, 2at] type = Explod trigger1 = time%8 = 0 && time < 24 anim = 1012+(target,stateno = 12001) pos = 0, -70 postype = p1 scale = 0.7,0.7 facing = 1-2*(random%2) sprpriority = 4 bindtime = 1 ownpal = 1 [State 1200, ZappySound] type = PlaySnd trigger1 = time = 0 value = 20, 4 volumescale = 200 [State 10000, rakieta] type = destroyself trigger1 = time = 50 && enemy,numexplod(118) = 0 trigger2 = time = 90 && enemy,numexplod(118) != 0 trigger3 = time >= 50 && enemy,numexplod(118) != 0 && enemy,prevstateno = [12001,12009] trigger4 = time = 50 && p2stateno != 12001 ;------------------------------ ; ice shower; ;------------------------------------ [Statedef 1300] type = S movetype= A physics = S juggle = 2 velset = 0,0 anim = 1200 sprpriority = 2 ctrl = 0 [State 0, Explod] type = Explod trigger1 = animelem = 3 anim = 1201 bindtime = -1 scale = const(size.xscale), const(size.yscale) sprpriority = 3 ownpal = 1 removeongethit = 1 persistent = 0 [State 10000, open] type = PlaySnd trigger1 = animelem = 2 value = 20, 6 volumescale = 200 ;channel = 0 [State 9251,misil] type = Helper trigger1 = animelem = 3 postype = p1 stateno = 1301 ID = 1300 ownpal = 1 persistent = 0 [State 1000, 7] type = ChangeState trigger1 = AnimTime = 0 value = 0 ctrl = 1 [Statedef 1301] ;icicle appears type = S movetype= A physics = N juggle = 2 velset = 0,0 anim = 1202 sprpriority = 0 ctrl = 0 [State 1000, 7] type = varset triggerall = Time = 0 trigger1 = root,stateno = 1310 trigger2 = root,stateno = 1320 v = 11 value = ifelse(root,stateno = 1320, 1, -1) [State 0, Explod] type = Explod trigger1 = 1 anim = 499 pos = 0,-166 postype = p1 ;p2,front,back,left,right facing = 1-2*(random%2) vfacing = 1-2*(random%2) bindtime = 3 vel = 0.2*(random%6-random%6),-6 random = 20,25 scale = 1,1 sprpriority = 2-4*(random%2) ownpal = 1 trans = add alpha = 60,256 [State 800, 1] type = null;HitDef Trigger1 = !movecontact triggerall = p2stateno != 12001 pausetime = 0,0 attr = S, NP ;Attributes: Standing, Normal Throw hitflag = A ;Affect only ground people who are not being hit guardflag = HL priority = 1, Miss ;Throw has low priority, must be miss or dodge type. hitsound = s20,10 guardsound = -1 sparkno = -1 ;No spark p2stateno = 12001 ;If hit, p2 changes to state 820 in KFM's cns guard.dist = 0 ;This prevents p2 from going into a guard state if close numhits = 0 hitonce = 1 [State 10000, open] type = selfstate trigger1 = p2stateno = 12001 && var(11) = 0 value = 1304 [State 10000, open] type = selfstate trigger1 = animtime = 0 value = 1302 [State 1000, 7] type = bindtoparent trigger1 = time < 20 [State 1000, 7] type = destroyself trigger1 = time < 18 && root,movetype = H [Statedef 1302] ;icicle flies type = S movetype= A physics = N juggle = 2 velset = 0,11 anim = 1203 sprpriority = 2 ctrl = 0 [State 10000, open] type = posadd trigger1 = time = 0 && prevstateno = 1301 x = p2dist x + 96*var(11) y = -260 [State 0, Explod] type = Explod trigger1 = 1 anim = 499 pos = 0,-80 postype = p1 ;p2,front,back,left,right facing = 1-2*(random%2) vfacing = 1-2*(random%2) bindtime = 1 vel = 0,0 ;accel = 0,0.01 random = 30,100 scale = 0.6,1 sprpriority = 3-2*(random%2) ownpal = 1 trans = add alpha = 90,256 [State 800, 1] type = HitDef Trigger1 = !movecontact triggerall = p2stateno != 12001 damage = (p2stateno = 9010) pausetime = 0,0 attr = S, SP ;Attributes: Standing, Normal Throw hitflag = MAFD ;Affect only ground people who are not being hit guardflag = HL priority = 1, Miss ;Throw has low priority, must be miss or dodge type. hitsound = s20,10 guardsound = -1 sparkno = -1 ;No spark guard.sparkno = -1 p2stateno = 12001 ;If hit, p2 changes to state 820 in KFM's cns guard.dist = 96 ;This prevents p2 from going into a guard state if close numhits = 0 kill = (root,Var(9) = 0) fall.kill = (root,Var(9) = 0) guard.kill = (root,Var(9) = 0) hitonce = 1 [State 10000, open] type = veladd trigger1 = moveguarded y = -4 persistent = 0 [State 10000, open] type = selfstate trigger1 = pos y > -20 value = 1303 [Statedef 1304] ;icicle flies back type = S movetype= A physics = N juggle = 2 velset = 0,11 anim = 1203 sprpriority = 2 ctrl = 0 [State 10000, open] type = posadd trigger1 = time = 0 y = -320 [State 0, Explod] type = Explod trigger1 = 1 anim = 499 pos = 0,-80 postype = p1 ;p2,front,back,left,right facing = 1-2*(random%2) vfacing = 1-2*(random%2) bindtime = 1 vel = 0,0 ;accel = 0,0.01 random = 30,100 scale = 0.6,1 sprpriority = 3-2*(random%2) ownpal = 1 trans = add alpha = 90,256 [State 800, 1] type = HitDef Trigger1 = !movecontact triggerall = root,stateno != 12001 affectteam = F damage = (root,stateno = 9010) pausetime = 0,0 attr = S, SP ;Attributes: Standing, Normal Throw hitflag = MAFD ;Affect only ground people who are not being hit guardflag = HL priority = 1, Miss ;Throw has low priority, must be miss or dodge type. hitsound = s20,10 guardsound = -1 sparkno = -1 ;No spark guard.sparkno = -1 p2stateno = 12001 ;If hit, p2 changes to state 820 in KFM's cns guard.dist = 96 ;This prevents p2 from going into a guard state if close numhits = 0 kill = (enemy,Var(9) = 0) fall.kill = (enemy,Var(9) = 0) guard.kill = (enemy,Var(9) = 0) hitonce = 1 [State 10000, open] type = veladd trigger1 = moveguarded y = -4 persistent = 0 [State 10000, open] type = selfstate trigger1 = pos y > -20 value = 1303 [Statedef 1303] ;icicle falls type = S movetype= A physics = N juggle = 2 velset = 0,0 anim = 1204 sprpriority = 3 ctrl = 0 [State 0, Explod] type = Explod trigger1 = animelemtime(6) < 0 anim = 499 pos = 0,6 postype = p1 ;p2,front,back,left,right facing = 1-2*(random%2) vfacing = 1-2*(random%2) bindtime = 3 vel = 0.2*(random%7-random%7),-2 accel = 0,0.01 random = 60,6 scale = 1,0.5 sprpriority = 4-2*(random%2) ownpal = 1 trans = add alpha = 60,256 [State 10000, open] type = posset trigger1 = time = 0 y = root,var(57) [State 10000, open] type = PlaySnd trigger1 = time = 0 value = 20,4 volumescale = 200 persistent = 0 [State 1000, 7] type = destroyself trigger1 = animtime = 0 ;============================== ;------------------------------ ; ice shower close ;------------------------------------ [Statedef 1310] type = S movetype= I physics = S juggle = 2 velset = 0,0 anim = 1200 sprpriority = 2 ctrl = 0 [State 0, Explod] type = Explod trigger1 = animelem = 3 anim = 1201 bindtime = -1 scale = const(size.xscale), const(size.yscale) sprpriority = 3 ownpal = 1 removeongethit = 1 persistent = 0 [State 10000, open] type = PlaySnd trigger1 = animelem = 2 value = 20, 6 volumescale = 200 ;channel = 0 [State 9251,misil] type = Helper trigger1 = animelem = 3 postype = p1 stateno = 1301 ID = 1300 ownpal = 1 persistent = 0 [State 1000, 7] type = ChangeState trigger1 = AnimTime = 0 value = 0 ctrl = 1 ;------------------------------ ; ice shower far ;------------------------------------ [Statedef 1320] type = S movetype= I physics = S juggle = 2 velset = 0,0 anim = 1200 sprpriority = 2 ctrl = 0 [State 0, Explod] type = Explod trigger1 = animelem = 3 anim = 1201 bindtime = -1 scale = const(size.xscale), const(size.yscale) sprpriority = 3 ownpal = 1 removeongethit = 1 persistent = 0 [State 10000, open] type = PlaySnd trigger1 = animelem = 2 value = 20, 6 volumescale = 200 ;channel = 0 [State 9251,misil] type = Helper trigger1 = animelem = 3 postype = p1 stateno = 1301 ID = 1300 ownpal = 1 persistent = 0 [State 1000, 7] type = ChangeState trigger1 = AnimTime = 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, ice] type = selfState trigger1 = anim = [1003,1004] value = 1004 [State 1000, ice] type = selfState trigger1 = anim = [1016,1018] value = 1203 [State 1000, ice] type = selfState trigger1 = anim = 1203 value = 1302 [State 1000, BounceOff] type = destroyself trigger1 = ishelper && root,stateno >= 0 [State 1000, BounceOff] type = selfState trigger1 = time = 30 || animtime = 0 value = 0 ctrl = 1