Skip to content

Commit

Permalink
Set up HOME Pokedex Completion
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMrDew committed Mar 3, 2025
1 parent 4ac5932 commit f7abc1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Pokedex/Pokedex/Controllers/AjaxController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1521,7 +1521,7 @@ public bool CheckShinyCharm(int gameId, int huntingMethodId)
if (this.Request.Headers["X-Requested-With"] == "XMLHttpRequest")
{
bool shinyCharm = true;
if (huntingMethodId == 8 || huntingMethodId == 14 || gameId == 43)
if (huntingMethodId == 8 || huntingMethodId == 14 || huntingMethodId == 38 || gameId == 43)
{
shinyCharm = false;
}
Expand Down
1 change: 1 addition & 0 deletions Pokedex/Pokedex/DataService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1175,6 +1175,7 @@ public List<Pokeball> GetPokeballs(int gameId, int huntingMethodId, System.Secur

break;
case "Event":
case "HOME Pokedex Completion":
if (game.GenerationId <= 3)
{
selectablePokeballs = selectablePokeballs.Where(x => x.Id == 1).ToList();
Expand Down

0 comments on commit f7abc1b

Please sign in to comment.