Advertisement
Guest User

Untitled

a guest
Jul 21st, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.13 KB | None | 0 0
  1. case ( score <= 20 ) :
  2. typeTf.text = "rien ne va plus !";
  3. dm.tool = toolTf.text = "le râteau d'or";
  4. gotoAndStop(TYPE_RATEAU + SCORE_OR);
  5. break;
  6. case ( score > 20 && score < 40 ) :
  7. typeTf.text = "c'est pas terrible !";
  8. dm.tool = toolTf.text = "le râteau d'argent";
  9. gotoAndStop(TYPE_RATEAU + SCORE_ARGENT);
  10. break;
  11. case ( score >= 40 && score <= 50 ) :
  12. typeTf.text = "encore quelques efforts à faire !";
  13. dm.tool = toolTf.text = "le râteau de bronze";
  14. gotoAndStop(TYPE_RATEAU + SCORE_BRONZE);
  15. break;
  16. case ( score > 50 && score <= 60 ) :
  17. typeTf.text = "il y a un léger frémissement !";
  18. dm.tool = toolTf.text = "la pelle de bronze";
  19. gotoAndStop(TYPE_PELLE + SCORE_BRONZE);
  20. break;
  21. case ( score > 60 && score <= 80 ) :
  22. typeTf.text = "tout roule !";
  23. dm.tool = toolTf.text = "la pelle d'argent";
  24. gotoAndStop(TYPE_PELLE + SCORE_ARGENT);
  25. break;
  26. case ( score > 80 ) :
  27. typeTf.text = "ça pulse à mort !";
  28. dm.tool = toolTf.text = "la pelle d'or";
  29. gotoAndStop(TYPE_PELLE + SCORE_OR);
  30. break;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement