;※※※※※※※※※※※※※※※※※※※※空中ダッシュ ;空中なのでtypeとphysicsがA、つまり空中です。 ;phisicsをAにすると地上についた瞬間強制的に立ち状態に戻ります。 ;それとctrl = 1にすることで空中ダッシュ中はいつでも攻撃ができるようにしてます。 ;--------------------------------------------------------------------------- ; 空中前ダッシュ [Statedef 2301] Type = A Physics = A Anim = 101 Ctrl = 0 VelSet = 0,0 [State -1] Type = VarSet Trigger1 = Time = 0 V = 2 Value = 0 [State -1] type = VarSet trigger1 = Time = 0 sysvar(1) = 1 [State -1] type = PlaySnd trigger1 = Time = 3 value = s0, 3 [State -1] Type = Explod Trigger1 = AnimElem = 1 Anim = 2330 ID = 2330 Postype = P1 Pos = 50,-30 Scale = 0.5,0.5 Ownpal = 1 SprPriority = 5 IgnoreHitPause = 1 Persistent = 0 Removetime = -2 Removeongethit = 1 [State -1] Type = Explod Trigger1 = time = 1 Anim = 2600 ID = 2600 Postype = P1 Pos = 0,-30 Scale = 1,1 Ownpal = 1 SprPriority = 5 IgnoreHitPause = 1 Persistent = 0 Removetime = -2 Removeongethit = 1 [State -1] Type = VarSet Trigger1 = Time = 0 V = 11 Value = Var(11)+10 [State -1, VelSet] Type = VelSet Trigger1 = Time = [0,2] X = 0 Y = 0 [State -1, VelSet] Type = VelSet Trigger1 = Time = 3 X = 7 Y = -3 [State -1, CtrlSet] Type = CtrlSet Trigger1 = Time >= IfElse(Var(57)/10%10=4,5,10) Value = 1 ; 空中後ダッシュ [Statedef 2311] Type = A Physics = A Anim = 115 Ctrl = 0 VelSet = 0,0 [State -1] Type = VarSet Trigger1 = Time = 0 V = 2 Value = 0 [State -1] type = VarSet trigger1 = Time = 0 sysvar(1) = -1 [State -1] type = PlaySnd trigger1 = Time = 2 value = s0, 3 [State -1] Type = Explod Trigger1 = AnimElem = 1 Anim = 2330 ID = 2330 Postype = P1 Pos = -20,-30 Scale = -0.5,0.5 Ownpal = 1 SprPriority = 5 IgnoreHitPause = 1 Persistent = 0 Removetime = -2 Removeongethit = 1 [State -1] Type = Explod Trigger1 = time = 1 Anim = 2600 ID = 2600 Postype = P1 Pos = 0,-30 Scale = -1,1 Ownpal = 1 SprPriority = 5 IgnoreHitPause = 1 Persistent = 0 Removetime = -2 Removeongethit = 1 [State -1] Type = VarSet Trigger1 = Time = 0 V = 11 Value = Var(11)+10 [State -1, VelSet] Type = VelSet Trigger1 = Time = [0,1] X = -2 Y = 0 [State -1, VelSet] Type = VelSet Trigger1 = Time = [2,10] X = -6 Y = 0 [State -1, VelSet] Type = VelSet Trigger1 = Time = 11 X = -2.5 Y = 0 [State -1, CtrlSet] Type = CtrlSet Trigger1 = Time >= IfElse(Var(57)/10%10=4,5,11) Value = 1