Skip to content

Commit

Permalink
Display Mega Pokemon's items
Browse files Browse the repository at this point in the history
I do not exactly know why this exists. My guess is that removing the
item was as a hack for reduced Knock Off damage but we don't need that
since it's handled in the calc backend
  • Loading branch information
thejetou committed Nov 7, 2023
1 parent f4a8257 commit 64cefd4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/js/shared_controls.js
Original file line number Diff line number Diff line change
Expand Up @@ -826,8 +826,6 @@ $(".forme").change(function () {
container.find(".ability").keyup();
if (startsWith($(this).val(), "Ogerpon-") && !startsWith($(this).val(), "Ogerpon-Teal")) {
container.find(".item").val($(this).val().split("-")[1] + " Mask").keyup();
} else if ($(this).val().indexOf("-Mega") !== -1 && $(this).val() !== "Rayquaza-Mega") {
container.find(".item").val("").keyup();
} else {
container.find(".item").prop("disabled", false);
}
Expand Down

0 comments on commit 64cefd4

Please sign in to comment.