v2.5.0: re-added skip to interlevelscene when debugging

This commit is contained in:
Evan Debenham
2024-09-03 15:14:12 -04:00
parent a47baab4a3
commit dde976b368
@@ -210,7 +210,7 @@ public class InterlevelScene extends PixelScene {
Random.popGenerator(); Random.popGenerator();
if (DeviceCompat.isDebug()){ if (DeviceCompat.isDebug()){
fadeTime = 1f; fadeTime = 0f;
} }
Image background = new Image(loadingAsset); Image background = new Image(loadingAsset);
@@ -266,7 +266,7 @@ public class InterlevelScene extends PixelScene {
align(loadingText); align(loadingText);
add(loadingText); add(loadingText);
if (mode == Mode.DESCEND && lastRegion <= 5){ if (mode == Mode.DESCEND && lastRegion <= 5 && !DeviceCompat.isDebug()){
if (Dungeon.hero == null || (loadingDepth > Statistics.deepestFloor && loadingDepth % 5 == 1)){ if (Dungeon.hero == null || (loadingDepth > Statistics.deepestFloor && loadingDepth % 5 == 1)){
storyMessage = PixelScene.renderTextBlock(Document.INTROS.pageBody(region), 6); storyMessage = PixelScene.renderTextBlock(Document.INTROS.pageBody(region), 6);
storyMessage.maxWidth( PixelScene.landscape() ? 180 : 125); storyMessage.maxWidth( PixelScene.landscape() ? 180 : 125);