mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-11-09 00:04:42 +00:00
bf gf dead offsets
also lets you enter anim debug from game over screen, and with player1 if holding shift
This commit is contained in:
parent
b309fa5ba2
commit
e4f21d9ba7
|
@ -23,10 +23,7 @@ class GameOverSubstate extends MusicBeatSubstate
|
|||
var daBf:String = '';
|
||||
switch (daStage)
|
||||
{
|
||||
case 'school':
|
||||
stageSuffix = '-pixel';
|
||||
daBf = 'bf-pixel-dead';
|
||||
case 'schoolEvil':
|
||||
case 'school' | 'schoolEvil':
|
||||
stageSuffix = '-pixel';
|
||||
daBf = 'bf-pixel-dead';
|
||||
default:
|
||||
|
@ -92,6 +89,11 @@ class GameOverSubstate extends MusicBeatSubstate
|
|||
FlxG.switchState(new FreeplayState());
|
||||
}
|
||||
|
||||
#if debug
|
||||
if (FlxG.keys.justPressed.EIGHT)
|
||||
FlxG.switchState(new AnimationDebug(bf.curCharacter));
|
||||
#end
|
||||
|
||||
if (bf.animation.curAnim.name == 'firstDeath' && bf.animation.curAnim.curFrame == 12)
|
||||
{
|
||||
FlxG.camera.follow(camFollow, LOCKON, 0.01);
|
||||
|
|
|
@ -1976,7 +1976,12 @@ class PlayState extends MusicBeatState
|
|||
|
||||
#if debug
|
||||
if (FlxG.keys.justPressed.EIGHT)
|
||||
FlxG.switchState(new AnimationDebug(SONG.player2));
|
||||
{
|
||||
if (FlxG.keys.pressed.SHIFT)
|
||||
FlxG.switchState(new AnimationDebug(SONG.player1));
|
||||
else
|
||||
FlxG.switchState(new AnimationDebug(SONG.player2));
|
||||
}
|
||||
#end
|
||||
|
||||
if (generatedMusic && SONG.notes[Std.int(curStep / 16)] != null)
|
||||
|
|
Loading…
Reference in a new issue