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

View File

@@ -210,7 +210,7 @@ public class InterlevelScene extends PixelScene {
Random.popGenerator();
if (DeviceCompat.isDebug()){
fadeTime = 1f;
fadeTime = 0f;
}
Image background = new Image(loadingAsset);
@@ -266,7 +266,7 @@ public class InterlevelScene extends PixelScene {
align(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)){
storyMessage = PixelScene.renderTextBlock(Document.INTROS.pageBody(region), 6);
storyMessage.maxWidth( PixelScene.landscape() ? 180 : 125);