;============================================================ ; Face fireball [StateDef 1000] type = S movetype= A physics = S juggle = 2 ctrl = 0 velset = 0,0 anim = 1000 [State 181, DIED] type = Explod trigger1 = animelem = 3 anim = 1003 sprpriority = 2 scale = const(size.xscale),const(size.yscale) ownpal = 1 bindtime = -1 removeongethit = 1 [State 88500, Fireball Chuck] type = playsnd trigger1 = animelem = 3 value = 4,17 channel = 0 [State 1200, Za] type = posadd trigger1 = animelem = 2 x = 16 [State 0, Helper] type = Helper trigger1 = animelem = 4 helpertype = normal stateno = 1001 pos = 7*const(size.xscale),-87*const(size.yscale) postype = p1 ownpal = 1 size.xscale = 0.8 size.yscale = 0.8 [State 1200, 10] type = ChangeState trigger1 = AnimTime = 0 ctrl = 1 value = 0 [StateDef 1001];star type = A movetype= A physics = N juggle = 2 ctrl = 0 velset = 10,0 sprpriority = 2 anim = 1001 [State 1200, 10] type = assertspecial trigger1 = 1 flag = noshadow ignorehitpause = 1 [State 1200, BoltFat] trigger1 = !movecontact type = hitdef attr = S, NP damage = 230, 30 animtype = Light air.animtype = Back air.fall = 1 fall.recover = 0 hitflag = HAF guardflag = HL pausetime = 0,2 sparkno = -1 guard.sparkno = -1 hitsound = S4,18 guardsound = 5,14 ground.type = High ground.slidetime = 20 ground.hittime = 20 ground.velocity = -4,0 air.velocity = -3.5,-6 air.fall = 1 guard.dist = 100 fall.recover = 0 air.juggle = 3 yaccel = 0.5 p2stateno = 21238 kill = (root,Var(9) = 0) fall.kill = (root,Var(9) = 0) guard.kill = (root,Var(9) = 0) [State 181, DIED] type = Explod trigger1 = movecontact anim = 1002 sprpriority = 3 pos = 10,0 scale = 0.8,1 ownpal = 1 bindtime = 1 persistent = 0 [State 181, DIED] type = playsnd trigger1 = movehit value = 4,20 volumescale = 200 persistent = 0 [State 181, DIED] type = playsnd trigger1 = moveguarded value = 4,19 volumescale = 200 persistent = 0 [State 181, DIED] type = targetvelset trigger1 = movehit && target,stateno = 21239 x = -4*ifelse(target,vel x < 0, 1, -1) ignorehitpause = 1 [State 181, DIED] type = targetvelset trigger1 = moveguarded && target,stateno = [150,159] x = -2 ignorehitpause = 1 [State 181, DIED] type = changeanim trigger1 = movecontact value = 888 ignorehitpause = 1 [State 1200, 10] type = destroyself trigger1 = movecontact > 12 trigger2 = frontedgedist < -100 trigger3 = time < 4 && root,movetype = H [StateDef 1002];star flies back type = A movetype= A physics = N juggle = 2 ctrl = 0 velset = 0,0 [State 1200, 10] type = assertspecial trigger1 = 1 flag = noshadow ignorehitpause = 1 [State 1200, Za] type = turn trigger1 = time = 0 [State 1200, Za] type = posadd trigger1 = time = 0 x = 20 [State 1200, Za] type = velset trigger1 = time > 0 x = 10 [State 1200, BoltFat] type = hitdef trigger1 = time > 3 && !movecontact attr = S, HP affectteam = F damage = 230, 30 animtype = Light air.animtype = Back air.fall = 1 fall.recover = 0 hitflag = HAF guardflag = HL pausetime = 0,2 sparkno = -1 guard.sparkno = -1 hitsound = S4,18 guardsound = 5,14 ground.type = High ground.slidetime = 20 ground.hittime = 20 ground.velocity = -4,0 air.velocity = -3.5,-6 air.fall = 1 fall.recover = 0 air.juggle = 3 yaccel = 0.5 guard.dist = 100 p2stateno = 21238 kill = (enemy,Var(9) = 0) fall.kill = (enemy,Var(9) = 0) guard.kill = (enemy,Var(9) = 0) [State 181, DIED] type = Explod trigger1 = movecontact anim = 1002 sprpriority = 3 pos = 10,0 scale = 0.8,1 ownpal = 1 bindtime = 1 persistent = 0 [State 181, DIED] type = playsnd trigger1 = movehit value = 4,20 volumescale = 200 persistent = 0 [State 181, DIED] type = playsnd trigger1 = moveguarded value = 4,19 volumescale = 200 persistent = 0 [State 181, DIED] type = targetvelset trigger1 = movehit && target,stateno = 21239 x = -4*ifelse(target,vel x < 0, 1, -1) ignorehitpause = 1 [State 181, DIED] type = targetvelset trigger1 = moveguarded && target,stateno = [150,159] x = -2 ignorehitpause = 1 [State 181, DIED] type = changeanim trigger1 = movecontact value = 888 ignorehitpause = 1 [State 1200, 10] type = destroyself trigger1 = movecontact > 12 trigger2 = frontedgedist < -100 [StateDef 1010]; aerial type = A movetype= A physics = N juggle = 6 ctrl = 0 velset = 0,0 anim = 1010 sprpriority = 1 [State 181, DIED] type = Explod trigger1 = time = 1 anim = 1011 sprpriority = 2 scale = const(size.xscale),const(size.yscale) ownpal = 1 bindtime = -1 removeongethit = 1 [State 88500, Fireball Chuck] type = playsnd trigger1 = time = 1 value = 4,17 channel = 0 [State 0, Helper] type = Helper trigger1 = time = 1 helpertype = normal stateno = 1001 pos = -3*const(size.xscale),-112*const(size.yscale) postype = p1 ownpal = 1 size.xscale = 0.8 size.yscale = 0.8 [State 88500, huck] type = VelAdd trigger1 = time = 0 X = -6 [State 88500, huck] type = VelAdd trigger1 = animelem = 2 X = 2 [State 88500, NotFreindly] type = VarSet trigger1 = time = 12 v = 5 value = 1 [State 88500, Fall] type = selfState trigger1 = Time = 12 value = 1011 [Statedef 1011]; drop type = A movetype= I physics = A juggle = 4 velset = 0,1.5 ctrl = 0 [State 1101] type = Veladd trigger1 = time > 0 y = .5 ; Saw [StateDef 1100] type = S movetype= I physics = S juggle = 10 velset = 0,0 anim = 1100 ctrl = 0 [State 181, DIED] type = Explod trigger1 = time = 1 anim = 888 id = 70899 pos = 168,100 postype = left facing = 1 sprpriority = 1 ownpal = 1 removetime = 700 [State 10000, open] type = PlaySnd trigger1 = AnimElem = 3 value = 4, 4 channel = 0 [State 181, DIED] type = Explod trigger1 = animelem = 3 anim = 1101 scale = const(size.xscale),const(size.yscale) bindtime = -1 sprpriority = 2 ownpal = 1 removeongethit = 1 [State 2, blood111] type = Helper trigger1 = animelem = 5 trigger1 = numhelper(1011) < 1 ID = 1011 stateno = 1101 pos = frontedgedist + 200, 7 postype = p1 ownpal = 1 facing = -1 size.shadowoffset = 7 [State 1000, 7] type = ChangeState trigger1 = AnimTime = 0 value = 0 ctrl = 1 [Statedef 1101] type = S movetype= A physics = N juggle = 11 velset = 8,0 anim = 1102 sprpriority = 7 [State 10000, open] type = PlaySnd trigger1 = time = 6 value = 4, 5 volumescale = 40 persistent = 0 [State 1200, BoltFat] type = HitDef trigger1 = !movecontact attr = S, SP damage = 180, 20 animtype = Light air.animtype = Back hitflag = MAFD guardflag = HL pausetime = 3,8 sparkno = -1 guard.sparkno = -1 p2stateno = 1090 hitsound = S4,6 guardsound = S4,7 ground.type = High ground.slidetime = 20 ground.hittime = 20 ground.velocity = 0,0 guard.dist = 80 air.velocity = 2,-2 air.fall = 1 fall.recover = 0 air.juggle = 11 kill = (root,Var(9) = 0) fall.kill = (root,Var(9) = 0) guard.kill = (root,Var(9) = 0) [State 1000, 0.123] type = changestate trigger1 = movehit value = 1102 [State 1000, 0.1] type = Destroyself trigger1 = frontedgedist < -120 [Statedef 1102] type = S movetype= A physics = N velset = 0,0 sprpriority = 4 [State 1000, 0.123] type = changeanim trigger1 = time = 0 value = anim + 1 elem = animelemno(0) [State ] type = Helper trigger1 = time = 0 && !numhelper(127) helpertype = Normal ID = 127 stateno = 31 pos = -50, 90 postype = p1 persistent = 0 ignorehitpause = 1 ownpal = 1 [State 1200, BoltFat] type = changestate triggerall = time > 30 trigger1 = p2movetype != H trigger2 = enemy,prevstateno = 21299 trigger3 = p2stateno = 5120 trigger4 = target,stateno = 1090 && target,time > 30 trigger5 = root,stateno = [200,430] trigger6 = time = 120 && roundstate > 2 value = 1103 [Statedef 1103] type = S movetype= I physics = N velset = 16,0 sprpriority = 4 [State 1000, 0.123] type = changeanim trigger1 = time = 0 value = anim - 1 elem = animelemno(0) [State 1000, 0.1] type = Destroyself trigger1 = frontedgedist < -160 [Statedef 1090] type = S movetype= H physics = S juggle = 2 velset = 0,0 anim = 21238 [State 88500, inv off] type = VarSet trigger1 = time = 0 v = 17 value = 0 [State 88500, Fall] type = posadd trigger1 = time = 0 && Pos Y != var(57) y = -((pos y-var(57))/2) [State 1101] type = statetypeSet trigger1 = pos y >= var(57) value = S [State 1101] type = statetypeSet trigger1 = pos y < var(57) value = A [State 88500, Fall] type = selfState trigger1 = Pos Y != var(57) trigger1 = time = 40 value = 5050 [State 88500, Fall] type = selfState trigger1 = Pos Y = var(57) trigger1 = time = 40 trigger1 = alive = 1 value = 0 ctrl = 1 [State 88500, Fall] type = selfState trigger1 = pos y = var(57) trigger1 = time = 40 trigger1 = alive = 0 value = 21299 ;-------------------------------------------- [StateDef 1200] type = S movetype= A physics = S juggle = 10 ctrl = 0 anim = 1200 sprpriority = 2 facep2 = 1 [State 181, DIED] type = Explod trigger1 = animelem = 7 anim = 1202 scale = const(size.xscale),const(size.yscale) bindtime = -1 sprpriority = 1 ownpal = 1 removeongethit = 1 ignorehitpause = 1 [State 181, DIED] type = Explod trigger1 = animelem = 7 anim = 1201 ID = 1200 scale = const(size.xscale),const(size.yscale) bindtime = -1 sprpriority = 3 ownpal = 1 removeongethit = 1 ignorehitpause = 1 [State 181, DIED] type = trans trigger1 = numexplod(1200) > 0 trans = add alpha = 128, 72 ignorehitpause = 1 [State 181, DIED] type = changeanim trigger1 = moveguarded && animelem = 8 value = anim elem = 7 persistent = 0 [State 181, DIED] type = changeanim trigger1 = moveguarded && animelem = 8 value = anim elem = 8 persistent = 0 [State 223, Go2] type = null;posadd trigger1 = MoveGuarded x = -16 persistent = 0 [State 223, Go2] type = POSFREEZE trigger2 = p2bodydist X = (0,5) trigger1 = MoveGuarded trigger2 = p2stateno = [1210,1211] trigger2 = !movehit VALUE = 1 [State 223, Go2] type = offset trigger1 = MoveGuarded && gametime%4 = 0 && moveguarded < 20 x = -4 [State 223, Gao2] type = VelSet trigger2 = p2bodydist X = (0,5) trigger1 = MoveGuarded trigger2 = p2stateno = [1210,1211] trigger2 = !movehit VALUE = 0 [State 1000, g] type = PlayerPush trigger1 = animelemtime(7) > 0 trigger1 = p2stateno != [1210,1211] trigger2 = movehit value = 0 ignorehitpause = 1 [State 1100, aAccell] type = VelAdd trigger1 = time > 2 && Time < 25 x = 13 [State 1100, aAccell] type = VelAdd trigger1 = animelemtime(8) >= 0 && vel x > 0 x = -6 [State 1000, ger] type = PosSet trigger1 = time = 0 Y = 0 [State 1000, gibber] type = PlaySnd trigger1 = Time = 2 value = 14, 0 channel = 0 [State 1000, 10] type = HitDef trigger1 = !movecontact trigger1 = p2name != "kintaro" trigger1 = p2name != "goro" trigger1 = p2name != "motaro" trigger1 = p2stateno != 1210 damage = 10*(p2stateno = 9010||enemy,numexplod(118) > 0) attr = S, ST animtype = Light fall.animtype = Light guardflag = HL hitflag = MAF ground.type = Low air.type = Low pausetime = 0,1 sparkno = -1 guard.sparkno = -1 hitsound = -1 forcestand = 1 air.fall = 1 p2facing = -1 p2stateno = 1210 guardsound = 5,14 ground.type = Low guard.dist = 200 guard.velocity = 0 guard.slidetime = 10 guard.ctrltime = 10 ground.slidetime = 20 ground.hittime = 220 ground.velocity = 0,0 air.velocity = 0,0 air.hittime = 17 numhits = 0 fall.recover = 0 hitonce = 1 kill = Var(9) = 0 fall.kill = Var(9) = 0 guard.kill = Var(9) = 0 [State 88500, Explod] type = Explod trigger1 = movehit anim = 888 id = 7089 pos = 0*const(size.xscale), -5*const(size.xscale) postype = p1 sprpriority = -1 ownpal = 1 removetime = 1850 persistent = 0 [State 1000, BounceOff] type = ChangeState trigger1 = AnimTime = 0 ctrl = 1 value = 0 [Statedef 1210] type = U movetype = H physics = S anim = 5010 ctrl = 0 juggle = 10 velset = 0,0 [State 88500, inv off] type = VarSet trigger1 = time = 0 v = 17 value = 0 [State 1101] type = statetypeSet trigger1 = statetype != A value = S [State 1101] type = statetypeSet trigger1 = statetype = A value = A [State -2, 34] type = stopsnd trigger1 = time < 3 channel = 3 [State -2, 34] type = Playsnd trigger1 = time%8 = 0 value = f5,152 - 137*(random%3 = 0) ;value = f5,150 + 4*(random%2) volumescale = 200 [State 1101] type = null;PosSet trigger1 = time < 3 y = 3*(pos y)/4 [State 110123] type = assertspecial trigger1 = time > 0 flag = invisible flag2 = noshadow [State 88500, Fire Explode] type = Explod trigger1 = time = 1 anim = F41 pos = 0*const(size.xscale), -2*const(size.xscale) postype = p1 sprpriority = -1 ownpal = 1 removetime = 80 removeongethit = 1 bindtime = -1 shadow = -1,-1,-1 [State 110123] type = Veladd trigger1 = Time = 80 trigger1 = pos y < 0 y = 3 [State 3010, CS] type = ChangeState trigger1 = Time = 80 trigger1 = pos y >= var(57) value = 1211 [State 3010, CS] type = selfState trigger1 = Time = 80 value = 5050 [Statedef 1211] type = S movetype= H physics = S velset = 0,0 juggle = 10 Anim = 5300 [State 9010, 034.1] type = PosSet trigger1 = 1 Y = var(57) [State 3010, C345S] type = selfState trigger1 = time > 30 trigger1 = command = "blok" value = 130 ctrl = 1 [State 3010, 35S] type = selfState trigger1 = time > 30 trigger1 = command = "blok" trigger1 = command = "holddown" value = 131 ctrl = 1 [State 10210, 3] type = Selfstate trigger1 = time = 50 && alive value = 0 ctrl = 1 [State 821, 4] ;Hit ground type = SelfState trigger1 = !alive value = 21299 ;=================================== [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 = 1001 value = 1002 [State 1000, BounceOff] type = selfState trigger1 = anim = 1102 value = 1101 [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