Blargity blargh. In Mugen 04.14.2001, commands entered during a hitpause persist for one tick beyond the end of the hitpause. But I've just discovered that in Mugen 11.01.2001+, commands entered during a hitpause persist for one plus the command's buffer.time beyond the end of the hitpause. My apologies, I have no idea how I could have overlooked that. Thanks to Sepp for help identifying that issue!
I don't have time to fix the helper method accordingly right away, but I've gone ahead and fixed the XOR method. Both archives updated.
For the 2 variable/2 helper version:
[State 9743, HitPauseTime]
type = VarSet
trigger1 = !(Parent,HitPauseTime)
trigger2 = GameTime > Parent,var(57)
var(1) = Parent,HitPauseTime
changed to
[State 9743, fiXOR]
type = VarAdd
trigger1 = !(Parent,HitPauseTime)
trigger1 = var(1) > 0
var(1) = -1
[State 9743, fuXOR]
type = VarSet
trigger1 = Parent,HitPauseTime
trigger1 = Parent,var(57) < GameTime-1
var(1) = 2; Set this to your maximum command buffer.time + 1. If you haven't
; set command.buffer.time nor buffer.time for any commands, then set this to 2.
IgnoreHitPause = 1
For the 3 variable/1 helper version:
; This controller must be placed here, after the above XOR VarSet
; controller and before the below GameTime VarSet controller.
[State -3, fiXOR]
type = VarSet
trigger1 = !HitPauseTime
trigger2 = var(57) < GameTime-1
var(56) = HitPauseTime
IgnoreHitPause = 1
changed to
; These next two controllers must be placed here, after the above XOR
; VarSet controller and before the below GameTime VarSet controller.
[State -3, fiXOR]
type = VarAdd
trigger1 = var(56) > 0
var(56) = -1
[State -3, fuXOR]
type = VarSet
trigger1 = HitPauseTime
trigger1 = var(57) < GameTime-1
var(56) = 2; Set this to your maximum command buffer.time + 1. If you haven't
; set command.buffer.time nor buffer.time for any commands, then set this to 2.
IgnoreHitPause = 1
I haven't technically tested the update yet, but it ought to work properly.
Still quite busy.
(Yes, I intend to deal with that stuff eventually, but kinda can't just yet, sorry. :/ )
Last Edit:
February 01, 2006, 04:32:43 pm by :nink: