scripting stuff
[supertux.git] / data / script / default.nut
1
2 function get_gold_key()
3 {
4   add_key(KEY_GOLD);
5   end_level();
6 }
7
8 function end_level()
9 {
10   Sound.play_music("leveldone");
11   wait(6);
12   DisplayEffect.fade_out(2);
13   wait(2);
14   Level.finish();
15 }