Skip to content

Commit

Permalink
Update pokedexLocation.js
Browse files Browse the repository at this point in the history
  • Loading branch information
fakuzatsu authored Dec 18, 2024
1 parent 0ae16c7 commit 919db97
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion helpers/pokedexLocation.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ function locationMode(pokemonInfo, monsID, imageLnk) {
}
}
const locationText = buildTextFromRoutes(locations, pokemonName);
return `**Encounter information:**\n\nStandard rates assume that incense/radar are not active. For further accuracy, visit [our docs](https://luminescent.team/docs).\n${backupText}${locationText}\nSee more in the [Pokédex](https://luminescent.team/pokedex/${monsID}).`;
const pokemonPath = pokemonInfo.formno === 0 ? pokemonInfo.monsno : `${pokemonInfo.monsno}_${pokemonInfo.formno}`;
return `**Encounter information:**\n\nStandard rates assume that incense/radar are not active. For further accuracy, visit [our docs](https://luminescent.team/docs).\n${backupText}${locationText}\nSee more in the [Pokédex](https://luminescent.team/pokedex/${pokemonPath}).`;
}

const backupData = getBackupData(monsID);
Expand Down

0 comments on commit 919db97

Please sign in to comment.