Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- case ( score <= 20 ) :
- typeTf.text = "rien ne va plus !";
- dm.tool = toolTf.text = "le râteau d'or";
- gotoAndStop(TYPE_RATEAU + SCORE_OR);
- break;
- case ( score > 20 && score < 40 ) :
- typeTf.text = "c'est pas terrible !";
- dm.tool = toolTf.text = "le râteau d'argent";
- gotoAndStop(TYPE_RATEAU + SCORE_ARGENT);
- break;
- case ( score >= 40 && score <= 50 ) :
- typeTf.text = "encore quelques efforts à faire !";
- dm.tool = toolTf.text = "le râteau de bronze";
- gotoAndStop(TYPE_RATEAU + SCORE_BRONZE);
- break;
- case ( score > 50 && score <= 60 ) :
- typeTf.text = "il y a un léger frémissement !";
- dm.tool = toolTf.text = "la pelle de bronze";
- gotoAndStop(TYPE_PELLE + SCORE_BRONZE);
- break;
- case ( score > 60 && score <= 80 ) :
- typeTf.text = "tout roule !";
- dm.tool = toolTf.text = "la pelle d'argent";
- gotoAndStop(TYPE_PELLE + SCORE_ARGENT);
- break;
- case ( score > 80 ) :
- typeTf.text = "ça pulse à mort !";
- dm.tool = toolTf.text = "la pelle d'or";
- gotoAndStop(TYPE_PELLE + SCORE_OR);
- break;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement