MidflightDigital / ddrsn3-theme

Contains SN3 theme
MIT License
10 stars 2 forks source link

Cutin trigger stuff #5

Closed tertu-m closed 7 years ago

tertu-m commented 7 years ago

As far as we can tell something is wrong with the cutins.

The purpose of this issue is to determine exactly which cutins should trigger when and modify the code so they behave accordingly.

tertu-m commented 7 years ago

So we have in pseudocode:

if combo == 0 then do nothing elseif magical mystery B condition then play cutin B elseif combo % 100 == 0 then play cutin 100 elseif combo % 50 == 0 then play cutin A end

The question now is: what is the magical mystery B condition?

tertu-m commented 7 years ago

Thanks to the DDR wikia it appears that the "magical mystery B condition" is combo == math.floor(numTapsAndHolds/2) or combo == math.floor(numTapsAndHolds*0.9)

tertu-m commented 7 years ago

I think this is fixed now.