YesNoOk
avatar

Strange helper during Custom Combo (POTS-Infinite) (Read 1903 times)

Started by Momotaro, April 19, 2022, 04:21:44 pm
Share this topic:
Strange helper during Custom Combo (POTS-Infinite)
New #1  April 19, 2022, 04:21:44 pm
  • *****
  • A.K.A. NED
  • I like to draw fighting game characters...
Hello.
I'm trying to restore Shimo's custom combo. Seems like the mechanics are still in the character, but some stuffs have to be fixed.

Every time I activate it there is an "empty" helper (the usual one that plays anim 0 when the anim is missing)

The usual "Custom Combo FX" helper have no problem, it's correctly displayed.
But I don't know how to remove this extra helper. Any help is welcome!

Code of Custom combo starter
Code:
;====================<CUSTOM COMBO>====================
;Ground Version
[StateDef 900]
type = S
physics = S
moveType = A
anim = 900
velSet = 0,0
ctrl = 0
sprPriority = 2
powerAdd = -1000

[State 900, Corner Push]
type = VarSet
trigger1 = Time = 4
fvar(5) = 0

[State 900, Unguardable]
type = VarSet
trigger1 = Time = 4 && NumEnemy
trigger1 = (EnemyNear, StateNo != [120,155])
var(17) = 30

[State 900, NotHitBy]
type = NotHitBy
trigger1 = !time
value = SCA
time = 38

[State 900, PosFreeze]
type = PosFreeze
trigger1 = 1
value = 1

[State 900, Custom Combo Time]
type = VarSet
trigger1 = Time >= 4
var(20) = 180

[State 900, Voice]
type = PlaySnd
trigger1 = Time = 4
value = 191,0
channel = 0

[State 900, Custom Combo FX Helper]
type = Helper
trigger1 = Time = 4
helperType = Normal
stateNo = 8400
ID = 8400
name = "Custom Combo FX"
posType = P1
pos = 2,-65
superMoveTime = 255
size.xScale = 1
size.yScale = 1
ownpal = 1

[State 900, SuperPause]
type = SuperPause
trigger1 = Time = 4
time = 30
moveTime = 30
anim = -1
sound = s900,0
p2DefMul = 1
darken = 0

[State 900, AfterImage]
type = AfterImage
trigger1= !AnimTime
time = 2
timeGap = 1
frameGap = 4
length = 13
palBright = 0,0,0
palContrast = 64,128,192
palPostBright = 0,0,0
palAdd = 0,0,0
palMul = 0.75,0.75,0.75
trans = add1

[State 900, End]
type = ChangeState
trigger1 = !AnimTime
value = 0
ctrl = 1
Last Edit: April 19, 2022, 07:42:09 pm by Momotaro
Re: Strange helper during Custom Combo (POTS-Infinite)
#2  April 19, 2022, 04:30:50 pm
  • ****
  • Objection! Sustained!
    • Russia
    • mitia.pogorelov1@yandex.ru
Well, my best bet if for you to look into State 8400 (aka Helper's State). I'm sure mistake might be hiding there.
Re: Strange helper during Custom Combo (POTS-Infinite)
#3  April 19, 2022, 06:59:19 pm
  • *****
  • A.K.A. NED
  • I like to draw fighting game characters...
Well, my best bet if for you to look into State 8400 (aka Helper's State). I'm sure mistake might be hiding there.

Thanks! I tried your suggestion.
But it doesn't seems to be the explods of this helper.

My try here was to put a "NULL" in the explod's code.
These helpers are not displayed of course, but this animation 0 is still poping.

The code :
Spoiler, click to toggle visibilty

EDIT : Wait ! I think I fixed the problem.
It was definitely some helper problem. I used debug information to see the statenumber of this helper when it happens.

I found it. It was some leftover of Excel mechanics. (excel timer)
I'm not sure it's needed anymore.
I removed it this way, and it seems to work now!
Code:
;[State -2, Excel Timer]
;type = helper
;trigger1 = !numhelper(8405) && var(20) > 0
;helpertype = normal
;stateno = 8405
;ID = 8405
;name = "Excel Timer"
;postype = p1
;ownpal = 1
;pausemovetime = 2147483647
;supermovetime = 2147483647
;ignorehitpause = 1
Last Edit: April 19, 2022, 07:06:42 pm by Momotaro