i need a fading modchart for my mod pack
here u go
function start(song)
{
}
function beatHit(beat)
{
}
function update(elapsed)
{
}
function stepHit(step)
{
if (step == 247)
dad.playAnim('garTightBars');
if (curStep == 240)
new FlxTimer().start(0.1, function(tmr)
{
dad.alpha -= 0.05;
iconP2.alpha -= 0.05;
if (dad.alpha > 0)
{
tmr.reset(0.1);
}
});
}
function playerTwoTurn()
{
}
function playerTwoMiss()
{
}
function playerTwoSing()
{
}
function playerOneTurn()
{
}
function playerOneMiss()
{
}
function playerOneSing()
{
}
function start(song) { var trail = new FlxTrail(dad, null, 4, 24, 0.3, 0.069); addSprite(trail, BEHIND_ALL ); (This is for trail, ignore this)
}
function beatHit(beat) { }
function update(elapsed) { }
function stepHit(step) { }
function playerTwoTurn() { }
function playerTwoMiss() { }
function playerTwoSing() { ** currentPlayState.health-= (0.01);** FlxG.camera.shake(0.01, 0.08); (Camera shaking) gf.playAnim(‘scared’); (Scared Anim for GF) boyfriend.playAnim(‘scared’); (Scared Anim for BF) }
function playerOneTurn() { }
function playerOneMiss() { }
function playerOneSing() { }
Taken this of my mod’s modchart, delete the texts that explain everything for it to work.