app/scripts/core/gameCoordinator.js
/**
   * Decrements the count of "eye" ghosts and updates the ambience
   */
Decrements the count of "eye" ghosts and updates the ambience
Decrements the count of " eye " ghosts and updates the ambience
restoreGhost() {
    this.eyeGhosts -= 1;
    if (this.eyeGhosts === 0) {
      const sound = this.scaredGhosts.length > 0
        ? powerUpSound
        : this.determineSiren(this.remainingDots);
      this.soundManager.setAmbience(sound);
    }
  }
restoreGhost ( ) { this . eyeGhosts -= 1 ; if ( this . eyeGhosts === 0 ) { const sound = this . scaredGhosts . length > 0 ? powerUpSound : this . determineSiren ( this . remainingDots ) ; this . soundManager . setAmbience ( sound ) ; } }
Decrements the count of "eye" ghosts and updates the ambience
Decrements the count of " eye " ghosts and updates the ambience