:call_command_code
  wait 10
  if Variables.cheatCode
    js this._params = [Variables.cheatCode];
    + this.command356();
  end

:cheat_change_weather
  js this.clearReservedChoices();
  + this.addChoice('Sunny');
  + this.addChoice('Rainy');

  Player ("Choose new weather", "Cancel", "Cancel")

  if response == 'Sunny'
    js Managers.Weather.changeWeather(WeatherType.SUN);
  end

  if response == 'Rainy'
    js Managers.Weather.changeWeather(WeatherType.RAIN);
  end

:cheat_change_tomorrow_weather
  js this.clearReservedChoices();
  + this.addChoice('Sunny');
  + this.addChoice('Rainy');

  Player ("Choose new weather for tomorrow", "Cancel", "Cancel")

  if response == 'Sunny'
    js Managers.Weather.nextDayWeather = WeatherType.SUN;
  end

  if response == 'Rainy'
    js Managers.Weather.nextDayWeather = WeatherType.RAIN;
  end

:cheat_change_time
  js this.clearReservedChoices();
  Player ("Choose new time", "06:00", "10:00", "14:00", "16:00", "18:00", "20:00", "22:00", "02:00", "Cancel", "Cancel")

  if response == '06:00'
    js Managers.Time.hour = 6;
  end

  if response == '10:00'
    js Managers.Time.hour = 10;
  end

  if response == '14:00'
    js Managers.Time.hour = 14;
  end

  if response == '16:00'
    js Managers.Time.hour = 16;
  end

  if response == '18:00'
    js Managers.Time.hour = 18;
  end

  if response == '20:00'
    js Managers.Time.hour = 20;
  end

  if response == '22:00'
    js Managers.Time.hour = 22;
  end

  if response == '02:00'
    js Managers.Time.hour = 2;
  end

  if response == 'Cancel'
    return
  end

  js Managers.Time.minute = 0;
  + Managers.Time.seconds = 0;
  refresh time
