diff --git a/desktop_version/src/Script.cpp b/desktop_version/src/Script.cpp index f30fc8cb..54712fb3 100644 --- a/desktop_version/src/Script.cpp +++ b/desktop_version/src/Script.cpp @@ -1271,7 +1271,6 @@ void scriptclass::run() game.gamestate = 5; graphics.menuoffset = 240; //actually this should count the roomname if (map.extrarow) graphics.menuoffset -= 10; - //graphics.menubuffer.copyPixels(graphics.screenbuffer, graphics.screenbuffer.rect, graphics.tl, null, null, false); graphics.resumegamemode = false; @@ -2805,8 +2804,6 @@ void scriptclass::startgamemode( int t ) game.jumpheld = true; graphics.showcutscenebars = true; graphics.cutscenebarspos = 320; - //game.starttest(); - //music.play(4); //set flipmode if (graphics.setflipmode) graphics.flipmode = true; @@ -2834,8 +2831,6 @@ void scriptclass::startgamemode( int t ) game.jumpheld = true; graphics.showcutscenebars = true; graphics.cutscenebarspos = 320; - //game.starttest(); - //music.play(4); //set flipmode if (graphics.setflipmode) graphics.flipmode = true; @@ -3198,9 +3193,6 @@ void scriptclass::startgamemode( int t ) map.customx = 100; map.customy = 100; - //graphics.showcutscenebars = true; - //graphics.cutscenebarspos = 320; - //set flipmode if (graphics.setflipmode) graphics.flipmode = true; @@ -3218,7 +3210,6 @@ void scriptclass::startgamemode( int t ) }else{ music.currentsong=-1; } - //load("intro"); break; case 22: //play custom level (in game) { @@ -3239,9 +3230,6 @@ void scriptclass::startgamemode( int t ) map.customx = 100; map.customy = 100; - //graphics.showcutscenebars = true; - //graphics.cutscenebarspos = 320; - //set flipmode if (graphics.setflipmode) graphics.flipmode = true; @@ -3263,7 +3251,6 @@ void scriptclass::startgamemode( int t ) music.currentsong=-1; } graphics.fademode = 4; - //load("intro"); break; } case 23: //Continue in custom level @@ -3288,9 +3275,6 @@ void scriptclass::startgamemode( int t ) game.gravitycontrol = game.savegc; - //graphics.showcutscenebars = true; - //graphics.cutscenebarspos = 320; - //set flipmode if (graphics.setflipmode) graphics.flipmode = true; @@ -3303,16 +3287,8 @@ void scriptclass::startgamemode( int t ) map.resetplayer(); } map.gotoroom(game.saverx, game.savery); - /* Handled by load - if(ed.levmusic>0){ - music.play(ed.levmusic); - }else{ - music.currentsong=-1; - } - */ ed.generatecustomminimap(); graphics.fademode = 4; - //load("intro"); break; } #endif