diff --git a/source/GameOverSubstate.hx b/source/GameOverSubstate.hx index c427e140d..c0b6d516f 100644 --- a/source/GameOverSubstate.hx +++ b/source/GameOverSubstate.hx @@ -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); diff --git a/source/PlayState.hx b/source/PlayState.hx index 25a4ffcae..3de0871bd 100644 --- a/source/PlayState.hx +++ b/source/PlayState.hx @@ -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)