;----------------------------------------------------------- [Statedef 1000] ;freeze type = S movetype= A physics = S juggle = 2 velset = 0,0 anim = 1200 sprpriority = 0 ctrl = 0 [State 10000, open] type = PlaySnd trigger1 = time = 3 value = 20,0 volumescale = 200 channel = 0 [State 181, DIED] type = Explod trigger1 = p2stateno = 12001 && enemy,numexplod(118) > 0 anim = 888 ID = 1444 removetime = 1280 removeongethit = 1 ignorehitpause = 1 persistent = 0 [State 0, Explod] type = Explod trigger1 = time = 0 anim = 499 bindtime = 3 scale = 1, 1 sprpriority = 2 pos = -31,-74 facing = 1-2*(random%2) vfacing = 1-2*(random%2) ownpal = 1 trans = add alpha = 256,256 [State 0, Explod] type = Explod trigger1 = animelem = 2 anim = 499 bindtime = 5 scale = 1, 1 sprpriority = 2 pos = -18,-78 facing = 1-2*(random%2) vfacing = 1-2*(random%2) ownpal = 1 trans = add alpha = 256,256 [State 0, Explod] type = Explod trigger1 = animelem = 3 anim = 499 bindtime = 3 scale = 1, 1 sprpriority = 2 pos = 52,-86 facing = 1-2*(random%2) vfacing = 1-2*(random%2) ownpal = 1 trans = add alpha = 256,256 [State 0, Explod] type = Explod trigger1 = animelem = 4 anim = 1201 bindtime = -1 scale = const(size.xscale), const(size.yscale) sprpriority = 1 ownpal = 1 removeongethit = 1 persistent = 0 [State 9251,misil] type = Helper trigger1 = animelem = 4 postype = p1 ;pos = 53,-77 stateno = 1201 ownpal = 1 ;size.xscale = 0.4 ;size.yscale = 0.4 persistent = 0 [State 1000, 7] type = ChangeState trigger1 = AnimTime = 0 value = 0 ctrl = 1 [Statedef 1201] ;ice appears type = S movetype= A physics = N juggle = 2 velset = 0,0 anim = 1251 sprpriority = 1 ctrl = 0 [State 1000, 7] type = bindtoparent trigger1 = time < 3 && prevstateno != [1200,1999] pos = 53,-77 [State 10000, open] type = veladd trigger1 = time = 3 x = 9 [State 0, Explod] type = Explod trigger1 = 1 anim = 499 pos = -10,0 postype = p1 ;p2,front,back,left,right facing = 1-2*(random%2) vfacing = 1-2*(random%2) bindtime = 6 random = 80,25 scale = 1,1 sprpriority = 2-4*(random%2) ownpal = 1 trans = add alpha = 120,256 [State 0, Explod] type = Explod trigger1 = time > 3 && numexplod(1200) < 12 ID = 1200 anim = 3205 + (gametime%4 = 0) pos = -20,0 postype = p1 facing = 1-2*(random%2) vfacing = 1-2*(random%2) bindtime = -1 random = 90,16 scale = 0.8,0.32 sprpriority = 3 ownpal = 1 [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 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 p1stateno = 1204 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 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 p1stateno = 1204 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 = 1203 [State 1000, 7] type = destroyself trigger1 = frontedgedist < -100 [Statedef 1203] ;ice hits type = S movetype= A physics = N juggle = 2 velset = 0,0 sprpriority = 3 anim = 888 ctrl = 0 [State 0, Explod] type = removeExplod trigger1 = time = 0 ID = 1200 [State 0, Explod] type = Explod trigger1 = time = 0 anim = 1210 facing = 1-2*(random%2) vfacing = 1-2*(random%2) bindtime = 1 scale = 1,1 sprpriority = 4 ownpal = 1 [State 10000, open] type = PlaySnd trigger1 = time = 0 value = 20,2 volumescale = 200 persistent = 0 [State 1000, 7] type = destroyself trigger1 = time = 12 [Statedef 1204] ;ice flies back type = S movetype= A physics = N juggle = 2 velset = 0,0 sprpriority = 3 anim = 888 ctrl = 0 [State 0, Explod] type = removeExplod trigger1 = time = 0 ID = 1200 [State 10000, open] type = turn trigger1 = time = 0 [State 10000, open] type = varset trigger1 = time = 0 v = 11 value = ifelse(var(11) = 0, 1, 0) [State 10000, open] type = posadd trigger1 = time = 0 x = 20 [State 1000, 7] type = selfstate trigger1 = time = 1 value = 1201 ;===================================== [Statedef 1210];slide type = C movetype= A physics = S juggle = 1 anim = 1300 Velset = 0, 0 ctrl = 0 [State 2000, 2] type = Velset trigger1 = animelemtime(2) > 0 && animelemtime(5) < 0 x = 10 [State 2000, 0.5] type = Playerpush trigger1 = vel x > 0 value = 0 [State 2000, 0.5] type = Playsnd trigger1 = time = 3 value = 20,11 volumescale = 60 [State 2000, 0.5] type = Playsnd trigger1 = time = 0 value = 20,6 volumescale = 200 channel = 0 [State 1050, 4] type = HitDef trigger1 = !movecontact attr = C, ST damage = 130,30 animtype = back air.animtype = Back hitflag = MAFD guardflag = L priority = 7 pausetime = 0, 0 sparkno = -1 guard.sparkno = -1 sparkxy = 18,-60 hitsound = 5,101 guardsound = 5,14 ground.type = High ground.slidetime = 20 ground.hittime = 20 ground.velocity = 2,-8 air.velocity = 2,-8 yaccel = 0.3125 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) p2stateno = 1211 [State 181, DIED] type = Explod trigger1 = movehit anim = 888 ID = 1444 removetime = 1280 removeongethit = 1 ignorehitpause = 1 persistent = 0 [State 1040, 0.erf7] type = VelSet trigger1 = moveguarded 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 && !movehit value = anim elem = 3 persistent = 0 [State 0, Helper] type = Helper trigger1 = time%4 = 0 && vel x > 0 helpertype = normal stateno = 1301 postype = p1 ownpal = 1 size.xscale = 1.02 size.yscale = 1.02 [State 1050, 7] type = turn trigger1 = animtime = 0 && p2dist x < 0 [State 1050, 7] type = selfstate trigger1 = animtime = 0 value = 0 ctrl = 1 [Statedef 1211] ;hit by slide type = U movetype= H physics = N sprpriority = 1 ctrl = 0 [State 10000, open] type = playsnd trigger1 = time = 3 value = 3,11 channel = 3 [State 10000, open] type = posadd trigger1 = time = 0 trigger1 = statetype = A || statetype = L y = -20 [State 10000, open] type = selfstate trigger1 = time = 0 trigger1 = statetype = A || statetype = L value = 21240 [State 10000, open] type = statetypeset trigger1 = time = 0 value = A [State 10000, open] type = hitvelset trigger1 = time = 0 x = 1 y = 1 [State 0, throw-up] type = Explod trigger1 = numexplod(118) = 0 anim = 888 ID = 118 removetime = -1 removeongethit = 0 ignorehitpause = 1 [state 0, throw up protection] type = defencemulset trigger1 = 1 value = 0.5 [state 0, p] type = playerpush trigger1 = 1 value = 0 [State 10000, open] type = selfstate trigger1 = name = "goro" trigger2 = name = "motaro" trigger3 = name = "kintaro" trigger4 = name = "shao kahn" value = 5050-50*(pos y >= var(57)) [State 10000, open] type = changeanim2 trigger1 = time = 0 value = 5070 [State 1000, 7] type = veladd trigger1 = time > 0 y = 0.375 [State 1000, 7] type = selfstate trigger1 = pos y > var(57) && vel y > 0 value = 5110 ;==================================== [Statedef 1220] ;ground freeze type = S movetype= A physics = S juggle = 2 velset = 0,0 anim = 1400 sprpriority = 0 ctrl = 0 [State 10000, open] type = PlaySnd trigger1 = animelem = 3 value = 20,7 volumescale = 200 channel = 0 [State 0, Explod] type = Explod trigger1 = animelem = 3 anim = 1401 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 = 1402 bindtime = -1 pos = 14,-72 scale = 0.5, 0.7 sprpriority = 2 ownpal = 1 removeongethit = 1 persistent = 0 [State 0, Explod] type = Explod trigger1 = animelem = 3, < 16 trigger2 = animelemno(0) = 2 anim = 499 pos = 14,-72 postype = p1 facing = 1-2*(random%2) vfacing = 1-2*(random%2) bindtime = 1 vel = 3-0.1*(random%11-random%11),3-0.1*(random%11-random%11) accel = -0.08,-0.08 random = 30,30 scale = 1,1 sprpriority = 4-6*(random%2) ownpal = 1 trans = add alpha = 90,256 [State 0, Explod] type = Explod trigger1 = animelem = 3 anim = 1403 bindtime = -1 ID = 7171 pos = 14,-70 ;scale = const(size.xscale), const(size.yscale) sprpriority = 3 ownpal = 1 removeongethit = 1 persistent = 0 [State 9251,misil] type = Helper trigger1 = animelemtime(3) = 15 postype = p1 pos = 95,0 ID = 7003 stateno = 1221 ownpal = 1 ;size.xscale = 0.4 ;size.yscale = 0.4 persistent = 0 [State 1000, 7] type = ChangeState trigger1 = AnimTime = 0 value = 0 ctrl = 1 [Statedef 1221] ;ice puddle type = S movetype= A physics = S juggle = 2 velset = 0,0 anim = 1404 sprpriority = -2 ctrl = 0 [State 0, Explod] type = Explod trigger1 = animelemno(0) = 2 && gametime%4 = 0 anim = 499 pos = 0,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 = 90,10 scale = 1,0.6 sprpriority = 2-3*(random%2) ownpal = 1 trans = add alpha = 90,256 [State 800, 1] type = null;HitDef Trigger1 = !movecontact triggerall = animelemno(0) = 1 damage = (p2stateno = 9010) pausetime = 1,0 attr = S, NP ;Attributes: Standing, Normal Throw hitflag = D ;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 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 && p2stateno != 9010 triggerall = animelemno(0) = 2 pausetime = 0,0 attr = C, ST ;Attributes: Standing, Normal Throw hitflag = HL ;Affect only ground people who are not being hit priority = 1, Miss ;Throw has low priority, must be miss or dodge type. hitsound = -1 guardsound = -1 sparkno = -1 ;No spark p2stateno = 1240 ;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 fall = 0 air.fall = 0 forcestand = 1 [State 10000, open] type = changeanim trigger1 = animelem = 2 && p2stateno = 9010 value = anim elem = 3 [State 10000, open] type = assertspecial trigger1 = animelemtime(2) > 0 flag = noshadow [State 10000, open] type = selfstate trigger1 = movecontact && animelemno(0) = 2 value = 1222 [State 1000, 7] type = destroyself trigger1 = movecontact && animelemno(0) = 1 trigger2 = animtime = 0 ignorehitpause = 0 [Statedef 1222] ;slipping puddle type = S movetype= A physics = S velset = 0,0 sprpriority = -4 ctrl = 0 [State 0, Explod] type = Explod trigger1 = animelemno(0) = 2 && gametime%4 = 0 anim = 499 pos = 0,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 = 90,10 scale = 1,0.6 sprpriority = 2-3*(random%2) ownpal = 1 trans = add alpha = 90,256 [State 10000, open] type = varset trigger1 = time = 0 v = 11 value = -1 [State 10000, open] type = varset triggerall = time > 0 trigger1 = abs(pos x - target,pos x) > 40 trigger2 = target,p2bodydist x = 0 v = 11 value = ifelse(var(11) = 1, -1, 1) [State 10000, open] type = targetbind trigger1 = time = 0 && abs(pos x - target,pos x) > 40 pos = ifelse(p2dist x > 0, 40,-40) time = 1 [State 10000, open] type = targetbind trigger1 = time > 0 && time < 79 && target,stateno = 1240 pos = p2dist x - var(11), 0 time = 1 [State 10000, open] type = targetdrop trigger1 = time < 80 triggerall = target,stateno != 1240 [State 10000, open] type = varset trigger1 = time = 0 v = 12 value = 0 [State 10000, open] type = varset triggerall = time > 0 trigger1 = target,stateno != 1240 trigger2 = time = 80 v = 12 value = 1 [State 10000, open] type = changeanim trigger1 = var(12) = 0 value = anim elem = 2 [State 10000, open] type = changeanim trigger1 = var(12) = 1 value = anim elem = 3 persistent = 0 [State 1000, 7] type = destroyself trigger1 = animtime = 0 [Statedef 1240] ;dude is slipping! type = S movetype= H physics = S anim = 21238 velset = 0,0 sprpriority = 1 ctrl = 0 [State 1000, 7] type = posset trigger1 = time = 0 y = var(57) [State 1000, 7] type = playsnd trigger1 = time = 1 value = 3,12 channel = 3 [State 1000, 7] type = selfstate trigger1 = time = 80 value = 0 ctrl = 1 ;------------------------------ ;------------------------------------ [Statedef 1300]; freeze @ signal type = S movetype= A physics = N juggle = 1 anim = 1310 Velset = 8, 0 sprpriority = 2 ctrl = 0 [State 10000, open] type = PlaySnd trigger1 = time = 0 value = 20,9 volumescale = 200 [State 10000, open] type = PlaySnd trigger1 = time = 3 value = 20,6 ;volumescale = 200 channel = 0 [State -2, 34] type = Playsnd triggerall = !moveguarded trigger1 = animelem = 4 || animelem = 9 value = f5,321 - (random%4 = 0) volumescale = 200 [State 1050, 4] type = HitDef trigger1 = !movecontact && p2stateno != 9010 && p2stateno != 12001 attr = S, ST damage = 0, 0 numhits = 0 hitflag = M guardflag = HL priority = 1, miss pausetime = 0, 0 sparkno = -1 guard.sparkno = -1 hitsound = s20,2 guardsound = 5,14 guard.slidetime = 12 ;Values for guarded attack (def: ground.slidetime) guard.ctrltime = 5 ;Time to regain control after guard (def: guard.slidetime) guard.dist = 100 p2stateno = 12001 guard.kill = 0 [State 1040, 0.erf7] type = targetbind trigger1 = movehit pos = -8, 0 time = 1 persistent = 0 [State 1040, 0.erf7] type = VelSet trigger1 = moveguarded X = 0 [State 1040, 0.erf7] type = changeanim trigger1 = moveguarded value = anim elem = 8 [State 181, DIED] type = playerpush trigger1 = !moveguarded value = 0 [State 181, DIED] type = statetypeset trigger1 = moveguarded trigger2 = p2dist x < 0 movetype = I [State 181, DIED] type = posadd trigger1 = moveguarded x = 13 persistent = 0 [State 181, DIED] type = posadd trigger1 = moveguarded trigger1 = gametime%3 = 0 x = -4 + 8*(gametime%6 = 3) [State 181, DIED] type = explod trigger1 = time = 0 anim = anim pos = -16,0 scale = const(size.xscale),const(size.yscale) bindtime = -1 removetime = 30 ID = 616 removeongethit = 1 trans = add alpha = 200,60 [State 181, DIED] type = explod trigger1 = time = 0 anim = anim pos = -32,0 scale = const(size.xscale),const(size.yscale) bindtime = -1 removetime = 30 ID = 616 removeongethit = 1 trans = add alpha = 150,120 [State 181, DIED] type = explod trigger1 = time = 0 anim = anim pos = -48,0 scale = const(size.xscale),const(size.yscale) bindtime = -1 removetime = 30 ID = 616 removeongethit = 1 trans = add alpha = 100,180 [State 181, DIED] type = explod trigger1 = time = 0 anim = anim pos = -64,0 scale = const(size.xscale),const(size.yscale) bindtime = -1 removetime = 30 ID = 616 removeongethit = 1 trans = add alpha = 50,240 [State 1050, 7] type = removeexplod trigger1 = movecontact ID = 616 [State 0, Explod] type = Explod trigger1 = time = 0 || movehit = 2 anim = 1210 pos = -8,-100 facing = 1-2*(random%2) vfacing = 1-2*(random%2) bindtime = 1 scale = 1,1 sprpriority = 2 ownpal = 1 [State 1050, 7] type = palfx trigger1 = numexplod(1991) = 0 && !movehit add = 0,60,120 color = 0 time = 1 ignorehitpause = 1 [State 1050, 7] type= selfstate trigger1 = time = 30 && !movecontact trigger2 = moveguarded > 40 trigger3 = movehit = 12 value = 0 ctrl = 1 ;shadow ;-------------------- [StateDef 1301] type = S movetype= I physics = N 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 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 alpha = 160,256 [State 1000, Accellw] type = assertspecial trigger1 = 1 flag = noshadow [State 1000, Accellw] type = palfx trigger1 = time < 6 add = 60,60,120 sinadd = -300,-300,-300,120 color = 60 time = 30 [State 1001, 10] type = destroyself trigger1 = time = 26 ;============ ;------------------------------------ [Statedef 1400]; polar blast type = S movetype= I physics = S juggle = 1 anim = 1220 Velset = 0, 0 sprpriority = 0 ctrl = 0 [State 10000, open] type = PlaySnd trigger1 = time = 0 value = 20,5 ;volumescale = 200 channel = 0 [State 10000, open] type = PlaySnd trigger1 = time = 30 value = 20,17 volumescale = 200 [State 10000, open] type = PlaySnd trigger1 = time = 30 value = 20,3 volumescale = 200 [State 1040, 0.erf7] type = statetypeSet trigger1 = time = 30 movetype = A [State 1050, 4] type = HitDef trigger1 = !movecontact && p2stateno != 9010 && p2stateno != 12001 attr = S, ST damage = 10*(p2stateno = 9010) numhits = 0 hitflag = MAF priority = 1, miss pausetime = 0, 0 sparkno = -1 guard.sparkno = -1 hitsound = s20,10 guardsound = -1 guard.slidetime = 12 ;Values for guarded attack (def: ground.slidetime) guard.ctrltime = 5 ;Time to regain control after guard (def: guard.slidetime) guard.dist = 0 p2stateno = 12001 kill = var(9) = 0 [State 181, DIED] type = envshake trigger1 = time = 30 ampl = 4 freq = 110 time = 30 [State 0, Explod] type = Explod trigger1 = animelem = 2 anim = 1211 pos = -29,-74 bindtime = -1 removetime = 30 scale = 1,1 sprpriority = 2 ontop = 0 ownpal = 1 removeongethit = 1 [State 0, Explod] type = Explod trigger1 = animelemtime(2) = 20 anim = 1221 pos = -29,-74 bindtime = 9 sprpriority = 4 ontop = 0 ownpal = 1 removeongethit = 1 [State 0, Explod] type = Explod trigger1 = animelemtime(2) = 26 anim = 1222 pos = -29,-74 bindtime = 1 sprpriority = 6 scale = 2.5,2.5 removetime = 3 ontop = 1 ownpal = 1 removeongethit = 1 [State 0, Explod] type = Explod trigger1 = animelemtime(2) = 24 anim = 1222 pos = -29,-74 bindtime = 1 sprpriority = 6 scale = 1.6,1.6 removetime = 5 ontop = 1 ownpal = 1 removeongethit = 1 [State 0, Explod] type = Explod trigger1 = animelemtime(2) = 22 anim = 1222 pos = -29,-74 bindtime = 1 sprpriority = 6 scale = 1,1 removetime = 7 ontop = 1 ownpal = 1 removeongethit = 1 [State 0, Explod] type = Explod trigger1 = animelemtime(2) = 20 anim = 1222 pos = -29,-74 bindtime = 1 sprpriority = 6 scale = 0.7,0.7 removetime = 9 ontop = 1 ownpal = 1 removeongethit = 1 [State 0, Explod] type = Explod trigger1 = animelemtime(2) = 18 anim = 1222 pos = -29,-74 bindtime = 1 sprpriority = 6 scale = 0.4,0.4 removetime = 11 ontop = 1 ownpal = 1 removeongethit = 1 [State 0, Explod] type = Envcolor trigger1 = animelemtime(2) = 29 value = 255,255,255 time = 6 [State 1050, 7] type= selfstate 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 9327, explod] type = removeExplod trigger1 = time = 0 ID = 1010 [State 1000, spear] type = selfState trigger1 = anim = 1002 value = 1005 [State 1000, ice] type = selfState trigger1 = anim = 1251 value = 1204 [State 1000, ice] type = selfState trigger1 = anim = 1503 value = 1232 [State 1000, acid] type = selfState trigger1 = anim = 1212 value = 1305 [State 1000, forceball] type = selfState trigger1 = anim = 1222 value = 1314 [State 1000, lightning] type = selfState trigger1 = anim = 1601 value = 1401 [State 1000, waterball] type = selfState trigger1 = anim = 1230 value = 1414 [State 1000, green star] type = selfState trigger1 = anim = 1241 value = 1503 [State 1000, cloud] type = selfState trigger1 = anim = 1250 value = 1605 [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 a 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 jump b 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 = 0 y = const(velocity.jump.y) [State 40, 6] type = ChangeState trigger1 = AnimTime = 0 value = 50 ctrl = 1