underground.nut 297 B

123456789101112131415
  1. print("[DEBUG] levels/hume_rainbow_cave/underground.nut loaded\n");
  2. if(! ("jeskyne" in state)){
  3. state.jeskyne <- true;
  4. }
  5. function podzemak(j){
  6. fade_time <- 0.35;
  7. Foreground.fade(j ? 1 : 0.3, fade_time);
  8. frfr.fade(j ? 1 : 0.3, fade_time);
  9. state.jeskyne <- j;
  10. }
  11. podzemak(state.jeskyne);