diff --git a/.gitignore b/.gitignore index 44884e8d0c..78865d113c 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ # Production /build +/coverage # Generated files .docusaurus diff --git a/__gamedata/english_ss_zkn_form.json b/__gamedata/english_ss_zkn_form.json index 1bf267263c..2a5e0e46a7 100644 --- a/__gamedata/english_ss_zkn_form.json +++ b/__gamedata/english_ss_zkn_form.json @@ -6069,7 +6069,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "One form", + "str": "A Form", "strWidth": 123.90625 } ] @@ -14829,7 +14829,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Arceus", + "str": "Blank Plate Arceus", "strWidth": 86.796875 } ] @@ -20019,7 +20019,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Meadow Pattern", + "str": "Icy Snow Pattern", "strWidth": 250.0 } ] @@ -23259,7 +23259,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Meteor Form", + "str": "Red Meteor Form", "strWidth": 250.0 } ] @@ -23379,7 +23379,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Disguised Form", + "str": "Disguised Form Mimikyu", "strWidth": 250.0 } ] @@ -26109,7 +26109,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Vanilla Cream", + "str": "Vanilla Cream Strawberry Sweet", "strWidth": 250.0 } ] @@ -30249,7 +30249,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "", + "str": "Apex Build", "strWidth": 153.453125 } ] @@ -30279,7 +30279,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "", + "str": "Ultimate Mode", "strWidth": 153.453125 } ] @@ -30879,7 +30879,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Pikachu Rock Star", + "str": "Cosplay Rock Star Pikachu", "strWidth": 250.0 } ] @@ -30909,7 +30909,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Pikachu Belle", + "str": "Cosplay Belle Pikachu", "strWidth": 250.0 } ] @@ -30939,7 +30939,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Pikachu Pop Star", + "str": "Cosplay Pop Star Pikachu", "strWidth": 250.0 } ] @@ -30969,7 +30969,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Pikachu, Ph.D", + "str": "Cosplay Ph.D Pikachu", "strWidth": 250.0 } ] @@ -30999,7 +30999,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Pikachu Libre", + "str": "Cosplay Libre Pikachu", "strWidth": 250.0 } ] @@ -33039,7 +33039,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "MK2 Armored Mewtwo", + "str": "Mk II Armored Mewtwo", "strWidth": 153.453125 } ] @@ -33069,7 +33069,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "MK2 Armored Mewtwo", + "str": "Mk I Armored Mewtwo", "strWidth": -1.0 } ] @@ -33129,7 +33129,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Spiky-eared Pichu", + "str": "Spiky-Eared Pichu", "strWidth": 250.0 } ] @@ -33249,7 +33249,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "One form", + "str": "B Form", "strWidth": 123.90625 } ] @@ -33279,7 +33279,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "One form", + "str": "C Form", "strWidth": 123.90625 } ] @@ -33309,7 +33309,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "One form", + "str": "D Form", "strWidth": 123.90625 } ] @@ -33339,7 +33339,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "One form", + "str": "E Form", "strWidth": 123.90625 } ] @@ -33369,7 +33369,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "One form", + "str": "F Form", "strWidth": 123.90625 } ] @@ -33399,7 +33399,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "One form", + "str": "G Form", "strWidth": 123.90625 } ] @@ -33429,7 +33429,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "One form", + "str": "H Form", "strWidth": 123.90625 } ] @@ -33459,7 +33459,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "One form", + "str": "I Form", "strWidth": 123.90625 } ] @@ -33489,7 +33489,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "One form", + "str": "J Form", "strWidth": 123.90625 } ] @@ -33519,7 +33519,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "One form", + "str": "K Form", "strWidth": 123.90625 } ] @@ -33549,7 +33549,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "One form", + "str": "L Form", "strWidth": 123.90625 } ] @@ -33579,7 +33579,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "One form", + "str": "M Form", "strWidth": 123.90625 } ] @@ -33609,7 +33609,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "One form", + "str": "N Form", "strWidth": 123.90625 } ] @@ -33639,7 +33639,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "One form", + "str": "O Form", "strWidth": 123.90625 } ] @@ -33669,7 +33669,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "One form", + "str": "P Form", "strWidth": 123.90625 } ] @@ -33699,7 +33699,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "One form", + "str": "Q Form", "strWidth": 123.90625 } ] @@ -33729,7 +33729,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "One form", + "str": "R Form", "strWidth": 123.90625 } ] @@ -33759,7 +33759,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "One form", + "str": "S Form", "strWidth": 123.90625 } ] @@ -33789,7 +33789,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "One form", + "str": "T Form", "strWidth": 123.90625 } ] @@ -33819,7 +33819,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "One form", + "str": "U Form", "strWidth": 123.90625 } ] @@ -33849,7 +33849,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "One form", + "str": "V Form", "strWidth": 123.90625 } ] @@ -33879,7 +33879,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "One form", + "str": "W Form", "strWidth": 123.90625 } ] @@ -33909,7 +33909,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "One form", + "str": "X Form", "strWidth": 123.90625 } ] @@ -33939,7 +33939,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "One form", + "str": "Y Form", "strWidth": 123.90625 } ] @@ -33969,7 +33969,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "One form", + "str": "Z Form", "strWidth": 123.90625 } ] @@ -33999,7 +33999,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "One form", + "str": "! Form", "strWidth": 123.90625 } ] @@ -34029,7 +34029,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "One form", + "str": "? Form", "strWidth": 123.90625 } ] @@ -35829,7 +35829,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Arceus", + "str": "Fist Plate Arceus", "strWidth": 86.796875 } ] @@ -35859,7 +35859,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Arceus", + "str": "Sky Plate Arceus", "strWidth": 86.796875 } ] @@ -35889,7 +35889,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Arceus", + "str": "Toxic Plate Arceus", "strWidth": 86.796875 } ] @@ -35919,7 +35919,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Arceus", + "str": "Earth Plate Arceus", "strWidth": 86.796875 } ] @@ -35949,7 +35949,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Arceus", + "str": "Stone Plate Arceus", "strWidth": 86.796875 } ] @@ -35979,7 +35979,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Arceus", + "str": "Insect Plate Arceus", "strWidth": 86.796875 } ] @@ -36009,7 +36009,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Arceus", + "str": "Spooky Plate Arceus", "strWidth": 86.796875 } ] @@ -36039,7 +36039,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Arceus", + "str": "Iron Plate Arceus", "strWidth": 86.796875 } ] @@ -36069,7 +36069,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Arceus", + "str": "Flame Plate Arceus", "strWidth": 86.796875 } ] @@ -36099,7 +36099,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Arceus", + "str": "Splash Plate Arceus", "strWidth": 86.796875 } ] @@ -36129,7 +36129,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Arceus", + "str": "Meadow Plate Arceus", "strWidth": 86.796875 } ] @@ -36159,7 +36159,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Arceus", + "str": "Zap Plate Arceus", "strWidth": 86.796875 } ] @@ -36189,7 +36189,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Arceus", + "str": "Mind Plate Arceus", "strWidth": 86.796875 } ] @@ -36219,7 +36219,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Arceus", + "str": "Icicle Plate Arceus", "strWidth": 86.796875 } ] @@ -36249,7 +36249,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Arceus", + "str": "Draco Plate Arceus", "strWidth": 86.796875 } ] @@ -36279,7 +36279,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Arceus", + "str": "Dread Plate Arceus", "strWidth": 86.796875 } ] @@ -36309,7 +36309,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Arceus", + "str": "Pixie Plate Arceus", "strWidth": 86.796875 } ] @@ -37179,7 +37179,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Shock Drive Genesect", + "str": "Douse Drive Genesect", "strWidth": 250.0 } ] @@ -37209,7 +37209,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Burn Drive Genesect", + "str": "Shock Drive Genesect", "strWidth": 250.0 } ] @@ -37239,7 +37239,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Chill Drive Genesect", + "str": "Burn Drive Genesect", "strWidth": 250.0 } ] @@ -37269,7 +37269,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Douse Drive Genesect", + "str": "Chill Drive Genesect", "strWidth": 250.0 } ] @@ -37299,7 +37299,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "", + "str": "Battle Bond Greninja", "strWidth": -1.0 } ] @@ -37509,7 +37509,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Icy Snow Pattern", + "str": "Meadow Pattern", "strWidth": 250.0 } ] @@ -38979,7 +38979,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Zygarde Complete Forme", + "str": "Zygarde 10% Power Construct Forme", "strWidth": 250.0 } ] @@ -39009,7 +39009,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Zygarde Core Forme", + "str": "Zygarde 50% Power Construct Forme", "strWidth": 250.0 } ] @@ -39039,7 +39039,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Zygarde Cell Forme", + "str": "Zygarde Complete Forme", "strWidth": 250.0 } ] @@ -39339,7 +39339,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "", + "str": "Own Tempo Rockruff", "strWidth": -1.0 } ] @@ -40059,7 +40059,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Meteor Form", + "str": "Orange Meteor Form", "strWidth": 250.0 } ] @@ -40089,7 +40089,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Meteor Form", + "str": "Yellow Meteor Form", "strWidth": 250.0 } ] @@ -40119,7 +40119,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Meteor Form", + "str": "Green Meteor Form", "strWidth": 250.0 } ] @@ -40149,7 +40149,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Meteor Form", + "str": "Blue Meteor Form", "strWidth": 250.0 } ] @@ -40179,7 +40179,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Meteor Form", + "str": "Indigo Meteor Form", "strWidth": 250.0 } ] @@ -40209,7 +40209,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Meteor Form", + "str": "Violet Meteor Form", "strWidth": 250.0 } ] @@ -40479,7 +40479,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Busted Form", + "str": "Busted Form Mimikyu", "strWidth": 250.0 } ] @@ -40509,7 +40509,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Totem Mimikyu", + "str": "Totem Disguised Form Mimikyu", "strWidth": 250.0 } ] @@ -40539,7 +40539,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Totem Mimikyu", + "str": "Totem Busted Form Mimikyu", "strWidth": 250.0 } ] @@ -41139,7 +41139,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Gigantamax Toxtricity", + "str": "Gigantamax Amped Form Toxtricity", "strWidth": 250.0 } ] @@ -41169,7 +41169,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Gigantamax Toxtricity", + "str": "Gigantamax Low Key Form Toxtricity", "strWidth": 250.0 } ] @@ -41349,7 +41349,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Vanilla Cream", + "str": "Vanilla Cream Berry Sweet", "strWidth": 250.0 } ] @@ -41379,7 +41379,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Vanilla Cream", + "str": "Vanilla Cream Love Sweet", "strWidth": 250.0 } ] @@ -41409,7 +41409,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Vanilla Cream", + "str": "Vanilla Cream Star Sweet", "strWidth": 250.0 } ] @@ -41439,7 +41439,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Vanilla Cream", + "str": "Vanilla Cream Clover Sweet", "strWidth": 250.0 } ] @@ -41469,7 +41469,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Vanilla Cream", + "str": "Vanilla Cream Flower Sweet", "strWidth": 250.0 } ] @@ -41499,7 +41499,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Vanilla Cream", + "str": "Vanilla Cream Ribbon Sweet", "strWidth": 250.0 } ] @@ -41529,7 +41529,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Ruby Cream", + "str": "Ruby Cream Strawberry Sweet", "strWidth": 250.0 } ] @@ -41559,7 +41559,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Ruby Cream", + "str": "Ruby Cream Berry Sweet", "strWidth": 250.0 } ] @@ -41589,7 +41589,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Ruby Cream", + "str": "Ruby Cream Love Sweet", "strWidth": 250.0 } ] @@ -41619,7 +41619,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Ruby Cream", + "str": "Ruby Cream Star Sweet", "strWidth": 250.0 } ] @@ -41649,7 +41649,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Ruby Cream", + "str": "Ruby Cream Clover Sweet", "strWidth": 250.0 } ] @@ -41679,7 +41679,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Ruby Cream", + "str": "Ruby Cream Flower Sweet", "strWidth": 250.0 } ] @@ -41709,7 +41709,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Ruby Cream", + "str": "Ruby Cream Ribbon Sweet", "strWidth": 250.0 } ] @@ -41739,7 +41739,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Matcha Cream", + "str": "Matcha Cream Strawberry Sweet", "strWidth": 250.0 } ] @@ -41769,7 +41769,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Matcha Cream", + "str": "Matcha Cream Berry Sweet", "strWidth": 250.0 } ] @@ -41799,7 +41799,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Matcha Cream", + "str": "Matcha Cream Love Sweet", "strWidth": 250.0 } ] @@ -41829,7 +41829,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Matcha Cream", + "str": "Matcha Cream Star Sweet", "strWidth": 250.0 } ] @@ -41859,7 +41859,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Matcha Cream", + "str": "Matcha Cream Clover Sweet", "strWidth": 250.0 } ] @@ -41889,7 +41889,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Matcha Cream", + "str": "Matcha Cream Flower Sweet", "strWidth": 250.0 } ] @@ -41919,7 +41919,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Matcha Cream", + "str": "Matcha Cream Ribbon Sweet", "strWidth": 250.0 } ] @@ -41949,7 +41949,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Mint Cream", + "str": "Mint Cream Strawberry Sweet", "strWidth": 250.0 } ] @@ -41979,7 +41979,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Mint Cream", + "str": "Mint Cream Berry Sweet", "strWidth": 250.0 } ] @@ -42009,7 +42009,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Mint Cream", + "str": "Mint Cream Love Sweet", "strWidth": 250.0 } ] @@ -42039,7 +42039,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Mint Cream", + "str": "Mint Cream Star Sweet", "strWidth": 250.0 } ] @@ -42069,7 +42069,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Mint Cream", + "str": "Mint Cream Clover Sweet", "strWidth": 250.0 } ] @@ -42099,7 +42099,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Mint Cream", + "str": "Mint Cream Flower Sweet", "strWidth": 250.0 } ] @@ -42129,7 +42129,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Mint Cream", + "str": "Mint Cream Ribbon Sweet", "strWidth": 250.0 } ] @@ -42159,7 +42159,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Lemon Cream", + "str": "Lemon Cream Strawberry Sweet", "strWidth": 250.0 } ] @@ -42189,7 +42189,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Lemon Cream", + "str": "Lemon Cream Berry Sweet", "strWidth": 250.0 } ] @@ -42219,7 +42219,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Lemon Cream", + "str": "Lemon Cream Love Sweet", "strWidth": 250.0 } ] @@ -42249,7 +42249,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Lemon Cream", + "str": "Lemon Cream Star Sweet", "strWidth": 250.0 } ] @@ -42279,7 +42279,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Lemon Cream", + "str": "Lemon Cream Clover Sweet", "strWidth": 250.0 } ] @@ -42309,7 +42309,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Lemon Cream", + "str": "Lemon Cream Flower Sweet", "strWidth": 250.0 } ] @@ -42339,7 +42339,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Lemon Cream", + "str": "Lemon Cream Ribbon Sweet", "strWidth": 250.0 } ] @@ -42369,7 +42369,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Salted Cream", + "str": "Salted Cream Strawberry Sweet", "strWidth": 250.0 } ] @@ -42399,7 +42399,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Salted Cream", + "str": "Salted Cream Berry Sweet", "strWidth": 250.0 } ] @@ -42429,7 +42429,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Salted Cream", + "str": "Salted Cream Love Sweet", "strWidth": 250.0 } ] @@ -42459,7 +42459,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Salted Cream", + "str": "Salted Cream Star Sweet", "strWidth": 250.0 } ] @@ -42489,7 +42489,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Salted Cream", + "str": "Salted Cream Clover Sweet", "strWidth": 250.0 } ] @@ -42519,7 +42519,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Salted Cream", + "str": "Salted Cream Flower Sweet", "strWidth": 250.0 } ] @@ -42549,7 +42549,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Salted Cream", + "str": "Salted Cream Ribbon Sweet", "strWidth": 250.0 } ] @@ -42579,7 +42579,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Ruby Swirl", + "str": "Ruby Swirl Strawberry Sweet", "strWidth": 250.0 } ] @@ -42609,7 +42609,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Ruby Swirl", + "str": "Ruby Swirl Berry Sweet", "strWidth": 250.0 } ] @@ -42639,7 +42639,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Ruby Swirl", + "str": "Ruby Swirl Love Sweet", "strWidth": 250.0 } ] @@ -42669,7 +42669,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Ruby Swirl", + "str": "Ruby Swirl Star Sweet", "strWidth": 250.0 } ] @@ -42699,7 +42699,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Ruby Swirl", + "str": "Ruby Swirl Clover Sweet", "strWidth": 250.0 } ] @@ -42729,7 +42729,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Ruby Swirl", + "str": "Ruby Swirl Flower Sweet", "strWidth": 250.0 } ] @@ -42759,7 +42759,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Ruby Swirl", + "str": "Ruby Swirl Ribbon Sweet", "strWidth": 250.0 } ] @@ -42789,7 +42789,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Caramel Swirl", + "str": "Caramel Swirl Strawberry Sweet", "strWidth": 250.0 } ] @@ -42819,7 +42819,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Caramel Swirl", + "str": "Caramel Swirl Berry Sweet", "strWidth": 250.0 } ] @@ -42849,7 +42849,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Caramel Swirl", + "str": "Caramel Swirl Love Sweet", "strWidth": 250.0 } ] @@ -42879,7 +42879,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Caramel Swirl", + "str": "Caramel Swirl Star Sweet", "strWidth": 250.0 } ] @@ -42909,7 +42909,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Caramel Swirl", + "str": "Caramel Swirl Clover Sweet", "strWidth": 250.0 } ] @@ -42939,7 +42939,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Caramel Swirl", + "str": "Caramel Swirl Flower Sweet", "strWidth": 250.0 } ] @@ -42969,7 +42969,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Caramel Swirl", + "str": "Caramel Swirl Ribbon Sweet", "strWidth": 250.0 } ] @@ -42999,7 +42999,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Rainbow Swirl", + "str": "Rainbow Swirl Strawberry Sweet", "strWidth": 250.0 } ] @@ -43029,7 +43029,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Rainbow Swirl", + "str": "Rainbow Swirl Berry Sweet", "strWidth": 250.0 } ] @@ -43059,7 +43059,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Rainbow Swirl", + "str": "Rainbow Swirl Love Sweet", "strWidth": 250.0 } ] @@ -43089,7 +43089,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Rainbow Swirl", + "str": "Rainbow Swirl Star Sweet", "strWidth": 250.0 } ] @@ -43119,7 +43119,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Rainbow Swirl", + "str": "Rainbow Swirl Clover Sweet", "strWidth": 250.0 } ] @@ -43149,7 +43149,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Rainbow Swirl", + "str": "Rainbow Swirl Flower Sweet", "strWidth": 250.0 } ] @@ -43179,7 +43179,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Rainbow Swirl", + "str": "Rainbow Swirl Ribbon Sweet", "strWidth": 250.0 } ] @@ -43479,7 +43479,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Rapid Strike Style", + "str": "Rapid Strike Style Urshifu", "strWidth": 250.0 } ] @@ -43509,7 +43509,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Gigantamax Urshifu", + "str": "Gigantamax Single Strike Style Urshifu", "strWidth": 250.0 } ] @@ -43539,7 +43539,7 @@ "eventID": 7, "tagIndex": -1, "tagValue": 0.0, - "str": "Gigantamax Urshifu", + "str": "Gigantamax Rapid Strike Style Urshifu", "strWidth": 250.0 } ] diff --git a/coverage/clover.xml b/coverage/clover.xml deleted file mode 100644 index 60dd720dcc..0000000000 --- a/coverage/clover.xml +++ /dev/null @@ -1,729 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/coverage/coverage-final.json b/coverage/coverage-final.json deleted file mode 100644 index 53e7d85d4c..0000000000 --- a/coverage/coverage-final.json +++ /dev/null @@ -1,30 +0,0 @@ -{"/home/aarcon/Desktop/Personal/Lumi/luminescent-team/__gamedata/index.js": {"path":"/home/aarcon/Desktop/Personal/Lumi/luminescent-team/__gamedata/index.js","statementMap":{},"fnMap":{},"branchMap":{},"s":{},"f":{},"b":{},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"f02b782fd4490c5e34429c503e601823b54ca050"} -,"/home/aarcon/Desktop/Personal/Lumi/luminescent-team/plugins/pokedex-data-plugin/dex/ability.js": {"path":"/home/aarcon/Desktop/Personal/Lumi/luminescent-team/plugins/pokedex-data-plugin/dex/ability.js","statementMap":{"0":{"start":{"line":1,"column":38},"end":{"line":1,"column":55}},"1":{"start":{"line":4,"column":24},"end":{"line":4,"column":93}},"2":{"start":{"line":5,"column":2},"end":{"line":5,"column":92}},"3":{"start":{"line":5,"column":48},"end":{"line":5,"column":92}},"4":{"start":{"line":6,"column":2},"end":{"line":6,"column":30}},"5":{"start":{"line":10,"column":2},"end":{"line":10,"column":74}},"6":{"start":{"line":10,"column":22},"end":{"line":10,"column":74}},"7":{"start":{"line":12,"column":20},"end":{"line":12,"column":106}},"8":{"start":{"line":12,"column":65},"end":{"line":12,"column":105}},"9":{"start":{"line":14,"column":2},"end":{"line":14,"column":76}},"10":{"start":{"line":14,"column":24},"end":{"line":14,"column":76}},"11":{"start":{"line":15,"column":2},"end":{"line":15,"column":19}},"12":{"start":{"line":19,"column":22},"end":{"line":19,"column":91}},"13":{"start":{"line":20,"column":2},"end":{"line":20,"column":88}},"14":{"start":{"line":20,"column":44},"end":{"line":20,"column":88}},"15":{"start":{"line":21,"column":2},"end":{"line":21,"column":21}},"16":{"start":{"line":25,"column":19},"end":{"line":25,"column":64}},"17":{"start":{"line":26,"column":2},"end":{"line":26,"column":90}},"18":{"start":{"line":26,"column":76},"end":{"line":26,"column":90}},"19":{"start":{"line":27,"column":22},"end":{"line":29,"column":8}},"20":{"start":{"line":28,"column":4},"end":{"line":28,"column":56}},"21":{"start":{"line":31,"column":2},"end":{"line":31,"column":28}},"22":{"start":{"line":34,"column":0},"end":{"line":34,"column":108}}},"fnMap":{"0":{"name":"makeSmogonAbilityObject","decl":{"start":{"line":3,"column":9},"end":{"line":3,"column":32}},"loc":{"start":{"line":3,"column":48},"end":{"line":7,"column":1}},"line":3},"1":{"name":"getAbilityIdFromAbilityName","decl":{"start":{"line":9,"column":9},"end":{"line":9,"column":36}},"loc":{"start":{"line":9,"column":52},"end":{"line":16,"column":1}},"line":9},"2":{"name":"(anonymous_2)","decl":{"start":{"line":12,"column":58},"end":{"line":12,"column":59}},"loc":{"start":{"line":12,"column":65},"end":{"line":12,"column":105}},"line":12},"3":{"name":"getAbilityString","decl":{"start":{"line":18,"column":9},"end":{"line":18,"column":25}},"loc":{"start":{"line":18,"column":41},"end":{"line":22,"column":1}},"line":18},"4":{"name":"getAbilityInfo","decl":{"start":{"line":24,"column":9},"end":{"line":24,"column":23}},"loc":{"start":{"line":24,"column":28},"end":{"line":32,"column":1}},"line":24},"5":{"name":"(anonymous_5)","decl":{"start":{"line":27,"column":38},"end":{"line":27,"column":39}},"loc":{"start":{"line":27,"column":77},"end":{"line":29,"column":3}},"line":27}},"branchMap":{"0":{"loc":{"start":{"line":3,"column":33},"end":{"line":3,"column":46}},"type":"default-arg","locations":[{"start":{"line":3,"column":45},"end":{"line":3,"column":46}}],"line":3},"1":{"loc":{"start":{"line":4,"column":24},"end":{"line":4,"column":93}},"type":"binary-expr","locations":[{"start":{"line":4,"column":24},"end":{"line":4,"column":85}},{"start":{"line":4,"column":89},"end":{"line":4,"column":93}}],"line":4},"2":{"loc":{"start":{"line":5,"column":2},"end":{"line":5,"column":92}},"type":"if","locations":[{"start":{"line":5,"column":2},"end":{"line":5,"column":92}},{"start":{},"end":{}}],"line":5},"3":{"loc":{"start":{"line":5,"column":6},"end":{"line":5,"column":46}},"type":"binary-expr","locations":[{"start":{"line":5,"column":6},"end":{"line":5,"column":28}},{"start":{"line":5,"column":32},"end":{"line":5,"column":46}}],"line":5},"4":{"loc":{"start":{"line":10,"column":2},"end":{"line":10,"column":74}},"type":"if","locations":[{"start":{"line":10,"column":2},"end":{"line":10,"column":74}},{"start":{},"end":{}}],"line":10},"5":{"loc":{"start":{"line":14,"column":2},"end":{"line":14,"column":76}},"type":"if","locations":[{"start":{"line":14,"column":2},"end":{"line":14,"column":76}},{"start":{},"end":{}}],"line":14},"6":{"loc":{"start":{"line":18,"column":26},"end":{"line":18,"column":39}},"type":"default-arg","locations":[{"start":{"line":18,"column":38},"end":{"line":18,"column":39}}],"line":18},"7":{"loc":{"start":{"line":19,"column":22},"end":{"line":19,"column":91}},"type":"binary-expr","locations":[{"start":{"line":19,"column":22},"end":{"line":19,"column":83}},{"start":{"line":19,"column":87},"end":{"line":19,"column":91}}],"line":19},"8":{"loc":{"start":{"line":20,"column":2},"end":{"line":20,"column":88}},"type":"if","locations":[{"start":{"line":20,"column":2},"end":{"line":20,"column":88}},{"start":{},"end":{}}],"line":20},"9":{"loc":{"start":{"line":20,"column":6},"end":{"line":20,"column":42}},"type":"binary-expr","locations":[{"start":{"line":20,"column":6},"end":{"line":20,"column":26}},{"start":{"line":20,"column":30},"end":{"line":20,"column":42}}],"line":20},"10":{"loc":{"start":{"line":26,"column":2},"end":{"line":26,"column":90}},"type":"if","locations":[{"start":{"line":26,"column":2},"end":{"line":26,"column":90}},{"start":{},"end":{}}],"line":26},"11":{"loc":{"start":{"line":26,"column":6},"end":{"line":26,"column":74}},"type":"binary-expr","locations":[{"start":{"line":26,"column":6},"end":{"line":26,"column":23}},{"start":{"line":26,"column":27},"end":{"line":26,"column":49}},{"start":{"line":26,"column":53},"end":{"line":26,"column":74}}],"line":26}},"s":{"0":3,"1":2,"2":2,"3":1,"4":1,"5":2,"6":0,"7":2,"8":270,"9":2,"10":1,"11":1,"12":8792,"13":8792,"14":1,"15":8791,"16":2,"17":2,"18":1,"19":1,"20":2,"21":1,"22":3},"f":{"0":2,"1":2,"2":270,"3":8792,"4":2,"5":2},"b":{"0":[0],"1":[2,1],"2":[1,1],"3":[2,1],"4":[0,2],"5":[1,1],"6":[0],"7":[8792,1],"8":[1,8791],"9":[8792,8791],"10":[1,1],"11":[2,2,1]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"7cf0ca0987ed52bb7bb3f01dc0740971269e37d5"} -,"/home/aarcon/Desktop/Personal/Lumi/luminescent-team/plugins/pokedex-data-plugin/dex/data.js": {"path":"/home/aarcon/Desktop/Personal/Lumi/luminescent-team/plugins/pokedex-data-plugin/dex/data.js","statementMap":{"0":{"start":{"line":2,"column":22},"end":{"line":2,"column":71}},"1":{"start":{"line":3,"column":20},"end":{"line":3,"column":67}},"2":{"start":{"line":4,"column":22},"end":{"line":4,"column":73}},"3":{"start":{"line":5,"column":22},"end":{"line":5,"column":71}},"4":{"start":{"line":6,"column":19},"end":{"line":6,"column":64}},"5":{"start":{"line":7,"column":18},"end":{"line":7,"column":63}},"6":{"start":{"line":10,"column":25},"end":{"line":10,"column":80}},"7":{"start":{"line":11,"column":25},"end":{"line":11,"column":80}},"8":{"start":{"line":12,"column":22},"end":{"line":12,"column":79}},"9":{"start":{"line":13,"column":22},"end":{"line":13,"column":79}},"10":{"start":{"line":14,"column":23},"end":{"line":14,"column":78}},"11":{"start":{"line":15,"column":27},"end":{"line":15,"column":89}},"12":{"start":{"line":18,"column":20},"end":{"line":18,"column":74}},"13":{"start":{"line":19,"column":21},"end":{"line":19,"column":75}},"14":{"start":{"line":20,"column":20},"end":{"line":20,"column":78}},"15":{"start":{"line":21,"column":17},"end":{"line":21,"column":72}},"16":{"start":{"line":22,"column":18},"end":{"line":22,"column":73}},"17":{"start":{"line":23,"column":17},"end":{"line":23,"column":72}},"18":{"start":{"line":24,"column":18},"end":{"line":24,"column":73}},"19":{"start":{"line":27,"column":17},"end":{"line":27,"column":61}},"20":{"start":{"line":28,"column":20},"end":{"line":28,"column":67}},"21":{"start":{"line":29,"column":19},"end":{"line":29,"column":65}},"22":{"start":{"line":31,"column":0},"end":{"line":54,"column":2}}},"fnMap":{},"branchMap":{},"s":{"0":9,"1":9,"2":9,"3":9,"4":9,"5":9,"6":9,"7":9,"8":9,"9":9,"10":9,"11":9,"12":9,"13":9,"14":9,"15":9,"16":9,"17":9,"18":9,"19":9,"20":9,"21":9,"22":9},"f":{},"b":{},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"8951082a6c3a3a6fcac4fdadddd0de59f22bc5d5"} -,"/home/aarcon/Desktop/Personal/Lumi/luminescent-team/plugins/pokedex-data-plugin/dex/details.js": {"path":"/home/aarcon/Desktop/Personal/Lumi/luminescent-team/plugins/pokedex-data-plugin/dex/details.js","statementMap":{"0":{"start":{"line":1,"column":41},"end":{"line":1,"column":58}},"1":{"start":{"line":3,"column":19},"end":{"line":3,"column":24}},"2":{"start":{"line":4,"column":21},"end":{"line":4,"column":25}},"3":{"start":{"line":5,"column":21},"end":{"line":5,"column":29}},"4":{"start":{"line":8,"column":23},"end":{"line":8,"column":93}},"5":{"start":{"line":10,"column":2},"end":{"line":10,"column":40}},"6":{"start":{"line":10,"column":29},"end":{"line":10,"column":40}},"7":{"start":{"line":12,"column":37},"end":{"line":12,"column":60}},"8":{"start":{"line":13,"column":17},"end":{"line":13,"column":79}},"9":{"start":{"line":14,"column":15},"end":{"line":14,"column":35}},"10":{"start":{"line":16,"column":28},"end":{"line":16,"column":45}},"11":{"start":{"line":17,"column":30},"end":{"line":17,"column":51}},"12":{"start":{"line":18,"column":2},"end":{"line":18,"column":70}},"13":{"start":{"line":22,"column":23},"end":{"line":22,"column":93}},"14":{"start":{"line":24,"column":2},"end":{"line":24,"column":40}},"15":{"start":{"line":24,"column":29},"end":{"line":24,"column":40}},"16":{"start":{"line":26,"column":25},"end":{"line":26,"column":48}},"17":{"start":{"line":27,"column":17},"end":{"line":27,"column":48}},"18":{"start":{"line":29,"column":27},"end":{"line":29,"column":48}},"19":{"start":{"line":30,"column":2},"end":{"line":30,"column":37}},"20":{"start":{"line":33,"column":0},"end":{"line":33,"column":42}}},"fnMap":{"0":{"name":"getHeight","decl":{"start":{"line":7,"column":9},"end":{"line":7,"column":18}},"loc":{"start":{"line":7,"column":34},"end":{"line":19,"column":1}},"line":7},"1":{"name":"getWeight","decl":{"start":{"line":21,"column":9},"end":{"line":21,"column":18}},"loc":{"start":{"line":21,"column":34},"end":{"line":31,"column":1}},"line":21}},"branchMap":{"0":{"loc":{"start":{"line":7,"column":19},"end":{"line":7,"column":32}},"type":"default-arg","locations":[{"start":{"line":7,"column":31},"end":{"line":7,"column":32}}],"line":7},"1":{"loc":{"start":{"line":8,"column":23},"end":{"line":8,"column":93}},"type":"binary-expr","locations":[{"start":{"line":8,"column":23},"end":{"line":8,"column":85}},{"start":{"line":8,"column":89},"end":{"line":8,"column":93}}],"line":8},"2":{"loc":{"start":{"line":10,"column":2},"end":{"line":10,"column":40}},"type":"if","locations":[{"start":{"line":10,"column":2},"end":{"line":10,"column":40}},{"start":{},"end":{}}],"line":10},"3":{"loc":{"start":{"line":21,"column":19},"end":{"line":21,"column":32}},"type":"default-arg","locations":[{"start":{"line":21,"column":31},"end":{"line":21,"column":32}}],"line":21},"4":{"loc":{"start":{"line":22,"column":23},"end":{"line":22,"column":93}},"type":"binary-expr","locations":[{"start":{"line":22,"column":23},"end":{"line":22,"column":85}},{"start":{"line":22,"column":89},"end":{"line":22,"column":93}}],"line":22},"5":{"loc":{"start":{"line":24,"column":2},"end":{"line":24,"column":40}},"type":"if","locations":[{"start":{"line":24,"column":2},"end":{"line":24,"column":40}},{"start":{},"end":{}}],"line":24}},"s":{"0":2,"1":2,"2":2,"3":2,"4":1466,"5":1466,"6":1,"7":1465,"8":1465,"9":1465,"10":1465,"11":1465,"12":1465,"13":1466,"14":1466,"15":1,"16":1465,"17":1465,"18":1465,"19":1465,"20":2},"f":{"0":1466,"1":1466},"b":{"0":[0],"1":[1466,1],"2":[1,1465],"3":[0],"4":[1466,1],"5":[1,1465]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"928e522b32e56ab4b0a52ea9678d88d54434ea87"} -,"/home/aarcon/Desktop/Personal/Lumi/luminescent-team/plugins/pokedex-data-plugin/dex/egggroup.js": {"path":"/home/aarcon/Desktop/Personal/Lumi/luminescent-team/plugins/pokedex-data-plugin/dex/egggroup.js","statementMap":{"0":{"start":{"line":1,"column":26},"end":{"line":1,"column":43}},"1":{"start":{"line":3,"column":19},"end":{"line":20,"column":1}},"2":{"start":{"line":22,"column":33},"end":{"line":22,"column":94}},"3":{"start":{"line":23,"column":29},"end":{"line":23,"column":31}},"4":{"start":{"line":26,"column":2},"end":{"line":27,"column":51}},"5":{"start":{"line":27,"column":4},"end":{"line":27,"column":51}},"6":{"start":{"line":29,"column":25},"end":{"line":29,"column":58}},"7":{"start":{"line":30,"column":20},"end":{"line":30,"column":45}},"8":{"start":{"line":31,"column":20},"end":{"line":31,"column":45}},"9":{"start":{"line":32,"column":2},"end":{"line":32,"column":72}},"10":{"start":{"line":36,"column":2},"end":{"line":37,"column":53}},"11":{"start":{"line":37,"column":4},"end":{"line":37,"column":53}},"12":{"start":{"line":38,"column":2},"end":{"line":38,"column":32}},"13":{"start":{"line":43,"column":2},"end":{"line":45,"column":3}},"14":{"start":{"line":44,"column":4},"end":{"line":44,"column":54}},"15":{"start":{"line":47,"column":2},"end":{"line":49,"column":3}},"16":{"start":{"line":48,"column":4},"end":{"line":48,"column":54}},"17":{"start":{"line":51,"column":2},"end":{"line":51,"column":63}},"18":{"start":{"line":52,"column":2},"end":{"line":52,"column":63}},"19":{"start":{"line":53,"column":2},"end":{"line":53,"column":20}},"20":{"start":{"line":57,"column":2},"end":{"line":58,"column":53}},"21":{"start":{"line":58,"column":4},"end":{"line":58,"column":53}},"22":{"start":{"line":59,"column":2},"end":{"line":59,"column":58}},"23":{"start":{"line":62,"column":0},"end":{"line":62,"column":91}}},"fnMap":{"0":{"name":"getEggGroupViaPokemonId","decl":{"start":{"line":25,"column":9},"end":{"line":25,"column":32}},"loc":{"start":{"line":25,"column":48},"end":{"line":33,"column":1}},"line":25},"1":{"name":"getEggGroupNameById","decl":{"start":{"line":35,"column":9},"end":{"line":35,"column":28}},"loc":{"start":{"line":35,"column":45},"end":{"line":39,"column":1}},"line":35},"2":{"name":"createPokemonByEggGroupMap","decl":{"start":{"line":41,"column":9},"end":{"line":41,"column":35}},"loc":{"start":{"line":41,"column":64},"end":{"line":54,"column":1}},"line":41},"3":{"name":"getPokemonIdsInEggGroup","decl":{"start":{"line":56,"column":9},"end":{"line":56,"column":32}},"loc":{"start":{"line":56,"column":49},"end":{"line":60,"column":1}},"line":56}},"branchMap":{"0":{"loc":{"start":{"line":25,"column":33},"end":{"line":25,"column":46}},"type":"default-arg","locations":[{"start":{"line":25,"column":45},"end":{"line":25,"column":46}}],"line":25},"1":{"loc":{"start":{"line":26,"column":2},"end":{"line":27,"column":51}},"type":"if","locations":[{"start":{"line":26,"column":2},"end":{"line":27,"column":51}},{"start":{},"end":{}}],"line":26},"2":{"loc":{"start":{"line":26,"column":6},"end":{"line":26,"column":96}},"type":"binary-expr","locations":[{"start":{"line":26,"column":6},"end":{"line":26,"column":34}},{"start":{"line":26,"column":38},"end":{"line":26,"column":51}},{"start":{"line":26,"column":55},"end":{"line":26,"column":96}}],"line":26},"3":{"loc":{"start":{"line":32,"column":9},"end":{"line":32,"column":71}},"type":"cond-expr","locations":[{"start":{"line":32,"column":35},"end":{"line":32,"column":46}},{"start":{"line":32,"column":49},"end":{"line":32,"column":71}}],"line":32},"4":{"loc":{"start":{"line":35,"column":29},"end":{"line":35,"column":43}},"type":"default-arg","locations":[{"start":{"line":35,"column":42},"end":{"line":35,"column":43}}],"line":35},"5":{"loc":{"start":{"line":36,"column":2},"end":{"line":37,"column":53}},"type":"if","locations":[{"start":{"line":36,"column":2},"end":{"line":37,"column":53}},{"start":{},"end":{}}],"line":36},"6":{"loc":{"start":{"line":36,"column":6},"end":{"line":36,"column":90}},"type":"binary-expr","locations":[{"start":{"line":36,"column":6},"end":{"line":36,"column":35}},{"start":{"line":36,"column":39},"end":{"line":36,"column":53}},{"start":{"line":36,"column":57},"end":{"line":36,"column":90}}],"line":36},"7":{"loc":{"start":{"line":43,"column":2},"end":{"line":45,"column":3}},"type":"if","locations":[{"start":{"line":43,"column":2},"end":{"line":45,"column":3}},{"start":{},"end":{}}],"line":43},"8":{"loc":{"start":{"line":47,"column":2},"end":{"line":49,"column":3}},"type":"if","locations":[{"start":{"line":47,"column":2},"end":{"line":49,"column":3}},{"start":{},"end":{}}],"line":47},"9":{"loc":{"start":{"line":56,"column":33},"end":{"line":56,"column":47}},"type":"default-arg","locations":[{"start":{"line":56,"column":46},"end":{"line":56,"column":47}}],"line":56},"10":{"loc":{"start":{"line":57,"column":2},"end":{"line":58,"column":53}},"type":"if","locations":[{"start":{"line":57,"column":2},"end":{"line":58,"column":53}},{"start":{},"end":{}}],"line":57},"11":{"loc":{"start":{"line":57,"column":6},"end":{"line":57,"column":90}},"type":"binary-expr","locations":[{"start":{"line":57,"column":6},"end":{"line":57,"column":35}},{"start":{"line":57,"column":39},"end":{"line":57,"column":53}},{"start":{"line":57,"column":57},"end":{"line":57,"column":90}}],"line":57}},"s":{"0":2,"1":2,"2":2,"3":2,"4":1473,"5":2,"6":1471,"7":1471,"8":1471,"9":1471,"10":1937,"11":7,"12":1930,"13":2932,"14":24,"15":2932,"16":8,"17":2932,"18":2932,"19":2932,"20":6,"21":3,"22":3,"23":2},"f":{"0":1473,"1":1937,"2":2932,"3":6},"b":{"0":[0],"1":[2,1471],"2":[1473,1472,1471],"3":[1012,459],"4":[0],"5":[7,1930],"6":[1937,1935,1933],"7":[24,2908],"8":[8,2924],"9":[0],"10":[3,3],"11":[6,5,4]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"dc1cbe20d3d03357941746d3d56f4fcdf8390c83"} -,"/home/aarcon/Desktop/Personal/Lumi/luminescent-team/plugins/pokedex-data-plugin/dex/functions.js": {"path":"/home/aarcon/Desktop/Personal/Lumi/luminescent-team/plugins/pokedex-data-plugin/dex/functions.js","statementMap":{"0":{"start":{"line":1,"column":26},"end":{"line":1,"column":43}},"1":{"start":{"line":4,"column":17},"end":{"line":4,"column":65}},"2":{"start":{"line":7,"column":2},"end":{"line":9,"column":3}},"3":{"start":{"line":8,"column":4},"end":{"line":8,"column":40}},"4":{"start":{"line":11,"column":2},"end":{"line":11,"column":57}},"5":{"start":{"line":12,"column":2},"end":{"line":12,"column":17}},"6":{"start":{"line":16,"column":2},"end":{"line":16,"column":49}},"7":{"start":{"line":19,"column":32},"end":{"line":21,"column":1}},"8":{"start":{"line":20,"column":2},"end":{"line":20,"column":69}},"9":{"start":{"line":20,"column":51},"end":{"line":20,"column":67}},"10":{"start":{"line":23,"column":26},"end":{"line":25,"column":1}},"11":{"start":{"line":24,"column":2},"end":{"line":24,"column":26}},"12":{"start":{"line":28,"column":2},"end":{"line":28,"column":28}},"13":{"start":{"line":28,"column":17},"end":{"line":28,"column":28}},"14":{"start":{"line":29,"column":2},"end":{"line":29,"column":30}},"15":{"start":{"line":29,"column":19},"end":{"line":29,"column":30}},"16":{"start":{"line":30,"column":2},"end":{"line":30,"column":30}},"17":{"start":{"line":30,"column":19},"end":{"line":30,"column":30}},"18":{"start":{"line":31,"column":2},"end":{"line":31,"column":14}},"19":{"start":{"line":35,"column":23},"end":{"line":35,"column":55}},"20":{"start":{"line":36,"column":26},"end":{"line":36,"column":61}},"21":{"start":{"line":37,"column":2},"end":{"line":37,"column":61}},"22":{"start":{"line":41,"column":2},"end":{"line":41,"column":143}},"23":{"start":{"line":45,"column":2},"end":{"line":45,"column":34}},"24":{"start":{"line":45,"column":23},"end":{"line":45,"column":34}},"25":{"start":{"line":46,"column":2},"end":{"line":46,"column":34}},"26":{"start":{"line":46,"column":23},"end":{"line":46,"column":34}},"27":{"start":{"line":47,"column":2},"end":{"line":47,"column":32}},"28":{"start":{"line":47,"column":22},"end":{"line":47,"column":32}},"29":{"start":{"line":48,"column":2},"end":{"line":48,"column":32}},"30":{"start":{"line":48,"column":22},"end":{"line":48,"column":32}},"31":{"start":{"line":49,"column":2},"end":{"line":49,"column":32}},"32":{"start":{"line":49,"column":22},"end":{"line":49,"column":32}},"33":{"start":{"line":50,"column":2},"end":{"line":50,"column":12}},"34":{"start":{"line":54,"column":2},"end":{"line":54,"column":108}},"35":{"start":{"line":54,"column":44},"end":{"line":54,"column":102}},"36":{"start":{"line":57,"column":0},"end":{"line":68,"column":2}}},"fnMap":{"0":{"name":"createFormMap","decl":{"start":{"line":6,"column":9},"end":{"line":6,"column":22}},"loc":{"start":{"line":6,"column":48},"end":{"line":13,"column":1}},"line":6},"1":{"name":"getPokemonIdFromFormMap","decl":{"start":{"line":15,"column":9},"end":{"line":15,"column":32}},"loc":{"start":{"line":15,"column":57},"end":{"line":17,"column":1}},"line":15},"2":{"name":"(anonymous_2)","decl":{"start":{"line":19,"column":32},"end":{"line":19,"column":33}},"loc":{"start":{"line":19,"column":48},"end":{"line":21,"column":1}},"line":19},"3":{"name":"(anonymous_3)","decl":{"start":{"line":20,"column":36},"end":{"line":20,"column":37}},"loc":{"start":{"line":20,"column":51},"end":{"line":20,"column":67}},"line":20},"4":{"name":"(anonymous_4)","decl":{"start":{"line":23,"column":26},"end":{"line":23,"column":27}},"loc":{"start":{"line":23,"column":38},"end":{"line":25,"column":1}},"line":23},"5":{"name":"getGender","decl":{"start":{"line":27,"column":9},"end":{"line":27,"column":18}},"loc":{"start":{"line":27,"column":24},"end":{"line":32,"column":1}},"line":27},"6":{"name":"getImage","decl":{"start":{"line":34,"column":9},"end":{"line":34,"column":17}},"loc":{"start":{"line":34,"column":45},"end":{"line":38,"column":1}},"line":34},"7":{"name":"formatBaseStats","decl":{"start":{"line":40,"column":9},"end":{"line":40,"column":24}},"loc":{"start":{"line":40,"column":28},"end":{"line":42,"column":1}},"line":40},"8":{"name":"getGrassKnotPower","decl":{"start":{"line":44,"column":9},"end":{"line":44,"column":26}},"loc":{"start":{"line":44,"column":37},"end":{"line":51,"column":1}},"line":44},"9":{"name":"getPokemonIdFromMonsNoAndForm","decl":{"start":{"line":53,"column":9},"end":{"line":53,"column":38}},"loc":{"start":{"line":53,"column":55},"end":{"line":55,"column":1}},"line":53},"10":{"name":"(anonymous_10)","decl":{"start":{"line":54,"column":37},"end":{"line":54,"column":38}},"loc":{"start":{"line":54,"column":44},"end":{"line":54,"column":102}},"line":54}},"branchMap":{"0":{"loc":{"start":{"line":7,"column":2},"end":{"line":9,"column":3}},"type":"if","locations":[{"start":{"line":7,"column":2},"end":{"line":9,"column":3}},{"start":{},"end":{}}],"line":7},"1":{"loc":{"start":{"line":15,"column":33},"end":{"line":15,"column":43}},"type":"default-arg","locations":[{"start":{"line":15,"column":42},"end":{"line":15,"column":43}}],"line":15},"2":{"loc":{"start":{"line":15,"column":45},"end":{"line":15,"column":55}},"type":"default-arg","locations":[{"start":{"line":15,"column":54},"end":{"line":15,"column":55}}],"line":15},"3":{"loc":{"start":{"line":16,"column":9},"end":{"line":16,"column":48}},"type":"binary-expr","locations":[{"start":{"line":16,"column":9},"end":{"line":16,"column":35}},{"start":{"line":16,"column":39},"end":{"line":16,"column":48}}],"line":16},"4":{"loc":{"start":{"line":28,"column":2},"end":{"line":28,"column":28}},"type":"if","locations":[{"start":{"line":28,"column":2},"end":{"line":28,"column":28}},{"start":{},"end":{}}],"line":28},"5":{"loc":{"start":{"line":29,"column":2},"end":{"line":29,"column":30}},"type":"if","locations":[{"start":{"line":29,"column":2},"end":{"line":29,"column":30}},{"start":{},"end":{}}],"line":29},"6":{"loc":{"start":{"line":30,"column":2},"end":{"line":30,"column":30}},"type":"if","locations":[{"start":{"line":30,"column":2},"end":{"line":30,"column":30}},{"start":{},"end":{}}],"line":30},"7":{"loc":{"start":{"line":34,"column":18},"end":{"line":34,"column":28}},"type":"default-arg","locations":[{"start":{"line":34,"column":27},"end":{"line":34,"column":28}}],"line":34},"8":{"loc":{"start":{"line":34,"column":30},"end":{"line":34,"column":43}},"type":"default-arg","locations":[{"start":{"line":34,"column":42},"end":{"line":34,"column":43}}],"line":34},"9":{"loc":{"start":{"line":45,"column":2},"end":{"line":45,"column":34}},"type":"if","locations":[{"start":{"line":45,"column":2},"end":{"line":45,"column":34}},{"start":{},"end":{}}],"line":45},"10":{"loc":{"start":{"line":46,"column":2},"end":{"line":46,"column":34}},"type":"if","locations":[{"start":{"line":46,"column":2},"end":{"line":46,"column":34}},{"start":{},"end":{}}],"line":46},"11":{"loc":{"start":{"line":47,"column":2},"end":{"line":47,"column":32}},"type":"if","locations":[{"start":{"line":47,"column":2},"end":{"line":47,"column":32}},{"start":{},"end":{}}],"line":47},"12":{"loc":{"start":{"line":48,"column":2},"end":{"line":48,"column":32}},"type":"if","locations":[{"start":{"line":48,"column":2},"end":{"line":48,"column":32}},{"start":{},"end":{}}],"line":48},"13":{"loc":{"start":{"line":49,"column":2},"end":{"line":49,"column":32}},"type":"if","locations":[{"start":{"line":49,"column":2},"end":{"line":49,"column":32}},{"start":{},"end":{}}],"line":49},"14":{"loc":{"start":{"line":54,"column":44},"end":{"line":54,"column":102}},"type":"binary-expr","locations":[{"start":{"line":54,"column":44},"end":{"line":54,"column":63}},{"start":{"line":54,"column":67},"end":{"line":54,"column":102}}],"line":54}},"s":{"0":4,"1":4,"2":5866,"3":4045,"4":5866,"5":5866,"6":3,"7":4,"8":12182,"9":171185,"10":4,"11":1466,"12":4,"13":1,"14":3,"15":1,"16":2,"17":1,"18":1,"19":12187,"20":12187,"21":12187,"22":1465,"23":2946,"24":250,"25":2696,"26":258,"27":2438,"28":588,"29":1850,"30":470,"31":1380,"32":466,"33":914,"34":3,"35":2686,"36":4},"f":{"0":5866,"1":3,"2":12182,"3":171185,"4":1466,"5":4,"6":12187,"7":1465,"8":2946,"9":3,"10":2686},"b":{"0":[4045,1821],"1":[0],"2":[0],"3":[3,1],"4":[1,3],"5":[1,2],"6":[1,1],"7":[1],"8":[3],"9":[250,2696],"10":[258,2438],"11":[588,1850],"12":[470,1380],"13":[466,914],"14":[2686,3]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"630df8f08192f7b32acef24154122e1855e3a181"} -,"/home/aarcon/Desktop/Personal/Lumi/luminescent-team/plugins/pokedex-data-plugin/dex/info.js": {"path":"/home/aarcon/Desktop/Personal/Lumi/luminescent-team/plugins/pokedex-data-plugin/dex/info.js","statementMap":{"0":{"start":{"line":1,"column":29},"end":{"line":1,"column":49}},"1":{"start":{"line":2,"column":35},"end":{"line":2,"column":53}},"2":{"start":{"line":3,"column":27},"end":{"line":3,"column":44}},"3":{"start":{"line":4,"column":24},"end":{"line":4,"column":42}},"4":{"start":{"line":5,"column":33},"end":{"line":5,"column":53}},"5":{"start":{"line":6,"column":26},"end":{"line":6,"column":43}},"6":{"start":{"line":7,"column":82},"end":{"line":7,"column":104}},"7":{"start":{"line":9,"column":26},"end":{"line":9,"column":43}},"8":{"start":{"line":12,"column":12},"end":{"line":12,"column":45}},"9":{"start":{"line":13,"column":17},"end":{"line":13,"column":37}},"10":{"start":{"line":15,"column":2},"end":{"line":42,"column":4}},"11":{"start":{"line":45,"column":0},"end":{"line":45,"column":36}}},"fnMap":{"0":{"name":"getPokemonInfo","decl":{"start":{"line":11,"column":9},"end":{"line":11,"column":23}},"loc":{"start":{"line":11,"column":51},"end":{"line":43,"column":1}},"line":11}},"branchMap":{"0":{"loc":{"start":{"line":11,"column":24},"end":{"line":11,"column":34}},"type":"default-arg","locations":[{"start":{"line":11,"column":33},"end":{"line":11,"column":34}}],"line":11},"1":{"loc":{"start":{"line":11,"column":36},"end":{"line":11,"column":49}},"type":"default-arg","locations":[{"start":{"line":11,"column":48},"end":{"line":11,"column":49}}],"line":11}},"s":{"0":1,"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1464,"9":1464,"10":1464,"11":1},"f":{"0":1464},"b":{"0":[0],"1":[0]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"5d04763891a5679fd02546b72848bbbc9ca338ba"} -,"/home/aarcon/Desktop/Personal/Lumi/luminescent-team/plugins/pokedex-data-plugin/dex/item.js": {"path":"/home/aarcon/Desktop/Personal/Lumi/luminescent-team/plugins/pokedex-data-plugin/dex/item.js","statementMap":{"0":{"start":{"line":1,"column":22},"end":{"line":1,"column":39}},"1":{"start":{"line":4,"column":2},"end":{"line":4,"column":59}},"2":{"start":{"line":4,"column":17},"end":{"line":4,"column":59}},"3":{"start":{"line":5,"column":2},"end":{"line":6,"column":96}},"4":{"start":{"line":6,"column":4},"end":{"line":6,"column":96}},"5":{"start":{"line":6,"column":53},"end":{"line":6,"column":94}},"6":{"start":{"line":7,"column":16},"end":{"line":7,"column":95}},"7":{"start":{"line":7,"column":58},"end":{"line":7,"column":94}},"8":{"start":{"line":8,"column":2},"end":{"line":8,"column":62}},"9":{"start":{"line":8,"column":20},"end":{"line":8,"column":62}},"10":{"start":{"line":9,"column":2},"end":{"line":9,"column":15}},"11":{"start":{"line":13,"column":2},"end":{"line":13,"column":63}},"12":{"start":{"line":17,"column":24},"end":{"line":17,"column":70}},"13":{"start":{"line":18,"column":2},"end":{"line":18,"column":43}},"14":{"start":{"line":22,"column":2},"end":{"line":22,"column":36}},"15":{"start":{"line":24,"column":0},"end":{"line":24,"column":90}}},"fnMap":{"0":{"name":"getItemIdFromItemName","decl":{"start":{"line":3,"column":9},"end":{"line":3,"column":30}},"loc":{"start":{"line":3,"column":41},"end":{"line":10,"column":1}},"line":3},"1":{"name":"(anonymous_1)","decl":{"start":{"line":6,"column":46},"end":{"line":6,"column":47}},"loc":{"start":{"line":6,"column":53},"end":{"line":6,"column":94}},"line":6},"2":{"name":"(anonymous_2)","decl":{"start":{"line":7,"column":51},"end":{"line":7,"column":52}},"loc":{"start":{"line":7,"column":58},"end":{"line":7,"column":94}},"line":7},"3":{"name":"getItemString","decl":{"start":{"line":12,"column":9},"end":{"line":12,"column":22}},"loc":{"start":{"line":12,"column":35},"end":{"line":14,"column":1}},"line":12},"4":{"name":"getItemImageUrl","decl":{"start":{"line":16,"column":9},"end":{"line":16,"column":24}},"loc":{"start":{"line":16,"column":38},"end":{"line":19,"column":1}},"line":16},"5":{"name":"getTMImageUrl","decl":{"start":{"line":21,"column":9},"end":{"line":21,"column":22}},"loc":{"start":{"line":21,"column":36},"end":{"line":23,"column":1}},"line":21}},"branchMap":{"0":{"loc":{"start":{"line":4,"column":2},"end":{"line":4,"column":59}},"type":"if","locations":[{"start":{"line":4,"column":2},"end":{"line":4,"column":59}},{"start":{},"end":{}}],"line":4},"1":{"loc":{"start":{"line":5,"column":2},"end":{"line":6,"column":96}},"type":"if","locations":[{"start":{"line":5,"column":2},"end":{"line":6,"column":96}},{"start":{},"end":{}}],"line":5},"2":{"loc":{"start":{"line":8,"column":2},"end":{"line":8,"column":62}},"type":"if","locations":[{"start":{"line":8,"column":2},"end":{"line":8,"column":62}},{"start":{},"end":{}}],"line":8},"3":{"loc":{"start":{"line":12,"column":23},"end":{"line":12,"column":33}},"type":"default-arg","locations":[{"start":{"line":12,"column":32},"end":{"line":12,"column":33}}],"line":12},"4":{"loc":{"start":{"line":16,"column":25},"end":{"line":16,"column":36}},"type":"default-arg","locations":[{"start":{"line":16,"column":34},"end":{"line":16,"column":36}}],"line":16},"5":{"loc":{"start":{"line":21,"column":23},"end":{"line":21,"column":34}},"type":"default-arg","locations":[{"start":{"line":21,"column":32},"end":{"line":21,"column":34}}],"line":21}},"s":{"0":2,"1":3,"2":1,"3":2,"4":0,"5":0,"6":2,"7":2072,"8":2,"9":1,"10":1,"11":8791,"12":4395,"13":4395,"14":0,"15":2},"f":{"0":3,"1":0,"2":2072,"3":8791,"4":4395,"5":0},"b":{"0":[1,2],"1":[0,2],"2":[1,1],"3":[0],"4":[0],"5":[0]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"0c54b12859136c86d5f92c49287ac58df74d0659"} -,"/home/aarcon/Desktop/Personal/Lumi/luminescent-team/plugins/pokedex-data-plugin/dex/moves.js": {"path":"/home/aarcon/Desktop/Personal/Lumi/luminescent-team/plugins/pokedex-data-plugin/dex/moves.js","statementMap":{"0":{"start":{"line":12,"column":4},"end":{"line":12,"column":21}},"1":{"start":{"line":13,"column":29},"end":{"line":13,"column":46}},"2":{"start":{"line":15,"column":22},"end":{"line":15,"column":27}},"3":{"start":{"line":22,"column":2},"end":{"line":24,"column":3}},"4":{"start":{"line":23,"column":4},"end":{"line":23,"column":46}},"5":{"start":{"line":26,"column":2},"end":{"line":28,"column":3}},"6":{"start":{"line":27,"column":4},"end":{"line":27,"column":37}},"7":{"start":{"line":30,"column":22},"end":{"line":33,"column":4}},"8":{"start":{"line":31,"column":4},"end":{"line":31,"column":42}},"9":{"start":{"line":31,"column":21},"end":{"line":31,"column":42}},"10":{"start":{"line":32,"column":4},"end":{"line":32,"column":38}},"11":{"start":{"line":35,"column":16},"end":{"line":35,"column":71}},"12":{"start":{"line":37,"column":2},"end":{"line":42,"column":4}},"13":{"start":{"line":46,"column":2},"end":{"line":46,"column":99}},"14":{"start":{"line":46,"column":53},"end":{"line":46,"column":99}},"15":{"start":{"line":47,"column":2},"end":{"line":47,"column":104}},"16":{"start":{"line":47,"column":50},"end":{"line":47,"column":102}},"17":{"start":{"line":51,"column":2},"end":{"line":51,"column":91}},"18":{"start":{"line":51,"column":49},"end":{"line":51,"column":91}},"19":{"start":{"line":52,"column":13},"end":{"line":52,"column":61}},"20":{"start":{"line":52,"column":39},"end":{"line":52,"column":60}},"21":{"start":{"line":53,"column":2},"end":{"line":53,"column":59}},"22":{"start":{"line":53,"column":17},"end":{"line":53,"column":59}},"23":{"start":{"line":54,"column":2},"end":{"line":54,"column":12}},"24":{"start":{"line":58,"column":2},"end":{"line":58,"column":88}},"25":{"start":{"line":58,"column":39},"end":{"line":58,"column":88}},"26":{"start":{"line":60,"column":14},"end":{"line":60,"column":26}},"27":{"start":{"line":61,"column":2},"end":{"line":63,"column":3}},"28":{"start":{"line":62,"column":4},"end":{"line":62,"column":78}},"29":{"start":{"line":65,"column":2},"end":{"line":65,"column":13}},"30":{"start":{"line":69,"column":15},"end":{"line":69,"column":38}},"31":{"start":{"line":70,"column":15},"end":{"line":70,"column":24}},"32":{"start":{"line":71,"column":21},"end":{"line":71,"column":36}},"33":{"start":{"line":72,"column":16},"end":{"line":72,"column":26}},"34":{"start":{"line":73,"column":17},"end":{"line":73,"column":28}},"35":{"start":{"line":74,"column":17},"end":{"line":74,"column":28}},"36":{"start":{"line":76,"column":18},"end":{"line":76,"column":29}},"37":{"start":{"line":77,"column":28},"end":{"line":77,"column":31}},"38":{"start":{"line":78,"column":16},"end":{"line":78,"column":43}},"39":{"start":{"line":80,"column":2},"end":{"line":89,"column":4}},"40":{"start":{"line":93,"column":2},"end":{"line":93,"column":89}},"41":{"start":{"line":93,"column":79},"end":{"line":93,"column":89}},"42":{"start":{"line":94,"column":21},"end":{"line":94,"column":50}},"43":{"start":{"line":95,"column":17},"end":{"line":95,"column":48}},"44":{"start":{"line":96,"column":19},"end":{"line":96,"column":103}},"45":{"start":{"line":96,"column":50},"end":{"line":96,"column":88}},"46":{"start":{"line":97,"column":2},"end":{"line":100,"column":6}},"47":{"start":{"line":97,"column":35},"end":{"line":100,"column":3}},"48":{"start":{"line":104,"column":19},"end":{"line":104,"column":64}},"49":{"start":{"line":105,"column":22},"end":{"line":107,"column":8}},"50":{"start":{"line":106,"column":4},"end":{"line":106,"column":53}},"51":{"start":{"line":108,"column":2},"end":{"line":108,"column":28}},"52":{"start":{"line":112,"column":19},"end":{"line":120,"column":32}},"53":{"start":{"line":120,"column":20},"end":{"line":120,"column":31}},"54":{"start":{"line":122,"column":19},"end":{"line":122,"column":21}},"55":{"start":{"line":123,"column":2},"end":{"line":128,"column":3}},"56":{"start":{"line":123,"column":15},"end":{"line":123,"column":16}},"57":{"start":{"line":124,"column":4},"end":{"line":124,"column":36}},"58":{"start":{"line":124,"column":27},"end":{"line":124,"column":36}},"59":{"start":{"line":126,"column":15},"end":{"line":126,"column":39}},"60":{"start":{"line":127,"column":4},"end":{"line":127,"column":71}},"61":{"start":{"line":130,"column":2},"end":{"line":130,"column":18}},"62":{"start":{"line":134,"column":2},"end":{"line":134,"column":63}},"63":{"start":{"line":134,"column":53},"end":{"line":134,"column":63}},"64":{"start":{"line":135,"column":2},"end":{"line":135,"column":53}},"65":{"start":{"line":139,"column":19},"end":{"line":139,"column":48}},"66":{"start":{"line":141,"column":19},"end":{"line":141,"column":21}},"67":{"start":{"line":142,"column":2},"end":{"line":144,"column":3}},"68":{"start":{"line":142,"column":15},"end":{"line":142,"column":16}},"69":{"start":{"line":143,"column":4},"end":{"line":143,"column":84}},"70":{"start":{"line":146,"column":2},"end":{"line":146,"column":18}},"71":{"start":{"line":150,"column":2},"end":{"line":150,"column":82}},"72":{"start":{"line":154,"column":2},"end":{"line":154,"column":29}},"73":{"start":{"line":154,"column":19},"end":{"line":154,"column":29}},"74":{"start":{"line":155,"column":2},"end":{"line":155,"column":51}},"75":{"start":{"line":155,"column":41},"end":{"line":155,"column":51}},"76":{"start":{"line":156,"column":2},"end":{"line":156,"column":59}},"77":{"start":{"line":156,"column":49},"end":{"line":156,"column":59}},"78":{"start":{"line":157,"column":18},"end":{"line":157,"column":44}},"79":{"start":{"line":158,"column":19},"end":{"line":161,"column":5}},"80":{"start":{"line":158,"column":42},"end":{"line":161,"column":3}},"81":{"start":{"line":163,"column":2},"end":{"line":163,"column":18}},"82":{"start":{"line":166,"column":0},"end":{"line":178,"column":2}}},"fnMap":{"0":{"name":"generateMovesViaLearnset","decl":{"start":{"line":17,"column":9},"end":{"line":17,"column":33}},"loc":{"start":{"line":17,"column":49},"end":{"line":43,"column":1}},"line":17},"1":{"name":"(anonymous_1)","decl":{"start":{"line":30,"column":66},"end":{"line":30,"column":67}},"loc":{"start":{"line":30,"column":93},"end":{"line":33,"column":3}},"line":30},"2":{"name":"isMoveNameSmogonCompatible","decl":{"start":{"line":45,"column":9},"end":{"line":45,"column":35}},"loc":{"start":{"line":45,"column":48},"end":{"line":48,"column":1}},"line":45},"3":{"name":"(anonymous_3)","decl":{"start":{"line":47,"column":26},"end":{"line":47,"column":27}},"loc":{"start":{"line":47,"column":50},"end":{"line":47,"column":102}},"line":47},"4":{"name":"getMoveId","decl":{"start":{"line":50,"column":9},"end":{"line":50,"column":18}},"loc":{"start":{"line":50,"column":29},"end":{"line":55,"column":1}},"line":50},"5":{"name":"(anonymous_5)","decl":{"start":{"line":52,"column":32},"end":{"line":52,"column":33}},"loc":{"start":{"line":52,"column":39},"end":{"line":52,"column":60}},"line":52},"6":{"name":"getMoveString","decl":{"start":{"line":57,"column":9},"end":{"line":57,"column":22}},"loc":{"start":{"line":57,"column":31},"end":{"line":66,"column":1}},"line":57},"7":{"name":"getMoveProperties","decl":{"start":{"line":68,"column":9},"end":{"line":68,"column":26}},"loc":{"start":{"line":68,"column":39},"end":{"line":90,"column":1}},"line":68},"8":{"name":"getEggMoves","decl":{"start":{"line":92,"column":9},"end":{"line":92,"column":20}},"loc":{"start":{"line":92,"column":32},"end":{"line":101,"column":1}},"line":92},"9":{"name":"(anonymous_9)","decl":{"start":{"line":96,"column":43},"end":{"line":96,"column":44}},"loc":{"start":{"line":96,"column":50},"end":{"line":96,"column":88}},"line":96},"10":{"name":"(anonymous_10)","decl":{"start":{"line":97,"column":22},"end":{"line":97,"column":23}},"loc":{"start":{"line":97,"column":35},"end":{"line":100,"column":3}},"line":97},"11":{"name":"getMoveDescription","decl":{"start":{"line":103,"column":9},"end":{"line":103,"column":27}},"loc":{"start":{"line":103,"column":40},"end":{"line":109,"column":1}},"line":103},"12":{"name":"(anonymous_12)","decl":{"start":{"line":105,"column":38},"end":{"line":105,"column":39}},"loc":{"start":{"line":105,"column":74},"end":{"line":107,"column":3}},"line":105},"13":{"name":"getTechMachineLearnset","decl":{"start":{"line":111,"column":9},"end":{"line":111,"column":31}},"loc":{"start":{"line":111,"column":48},"end":{"line":131,"column":1}},"line":111},"14":{"name":"(anonymous_14)","decl":{"start":{"line":120,"column":13},"end":{"line":120,"column":14}},"loc":{"start":{"line":120,"column":20},"end":{"line":120,"column":31}},"line":120},"15":{"name":"getPokemonLearnset","decl":{"start":{"line":133,"column":9},"end":{"line":133,"column":27}},"loc":{"start":{"line":133,"column":43},"end":{"line":136,"column":1}},"line":133},"16":{"name":"getLevelLearnset","decl":{"start":{"line":138,"column":9},"end":{"line":138,"column":25}},"loc":{"start":{"line":138,"column":41},"end":{"line":147,"column":1}},"line":138},"17":{"name":"parseTmLearnsetSection","decl":{"start":{"line":149,"column":9},"end":{"line":149,"column":31}},"loc":{"start":{"line":149,"column":41},"end":{"line":151,"column":1}},"line":149},"18":{"name":"getTutorMoves","decl":{"start":{"line":153,"column":9},"end":{"line":153,"column":22}},"loc":{"start":{"line":153,"column":47},"end":{"line":164,"column":1}},"line":153},"19":{"name":"(anonymous_19)","decl":{"start":{"line":158,"column":31},"end":{"line":158,"column":32}},"loc":{"start":{"line":158,"column":42},"end":{"line":161,"column":3}},"line":158}},"branchMap":{"0":{"loc":{"start":{"line":22,"column":2},"end":{"line":24,"column":3}},"type":"if","locations":[{"start":{"line":22,"column":2},"end":{"line":24,"column":3}},{"start":{},"end":{}}],"line":22},"1":{"loc":{"start":{"line":22,"column":6},"end":{"line":22,"column":80}},"type":"binary-expr","locations":[{"start":{"line":22,"column":6},"end":{"line":22,"column":31}},{"start":{"line":22,"column":35},"end":{"line":22,"column":45}},{"start":{"line":22,"column":49},"end":{"line":22,"column":80}}],"line":22},"2":{"loc":{"start":{"line":26,"column":2},"end":{"line":28,"column":3}},"type":"if","locations":[{"start":{"line":26,"column":2},"end":{"line":28,"column":3}},{"start":{},"end":{}}],"line":26},"3":{"loc":{"start":{"line":26,"column":6},"end":{"line":26,"column":43}},"type":"binary-expr","locations":[{"start":{"line":26,"column":6},"end":{"line":26,"column":30}},{"start":{"line":26,"column":34},"end":{"line":26,"column":43}}],"line":26},"4":{"loc":{"start":{"line":31,"column":4},"end":{"line":31,"column":42}},"type":"if","locations":[{"start":{"line":31,"column":4},"end":{"line":31,"column":42}},{"start":{},"end":{}}],"line":31},"5":{"loc":{"start":{"line":46,"column":2},"end":{"line":46,"column":99}},"type":"if","locations":[{"start":{"line":46,"column":2},"end":{"line":46,"column":99}},{"start":{},"end":{}}],"line":46},"6":{"loc":{"start":{"line":46,"column":6},"end":{"line":46,"column":51}},"type":"binary-expr","locations":[{"start":{"line":46,"column":6},"end":{"line":46,"column":36}},{"start":{"line":46,"column":40},"end":{"line":46,"column":51}}],"line":46},"7":{"loc":{"start":{"line":51,"column":2},"end":{"line":51,"column":91}},"type":"if","locations":[{"start":{"line":51,"column":2},"end":{"line":51,"column":91}},{"start":{},"end":{}}],"line":51},"8":{"loc":{"start":{"line":51,"column":6},"end":{"line":51,"column":47}},"type":"binary-expr","locations":[{"start":{"line":51,"column":6},"end":{"line":51,"column":34}},{"start":{"line":51,"column":38},"end":{"line":51,"column":47}}],"line":51},"9":{"loc":{"start":{"line":53,"column":2},"end":{"line":53,"column":59}},"type":"if","locations":[{"start":{"line":53,"column":2},"end":{"line":53,"column":59}},{"start":{},"end":{}}],"line":53},"10":{"loc":{"start":{"line":57,"column":23},"end":{"line":57,"column":29}},"type":"default-arg","locations":[{"start":{"line":57,"column":28},"end":{"line":57,"column":29}}],"line":57},"11":{"loc":{"start":{"line":58,"column":2},"end":{"line":58,"column":88}},"type":"if","locations":[{"start":{"line":58,"column":2},"end":{"line":58,"column":88}},{"start":{},"end":{}}],"line":58},"12":{"loc":{"start":{"line":58,"column":6},"end":{"line":58,"column":37}},"type":"binary-expr","locations":[{"start":{"line":58,"column":6},"end":{"line":58,"column":27}},{"start":{"line":58,"column":31},"end":{"line":58,"column":37}}],"line":58},"13":{"loc":{"start":{"line":61,"column":2},"end":{"line":63,"column":3}},"type":"if","locations":[{"start":{"line":61,"column":2},"end":{"line":63,"column":3}},{"start":{},"end":{}}],"line":61},"14":{"loc":{"start":{"line":61,"column":6},"end":{"line":61,"column":65}},"type":"binary-expr","locations":[{"start":{"line":61,"column":6},"end":{"line":61,"column":29}},{"start":{"line":61,"column":33},"end":{"line":61,"column":65}}],"line":61},"15":{"loc":{"start":{"line":68,"column":27},"end":{"line":68,"column":37}},"type":"default-arg","locations":[{"start":{"line":68,"column":36},"end":{"line":68,"column":37}}],"line":68},"16":{"loc":{"start":{"line":76,"column":18},"end":{"line":76,"column":29}},"type":"binary-expr","locations":[{"start":{"line":76,"column":18},"end":{"line":76,"column":24}},{"start":{"line":76,"column":28},"end":{"line":76,"column":29}}],"line":76},"17":{"loc":{"start":{"line":82,"column":10},"end":{"line":82,"column":74}},"type":"binary-expr","locations":[{"start":{"line":82,"column":10},"end":{"line":82,"column":64}},{"start":{"line":82,"column":68},"end":{"line":82,"column":74}}],"line":82},"18":{"loc":{"start":{"line":92,"column":21},"end":{"line":92,"column":30}},"type":"default-arg","locations":[{"start":{"line":92,"column":29},"end":{"line":92,"column":30}}],"line":92},"19":{"loc":{"start":{"line":93,"column":2},"end":{"line":93,"column":89}},"type":"if","locations":[{"start":{"line":93,"column":2},"end":{"line":93,"column":89}},{"start":{},"end":{}}],"line":93},"20":{"loc":{"start":{"line":93,"column":6},"end":{"line":93,"column":77}},"type":"binary-expr","locations":[{"start":{"line":93,"column":6},"end":{"line":93,"column":30}},{"start":{"line":93,"column":34},"end":{"line":93,"column":77}}],"line":93},"21":{"loc":{"start":{"line":96,"column":19},"end":{"line":96,"column":103}},"type":"binary-expr","locations":[{"start":{"line":96,"column":19},"end":{"line":96,"column":97}},{"start":{"line":96,"column":101},"end":{"line":96,"column":103}}],"line":96},"22":{"loc":{"start":{"line":96,"column":50},"end":{"line":96,"column":88}},"type":"binary-expr","locations":[{"start":{"line":96,"column":50},"end":{"line":96,"column":65}},{"start":{"line":96,"column":69},"end":{"line":96,"column":88}}],"line":96},"23":{"loc":{"start":{"line":103,"column":28},"end":{"line":103,"column":38}},"type":"default-arg","locations":[{"start":{"line":103,"column":37},"end":{"line":103,"column":38}}],"line":103},"24":{"loc":{"start":{"line":124,"column":4},"end":{"line":124,"column":36}},"type":"if","locations":[{"start":{"line":124,"column":4},"end":{"line":124,"column":36}},{"start":{},"end":{}}],"line":124},"25":{"loc":{"start":{"line":133,"column":28},"end":{"line":133,"column":41}},"type":"default-arg","locations":[{"start":{"line":133,"column":40},"end":{"line":133,"column":41}}],"line":133},"26":{"loc":{"start":{"line":134,"column":2},"end":{"line":134,"column":63}},"type":"if","locations":[{"start":{"line":134,"column":2},"end":{"line":134,"column":63}},{"start":{},"end":{}}],"line":134},"27":{"loc":{"start":{"line":134,"column":6},"end":{"line":134,"column":51}},"type":"binary-expr","locations":[{"start":{"line":134,"column":6},"end":{"line":134,"column":34}},{"start":{"line":134,"column":38},"end":{"line":134,"column":51}}],"line":134},"28":{"loc":{"start":{"line":135,"column":9},"end":{"line":135,"column":52}},"type":"binary-expr","locations":[{"start":{"line":135,"column":9},"end":{"line":135,"column":46}},{"start":{"line":135,"column":50},"end":{"line":135,"column":52}}],"line":135},"29":{"loc":{"start":{"line":138,"column":26},"end":{"line":138,"column":39}},"type":"default-arg","locations":[{"start":{"line":138,"column":38},"end":{"line":138,"column":39}}],"line":138},"30":{"loc":{"start":{"line":153,"column":23},"end":{"line":153,"column":33}},"type":"default-arg","locations":[{"start":{"line":153,"column":32},"end":{"line":153,"column":33}}],"line":153},"31":{"loc":{"start":{"line":153,"column":35},"end":{"line":153,"column":45}},"type":"default-arg","locations":[{"start":{"line":153,"column":44},"end":{"line":153,"column":45}}],"line":153},"32":{"loc":{"start":{"line":154,"column":2},"end":{"line":154,"column":29}},"type":"if","locations":[{"start":{"line":154,"column":2},"end":{"line":154,"column":29}},{"start":{},"end":{}}],"line":154},"33":{"loc":{"start":{"line":155,"column":2},"end":{"line":155,"column":51}},"type":"if","locations":[{"start":{"line":155,"column":2},"end":{"line":155,"column":51}},{"start":{},"end":{}}],"line":155},"34":{"loc":{"start":{"line":156,"column":2},"end":{"line":156,"column":59}},"type":"if","locations":[{"start":{"line":156,"column":2},"end":{"line":156,"column":59}},{"start":{},"end":{}}],"line":156}},"s":{"0":3,"1":3,"2":3,"3":8,"4":3,"5":5,"6":2,"7":3,"8":63,"9":30,"10":33,"11":3,"12":3,"13":22,"14":4,"15":18,"16":66,"17":6,"18":2,"19":4,"20":1074,"21":4,"22":1,"23":3,"24":17,"25":1,"26":16,"27":16,"28":1,"29":15,"30":203422,"31":203422,"32":203422,"33":203422,"34":203422,"35":203422,"36":203422,"37":203422,"38":203422,"39":203422,"40":1469,"41":1,"42":1468,"43":1468,"44":1468,"45":1075316,"46":1468,"47":3108,"48":203422,"49":203422,"50":454548,"51":203422,"52":2933,"53":375424,"54":2933,"55":2933,"56":2933,"57":375424,"58":208571,"59":166853,"60":166853,"61":2933,"62":1473,"63":3,"64":1470,"65":1466,"66":1466,"67":1466,"68":1466,"69":26331,"70":1466,"71":11736,"72":1470,"73":2,"74":1468,"75":773,"76":695,"77":158,"78":537,"79":537,"80":7126,"81":537,"82":3},"f":{"0":8,"1":63,"2":22,"3":66,"4":6,"5":1074,"6":17,"7":203422,"8":1469,"9":1075316,"10":3108,"11":203422,"12":454548,"13":2933,"14":375424,"15":1473,"16":1466,"17":11736,"18":1470,"19":7126},"b":{"0":[3,5],"1":[8,7,6],"2":[2,3],"3":[5,4],"4":[30,33],"5":[4,18],"6":[22,19],"7":[2,4],"8":[6,4],"9":[1,3],"10":[0],"11":[1,16],"12":[17,16],"13":[1,15],"14":[16,15],"15":[1],"16":[203422,0],"17":[203422,0],"18":[0],"19":[1,1468],"20":[1469,1469],"21":[1468,0],"22":[1075316,5045],"23":[0],"24":[208571,166853],"25":[1],"26":[3,1470],"27":[1473,1471],"28":[1470,0],"29":[0],"30":[0],"31":[2],"32":[2,1468],"33":[773,695],"34":[158,537]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"46488aec39cab23f92f2469a02e187873fa230ed"} -,"/home/aarcon/Desktop/Personal/Lumi/luminescent-team/plugins/pokedex-data-plugin/dex/name.js": {"path":"/home/aarcon/Desktop/Personal/Lumi/luminescent-team/plugins/pokedex-data-plugin/dex/name.js","statementMap":{"0":{"start":{"line":1,"column":62},"end":{"line":1,"column":79}},"1":{"start":{"line":2,"column":21},"end":{"line":2,"column":43}},"2":{"start":{"line":4,"column":25},"end":{"line":4,"column":76}},"3":{"start":{"line":6,"column":2},"end":{"line":25,"column":3}},"4":{"start":{"line":7,"column":19},"end":{"line":7,"column":33}},"5":{"start":{"line":9,"column":25},"end":{"line":9,"column":83}},"6":{"start":{"line":10,"column":4},"end":{"line":13,"column":5}},"7":{"start":{"line":11,"column":6},"end":{"line":11,"column":40}},"8":{"start":{"line":12,"column":6},"end":{"line":12,"column":28}},"9":{"start":{"line":15,"column":30},"end":{"line":15,"column":88}},"10":{"start":{"line":16,"column":4},"end":{"line":19,"column":5}},"11":{"start":{"line":17,"column":6},"end":{"line":17,"column":45}},"12":{"start":{"line":18,"column":6},"end":{"line":18,"column":28}},"13":{"start":{"line":21,"column":4},"end":{"line":21,"column":61}},"14":{"start":{"line":22,"column":4},"end":{"line":22,"column":26}},"15":{"start":{"line":24,"column":4},"end":{"line":24,"column":47}},"16":{"start":{"line":29,"column":2},"end":{"line":29,"column":30}},"17":{"start":{"line":33,"column":2},"end":{"line":33,"column":37}},"18":{"start":{"line":37,"column":13},"end":{"line":37,"column":73}},"19":{"start":{"line":37,"column":62},"end":{"line":37,"column":72}},"20":{"start":{"line":38,"column":2},"end":{"line":38,"column":28}},"21":{"start":{"line":42,"column":2},"end":{"line":57,"column":3}},"22":{"start":{"line":44,"column":6},"end":{"line":44,"column":28}},"23":{"start":{"line":46,"column":6},"end":{"line":46,"column":26}},"24":{"start":{"line":48,"column":6},"end":{"line":48,"column":34}},"25":{"start":{"line":50,"column":6},"end":{"line":50,"column":26}},"26":{"start":{"line":52,"column":6},"end":{"line":52,"column":29}},"27":{"start":{"line":54,"column":6},"end":{"line":54,"column":28}},"28":{"start":{"line":56,"column":6},"end":{"line":56,"column":61}},"29":{"start":{"line":61,"column":2},"end":{"line":61,"column":30}},"30":{"start":{"line":61,"column":20},"end":{"line":61,"column":30}},"31":{"start":{"line":62,"column":2},"end":{"line":62,"column":98}},"32":{"start":{"line":62,"column":58},"end":{"line":62,"column":96}},"33":{"start":{"line":66,"column":2},"end":{"line":66,"column":50}},"34":{"start":{"line":66,"column":40},"end":{"line":66,"column":50}},"35":{"start":{"line":67,"column":2},"end":{"line":67,"column":57}},"36":{"start":{"line":71,"column":2},"end":{"line":71,"column":60}},"37":{"start":{"line":71,"column":44},"end":{"line":71,"column":52}},"38":{"start":{"line":75,"column":2},"end":{"line":75,"column":68}},"39":{"start":{"line":79,"column":20},"end":{"line":79,"column":53}},"40":{"start":{"line":80,"column":16},"end":{"line":80,"column":51}},"41":{"start":{"line":81,"column":1},"end":{"line":81,"column":25}},"42":{"start":{"line":84,"column":0},"end":{"line":96,"column":2}}},"fnMap":{"0":{"name":"createPokemonMap","decl":{"start":{"line":5,"column":9},"end":{"line":5,"column":25}},"loc":{"start":{"line":5,"column":58},"end":{"line":26,"column":1}},"line":5},"1":{"name":"getFormName","decl":{"start":{"line":28,"column":9},"end":{"line":28,"column":20}},"loc":{"start":{"line":28,"column":29},"end":{"line":30,"column":1}},"line":28},"2":{"name":"getPokemonName","decl":{"start":{"line":32,"column":9},"end":{"line":32,"column":23}},"loc":{"start":{"line":32,"column":39},"end":{"line":34,"column":1}},"line":32},"3":{"name":"getPokemonIdFromName","decl":{"start":{"line":36,"column":9},"end":{"line":36,"column":29}},"loc":{"start":{"line":36,"column":44},"end":{"line":39,"column":1}},"line":36},"4":{"name":"(anonymous_4)","decl":{"start":{"line":37,"column":55},"end":{"line":37,"column":56}},"loc":{"start":{"line":37,"column":62},"end":{"line":37,"column":72}},"line":37},"5":{"name":"getFormNameOfProblematicPokemon","decl":{"start":{"line":41,"column":9},"end":{"line":41,"column":40}},"loc":{"start":{"line":41,"column":49},"end":{"line":58,"column":1}},"line":41},"6":{"name":"getPokemonMonsnoFromName","decl":{"start":{"line":60,"column":9},"end":{"line":60,"column":33}},"loc":{"start":{"line":60,"column":47},"end":{"line":63,"column":1}},"line":60},"7":{"name":"(anonymous_7)","decl":{"start":{"line":62,"column":51},"end":{"line":62,"column":52}},"loc":{"start":{"line":62,"column":58},"end":{"line":62,"column":96}},"line":62},"8":{"name":"getPokemonNames","decl":{"start":{"line":65,"column":9},"end":{"line":65,"column":24}},"loc":{"start":{"line":65,"column":39},"end":{"line":68,"column":1}},"line":65},"9":{"name":"getPokemonFormId","decl":{"start":{"line":70,"column":9},"end":{"line":70,"column":25}},"loc":{"start":{"line":70,"column":42},"end":{"line":72,"column":1}},"line":70},"10":{"name":"(anonymous_10)","decl":{"start":{"line":71,"column":37},"end":{"line":71,"column":38}},"loc":{"start":{"line":71,"column":44},"end":{"line":71,"column":52}},"line":71},"11":{"name":"normalizePokemonName","decl":{"start":{"line":74,"column":9},"end":{"line":74,"column":29}},"loc":{"start":{"line":74,"column":36},"end":{"line":76,"column":1}},"line":74},"12":{"name":"getPokemonMonsNoAndFormNoFromPokemonId","decl":{"start":{"line":78,"column":9},"end":{"line":78,"column":47}},"loc":{"start":{"line":78,"column":63},"end":{"line":82,"column":1}},"line":78}},"branchMap":{"0":{"loc":{"start":{"line":10,"column":4},"end":{"line":13,"column":5}},"type":"if","locations":[{"start":{"line":10,"column":4},"end":{"line":13,"column":5}},{"start":{},"end":{}}],"line":10},"1":{"loc":{"start":{"line":10,"column":8},"end":{"line":10,"column":67}},"type":"binary-expr","locations":[{"start":{"line":10,"column":8},"end":{"line":10,"column":40}},{"start":{"line":10,"column":44},"end":{"line":10,"column":67}}],"line":10},"2":{"loc":{"start":{"line":16,"column":4},"end":{"line":19,"column":5}},"type":"if","locations":[{"start":{"line":16,"column":4},"end":{"line":19,"column":5}},{"start":{},"end":{}}],"line":16},"3":{"loc":{"start":{"line":16,"column":8},"end":{"line":16,"column":77}},"type":"binary-expr","locations":[{"start":{"line":16,"column":8},"end":{"line":16,"column":45}},{"start":{"line":16,"column":49},"end":{"line":16,"column":77}}],"line":16},"4":{"loc":{"start":{"line":28,"column":21},"end":{"line":28,"column":27}},"type":"default-arg","locations":[{"start":{"line":28,"column":26},"end":{"line":28,"column":27}}],"line":28},"5":{"loc":{"start":{"line":32,"column":24},"end":{"line":32,"column":37}},"type":"default-arg","locations":[{"start":{"line":32,"column":36},"end":{"line":32,"column":37}}],"line":32},"6":{"loc":{"start":{"line":36,"column":30},"end":{"line":36,"column":42}},"type":"default-arg","locations":[{"start":{"line":36,"column":37},"end":{"line":36,"column":42}}],"line":36},"7":{"loc":{"start":{"line":38,"column":9},"end":{"line":38,"column":27}},"type":"cond-expr","locations":[{"start":{"line":38,"column":21},"end":{"line":38,"column":22}},{"start":{"line":38,"column":25},"end":{"line":38,"column":27}}],"line":38},"8":{"loc":{"start":{"line":41,"column":41},"end":{"line":41,"column":47}},"type":"default-arg","locations":[{"start":{"line":41,"column":46},"end":{"line":41,"column":47}}],"line":41},"9":{"loc":{"start":{"line":42,"column":2},"end":{"line":57,"column":3}},"type":"switch","locations":[{"start":{"line":43,"column":4},"end":{"line":44,"column":28}},{"start":{"line":45,"column":4},"end":{"line":46,"column":26}},{"start":{"line":47,"column":4},"end":{"line":48,"column":34}},{"start":{"line":49,"column":4},"end":{"line":50,"column":26}},{"start":{"line":51,"column":4},"end":{"line":52,"column":29}},{"start":{"line":53,"column":4},"end":{"line":54,"column":28}},{"start":{"line":55,"column":4},"end":{"line":56,"column":61}}],"line":42},"10":{"loc":{"start":{"line":61,"column":2},"end":{"line":61,"column":30}},"type":"if","locations":[{"start":{"line":61,"column":2},"end":{"line":61,"column":30}},{"start":{},"end":{}}],"line":61},"11":{"loc":{"start":{"line":65,"column":29},"end":{"line":65,"column":37}},"type":"default-arg","locations":[{"start":{"line":65,"column":36},"end":{"line":65,"column":37}}],"line":65},"12":{"loc":{"start":{"line":66,"column":2},"end":{"line":66,"column":50}},"type":"if","locations":[{"start":{"line":66,"column":2},"end":{"line":66,"column":50}},{"start":{},"end":{}}],"line":66},"13":{"loc":{"start":{"line":66,"column":6},"end":{"line":66,"column":38}},"type":"binary-expr","locations":[{"start":{"line":66,"column":6},"end":{"line":66,"column":28}},{"start":{"line":66,"column":32},"end":{"line":66,"column":38}}],"line":66},"14":{"loc":{"start":{"line":70,"column":26},"end":{"line":70,"column":36}},"type":"default-arg","locations":[{"start":{"line":70,"column":35},"end":{"line":70,"column":36}}],"line":70},"15":{"loc":{"start":{"line":71,"column":9},"end":{"line":71,"column":59}},"type":"binary-expr","locations":[{"start":{"line":71,"column":9},"end":{"line":71,"column":53}},{"start":{"line":71,"column":57},"end":{"line":71,"column":59}}],"line":71},"16":{"loc":{"start":{"line":78,"column":48},"end":{"line":78,"column":61}},"type":"default-arg","locations":[{"start":{"line":78,"column":60},"end":{"line":78,"column":61}}],"line":78}},"s":{"0":4,"1":4,"2":4,"3":5868,"4":5868,"5":5868,"6":5868,"7":4047,"8":4047,"9":1821,"10":1821,"11":1796,"12":1796,"13":25,"14":24,"15":1,"16":2,"17":11552,"18":5,"19":1507,"20":5,"21":32,"22":5,"23":5,"24":5,"25":5,"26":5,"27":5,"28":2,"29":7,"30":2,"31":5,"32":2055,"33":4,"34":2,"35":2,"36":1475,"37":5075,"38":0,"39":1466,"40":1466,"41":1466,"42":4},"f":{"0":5868,"1":2,"2":11552,"3":5,"4":1507,"5":32,"6":7,"7":2055,"8":4,"9":1475,"10":5075,"11":0,"12":1466},"b":{"0":[4047,1821],"1":[5868,4047],"2":[1796,25],"3":[1821,1820],"4":[0],"5":[0],"6":[0],"7":[1,4],"8":[0],"9":[5,5,5,5,5,5,2],"10":[2,5],"11":[4],"12":[2,2],"13":[4,3],"14":[0],"15":[1475,1],"16":[0]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"9dcac62ef34bdabaca4a58f0707c7274b8d4374a"} -,"/home/aarcon/Desktop/Personal/Lumi/luminescent-team/plugins/pokedex-data-plugin/dex/nature.js": {"path":"/home/aarcon/Desktop/Personal/Lumi/luminescent-team/plugins/pokedex-data-plugin/dex/nature.js","statementMap":{"0":{"start":{"line":1,"column":24},"end":{"line":1,"column":41}},"1":{"start":{"line":4,"column":2},"end":{"line":4,"column":70}},"2":{"start":{"line":4,"column":21},"end":{"line":4,"column":70}},"3":{"start":{"line":5,"column":16},"end":{"line":5,"column":100}},"4":{"start":{"line":5,"column":60},"end":{"line":5,"column":99}},"5":{"start":{"line":6,"column":2},"end":{"line":6,"column":69}},"6":{"start":{"line":6,"column":20},"end":{"line":6,"column":69}},"7":{"start":{"line":7,"column":2},"end":{"line":7,"column":15}},"8":{"start":{"line":11,"column":2},"end":{"line":11,"column":67}},"9":{"start":{"line":14,"column":0},"end":{"line":14,"column":48}}},"fnMap":{"0":{"name":"getNatureId","decl":{"start":{"line":3,"column":9},"end":{"line":3,"column":20}},"loc":{"start":{"line":3,"column":35},"end":{"line":8,"column":1}},"line":3},"1":{"name":"(anonymous_1)","decl":{"start":{"line":5,"column":53},"end":{"line":5,"column":54}},"loc":{"start":{"line":5,"column":60},"end":{"line":5,"column":99}},"line":5},"2":{"name":"getNatureName","decl":{"start":{"line":10,"column":9},"end":{"line":10,"column":22}},"loc":{"start":{"line":10,"column":37},"end":{"line":12,"column":1}},"line":10}},"branchMap":{"0":{"loc":{"start":{"line":4,"column":2},"end":{"line":4,"column":70}},"type":"if","locations":[{"start":{"line":4,"column":2},"end":{"line":4,"column":70}},{"start":{},"end":{}}],"line":4},"1":{"loc":{"start":{"line":6,"column":2},"end":{"line":6,"column":69}},"type":"if","locations":[{"start":{"line":6,"column":2},"end":{"line":6,"column":69}},{"start":{},"end":{}}],"line":6},"2":{"loc":{"start":{"line":10,"column":23},"end":{"line":10,"column":35}},"type":"default-arg","locations":[{"start":{"line":10,"column":34},"end":{"line":10,"column":35}}],"line":10}},"s":{"0":1,"1":3,"2":1,"3":2,"4":26,"5":2,"6":1,"7":1,"8":1,"9":1},"f":{"0":3,"1":26,"2":1},"b":{"0":[1,2],"1":[1,1],"2":[0]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"ae5bc4be88e1ddf23764c85afa47464e20dbb485"} -,"/home/aarcon/Desktop/Personal/Lumi/luminescent-team/plugins/pokedex-data-plugin/dex/pokemon.js": {"path":"/home/aarcon/Desktop/Personal/Lumi/luminescent-team/plugins/pokedex-data-plugin/dex/pokemon.js","statementMap":{"0":{"start":{"line":1,"column":26},"end":{"line":1,"column":43}},"1":{"start":{"line":2,"column":29},"end":{"line":2,"column":49}},"2":{"start":{"line":3,"column":81},"end":{"line":3,"column":99}},"3":{"start":{"line":4,"column":67},"end":{"line":4,"column":84}},"4":{"start":{"line":5,"column":24},"end":{"line":5,"column":42}},"5":{"start":{"line":6,"column":84},"end":{"line":6,"column":106}},"6":{"start":{"line":7,"column":57},"end":{"line":7,"column":78}},"7":{"start":{"line":8,"column":26},"end":{"line":8,"column":43}},"8":{"start":{"line":11,"column":12},"end":{"line":11,"column":45}},"9":{"start":{"line":12,"column":13},"end":{"line":12,"column":17}},"10":{"start":{"line":13,"column":17},"end":{"line":13,"column":25}},"11":{"start":{"line":14,"column":22},"end":{"line":14,"column":66}},"12":{"start":{"line":15,"column":15},"end":{"line":15,"column":35}},"13":{"start":{"line":16,"column":20},"end":{"line":23,"column":3}},"14":{"start":{"line":24,"column":25},"end":{"line":24,"column":90}},"15":{"start":{"line":24,"column":74},"end":{"line":24,"column":86}},"16":{"start":{"line":25,"column":17},"end":{"line":25,"column":30}},"17":{"start":{"line":26,"column":17},"end":{"line":26,"column":31}},"18":{"start":{"line":27,"column":16},"end":{"line":27,"column":36}},"19":{"start":{"line":28,"column":16},"end":{"line":28,"column":36}},"20":{"start":{"line":29,"column":18},"end":{"line":29,"column":25}},"21":{"start":{"line":30,"column":18},"end":{"line":30,"column":25}},"22":{"start":{"line":31,"column":29},"end":{"line":31,"column":34}},"23":{"start":{"line":32,"column":19},"end":{"line":32,"column":78}},"24":{"start":{"line":33,"column":25},"end":{"line":33,"column":50}},"25":{"start":{"line":35,"column":19},"end":{"line":35,"column":47}},"26":{"start":{"line":36,"column":19},"end":{"line":36,"column":47}},"27":{"start":{"line":37,"column":19},"end":{"line":37,"column":47}},"28":{"start":{"line":39,"column":19},"end":{"line":44,"column":3}},"29":{"start":{"line":45,"column":24},"end":{"line":45,"column":96}},"30":{"start":{"line":45,"column":69},"end":{"line":45,"column":95}},"31":{"start":{"line":46,"column":16},"end":{"line":51,"column":4}},"32":{"start":{"line":47,"column":4},"end":{"line":50,"column":6}},"33":{"start":{"line":53,"column":18},"end":{"line":53,"column":36}},"34":{"start":{"line":54,"column":21},"end":{"line":54,"column":39}},"35":{"start":{"line":56,"column":16},"end":{"line":56,"column":38}},"36":{"start":{"line":57,"column":16},"end":{"line":57,"column":38}},"37":{"start":{"line":58,"column":16},"end":{"line":58,"column":38}},"38":{"start":{"line":60,"column":2},"end":{"line":86,"column":4}},"39":{"start":{"line":89,"column":0},"end":{"line":89,"column":32}}},"fnMap":{"0":{"name":"getPokemon","decl":{"start":{"line":10,"column":9},"end":{"line":10,"column":19}},"loc":{"start":{"line":10,"column":31},"end":{"line":87,"column":1}},"line":10},"1":{"name":"(anonymous_1)","decl":{"start":{"line":24,"column":57},"end":{"line":24,"column":58}},"loc":{"start":{"line":24,"column":74},"end":{"line":24,"column":86}},"line":24},"2":{"name":"(anonymous_2)","decl":{"start":{"line":45,"column":58},"end":{"line":45,"column":59}},"loc":{"start":{"line":45,"column":69},"end":{"line":45,"column":95}},"line":45},"3":{"name":"(anonymous_3)","decl":{"start":{"line":46,"column":48},"end":{"line":46,"column":49}},"loc":{"start":{"line":46,"column":60},"end":{"line":51,"column":3}},"line":46}},"branchMap":{},"s":{"0":1,"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1466,"9":1466,"10":1466,"11":1466,"12":1466,"13":1466,"14":1466,"15":8796,"16":1466,"17":1466,"18":1466,"19":1466,"20":1466,"21":1466,"22":1466,"23":1466,"24":1466,"25":1466,"26":1466,"27":1466,"28":1466,"29":1466,"30":1922,"31":1466,"32":8620,"33":1466,"34":1466,"35":1466,"36":1466,"37":1466,"38":1466,"39":1},"f":{"0":1466,"1":8796,"2":1922,"3":8620},"b":{},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"56639a50bb7128fbc5d69df07dc13d28ae69cd05"} -,"/home/aarcon/Desktop/Personal/Lumi/luminescent-team/plugins/pokedex-data-plugin/dex/types.js": {"path":"/home/aarcon/Desktop/Personal/Lumi/luminescent-team/plugins/pokedex-data-plugin/dex/types.js","statementMap":{"0":{"start":{"line":1,"column":21},"end":{"line":1,"column":38}},"1":{"start":{"line":4,"column":15},"end":{"line":4,"column":69}},"2":{"start":{"line":5,"column":2},"end":{"line":5,"column":50}},"3":{"start":{"line":5,"column":13},"end":{"line":5,"column":50}},"4":{"start":{"line":6,"column":2},"end":{"line":6,"column":14}},"5":{"start":{"line":10,"column":2},"end":{"line":12,"column":75}},"6":{"start":{"line":15,"column":0},"end":{"line":15,"column":43}}},"fnMap":{"0":{"name":"getTypeName","decl":{"start":{"line":3,"column":9},"end":{"line":3,"column":20}},"loc":{"start":{"line":3,"column":33},"end":{"line":7,"column":1}},"line":3},"1":{"name":"getTypes","decl":{"start":{"line":9,"column":9},"end":{"line":9,"column":17}},"loc":{"start":{"line":9,"column":33},"end":{"line":13,"column":1}},"line":9}},"branchMap":{"0":{"loc":{"start":{"line":3,"column":21},"end":{"line":3,"column":31}},"type":"default-arg","locations":[{"start":{"line":3,"column":30},"end":{"line":3,"column":31}}],"line":3},"1":{"loc":{"start":{"line":5,"column":2},"end":{"line":5,"column":50}},"type":"if","locations":[{"start":{"line":5,"column":2},"end":{"line":5,"column":50}},{"start":{},"end":{}}],"line":5},"2":{"loc":{"start":{"line":10,"column":9},"end":{"line":12,"column":74}},"type":"cond-expr","locations":[{"start":{"line":11,"column":6},"end":{"line":11,"column":40}},{"start":{"line":12,"column":6},"end":{"line":12,"column":74}}],"line":10}},"s":{"0":3,"1":5866,"2":5866,"3":0,"4":5866,"5":2,"6":3},"f":{"0":5866,"1":2},"b":{"0":[0],"1":[0,5866],"2":[1,1]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"b0f54cd2820fd27594111d7d9345cabc3bc21628"} -,"/home/aarcon/Desktop/Personal/Lumi/luminescent-team/src/components/Pokedex/PokemonAbilities.jsx": {"path":"/home/aarcon/Desktop/Personal/Lumi/luminescent-team/src/components/Pokedex/PokemonAbilities.jsx","statementMap":{"0":{"start":{"line":5,"column":32},"end":{"line":43,"column":1}},"1":{"start":{"line":6,"column":31},"end":{"line":6,"column":98}},"2":{"start":{"line":7,"column":35},"end":{"line":7,"column":102}},"3":{"start":{"line":8,"column":32},"end":{"line":8,"column":104}},"4":{"start":{"line":10,"column":2},"end":{"line":16,"column":3}},"5":{"start":{"line":11,"column":4},"end":{"line":15,"column":6}},"6":{"start":{"line":18,"column":2},"end":{"line":25,"column":3}},"7":{"start":{"line":19,"column":4},"end":{"line":24,"column":6}},"8":{"start":{"line":27,"column":2},"end":{"line":34,"column":3}},"9":{"start":{"line":28,"column":4},"end":{"line":33,"column":6}},"10":{"start":{"line":36,"column":2},"end":{"line":42,"column":4}},"11":{"start":{"line":45,"column":30},"end":{"line":53,"column":1}},"12":{"start":{"line":46,"column":2},"end":{"line":52,"column":4}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":5,"column":32},"end":{"line":5,"column":33}},"loc":{"start":{"line":5,"column":87},"end":{"line":43,"column":1}},"line":5},"1":{"name":"(anonymous_1)","decl":{"start":{"line":45,"column":30},"end":{"line":45,"column":31}},"loc":{"start":{"line":45,"column":82},"end":{"line":53,"column":1}},"line":45}},"branchMap":{"0":{"loc":{"start":{"line":6,"column":31},"end":{"line":6,"column":98}},"type":"binary-expr","locations":[{"start":{"line":6,"column":31},"end":{"line":6,"column":60}},{"start":{"line":6,"column":64},"end":{"line":6,"column":98}}],"line":6},"1":{"loc":{"start":{"line":7,"column":35},"end":{"line":7,"column":102}},"type":"binary-expr","locations":[{"start":{"line":7,"column":35},"end":{"line":7,"column":64}},{"start":{"line":7,"column":68},"end":{"line":7,"column":102}}],"line":7},"2":{"loc":{"start":{"line":8,"column":32},"end":{"line":8,"column":104}},"type":"binary-expr","locations":[{"start":{"line":8,"column":32},"end":{"line":8,"column":66}},{"start":{"line":8,"column":70},"end":{"line":8,"column":104}}],"line":8},"3":{"loc":{"start":{"line":10,"column":2},"end":{"line":16,"column":3}},"type":"if","locations":[{"start":{"line":10,"column":2},"end":{"line":16,"column":3}},{"start":{},"end":{}}],"line":10},"4":{"loc":{"start":{"line":18,"column":2},"end":{"line":25,"column":3}},"type":"if","locations":[{"start":{"line":18,"column":2},"end":{"line":25,"column":3}},{"start":{},"end":{}}],"line":18},"5":{"loc":{"start":{"line":27,"column":2},"end":{"line":34,"column":3}},"type":"if","locations":[{"start":{"line":27,"column":2},"end":{"line":34,"column":3}},{"start":{},"end":{}}],"line":27},"6":{"loc":{"start":{"line":47,"column":84},"end":{"line":47,"column":105}},"type":"binary-expr","locations":[{"start":{"line":47,"column":84},"end":{"line":47,"column":96}},{"start":{"line":47,"column":100},"end":{"line":47,"column":105}}],"line":47},"7":{"loc":{"start":{"line":49,"column":7},"end":{"line":49,"column":32}},"type":"binary-expr","locations":[{"start":{"line":49,"column":7},"end":{"line":49,"column":22}},{"start":{"line":49,"column":26},"end":{"line":49,"column":32}}],"line":49},"8":{"loc":{"start":{"line":50,"column":7},"end":{"line":50,"column":26}},"type":"binary-expr","locations":[{"start":{"line":50,"column":7},"end":{"line":50,"column":19}},{"start":{"line":50,"column":23},"end":{"line":50,"column":26}}],"line":50}},"s":{"0":1,"1":5,"2":5,"3":5,"4":5,"5":1,"6":4,"7":1,"8":3,"9":2,"10":1,"11":1,"12":10},"f":{"0":5,"1":10},"b":{"0":[5,2],"1":[5,2],"2":[5,2],"3":[1,4],"4":[1,3],"5":[2,1],"6":[10,5],"7":[10,2],"8":[10,5]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"202974060cc793f0933ed1e3870ea70b3d976a38"} -,"/home/aarcon/Desktop/Personal/Lumi/luminescent-team/src/components/Pokedex2/PokemonAbilities.jsx": {"path":"/home/aarcon/Desktop/Personal/Lumi/luminescent-team/src/components/Pokedex2/PokemonAbilities.jsx","statementMap":{"0":{"start":{"line":6,"column":32},"end":{"line":44,"column":1}},"1":{"start":{"line":7,"column":31},"end":{"line":7,"column":98}},"2":{"start":{"line":8,"column":35},"end":{"line":8,"column":102}},"3":{"start":{"line":9,"column":32},"end":{"line":9,"column":104}},"4":{"start":{"line":11,"column":2},"end":{"line":17,"column":3}},"5":{"start":{"line":12,"column":4},"end":{"line":16,"column":6}},"6":{"start":{"line":19,"column":2},"end":{"line":26,"column":3}},"7":{"start":{"line":20,"column":4},"end":{"line":25,"column":6}},"8":{"start":{"line":28,"column":2},"end":{"line":35,"column":3}},"9":{"start":{"line":29,"column":4},"end":{"line":34,"column":6}},"10":{"start":{"line":37,"column":2},"end":{"line":43,"column":4}},"11":{"start":{"line":46,"column":30},"end":{"line":85,"column":1}},"12":{"start":{"line":47,"column":26},"end":{"line":47,"column":41}},"13":{"start":{"line":49,"column":21},"end":{"line":51,"column":3}},"14":{"start":{"line":50,"column":4},"end":{"line":50,"column":18}},"15":{"start":{"line":53,"column":22},"end":{"line":55,"column":3}},"16":{"start":{"line":54,"column":4},"end":{"line":54,"column":19}},"17":{"start":{"line":56,"column":2},"end":{"line":84,"column":4}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":6,"column":32},"end":{"line":6,"column":33}},"loc":{"start":{"line":6,"column":87},"end":{"line":44,"column":1}},"line":6},"1":{"name":"(anonymous_1)","decl":{"start":{"line":46,"column":30},"end":{"line":46,"column":31}},"loc":{"start":{"line":46,"column":82},"end":{"line":85,"column":1}},"line":46},"2":{"name":"(anonymous_2)","decl":{"start":{"line":49,"column":21},"end":{"line":49,"column":22}},"loc":{"start":{"line":49,"column":27},"end":{"line":51,"column":3}},"line":49},"3":{"name":"(anonymous_3)","decl":{"start":{"line":53,"column":22},"end":{"line":53,"column":23}},"loc":{"start":{"line":53,"column":28},"end":{"line":55,"column":3}},"line":53}},"branchMap":{"0":{"loc":{"start":{"line":7,"column":31},"end":{"line":7,"column":98}},"type":"binary-expr","locations":[{"start":{"line":7,"column":31},"end":{"line":7,"column":60}},{"start":{"line":7,"column":64},"end":{"line":7,"column":98}}],"line":7},"1":{"loc":{"start":{"line":8,"column":35},"end":{"line":8,"column":102}},"type":"binary-expr","locations":[{"start":{"line":8,"column":35},"end":{"line":8,"column":64}},{"start":{"line":8,"column":68},"end":{"line":8,"column":102}}],"line":8},"2":{"loc":{"start":{"line":9,"column":32},"end":{"line":9,"column":104}},"type":"binary-expr","locations":[{"start":{"line":9,"column":32},"end":{"line":9,"column":66}},{"start":{"line":9,"column":70},"end":{"line":9,"column":104}}],"line":9},"3":{"loc":{"start":{"line":11,"column":2},"end":{"line":17,"column":3}},"type":"if","locations":[{"start":{"line":11,"column":2},"end":{"line":17,"column":3}},{"start":{},"end":{}}],"line":11},"4":{"loc":{"start":{"line":19,"column":2},"end":{"line":26,"column":3}},"type":"if","locations":[{"start":{"line":19,"column":2},"end":{"line":26,"column":3}},{"start":{},"end":{}}],"line":19},"5":{"loc":{"start":{"line":28,"column":2},"end":{"line":35,"column":3}},"type":"if","locations":[{"start":{"line":28,"column":2},"end":{"line":35,"column":3}},{"start":{},"end":{}}],"line":28},"6":{"loc":{"start":{"line":59,"column":76},"end":{"line":59,"column":97}},"type":"binary-expr","locations":[{"start":{"line":59,"column":76},"end":{"line":59,"column":88}},{"start":{"line":59,"column":92},"end":{"line":59,"column":97}}],"line":59},"7":{"loc":{"start":{"line":63,"column":9},"end":{"line":63,"column":34}},"type":"binary-expr","locations":[{"start":{"line":63,"column":9},"end":{"line":63,"column":24}},{"start":{"line":63,"column":28},"end":{"line":63,"column":34}}],"line":63},"8":{"loc":{"start":{"line":64,"column":9},"end":{"line":64,"column":28}},"type":"binary-expr","locations":[{"start":{"line":64,"column":9},"end":{"line":64,"column":21}},{"start":{"line":64,"column":25},"end":{"line":64,"column":28}}],"line":64}},"s":{"0":1,"1":5,"2":5,"3":5,"4":5,"5":1,"6":4,"7":1,"8":3,"9":2,"10":1,"11":1,"12":10,"13":10,"14":0,"15":10,"16":0,"17":10},"f":{"0":5,"1":10,"2":0,"3":0},"b":{"0":[5,2],"1":[5,2],"2":[5,2],"3":[1,4],"4":[1,3],"5":[2,1],"6":[10,5],"7":[10,2],"8":[10,5]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"d53486af10e01ebd21e309434bf3739ecfb0e76d"} -,"/home/aarcon/Desktop/Personal/Lumi/luminescent-team/src/core/genderRatioConverter.js": {"path":"/home/aarcon/Desktop/Personal/Lumi/luminescent-team/src/core/genderRatioConverter.js","statementMap":{"0":{"start":{"line":1,"column":45},"end":{"line":21,"column":1}},"1":{"start":{"line":2,"column":2},"end":{"line":4,"column":3}},"2":{"start":{"line":3,"column":4},"end":{"line":3,"column":40}},"3":{"start":{"line":5,"column":2},"end":{"line":16,"column":3}},"4":{"start":{"line":6,"column":22},"end":{"line":6,"column":36}},"5":{"start":{"line":7,"column":23},"end":{"line":7,"column":36}},"6":{"start":{"line":8,"column":22},"end":{"line":8,"column":36}},"7":{"start":{"line":9,"column":19},"end":{"line":9,"column":51}},"8":{"start":{"line":10,"column":22},"end":{"line":10,"column":32}},"9":{"start":{"line":11,"column":17},"end":{"line":11,"column":49}},"10":{"start":{"line":12,"column":4},"end":{"line":15,"column":6}},"11":{"start":{"line":17,"column":2},"end":{"line":19,"column":3}},"12":{"start":{"line":18,"column":4},"end":{"line":18,"column":38}},"13":{"start":{"line":20,"column":2},"end":{"line":20,"column":36}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":1,"column":45},"end":{"line":1,"column":46}},"loc":{"start":{"line":1,"column":63},"end":{"line":21,"column":1}},"line":1}},"branchMap":{"0":{"loc":{"start":{"line":2,"column":2},"end":{"line":4,"column":3}},"type":"if","locations":[{"start":{"line":2,"column":2},"end":{"line":4,"column":3}},{"start":{},"end":{}}],"line":2},"1":{"loc":{"start":{"line":5,"column":2},"end":{"line":16,"column":3}},"type":"if","locations":[{"start":{"line":5,"column":2},"end":{"line":16,"column":3}},{"start":{},"end":{}}],"line":5},"2":{"loc":{"start":{"line":17,"column":2},"end":{"line":19,"column":3}},"type":"if","locations":[{"start":{"line":17,"column":2},"end":{"line":19,"column":3}},{"start":{},"end":{}}],"line":17}},"s":{"0":1,"1":7,"2":1,"3":6,"4":5,"5":5,"6":5,"7":5,"8":5,"9":5,"10":5,"11":1,"12":1,"13":0},"f":{"0":7},"b":{"0":[1,6],"1":[5,1],"2":[1,0]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"50849d13293634582aa5d97d492d557a17268c79"} -,"/home/aarcon/Desktop/Personal/Lumi/luminescent-team/src/core/pokemonFormSelector.js": {"path":"/home/aarcon/Desktop/Personal/Lumi/luminescent-team/src/core/pokemonFormSelector.js","statementMap":{"0":{"start":{"line":3,"column":34},"end":{"line":3,"column":39}},"1":{"start":{"line":5,"column":35},"end":{"line":15,"column":6}},"2":{"start":{"line":6,"column":2},"end":{"line":8,"column":3}},"3":{"start":{"line":7,"column":4},"end":{"line":7,"column":33}},"4":{"start":{"line":10,"column":22},"end":{"line":10,"column":112}},"5":{"start":{"line":11,"column":19},"end":{"line":11,"column":82}},"6":{"start":{"line":12,"column":2},"end":{"line":12,"column":78}},"7":{"start":{"line":14,"column":2},"end":{"line":14,"column":17}},"8":{"start":{"line":17,"column":39},"end":{"line":19,"column":1}},"9":{"start":{"line":18,"column":2},"end":{"line":18,"column":94}},"10":{"start":{"line":18,"column":64},"end":{"line":18,"column":92}},"11":{"start":{"line":21,"column":39},"end":{"line":25,"column":1}},"12":{"start":{"line":22,"column":23},"end":{"line":22,"column":55}},"13":{"start":{"line":23,"column":26},"end":{"line":23,"column":61}},"14":{"start":{"line":24,"column":2},"end":{"line":24,"column":61}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":5,"column":65},"end":{"line":5,"column":66}},"loc":{"start":{"line":5,"column":87},"end":{"line":15,"column":1}},"line":5},"1":{"name":"(anonymous_1)","decl":{"start":{"line":17,"column":39},"end":{"line":17,"column":40}},"loc":{"start":{"line":17,"column":55},"end":{"line":19,"column":1}},"line":17},"2":{"name":"(anonymous_2)","decl":{"start":{"line":18,"column":47},"end":{"line":18,"column":48}},"loc":{"start":{"line":18,"column":64},"end":{"line":18,"column":92}},"line":18},"3":{"name":"(anonymous_3)","decl":{"start":{"line":21,"column":39},"end":{"line":21,"column":40}},"loc":{"start":{"line":21,"column":66},"end":{"line":25,"column":1}},"line":21}},"branchMap":{"0":{"loc":{"start":{"line":6,"column":2},"end":{"line":8,"column":3}},"type":"if","locations":[{"start":{"line":6,"column":2},"end":{"line":8,"column":3}},{"start":{},"end":{}}],"line":6},"1":{"loc":{"start":{"line":10,"column":22},"end":{"line":10,"column":112}},"type":"binary-expr","locations":[{"start":{"line":10,"column":22},"end":{"line":10,"column":65}},{"start":{"line":10,"column":69},"end":{"line":10,"column":112}}],"line":10},"2":{"loc":{"start":{"line":11,"column":19},"end":{"line":11,"column":82}},"type":"binary-expr","locations":[{"start":{"line":11,"column":19},"end":{"line":11,"column":53}},{"start":{"line":11,"column":57},"end":{"line":11,"column":82}}],"line":11},"3":{"loc":{"start":{"line":21,"column":48},"end":{"line":21,"column":61}},"type":"default-arg","locations":[{"start":{"line":21,"column":60},"end":{"line":21,"column":61}}],"line":21}},"s":{"0":1,"1":1,"2":1466,"3":1011,"4":1466,"5":1466,"6":1466,"7":1466,"8":1,"9":1472,"10":5075,"11":1,"12":1473,"13":1473,"14":1473},"f":{"0":1466,"1":1472,"2":5075,"3":1473},"b":{"0":[1011,455],"1":[1466,455],"2":[1466,6],"3":[0]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"19a40eabfe0d45594afcd08a7d5d8683f881cd4b"} -,"/home/aarcon/Desktop/Personal/Lumi/luminescent-team/src/core/pokemonStatCalculation.js": {"path":"/home/aarcon/Desktop/Personal/Lumi/luminescent-team/src/core/pokemonStatCalculation.js","statementMap":{"0":{"start":{"line":1,"column":26},"end":{"line":5,"column":1}},"1":{"start":{"line":7,"column":11},"end":{"line":10,"column":1}},"2":{"start":{"line":12,"column":11},"end":{"line":15,"column":1}},"3":{"start":{"line":17,"column":24},"end":{"line":31,"column":1}},"4":{"start":{"line":18,"column":2},"end":{"line":23,"column":3}},"5":{"start":{"line":19,"column":4},"end":{"line":19,"column":33}},"6":{"start":{"line":19,"column":24},"end":{"line":19,"column":33}},"7":{"start":{"line":20,"column":4},"end":{"line":22,"column":6}},"8":{"start":{"line":24,"column":12},"end":{"line":24,"column":116}},"9":{"start":{"line":26,"column":2},"end":{"line":28,"column":3}},"10":{"start":{"line":27,"column":4},"end":{"line":27,"column":22}},"11":{"start":{"line":30,"column":2},"end":{"line":30,"column":25}},"12":{"start":{"line":33,"column":30},"end":{"line":35,"column":1}},"13":{"start":{"line":34,"column":2},"end":{"line":34,"column":76}},"14":{"start":{"line":37,"column":27},"end":{"line":39,"column":1}},"15":{"start":{"line":38,"column":2},"end":{"line":38,"column":81}},"16":{"start":{"line":41,"column":27},"end":{"line":43,"column":1}},"17":{"start":{"line":42,"column":2},"end":{"line":42,"column":81}},"18":{"start":{"line":45,"column":30},"end":{"line":47,"column":1}},"19":{"start":{"line":46,"column":2},"end":{"line":46,"column":77}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":17,"column":24},"end":{"line":17,"column":25}},"loc":{"start":{"line":17,"column":101},"end":{"line":31,"column":1}},"line":17},"1":{"name":"(anonymous_1)","decl":{"start":{"line":33,"column":30},"end":{"line":33,"column":31}},"loc":{"start":{"line":33,"column":53},"end":{"line":35,"column":1}},"line":33},"2":{"name":"(anonymous_2)","decl":{"start":{"line":37,"column":27},"end":{"line":37,"column":28}},"loc":{"start":{"line":37,"column":50},"end":{"line":39,"column":1}},"line":37},"3":{"name":"(anonymous_3)","decl":{"start":{"line":41,"column":27},"end":{"line":41,"column":28}},"loc":{"start":{"line":41,"column":50},"end":{"line":43,"column":1}},"line":41},"4":{"name":"(anonymous_4)","decl":{"start":{"line":45,"column":30},"end":{"line":45,"column":31}},"loc":{"start":{"line":45,"column":53},"end":{"line":47,"column":1}},"line":45}},"branchMap":{"0":{"loc":{"start":{"line":17,"column":48},"end":{"line":17,"column":67}},"type":"default-arg","locations":[{"start":{"line":17,"column":66},"end":{"line":17,"column":67}}],"line":17},"1":{"loc":{"start":{"line":17,"column":69},"end":{"line":17,"column":84}},"type":"default-arg","locations":[{"start":{"line":17,"column":83},"end":{"line":17,"column":84}}],"line":17},"2":{"loc":{"start":{"line":18,"column":2},"end":{"line":23,"column":3}},"type":"if","locations":[{"start":{"line":18,"column":2},"end":{"line":23,"column":3}},{"start":{},"end":{}}],"line":18},"3":{"loc":{"start":{"line":19,"column":4},"end":{"line":19,"column":33}},"type":"if","locations":[{"start":{"line":19,"column":4},"end":{"line":19,"column":33}},{"start":{},"end":{}}],"line":19},"4":{"loc":{"start":{"line":26,"column":2},"end":{"line":28,"column":3}},"type":"if","locations":[{"start":{"line":26,"column":2},"end":{"line":28,"column":3}},{"start":{},"end":{}}],"line":26},"5":{"loc":{"start":{"line":26,"column":6},"end":{"line":26,"column":25}},"type":"binary-expr","locations":[{"start":{"line":26,"column":6},"end":{"line":26,"column":16}},{"start":{"line":26,"column":20},"end":{"line":26,"column":25}}],"line":26}},"s":{"0":1,"1":1,"2":1,"3":1,"4":16,"5":8,"6":0,"7":8,"8":8,"9":8,"10":8,"11":8,"12":1,"13":4,"14":1,"15":4,"16":1,"17":4,"18":1,"19":4},"f":{"0":16,"1":4,"2":4,"3":4,"4":4},"b":{"0":[0],"1":[0],"2":[8,8],"3":[0,8],"4":[8,0],"5":[8,8]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"7124faeca4d6c887831212b7d9c86005d46b7282"} -,"/home/aarcon/Desktop/Personal/Lumi/luminescent-team/src/utils/dex/ability.js": {"path":"/home/aarcon/Desktop/Personal/Lumi/luminescent-team/src/utils/dex/ability.js","statementMap":{"0":{"start":{"line":1,"column":38},"end":{"line":1,"column":68}},"1":{"start":{"line":4,"column":24},"end":{"line":4,"column":93}},"2":{"start":{"line":5,"column":2},"end":{"line":5,"column":92}},"3":{"start":{"line":5,"column":48},"end":{"line":5,"column":92}},"4":{"start":{"line":6,"column":2},"end":{"line":6,"column":30}},"5":{"start":{"line":10,"column":2},"end":{"line":10,"column":74}},"6":{"start":{"line":10,"column":22},"end":{"line":10,"column":74}},"7":{"start":{"line":12,"column":20},"end":{"line":12,"column":106}},"8":{"start":{"line":12,"column":65},"end":{"line":12,"column":105}},"9":{"start":{"line":14,"column":2},"end":{"line":14,"column":76}},"10":{"start":{"line":14,"column":24},"end":{"line":14,"column":76}},"11":{"start":{"line":15,"column":2},"end":{"line":15,"column":19}},"12":{"start":{"line":19,"column":22},"end":{"line":19,"column":91}},"13":{"start":{"line":20,"column":2},"end":{"line":20,"column":88}},"14":{"start":{"line":20,"column":44},"end":{"line":20,"column":88}},"15":{"start":{"line":21,"column":2},"end":{"line":21,"column":21}},"16":{"start":{"line":25,"column":19},"end":{"line":25,"column":64}},"17":{"start":{"line":26,"column":2},"end":{"line":26,"column":90}},"18":{"start":{"line":26,"column":76},"end":{"line":26,"column":90}},"19":{"start":{"line":27,"column":22},"end":{"line":29,"column":8}},"20":{"start":{"line":28,"column":4},"end":{"line":28,"column":56}},"21":{"start":{"line":31,"column":2},"end":{"line":31,"column":28}}},"fnMap":{"0":{"name":"makeSmogonAbilityObject","decl":{"start":{"line":3,"column":9},"end":{"line":3,"column":32}},"loc":{"start":{"line":3,"column":48},"end":{"line":7,"column":1}},"line":3},"1":{"name":"getAbilityIdFromAbilityName","decl":{"start":{"line":9,"column":9},"end":{"line":9,"column":36}},"loc":{"start":{"line":9,"column":52},"end":{"line":16,"column":1}},"line":9},"2":{"name":"(anonymous_2)","decl":{"start":{"line":12,"column":58},"end":{"line":12,"column":59}},"loc":{"start":{"line":12,"column":65},"end":{"line":12,"column":105}},"line":12},"3":{"name":"getAbilityString","decl":{"start":{"line":18,"column":9},"end":{"line":18,"column":25}},"loc":{"start":{"line":18,"column":41},"end":{"line":22,"column":1}},"line":18},"4":{"name":"getAbilityInfo","decl":{"start":{"line":24,"column":9},"end":{"line":24,"column":23}},"loc":{"start":{"line":24,"column":28},"end":{"line":32,"column":1}},"line":24},"5":{"name":"(anonymous_5)","decl":{"start":{"line":27,"column":38},"end":{"line":27,"column":39}},"loc":{"start":{"line":27,"column":77},"end":{"line":29,"column":3}},"line":27}},"branchMap":{"0":{"loc":{"start":{"line":3,"column":33},"end":{"line":3,"column":46}},"type":"default-arg","locations":[{"start":{"line":3,"column":45},"end":{"line":3,"column":46}}],"line":3},"1":{"loc":{"start":{"line":4,"column":24},"end":{"line":4,"column":93}},"type":"binary-expr","locations":[{"start":{"line":4,"column":24},"end":{"line":4,"column":85}},{"start":{"line":4,"column":89},"end":{"line":4,"column":93}}],"line":4},"2":{"loc":{"start":{"line":5,"column":2},"end":{"line":5,"column":92}},"type":"if","locations":[{"start":{"line":5,"column":2},"end":{"line":5,"column":92}},{"start":{},"end":{}}],"line":5},"3":{"loc":{"start":{"line":5,"column":6},"end":{"line":5,"column":46}},"type":"binary-expr","locations":[{"start":{"line":5,"column":6},"end":{"line":5,"column":28}},{"start":{"line":5,"column":32},"end":{"line":5,"column":46}}],"line":5},"4":{"loc":{"start":{"line":10,"column":2},"end":{"line":10,"column":74}},"type":"if","locations":[{"start":{"line":10,"column":2},"end":{"line":10,"column":74}},{"start":{},"end":{}}],"line":10},"5":{"loc":{"start":{"line":14,"column":2},"end":{"line":14,"column":76}},"type":"if","locations":[{"start":{"line":14,"column":2},"end":{"line":14,"column":76}},{"start":{},"end":{}}],"line":14},"6":{"loc":{"start":{"line":18,"column":26},"end":{"line":18,"column":39}},"type":"default-arg","locations":[{"start":{"line":18,"column":38},"end":{"line":18,"column":39}}],"line":18},"7":{"loc":{"start":{"line":19,"column":22},"end":{"line":19,"column":91}},"type":"binary-expr","locations":[{"start":{"line":19,"column":22},"end":{"line":19,"column":83}},{"start":{"line":19,"column":87},"end":{"line":19,"column":91}}],"line":19},"8":{"loc":{"start":{"line":20,"column":2},"end":{"line":20,"column":88}},"type":"if","locations":[{"start":{"line":20,"column":2},"end":{"line":20,"column":88}},{"start":{},"end":{}}],"line":20},"9":{"loc":{"start":{"line":20,"column":6},"end":{"line":20,"column":42}},"type":"binary-expr","locations":[{"start":{"line":20,"column":6},"end":{"line":20,"column":26}},{"start":{"line":20,"column":30},"end":{"line":20,"column":42}}],"line":20},"10":{"loc":{"start":{"line":26,"column":2},"end":{"line":26,"column":90}},"type":"if","locations":[{"start":{"line":26,"column":2},"end":{"line":26,"column":90}},{"start":{},"end":{}}],"line":26},"11":{"loc":{"start":{"line":26,"column":6},"end":{"line":26,"column":74}},"type":"binary-expr","locations":[{"start":{"line":26,"column":6},"end":{"line":26,"column":23}},{"start":{"line":26,"column":27},"end":{"line":26,"column":49}},{"start":{"line":26,"column":53},"end":{"line":26,"column":74}}],"line":26}},"s":{"0":2,"1":2,"2":2,"3":1,"4":1,"5":12,"6":0,"7":12,"8":679,"9":12,"10":1,"11":11,"12":2,"13":2,"14":1,"15":1,"16":12,"17":12,"18":1,"19":11,"20":22,"21":11},"f":{"0":2,"1":12,"2":679,"3":2,"4":12,"5":22},"b":{"0":[0],"1":[2,1],"2":[1,1],"3":[2,1],"4":[0,12],"5":[1,11],"6":[0],"7":[2,1],"8":[1,1],"9":[2,1],"10":[1,11],"11":[12,12,11]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"fa174817f874b0031c67d621b5fb0cafd3f99dc1"} -,"/home/aarcon/Desktop/Personal/Lumi/luminescent-team/src/utils/dex/details.js": {"path":"/home/aarcon/Desktop/Personal/Lumi/luminescent-team/src/utils/dex/details.js","statementMap":{"0":{"start":{"line":3,"column":19},"end":{"line":3,"column":24}},"1":{"start":{"line":4,"column":21},"end":{"line":4,"column":25}},"2":{"start":{"line":5,"column":21},"end":{"line":5,"column":29}},"3":{"start":{"line":8,"column":23},"end":{"line":8,"column":93}},"4":{"start":{"line":10,"column":2},"end":{"line":10,"column":40}},"5":{"start":{"line":10,"column":29},"end":{"line":10,"column":40}},"6":{"start":{"line":12,"column":37},"end":{"line":12,"column":60}},"7":{"start":{"line":13,"column":17},"end":{"line":13,"column":79}},"8":{"start":{"line":14,"column":15},"end":{"line":14,"column":35}},"9":{"start":{"line":16,"column":28},"end":{"line":16,"column":45}},"10":{"start":{"line":17,"column":30},"end":{"line":17,"column":51}},"11":{"start":{"line":18,"column":2},"end":{"line":18,"column":70}},"12":{"start":{"line":22,"column":23},"end":{"line":22,"column":93}},"13":{"start":{"line":24,"column":2},"end":{"line":24,"column":40}},"14":{"start":{"line":24,"column":29},"end":{"line":24,"column":40}},"15":{"start":{"line":26,"column":25},"end":{"line":26,"column":48}},"16":{"start":{"line":27,"column":17},"end":{"line":27,"column":48}},"17":{"start":{"line":29,"column":27},"end":{"line":29,"column":48}},"18":{"start":{"line":30,"column":2},"end":{"line":30,"column":37}}},"fnMap":{"0":{"name":"getHeight","decl":{"start":{"line":7,"column":9},"end":{"line":7,"column":18}},"loc":{"start":{"line":7,"column":34},"end":{"line":19,"column":1}},"line":7},"1":{"name":"getWeight","decl":{"start":{"line":21,"column":9},"end":{"line":21,"column":18}},"loc":{"start":{"line":21,"column":34},"end":{"line":31,"column":1}},"line":21}},"branchMap":{"0":{"loc":{"start":{"line":7,"column":19},"end":{"line":7,"column":32}},"type":"default-arg","locations":[{"start":{"line":7,"column":31},"end":{"line":7,"column":32}}],"line":7},"1":{"loc":{"start":{"line":8,"column":23},"end":{"line":8,"column":93}},"type":"binary-expr","locations":[{"start":{"line":8,"column":23},"end":{"line":8,"column":85}},{"start":{"line":8,"column":89},"end":{"line":8,"column":93}}],"line":8},"2":{"loc":{"start":{"line":10,"column":2},"end":{"line":10,"column":40}},"type":"if","locations":[{"start":{"line":10,"column":2},"end":{"line":10,"column":40}},{"start":{},"end":{}}],"line":10},"3":{"loc":{"start":{"line":21,"column":19},"end":{"line":21,"column":32}},"type":"default-arg","locations":[{"start":{"line":21,"column":31},"end":{"line":21,"column":32}}],"line":21},"4":{"loc":{"start":{"line":22,"column":23},"end":{"line":22,"column":93}},"type":"binary-expr","locations":[{"start":{"line":22,"column":23},"end":{"line":22,"column":85}},{"start":{"line":22,"column":89},"end":{"line":22,"column":93}}],"line":22},"5":{"loc":{"start":{"line":24,"column":2},"end":{"line":24,"column":40}},"type":"if","locations":[{"start":{"line":24,"column":2},"end":{"line":24,"column":40}},{"start":{},"end":{}}],"line":24}},"s":{"0":1,"1":1,"2":1,"3":2,"4":2,"5":1,"6":1,"7":1,"8":1,"9":1,"10":1,"11":1,"12":2,"13":2,"14":1,"15":1,"16":1,"17":1,"18":1},"f":{"0":2,"1":2},"b":{"0":[0],"1":[2,1],"2":[1,1],"3":[0],"4":[2,1],"5":[1,1]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"69fd59bab689a804ef36f661cf80227bb9880491"} -,"/home/aarcon/Desktop/Personal/Lumi/luminescent-team/src/utils/dex/egggroup.js": {"path":"/home/aarcon/Desktop/Personal/Lumi/luminescent-team/src/utils/dex/egggroup.js","statementMap":{"0":{"start":{"line":3,"column":19},"end":{"line":20,"column":1}},"1":{"start":{"line":22,"column":33},"end":{"line":22,"column":94}},"2":{"start":{"line":23,"column":29},"end":{"line":23,"column":31}},"3":{"start":{"line":26,"column":2},"end":{"line":27,"column":51}},"4":{"start":{"line":27,"column":4},"end":{"line":27,"column":51}},"5":{"start":{"line":29,"column":25},"end":{"line":29,"column":58}},"6":{"start":{"line":30,"column":20},"end":{"line":30,"column":45}},"7":{"start":{"line":31,"column":20},"end":{"line":31,"column":45}},"8":{"start":{"line":32,"column":2},"end":{"line":32,"column":72}},"9":{"start":{"line":36,"column":2},"end":{"line":37,"column":53}},"10":{"start":{"line":37,"column":4},"end":{"line":37,"column":53}},"11":{"start":{"line":38,"column":2},"end":{"line":38,"column":32}},"12":{"start":{"line":43,"column":2},"end":{"line":45,"column":3}},"13":{"start":{"line":44,"column":4},"end":{"line":44,"column":54}},"14":{"start":{"line":47,"column":2},"end":{"line":49,"column":3}},"15":{"start":{"line":48,"column":4},"end":{"line":48,"column":54}},"16":{"start":{"line":51,"column":2},"end":{"line":51,"column":63}},"17":{"start":{"line":52,"column":2},"end":{"line":52,"column":63}},"18":{"start":{"line":53,"column":2},"end":{"line":53,"column":20}},"19":{"start":{"line":57,"column":2},"end":{"line":58,"column":53}},"20":{"start":{"line":58,"column":4},"end":{"line":58,"column":53}},"21":{"start":{"line":59,"column":2},"end":{"line":59,"column":58}}},"fnMap":{"0":{"name":"getEggGroupViaPokemonId","decl":{"start":{"line":25,"column":9},"end":{"line":25,"column":32}},"loc":{"start":{"line":25,"column":48},"end":{"line":33,"column":1}},"line":25},"1":{"name":"getEggGroupNameById","decl":{"start":{"line":35,"column":9},"end":{"line":35,"column":28}},"loc":{"start":{"line":35,"column":45},"end":{"line":39,"column":1}},"line":35},"2":{"name":"createPokemonByEggGroupMap","decl":{"start":{"line":41,"column":9},"end":{"line":41,"column":35}},"loc":{"start":{"line":41,"column":64},"end":{"line":54,"column":1}},"line":41},"3":{"name":"getPokemonIdsInEggGroup","decl":{"start":{"line":56,"column":9},"end":{"line":56,"column":32}},"loc":{"start":{"line":56,"column":49},"end":{"line":60,"column":1}},"line":56}},"branchMap":{"0":{"loc":{"start":{"line":25,"column":33},"end":{"line":25,"column":46}},"type":"default-arg","locations":[{"start":{"line":25,"column":45},"end":{"line":25,"column":46}}],"line":25},"1":{"loc":{"start":{"line":26,"column":2},"end":{"line":27,"column":51}},"type":"if","locations":[{"start":{"line":26,"column":2},"end":{"line":27,"column":51}},{"start":{},"end":{}}],"line":26},"2":{"loc":{"start":{"line":26,"column":6},"end":{"line":26,"column":96}},"type":"binary-expr","locations":[{"start":{"line":26,"column":6},"end":{"line":26,"column":34}},{"start":{"line":26,"column":38},"end":{"line":26,"column":51}},{"start":{"line":26,"column":55},"end":{"line":26,"column":96}}],"line":26},"3":{"loc":{"start":{"line":32,"column":9},"end":{"line":32,"column":71}},"type":"cond-expr","locations":[{"start":{"line":32,"column":35},"end":{"line":32,"column":46}},{"start":{"line":32,"column":49},"end":{"line":32,"column":71}}],"line":32},"4":{"loc":{"start":{"line":35,"column":29},"end":{"line":35,"column":43}},"type":"default-arg","locations":[{"start":{"line":35,"column":42},"end":{"line":35,"column":43}}],"line":35},"5":{"loc":{"start":{"line":36,"column":2},"end":{"line":37,"column":53}},"type":"if","locations":[{"start":{"line":36,"column":2},"end":{"line":37,"column":53}},{"start":{},"end":{}}],"line":36},"6":{"loc":{"start":{"line":36,"column":6},"end":{"line":36,"column":90}},"type":"binary-expr","locations":[{"start":{"line":36,"column":6},"end":{"line":36,"column":35}},{"start":{"line":36,"column":39},"end":{"line":36,"column":53}},{"start":{"line":36,"column":57},"end":{"line":36,"column":90}}],"line":36},"7":{"loc":{"start":{"line":43,"column":2},"end":{"line":45,"column":3}},"type":"if","locations":[{"start":{"line":43,"column":2},"end":{"line":45,"column":3}},{"start":{},"end":{}}],"line":43},"8":{"loc":{"start":{"line":47,"column":2},"end":{"line":49,"column":3}},"type":"if","locations":[{"start":{"line":47,"column":2},"end":{"line":49,"column":3}},{"start":{},"end":{}}],"line":47},"9":{"loc":{"start":{"line":56,"column":33},"end":{"line":56,"column":47}},"type":"default-arg","locations":[{"start":{"line":56,"column":46},"end":{"line":56,"column":47}}],"line":56},"10":{"loc":{"start":{"line":57,"column":2},"end":{"line":58,"column":53}},"type":"if","locations":[{"start":{"line":57,"column":2},"end":{"line":58,"column":53}},{"start":{},"end":{}}],"line":57},"11":{"loc":{"start":{"line":57,"column":6},"end":{"line":57,"column":90}},"type":"binary-expr","locations":[{"start":{"line":57,"column":6},"end":{"line":57,"column":35}},{"start":{"line":57,"column":39},"end":{"line":57,"column":53}},{"start":{"line":57,"column":57},"end":{"line":57,"column":90}}],"line":57}},"s":{"0":1,"1":1,"2":1,"3":7,"4":2,"5":5,"6":5,"7":5,"8":5,"9":15,"10":7,"11":8,"12":1466,"13":12,"14":1466,"15":4,"16":1466,"17":1466,"18":1466,"19":6,"20":3,"21":3},"f":{"0":7,"1":15,"2":1466,"3":6},"b":{"0":[0],"1":[2,5],"2":[7,6,5],"3":[2,3],"4":[0],"5":[7,8],"6":[15,13,11],"7":[12,1454],"8":[4,1462],"9":[0],"10":[3,3],"11":[6,5,4]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"eabf64072067d006bc8e93b2afe3ff56fb9af9e7"} -,"/home/aarcon/Desktop/Personal/Lumi/luminescent-team/src/utils/dex/evolution.js": {"path":"/home/aarcon/Desktop/Personal/Lumi/luminescent-team/src/utils/dex/evolution.js","statementMap":{"0":{"start":{"line":7,"column":2},"end":{"line":9,"column":3}},"1":{"start":{"line":8,"column":4},"end":{"line":8,"column":14}},"2":{"start":{"line":10,"column":2},"end":{"line":10,"column":111}},"3":{"start":{"line":10,"column":68},"end":{"line":10,"column":111}},"4":{"start":{"line":11,"column":27},"end":{"line":11,"column":68}},"5":{"start":{"line":12,"column":22},"end":{"line":12,"column":47}},"6":{"start":{"line":13,"column":18},"end":{"line":13,"column":41}},"7":{"start":{"line":14,"column":2},"end":{"line":20,"column":3}},"8":{"start":{"line":15,"column":4},"end":{"line":15,"column":23}},"9":{"start":{"line":16,"column":4},"end":{"line":16,"column":85}},"10":{"start":{"line":18,"column":4},"end":{"line":18,"column":45}},"11":{"start":{"line":19,"column":4},"end":{"line":19,"column":108}},"12":{"start":{"line":21,"column":2},"end":{"line":21,"column":39}},"13":{"start":{"line":25,"column":2},"end":{"line":27,"column":3}},"14":{"start":{"line":26,"column":4},"end":{"line":26,"column":52}},"15":{"start":{"line":29,"column":18},"end":{"line":29,"column":42}},"16":{"start":{"line":30,"column":2},"end":{"line":32,"column":3}},"17":{"start":{"line":31,"column":4},"end":{"line":31,"column":52}},"18":{"start":{"line":34,"column":25},"end":{"line":34,"column":63}},"19":{"start":{"line":36,"column":20},"end":{"line":36,"column":49}},"20":{"start":{"line":38,"column":24},"end":{"line":42,"column":3}},"21":{"start":{"line":41,"column":63},"end":{"line":41,"column":106}},"22":{"start":{"line":43,"column":2},"end":{"line":43,"column":23}},"23":{"start":{"line":47,"column":23},"end":{"line":47,"column":60}},"24":{"start":{"line":52,"column":2},"end":{"line":52,"column":46}},"25":{"start":{"line":56,"column":27},"end":{"line":56,"column":54}},"26":{"start":{"line":58,"column":2},"end":{"line":60,"column":3}},"27":{"start":{"line":59,"column":4},"end":{"line":59,"column":16}},"28":{"start":{"line":62,"column":2},"end":{"line":95,"column":3}},"29":{"start":{"line":62,"column":15},"end":{"line":62,"column":16}},"30":{"start":{"line":63,"column":26},"end":{"line":63,"column":45}},"31":{"start":{"line":64,"column":20},"end":{"line":64,"column":22}},"32":{"start":{"line":65,"column":27},"end":{"line":65,"column":29}},"33":{"start":{"line":66,"column":18},"end":{"line":66,"column":20}},"34":{"start":{"line":67,"column":18},"end":{"line":67,"column":20}},"35":{"start":{"line":68,"column":17},"end":{"line":68,"column":19}},"36":{"start":{"line":70,"column":4},"end":{"line":85,"column":5}},"37":{"start":{"line":70,"column":17},"end":{"line":70,"column":18}},"38":{"start":{"line":71,"column":23},"end":{"line":71,"column":43}},"39":{"start":{"line":72,"column":30},"end":{"line":72,"column":50}},"40":{"start":{"line":73,"column":21},"end":{"line":73,"column":41}},"41":{"start":{"line":74,"column":21},"end":{"line":74,"column":41}},"42":{"start":{"line":75,"column":20},"end":{"line":75,"column":40}},"43":{"start":{"line":77,"column":33},"end":{"line":77,"column":78}},"44":{"start":{"line":78,"column":6},"end":{"line":84,"column":7}},"45":{"start":{"line":79,"column":8},"end":{"line":79,"column":33}},"46":{"start":{"line":80,"column":8},"end":{"line":80,"column":47}},"47":{"start":{"line":81,"column":8},"end":{"line":81,"column":29}},"48":{"start":{"line":82,"column":8},"end":{"line":82,"column":29}},"49":{"start":{"line":83,"column":8},"end":{"line":83,"column":27}},"50":{"start":{"line":86,"column":4},"end":{"line":94,"column":5}},"51":{"start":{"line":87,"column":6},"end":{"line":93,"column":8}},"52":{"start":{"line":96,"column":2},"end":{"line":96,"column":14}}},"fnMap":{"0":{"name":"getEvolutionMethodDetail","decl":{"start":{"line":6,"column":9},"end":{"line":6,"column":33}},"loc":{"start":{"line":6,"column":72},"end":{"line":22,"column":1}},"line":6},"1":{"name":"getEvolutionTree","decl":{"start":{"line":24,"column":9},"end":{"line":24,"column":25}},"loc":{"start":{"line":24,"column":58},"end":{"line":44,"column":1}},"line":24},"2":{"name":"(anonymous_2)","decl":{"start":{"line":41,"column":39},"end":{"line":41,"column":40}},"loc":{"start":{"line":41,"column":63},"end":{"line":41,"column":106}},"line":41},"3":{"name":"checkEvolutionPath","decl":{"start":{"line":46,"column":9},"end":{"line":46,"column":27}},"loc":{"start":{"line":46,"column":62},"end":{"line":53,"column":1}},"line":46},"4":{"name":"comparePath","decl":{"start":{"line":49,"column":11},"end":{"line":49,"column":22}},"loc":{"start":{"line":49,"column":45},"end":{"line":50,"column":3}},"line":49},"5":{"name":"getEvolutionDetails","decl":{"start":{"line":55,"column":9},"end":{"line":55,"column":28}},"loc":{"start":{"line":55,"column":40},"end":{"line":97,"column":1}},"line":55}},"branchMap":{"0":{"loc":{"start":{"line":6,"column":44},"end":{"line":6,"column":63}},"type":"default-arg","locations":[{"start":{"line":6,"column":62},"end":{"line":6,"column":63}}],"line":6},"1":{"loc":{"start":{"line":7,"column":2},"end":{"line":9,"column":3}},"type":"if","locations":[{"start":{"line":7,"column":2},"end":{"line":9,"column":3}},{"start":{},"end":{}}],"line":7},"2":{"loc":{"start":{"line":10,"column":2},"end":{"line":10,"column":111}},"type":"if","locations":[{"start":{"line":10,"column":2},"end":{"line":10,"column":111}},{"start":{},"end":{}}],"line":10},"3":{"loc":{"start":{"line":10,"column":6},"end":{"line":10,"column":66}},"type":"binary-expr","locations":[{"start":{"line":10,"column":6},"end":{"line":10,"column":33}},{"start":{"line":10,"column":37},"end":{"line":10,"column":49}},{"start":{"line":10,"column":53},"end":{"line":10,"column":66}}],"line":10},"4":{"loc":{"start":{"line":14,"column":2},"end":{"line":20,"column":3}},"type":"if","locations":[{"start":{"line":14,"column":2},"end":{"line":20,"column":3}},{"start":{"line":17,"column":9},"end":{"line":20,"column":3}}],"line":14},"5":{"loc":{"start":{"line":24,"column":26},"end":{"line":24,"column":39}},"type":"default-arg","locations":[{"start":{"line":24,"column":38},"end":{"line":24,"column":39}}],"line":24},"6":{"loc":{"start":{"line":24,"column":41},"end":{"line":24,"column":56}},"type":"default-arg","locations":[{"start":{"line":24,"column":52},"end":{"line":24,"column":56}}],"line":24},"7":{"loc":{"start":{"line":25,"column":2},"end":{"line":27,"column":3}},"type":"if","locations":[{"start":{"line":25,"column":2},"end":{"line":27,"column":3}},{"start":{},"end":{}}],"line":25},"8":{"loc":{"start":{"line":25,"column":6},"end":{"line":25,"column":51}},"type":"binary-expr","locations":[{"start":{"line":25,"column":6},"end":{"line":25,"column":34}},{"start":{"line":25,"column":38},"end":{"line":25,"column":51}}],"line":25},"9":{"loc":{"start":{"line":30,"column":2},"end":{"line":32,"column":3}},"type":"if","locations":[{"start":{"line":30,"column":2},"end":{"line":32,"column":3}},{"start":{},"end":{}}],"line":30},"10":{"loc":{"start":{"line":34,"column":25},"end":{"line":34,"column":63}},"type":"cond-expr","locations":[{"start":{"line":34,"column":36},"end":{"line":34,"column":51}},{"start":{"line":34,"column":54},"end":{"line":34,"column":63}}],"line":34},"11":{"loc":{"start":{"line":58,"column":2},"end":{"line":60,"column":3}},"type":"if","locations":[{"start":{"line":58,"column":2},"end":{"line":60,"column":3}},{"start":{},"end":{}}],"line":58},"12":{"loc":{"start":{"line":78,"column":6},"end":{"line":84,"column":7}},"type":"if","locations":[{"start":{"line":78,"column":6},"end":{"line":84,"column":7}},{"start":{},"end":{}}],"line":78},"13":{"loc":{"start":{"line":86,"column":4},"end":{"line":94,"column":5}},"type":"if","locations":[{"start":{"line":86,"column":4},"end":{"line":94,"column":5}},{"start":{},"end":{}}],"line":86}},"s":{"0":3,"1":0,"2":3,"3":1,"4":2,"5":2,"6":2,"7":2,"8":0,"9":0,"10":2,"11":2,"12":2,"13":218,"14":2,"15":216,"16":216,"17":0,"18":216,"19":216,"20":216,"21":167,"22":216,"23":0,"24":0,"25":216,"26":216,"27":0,"28":216,"29":216,"30":416,"31":416,"32":416,"33":416,"34":416,"35":416,"36":416,"37":416,"38":1358,"39":1358,"40":1358,"41":1358,"42":1358,"43":1358,"44":1358,"45":213,"46":213,"47":213,"48":213,"49":213,"50":416,"51":167,"52":49},"f":{"0":3,"1":218,"2":167,"3":0,"4":0,"5":216},"b":{"0":[2],"1":[0,3],"2":[1,2],"3":[3,2,2],"4":[0,2],"5":[0],"6":[51],"7":[2,216],"8":[218,216],"9":[0,216],"10":[49,167],"11":[0,216],"12":[213,1145],"13":[167,249]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"ce6e4416175db688d49977f17a1f5da2c9cd625f"} -,"/home/aarcon/Desktop/Personal/Lumi/luminescent-team/src/utils/dex/evolutionConstants.js": {"path":"/home/aarcon/Desktop/Personal/Lumi/luminescent-team/src/utils/dex/evolutionConstants.js","statementMap":{"0":{"start":{"line":7,"column":30},"end":{"line":7,"column":39}},"1":{"start":{"line":9,"column":40},"end":{"line":298,"column":1}}},"fnMap":{},"branchMap":{},"s":{"0":1,"1":1},"f":{},"b":{},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"85ca30080733f7dc743ee931ccab27c5a6635222"} -,"/home/aarcon/Desktop/Personal/Lumi/luminescent-team/src/utils/dex/functions.js": {"path":"/home/aarcon/Desktop/Personal/Lumi/luminescent-team/src/utils/dex/functions.js","statementMap":{"0":{"start":{"line":5,"column":17},"end":{"line":5,"column":65}},"1":{"start":{"line":8,"column":2},"end":{"line":10,"column":3}},"2":{"start":{"line":9,"column":4},"end":{"line":9,"column":40}},"3":{"start":{"line":12,"column":2},"end":{"line":12,"column":57}},"4":{"start":{"line":13,"column":2},"end":{"line":13,"column":17}},"5":{"start":{"line":17,"column":2},"end":{"line":17,"column":49}},"6":{"start":{"line":21,"column":2},"end":{"line":21,"column":28}},"7":{"start":{"line":21,"column":17},"end":{"line":21,"column":28}},"8":{"start":{"line":22,"column":2},"end":{"line":22,"column":30}},"9":{"start":{"line":22,"column":19},"end":{"line":22,"column":30}},"10":{"start":{"line":23,"column":2},"end":{"line":23,"column":30}},"11":{"start":{"line":23,"column":19},"end":{"line":23,"column":30}},"12":{"start":{"line":24,"column":2},"end":{"line":24,"column":14}},"13":{"start":{"line":28,"column":23},"end":{"line":28,"column":55}},"14":{"start":{"line":29,"column":26},"end":{"line":29,"column":61}},"15":{"start":{"line":30,"column":2},"end":{"line":30,"column":66}},"16":{"start":{"line":34,"column":2},"end":{"line":34,"column":143}},"17":{"start":{"line":38,"column":2},"end":{"line":38,"column":34}},"18":{"start":{"line":38,"column":23},"end":{"line":38,"column":34}},"19":{"start":{"line":39,"column":2},"end":{"line":39,"column":34}},"20":{"start":{"line":39,"column":23},"end":{"line":39,"column":34}},"21":{"start":{"line":40,"column":2},"end":{"line":40,"column":32}},"22":{"start":{"line":40,"column":22},"end":{"line":40,"column":32}},"23":{"start":{"line":41,"column":2},"end":{"line":41,"column":32}},"24":{"start":{"line":41,"column":22},"end":{"line":41,"column":32}},"25":{"start":{"line":42,"column":2},"end":{"line":42,"column":32}},"26":{"start":{"line":42,"column":22},"end":{"line":42,"column":32}},"27":{"start":{"line":43,"column":2},"end":{"line":43,"column":12}},"28":{"start":{"line":47,"column":2},"end":{"line":47,"column":108}},"29":{"start":{"line":47,"column":44},"end":{"line":47,"column":102}},"30":{"start":{"line":51,"column":2},"end":{"line":51,"column":39}},"31":{"start":{"line":55,"column":20},"end":{"line":55,"column":64}},"32":{"start":{"line":56,"column":22},"end":{"line":56,"column":77}},"33":{"start":{"line":56,"column":58},"end":{"line":56,"column":66}},"34":{"start":{"line":57,"column":2},"end":{"line":57,"column":20}}},"fnMap":{"0":{"name":"createFormMap","decl":{"start":{"line":7,"column":9},"end":{"line":7,"column":22}},"loc":{"start":{"line":7,"column":48},"end":{"line":14,"column":1}},"line":7},"1":{"name":"getPokemonIdFromFormMap","decl":{"start":{"line":16,"column":9},"end":{"line":16,"column":32}},"loc":{"start":{"line":16,"column":57},"end":{"line":18,"column":1}},"line":16},"2":{"name":"getGender","decl":{"start":{"line":20,"column":9},"end":{"line":20,"column":18}},"loc":{"start":{"line":20,"column":24},"end":{"line":25,"column":1}},"line":20},"3":{"name":"getImage","decl":{"start":{"line":27,"column":9},"end":{"line":27,"column":17}},"loc":{"start":{"line":27,"column":45},"end":{"line":31,"column":1}},"line":27},"4":{"name":"formatBaseStats","decl":{"start":{"line":33,"column":9},"end":{"line":33,"column":24}},"loc":{"start":{"line":33,"column":28},"end":{"line":35,"column":1}},"line":33},"5":{"name":"getGrassKnotPower","decl":{"start":{"line":37,"column":9},"end":{"line":37,"column":26}},"loc":{"start":{"line":37,"column":37},"end":{"line":44,"column":1}},"line":37},"6":{"name":"getPokemonIdFromMonsNoAndForm","decl":{"start":{"line":46,"column":9},"end":{"line":46,"column":38}},"loc":{"start":{"line":46,"column":55},"end":{"line":48,"column":1}},"line":46},"7":{"name":"(anonymous_7)","decl":{"start":{"line":47,"column":37},"end":{"line":47,"column":38}},"loc":{"start":{"line":47,"column":44},"end":{"line":47,"column":102}},"line":47},"8":{"name":"doNothing","decl":{"start":{"line":50,"column":9},"end":{"line":50,"column":18}},"loc":{"start":{"line":50,"column":48},"end":{"line":52,"column":1}},"line":50},"9":{"name":"getDexDescription","decl":{"start":{"line":54,"column":9},"end":{"line":54,"column":26}},"loc":{"start":{"line":54,"column":38},"end":{"line":58,"column":1}},"line":54},"10":{"name":"(anonymous_10)","decl":{"start":{"line":56,"column":50},"end":{"line":56,"column":51}},"loc":{"start":{"line":56,"column":58},"end":{"line":56,"column":66}},"line":56}},"branchMap":{"0":{"loc":{"start":{"line":8,"column":2},"end":{"line":10,"column":3}},"type":"if","locations":[{"start":{"line":8,"column":2},"end":{"line":10,"column":3}},{"start":{},"end":{}}],"line":8},"1":{"loc":{"start":{"line":16,"column":33},"end":{"line":16,"column":43}},"type":"default-arg","locations":[{"start":{"line":16,"column":42},"end":{"line":16,"column":43}}],"line":16},"2":{"loc":{"start":{"line":16,"column":45},"end":{"line":16,"column":55}},"type":"default-arg","locations":[{"start":{"line":16,"column":54},"end":{"line":16,"column":55}}],"line":16},"3":{"loc":{"start":{"line":17,"column":9},"end":{"line":17,"column":48}},"type":"binary-expr","locations":[{"start":{"line":17,"column":9},"end":{"line":17,"column":35}},{"start":{"line":17,"column":39},"end":{"line":17,"column":48}}],"line":17},"4":{"loc":{"start":{"line":21,"column":2},"end":{"line":21,"column":28}},"type":"if","locations":[{"start":{"line":21,"column":2},"end":{"line":21,"column":28}},{"start":{},"end":{}}],"line":21},"5":{"loc":{"start":{"line":22,"column":2},"end":{"line":22,"column":30}},"type":"if","locations":[{"start":{"line":22,"column":2},"end":{"line":22,"column":30}},{"start":{},"end":{}}],"line":22},"6":{"loc":{"start":{"line":23,"column":2},"end":{"line":23,"column":30}},"type":"if","locations":[{"start":{"line":23,"column":2},"end":{"line":23,"column":30}},{"start":{},"end":{}}],"line":23},"7":{"loc":{"start":{"line":27,"column":18},"end":{"line":27,"column":28}},"type":"default-arg","locations":[{"start":{"line":27,"column":27},"end":{"line":27,"column":28}}],"line":27},"8":{"loc":{"start":{"line":27,"column":30},"end":{"line":27,"column":43}},"type":"default-arg","locations":[{"start":{"line":27,"column":42},"end":{"line":27,"column":43}}],"line":27},"9":{"loc":{"start":{"line":38,"column":2},"end":{"line":38,"column":34}},"type":"if","locations":[{"start":{"line":38,"column":2},"end":{"line":38,"column":34}},{"start":{},"end":{}}],"line":38},"10":{"loc":{"start":{"line":39,"column":2},"end":{"line":39,"column":34}},"type":"if","locations":[{"start":{"line":39,"column":2},"end":{"line":39,"column":34}},{"start":{},"end":{}}],"line":39},"11":{"loc":{"start":{"line":40,"column":2},"end":{"line":40,"column":32}},"type":"if","locations":[{"start":{"line":40,"column":2},"end":{"line":40,"column":32}},{"start":{},"end":{}}],"line":40},"12":{"loc":{"start":{"line":41,"column":2},"end":{"line":41,"column":32}},"type":"if","locations":[{"start":{"line":41,"column":2},"end":{"line":41,"column":32}},{"start":{},"end":{}}],"line":41},"13":{"loc":{"start":{"line":42,"column":2},"end":{"line":42,"column":32}},"type":"if","locations":[{"start":{"line":42,"column":2},"end":{"line":42,"column":32}},{"start":{},"end":{}}],"line":42},"14":{"loc":{"start":{"line":47,"column":44},"end":{"line":47,"column":102}},"type":"binary-expr","locations":[{"start":{"line":47,"column":44},"end":{"line":47,"column":63}},{"start":{"line":47,"column":67},"end":{"line":47,"column":102}}],"line":47}},"s":{"0":4,"1":5866,"2":4045,"3":5866,"4":5866,"5":3,"6":4,"7":1,"8":3,"9":1,"10":2,"11":1,"12":1,"13":5,"14":5,"15":5,"16":1,"17":16,"18":2,"19":14,"20":3,"21":11,"22":3,"23":8,"24":3,"25":5,"26":3,"27":2,"28":1361,"29":460267,"30":2,"31":0,"32":0,"33":0,"34":0},"f":{"0":5866,"1":3,"2":4,"3":5,"4":1,"5":16,"6":1361,"7":460267,"8":2,"9":0,"10":0},"b":{"0":[4045,1821],"1":[0],"2":[0],"3":[3,1],"4":[1,3],"5":[1,2],"6":[1,1],"7":[1],"8":[3],"9":[2,14],"10":[3,11],"11":[3,8],"12":[3,5],"13":[3,2],"14":[460267,1399]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"18c25d030996432486a1a97a9a30794334ec7f99"} -,"/home/aarcon/Desktop/Personal/Lumi/luminescent-team/src/utils/dex/item.js": {"path":"/home/aarcon/Desktop/Personal/Lumi/luminescent-team/src/utils/dex/item.js","statementMap":{"0":{"start":{"line":1,"column":22},"end":{"line":1,"column":52}},"1":{"start":{"line":4,"column":2},"end":{"line":4,"column":59}},"2":{"start":{"line":4,"column":17},"end":{"line":4,"column":59}},"3":{"start":{"line":5,"column":2},"end":{"line":6,"column":96}},"4":{"start":{"line":6,"column":4},"end":{"line":6,"column":96}},"5":{"start":{"line":6,"column":53},"end":{"line":6,"column":94}},"6":{"start":{"line":7,"column":16},"end":{"line":7,"column":95}},"7":{"start":{"line":7,"column":58},"end":{"line":7,"column":94}},"8":{"start":{"line":8,"column":2},"end":{"line":8,"column":62}},"9":{"start":{"line":8,"column":20},"end":{"line":8,"column":62}},"10":{"start":{"line":9,"column":2},"end":{"line":9,"column":15}},"11":{"start":{"line":13,"column":2},"end":{"line":13,"column":63}}},"fnMap":{"0":{"name":"getItemIdFromItemName","decl":{"start":{"line":3,"column":9},"end":{"line":3,"column":30}},"loc":{"start":{"line":3,"column":41},"end":{"line":10,"column":1}},"line":3},"1":{"name":"(anonymous_1)","decl":{"start":{"line":6,"column":46},"end":{"line":6,"column":47}},"loc":{"start":{"line":6,"column":53},"end":{"line":6,"column":94}},"line":6},"2":{"name":"(anonymous_2)","decl":{"start":{"line":7,"column":51},"end":{"line":7,"column":52}},"loc":{"start":{"line":7,"column":58},"end":{"line":7,"column":94}},"line":7},"3":{"name":"getItemString","decl":{"start":{"line":12,"column":9},"end":{"line":12,"column":22}},"loc":{"start":{"line":12,"column":35},"end":{"line":14,"column":1}},"line":12}},"branchMap":{"0":{"loc":{"start":{"line":4,"column":2},"end":{"line":4,"column":59}},"type":"if","locations":[{"start":{"line":4,"column":2},"end":{"line":4,"column":59}},{"start":{},"end":{}}],"line":4},"1":{"loc":{"start":{"line":5,"column":2},"end":{"line":6,"column":96}},"type":"if","locations":[{"start":{"line":5,"column":2},"end":{"line":6,"column":96}},{"start":{},"end":{}}],"line":5},"2":{"loc":{"start":{"line":8,"column":2},"end":{"line":8,"column":62}},"type":"if","locations":[{"start":{"line":8,"column":2},"end":{"line":8,"column":62}},{"start":{},"end":{}}],"line":8},"3":{"loc":{"start":{"line":12,"column":23},"end":{"line":12,"column":33}},"type":"default-arg","locations":[{"start":{"line":12,"column":32},"end":{"line":12,"column":33}}],"line":12}},"s":{"0":2,"1":3,"2":1,"3":2,"4":0,"5":0,"6":2,"7":2072,"8":2,"9":1,"10":1,"11":3},"f":{"0":3,"1":0,"2":2072,"3":3},"b":{"0":[1,2],"1":[0,2],"2":[1,1],"3":[0]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"b6e2027d1e2261453c4ba69be885111db1ff4791"} -,"/home/aarcon/Desktop/Personal/Lumi/luminescent-team/src/utils/dex/moves.js": {"path":"/home/aarcon/Desktop/Personal/Lumi/luminescent-team/src/utils/dex/moves.js","statementMap":{"0":{"start":{"line":14,"column":22},"end":{"line":14,"column":27}},"1":{"start":{"line":15,"column":21},"end":{"line":15,"column":24}},"2":{"start":{"line":22,"column":2},"end":{"line":24,"column":3}},"3":{"start":{"line":23,"column":4},"end":{"line":23,"column":46}},"4":{"start":{"line":26,"column":2},"end":{"line":28,"column":3}},"5":{"start":{"line":27,"column":4},"end":{"line":27,"column":37}},"6":{"start":{"line":30,"column":20},"end":{"line":33,"column":4}},"7":{"start":{"line":31,"column":4},"end":{"line":31,"column":42}},"8":{"start":{"line":31,"column":21},"end":{"line":31,"column":42}},"9":{"start":{"line":32,"column":4},"end":{"line":32,"column":38}},"10":{"start":{"line":34,"column":2},"end":{"line":36,"column":3}},"11":{"start":{"line":35,"column":4},"end":{"line":35,"column":59}},"12":{"start":{"line":37,"column":16},"end":{"line":37,"column":71}},"13":{"start":{"line":39,"column":18},"end":{"line":39,"column":94}},"14":{"start":{"line":41,"column":2},"end":{"line":41,"column":36}},"15":{"start":{"line":45,"column":2},"end":{"line":45,"column":99}},"16":{"start":{"line":45,"column":53},"end":{"line":45,"column":99}},"17":{"start":{"line":46,"column":2},"end":{"line":46,"column":104}},"18":{"start":{"line":46,"column":50},"end":{"line":46,"column":102}},"19":{"start":{"line":50,"column":2},"end":{"line":50,"column":91}},"20":{"start":{"line":50,"column":49},"end":{"line":50,"column":91}},"21":{"start":{"line":51,"column":13},"end":{"line":51,"column":61}},"22":{"start":{"line":51,"column":39},"end":{"line":51,"column":60}},"23":{"start":{"line":52,"column":2},"end":{"line":52,"column":59}},"24":{"start":{"line":52,"column":17},"end":{"line":52,"column":59}},"25":{"start":{"line":53,"column":2},"end":{"line":53,"column":12}},"26":{"start":{"line":57,"column":2},"end":{"line":57,"column":88}},"27":{"start":{"line":57,"column":39},"end":{"line":57,"column":88}},"28":{"start":{"line":59,"column":14},"end":{"line":59,"column":26}},"29":{"start":{"line":60,"column":2},"end":{"line":62,"column":3}},"30":{"start":{"line":61,"column":4},"end":{"line":61,"column":78}},"31":{"start":{"line":64,"column":2},"end":{"line":64,"column":13}},"32":{"start":{"line":68,"column":15},"end":{"line":68,"column":38}},"33":{"start":{"line":69,"column":15},"end":{"line":69,"column":24}},"34":{"start":{"line":70,"column":21},"end":{"line":70,"column":36}},"35":{"start":{"line":71,"column":16},"end":{"line":71,"column":26}},"36":{"start":{"line":72,"column":17},"end":{"line":72,"column":28}},"37":{"start":{"line":73,"column":17},"end":{"line":73,"column":28}},"38":{"start":{"line":75,"column":18},"end":{"line":75,"column":29}},"39":{"start":{"line":76,"column":28},"end":{"line":76,"column":31}},"40":{"start":{"line":77,"column":16},"end":{"line":77,"column":43}},"41":{"start":{"line":79,"column":2},"end":{"line":87,"column":4}},"42":{"start":{"line":91,"column":2},"end":{"line":91,"column":89}},"43":{"start":{"line":91,"column":79},"end":{"line":91,"column":89}},"44":{"start":{"line":92,"column":21},"end":{"line":92,"column":50}},"45":{"start":{"line":93,"column":17},"end":{"line":93,"column":48}},"46":{"start":{"line":94,"column":19},"end":{"line":94,"column":103}},"47":{"start":{"line":94,"column":50},"end":{"line":94,"column":88}},"48":{"start":{"line":95,"column":2},"end":{"line":98,"column":6}},"49":{"start":{"line":95,"column":35},"end":{"line":98,"column":3}},"50":{"start":{"line":102,"column":19},"end":{"line":102,"column":64}},"51":{"start":{"line":103,"column":22},"end":{"line":105,"column":8}},"52":{"start":{"line":104,"column":4},"end":{"line":104,"column":53}},"53":{"start":{"line":106,"column":2},"end":{"line":106,"column":28}},"54":{"start":{"line":110,"column":53},"end":{"line":110,"column":86}},"55":{"start":{"line":111,"column":24},"end":{"line":111,"column":26}},"56":{"start":{"line":113,"column":2},"end":{"line":115,"column":3}},"57":{"start":{"line":113,"column":15},"end":{"line":113,"column":16}},"58":{"start":{"line":114,"column":4},"end":{"line":114,"column":52}},"59":{"start":{"line":116,"column":2},"end":{"line":118,"column":3}},"60":{"start":{"line":116,"column":15},"end":{"line":116,"column":16}},"61":{"start":{"line":117,"column":4},"end":{"line":117,"column":57}},"62":{"start":{"line":119,"column":2},"end":{"line":121,"column":3}},"63":{"start":{"line":119,"column":15},"end":{"line":119,"column":16}},"64":{"start":{"line":120,"column":4},"end":{"line":120,"column":57}},"65":{"start":{"line":122,"column":2},"end":{"line":124,"column":3}},"66":{"start":{"line":122,"column":15},"end":{"line":122,"column":16}},"67":{"start":{"line":123,"column":4},"end":{"line":123,"column":57}},"68":{"start":{"line":126,"column":2},"end":{"line":126,"column":25}},"69":{"start":{"line":130,"column":19},"end":{"line":130,"column":48}},"70":{"start":{"line":132,"column":19},"end":{"line":132,"column":21}},"71":{"start":{"line":133,"column":2},"end":{"line":142,"column":3}},"72":{"start":{"line":133,"column":15},"end":{"line":133,"column":16}},"73":{"start":{"line":134,"column":15},"end":{"line":134,"column":39}},"74":{"start":{"line":136,"column":29},"end":{"line":136,"column":63}},"75":{"start":{"line":137,"column":24},"end":{"line":137,"column":54}},"76":{"start":{"line":139,"column":4},"end":{"line":141,"column":5}},"77":{"start":{"line":140,"column":6},"end":{"line":140,"column":73}},"78":{"start":{"line":144,"column":2},"end":{"line":144,"column":18}},"79":{"start":{"line":148,"column":2},"end":{"line":148,"column":63}},"80":{"start":{"line":148,"column":53},"end":{"line":148,"column":63}},"81":{"start":{"line":149,"column":2},"end":{"line":149,"column":53}}},"fnMap":{"0":{"name":"generateMovesViaLearnset","decl":{"start":{"line":17,"column":9},"end":{"line":17,"column":33}},"loc":{"start":{"line":17,"column":49},"end":{"line":42,"column":1}},"line":17},"1":{"name":"(anonymous_1)","decl":{"start":{"line":30,"column":64},"end":{"line":30,"column":65}},"loc":{"start":{"line":30,"column":91},"end":{"line":33,"column":3}},"line":30},"2":{"name":"isMoveNameSmogonCompatible","decl":{"start":{"line":44,"column":9},"end":{"line":44,"column":35}},"loc":{"start":{"line":44,"column":48},"end":{"line":47,"column":1}},"line":44},"3":{"name":"(anonymous_3)","decl":{"start":{"line":46,"column":26},"end":{"line":46,"column":27}},"loc":{"start":{"line":46,"column":50},"end":{"line":46,"column":102}},"line":46},"4":{"name":"getMoveId","decl":{"start":{"line":49,"column":9},"end":{"line":49,"column":18}},"loc":{"start":{"line":49,"column":29},"end":{"line":54,"column":1}},"line":49},"5":{"name":"(anonymous_5)","decl":{"start":{"line":51,"column":32},"end":{"line":51,"column":33}},"loc":{"start":{"line":51,"column":39},"end":{"line":51,"column":60}},"line":51},"6":{"name":"getMoveString","decl":{"start":{"line":56,"column":9},"end":{"line":56,"column":22}},"loc":{"start":{"line":56,"column":31},"end":{"line":65,"column":1}},"line":56},"7":{"name":"getMoveProperties","decl":{"start":{"line":67,"column":9},"end":{"line":67,"column":26}},"loc":{"start":{"line":67,"column":39},"end":{"line":88,"column":1}},"line":67},"8":{"name":"getEggMoves","decl":{"start":{"line":90,"column":9},"end":{"line":90,"column":20}},"loc":{"start":{"line":90,"column":32},"end":{"line":99,"column":1}},"line":90},"9":{"name":"(anonymous_9)","decl":{"start":{"line":94,"column":43},"end":{"line":94,"column":44}},"loc":{"start":{"line":94,"column":50},"end":{"line":94,"column":88}},"line":94},"10":{"name":"(anonymous_10)","decl":{"start":{"line":95,"column":22},"end":{"line":95,"column":23}},"loc":{"start":{"line":95,"column":35},"end":{"line":98,"column":3}},"line":95},"11":{"name":"getMoveDescription","decl":{"start":{"line":101,"column":9},"end":{"line":101,"column":27}},"loc":{"start":{"line":101,"column":40},"end":{"line":107,"column":1}},"line":101},"12":{"name":"(anonymous_12)","decl":{"start":{"line":103,"column":38},"end":{"line":103,"column":39}},"loc":{"start":{"line":103,"column":74},"end":{"line":105,"column":3}},"line":103},"13":{"name":"getTMCompatibility","decl":{"start":{"line":109,"column":9},"end":{"line":109,"column":27}},"loc":{"start":{"line":109,"column":43},"end":{"line":127,"column":1}},"line":109},"14":{"name":"getTechMachineLearnset","decl":{"start":{"line":129,"column":9},"end":{"line":129,"column":31}},"loc":{"start":{"line":129,"column":47},"end":{"line":145,"column":1}},"line":129},"15":{"name":"getPokemonLearnset","decl":{"start":{"line":147,"column":9},"end":{"line":147,"column":27}},"loc":{"start":{"line":147,"column":43},"end":{"line":150,"column":1}},"line":147}},"branchMap":{"0":{"loc":{"start":{"line":22,"column":2},"end":{"line":24,"column":3}},"type":"if","locations":[{"start":{"line":22,"column":2},"end":{"line":24,"column":3}},{"start":{},"end":{}}],"line":22},"1":{"loc":{"start":{"line":22,"column":6},"end":{"line":22,"column":80}},"type":"binary-expr","locations":[{"start":{"line":22,"column":6},"end":{"line":22,"column":31}},{"start":{"line":22,"column":35},"end":{"line":22,"column":45}},{"start":{"line":22,"column":49},"end":{"line":22,"column":80}}],"line":22},"2":{"loc":{"start":{"line":26,"column":2},"end":{"line":28,"column":3}},"type":"if","locations":[{"start":{"line":26,"column":2},"end":{"line":28,"column":3}},{"start":{},"end":{}}],"line":26},"3":{"loc":{"start":{"line":26,"column":6},"end":{"line":26,"column":43}},"type":"binary-expr","locations":[{"start":{"line":26,"column":6},"end":{"line":26,"column":30}},{"start":{"line":26,"column":34},"end":{"line":26,"column":43}}],"line":26},"4":{"loc":{"start":{"line":31,"column":4},"end":{"line":31,"column":42}},"type":"if","locations":[{"start":{"line":31,"column":4},"end":{"line":31,"column":42}},{"start":{},"end":{}}],"line":31},"5":{"loc":{"start":{"line":34,"column":2},"end":{"line":36,"column":3}},"type":"if","locations":[{"start":{"line":34,"column":2},"end":{"line":36,"column":3}},{"start":{},"end":{}}],"line":34},"6":{"loc":{"start":{"line":39,"column":19},"end":{"line":39,"column":36}},"type":"binary-expr","locations":[{"start":{"line":39,"column":19},"end":{"line":39,"column":31}},{"start":{"line":39,"column":35},"end":{"line":39,"column":36}}],"line":39},"7":{"loc":{"start":{"line":39,"column":38},"end":{"line":39,"column":55}},"type":"binary-expr","locations":[{"start":{"line":39,"column":38},"end":{"line":39,"column":50}},{"start":{"line":39,"column":54},"end":{"line":39,"column":55}}],"line":39},"8":{"loc":{"start":{"line":39,"column":57},"end":{"line":39,"column":74}},"type":"binary-expr","locations":[{"start":{"line":39,"column":57},"end":{"line":39,"column":69}},{"start":{"line":39,"column":73},"end":{"line":39,"column":74}}],"line":39},"9":{"loc":{"start":{"line":39,"column":76},"end":{"line":39,"column":93}},"type":"binary-expr","locations":[{"start":{"line":39,"column":76},"end":{"line":39,"column":88}},{"start":{"line":39,"column":92},"end":{"line":39,"column":93}}],"line":39},"10":{"loc":{"start":{"line":45,"column":2},"end":{"line":45,"column":99}},"type":"if","locations":[{"start":{"line":45,"column":2},"end":{"line":45,"column":99}},{"start":{},"end":{}}],"line":45},"11":{"loc":{"start":{"line":45,"column":6},"end":{"line":45,"column":51}},"type":"binary-expr","locations":[{"start":{"line":45,"column":6},"end":{"line":45,"column":36}},{"start":{"line":45,"column":40},"end":{"line":45,"column":51}}],"line":45},"12":{"loc":{"start":{"line":50,"column":2},"end":{"line":50,"column":91}},"type":"if","locations":[{"start":{"line":50,"column":2},"end":{"line":50,"column":91}},{"start":{},"end":{}}],"line":50},"13":{"loc":{"start":{"line":50,"column":6},"end":{"line":50,"column":47}},"type":"binary-expr","locations":[{"start":{"line":50,"column":6},"end":{"line":50,"column":34}},{"start":{"line":50,"column":38},"end":{"line":50,"column":47}}],"line":50},"14":{"loc":{"start":{"line":52,"column":2},"end":{"line":52,"column":59}},"type":"if","locations":[{"start":{"line":52,"column":2},"end":{"line":52,"column":59}},{"start":{},"end":{}}],"line":52},"15":{"loc":{"start":{"line":56,"column":23},"end":{"line":56,"column":29}},"type":"default-arg","locations":[{"start":{"line":56,"column":28},"end":{"line":56,"column":29}}],"line":56},"16":{"loc":{"start":{"line":57,"column":2},"end":{"line":57,"column":88}},"type":"if","locations":[{"start":{"line":57,"column":2},"end":{"line":57,"column":88}},{"start":{},"end":{}}],"line":57},"17":{"loc":{"start":{"line":57,"column":6},"end":{"line":57,"column":37}},"type":"binary-expr","locations":[{"start":{"line":57,"column":6},"end":{"line":57,"column":27}},{"start":{"line":57,"column":31},"end":{"line":57,"column":37}}],"line":57},"18":{"loc":{"start":{"line":60,"column":2},"end":{"line":62,"column":3}},"type":"if","locations":[{"start":{"line":60,"column":2},"end":{"line":62,"column":3}},{"start":{},"end":{}}],"line":60},"19":{"loc":{"start":{"line":60,"column":6},"end":{"line":60,"column":65}},"type":"binary-expr","locations":[{"start":{"line":60,"column":6},"end":{"line":60,"column":29}},{"start":{"line":60,"column":33},"end":{"line":60,"column":65}}],"line":60},"20":{"loc":{"start":{"line":67,"column":27},"end":{"line":67,"column":37}},"type":"default-arg","locations":[{"start":{"line":67,"column":36},"end":{"line":67,"column":37}}],"line":67},"21":{"loc":{"start":{"line":75,"column":18},"end":{"line":75,"column":29}},"type":"binary-expr","locations":[{"start":{"line":75,"column":18},"end":{"line":75,"column":24}},{"start":{"line":75,"column":28},"end":{"line":75,"column":29}}],"line":75},"22":{"loc":{"start":{"line":80,"column":10},"end":{"line":80,"column":74}},"type":"binary-expr","locations":[{"start":{"line":80,"column":10},"end":{"line":80,"column":64}},{"start":{"line":80,"column":68},"end":{"line":80,"column":74}}],"line":80},"23":{"loc":{"start":{"line":90,"column":21},"end":{"line":90,"column":30}},"type":"default-arg","locations":[{"start":{"line":90,"column":29},"end":{"line":90,"column":30}}],"line":90},"24":{"loc":{"start":{"line":91,"column":2},"end":{"line":91,"column":89}},"type":"if","locations":[{"start":{"line":91,"column":2},"end":{"line":91,"column":89}},{"start":{},"end":{}}],"line":91},"25":{"loc":{"start":{"line":91,"column":6},"end":{"line":91,"column":77}},"type":"binary-expr","locations":[{"start":{"line":91,"column":6},"end":{"line":91,"column":30}},{"start":{"line":91,"column":34},"end":{"line":91,"column":77}}],"line":91},"26":{"loc":{"start":{"line":94,"column":19},"end":{"line":94,"column":103}},"type":"binary-expr","locations":[{"start":{"line":94,"column":19},"end":{"line":94,"column":97}},{"start":{"line":94,"column":101},"end":{"line":94,"column":103}}],"line":94},"27":{"loc":{"start":{"line":94,"column":50},"end":{"line":94,"column":88}},"type":"binary-expr","locations":[{"start":{"line":94,"column":50},"end":{"line":94,"column":65}},{"start":{"line":94,"column":69},"end":{"line":94,"column":88}}],"line":94},"28":{"loc":{"start":{"line":101,"column":28},"end":{"line":101,"column":38}},"type":"default-arg","locations":[{"start":{"line":101,"column":37},"end":{"line":101,"column":38}}],"line":101},"29":{"loc":{"start":{"line":109,"column":28},"end":{"line":109,"column":41}},"type":"default-arg","locations":[{"start":{"line":109,"column":40},"end":{"line":109,"column":41}}],"line":109},"30":{"loc":{"start":{"line":129,"column":32},"end":{"line":129,"column":45}},"type":"default-arg","locations":[{"start":{"line":129,"column":44},"end":{"line":129,"column":45}}],"line":129},"31":{"loc":{"start":{"line":139,"column":4},"end":{"line":141,"column":5}},"type":"if","locations":[{"start":{"line":139,"column":4},"end":{"line":141,"column":5}},{"start":{},"end":{}}],"line":139},"32":{"loc":{"start":{"line":147,"column":28},"end":{"line":147,"column":41}},"type":"default-arg","locations":[{"start":{"line":147,"column":40},"end":{"line":147,"column":41}}],"line":147},"33":{"loc":{"start":{"line":148,"column":2},"end":{"line":148,"column":63}},"type":"if","locations":[{"start":{"line":148,"column":2},"end":{"line":148,"column":63}},{"start":{},"end":{}}],"line":148},"34":{"loc":{"start":{"line":148,"column":6},"end":{"line":148,"column":51}},"type":"binary-expr","locations":[{"start":{"line":148,"column":6},"end":{"line":148,"column":34}},{"start":{"line":148,"column":38},"end":{"line":148,"column":51}}],"line":148},"35":{"loc":{"start":{"line":149,"column":9},"end":{"line":149,"column":52}},"type":"binary-expr","locations":[{"start":{"line":149,"column":9},"end":{"line":149,"column":46}},{"start":{"line":149,"column":50},"end":{"line":149,"column":52}}],"line":149}},"s":{"0":2,"1":2,"2":8,"3":3,"4":5,"5":2,"6":3,"7":63,"8":30,"9":33,"10":3,"11":0,"12":3,"13":3,"14":3,"15":22,"16":4,"17":18,"18":66,"19":6,"20":2,"21":4,"22":1074,"23":4,"24":1,"25":3,"26":17,"27":1,"28":16,"29":16,"30":1,"31":15,"32":70,"33":70,"34":70,"35":70,"36":70,"37":70,"38":70,"39":70,"40":70,"41":70,"42":3,"43":1,"44":2,"45":2,"46":2,"47":5,"48":2,"49":14,"50":70,"51":70,"52":154,"53":70,"54":5,"55":5,"56":5,"57":5,"58":160,"59":5,"60":5,"61":160,"62":5,"63":5,"64":160,"65":5,"66":5,"67":160,"68":5,"69":3,"70":3,"71":3,"72":3,"73":315,"74":315,"75":315,"76":315,"77":66,"78":3,"79":7,"80":3,"81":4},"f":{"0":8,"1":63,"2":22,"3":66,"4":6,"5":1074,"6":17,"7":70,"8":3,"9":5,"10":14,"11":70,"12":154,"13":5,"14":3,"15":7},"b":{"0":[3,5],"1":[8,7,6],"2":[2,3],"3":[5,4],"4":[30,33],"5":[0,3],"6":[3,0],"7":[3,0],"8":[3,0],"9":[3,0],"10":[4,18],"11":[22,19],"12":[2,4],"13":[6,4],"14":[1,3],"15":[0],"16":[1,16],"17":[17,16],"18":[1,15],"19":[16,15],"20":[1],"21":[70,0],"22":[70,0],"23":[0],"24":[1,2],"25":[3,3],"26":[2,0],"27":[5,2],"28":[0],"29":[0],"30":[0],"31":[66,249],"32":[1],"33":[3,4],"34":[7,5],"35":[4,0]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"79eabf7cc18766f76bc82654ac9004930514c576"} -,"/home/aarcon/Desktop/Personal/Lumi/luminescent-team/src/utils/dex/name.js": {"path":"/home/aarcon/Desktop/Personal/Lumi/luminescent-team/src/utils/dex/name.js","statementMap":{"0":{"start":{"line":4,"column":25},"end":{"line":4,"column":76}},"1":{"start":{"line":5,"column":26},"end":{"line":5,"column":57}},"2":{"start":{"line":7,"column":2},"end":{"line":26,"column":3}},"3":{"start":{"line":8,"column":19},"end":{"line":8,"column":33}},"4":{"start":{"line":10,"column":25},"end":{"line":10,"column":83}},"5":{"start":{"line":11,"column":4},"end":{"line":14,"column":5}},"6":{"start":{"line":12,"column":6},"end":{"line":12,"column":40}},"7":{"start":{"line":13,"column":6},"end":{"line":13,"column":28}},"8":{"start":{"line":16,"column":30},"end":{"line":16,"column":88}},"9":{"start":{"line":17,"column":4},"end":{"line":20,"column":5}},"10":{"start":{"line":18,"column":6},"end":{"line":18,"column":45}},"11":{"start":{"line":19,"column":6},"end":{"line":19,"column":28}},"12":{"start":{"line":22,"column":4},"end":{"line":22,"column":61}},"13":{"start":{"line":23,"column":4},"end":{"line":23,"column":26}},"14":{"start":{"line":25,"column":4},"end":{"line":25,"column":47}},"15":{"start":{"line":30,"column":2},"end":{"line":30,"column":30}},"16":{"start":{"line":34,"column":2},"end":{"line":34,"column":37}},"17":{"start":{"line":38,"column":13},"end":{"line":38,"column":73}},"18":{"start":{"line":38,"column":62},"end":{"line":38,"column":72}},"19":{"start":{"line":39,"column":2},"end":{"line":39,"column":28}},"20":{"start":{"line":43,"column":2},"end":{"line":58,"column":3}},"21":{"start":{"line":45,"column":6},"end":{"line":45,"column":28}},"22":{"start":{"line":47,"column":6},"end":{"line":47,"column":26}},"23":{"start":{"line":49,"column":6},"end":{"line":49,"column":34}},"24":{"start":{"line":51,"column":6},"end":{"line":51,"column":26}},"25":{"start":{"line":53,"column":6},"end":{"line":53,"column":29}},"26":{"start":{"line":55,"column":6},"end":{"line":55,"column":28}},"27":{"start":{"line":57,"column":6},"end":{"line":57,"column":61}},"28":{"start":{"line":62,"column":2},"end":{"line":62,"column":30}},"29":{"start":{"line":62,"column":20},"end":{"line":62,"column":30}},"30":{"start":{"line":63,"column":2},"end":{"line":63,"column":98}},"31":{"start":{"line":63,"column":58},"end":{"line":63,"column":96}},"32":{"start":{"line":67,"column":2},"end":{"line":67,"column":50}},"33":{"start":{"line":67,"column":40},"end":{"line":67,"column":50}},"34":{"start":{"line":68,"column":2},"end":{"line":68,"column":43}},"35":{"start":{"line":72,"column":2},"end":{"line":72,"column":60}},"36":{"start":{"line":72,"column":44},"end":{"line":72,"column":52}},"37":{"start":{"line":76,"column":20},"end":{"line":76,"column":53}},"38":{"start":{"line":77,"column":16},"end":{"line":77,"column":51}},"39":{"start":{"line":78,"column":1},"end":{"line":78,"column":25}}},"fnMap":{"0":{"name":"createPokemonMap","decl":{"start":{"line":6,"column":9},"end":{"line":6,"column":25}},"loc":{"start":{"line":6,"column":58},"end":{"line":27,"column":1}},"line":6},"1":{"name":"getFormName","decl":{"start":{"line":29,"column":9},"end":{"line":29,"column":20}},"loc":{"start":{"line":29,"column":29},"end":{"line":31,"column":1}},"line":29},"2":{"name":"getPokemonName","decl":{"start":{"line":33,"column":9},"end":{"line":33,"column":23}},"loc":{"start":{"line":33,"column":39},"end":{"line":35,"column":1}},"line":33},"3":{"name":"getPokemonIdFromName","decl":{"start":{"line":37,"column":9},"end":{"line":37,"column":29}},"loc":{"start":{"line":37,"column":44},"end":{"line":40,"column":1}},"line":37},"4":{"name":"(anonymous_4)","decl":{"start":{"line":38,"column":55},"end":{"line":38,"column":56}},"loc":{"start":{"line":38,"column":62},"end":{"line":38,"column":72}},"line":38},"5":{"name":"getFormNameOfProblematicPokemon","decl":{"start":{"line":42,"column":9},"end":{"line":42,"column":40}},"loc":{"start":{"line":42,"column":49},"end":{"line":59,"column":1}},"line":42},"6":{"name":"getPokemonMonsnoFromName","decl":{"start":{"line":61,"column":9},"end":{"line":61,"column":33}},"loc":{"start":{"line":61,"column":47},"end":{"line":64,"column":1}},"line":61},"7":{"name":"(anonymous_7)","decl":{"start":{"line":63,"column":51},"end":{"line":63,"column":52}},"loc":{"start":{"line":63,"column":58},"end":{"line":63,"column":96}},"line":63},"8":{"name":"getPokemonNames","decl":{"start":{"line":66,"column":9},"end":{"line":66,"column":24}},"loc":{"start":{"line":66,"column":39},"end":{"line":69,"column":1}},"line":66},"9":{"name":"getPokemonFormId","decl":{"start":{"line":71,"column":9},"end":{"line":71,"column":25}},"loc":{"start":{"line":71,"column":42},"end":{"line":73,"column":1}},"line":71},"10":{"name":"(anonymous_10)","decl":{"start":{"line":72,"column":37},"end":{"line":72,"column":38}},"loc":{"start":{"line":72,"column":44},"end":{"line":72,"column":52}},"line":72},"11":{"name":"getPokemonMonsNoAndFormNoFromPokemonId","decl":{"start":{"line":75,"column":9},"end":{"line":75,"column":47}},"loc":{"start":{"line":75,"column":63},"end":{"line":79,"column":1}},"line":75}},"branchMap":{"0":{"loc":{"start":{"line":11,"column":4},"end":{"line":14,"column":5}},"type":"if","locations":[{"start":{"line":11,"column":4},"end":{"line":14,"column":5}},{"start":{},"end":{}}],"line":11},"1":{"loc":{"start":{"line":11,"column":8},"end":{"line":11,"column":67}},"type":"binary-expr","locations":[{"start":{"line":11,"column":8},"end":{"line":11,"column":40}},{"start":{"line":11,"column":44},"end":{"line":11,"column":67}}],"line":11},"2":{"loc":{"start":{"line":17,"column":4},"end":{"line":20,"column":5}},"type":"if","locations":[{"start":{"line":17,"column":4},"end":{"line":20,"column":5}},{"start":{},"end":{}}],"line":17},"3":{"loc":{"start":{"line":17,"column":8},"end":{"line":17,"column":77}},"type":"binary-expr","locations":[{"start":{"line":17,"column":8},"end":{"line":17,"column":45}},{"start":{"line":17,"column":49},"end":{"line":17,"column":77}}],"line":17},"4":{"loc":{"start":{"line":29,"column":21},"end":{"line":29,"column":27}},"type":"default-arg","locations":[{"start":{"line":29,"column":26},"end":{"line":29,"column":27}}],"line":29},"5":{"loc":{"start":{"line":33,"column":24},"end":{"line":33,"column":37}},"type":"default-arg","locations":[{"start":{"line":33,"column":36},"end":{"line":33,"column":37}}],"line":33},"6":{"loc":{"start":{"line":37,"column":30},"end":{"line":37,"column":42}},"type":"default-arg","locations":[{"start":{"line":37,"column":37},"end":{"line":37,"column":42}}],"line":37},"7":{"loc":{"start":{"line":39,"column":9},"end":{"line":39,"column":27}},"type":"cond-expr","locations":[{"start":{"line":39,"column":21},"end":{"line":39,"column":22}},{"start":{"line":39,"column":25},"end":{"line":39,"column":27}}],"line":39},"8":{"loc":{"start":{"line":42,"column":41},"end":{"line":42,"column":47}},"type":"default-arg","locations":[{"start":{"line":42,"column":46},"end":{"line":42,"column":47}}],"line":42},"9":{"loc":{"start":{"line":43,"column":2},"end":{"line":58,"column":3}},"type":"switch","locations":[{"start":{"line":44,"column":4},"end":{"line":45,"column":28}},{"start":{"line":46,"column":4},"end":{"line":47,"column":26}},{"start":{"line":48,"column":4},"end":{"line":49,"column":34}},{"start":{"line":50,"column":4},"end":{"line":51,"column":26}},{"start":{"line":52,"column":4},"end":{"line":53,"column":29}},{"start":{"line":54,"column":4},"end":{"line":55,"column":28}},{"start":{"line":56,"column":4},"end":{"line":57,"column":61}}],"line":43},"10":{"loc":{"start":{"line":62,"column":2},"end":{"line":62,"column":30}},"type":"if","locations":[{"start":{"line":62,"column":2},"end":{"line":62,"column":30}},{"start":{},"end":{}}],"line":62},"11":{"loc":{"start":{"line":66,"column":29},"end":{"line":66,"column":37}},"type":"default-arg","locations":[{"start":{"line":66,"column":36},"end":{"line":66,"column":37}}],"line":66},"12":{"loc":{"start":{"line":67,"column":2},"end":{"line":67,"column":50}},"type":"if","locations":[{"start":{"line":67,"column":2},"end":{"line":67,"column":50}},{"start":{},"end":{}}],"line":67},"13":{"loc":{"start":{"line":67,"column":6},"end":{"line":67,"column":38}},"type":"binary-expr","locations":[{"start":{"line":67,"column":6},"end":{"line":67,"column":28}},{"start":{"line":67,"column":32},"end":{"line":67,"column":38}}],"line":67},"14":{"loc":{"start":{"line":71,"column":26},"end":{"line":71,"column":36}},"type":"default-arg","locations":[{"start":{"line":71,"column":35},"end":{"line":71,"column":36}}],"line":71},"15":{"loc":{"start":{"line":72,"column":9},"end":{"line":72,"column":59}},"type":"binary-expr","locations":[{"start":{"line":72,"column":9},"end":{"line":72,"column":53}},{"start":{"line":72,"column":57},"end":{"line":72,"column":59}}],"line":72},"16":{"loc":{"start":{"line":75,"column":48},"end":{"line":75,"column":61}},"type":"default-arg","locations":[{"start":{"line":75,"column":60},"end":{"line":75,"column":61}}],"line":75}},"s":{"0":3,"1":3,"2":4402,"3":4402,"4":4402,"5":4402,"6":3036,"7":3036,"8":1366,"9":1366,"10":1347,"11":1347,"12":19,"13":18,"14":1,"15":2,"16":2,"17":5,"18":1507,"19":5,"20":26,"21":4,"22":4,"23":4,"24":4,"25":4,"26":4,"27":2,"28":7,"29":2,"30":5,"31":2055,"32":4,"33":2,"34":2,"35":10,"36":35,"37":0,"38":0,"39":0},"f":{"0":4402,"1":2,"2":2,"3":5,"4":1507,"5":26,"6":7,"7":2055,"8":4,"9":10,"10":35,"11":0},"b":{"0":[3036,1366],"1":[4402,3036],"2":[1347,19],"3":[1366,1365],"4":[0],"5":[0],"6":[0],"7":[1,4],"8":[0],"9":[4,4,4,4,4,4,2],"10":[2,5],"11":[4],"12":[2,2],"13":[4,3],"14":[0],"15":[10,1],"16":[0]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"a0aedb48b676600fa0aaac3f200156ad59288f14"} -,"/home/aarcon/Desktop/Personal/Lumi/luminescent-team/src/utils/dex/nature.js": {"path":"/home/aarcon/Desktop/Personal/Lumi/luminescent-team/src/utils/dex/nature.js","statementMap":{"0":{"start":{"line":1,"column":24},"end":{"line":1,"column":54}},"1":{"start":{"line":4,"column":2},"end":{"line":4,"column":70}},"2":{"start":{"line":4,"column":21},"end":{"line":4,"column":70}},"3":{"start":{"line":5,"column":16},"end":{"line":5,"column":100}},"4":{"start":{"line":5,"column":60},"end":{"line":5,"column":99}},"5":{"start":{"line":6,"column":2},"end":{"line":6,"column":69}},"6":{"start":{"line":6,"column":20},"end":{"line":6,"column":69}},"7":{"start":{"line":7,"column":2},"end":{"line":7,"column":15}},"8":{"start":{"line":11,"column":2},"end":{"line":11,"column":67}}},"fnMap":{"0":{"name":"getNatureId","decl":{"start":{"line":3,"column":9},"end":{"line":3,"column":20}},"loc":{"start":{"line":3,"column":35},"end":{"line":8,"column":1}},"line":3},"1":{"name":"(anonymous_1)","decl":{"start":{"line":5,"column":53},"end":{"line":5,"column":54}},"loc":{"start":{"line":5,"column":60},"end":{"line":5,"column":99}},"line":5},"2":{"name":"getNatureName","decl":{"start":{"line":10,"column":9},"end":{"line":10,"column":22}},"loc":{"start":{"line":10,"column":37},"end":{"line":12,"column":1}},"line":10}},"branchMap":{"0":{"loc":{"start":{"line":4,"column":2},"end":{"line":4,"column":70}},"type":"if","locations":[{"start":{"line":4,"column":2},"end":{"line":4,"column":70}},{"start":{},"end":{}}],"line":4},"1":{"loc":{"start":{"line":6,"column":2},"end":{"line":6,"column":69}},"type":"if","locations":[{"start":{"line":6,"column":2},"end":{"line":6,"column":69}},{"start":{},"end":{}}],"line":6},"2":{"loc":{"start":{"line":10,"column":23},"end":{"line":10,"column":35}},"type":"default-arg","locations":[{"start":{"line":10,"column":34},"end":{"line":10,"column":35}}],"line":10}},"s":{"0":1,"1":3,"2":1,"3":2,"4":26,"5":2,"6":1,"7":1,"8":1},"f":{"0":3,"1":26,"2":1},"b":{"0":[1,2],"1":[1,1],"2":[0]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"56f8ccf33038f75e11c5bb5ade022668c4026c0e"} -,"/home/aarcon/Desktop/Personal/Lumi/luminescent-team/src/utils/dex/types.js": {"path":"/home/aarcon/Desktop/Personal/Lumi/luminescent-team/src/utils/dex/types.js","statementMap":{"0":{"start":{"line":1,"column":21},"end":{"line":1,"column":51}},"1":{"start":{"line":4,"column":15},"end":{"line":4,"column":69}},"2":{"start":{"line":5,"column":2},"end":{"line":5,"column":50}},"3":{"start":{"line":5,"column":13},"end":{"line":5,"column":50}},"4":{"start":{"line":6,"column":2},"end":{"line":6,"column":14}},"5":{"start":{"line":10,"column":2},"end":{"line":12,"column":75}}},"fnMap":{"0":{"name":"getTypeName","decl":{"start":{"line":3,"column":9},"end":{"line":3,"column":20}},"loc":{"start":{"line":3,"column":33},"end":{"line":7,"column":1}},"line":3},"1":{"name":"getTypes","decl":{"start":{"line":9,"column":9},"end":{"line":9,"column":17}},"loc":{"start":{"line":9,"column":33},"end":{"line":13,"column":1}},"line":9}},"branchMap":{"0":{"loc":{"start":{"line":3,"column":21},"end":{"line":3,"column":31}},"type":"default-arg","locations":[{"start":{"line":3,"column":30},"end":{"line":3,"column":31}}],"line":3},"1":{"loc":{"start":{"line":5,"column":2},"end":{"line":5,"column":50}},"type":"if","locations":[{"start":{"line":5,"column":2},"end":{"line":5,"column":50}},{"start":{},"end":{}}],"line":5},"2":{"loc":{"start":{"line":10,"column":9},"end":{"line":12,"column":74}},"type":"cond-expr","locations":[{"start":{"line":11,"column":6},"end":{"line":11,"column":40}},{"start":{"line":12,"column":6},"end":{"line":12,"column":74}}],"line":10}},"s":{"0":2,"1":6,"2":6,"3":0,"4":6,"5":2},"f":{"0":6,"1":2},"b":{"0":[0],"1":[0,6],"2":[1,1]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"7e5a951c4e6d2513eb36c65127b47642f87dec02"} -} diff --git a/coverage/lcov-report/__gamedata/index.html b/coverage/lcov-report/__gamedata/index.html deleted file mode 100644 index c98502b2a2..0000000000 --- a/coverage/lcov-report/__gamedata/index.html +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - Code coverage report for __gamedata - - - - - - - - - -
-
-

All files __gamedata

-
- -
- 0% - Statements - 0/0 -
- - -
- 0% - Branches - 0/0 -
- - -
- 0% - Functions - 0/0 -
- - -
- 0% - Lines - 0/0 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
index.js -
-
0%0/00%0/00%0/00%0/0
-
-
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/lcov-report/__gamedata/index.js.html b/coverage/lcov-report/__gamedata/index.js.html deleted file mode 100644 index d3cbc17bd6..0000000000 --- a/coverage/lcov-report/__gamedata/index.js.html +++ /dev/null @@ -1,265 +0,0 @@ - - - - - - Code coverage report for __gamedata/index.js - - - - - - - - - -
-
-

All files / __gamedata index.js

-
- -
- 0% - Statements - 0/0 -
- - -
- 0% - Branches - 0/0 -
- - -
- 0% - Functions - 0/0 -
- - -
- 0% - Lines - 0/0 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-

-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -45 -46 -47 -48 -49 -50 -51 -52 -53 -54 -55 -56 -57 -58 -59 -60 -61  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - 
//All the important numbers
-import PersonalTable from './PersonalTable.json';
-import EvolveTable from './EvolveTable.json';
-import EggMovesTable from './TamagoWazaTable.json';
-import LearnsetTable from './WazaOboeTable.json';
-import MovesTable from './WazaTable.json';
-import ItemTable from './ItemTable.json';
- 
-//All the Location files
-import pokemonLocations from './pokemon_locations.json';
-import staticLocations from './static_pokemon_locations.json';
- 
-//All the Pokemon english files
-import basePokemonNames from './english_ss_monsname.json';
-import formPokemonNames from './english_ss_zkn_form.json';
-import pokemonHeight from './english_ss_zkn_height.json';
-import pokemonWeight from './english_ss_zkn_weight.json';
-import pokemonDexType from './english_ss_zkn_type.json';
-import pokemonPokedexInfo from './english_dp_pokedex_diamond.json';
- 
-//All the other english files
-import natureNames from './english_ss_seikaku.json';
-import abilityNames from './english_ss_tokusei.json';
-import abilityInfo from './english_ss_tokuseiinfo.json';
-import typeName from './english_ss_typename.json';
-import moveNames from './english_ss_wazaname.json';
-import moveInfo from './english_ss_wazainfo.json';
-import itemNames from './english_ss_itemname.json';
- 
-//Custom files
-import moveEnum from './moveEnum.json';
-import smogonMoves from './smogonMoves.json';
-import EvolutionData from './evolution.json';
- 
-export {
-  PersonalTable,
-  EvolveTable,
-  EggMovesTable,
-  LearnsetTable,
-  MovesTable,
-  basePokemonNames,
-  formPokemonNames,
-  pokemonHeight,
-  pokemonWeight,
-  pokemonDexType,
-  pokemonPokedexInfo,
-  pokemonLocations,
-  staticLocations,
-  natureNames,
-  abilityNames,
-  abilityInfo,
-  typeName,
-  moveNames,
-  moveInfo,
-  ItemTable,
-  itemNames,
-  moveEnum,
-  smogonMoves,
-  EvolutionData
-};
- 
- -
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/lcov-report/base.css b/coverage/lcov-report/base.css deleted file mode 100644 index f418035b46..0000000000 --- a/coverage/lcov-report/base.css +++ /dev/null @@ -1,224 +0,0 @@ -body, html { - margin:0; padding: 0; - height: 100%; -} -body { - font-family: Helvetica Neue, Helvetica, Arial; - font-size: 14px; - color:#333; -} -.small { font-size: 12px; } -*, *:after, *:before { - -webkit-box-sizing:border-box; - -moz-box-sizing:border-box; - box-sizing:border-box; - } -h1 { font-size: 20px; margin: 0;} -h2 { font-size: 14px; } -pre { - font: 12px/1.4 Consolas, "Liberation Mono", Menlo, Courier, monospace; - margin: 0; - padding: 0; - -moz-tab-size: 2; - -o-tab-size: 2; - tab-size: 2; -} -a { color:#0074D9; text-decoration:none; } -a:hover { text-decoration:underline; } -.strong { font-weight: bold; } -.space-top1 { padding: 10px 0 0 0; } -.pad2y { padding: 20px 0; } -.pad1y { padding: 10px 0; } -.pad2x { padding: 0 20px; } -.pad2 { padding: 20px; } -.pad1 { padding: 10px; } -.space-left2 { padding-left:55px; } -.space-right2 { padding-right:20px; } -.center { text-align:center; } -.clearfix { display:block; } -.clearfix:after { - content:''; - display:block; - height:0; - clear:both; - visibility:hidden; - } -.fl { float: left; } -@media only screen and (max-width:640px) { - .col3 { width:100%; max-width:100%; } - .hide-mobile { display:none!important; } -} - -.quiet { - color: #7f7f7f; - color: rgba(0,0,0,0.5); -} -.quiet a { opacity: 0.7; } - -.fraction { - font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; - font-size: 10px; - color: #555; - background: #E8E8E8; - padding: 4px 5px; - border-radius: 3px; - vertical-align: middle; -} - -div.path a:link, div.path a:visited { color: #333; } -table.coverage { - border-collapse: collapse; - margin: 10px 0 0 0; - padding: 0; -} - -table.coverage td { - margin: 0; - padding: 0; - vertical-align: top; -} -table.coverage td.line-count { - text-align: right; - padding: 0 5px 0 20px; -} -table.coverage td.line-coverage { - text-align: right; - padding-right: 10px; - min-width:20px; -} - -table.coverage td span.cline-any { - display: inline-block; - padding: 0 5px; - width: 100%; -} -.missing-if-branch { - display: inline-block; - margin-right: 5px; - border-radius: 3px; - position: relative; - padding: 0 4px; - background: #333; - color: yellow; -} - -.skip-if-branch { - display: none; - margin-right: 10px; - position: relative; - padding: 0 4px; - background: #ccc; - color: white; -} -.missing-if-branch .typ, .skip-if-branch .typ { - color: inherit !important; -} -.coverage-summary { - border-collapse: collapse; - width: 100%; -} -.coverage-summary tr { border-bottom: 1px solid #bbb; } -.keyline-all { border: 1px solid #ddd; } -.coverage-summary td, .coverage-summary th { padding: 10px; } -.coverage-summary tbody { border: 1px solid #bbb; } -.coverage-summary td { border-right: 1px solid #bbb; } -.coverage-summary td:last-child { border-right: none; } -.coverage-summary th { - text-align: left; - font-weight: normal; - white-space: nowrap; -} -.coverage-summary th.file { border-right: none !important; } -.coverage-summary th.pct { } -.coverage-summary th.pic, -.coverage-summary th.abs, -.coverage-summary td.pct, -.coverage-summary td.abs { text-align: right; } -.coverage-summary td.file { white-space: nowrap; } -.coverage-summary td.pic { min-width: 120px !important; } -.coverage-summary tfoot td { } - -.coverage-summary .sorter { - height: 10px; - width: 7px; - display: inline-block; - margin-left: 0.5em; - background: url(sort-arrow-sprite.png) no-repeat scroll 0 0 transparent; -} -.coverage-summary .sorted .sorter { - background-position: 0 -20px; -} -.coverage-summary .sorted-desc .sorter { - background-position: 0 -10px; -} -.status-line { height: 10px; } -/* yellow */ -.cbranch-no { background: yellow !important; color: #111; } -/* dark red */ -.red.solid, .status-line.low, .low .cover-fill { background:#C21F39 } -.low .chart { border:1px solid #C21F39 } -.highlighted, -.highlighted .cstat-no, .highlighted .fstat-no, .highlighted .cbranch-no{ - background: #C21F39 !important; -} -/* medium red */ -.cstat-no, .fstat-no, .cbranch-no, .cbranch-no { background:#F6C6CE } -/* light red */ -.low, .cline-no { background:#FCE1E5 } -/* light green */ -.high, .cline-yes { background:rgb(230,245,208) } -/* medium green */ -.cstat-yes { background:rgb(161,215,106) } -/* dark green */ -.status-line.high, .high .cover-fill { background:rgb(77,146,33) } -.high .chart { border:1px solid rgb(77,146,33) } -/* dark yellow (gold) */ -.status-line.medium, .medium .cover-fill { background: #f9cd0b; } -.medium .chart { border:1px solid #f9cd0b; } -/* light yellow */ -.medium { background: #fff4c2; } - -.cstat-skip { background: #ddd; color: #111; } -.fstat-skip { background: #ddd; color: #111 !important; } -.cbranch-skip { background: #ddd !important; color: #111; } - -span.cline-neutral { background: #eaeaea; } - -.coverage-summary td.empty { - opacity: .5; - padding-top: 4px; - padding-bottom: 4px; - line-height: 1; - color: #888; -} - -.cover-fill, .cover-empty { - display:inline-block; - height: 12px; -} -.chart { - line-height: 0; -} -.cover-empty { - background: white; -} -.cover-full { - border-right: none !important; -} -pre.prettyprint { - border: none !important; - padding: 0 !important; - margin: 0 !important; -} -.com { color: #999 !important; } -.ignore-none { color: #999; font-weight: normal; } - -.wrapper { - min-height: 100%; - height: auto !important; - height: 100%; - margin: 0 auto -48px; -} -.footer, .push { - height: 48px; -} diff --git a/coverage/lcov-report/block-navigation.js b/coverage/lcov-report/block-navigation.js deleted file mode 100644 index cc12130231..0000000000 --- a/coverage/lcov-report/block-navigation.js +++ /dev/null @@ -1,87 +0,0 @@ -/* eslint-disable */ -var jumpToCode = (function init() { - // Classes of code we would like to highlight in the file view - var missingCoverageClasses = ['.cbranch-no', '.cstat-no', '.fstat-no']; - - // Elements to highlight in the file listing view - var fileListingElements = ['td.pct.low']; - - // We don't want to select elements that are direct descendants of another match - var notSelector = ':not(' + missingCoverageClasses.join('):not(') + ') > '; // becomes `:not(a):not(b) > ` - - // Selecter that finds elements on the page to which we can jump - var selector = - fileListingElements.join(', ') + - ', ' + - notSelector + - missingCoverageClasses.join(', ' + notSelector); // becomes `:not(a):not(b) > a, :not(a):not(b) > b` - - // The NodeList of matching elements - var missingCoverageElements = document.querySelectorAll(selector); - - var currentIndex; - - function toggleClass(index) { - missingCoverageElements - .item(currentIndex) - .classList.remove('highlighted'); - missingCoverageElements.item(index).classList.add('highlighted'); - } - - function makeCurrent(index) { - toggleClass(index); - currentIndex = index; - missingCoverageElements.item(index).scrollIntoView({ - behavior: 'smooth', - block: 'center', - inline: 'center' - }); - } - - function goToPrevious() { - var nextIndex = 0; - if (typeof currentIndex !== 'number' || currentIndex === 0) { - nextIndex = missingCoverageElements.length - 1; - } else if (missingCoverageElements.length > 1) { - nextIndex = currentIndex - 1; - } - - makeCurrent(nextIndex); - } - - function goToNext() { - var nextIndex = 0; - - if ( - typeof currentIndex === 'number' && - currentIndex < missingCoverageElements.length - 1 - ) { - nextIndex = currentIndex + 1; - } - - makeCurrent(nextIndex); - } - - return function jump(event) { - if ( - document.getElementById('fileSearch') === document.activeElement && - document.activeElement != null - ) { - // if we're currently focused on the search input, we don't want to navigate - return; - } - - switch (event.which) { - case 78: // n - case 74: // j - goToNext(); - break; - case 66: // b - case 75: // k - case 80: // p - goToPrevious(); - break; - } - }; -})(); -window.addEventListener('keydown', jumpToCode); diff --git a/coverage/lcov-report/favicon.png b/coverage/lcov-report/favicon.png deleted file mode 100644 index c1525b811a..0000000000 Binary files a/coverage/lcov-report/favicon.png and /dev/null differ diff --git a/coverage/lcov-report/index.html b/coverage/lcov-report/index.html deleted file mode 100644 index 81b9720905..0000000000 --- a/coverage/lcov-report/index.html +++ /dev/null @@ -1,191 +0,0 @@ - - - - - - Code coverage report for All files - - - - - - - - - -
-
-

All files

-
- -
- 95.97% - Statements - 692/721 -
- - -
- 83.4% - Branches - 402/482 -
- - -
- 92.85% - Functions - 143/154 -
- - -
- 96.6% - Lines - 597/618 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
__gamedata -
-
0%0/00%0/00%0/00%0/0
plugins/pokedex-data-plugin/dex -
-
98.23%333/33982.91%165/19995.83%69/7298.95%285/288
src/components/Pokedex -
-
100%13/13100%18/18100%2/2100%13/13
src/components/Pokedex2 -
-
88.88%16/18100%18/1850%2/488.88%16/18
src/core -
-
95.91%47/4973.91%17/23100%10/1097.87%46/47
src/utils/dex -
-
93.7%283/30282.14%184/22490.9%60/6694.04%237/252
-
-
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/lcov-report/plugins/pokedex-data-plugin/dex/ability.js.html b/coverage/lcov-report/plugins/pokedex-data-plugin/dex/ability.js.html deleted file mode 100644 index a6cd878b73..0000000000 --- a/coverage/lcov-report/plugins/pokedex-data-plugin/dex/ability.js.html +++ /dev/null @@ -1,187 +0,0 @@ - - - - - - Code coverage report for plugins/pokedex-data-plugin/dex/ability.js - - - - - - - - - -
-
-

All files / plugins/pokedex-data-plugin/dex ability.js

-
- -
- 95.65% - Statements - 22/23 -
- - -
- 86.95% - Branches - 20/23 -
- - -
- 100% - Functions - 6/6 -
- - -
- 100% - Lines - 17/17 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-

-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -353x -  -  -2x -2x -1x -  -  -  -2x -  -270x -  -2x -1x -  -  -  -8792x -8792x -8791x -  -  -  -2x -2x -1x -2x -  -  -1x -  -  -3x - 
const { abilityNames, abilityInfo } = require('./data');
- 
-function makeSmogonAbilityObject(abilityId = 0) {
-  const abilityString = abilityNames.labelDataArray[abilityId]?.wordDataArray[0]?.str ?? null;
-  if (abilityString === null || !abilityString) throw Error(`Bad ability ID: ${abilityId}`);
-  return { 0: abilityString };
-}
- 
-function getAbilityIdFromAbilityName(abilityString) {
-  Iif (!abilityString) throw Error(`Bad ability string: ${abilityString}`);
- 
-  const abilityId = abilityNames.labelDataArray.findIndex((e) => e.wordDataArray[0].str === abilityString);
- 
-  if (abilityId === -1) throw Error(`Bad ability string: ${abilityString}`);
-  return abilityId;
-}
- 
-function getAbilityString(abiltiyId = 0) {
-  const abilityName = abilityNames.labelDataArray[abiltiyId]?.wordDataArray[0]?.str ?? null;
-  if (abilityName === null || !abilityName) throw Error(`Bad ability ID: ${abiltiyId}`);
-  return abilityName;
-}
- 
-function getAbilityInfo(id) {
-  const wordData = abilityInfo.labelDataArray[id]?.wordDataArray;
-  if (wordData === null || wordData === undefined || wordData.length === 0) return 'None';
-  const description = wordData.reduce((abilityDescription, currentString) => {
-    return abilityDescription + currentString.str + ' ';
-  }, '');
- 
-  return description.trim();
-}
- 
-module.exports = { makeSmogonAbilityObject, getAbilityIdFromAbilityName, getAbilityString, getAbilityInfo };
- 
- -
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/lcov-report/plugins/pokedex-data-plugin/dex/data.js.html b/coverage/lcov-report/plugins/pokedex-data-plugin/dex/data.js.html deleted file mode 100644 index 41dd380281..0000000000 --- a/coverage/lcov-report/plugins/pokedex-data-plugin/dex/data.js.html +++ /dev/null @@ -1,247 +0,0 @@ - - - - - - Code coverage report for plugins/pokedex-data-plugin/dex/data.js - - - - - - - - - -
-
-

All files / plugins/pokedex-data-plugin/dex data.js

-
- -
- 100% - Statements - 23/23 -
- - -
- 100% - Branches - 0/0 -
- - -
- 100% - Functions - 0/0 -
- - -
- 100% - Lines - 23/23 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-

-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -45 -46 -47 -48 -49 -50 -51 -52 -53 -54 -55  -9x -9x -9x -9x -9x -9x -  -  -9x -9x -9x -9x -9x -9x -  -  -9x -9x -9x -9x -9x -9x -9x -  -  -9x -9x -9x -  -9x -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - 
//All the constant numbers
-const PersonalTable = require('../../../__gamedata/PersonalTable.json');
-const EvolveTable = require('../../../__gamedata/EvolveTable.json');
-const EggMovesTable = require('../../../__gamedata/TamagoWazaTable.json');
-const LearnsetTable = require('../../../__gamedata/WazaOboeTable.json');
-const MovesTable = require('../../../__gamedata/WazaTable.json');
-const ItemTable = require('../../../__gamedata/ItemTable.json');
- 
-//All the Pokemon english files
-const basePokemonNames = require('../../../__gamedata/english_ss_monsname.json');
-const formPokemonNames = require('../../../__gamedata/english_ss_zkn_form.json');
-const pokemonHeight = require('../../../__gamedata/english_ss_zkn_height.json');
-const pokemonWeight = require('../../../__gamedata/english_ss_zkn_weight.json');
-const pokemonDexType = require('../../../__gamedata/english_ss_zkn_type.json');
-const pokemonPokedexInfo = require('../../../__gamedata/english_dp_pokedex_diamond.json');
- 
-//All the other english files
-const natureNames = require('../../../__gamedata/english_ss_seikaku.json');
-const abilityNames = require('../../../__gamedata/english_ss_tokusei.json');
-const abilityInfo = require('../../../__gamedata/english_ss_tokuseiinfo.json');
-const typeName = require('../../../__gamedata/english_ss_typename.json');
-const moveNames = require('../../../__gamedata/english_ss_wazaname.json');
-const moveInfo = require('../../../__gamedata/english_ss_wazainfo.json');
-const itemNames = require('../../../__gamedata/english_ss_itemname.json');
- 
-//Custom files
-const moveEnum = require('../../../__gamedata/moveEnum.json');
-const smogonMoves = require('../../../__gamedata/smogonMoves.json');
-const tutorMoves = require('../../../__gamedata/tutorMoves.json');
- 
-module.exports = {
-  PersonalTable,
-  EvolveTable,
-  EggMovesTable,
-  LearnsetTable,
-  MovesTable,
-  basePokemonNames,
-  formPokemonNames,
-  pokemonHeight,
-  pokemonWeight,
-  pokemonDexType,
-  pokemonPokedexInfo,
-  natureNames,
-  abilityNames,
-  abilityInfo,
-  typeName,
-  moveNames,
-  moveInfo,
-  ItemTable,
-  itemNames,
-  moveEnum,
-  smogonMoves,
-  tutorMoves
-};
- 
- -
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/lcov-report/plugins/pokedex-data-plugin/dex/details.js.html b/coverage/lcov-report/plugins/pokedex-data-plugin/dex/details.js.html deleted file mode 100644 index 7301fcdf0c..0000000000 --- a/coverage/lcov-report/plugins/pokedex-data-plugin/dex/details.js.html +++ /dev/null @@ -1,184 +0,0 @@ - - - - - - Code coverage report for plugins/pokedex-data-plugin/dex/details.js - - - - - - - - - -
-
-

All files / plugins/pokedex-data-plugin/dex details.js

-
- -
- 100% - Statements - 21/21 -
- - -
- 80% - Branches - 8/10 -
- - -
- 100% - Functions - 2/2 -
- - -
- 100% - Lines - 19/19 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-

-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -342x -  -2x -2x -2x -  -  -1466x -  -1466x -  -1465x -1465x -1465x -  -1465x -1465x -1465x -  -  -  -1466x -  -1466x -  -1465x -1465x -  -1465x -1465x -  -  -2x - 
const { pokemonHeight, pokemonWeight } = require('./data');
- 
-const FEET_TO_CM = 30.48;
-const INCHES_TO_CM = 2.54;
-const POUNDS_TO_KG = 0.453592;
- 
-function getHeight(pokemonId = 0) {
-  const heightString = pokemonHeight.labelDataArray[pokemonId]?.wordDataArray[0]?.str ?? null;
- 
-  if (heightString === null) return '0';
- 
-  const [feetString, inchesString] = heightString.split("'");
-  const inches = parseFloat(inchesString.substring(0, inchesString.length - 1));
-  const feet = parseInt(feetString);
- 
-  const feetInCentimeters = feet * FEET_TO_CM;
-  const inchesInCentimeters = inches * INCHES_TO_CM;
-  return ((feetInCentimeters + inchesInCentimeters) / 100).toFixed(2);
-}
- 
-function getWeight(pokemonId = 0) {
-  const weightString = pokemonWeight.labelDataArray[pokemonId]?.wordDataArray[0]?.str || null;
- 
-  if (weightString === null) return '0';
- 
-  const [poundsString] = weightString.split(' ');
-  const pounds = parseFloat(poundsString.trim());
- 
-  const poundsInKilogram = pounds * POUNDS_TO_KG;
-  return poundsInKilogram.toFixed(2);
-}
- 
-module.exports = { getHeight, getWeight };
- 
- -
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/lcov-report/plugins/pokedex-data-plugin/dex/egggroup.js.html b/coverage/lcov-report/plugins/pokedex-data-plugin/dex/egggroup.js.html deleted file mode 100644 index ecb506db75..0000000000 --- a/coverage/lcov-report/plugins/pokedex-data-plugin/dex/egggroup.js.html +++ /dev/null @@ -1,271 +0,0 @@ - - - - - - Code coverage report for plugins/pokedex-data-plugin/dex/egggroup.js - - - - - - - - - -
-
-

All files / plugins/pokedex-data-plugin/dex egggroup.js

-
- -
- 100% - Statements - 24/24 -
- - -
- 87.5% - Branches - 21/24 -
- - -
- 100% - Functions - 4/4 -
- - -
- 100% - Lines - 24/24 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-

-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -45 -46 -47 -48 -49 -50 -51 -52 -53 -54 -55 -56 -57 -58 -59 -60 -61 -62 -632x -  -2x -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -2x -2x -  -  -1473x -2x -  -1471x -1471x -1471x -1471x -  -  -  -1937x -7x -1930x -  -  -  -  -2932x -24x -  -  -2932x -8x -  -  -2932x -2932x -2932x -  -  -  -6x -3x -3x -  -  -2x - 
const { PersonalTable } = require('./data');
- 
-const EGG_GROUPS = {
-  0: 'None',
-  1: 'Monster',
-  2: 'Water 1',
-  3: 'Bug',
-  4: 'Flying',
-  5: 'Field',
-  6: 'Fairy',
-  7: 'Grass',
-  8: 'Human-Like',
-  9: 'Water 3',
-  10: 'Mineral',
-  11: 'Amorphous',
-  12: 'Water 2',
-  13: 'Ditto',
-  14: 'Dragon',
-  15: 'No Eggs',
-};
- 
-const POKEMON_IDS_BY_EGG_GROUP = PersonalTable.Personal.reduce(createPokemonByEggGroupMap, []);
-const HIGHEST_EGG_GROUP_ID = 15;
- 
-function getEggGroupViaPokemonId(pokemonId = 0) {
-  if (!Number.isInteger(pokemonId) || pokemonId < 0 || pokemonId > PersonalTable.Personal.length)
-    throw new Error(`Bad pokemonId: ${pokemonId}`);
- 
-  const pokemonDetails = PersonalTable.Personal[pokemonId];
-  const eggGroup1 = pokemonDetails.egg_group1;
-  const eggGroup2 = pokemonDetails.egg_group2;
-  return eggGroup1 === eggGroup2 ? [eggGroup1] : [eggGroup1, eggGroup2];
-}
- 
-function getEggGroupNameById(eggGroupId = 0) {
-  if (!Number.isInteger(eggGroupId) || eggGroupId < 0 || eggGroupId > HIGHEST_EGG_GROUP_ID)
-    throw new Error(`Bad eggGroupId: ${eggGroupId}`);
-  return EGG_GROUPS[eggGroupId];
-}
- 
-function createPokemonByEggGroupMap(pokemonMap, currentPokemon) {
-  //Use sets so I don't have to handle duplicates, looking at you Unown
-  if (pokemonMap[currentPokemon.egg_group1] === undefined) {
-    pokemonMap[currentPokemon.egg_group1] = new Set();
-  }
- 
-  if (pokemonMap[currentPokemon.egg_group2] === undefined) {
-    pokemonMap[currentPokemon.egg_group2] = new Set();
-  }
- 
-  pokemonMap[currentPokemon.egg_group1].add(currentPokemon.id);
-  pokemonMap[currentPokemon.egg_group2].add(currentPokemon.id);
-  return pokemonMap;
-}
- 
-function getPokemonIdsInEggGroup(eggGroupId = 0) {
-  if (!Number.isInteger(eggGroupId) || eggGroupId < 0 || eggGroupId > HIGHEST_EGG_GROUP_ID)
-    throw new Error(`Bad eggGroupId: ${eggGroupId}`);
-  return Array.from(POKEMON_IDS_BY_EGG_GROUP[eggGroupId]); //Back to array for easier handling
-}
- 
-module.exports = { getPokemonIdsInEggGroup, getEggGroupNameById, getEggGroupViaPokemonId };
- 
- -
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/lcov-report/plugins/pokedex-data-plugin/dex/functions.js.html b/coverage/lcov-report/plugins/pokedex-data-plugin/dex/functions.js.html deleted file mode 100644 index c5c4bcf086..0000000000 --- a/coverage/lcov-report/plugins/pokedex-data-plugin/dex/functions.js.html +++ /dev/null @@ -1,289 +0,0 @@ - - - - - - Code coverage report for plugins/pokedex-data-plugin/dex/functions.js - - - - - - - - - -
-
-

All files / plugins/pokedex-data-plugin/dex functions.js

-
- -
- 100% - Statements - 37/37 -
- - -
- 92.3% - Branches - 24/26 -
- - -
- 100% - Functions - 11/11 -
- - -
- 100% - Lines - 27/27 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-

-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -45 -46 -47 -48 -49 -50 -51 -52 -53 -54 -55 -56 -57 -58 -59 -60 -61 -62 -63 -64 -65 -66 -67 -68 -694x -  -  -4x -  -  -5866x -4045x -  -  -5866x -5866x -  -  -  -3x -  -  -4x -171185x -  -  -4x -1466x -  -  -  -4x -3x -2x -1x -  -  -  -12187x -12187x -12187x -  -  -  -1465x -  -  -  -2946x -2696x -2438x -1850x -1380x -914x -  -  -  -2686x -  -  -4x -  -  -  -  -  -  -  -  -  -  -  - 
const { PersonalTable } = require('./data');
- 
-//BDSP does not stick to the same structure when working with forms, thus this map is necessary.
-const FORM_MAP = PersonalTable.Personal.reduce(createFormMap, {});
- 
-function createFormMap(formMap, currentPokemon) {
-  if (!Array.isArray(formMap[currentPokemon.monsno])) {
-    formMap[currentPokemon.monsno] = [];
-  }
- 
-  formMap[currentPokemon.monsno].push(currentPokemon.id);
-  return formMap;
-}
- 
-function getPokemonIdFromFormMap(monsNo = 0, formNo = 0) {
-  return FORM_MAP[monsNo]?.[formNo] ?? undefined;
-}
- 
-const getPokemonFormIndexById = (monsno, id) => {
-  return FORM_MAP[monsno].findIndex((pokemonId) => pokemonId === id);
-};
- 
-const getPokemonFormIds = (monsno) => {
-  return FORM_MAP[monsno];
-};
- 
-function getGender(sex) {
-  if (sex === 0) return 'M';
-  if (sex === 254) return 'F';
-  if (sex === 255) return 'N';
-  return null;
-}
- 
-function getImage(monsno = 0, formIndex = 0) {
-  const paddedMonsno = monsno.toString().padStart(4, 0);
-  const paddedFormIndex = formIndex.toString().padStart(2, 0);
-  return `pm${paddedMonsno}_${paddedFormIndex}_00_00_L.webp`;
-}
- 
-function formatBaseStats(p) {
-  return `HP: ${p.basic_hp} / ATK: ${p.basic_atk} / DEF: ${p.basic_def} / SPA: ${p.basic_spatk} / SPD: ${p.basic_spdef} / SPE: ${p.basic_agi}`;
-}
- 
-function getGrassKnotPower(weightkg) {
-  if (weightkg >= 200) return 120;
-  if (weightkg >= 100) return 100;
-  if (weightkg >= 50) return 80;
-  if (weightkg >= 25) return 60;
-  if (weightkg >= 10) return 40;
-  return 20;
-}
- 
-function getPokemonIdFromMonsNoAndForm(monsno, formno) {
-  return PersonalTable.Personal.find((e) => e.monsno === monsno && FORM_MAP[e.monsno][formno] === e.id)?.id;
-}
- 
-module.exports = {
-  FORM_MAP,
-  getPokemonIdFromFormMap,
-  getGender,
-  getGrassKnotPower,
-  getImage,
-  formatBaseStats,
-  getPokemonIdFromMonsNoAndForm,
-  createFormMap,
-  getPokemonFormIndexById,
-  getPokemonFormIds,
-};
- 
- -
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/lcov-report/plugins/pokedex-data-plugin/dex/index.html b/coverage/lcov-report/plugins/pokedex-data-plugin/dex/index.html deleted file mode 100644 index 0144db095e..0000000000 --- a/coverage/lcov-report/plugins/pokedex-data-plugin/dex/index.html +++ /dev/null @@ -1,281 +0,0 @@ - - - - - - Code coverage report for plugins/pokedex-data-plugin/dex - - - - - - - - - -
-
-

All files plugins/pokedex-data-plugin/dex

-
- -
- 98.23% - Statements - 333/339 -
- - -
- 82.91% - Branches - 165/199 -
- - -
- 95.83% - Functions - 69/72 -
- - -
- 98.95% - Lines - 285/288 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
ability.js -
-
95.65%22/2386.95%20/23100%6/6100%17/17
data.js -
-
100%23/23100%0/0100%0/0100%23/23
details.js -
-
100%21/2180%8/10100%2/2100%19/19
egggroup.js -
-
100%24/2487.5%21/24100%4/4100%24/24
functions.js -
-
100%37/3792.3%24/26100%11/11100%27/27
info.js -
-
100%12/120%0/2100%1/1100%12/12
item.js -
-
81.25%13/1655.55%5/966.66%4/683.33%10/12
moves.js -
-
100%83/8385.71%54/63100%20/20100%65/65
name.js -
-
97.67%42/4381.25%26/3292.3%12/1397.36%37/38
nature.js -
-
100%10/1080%4/5100%3/3100%7/7
pokemon.js -
-
100%40/40100%0/0100%4/4100%38/38
types.js -
-
85.71%6/760%3/5100%2/2100%6/6
-
-
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/lcov-report/plugins/pokedex-data-plugin/dex/info.js.html b/coverage/lcov-report/plugins/pokedex-data-plugin/dex/info.js.html deleted file mode 100644 index 76d7a1e9e2..0000000000 --- a/coverage/lcov-report/plugins/pokedex-data-plugin/dex/info.js.html +++ /dev/null @@ -1,220 +0,0 @@ - - - - - - Code coverage report for plugins/pokedex-data-plugin/dex/info.js - - - - - - - - - -
-
-

All files / plugins/pokedex-data-plugin/dex info.js

-
- -
- 100% - Statements - 12/12 -
- - -
- 0% - Branches - 0/2 -
- - -
- 100% - Functions - 1/1 -
- - -
- 100% - Lines - 12/12 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-

-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -45 -461x -1x -1x -1x -1x -1x -1x -  -1x -  -  -1464x -1464x -  -1464x -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -1x - 
const { getAbilityString } = require('./ability');
-const { getTechMachineLearnset } = require('./moves');
-const { getPokemonName } = require('./name');
-const { getTypeName } = require('./types');
-const { getWeight, getHeight } = require('./details');
-const { getItemString } = require('./item');
-const { getGrassKnotPower, getImage, formatBaseStats, getPokemonFormIndexById } = require('./functions');
- 
-const { PersonalTable } = require('./data');
- 
-function getPokemonInfo(monsno = 0, pokemonId = 0) {
-  const p = PersonalTable.Personal[pokemonId];
-  const weight = getWeight(pokemonId);
- 
-  return {
-    monsno: monsno,
-    name: getPokemonName(pokemonId),
-    ability1: getAbilityString(p.tokusei1),
-    ability2: getAbilityString(p.tokusei2),
-    abilityH: getAbilityString(p.tokusei3),
-    tmLearnset: getTechMachineLearnset(p.machine1, p.machine2, p.machine3, p.machine4),
-    prettyBaseStats: formatBaseStats(p),
-    baseStats: {
-      hp: p.basic_hp,
-      atk: p.basic_atk,
-      def: p.basic_def,
-      spa: p.basic_spatk,
-      spd: p.basic_spdef,
-      spe: p.basic_agi,
-    },
-    baseStatsTotal: p.basic_hp + p.basic_atk + p.basic_def + p.basic_spatk + p.basic_spdef + p.basic_agi,
-    weight: weight,
-    height: getHeight(pokemonId),
-    grassKnotPower: getGrassKnotPower(weight),
-    type1: getTypeName(p.type1),
-    type2: getTypeName(p.type2),
-    imageSrc: getImage(monsno, getPokemonFormIndexById(monsno, pokemonId)),
-    genderDecimalValue: p.sex,
-    held_item1: p.item1,
-    held_item2: p.item2,
-    held_item3: p.item3,
-  };
-}
- 
-module.exports = { getPokemonInfo };
- 
- -
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/lcov-report/plugins/pokedex-data-plugin/dex/item.js.html b/coverage/lcov-report/plugins/pokedex-data-plugin/dex/item.js.html deleted file mode 100644 index 91cde698f0..0000000000 --- a/coverage/lcov-report/plugins/pokedex-data-plugin/dex/item.js.html +++ /dev/null @@ -1,157 +0,0 @@ - - - - - - Code coverage report for plugins/pokedex-data-plugin/dex/item.js - - - - - - - - - -
-
-

All files / plugins/pokedex-data-plugin/dex item.js

-
- -
- 81.25% - Statements - 13/16 -
- - -
- 55.55% - Branches - 5/9 -
- - -
- 66.66% - Functions - 4/6 -
- - -
- 83.33% - Lines - 10/12 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-

-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -252x -  -  -3x -2x -  -2072x -2x -1x -  -  -  -8791x -  -  -  -4395x -4395x -  -  -  -  -  -2x - 
const { itemNames } = require('./data');
- 
-function getItemIdFromItemName(itemName) {
-  if (!itemName) throw Error(`Bad item name: ${itemName}`);
-  Iif (itemName === "King's Rock")
-    return itemNames.labelDataArray.findIndex((e) => e.wordDataArray[0]?.str === 'King’s Rock');
-  const index = itemNames.labelDataArray.findIndex((e) => e.wordDataArray[0]?.str === itemName);
-  if (index === -1) throw Error(`Bad item name: ${itemName}`);
-  return index;
-}
- 
-function getItemString(itemId = 0) {
-  return itemNames.labelDataArray[itemId].wordDataArray[0].str;
-}
- 
-function getItemImageUrl(itemName="") {
-  const splitItemName = itemName.replace("’", "").split(" ").join("_");
-  return `/img/Item_${splitItemName}.webp`;
-}
- 
-function getTMImageUrl(moveType="") {
-  return `/img/tms/${moveType}.webp`
-}
-module.exports = { getItemIdFromItemName, getItemString, getItemImageUrl, getTMImageUrl };
- 
- -
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/lcov-report/plugins/pokedex-data-plugin/dex/moves.js.html b/coverage/lcov-report/plugins/pokedex-data-plugin/dex/moves.js.html deleted file mode 100644 index ba90b649ee..0000000000 --- a/coverage/lcov-report/plugins/pokedex-data-plugin/dex/moves.js.html +++ /dev/null @@ -1,619 +0,0 @@ - - - - - - Code coverage report for plugins/pokedex-data-plugin/dex/moves.js - - - - - - - - - -
-
-

All files / plugins/pokedex-data-plugin/dex moves.js

-
- -
- 100% - Statements - 83/83 -
- - -
- 85.71% - Branches - 54/63 -
- - -
- 100% - Functions - 20/20 -
- - -
- 100% - Lines - 65/65 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-

-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -45 -46 -47 -48 -49 -50 -51 -52 -53 -54 -55 -56 -57 -58 -59 -60 -61 -62 -63 -64 -65 -66 -67 -68 -69 -70 -71 -72 -73 -74 -75 -76 -77 -78 -79 -80 -81 -82 -83 -84 -85 -86 -87 -88 -89 -90 -91 -92 -93 -94 -95 -96 -97 -98 -99 -100 -101 -102 -103 -104 -105 -106 -107 -108 -109 -110 -111 -112 -113 -114 -115 -116 -117 -118 -119 -120 -121 -122 -123 -124 -125 -126 -127 -128 -129 -130 -131 -132 -133 -134 -135 -136 -137 -138 -139 -140 -141 -142 -143 -144 -145 -146 -147 -148 -149 -150 -151 -152 -153 -154 -155 -156 -157 -158 -159 -160 -161 -162 -163 -164 -165 -166 -167 -168 -169 -170 -171 -172 -173 -174 -175 -176 -177 -178 -179  -  -  -  -  -  -  -  -  -  -  -3x -3x -  -3x -  -  -  -  -  -  -8x -3x -  -  -5x -2x -  -  -3x -63x -33x -  -  -3x -  -3x -  -  -  -  -  -  -  -  -22x -66x -  -  -  -6x -1074x -4x -3x -  -  -  -17x -  -16x -16x -1x -  -  -15x -  -  -  -203422x -203422x -203422x -203422x -203422x -203422x -  -203422x -203422x -203422x -  -203422x -  -  -  -  -  -  -  -  -  -  -  -  -1469x -1468x -1468x -1075316x -3108x -  -  -  -  -  -  -203422x -203422x -454548x -  -203422x -  -  -  -2933x -  -  -  -  -  -  -  -375424x -  -2933x -2933x -375424x -  -166853x -166853x -  -  -2933x -  -  -  -1473x -1470x -  -  -  -1466x -  -1466x -1466x -26331x -  -  -1466x -  -  -  -11736x -  -  -  -1470x -1468x -695x -537x -7126x -  -  -  -  -537x -  -  -3x -  -  -  -  -  -  -  -  -  -  -  -  - 
const {
-  LearnsetTable,
-  EggMovesTable,
-  MovesTable,
-  moveEnum,
-  smogonMoves,
-  ItemTable,
-  PersonalTable,
-  moveNames,
-  moveInfo,
-  tutorMoves
-} = require('./data');
-const { getPokemonFormId } = require('./name');
- 
-const IS_MOVE_INDEX = false;
- 
-function generateMovesViaLearnset(monsNo, level) {
-  /**
-   * In BDSP, a trainer's Pokemon, when provided no moves,
-   * will use the four most recent moves in the learnset.
-   */
-  if (!Number.isInteger(monsNo) || monsNo < 0 || !LearnsetTable.WazaOboe[monsNo]) {
-    throw new Error('Invalid Pokémon number');
-  }
- 
-  if (!Number.isInteger(level) || level < 0) {
-    throw new Error('Invalid level');
-  }
- 
-  const cutoffIndex = LearnsetTable.WazaOboe[monsNo].ar.findIndex((currentMoveOrLevel, i) => {
-    if (i % 2 === 1) return IS_MOVE_INDEX;
-    return currentMoveOrLevel > level;
-  });
- 
-  const moves = LearnsetTable.WazaOboe[monsNo].ar.slice(0, cutoffIndex);
- 
-  return [
-    getMoveString(moves.at(-7)),
-    getMoveString(moves.at(-5)),
-    getMoveString(moves.at(-3)),
-    getMoveString(moves.at(-1)),
-  ];
-}
- 
-function isMoveNameSmogonCompatible(moveString) {
-  if (typeof moveString !== 'string' || !moveString) throw Error(`Bad move string: ${moveString}`);
-  return smogonMoves.some((movesPerGeneration) => Object.keys(movesPerGeneration).includes(moveString));
-}
- 
-function getMoveId(moveName) {
-  if (typeof moveName !== 'string' || !moveName) throw Error(`Bad move name: ${moveName}`);
-  const id = moveEnum.findIndex((e) => e === moveName.trim());
-  if (id === -1) throw Error(`Bad move name: ${moveName}`);
-  return id;
-}
- 
-function getMoveString(id = 0) {
-  if (!Number.isInteger(id) || id < 0) throw Error(`Bad move string found: ID - ${id}`);
- 
-  const str = moveEnum[id];
-  if (typeof str !== 'string' || !isMoveNameSmogonCompatible(str)) {
-    throw Error(`Incompatible move string found: ID - ${id}, String: ${str}`);
-  }
- 
-  return str;
-}
- 
-function getMoveProperties(moveId = 0) {
-  const move = MovesTable.Waza[moveId];
-  const type = move.type;
-  const damageType = move.damageType;
-  const power = move.power;
-  const hitPer = move.hitPer;
-  const basePP = move.basePP;
- 
-  const BASE_PP = basePP ?? 0;
-  const MAX_PP_MULTIPLIER = 1.6;
-  const maxPP = BASE_PP * MAX_PP_MULTIPLIER;
- 
-  return {
-    moveId: moveId,
-    name: moveNames.labelDataArray[moveId].wordDataArray[0]?.str ?? 'None',
-    desc: getMoveDescription(moveId),
-    type,
-    damageType, //0 = Status, 1 = Physical, 2 = Special
-    maxPP,
-    power,
-    accuracy: hitPer,
-  };
-}
- 
-function getEggMoves(dexId = 0) {
-  if (!Number.isInteger(dexId) || PersonalTable.Personal[dexId] === undefined) return [];
-  const { monsno } = PersonalTable.Personal[dexId];
-  const formNo = getPokemonFormId(monsno, dexId);
-  const eggMoves = EggMovesTable.Data.find((e) => e.no === monsno && e.formNo === formNo)?.wazaNo ?? [];
-  return eggMoves.map((moveId) => ({
-    level: 'egg',
-    move: getMoveProperties(moveId),
-  }));
-}
- 
-function getMoveDescription(moveId = 0) {
-  const wordData = moveInfo.labelDataArray[moveId].wordDataArray;
-  const description = wordData.reduce((moveDescription, currentString) => {
-    return moveDescription + currentString.str + ' ';
-  }, '');
-  return description.trim();
-}
- 
-function getTechMachineLearnset(m1, m2, m3, m4) {
-  const learnset = [
-    parseTmLearnsetSection(m1),
-    parseTmLearnsetSection(m2),
-    parseTmLearnsetSection(m3),
-    parseTmLearnsetSection(m4),
-  ]
-    .join('')
-    .split('')
-    .flatMap((e) => parseInt(e));
- 
-  const canLearn = [];
-  for (let i = 0; i < learnset.length; i++) {
-    if (learnset[i] === 0) continue;
- 
-    const tm = ItemTable.WazaMachine[i];
-    canLearn.push({ level: 'tm', move: getMoveProperties(tm.wazaNo) });
-  }
- 
-  return canLearn;
-}
- 
-function getPokemonLearnset(pokemonId = 0) {
-  if (!Number.isInteger(pokemonId) || pokemonId < 0) return [];
-  return LearnsetTable.WazaOboe[pokemonId]?.ar ?? [];
-}
- 
-function getLevelLearnset(pokemonId = 0) {
-  const learnset = getPokemonLearnset(pokemonId);
- 
-  const moveList = [];
-  for (let i = 0; i < learnset.length; i += 2) {
-    moveList.push({ level: learnset[i], move: getMoveProperties(learnset[i + 1]) });
-  }
- 
-  return moveList;
-}
- 
-function parseTmLearnsetSection(decimal) {
-  return (decimal >>> 0).toString(2).split('').reverse().join('').padStart(32, 0);
-}
- 
-function getTutorMoves(monsno = 0, formno = 0) {
-  if(monsno === 0) return [];
-  if(!Object.hasOwn(tutorMoves, monsno)) return [];
-  if(!Object.hasOwn(tutorMoves[monsno], formno)) return [];
-  const moveset = tutorMoves[monsno][formno];
-  const tutorSet = moveset.map(moveId => ({
-    moveLevel: 0,
-    move: getMoveProperties(moveId)
-  }));
- 
-  return tutorSet;
-}
- 
-module.exports = {
-  generateMovesViaLearnset,
-  getMoveId,
-  getMoveString,
-  isMoveNameSmogonCompatible,
-  getEggMoves,
-  getTechMachineLearnset,
-  getMoveProperties,
-  getPokemonLearnset,
-  parseTmLearnsetSection,
-  getLevelLearnset,
-  getTutorMoves
-};
- 
- -
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/lcov-report/plugins/pokedex-data-plugin/dex/name.js.html b/coverage/lcov-report/plugins/pokedex-data-plugin/dex/name.js.html deleted file mode 100644 index 5e4244b21f..0000000000 --- a/coverage/lcov-report/plugins/pokedex-data-plugin/dex/name.js.html +++ /dev/null @@ -1,373 +0,0 @@ - - - - - - Code coverage report for plugins/pokedex-data-plugin/dex/name.js - - - - - - - - - -
-
-

All files / plugins/pokedex-data-plugin/dex name.js

-
- -
- 97.67% - Statements - 42/43 -
- - -
- 81.25% - Branches - 26/32 -
- - -
- 92.3% - Functions - 12/13 -
- - -
- 97.36% - Lines - 37/38 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-

-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -45 -46 -47 -48 -49 -50 -51 -52 -53 -54 -55 -56 -57 -58 -59 -60 -61 -62 -63 -64 -65 -66 -67 -68 -69 -70 -71 -72 -73 -74 -75 -76 -77 -78 -79 -80 -81 -82 -83 -84 -85 -86 -87 -88 -89 -90 -91 -92 -93 -94 -95 -96 -974x -4x -  -4x -  -5868x -5868x -  -5868x -5868x -4047x -4047x -  -  -1821x -1821x -1796x -1796x -  -  -25x -24x -  -1x -  -  -  -  -2x -  -  -  -11552x -  -  -  -1507x -5x -  -  -  -32x -  -5x -  -5x -  -5x -  -5x -  -5x -  -5x -  -2x -  -  -  -  -7x -2055x -  -  -  -4x -2x -  -  -  -5075x -  -  -  -  -  -  -  -1466x -1466x -1466x -  -  -4x -  -  -  -  -  -  -  -  -  -  -  -  - 
const { PersonalTable, basePokemonNames, formPokemonNames } = require('./data');
-const { FORM_MAP } = require('./functions');
- 
-const POKEMON_NAME_MAP = PersonalTable.Personal.reduce(createPokemonMap, {});
-function createPokemonMap(pokemonNameMap, currentPokemon) {
-  try {
-    const { id } = currentPokemon;
- 
-    const baseFormName = basePokemonNames.labelDataArray[id]?.wordDataArray[0]?.str;
-    if (typeof baseFormName === 'string' && baseFormName.length > 0) {
-      pokemonNameMap[id] = baseFormName;
-      return pokemonNameMap;
-    }
- 
-    const alternateFormName = formPokemonNames.labelDataArray[id]?.wordDataArray[0]?.str;
-    if (typeof alternateFormName === 'string' && alternateFormName.length > 0) {
-      pokemonNameMap[id] = alternateFormName;
-      return pokemonNameMap;
-    }
- 
-    pokemonNameMap[id] = getFormNameOfProblematicPokemon(id);
-    return pokemonNameMap;
-  } catch (e) {
-    throw Error(`${currentPokemon.id} - ${e}`);
-  }
-}
- 
-function getFormName(id = 0) {
-  return POKEMON_NAME_MAP[id];
-}
- 
-function getPokemonName(pokemonId = 0) {
-  return POKEMON_NAME_MAP[pokemonId];
-}
- 
-function getPokemonIdFromName(name = 'Egg') {
-  const id = Object.values(POKEMON_NAME_MAP).findIndex((e) => e === name);
-  return id === -1 ? 0 : id;
-}
- 
-function getFormNameOfProblematicPokemon(id = 0) {
-  switch (id) {
-    case 1242:
-      return 'Ash-Greninja';
-    case 1285:
-      return 'Meowstic-F';
-    case 1310:
-      return 'Rockruff Own-Tempo';
-    case 1441:
-      return 'Indeedee-F';
-    case 1454:
-      return 'Basculegion-F';
-    case 1456:
-      return 'Oinkologne-F';
-    default:
-      throw Error(`Bad Pokemon ID in PokemonNameMap: ${id}`);
-  }
-}
- 
-function getPokemonMonsnoFromName(pokemonName) {
-  if (!pokemonName) return -1;
-  return basePokemonNames.labelDataArray.findIndex((e) => e.wordDataArray[0].str === pokemonName);
-}
- 
-function getPokemonNames(to, from = 0) {
-  if (typeof to !== 'number' || to < 0) return [];
-  return Object.values(POKEMON_NAME_MAP).slice(from, to);
-}
- 
-function getPokemonFormId(monsno = 0, id) {
-  return FORM_MAP[monsno]?.findIndex((e) => e === id) ?? -1;
-}
- 
-function normalizePokemonName(name) {
-  return name.toLowerCase().replace(/\s+/g, '').replaceAll("'", '');
-}
- 
-function getPokemonMonsNoAndFormNoFromPokemonId(pokemonId = 0) {
-	const { monsno } = PersonalTable.Personal[pokemonId];
-	const formno = FORM_MAP[monsno].indexOf(pokemonId);
-	return [monsno, formno];
-}
- 
-module.exports = {
-  getPokemonMonsnoFromName,
-  getFormName,
-  getFormNameOfProblematicPokemon,
-  getPokemonName,
-  getPokemonIdFromName,
-  getPokemonNames,
-  getPokemonFormId,
-  createPokemonMap,
-  POKEMON_NAME_MAP,
-  normalizePokemonName,
-  getPokemonMonsNoAndFormNoFromPokemonId
-};
- 
- -
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/lcov-report/plugins/pokedex-data-plugin/dex/nature.js.html b/coverage/lcov-report/plugins/pokedex-data-plugin/dex/nature.js.html deleted file mode 100644 index 8775751642..0000000000 --- a/coverage/lcov-report/plugins/pokedex-data-plugin/dex/nature.js.html +++ /dev/null @@ -1,127 +0,0 @@ - - - - - - Code coverage report for plugins/pokedex-data-plugin/dex/nature.js - - - - - - - - - -
-
-

All files / plugins/pokedex-data-plugin/dex nature.js

-
- -
- 100% - Statements - 10/10 -
- - -
- 80% - Branches - 4/5 -
- - -
- 100% - Functions - 3/3 -
- - -
- 100% - Lines - 7/7 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-

-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -151x -  -  -3x -26x -2x -1x -  -  -  -1x -  -  -1x - 
const { natureNames } = require('./data');
- 
-function getNatureId(natureString) {
-  if (!natureString) throw Error(`Bad natureString: ${natureString}`);
-  const index = natureNames.labelDataArray.findIndex((e) => e.wordDataArray[0].str === natureString);
-  if (index === -1) throw Error(`Bad natureString: ${natureString}`);
-  return index;
-}
- 
-function getNatureName(natureId = 0) {
-  return natureNames.labelDataArray[natureId].wordDataArray[0].str;
-}
- 
-module.exports = { getNatureId, getNatureName };
- 
- -
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/lcov-report/plugins/pokedex-data-plugin/dex/pokemon.js.html b/coverage/lcov-report/plugins/pokedex-data-plugin/dex/pokemon.js.html deleted file mode 100644 index 281f205587..0000000000 --- a/coverage/lcov-report/plugins/pokedex-data-plugin/dex/pokemon.js.html +++ /dev/null @@ -1,352 +0,0 @@ - - - - - - Code coverage report for plugins/pokedex-data-plugin/dex/pokemon.js - - - - - - - - - -
-
-

All files / plugins/pokedex-data-plugin/dex pokemon.js

-
- -
- 100% - Statements - 40/40 -
- - -
- 100% - Branches - 0/0 -
- - -
- 100% - Functions - 4/4 -
- - -
- 100% - Lines - 38/38 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-

-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -45 -46 -47 -48 -49 -50 -51 -52 -53 -54 -55 -56 -57 -58 -59 -60 -61 -62 -63 -64 -65 -66 -67 -68 -69 -70 -71 -72 -73 -74 -75 -76 -77 -78 -79 -80 -81 -82 -83 -84 -85 -86 -87 -88 -89 -901x -1x -1x -1x -1x -1x -1x -1x -  -  -1466x -1466x -1466x -1466x -1466x -1466x -  -  -  -  -  -  -  -8796x -1466x -1466x -1466x -1466x -1466x -1466x -1466x -1466x -1466x -  -1466x -1466x -1466x -  -1466x -  -  -  -  -  -1922x -1466x -8620x -  -  -  -  -  -1466x -1466x -  -1466x -1466x -1466x -  -1466x -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -1x - 
const { PersonalTable } = require('./data');
-const { getAbilityString } = require('./ability');
-const { getTechMachineLearnset, getLevelLearnset, getEggMoves, getTutorMoves } = require('./moves');
-const { getPokemonName, getPokemonMonsNoAndFormNoFromPokemonId } = require('./name');
-const { getTypeName } = require('./types');
-const { getGrassKnotPower, getImage, getPokemonFormIndexById, getPokemonFormIds } = require('./functions');
-const { getEggGroupViaPokemonId, getEggGroupNameById } = require('./egggroup');
-const { getItemString } = require('./item')
- 
-function getPokemon(pokemonId) {
-  const p = PersonalTable.Personal[pokemonId];
-  const id = p.id;
-  const monsno = p.monsno;
-  const [_, formno] = getPokemonMonsNoAndFormNoFromPokemonId(p.id);
-  const name = getPokemonName(p.id);
-  const baseStats = {
-    hp: p.basic_hp,
-    atk: p.basic_atk,
-    def: p.basic_def,
-    spa: p.basic_spatk,
-    spd: p.basic_spdef,
-    spe: p.basic_agi,
-  };
-  const baseStatsTotal = Object.values(baseStats).reduce((total, stat) => total + stat, 0);
-  const weight = p.weight / 10;
-  const height = p.height / 100;
-  const type1 = getTypeName(p.type1);
-  const type2 = getTypeName(p.type2);
-  const type1Id = p.type1;
-  const type2Id = p.type2;
-  const genderDecimalValue = p.sex;
-  const imageSrc = getImage(p.monsno, getPokemonFormIndexById(p.monsno, p.id));
-  const grassKnotPower = getGrassKnotPower(weight);
- 
-  const ability1 = getAbilityString(p.tokusei1);
-  const ability2 = getAbilityString(p.tokusei2);
-  const abilityH = getAbilityString(p.tokusei3);
- 
-  const learnset = {
-    level: getLevelLearnset(pokemonId),
-    tm: getTechMachineLearnset(p.machine1, p.machine2, p.machine3, p.machine4),
-    egg: getEggMoves(pokemonId),
-    tutor: getTutorMoves(monsno, formno)
-  };
-  const eggGroupNames = getEggGroupViaPokemonId(p.id).map((eggId) => getEggGroupNameById(eggId));
-  const forms = getPokemonFormIds(p.monsno).map((formId) => {
-    return {
-      name: getPokemonName(formId),
-      imageSrc: getImage(p.monsno, getPokemonFormIndexById(p.monsno, formId)),
-    };
-  });
- 
-  const isValid = p.valid_flag === 1;
-  const isBaseForm = p.form_index === 0;
- 
-  const item1 = getItemString(p.item1)
-  const item2 = getItemString(p.item2)
-  const item3 = getItemString(p.item3)
- 
-  return {
-    id,
-    monsno,
-    name,
-    baseStats,
-    baseStatsTotal,
-    weight,
-    height,
-    type1,
-    type2,
-    type1Id,
-    type2Id,
-    genderDecimalValue,
-    imageSrc,
-    grassKnotPower,
-    ability1,
-    ability2,
-    abilityH,
-    learnset,
-    eggGroupNames,
-    forms,
-    isValid,
-    isBaseForm,
-    item1,
-    item2,
-    item3,
-  };
-}
- 
-module.exports = { getPokemon };
- 
- -
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/lcov-report/plugins/pokedex-data-plugin/dex/types.js.html b/coverage/lcov-report/plugins/pokedex-data-plugin/dex/types.js.html deleted file mode 100644 index 751a796875..0000000000 --- a/coverage/lcov-report/plugins/pokedex-data-plugin/dex/types.js.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - Code coverage report for plugins/pokedex-data-plugin/dex/types.js - - - - - - - - - -
-
-

All files / plugins/pokedex-data-plugin/dex types.js

-
- -
- 85.71% - Statements - 6/7 -
- - -
- 60% - Branches - 3/5 -
- - -
- 100% - Functions - 2/2 -
- - -
- 100% - Lines - 6/6 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-

-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -163x -  -  -5866x -5866x -5866x -  -  -  -2x -  -  -  -  -3x - 
const { typeName } = require('./data');
- 
-function getTypeName(typeId = 0) {
-  const type = typeName.labelDataArray[typeId]?.wordDataArray[0]?.str;
-  Iif (!type) throw Error(`Bad typeId: ${typeId}`);
-  return type;
-}
- 
-function getTypes(pokemonObject) {
-  return pokemonObject.type1 === pokemonObject.type2
-    ? [getTypeName(pokemonObject.type1)]
-    : [getTypeName(pokemonObject.type1), getTypeName(pokemonObject.type2)];
-}
- 
-module.exports = { getTypeName, getTypes };
- 
- -
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/lcov-report/prettify.css b/coverage/lcov-report/prettify.css deleted file mode 100644 index b317a7cda3..0000000000 --- a/coverage/lcov-report/prettify.css +++ /dev/null @@ -1 +0,0 @@ -.pln{color:#000}@media screen{.str{color:#080}.kwd{color:#008}.com{color:#800}.typ{color:#606}.lit{color:#066}.pun,.opn,.clo{color:#660}.tag{color:#008}.atn{color:#606}.atv{color:#080}.dec,.var{color:#606}.fun{color:red}}@media print,projection{.str{color:#060}.kwd{color:#006;font-weight:bold}.com{color:#600;font-style:italic}.typ{color:#404;font-weight:bold}.lit{color:#044}.pun,.opn,.clo{color:#440}.tag{color:#006;font-weight:bold}.atn{color:#404}.atv{color:#060}}pre.prettyprint{padding:2px;border:1px solid #888}ol.linenums{margin-top:0;margin-bottom:0}li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8{list-style-type:none}li.L1,li.L3,li.L5,li.L7,li.L9{background:#eee} diff --git a/coverage/lcov-report/prettify.js b/coverage/lcov-report/prettify.js deleted file mode 100644 index b3225238f2..0000000000 --- a/coverage/lcov-report/prettify.js +++ /dev/null @@ -1,2 +0,0 @@ -/* eslint-disable */ -window.PR_SHOULD_USE_CONTINUATION=true;(function(){var h=["break,continue,do,else,for,if,return,while"];var u=[h,"auto,case,char,const,default,double,enum,extern,float,goto,int,long,register,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"];var p=[u,"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"];var l=[p,"alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,dynamic_cast,explicit,export,friend,inline,late_check,mutable,namespace,nullptr,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"];var x=[p,"abstract,boolean,byte,extends,final,finally,implements,import,instanceof,null,native,package,strictfp,super,synchronized,throws,transient"];var R=[x,"as,base,by,checked,decimal,delegate,descending,dynamic,event,fixed,foreach,from,group,implicit,in,interface,internal,into,is,lock,object,out,override,orderby,params,partial,readonly,ref,sbyte,sealed,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,var"];var r="all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,true,try,unless,until,when,while,yes";var w=[p,"debugger,eval,export,function,get,null,set,undefined,var,with,Infinity,NaN"];var s="caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END";var I=[h,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"];var f=[h,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"];var H=[h,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"];var A=[l,R,w,s+I,f,H];var e=/^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?iterator|(multi)?(set|map)|bitset|u?(int|float)\d*)/;var C="str";var z="kwd";var j="com";var O="typ";var G="lit";var L="pun";var F="pln";var m="tag";var E="dec";var J="src";var P="atn";var n="atv";var N="nocode";var M="(?:^^\\.?|[+-]|\\!|\\!=|\\!==|\\#|\\%|\\%=|&|&&|&&=|&=|\\(|\\*|\\*=|\\+=|\\,|\\-=|\\->|\\/|\\/=|:|::|\\;|<|<<|<<=|<=|=|==|===|>|>=|>>|>>=|>>>|>>>=|\\?|\\@|\\[|\\^|\\^=|\\^\\^|\\^\\^=|\\{|\\||\\|=|\\|\\||\\|\\|=|\\~|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function k(Z){var ad=0;var S=false;var ac=false;for(var V=0,U=Z.length;V122)){if(!(al<65||ag>90)){af.push([Math.max(65,ag)|32,Math.min(al,90)|32])}if(!(al<97||ag>122)){af.push([Math.max(97,ag)&~32,Math.min(al,122)&~32])}}}}af.sort(function(av,au){return(av[0]-au[0])||(au[1]-av[1])});var ai=[];var ap=[NaN,NaN];for(var ar=0;arat[0]){if(at[1]+1>at[0]){an.push("-")}an.push(T(at[1]))}}an.push("]");return an.join("")}function W(al){var aj=al.source.match(new RegExp("(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)","g"));var ah=aj.length;var an=[];for(var ak=0,am=0;ak=2&&ai==="["){aj[ak]=X(ag)}else{if(ai!=="\\"){aj[ak]=ag.replace(/[a-zA-Z]/g,function(ao){var ap=ao.charCodeAt(0);return"["+String.fromCharCode(ap&~32,ap|32)+"]"})}}}}return aj.join("")}var aa=[];for(var V=0,U=Z.length;V=0;){S[ac.charAt(ae)]=Y}}var af=Y[1];var aa=""+af;if(!ag.hasOwnProperty(aa)){ah.push(af);ag[aa]=null}}ah.push(/[\0-\uffff]/);V=k(ah)})();var X=T.length;var W=function(ah){var Z=ah.sourceCode,Y=ah.basePos;var ad=[Y,F];var af=0;var an=Z.match(V)||[];var aj={};for(var ae=0,aq=an.length;ae=5&&"lang-"===ap.substring(0,5);if(am&&!(ai&&typeof ai[1]==="string")){am=false;ap=J}if(!am){aj[ag]=ap}}var ab=af;af+=ag.length;if(!am){ad.push(Y+ab,ap)}else{var al=ai[1];var ak=ag.indexOf(al);var ac=ak+al.length;if(ai[2]){ac=ag.length-ai[2].length;ak=ac-al.length}var ar=ap.substring(5);B(Y+ab,ag.substring(0,ak),W,ad);B(Y+ab+ak,al,q(ar,al),ad);B(Y+ab+ac,ag.substring(ac),W,ad)}}ah.decorations=ad};return W}function i(T){var W=[],S=[];if(T.tripleQuotedStrings){W.push([C,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,"'\""])}else{if(T.multiLineStrings){W.push([C,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"])}else{W.push([C,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,"\"'"])}}if(T.verbatimStrings){S.push([C,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null])}var Y=T.hashComments;if(Y){if(T.cStyleComments){if(Y>1){W.push([j,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"])}else{W.push([j,/^#(?:(?:define|elif|else|endif|error|ifdef|include|ifndef|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"])}S.push([C,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h|[a-z]\w*)>/,null])}else{W.push([j,/^#[^\r\n]*/,null,"#"])}}if(T.cStyleComments){S.push([j,/^\/\/[^\r\n]*/,null]);S.push([j,/^\/\*[\s\S]*?(?:\*\/|$)/,null])}if(T.regexLiterals){var X=("/(?=[^/*])(?:[^/\\x5B\\x5C]|\\x5C[\\s\\S]|\\x5B(?:[^\\x5C\\x5D]|\\x5C[\\s\\S])*(?:\\x5D|$))+/");S.push(["lang-regex",new RegExp("^"+M+"("+X+")")])}var V=T.types;if(V){S.push([O,V])}var U=(""+T.keywords).replace(/^ | $/g,"");if(U.length){S.push([z,new RegExp("^(?:"+U.replace(/[\s,]+/g,"|")+")\\b"),null])}W.push([F,/^\s+/,null," \r\n\t\xA0"]);S.push([G,/^@[a-z_$][a-z_$@0-9]*/i,null],[O,/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[F,/^[a-z_$][a-z_$@0-9]*/i,null],[G,new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],[F,/^\\[\s\S]?/,null],[L,/^.[^\s\w\.$@\'\"\`\/\#\\]*/,null]);return g(W,S)}var K=i({keywords:A,hashComments:true,cStyleComments:true,multiLineStrings:true,regexLiterals:true});function Q(V,ag){var U=/(?:^|\s)nocode(?:\s|$)/;var ab=/\r\n?|\n/;var ac=V.ownerDocument;var S;if(V.currentStyle){S=V.currentStyle.whiteSpace}else{if(window.getComputedStyle){S=ac.defaultView.getComputedStyle(V,null).getPropertyValue("white-space")}}var Z=S&&"pre"===S.substring(0,3);var af=ac.createElement("LI");while(V.firstChild){af.appendChild(V.firstChild)}var W=[af];function ae(al){switch(al.nodeType){case 1:if(U.test(al.className)){break}if("BR"===al.nodeName){ad(al);if(al.parentNode){al.parentNode.removeChild(al)}}else{for(var an=al.firstChild;an;an=an.nextSibling){ae(an)}}break;case 3:case 4:if(Z){var am=al.nodeValue;var aj=am.match(ab);if(aj){var ai=am.substring(0,aj.index);al.nodeValue=ai;var ah=am.substring(aj.index+aj[0].length);if(ah){var ak=al.parentNode;ak.insertBefore(ac.createTextNode(ah),al.nextSibling)}ad(al);if(!ai){al.parentNode.removeChild(al)}}}break}}function ad(ak){while(!ak.nextSibling){ak=ak.parentNode;if(!ak){return}}function ai(al,ar){var aq=ar?al.cloneNode(false):al;var ao=al.parentNode;if(ao){var ap=ai(ao,1);var an=al.nextSibling;ap.appendChild(aq);for(var am=an;am;am=an){an=am.nextSibling;ap.appendChild(am)}}return aq}var ah=ai(ak.nextSibling,0);for(var aj;(aj=ah.parentNode)&&aj.nodeType===1;){ah=aj}W.push(ah)}for(var Y=0;Y=S){ah+=2}if(V>=ap){Z+=2}}}var t={};function c(U,V){for(var S=V.length;--S>=0;){var T=V[S];if(!t.hasOwnProperty(T)){t[T]=U}else{if(window.console){console.warn("cannot override language handler %s",T)}}}}function q(T,S){if(!(T&&t.hasOwnProperty(T))){T=/^\s*]*(?:>|$)/],[j,/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],[L,/^(?:<[%?]|[%?]>)/],["lang-",/^]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]);c(g([[F,/^[\s]+/,null," \t\r\n"],[n,/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,"\"'"]],[[m,/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],[P,/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],[L,/^[=<>\/]+/],["lang-js",/^on\w+\s*=\s*\"([^\"]+)\"/i],["lang-js",/^on\w+\s*=\s*\'([^\']+)\'/i],["lang-js",/^on\w+\s*=\s*([^\"\'>\s]+)/i],["lang-css",/^style\s*=\s*\"([^\"]+)\"/i],["lang-css",/^style\s*=\s*\'([^\']+)\'/i],["lang-css",/^style\s*=\s*([^\"\'>\s]+)/i]]),["in.tag"]);c(g([],[[n,/^[\s\S]+/]]),["uq.val"]);c(i({keywords:l,hashComments:true,cStyleComments:true,types:e}),["c","cc","cpp","cxx","cyc","m"]);c(i({keywords:"null,true,false"}),["json"]);c(i({keywords:R,hashComments:true,cStyleComments:true,verbatimStrings:true,types:e}),["cs"]);c(i({keywords:x,cStyleComments:true}),["java"]);c(i({keywords:H,hashComments:true,multiLineStrings:true}),["bsh","csh","sh"]);c(i({keywords:I,hashComments:true,multiLineStrings:true,tripleQuotedStrings:true}),["cv","py"]);c(i({keywords:s,hashComments:true,multiLineStrings:true,regexLiterals:true}),["perl","pl","pm"]);c(i({keywords:f,hashComments:true,multiLineStrings:true,regexLiterals:true}),["rb"]);c(i({keywords:w,cStyleComments:true,regexLiterals:true}),["js"]);c(i({keywords:r,hashComments:3,cStyleComments:true,multilineStrings:true,tripleQuotedStrings:true,regexLiterals:true}),["coffee"]);c(g([],[[C,/^[\s\S]+/]]),["regex"]);function d(V){var U=V.langExtension;try{var S=a(V.sourceNode);var T=S.sourceCode;V.sourceCode=T;V.spans=S.spans;V.basePos=0;q(U,T)(V);D(V)}catch(W){if("console" in window){console.log(W&&W.stack?W.stack:W)}}}function y(W,V,U){var S=document.createElement("PRE");S.innerHTML=W;if(U){Q(S,U)}var T={langExtension:V,numberLines:U,sourceNode:S};d(T);return S.innerHTML}function b(ad){function Y(af){return document.getElementsByTagName(af)}var ac=[Y("pre"),Y("code"),Y("xmp")];var T=[];for(var aa=0;aa=0){var ah=ai.match(ab);var am;if(!ah&&(am=o(aj))&&"CODE"===am.tagName){ah=am.className.match(ab)}if(ah){ah=ah[1]}var al=false;for(var ak=aj.parentNode;ak;ak=ak.parentNode){if((ak.tagName==="pre"||ak.tagName==="code"||ak.tagName==="xmp")&&ak.className&&ak.className.indexOf("prettyprint")>=0){al=true;break}}if(!al){var af=aj.className.match(/\blinenums\b(?::(\d+))?/);af=af?af[1]&&af[1].length?+af[1]:true:false;if(af){Q(aj,af)}S={langExtension:ah,sourceNode:aj,numberLines:af};d(S)}}}if(X]*(?:>|$)/],[PR.PR_COMMENT,/^<\!--[\s\S]*?(?:-\->|$)/],[PR.PR_PUNCTUATION,/^(?:<[%?]|[%?]>)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],["lang-",/^]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-handlebars",/^]*type\s*=\s*['"]?text\/x-handlebars-template['"]?\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-js",/^]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i],[PR.PR_DECLARATION,/^{{[#^>/]?\s*[\w.][^}]*}}/],[PR.PR_DECLARATION,/^{{&?\s*[\w.][^}]*}}/],[PR.PR_DECLARATION,/^{{{>?\s*[\w.][^}]*}}}/],[PR.PR_COMMENT,/^{{![^}]*}}/]]),["handlebars","hbs"]);PR.registerLangHandler(PR.createSimpleLexer([[PR.PR_PLAIN,/^[ \t\r\n\f]+/,null," \t\r\n\f"]],[[PR.PR_STRING,/^\"(?:[^\n\r\f\\\"]|\\(?:\r\n?|\n|\f)|\\[\s\S])*\"/,null],[PR.PR_STRING,/^\'(?:[^\n\r\f\\\']|\\(?:\r\n?|\n|\f)|\\[\s\S])*\'/,null],["lang-css-str",/^url\(([^\)\"\']*)\)/i],[PR.PR_KEYWORD,/^(?:url|rgb|\!important|@import|@page|@media|@charset|inherit)(?=[^\-\w]|$)/i,null],["lang-css-kw",/^(-?(?:[_a-z]|(?:\\[0-9a-f]+ ?))(?:[_a-z0-9\-]|\\(?:\\[0-9a-f]+ ?))*)\s*:/i],[PR.PR_COMMENT,/^\/\*[^*]*\*+(?:[^\/*][^*]*\*+)*\//],[PR.PR_COMMENT,/^(?:)/],[PR.PR_LITERAL,/^(?:\d+|\d*\.\d+)(?:%|[a-z]+)?/i],[PR.PR_LITERAL,/^#(?:[0-9a-f]{3}){1,2}/i],[PR.PR_PLAIN,/^-?(?:[_a-z]|(?:\\[\da-f]+ ?))(?:[_a-z\d\-]|\\(?:\\[\da-f]+ ?))*/i],[PR.PR_PUNCTUATION,/^[^\s\w\'\"]+/]]),["css"]);PR.registerLangHandler(PR.createSimpleLexer([],[[PR.PR_KEYWORD,/^-?(?:[_a-z]|(?:\\[\da-f]+ ?))(?:[_a-z\d\-]|\\(?:\\[\da-f]+ ?))*/i]]),["css-kw"]);PR.registerLangHandler(PR.createSimpleLexer([],[[PR.PR_STRING,/^[^\)\"\']+/]]),["css-str"]); diff --git a/coverage/lcov-report/sort-arrow-sprite.png b/coverage/lcov-report/sort-arrow-sprite.png deleted file mode 100644 index 6ed68316eb..0000000000 Binary files a/coverage/lcov-report/sort-arrow-sprite.png and /dev/null differ diff --git a/coverage/lcov-report/sorter.js b/coverage/lcov-report/sorter.js deleted file mode 100644 index 2bb296a8ca..0000000000 --- a/coverage/lcov-report/sorter.js +++ /dev/null @@ -1,196 +0,0 @@ -/* eslint-disable */ -var addSorting = (function() { - 'use strict'; - var cols, - currentSort = { - index: 0, - desc: false - }; - - // returns the summary table element - function getTable() { - return document.querySelector('.coverage-summary'); - } - // returns the thead element of the summary table - function getTableHeader() { - return getTable().querySelector('thead tr'); - } - // returns the tbody element of the summary table - function getTableBody() { - return getTable().querySelector('tbody'); - } - // returns the th element for nth column - function getNthColumn(n) { - return getTableHeader().querySelectorAll('th')[n]; - } - - function onFilterInput() { - const searchValue = document.getElementById('fileSearch').value; - const rows = document.getElementsByTagName('tbody')[0].children; - for (let i = 0; i < rows.length; i++) { - const row = rows[i]; - if ( - row.textContent - .toLowerCase() - .includes(searchValue.toLowerCase()) - ) { - row.style.display = ''; - } else { - row.style.display = 'none'; - } - } - } - - // loads the search box - function addSearchBox() { - var template = document.getElementById('filterTemplate'); - var templateClone = template.content.cloneNode(true); - templateClone.getElementById('fileSearch').oninput = onFilterInput; - template.parentElement.appendChild(templateClone); - } - - // loads all columns - function loadColumns() { - var colNodes = getTableHeader().querySelectorAll('th'), - colNode, - cols = [], - col, - i; - - for (i = 0; i < colNodes.length; i += 1) { - colNode = colNodes[i]; - col = { - key: colNode.getAttribute('data-col'), - sortable: !colNode.getAttribute('data-nosort'), - type: colNode.getAttribute('data-type') || 'string' - }; - cols.push(col); - if (col.sortable) { - col.defaultDescSort = col.type === 'number'; - colNode.innerHTML = - colNode.innerHTML + ''; - } - } - return cols; - } - // attaches a data attribute to every tr element with an object - // of data values keyed by column name - function loadRowData(tableRow) { - var tableCols = tableRow.querySelectorAll('td'), - colNode, - col, - data = {}, - i, - val; - for (i = 0; i < tableCols.length; i += 1) { - colNode = tableCols[i]; - col = cols[i]; - val = colNode.getAttribute('data-value'); - if (col.type === 'number') { - val = Number(val); - } - data[col.key] = val; - } - return data; - } - // loads all row data - function loadData() { - var rows = getTableBody().querySelectorAll('tr'), - i; - - for (i = 0; i < rows.length; i += 1) { - rows[i].data = loadRowData(rows[i]); - } - } - // sorts the table using the data for the ith column - function sortByIndex(index, desc) { - var key = cols[index].key, - sorter = function(a, b) { - a = a.data[key]; - b = b.data[key]; - return a < b ? -1 : a > b ? 1 : 0; - }, - finalSorter = sorter, - tableBody = document.querySelector('.coverage-summary tbody'), - rowNodes = tableBody.querySelectorAll('tr'), - rows = [], - i; - - if (desc) { - finalSorter = function(a, b) { - return -1 * sorter(a, b); - }; - } - - for (i = 0; i < rowNodes.length; i += 1) { - rows.push(rowNodes[i]); - tableBody.removeChild(rowNodes[i]); - } - - rows.sort(finalSorter); - - for (i = 0; i < rows.length; i += 1) { - tableBody.appendChild(rows[i]); - } - } - // removes sort indicators for current column being sorted - function removeSortIndicators() { - var col = getNthColumn(currentSort.index), - cls = col.className; - - cls = cls.replace(/ sorted$/, '').replace(/ sorted-desc$/, ''); - col.className = cls; - } - // adds sort indicators for current column being sorted - function addSortIndicators() { - getNthColumn(currentSort.index).className += currentSort.desc - ? ' sorted-desc' - : ' sorted'; - } - // adds event listeners for all sorter widgets - function enableUI() { - var i, - el, - ithSorter = function ithSorter(i) { - var col = cols[i]; - - return function() { - var desc = col.defaultDescSort; - - if (currentSort.index === i) { - desc = !currentSort.desc; - } - sortByIndex(i, desc); - removeSortIndicators(); - currentSort.index = i; - currentSort.desc = desc; - addSortIndicators(); - }; - }; - for (i = 0; i < cols.length; i += 1) { - if (cols[i].sortable) { - // add the click event handler on the th so users - // dont have to click on those tiny arrows - el = getNthColumn(i).querySelector('.sorter').parentElement; - if (el.addEventListener) { - el.addEventListener('click', ithSorter(i)); - } else { - el.attachEvent('onclick', ithSorter(i)); - } - } - } - } - // adds sorting functionality to the UI - return function() { - if (!getTable()) { - return; - } - cols = loadColumns(); - loadData(); - addSearchBox(); - addSortIndicators(); - enableUI(); - }; -})(); - -window.addEventListener('load', addSorting); diff --git a/coverage/lcov-report/src/components/Pokedex/PokemonAbilities.jsx.html b/coverage/lcov-report/src/components/Pokedex/PokemonAbilities.jsx.html deleted file mode 100644 index 2fd95b1386..0000000000 --- a/coverage/lcov-report/src/components/Pokedex/PokemonAbilities.jsx.html +++ /dev/null @@ -1,244 +0,0 @@ - - - - - - Code coverage report for src/components/Pokedex/PokemonAbilities.jsx - - - - - - - - - -
-
-

All files / src/components/Pokedex PokemonAbilities.jsx

-
- -
- 100% - Statements - 13/13 -
- - -
- 100% - Branches - 18/18 -
- - -
- 100% - Functions - 2/2 -
- - -
- 100% - Lines - 13/13 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-

-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -45 -46 -47 -48 -49 -50 -51 -52 -53 -54  -  -  -  -1x -5x -5x -5x -  -5x -1x -  -  -  -  -  -  -4x -1x -  -  -  -  -  -  -  -3x -2x -  -  -  -  -  -  -  -1x -  -  -  -  -  -  -  -  -1x -10x -  -  -  -  -  -  -  - 
import React from 'react';
-import { Box } from '@mui/system';
-import { Typography } from '@mui/material';
- 
-export const PokemonAbilities = ({ abilityName1, abilityName2, abilityNameHidden }) => {
-  const allAbilitiesAreEqual = abilityName1 === abilityName2 && abilityName2 === abilityNameHidden;
-  const hiddenAbilityIsDifferent = abilityName1 === abilityName2 && abilityName1 !== abilityNameHidden;
-  const abilityIsSameAsHidden = abilityName1 === abilityNameHidden || abilityName2 === abilityNameHidden;
- 
-  if (allAbilitiesAreEqual) {
-    return (
-      <Box display="flex">
-        <PokemonAbility abilityName={abilityName1} isHiddenAbility={false} needsSpacing={false} />
-      </Box>
-    );
-  }
- 
-  if (hiddenAbilityIsDifferent) {
-    return (
-      <Box display="flex">
-        <PokemonAbility abilityName={abilityName1} isHiddenAbility={false} needsSpacing={true} />
-        <PokemonAbility abilityName={abilityNameHidden} isHiddenAbility={true} needsSpacing={false} />
-      </Box>
-    );
-  }
- 
-  if (abilityIsSameAsHidden) {
-    return (
-      <Box display="flex">
-        <PokemonAbility abilityName={abilityName1} isHiddenAbility={false} needsSpacing={true} />
-        <PokemonAbility abilityName={abilityName2} isHiddenAbility={false} needsSpacing={false} />
-      </Box>
-    );
-  }
- 
-  return (
-    <Box display="flex">
-      <PokemonAbility abilityName={abilityName1} isHiddenAbility={false} needsSpacing={true} />
-      <PokemonAbility abilityName={abilityName2} isHiddenAbility={false} needsSpacing={true} />
-      <PokemonAbility abilityName={abilityNameHidden} isHiddenAbility={true} needsSpacing={false} />
-    </Box>
-  );
-};
- 
-export const PokemonAbility = ({ abilityName, isHiddenAbility, needsSpacing }) => {
-  return (
-    <Typography sx={{ textDecoration: 'underline', fontSize: '0.9rem', marginRight: needsSpacing && '8px' }}>
-      {abilityName}
-      {isHiddenAbility && ' (H)'}
-      {needsSpacing && ','}
-    </Typography>
-  );
-};
- 
- -
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/lcov-report/src/components/Pokedex/index.html b/coverage/lcov-report/src/components/Pokedex/index.html deleted file mode 100644 index 90886eddab..0000000000 --- a/coverage/lcov-report/src/components/Pokedex/index.html +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - Code coverage report for src/components/Pokedex - - - - - - - - - -
-
-

All files src/components/Pokedex

-
- -
- 100% - Statements - 13/13 -
- - -
- 100% - Branches - 18/18 -
- - -
- 100% - Functions - 2/2 -
- - -
- 100% - Lines - 13/13 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
PokemonAbilities.jsx -
-
100%13/13100%18/18100%2/2100%13/13
-
-
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/lcov-report/src/components/Pokedex2/PokemonAbilities.jsx.html b/coverage/lcov-report/src/components/Pokedex2/PokemonAbilities.jsx.html deleted file mode 100644 index 53e68a83b5..0000000000 --- a/coverage/lcov-report/src/components/Pokedex2/PokemonAbilities.jsx.html +++ /dev/null @@ -1,340 +0,0 @@ - - - - - - Code coverage report for src/components/Pokedex2/PokemonAbilities.jsx - - - - - - - - - -
-
-

All files / src/components/Pokedex2 PokemonAbilities.jsx

-
- -
- 88.88% - Statements - 16/18 -
- - -
- 100% - Branches - 18/18 -
- - -
- 50% - Functions - 2/4 -
- - -
- 88.88% - Lines - 16/18 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-

-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -45 -46 -47 -48 -49 -50 -51 -52 -53 -54 -55 -56 -57 -58 -59 -60 -61 -62 -63 -64 -65 -66 -67 -68 -69 -70 -71 -72 -73 -74 -75 -76 -77 -78 -79 -80 -81 -82 -83 -84 -85 -86  -  -  -  -  -1x -5x -5x -5x -  -5x -1x -  -  -  -  -  -  -4x -1x -  -  -  -  -  -  -  -3x -2x -  -  -  -  -  -  -  -1x -  -  -  -  -  -  -  -  -1x -10x -  -10x -  -  -  -10x -  -  -10x -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - 
import React, { useState } from 'react';
-import { Box } from '@mui/system';
-import { Typography, Modal } from '@mui/material';
-import { getAbilityIdFromAbilityName, getAbilityInfo } from '../../utils/dex/ability';
- 
-export const PokemonAbilities = ({ abilityName1, abilityName2, abilityNameHidden }) => {
-  const allAbilitiesAreEqual = abilityName1 === abilityName2 && abilityName2 === abilityNameHidden;
-  const hiddenAbilityIsDifferent = abilityName1 === abilityName2 && abilityName1 !== abilityNameHidden;
-  const abilityIsSameAsHidden = abilityName1 === abilityNameHidden || abilityName2 === abilityNameHidden;
- 
-  if (allAbilitiesAreEqual) {
-    return (
-      <Box display="flex">
-        <PokemonAbility abilityName={abilityName1} isHiddenAbility={false} needsSpacing={false} />
-      </Box>
-    );
-  }
- 
-  if (hiddenAbilityIsDifferent) {
-    return (
-      <Box display="flex">
-        <PokemonAbility abilityName={abilityName1} isHiddenAbility={false} needsSpacing={true} />
-        <PokemonAbility abilityName={abilityNameHidden} isHiddenAbility={true} needsSpacing={false} />
-      </Box>
-    );
-  }
- 
-  if (abilityIsSameAsHidden) {
-    return (
-      <Box display="flex">
-        <PokemonAbility abilityName={abilityName1} isHiddenAbility={false} needsSpacing={true} />
-        <PokemonAbility abilityName={abilityName2} isHiddenAbility={false} needsSpacing={false} />
-      </Box>
-    );
-  }
- 
-  return (
-    <Box display="flex">
-      <PokemonAbility abilityName={abilityName1} isHiddenAbility={false} needsSpacing={true} />
-      <PokemonAbility abilityName={abilityName2} isHiddenAbility={false} needsSpacing={true} />
-      <PokemonAbility abilityName={abilityNameHidden} isHiddenAbility={true} needsSpacing={false} />
-    </Box>
-  );
-};
- 
-export const PokemonAbility = ({ abilityName, isHiddenAbility, needsSpacing }) => {
-  const [open, setOpen] = useState(false);
- 
-  const handleOpen = () => {
-    setOpen(true);
-  };
- 
-  const handleClose = () => {
-    setOpen(false);
-  };
-  return (
-    <div style={{ display: 'inline' }}>
-      <Typography
-        sx={{ textDecoration: 'underline', fontSize: '0.9rem', marginRight: needsSpacing && '8px', cursor: 'pointer' }}
-        onClick={handleOpen}
-      >
-        {abilityName}
-        {isHiddenAbility && ' (H)'}
-        {needsSpacing && ','}
-      </Typography>
-      <Modal open={open} onClose={handleClose}>
-      <Box style={{
-          position: 'absolute',
-          top: '50%',
-          left: '50%',
-          transform: 'translate(-50%, -50%)',
-          backgroundColor: 'var(--ifm-color-content-inverse)',
-          color: 'var(--ifm-color-content)',
-          padding: '16px',
-          borderRadius: '8px',
-          border: 'var(--ifm-table-border-width) solid var(--ifm-table-border-color)',
-        }}
-        >
-          <Typography variant="h5" style={{ textAlign: 'center' }}>{abilityName}</Typography>
-          <Typography variant="h6">{getAbilityInfo(getAbilityIdFromAbilityName(abilityName))}</Typography>
-        </Box>
-      </Modal>
-    </div>
-  );
-};
- 
- -
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/lcov-report/src/components/Pokedex2/index.html b/coverage/lcov-report/src/components/Pokedex2/index.html deleted file mode 100644 index cbf8e4c14e..0000000000 --- a/coverage/lcov-report/src/components/Pokedex2/index.html +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - Code coverage report for src/components/Pokedex2 - - - - - - - - - -
-
-

All files src/components/Pokedex2

-
- -
- 88.88% - Statements - 16/18 -
- - -
- 100% - Branches - 18/18 -
- - -
- 50% - Functions - 2/4 -
- - -
- 88.88% - Lines - 16/18 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
PokemonAbilities.jsx -
-
88.88%16/18100%18/1850%2/488.88%16/18
-
-
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/lcov-report/src/core/genderRatioConverter.js.html b/coverage/lcov-report/src/core/genderRatioConverter.js.html deleted file mode 100644 index cee1fb0b75..0000000000 --- a/coverage/lcov-report/src/core/genderRatioConverter.js.html +++ /dev/null @@ -1,148 +0,0 @@ - - - - - - Code coverage report for src/core/genderRatioConverter.js - - - - - - - - - -
-
-

All files / src/core genderRatioConverter.js

-
- -
- 92.85% - Statements - 13/14 -
- - -
- 83.33% - Branches - 5/6 -
- - -
- 100% - Functions - 1/1 -
- - -
- 92.85% - Lines - 13/14 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-

-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -221x -7x -1x -  -6x -5x -5x -5x -5x -5x -5x -5x -  -  -  -  -1x -1x -  -  -  - 
export const convertGenderRatioFromDecimal = (decimalValue) => {
-  if (decimalValue === 0) {
-    return { male: 100.0, female: 0.0 };
-  }
-  if (decimalValue < 254) {
-    const firstStep = decimalValue-1;
-    const secondStep = 100*firstStep;
-    const thirdStep = secondStep/253;
-    const female = parseFloat(thirdStep.toFixed(2));
-    const finalStep = 100-female;
-    const male = parseFloat(finalStep.toFixed(2));
-    return {
-      male: male,
-      female: female
-    };
-  }
-  Eif (decimalValue === 254) {
-    return { male: 0.0, female: 100 };
-  }
-  return { male: 0.0, female: 0.0 };
-};
- 
- -
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/lcov-report/src/core/index.html b/coverage/lcov-report/src/core/index.html deleted file mode 100644 index b41f2a009c..0000000000 --- a/coverage/lcov-report/src/core/index.html +++ /dev/null @@ -1,146 +0,0 @@ - - - - - - Code coverage report for src/core - - - - - - - - - -
-
-

All files src/core

-
- -
- 95.91% - Statements - 47/49 -
- - -
- 73.91% - Branches - 17/23 -
- - -
- 100% - Functions - 10/10 -
- - -
- 97.87% - Lines - 46/47 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
genderRatioConverter.js -
-
92.85%13/1483.33%5/6100%1/192.85%13/14
pokemonFormSelector.js -
-
100%15/1585.71%6/7100%4/4100%14/14
pokemonStatCalculation.js -
-
95%19/2060%6/10100%5/5100%19/19
-
-
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/lcov-report/src/core/pokemonFormSelector.js.html b/coverage/lcov-report/src/core/pokemonFormSelector.js.html deleted file mode 100644 index c6f2788b39..0000000000 --- a/coverage/lcov-report/src/core/pokemonFormSelector.js.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - Code coverage report for src/core/pokemonFormSelector.js - - - - - - - - - -
-
-

All files / src/core pokemonFormSelector.js

-
- -
- 100% - Statements - 15/15 -
- - -
- 85.71% - Branches - 6/7 -
- - -
- 100% - Functions - 4/4 -
- - -
- 100% - Lines - 14/14 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-

-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26  -  -1x -  -1x -1466x -1011x -  -  -1466x -1466x -1466x -  -1466x -  -  -1x -5075x -  -  -1x -1473x -1473x -1473x -  - 
import { PersonalTable, formPokemonNames, basePokemonNames } from '../../__gamedata';
- 
-const UNKNOWN_POKEMON_FORM_NAME = 'Egg';
- 
-export const POKEMON_FORM_ID_MAP = PersonalTable.Personal.reduce((formMap, pokemon) => {
-  if (!Array.isArray(formMap[pokemon.monsno])) {
-    formMap[pokemon.monsno] = [];
-  }
- 
-  const pokemonData = basePokemonNames.labelDataArray[pokemon.id] ?? formPokemonNames.labelDataArray[pokemon.id];
-  const formName = pokemonData?.wordDataArray[0]?.str || UNKNOWN_POKEMON_FORM_NAME;
-  formMap[pokemon.monsno].push({ pokemonId: pokemon.id, formName: formName });
- 
-  return formMap;
-}, {});
- 
-export const getPokemonFormIndexById = (monsno, id) => {
-  return POKEMON_FORM_ID_MAP[monsno].findIndex((pokemonForm) => pokemonForm.pokemonId === id);
-};
- 
-export const getPokemonImageFilename = (monsno, formIndex = 0) => {
-  const paddedMonsno = monsno.toString().padStart(4, 0);
-  const paddedFormIndex = formIndex.toString().padStart(2, 0);
-  return `pm${paddedMonsno}_${paddedFormIndex}_00_00_L.webp`;
-};
- 
- -
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/lcov-report/src/core/pokemonStatCalculation.js.html b/coverage/lcov-report/src/core/pokemonStatCalculation.js.html deleted file mode 100644 index bd23563d1d..0000000000 --- a/coverage/lcov-report/src/core/pokemonStatCalculation.js.html +++ /dev/null @@ -1,226 +0,0 @@ - - - - - - Code coverage report for src/core/pokemonStatCalculation.js - - - - - - - - - -
-
-

All files / src/core pokemonStatCalculation.js

-
- -
- 95% - Statements - 19/20 -
- - -
- 60% - Branches - 6/10 -
- - -
- 100% - Functions - 5/5 -
- - -
- 100% - Lines - 19/19 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-

-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -45 -46 -47 -481x -  -  -  -  -  -1x -  -  -  -  -1x -  -  -  -  -1x -16x -8x -8x -  -  -  -8x -  -8x -8x -  -  -8x -  -  -1x -4x -  -  -1x -4x -  -  -1x -4x -  -  -1x -4x -  - 
const NATURE_MULTIPLIER = {
-  LOW: 0.9,
-  STANDARD: 1.0,
-  HIGH: 1.1,
-};
- 
-const IV = {
-  MIN: 0,
-  MAX: 31,
-};
- 
-const EV = {
-  MIN: 0,
-  MAX: 255,
-};
- 
-export const calcStat = (baseStat, isHP, level, individualValue = 0, effortValue = 0, natureMult) => {
-  if (isHP) {
-    Iif (baseStat === 1) return 1;
-    return Math.floor(
-      (Math.floor(2 * baseStat + individualValue + Math.floor(effortValue / 4) + 100) * level) / 100 + 10,
-    );
-  }
-  let val = Math.floor((Math.floor(2 * baseStat + individualValue + Math.floor(effortValue / 4)) * level) / 100 + 5);
- 
-  Eif (natureMult && !isHP) {
-    val *= natureMult;
-  }
- 
-  return Math.floor(val);
-};
- 
-export const calcMinNegStat = (stat, isHp, level) => {
-  return calcStat(stat, isHp, level, IV.MIN, EV.MIN, NATURE_MULTIPLIER.LOW);
-};
- 
-export const calcMinStat = (stat, isHp, level) => {
-  return calcStat(stat, isHp, level, IV.MAX, EV.MIN, NATURE_MULTIPLIER.STANDARD);
-};
- 
-export const calcMaxStat = (stat, isHp, level) => {
-  return calcStat(stat, isHp, level, IV.MAX, EV.MAX, NATURE_MULTIPLIER.STANDARD);
-};
- 
-export const calcMaxPosStat = (stat, isHp, level) => {
-  return calcStat(stat, isHp, level, IV.MAX, EV.MAX, NATURE_MULTIPLIER.HIGH);
-};
- 
- -
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/lcov-report/src/utils/dex/ability.js.html b/coverage/lcov-report/src/utils/dex/ability.js.html deleted file mode 100644 index d4a45bc0eb..0000000000 --- a/coverage/lcov-report/src/utils/dex/ability.js.html +++ /dev/null @@ -1,187 +0,0 @@ - - - - - - Code coverage report for src/utils/dex/ability.js - - - - - - - - - -
-
-

All files / src/utils/dex ability.js

-
- -
- 95.45% - Statements - 21/22 -
- - -
- 86.95% - Branches - 20/23 -
- - -
- 100% - Functions - 6/6 -
- - -
- 100% - Lines - 16/16 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-

-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -352x -  -  -2x -2x -1x -  -  -  -12x -  -679x -  -12x -11x -  -  -  -2x -2x -1x -  -  -  -12x -12x -11x -22x -  -  -11x -  -  -  - 
const { abilityNames, abilityInfo } = require('../../../__gamedata');
- 
-function makeSmogonAbilityObject(abilityId = 0) {
-  const abilityString = abilityNames.labelDataArray[abilityId]?.wordDataArray[0]?.str ?? null;
-  if (abilityString === null || !abilityString) throw Error(`Bad ability ID: ${abilityId}`);
-  return { 0: abilityString };
-}
- 
-function getAbilityIdFromAbilityName(abilityString) {
-  Iif (!abilityString) throw Error(`Bad ability string: ${abilityString}`);
- 
-  const abilityId = abilityNames.labelDataArray.findIndex((e) => e.wordDataArray[0].str === abilityString);
- 
-  if (abilityId === -1) throw Error(`Bad ability string: ${abilityString}`);
-  return abilityId;
-}
- 
-function getAbilityString(abiltiyId = 0) {
-  const abilityName = abilityNames.labelDataArray[abiltiyId]?.wordDataArray[0]?.str ?? null;
-  if (abilityName === null || !abilityName) throw Error(`Bad ability ID: ${abiltiyId}`);
-  return abilityName;
-}
- 
-function getAbilityInfo(id) {
-  const wordData = abilityInfo.labelDataArray[id]?.wordDataArray;
-  if (wordData === null || wordData === undefined || wordData.length === 0) return 'None';
-  const description = wordData.reduce((abilityDescription, currentString) => {
-    return abilityDescription + currentString.str + ' ';
-  }, '');
- 
-  return description.trim();
-}
- 
-export { makeSmogonAbilityObject, getAbilityIdFromAbilityName, getAbilityString, getAbilityInfo };
- 
- -
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/lcov-report/src/utils/dex/details.js.html b/coverage/lcov-report/src/utils/dex/details.js.html deleted file mode 100644 index 5d0f8a1ca7..0000000000 --- a/coverage/lcov-report/src/utils/dex/details.js.html +++ /dev/null @@ -1,184 +0,0 @@ - - - - - - Code coverage report for src/utils/dex/details.js - - - - - - - - - -
-
-

All files / src/utils/dex details.js

-
- -
- 100% - Statements - 19/19 -
- - -
- 80% - Branches - 8/10 -
- - -
- 100% - Functions - 2/2 -
- - -
- 100% - Lines - 17/17 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-

-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34  -  -1x -1x -1x -  -  -2x -  -2x -  -1x -1x -1x -  -1x -1x -1x -  -  -  -2x -  -2x -  -1x -1x -  -1x -1x -  -  -  - 
import { pokemonHeight, pokemonWeight } from '../../../__gamedata';
- 
-const FEET_TO_CM = 30.48;
-const INCHES_TO_CM = 2.54;
-const POUNDS_TO_KG = 0.453592;
- 
-function getHeight(pokemonId = 0) {
-  const heightString = pokemonHeight.labelDataArray[pokemonId]?.wordDataArray[0]?.str ?? null;
- 
-  if (heightString === null) return '0';
- 
-  const [feetString, inchesString] = heightString.split("'");
-  const inches = parseFloat(inchesString.substring(0, inchesString.length - 1));
-  const feet = parseInt(feetString);
- 
-  const feetInCentimeters = feet * FEET_TO_CM;
-  const inchesInCentimeters = inches * INCHES_TO_CM;
-  return ((feetInCentimeters + inchesInCentimeters) / 100).toFixed(2);
-}
- 
-function getWeight(pokemonId = 0) {
-  const weightString = pokemonWeight.labelDataArray[pokemonId]?.wordDataArray[0]?.str || null;
- 
-  if (weightString === null) return '0';
- 
-  const [poundsString] = weightString.split(' ');
-  const pounds = parseFloat(poundsString.trim());
- 
-  const poundsInKilogram = pounds * POUNDS_TO_KG;
-  return poundsInKilogram.toFixed(2);
-}
- 
-export { getHeight, getWeight };
- 
- -
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/lcov-report/src/utils/dex/egggroup.js.html b/coverage/lcov-report/src/utils/dex/egggroup.js.html deleted file mode 100644 index ae93e3a5ba..0000000000 --- a/coverage/lcov-report/src/utils/dex/egggroup.js.html +++ /dev/null @@ -1,271 +0,0 @@ - - - - - - Code coverage report for src/utils/dex/egggroup.js - - - - - - - - - -
-
-

All files / src/utils/dex egggroup.js

-
- -
- 100% - Statements - 22/22 -
- - -
- 87.5% - Branches - 21/24 -
- - -
- 100% - Functions - 4/4 -
- - -
- 100% - Lines - 22/22 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-

-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -45 -46 -47 -48 -49 -50 -51 -52 -53 -54 -55 -56 -57 -58 -59 -60 -61 -62 -63  -  -1x -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -1x -1x -  -  -7x -2x -  -5x -5x -5x -5x -  -  -  -15x -7x -8x -  -  -  -  -1466x -12x -  -  -1466x -4x -  -  -1466x -1466x -1466x -  -  -  -6x -3x -3x -  -  -  - 
import { PersonalTable } from '../../../__gamedata';
- 
-const EGG_GROUPS = {
-  0: 'None',
-  1: 'Monster',
-  2: 'Water 1',
-  3: 'Bug',
-  4: 'Flying',
-  5: 'Field',
-  6: 'Fairy',
-  7: 'Grass',
-  8: 'Human-Like',
-  9: 'Water 3',
-  10: 'Mineral',
-  11: 'Amorphous',
-  12: 'Water 2',
-  13: 'Ditto',
-  14: 'Dragon',
-  15: 'No Eggs',
-};
- 
-const POKEMON_IDS_BY_EGG_GROUP = PersonalTable.Personal.reduce(createPokemonByEggGroupMap, []);
-const HIGHEST_EGG_GROUP_ID = 15;
- 
-function getEggGroupViaPokemonId(pokemonId = 0) {
-  if (!Number.isInteger(pokemonId) || pokemonId < 0 || pokemonId > PersonalTable.Personal.length)
-    throw new Error(`Bad pokemonId: ${pokemonId}`);
- 
-  const pokemonDetails = PersonalTable.Personal[pokemonId];
-  const eggGroup1 = pokemonDetails.egg_group1;
-  const eggGroup2 = pokemonDetails.egg_group2;
-  return eggGroup1 === eggGroup2 ? [eggGroup1] : [eggGroup1, eggGroup2];
-}
- 
-function getEggGroupNameById(eggGroupId = 0) {
-  if (!Number.isInteger(eggGroupId) || eggGroupId < 0 || eggGroupId > HIGHEST_EGG_GROUP_ID)
-    throw new Error(`Bad eggGroupId: ${eggGroupId}`);
-  return EGG_GROUPS[eggGroupId];
-}
- 
-function createPokemonByEggGroupMap(pokemonMap, currentPokemon) {
-  //Use sets so I don't have to handle duplicates, looking at you Unown
-  if (pokemonMap[currentPokemon.egg_group1] === undefined) {
-    pokemonMap[currentPokemon.egg_group1] = new Set();
-  }
- 
-  if (pokemonMap[currentPokemon.egg_group2] === undefined) {
-    pokemonMap[currentPokemon.egg_group2] = new Set();
-  }
- 
-  pokemonMap[currentPokemon.egg_group1].add(currentPokemon.id);
-  pokemonMap[currentPokemon.egg_group2].add(currentPokemon.id);
-  return pokemonMap;
-}
- 
-function getPokemonIdsInEggGroup(eggGroupId = 0) {
-  if (!Number.isInteger(eggGroupId) || eggGroupId < 0 || eggGroupId > HIGHEST_EGG_GROUP_ID)
-    throw new Error(`Bad eggGroupId: ${eggGroupId}`);
-  return Array.from(POKEMON_IDS_BY_EGG_GROUP[eggGroupId]); //Back to array for easier handling
-}
- 
-export { getPokemonIdsInEggGroup, getEggGroupNameById, getEggGroupViaPokemonId };
- 
- -
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/lcov-report/src/utils/dex/evolution.js.html b/coverage/lcov-report/src/utils/dex/evolution.js.html deleted file mode 100644 index ec3f1031dc..0000000000 --- a/coverage/lcov-report/src/utils/dex/evolution.js.html +++ /dev/null @@ -1,379 +0,0 @@ - - - - - - Code coverage report for src/utils/dex/evolution.js - - - - - - - - - -
-
-

All files / src/utils/dex evolution.js

-
- -
- 86.79% - Statements - 46/53 -
- - -
- 80.76% - Branches - 21/26 -
- - -
- 66.66% - Functions - 4/6 -
- - -
- 86% - Lines - 43/50 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-

-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -45 -46 -47 -48 -49 -50 -51 -52 -53 -54 -55 -56 -57 -58 -59 -60 -61 -62 -63 -64 -65 -66 -67 -68 -69 -70 -71 -72 -73 -74 -75 -76 -77 -78 -79 -80 -81 -82 -83 -84 -85 -86 -87 -88 -89 -90 -91 -92 -93 -94 -95 -96 -97 -98 -99  -  -  -  -  -  -3x -  -  -3x -2x -2x -2x -2x -  -  -  -2x -2x -  -2x -  -  -  -218x -2x -  -  -216x -216x -  -  -  -216x -  -216x -  -216x -  -  -167x -  -216x -  -  -  -  -  -  -  -  -  -  -  -  -216x -  -216x -  -  -  -216x -416x -416x -416x -416x -416x -416x -  -416x -1358x -1358x -1358x -1358x -1358x -  -1358x -1358x -213x -213x -213x -213x -213x -  -  -416x -167x -  -  -  -  -  -  -  -  -49x -  -  - 
import { EvolutionData } from '../../../__gamedata';
-import { EVOLUTION_METHOD_DETAILS, evolutionFunctions } from './evolutionConstants';
-import { getPokemonIdFromMonsNoAndForm } from './functions';
-import { REPLACE_STRING } from './evolutionConstants';
- 
-function getEvolutionMethodDetail(methodId, methodParameter = 0, level) {
-  Iif (methodId === -1) {
-    return -1;
-  }
-  if (!Number.isInteger(methodId) || methodId < 0 || methodId > 47) throw new Error(`Bad method: ${methodId}`);
-  const evolutionDetails = { ...EVOLUTION_METHOD_DETAILS[methodId] };
-  const evoFunction = evolutionDetails.function;
-  let evoMethod = evolutionDetails.method;
-  Iif (evolutionDetails.requiresLevel) {
-    evoMethod = "Level"
-    evolutionDetails.method = evolutionDetails.method.replace(REPLACE_STRING, level);
-  } else {
-    evoMethod = evoFunction(methodParameter);
-    evolutionDetails.method = evolutionDetails.method.replace(REPLACE_STRING, evoFunction(methodParameter));
-  }
-  return [evolutionDetails, evoMethod];
-}
- 
-function getEvolutionTree(pokemonId = 0, fromRoot = true) {
-  if (!Number.isInteger(pokemonId) || pokemonId < 0) {
-    throw new Error(`Bad pokemon ID: ${pokemonId}`);
-  }
- 
-  const pokemon = EvolutionData[pokemonId];
-  Iif (!pokemon) {
-    throw new Error(`Bad pokemon ID: ${pokemonId}`);
-  }
- 
-  const startPokemonId = fromRoot ? pokemon.path[0] : pokemonId;
- 
-  const evolution = EvolutionData[startPokemonId];
- 
-  const evolutionTree = {
-    pokemonId: startPokemonId,
-    evolutionDetails: getEvolutionDetails(startPokemonId),
-    evolvesInto: evolution.targets.map((nextStagePokemonId) => getEvolutionTree(nextStagePokemonId, false)),
-  };
-  return evolutionTree;
-}
- 
-function checkEvolutionPath(evolutionData, originalPokemonId) {
-  const originalPath = EvolutionData[originalPokemonId].path;
- 
-  function comparePath(treeNode, expectedId) {
-  }
- 
-  comparePath(evolutionData, originalPath[0]);
-}
- 
-function getEvolutionDetails(pokemonId) {
-  const evolutionDetails = EvolutionData[pokemonId].ar;
- 
-  Iif (!evolutionDetails) {
-    return null;
-  }
- 
-  for (let i = 0; i < evolutionDetails.length; i++) {
-    const evolutionData = evolutionDetails[i];
-    let methodIds = [];
-    let methodParameters = [];
-    let monsNos = [];
-    let formNos = [];
-    let levels = [];
- 
-    for (let j = 0; j < evolutionData.length; j += 5) {
-      const methodId = evolutionData[j + 0];
-      const methodParameter = evolutionData[j + 1];
-      const monsNo = evolutionData[j + 2];
-      const formNo = evolutionData[j + 3];
-      const level = evolutionData[j + 4];
- 
-      const evolutionPokemonId = getPokemonIdFromMonsNoAndForm(monsNo, formNo);
-      if (evolutionPokemonId === pokemonId) {
-        methodIds.push(methodId);
-        methodParameters.push(methodParameter);
-        monsNos.push(monsNo);
-        formNos.push(formNo);
-        levels.push(level);
-      }
-    }
-    if (methodIds.length > 0) {
-      return {
-        methodIds,
-        methodParameters,
-        monsNos,
-        formNos,
-        levels,
-      };
-    }
-  }
-  return null;
-}
- 
-export { getEvolutionTree, getEvolutionMethodDetail };
- -
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/lcov-report/src/utils/dex/evolutionConstants.js.html b/coverage/lcov-report/src/utils/dex/evolutionConstants.js.html deleted file mode 100644 index 24a576d321..0000000000 --- a/coverage/lcov-report/src/utils/dex/evolutionConstants.js.html +++ /dev/null @@ -1,976 +0,0 @@ - - - - - - Code coverage report for src/utils/dex/evolutionConstants.js - - - - - - - - - -
-
-

All files / src/utils/dex evolutionConstants.js

-
- -
- 100% - Statements - 2/2 -
- - -
- 100% - Branches - 0/0 -
- - -
- 100% - Functions - 0/0 -
- - -
- 100% - Lines - 2/2 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-

-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -45 -46 -47 -48 -49 -50 -51 -52 -53 -54 -55 -56 -57 -58 -59 -60 -61 -62 -63 -64 -65 -66 -67 -68 -69 -70 -71 -72 -73 -74 -75 -76 -77 -78 -79 -80 -81 -82 -83 -84 -85 -86 -87 -88 -89 -90 -91 -92 -93 -94 -95 -96 -97 -98 -99 -100 -101 -102 -103 -104 -105 -106 -107 -108 -109 -110 -111 -112 -113 -114 -115 -116 -117 -118 -119 -120 -121 -122 -123 -124 -125 -126 -127 -128 -129 -130 -131 -132 -133 -134 -135 -136 -137 -138 -139 -140 -141 -142 -143 -144 -145 -146 -147 -148 -149 -150 -151 -152 -153 -154 -155 -156 -157 -158 -159 -160 -161 -162 -163 -164 -165 -166 -167 -168 -169 -170 -171 -172 -173 -174 -175 -176 -177 -178 -179 -180 -181 -182 -183 -184 -185 -186 -187 -188 -189 -190 -191 -192 -193 -194 -195 -196 -197 -198 -199 -200 -201 -202 -203 -204 -205 -206 -207 -208 -209 -210 -211 -212 -213 -214 -215 -216 -217 -218 -219 -220 -221 -222 -223 -224 -225 -226 -227 -228 -229 -230 -231 -232 -233 -234 -235 -236 -237 -238 -239 -240 -241 -242 -243 -244 -245 -246 -247 -248 -249 -250 -251 -252 -253 -254 -255 -256 -257 -258 -259 -260 -261 -262 -263 -264 -265 -266 -267 -268 -269 -270 -271 -272 -273 -274 -275 -276 -277 -278 -279 -280 -281 -282 -283 -284 -285 -286 -287 -288 -289 -290 -291 -292 -293 -294 -295 -296 -297 -298  -  -  -  -  -  -1x -  -1x -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - 
import { getItemString } from './item';
-import { getMoveString } from './moves';
-import { getPokemonName } from './name';
-import { getTypeName } from './types';
-import { doNothing } from './functions';
- 
-export const REPLACE_STRING = "REPLACE";
- 
-export const EVOLUTION_METHOD_DETAILS = {
-  0: {
-    method: '',
-    requiresLevel: false,
-    parameterType: 'None',
-    function: doNothing,
-  },
-  1: {
-    method: 'Friendship',
-    requiresLevel: false,
-    parameterType: 'None',
-    function: doNothing,
-  },
-  2: {
-    method: 'Friendship + Day',
-    requiresLevel: false,
-    parameterType: 'None',
-    function: doNothing,
-  },
-  3: {
-    method: 'Friendship + Night',
-    requiresLevel: false,
-    parameterType: 'None',
-    function: doNothing,
-  },
-  4: {
-    method: `Level ${REPLACE_STRING}`,
-    requiresLevel: true,
-    parameterType: 'None',
-    function: doNothing,
-  },
-  5: {
-    method: 'Trade',
-    requiresLevel: false,
-    parameterType: 'None',
-    function: doNothing,
-  },
-  6: {
-    method: `Trade with ${REPLACE_STRING}`,
-    requiresLevel: false,
-    parameterType: 'Item',
-    function: getItemString,
-  },
-  7: {
-    method: 'Karrablast/Shelmet Trade',
-    requiresLevel: false,
-    parameterType: 'None',
-    function: doNothing,
-  },
-  8: {
-    method: `Use ${REPLACE_STRING}`,
-    requiresLevel: false,
-    parameterType: 'Item',
-    function: getItemString,
-  },
-  9: {
-    method: `Level ${REPLACE_STRING} & Atk > Def`,
-    requiresLevel: true,
-    parameterType: 'None',
-    function: doNothing,
-  },
-  10: {
-    method: `Level ${REPLACE_STRING} & Atk = Def`,
-    requiresLevel: true,
-    parameterType: 'None',
-    function: doNothing,
-  },
-  11: {
-    method: `Level ${REPLACE_STRING} & Def > Atk`,
-    requiresLevel: true,
-    parameterType: 'None',
-    function: doNothing,
-  },
-  12: {
-    method: `Level ${REPLACE_STRING} + RNG`,
-    requiresLevel: true,
-    parameterType: 'None',
-    function: doNothing,
-  },
-  13: {
-    method: `Level ${REPLACE_STRING} + RNG`,
-    requiresLevel: true,
-    parameterType: 'None',
-    function: doNothing,
-  },
-  14: {
-    method: `Level ${REPLACE_STRING} & Free Space + Poké Ball`,
-    requiresLevel: true,
-    parameterType: 'None',
-    function: doNothing,
-  },
-  15: {
-    method: 'SPECIAL_NUKENIN',
-    requiresLevel: true,
-    parameterType: 'None',
-    function: doNothing,
-  },
-  16: {
-    method: 'High Beauty',
-    requiresLevel: false,
-    parameterType: 'None',
-    function: doNothing,
-  },
-  17: {
-    method: `Use ${REPLACE_STRING} & Male`,
-    requiresLevel: false,
-    parameterType: 'Item',
-    function: getItemString,
-  },
-  18: {
-    method: `Use ${REPLACE_STRING} & Female`,
-    requiresLevel: false,
-    parameterType: 'Item',
-    function: getItemString,
-  },
-  19: {
-    method: `Hold ${REPLACE_STRING} & Day`,
-    requiresLevel: false,
-    parameterType: 'Item',
-    function: getItemString,
-  },
-  20: {
-    method: `Hold ${REPLACE_STRING} & Night`,
-    requiresLevel: false,
-    parameterType: 'Item',
-    function: getItemString,
-  },
-  21: {
-    method: `Knows ${REPLACE_STRING}`,
-    requiresLevel: false,
-    parameterType: 'Move',
-    function: getMoveString,
-  },
-  22: {
-    method: `${REPLACE_STRING} in party`,
-    requiresLevel: false,
-    parameterType: 'Pokemon',
-    function: getPokemonName,
-  },
-  23: {
-    method: `Level ${REPLACE_STRING} & Male`,
-    requiresLevel: true,
-    parameterType: 'None',
-    function: doNothing,
-  },
-  24: {
-    method: `Level ${REPLACE_STRING} & Female`,
-    requiresLevel: true,
-    parameterType: 'None',
-    function: doNothing,
-  },
-  25: {
-    method: 'Level Up in Magnetic Field',
-    requiresLevel: false,
-    parameterType: 'None',
-    function: doNothing,
-  },
-  26: {
-    method: 'Level Up By Moss Rock',
-    requiresLevel: false,
-    parameterType: 'None',
-    function: doNothing,
-  },
-  27: {
-    method: 'Level Up By Ice Rock',
-    requiresLevel: false,
-    parameterType: 'None',
-    function: doNothing,
-  },
-  28: {
-    method: 'Level Up & Device Upside-Down',
-    requiresLevel: true,
-    parameterType: 'None',
-    function: doNothing,
-  },
-  29: {
-    method: `Friendship + ${REPLACE_STRING} Move`,
-    requiresLevel: false,
-    parameterType: 'Typing',
-    function: getTypeName,
-  },
-  30: {
-    method: `Level ${REPLACE_STRING} + Dark-Type in Party`,
-    requiresLevel: true,
-    parameterType: 'None',
-    function: doNothing,
-  },
-  31: {
-    method: `Level ${REPLACE_STRING} in Rain`,
-    requiresLevel: true,
-    parameterType: 'None',
-    function: doNothing,
-  },
-  32: {
-    method: `Level ${REPLACE_STRING} During Day`,
-    requiresLevel: true,
-    parameterType: 'None',
-    function: doNothing,
-  },
-  33: {
-    method: `Level ${REPLACE_STRING} During Night`,
-    requiresLevel: true,
-    parameterType: 'None',
-    function: doNothing,
-  },
-  34: {
-    method: 'On LvUp: Lv ≥ LvReq & is female → set form to 1',
-    requiresLevel: true,
-    parameterType: 'None',
-    function: doNothing,
-  },
-  35: {
-    method: 'FRIENDLY',
-    requiresLevel: false,
-    parameterType: 'None',
-    function: doNothing,
-  },
-  36: {
-    method: 'On LvUp: Lv ≥ LvReq & is game version',
-    requiresLevel: true,
-    parameterType: 'GameVersion',
-    function: doNothing,
-  },
-  37: {
-    method: 'On LvUp: Lv ≥ LvReq & is game version & is day',
-    requiresLevel: true,
-    parameterType: 'GameVersion',
-    function: doNothing,
-  },
-  38: {
-    method: 'On LvUp: Lv ≥ LvReq & is game version & is night',
-    requiresLevel: true,
-    parameterType: 'GameVersion',
-    function: doNothing,
-  },
-  39: {
-    method: 'Level Up on Summit',
-    requiresLevel: false,
-    parameterType: 'None',
-    function: doNothing,
-  },
-  40: {
-    method: `Level ${REPLACE_STRING} 7:00-7:59PM`,
-    requiresLevel: true,
-    parameterType: 'None',
-    function: doNothing,
-  },
-  41: {
-    method: `Level ${REPLACE_STRING} & Non-Native region`,
-    requiresLevel: true,
-    parameterType: 'None',
-    function: doNothing,
-  },
-  42: {
-    method: `Use ${REPLACE_STRING} & Non-Native region`,
-    requiresLevel: false,
-    parameterType: 'Item',
-    function: getItemString,
-  },
-  43: {
-    method: "3 Crits in One Battle",
-    requiresLevel: false,
-    parameterType: 'None',
-    function: doNothing,
-  },
-  44: {
-    method: 'Galarian Yamask Evolution',
-    requiresLevel: false,
-    parameterType: 'None',
-    function: doNothing,
-  },
-  45: {
-    method: 'PokéSafe Blender',
-    requiresLevel: false,
-    parameterType: 'None',
-    function: doNothing,
-  },
-  46: {
-    method: `Level ${REPLACE_STRING} & Amped Nature`,
-    requiresLevel: true,
-    parameterType: 'None',
-    function: doNothing,
-  },
-  47: {
-    method: `Level ${REPLACE_STRING} & Low-Key Nature`,
-    requiresLevel: true,
-    parameterType: 'None',
-    function: doNothing,
-  },
-};
- -
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/lcov-report/src/utils/dex/functions.js.html b/coverage/lcov-report/src/utils/dex/functions.js.html deleted file mode 100644 index a8d7411b6f..0000000000 --- a/coverage/lcov-report/src/utils/dex/functions.js.html +++ /dev/null @@ -1,295 +0,0 @@ - - - - - - Code coverage report for src/utils/dex/functions.js - - - - - - - - - -
-
-

All files / src/utils/dex functions.js

-
- -
- 88.57% - Statements - 31/35 -
- - -
- 92.3% - Branches - 24/26 -
- - -
- 81.81% - Functions - 9/11 -
- - -
- 88% - Lines - 22/25 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-

-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -45 -46 -47 -48 -49 -50 -51 -52 -53 -54 -55 -56 -57 -58 -59 -60 -61 -62 -63 -64 -65 -66 -67 -68 -69 -70 -71  -  -  -  -4x -  -  -5866x -4045x -  -  -5866x -5866x -  -  -  -3x -  -  -  -4x -3x -2x -1x -  -  -  -5x -5x -5x -  -  -  -1x -  -  -  -16x -14x -11x -8x -5x -2x -  -  -  -460267x -  -  -  -2x -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - 
import { PersonalTable } from '../../../__gamedata';
-import { pokemonPokedexInfo } from '../../../__gamedata';
- 
-//BDSP does not stick to the same structure when working with forms, thus this map is necessary.
-const FORM_MAP = PersonalTable.Personal.reduce(createFormMap, {});
- 
-function createFormMap(formMap, currentPokemon) {
-  if (!Array.isArray(formMap[currentPokemon.monsno])) {
-    formMap[currentPokemon.monsno] = [];
-  }
- 
-  formMap[currentPokemon.monsno].push(currentPokemon.id);
-  return formMap;
-}
- 
-function getPokemonIdFromFormMap(monsNo = 0, formNo = 0) {
-  return FORM_MAP[monsNo]?.[formNo] ?? undefined;
-}
- 
-function getGender(sex) {
-  if (sex === 0) return 'M';
-  if (sex === 254) return 'F';
-  if (sex === 255) return 'N';
-  return null;
-}
- 
-function getImage(monsno = 0, formIndex = 0) {
-  const paddedMonsno = monsno.toString().padStart(4, 0);
-  const paddedFormIndex = formIndex.toString().padStart(2, 0);
-  return `/img/pm${paddedMonsno}_${paddedFormIndex}_00_00_L.webp`;
-}
- 
-function formatBaseStats(p) {
-  return `HP: ${p.basic_hp} / ATK: ${p.basic_atk} / DEF: ${p.basic_def} / SPA: ${p.basic_spatk} / SPD: ${p.basic_spdef} / SPE: ${p.basic_agi}`;
-}
- 
-function getGrassKnotPower(weightkg) {
-  if (weightkg >= 200) return 120;
-  if (weightkg >= 100) return 100;
-  if (weightkg >= 50) return 80;
-  if (weightkg >= 25) return 60;
-  if (weightkg >= 10) return 40;
-  return 20;
-}
- 
-function getPokemonIdFromMonsNoAndForm(monsno, formno) {
-  return PersonalTable.Personal.find((e) => e.monsno === monsno && FORM_MAP[e.monsno][formno] === e.id)?.id;
-}
- 
-function doNothing(evoMethod, evolutionDetails) {
-  return [evolutionDetails, evoMethod];
-};
- 
-function getDexDescription(pokemonId) {
-  const labelData = pokemonPokedexInfo.labelDataArray[pokemonId]
-  const combinedStr = labelData.wordDataArray.map(data => data.str).join(' ');
-  return combinedStr
-}
-export {
-  FORM_MAP,
-  getPokemonIdFromFormMap,
-  getGender,
-  getGrassKnotPower,
-  getImage,
-  formatBaseStats,
-  getPokemonIdFromMonsNoAndForm,
-  createFormMap,
-  doNothing,
-  getDexDescription,
-};
- 
- -
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/lcov-report/src/utils/dex/index.html b/coverage/lcov-report/src/utils/dex/index.html deleted file mode 100644 index c2e332b30a..0000000000 --- a/coverage/lcov-report/src/utils/dex/index.html +++ /dev/null @@ -1,266 +0,0 @@ - - - - - - Code coverage report for src/utils/dex - - - - - - - - - -
-
-

All files src/utils/dex

-
- -
- 93.7% - Statements - 283/302 -
- - -
- 82.14% - Branches - 184/224 -
- - -
- 90.9% - Functions - 60/66 -
- - -
- 94.04% - Lines - 237/252 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
ability.js -
-
95.45%21/2286.95%20/23100%6/6100%16/16
details.js -
-
100%19/1980%8/10100%2/2100%17/17
egggroup.js -
-
100%22/2287.5%21/24100%4/4100%22/22
evolution.js -
-
86.79%46/5380.76%21/2666.66%4/686%43/50
evolutionConstants.js -
-
100%2/2100%0/0100%0/0100%2/2
functions.js -
-
88.57%31/3592.3%24/2681.81%9/1188%22/25
item.js -
-
83.33%10/1271.42%5/775%3/487.5%7/8
moves.js -
-
98.78%81/8278.78%52/66100%16/1698.48%65/66
name.js -
-
92.5%37/4081.25%26/3291.66%11/1291.42%32/35
nature.js -
-
100%9/980%4/5100%3/3100%6/6
types.js -
-
83.33%5/660%3/5100%2/2100%5/5
-
-
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/lcov-report/src/utils/dex/item.js.html b/coverage/lcov-report/src/utils/dex/item.js.html deleted file mode 100644 index 42ac4f8f76..0000000000 --- a/coverage/lcov-report/src/utils/dex/item.js.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - Code coverage report for src/utils/dex/item.js - - - - - - - - - -
-
-

All files / src/utils/dex item.js

-
- -
- 83.33% - Statements - 10/12 -
- - -
- 71.42% - Branches - 5/7 -
- - -
- 75% - Functions - 3/4 -
- - -
- 87.5% - Lines - 7/8 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-

-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -172x -  -  -3x -2x -  -2072x -2x -1x -  -  -  -3x -  -  -  - 
const { itemNames } = require('../../../__gamedata');
- 
-function getItemIdFromItemName(itemName) {
-  if (!itemName) throw Error(`Bad item name: ${itemName}`);
-  Iif (itemName === "King's Rock")
-    return itemNames.labelDataArray.findIndex((e) => e.wordDataArray[0]?.str === 'King’s Rock');
-  const index = itemNames.labelDataArray.findIndex((e) => e.wordDataArray[0]?.str === itemName);
-  if (index === -1) throw Error(`Bad item name: ${itemName}`);
-  return index;
-}
- 
-function getItemString(itemId = 0) {
-  return itemNames.labelDataArray[itemId].wordDataArray[0].str;
-}
- 
-export { getItemIdFromItemName, getItemString };
- 
- -
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/lcov-report/src/utils/dex/moves.js.html b/coverage/lcov-report/src/utils/dex/moves.js.html deleted file mode 100644 index a5296c46ca..0000000000 --- a/coverage/lcov-report/src/utils/dex/moves.js.html +++ /dev/null @@ -1,571 +0,0 @@ - - - - - - Code coverage report for src/utils/dex/moves.js - - - - - - - - - -
-
-

All files / src/utils/dex moves.js

-
- -
- 98.78% - Statements - 81/82 -
- - -
- 78.78% - Branches - 52/66 -
- - -
- 100% - Functions - 16/16 -
- - -
- 98.48% - Lines - 65/66 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-

-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -45 -46 -47 -48 -49 -50 -51 -52 -53 -54 -55 -56 -57 -58 -59 -60 -61 -62 -63 -64 -65 -66 -67 -68 -69 -70 -71 -72 -73 -74 -75 -76 -77 -78 -79 -80 -81 -82 -83 -84 -85 -86 -87 -88 -89 -90 -91 -92 -93 -94 -95 -96 -97 -98 -99 -100 -101 -102 -103 -104 -105 -106 -107 -108 -109 -110 -111 -112 -113 -114 -115 -116 -117 -118 -119 -120 -121 -122 -123 -124 -125 -126 -127 -128 -129 -130 -131 -132 -133 -134 -135 -136 -137 -138 -139 -140 -141 -142 -143 -144 -145 -146 -147 -148 -149 -150 -151 -152 -153 -154 -155 -156 -157 -158 -159 -160 -161 -162 -163  -  -  -  -  -  -  -  -  -  -  -  -  -2x -2x -  -  -  -  -  -  -8x -3x -  -  -5x -2x -  -  -3x -63x -33x -  -3x -  -  -3x -  -3x -  -3x -  -  -  -22x -66x -  -  -  -6x -1074x -4x -3x -  -  -  -17x -  -16x -16x -1x -  -  -15x -  -  -  -70x -70x -70x -70x -70x -70x -  -70x -70x -70x -  -70x -  -  -  -  -  -  -  -  -  -  -  -3x -2x -2x -5x -14x -  -  -  -  -  -  -70x -70x -154x -  -70x -  -  -  -5x -5x -  -5x -160x -  -5x -160x -  -5x -160x -  -5x -160x -  -  -5x -  -  -  -3x -  -3x -3x -315x -  -315x -315x -  -315x -66x -  -  -  -3x -  -  -  -7x -4x -  -  -  -  -  -  -  -  -  -  -  -  -  - 
import {
-  LearnsetTable,
-  EggMovesTable,
-  MovesTable,
-  moveEnum,
-  smogonMoves,
-  ItemTable,
-  PersonalTable,
-  moveNames,
-  moveInfo,
-} from '../../../__gamedata';
-import { getPokemonFormId } from './name';
- 
-const IS_MOVE_INDEX = false;
-const MAX_TM_COUNT = 104;
- 
-function generateMovesViaLearnset(monsNo, level) {
-  /**
-   * In BDSP, a trainer's Pokemon, when provided no moves,
-   * will use the four most recent moves in the learnset.
-   */
-  if (!Number.isInteger(monsNo) || monsNo < 0 || !LearnsetTable.WazaOboe[monsNo]) {
-    throw new Error('Invalid Pokémon number');
-  }
- 
-  if (!Number.isInteger(level) || level < 0) {
-    throw new Error('Invalid level');
-  }
- 
-  let cutoffIndex = LearnsetTable.WazaOboe[monsNo].ar.findIndex((currentMoveOrLevel, i) => {
-    if (i % 2 === 1) return IS_MOVE_INDEX;
-    return currentMoveOrLevel > level;
-  });
-  Iif (cutoffIndex === -1) {
-    cutoffIndex = LearnsetTable.WazaOboe[monsNo].ar.length;
-  }
-  const moves = LearnsetTable.WazaOboe[monsNo].ar.slice(0, cutoffIndex);
- 
-  const moveset = [moves.at(-7) || 0, moves.at(-5) || 0, moves.at(-3) || 0, moves.at(-1) || 0];
- 
-  return moveset.map(getMoveString);
-}
- 
-function isMoveNameSmogonCompatible(moveString) {
-  if (typeof moveString !== 'string' || !moveString) throw Error(`Bad move string: ${moveString}`);
-  return smogonMoves.some((movesPerGeneration) => Object.keys(movesPerGeneration).includes(moveString));
-}
- 
-function getMoveId(moveName) {
-  if (typeof moveName !== 'string' || !moveName) throw Error(`Bad move name: ${moveName}`);
-  const id = moveEnum.findIndex((e) => e === moveName.trim());
-  if (id === -1) throw Error(`Bad move name: ${moveName}`);
-  return id;
-}
- 
-function getMoveString(id = 0) {
-  if (!Number.isInteger(id) || id < 0) throw Error(`Bad move string found: ID - ${id}`);
- 
-  const str = moveEnum[id];
-  if (typeof str !== 'string' || !isMoveNameSmogonCompatible(str)) {
-    throw Error(`Incompatible move string found: ID - ${id}, String: ${str}`);
-  }
- 
-  return str;
-}
- 
-function getMoveProperties(moveId = 0) {
-  const move = MovesTable.Waza[moveId];
-  const type = move.type;
-  const damageType = move.damageType;
-  const power = move.power;
-  const hitPer = move.hitPer;
-  const basePP = move.basePP;
- 
-  const BASE_PP = basePP ?? 0;
-  const MAX_PP_MULTIPLIER = 1.6;
-  const maxPP = BASE_PP * MAX_PP_MULTIPLIER;
- 
-  return {
-    name: moveNames.labelDataArray[moveId].wordDataArray[0]?.str ?? 'None',
-    desc: getMoveDescription(moveId),
-    type,
-    damageType, //0 = Status, 1 = Physical, 2 = Special
-    maxPP,
-    power,
-    accuracy: hitPer,
-  };
-}
- 
-function getEggMoves(dexId = 0) {
-  if (!Number.isInteger(dexId) || PersonalTable.Personal[dexId] === undefined) return [];
-  const { monsno } = PersonalTable.Personal[dexId];
-  const formNo = getPokemonFormId(monsno, dexId);
-  const eggMoves = EggMovesTable.Data.find((e) => e.no === monsno && e.formNo === formNo)?.wazaNo ?? [];
-  return eggMoves.map((moveId) => ({
-    level: 'egg',
-    moveId,
-  }));
-}
- 
-function getMoveDescription(moveId = 0) {
-  const wordData = moveInfo.labelDataArray[moveId].wordDataArray;
-  const description = wordData.reduce((moveDescription, currentString) => {
-    return moveDescription + currentString.str + ' ';
-  }, '');
-  return description.trim();
-}
- 
-function getTMCompatibility(pokemonId = 0) {
-  const { machine1, machine2, machine3, machine4 } = PersonalTable.Personal[pokemonId];
-  let tmCompatibility = [];
- 
-  for (let i = 0; i < 32; i++) {
-    tmCompatibility[i] = (machine1 & (1 << i)) != 0;
-  }
-  for (let i = 0; i < 32; i++) {
-    tmCompatibility[i + 32] = (machine2 & (1 << i)) != 0;
-  }
-  for (let i = 0; i < 32; i++) {
-    tmCompatibility[i + 64] = (machine3 & (1 << i)) != 0;
-  }
-  for (let i = 0; i < 32; i++) {
-    tmCompatibility[i + 96] = (machine4 & (1 << i)) != 0;
-  }
- 
-  return tmCompatibility;
-}
- 
-function getTechMachineLearnset(pokemonId = 0) {
-  const learnset = getTMCompatibility(pokemonId);
- 
-  const canLearn = [];
-  for (let i = 0; i <= MAX_TM_COUNT; i++) {
-    const tm = ItemTable.WazaMachine[i];
- 
-    const legalitySetValue = ItemTable.Item[tm.itemNo].group_id;
-    const isLearnable = learnset[legalitySetValue - 1];
- 
-    if (isLearnable) {
-      canLearn.push({ level: 'tm', move: getMoveProperties(tm.wazaNo) });
-    }
-  }
- 
-  return canLearn;
-}
- 
-function getPokemonLearnset(pokemonId = 0) {
-  if (!Number.isInteger(pokemonId) || pokemonId < 0) return [];
-  return LearnsetTable.WazaOboe[pokemonId]?.ar ?? [];
-}
- 
-export {
-  generateMovesViaLearnset,
-  getMoveId,
-  getMoveString,
-  isMoveNameSmogonCompatible,
-  getEggMoves,
-  getTechMachineLearnset,
-  getMoveProperties,
-  getPokemonLearnset,
-  getTMCompatibility,
-};
- 
- -
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/lcov-report/src/utils/dex/name.js.html b/coverage/lcov-report/src/utils/dex/name.js.html deleted file mode 100644 index 350030cb16..0000000000 --- a/coverage/lcov-report/src/utils/dex/name.js.html +++ /dev/null @@ -1,361 +0,0 @@ - - - - - - Code coverage report for src/utils/dex/name.js - - - - - - - - - -
-
-

All files / src/utils/dex name.js

-
- -
- 92.5% - Statements - 37/40 -
- - -
- 81.25% - Branches - 26/32 -
- - -
- 91.66% - Functions - 11/12 -
- - -
- 91.42% - Lines - 32/35 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-

-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -45 -46 -47 -48 -49 -50 -51 -52 -53 -54 -55 -56 -57 -58 -59 -60 -61 -62 -63 -64 -65 -66 -67 -68 -69 -70 -71 -72 -73 -74 -75 -76 -77 -78 -79 -80 -81 -82 -83 -84 -85 -86 -87 -88 -89 -90 -91 -92 -93  -  -  -3x -3x -  -4402x -4402x -  -4402x -4402x -3036x -3036x -  -  -1366x -1366x -1347x -1347x -  -  -19x -18x -  -1x -  -  -  -  -2x -  -  -  -2x -  -  -  -1507x -5x -  -  -  -26x -  -4x -  -4x -  -4x -  -4x -  -4x -  -4x -  -2x -  -  -  -  -7x -2055x -  -  -  -4x -2x -  -  -  -35x -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - 
import { PersonalTable, basePokemonNames, formPokemonNames } from '../../../__gamedata';
-import { FORM_MAP } from './functions';
- 
-const POKEMON_NAME_MAP = PersonalTable.Personal.reduce(createPokemonMap, {});
-const POKEMON_NAME_LIST = Object.values(POKEMON_NAME_MAP);
-function createPokemonMap(pokemonNameMap, currentPokemon) {
-  try {
-    const { id } = currentPokemon;
- 
-    const baseFormName = basePokemonNames.labelDataArray[id]?.wordDataArray[0]?.str;
-    if (typeof baseFormName === 'string' && baseFormName.length > 0) {
-      pokemonNameMap[id] = baseFormName;
-      return pokemonNameMap;
-    }
- 
-    const alternateFormName = formPokemonNames.labelDataArray[id]?.wordDataArray[0]?.str;
-    if (typeof alternateFormName === 'string' && alternateFormName.length > 0) {
-      pokemonNameMap[id] = alternateFormName;
-      return pokemonNameMap;
-    }
- 
-    pokemonNameMap[id] = getFormNameOfProblematicPokemon(id);
-    return pokemonNameMap;
-  } catch (e) {
-    throw Error(`${currentPokemon.id} - ${e}`);
-  }
-}
- 
-function getFormName(id = 0) {
-  return POKEMON_NAME_MAP[id];
-}
- 
-function getPokemonName(pokemonId = 0) {
-  return POKEMON_NAME_MAP[pokemonId];
-}
- 
-function getPokemonIdFromName(name = 'Egg') {
-  const id = Object.values(POKEMON_NAME_MAP).findIndex((e) => e === name);
-  return id === -1 ? 0 : id;
-}
- 
-function getFormNameOfProblematicPokemon(id = 0) {
-  switch (id) {
-    case 1242:
-      return 'Ash-Greninja';
-    case 1285:
-      return 'Meowstic-F';
-    case 1310:
-      return 'Rockruff Own-Tempo';
-    case 1441:
-      return 'Indeedee-F';
-    case 1454:
-      return 'Basculegion-F';
-    case 1456:
-      return 'Oinkologne-F';
-    default:
-      throw Error(`Bad Pokemon ID in PokemonNameMap: ${id}`);
-  }
-}
- 
-function getPokemonMonsnoFromName(pokemonName) {
-  if (!pokemonName) return -1;
-  return basePokemonNames.labelDataArray.findIndex((e) => e.wordDataArray[0].str === pokemonName);
-}
- 
-function getPokemonNames(to, from = 0) {
-  if (typeof to !== 'number' || to < 0) return [];
-  return POKEMON_NAME_LIST.slice(from, to);
-}
- 
-function getPokemonFormId(monsno = 0, id) {
-  return FORM_MAP[monsno]?.findIndex((e) => e === id) ?? -1;
-}
- 
-function getPokemonMonsNoAndFormNoFromPokemonId(pokemonId = 0) {
-	const { monsno } = PersonalTable.Personal[pokemonId];
-	const formno = FORM_MAP[monsno].indexOf(pokemonId);
-	return [monsno, formno];
-}
- 
-export {
-  getPokemonMonsnoFromName,
-  getFormName,
-  getFormNameOfProblematicPokemon,
-  getPokemonName,
-  getPokemonIdFromName,
-  getPokemonNames,
-  getPokemonFormId,
-  createPokemonMap,
-  POKEMON_NAME_MAP,
-  getPokemonMonsNoAndFormNoFromPokemonId
-};
- 
- -
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/lcov-report/src/utils/dex/nature.js.html b/coverage/lcov-report/src/utils/dex/nature.js.html deleted file mode 100644 index d6ae95ed58..0000000000 --- a/coverage/lcov-report/src/utils/dex/nature.js.html +++ /dev/null @@ -1,127 +0,0 @@ - - - - - - Code coverage report for src/utils/dex/nature.js - - - - - - - - - -
-
-

All files / src/utils/dex nature.js

-
- -
- 100% - Statements - 9/9 -
- - -
- 80% - Branches - 4/5 -
- - -
- 100% - Functions - 3/3 -
- - -
- 100% - Lines - 6/6 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-

-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -151x -  -  -3x -26x -2x -1x -  -  -  -1x -  -  -  - 
const { natureNames } = require('../../../__gamedata');
- 
-function getNatureId(natureString) {
-  if (!natureString) throw Error(`Bad natureString: ${natureString}`);
-  const index = natureNames.labelDataArray.findIndex((e) => e.wordDataArray[0].str === natureString);
-  if (index === -1) throw Error(`Bad natureString: ${natureString}`);
-  return index;
-}
- 
-function getNatureName(natureId = 0) {
-  return natureNames.labelDataArray[natureId].wordDataArray[0].str;
-}
- 
-export { getNatureId, getNatureName };
- 
- -
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/lcov-report/src/utils/dex/types.js.html b/coverage/lcov-report/src/utils/dex/types.js.html deleted file mode 100644 index 934713f736..0000000000 --- a/coverage/lcov-report/src/utils/dex/types.js.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - Code coverage report for src/utils/dex/types.js - - - - - - - - - -
-
-

All files / src/utils/dex types.js

-
- -
- 83.33% - Statements - 5/6 -
- - -
- 60% - Branches - 3/5 -
- - -
- 100% - Functions - 2/2 -
- - -
- 100% - Lines - 5/5 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-

-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -162x -  -  -6x -6x -6x -  -  -  -2x -  -  -  -  -  - 
const { typeName } = require('../../../__gamedata');
- 
-function getTypeName(typeId = 0) {
-  const type = typeName.labelDataArray[typeId]?.wordDataArray[0]?.str;
-  Iif (!type) throw Error(`Bad typeId: ${typeId}`);
-  return type;
-}
- 
-function getTypes(pokemonObject) {
-  return pokemonObject.type1 === pokemonObject.type2
-    ? [getTypeName(pokemonObject.type1)]
-    : [getTypeName(pokemonObject.type1), getTypeName(pokemonObject.type2)];
-}
- 
-export { getTypeName, getTypes };
- 
- -
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/lcov.info b/coverage/lcov.info deleted file mode 100644 index 468ec30927..0000000000 --- a/coverage/lcov.info +++ /dev/null @@ -1,1669 +0,0 @@ -TN: -SF:__gamedata/index.js -FNF:0 -FNH:0 -LF:0 -LH:0 -BRF:0 -BRH:0 -end_of_record -TN: -SF:plugins/pokedex-data-plugin/dex/ability.js -FN:3,makeSmogonAbilityObject -FN:9,getAbilityIdFromAbilityName -FN:12,(anonymous_2) -FN:18,getAbilityString -FN:24,getAbilityInfo -FN:27,(anonymous_5) -FNF:6 -FNH:6 -FNDA:2,makeSmogonAbilityObject -FNDA:2,getAbilityIdFromAbilityName -FNDA:270,(anonymous_2) -FNDA:8792,getAbilityString -FNDA:2,getAbilityInfo -FNDA:2,(anonymous_5) -DA:1,3 -DA:4,2 -DA:5,2 -DA:6,1 -DA:10,2 -DA:12,270 -DA:14,2 -DA:15,1 -DA:19,8792 -DA:20,8792 -DA:21,8791 -DA:25,2 -DA:26,2 -DA:27,1 -DA:28,2 -DA:31,1 -DA:34,3 -LF:17 -LH:17 -BRDA:3,0,0,0 -BRDA:4,1,0,2 -BRDA:4,1,1,1 -BRDA:5,2,0,1 -BRDA:5,2,1,1 -BRDA:5,3,0,2 -BRDA:5,3,1,1 -BRDA:10,4,0,0 -BRDA:10,4,1,2 -BRDA:14,5,0,1 -BRDA:14,5,1,1 -BRDA:18,6,0,0 -BRDA:19,7,0,8792 -BRDA:19,7,1,1 -BRDA:20,8,0,1 -BRDA:20,8,1,8791 -BRDA:20,9,0,8792 -BRDA:20,9,1,8791 -BRDA:26,10,0,1 -BRDA:26,10,1,1 -BRDA:26,11,0,2 -BRDA:26,11,1,2 -BRDA:26,11,2,1 -BRF:23 -BRH:20 -end_of_record -TN: -SF:plugins/pokedex-data-plugin/dex/data.js -FNF:0 -FNH:0 -DA:2,9 -DA:3,9 -DA:4,9 -DA:5,9 -DA:6,9 -DA:7,9 -DA:10,9 -DA:11,9 -DA:12,9 -DA:13,9 -DA:14,9 -DA:15,9 -DA:18,9 -DA:19,9 -DA:20,9 -DA:21,9 -DA:22,9 -DA:23,9 -DA:24,9 -DA:27,9 -DA:28,9 -DA:29,9 -DA:31,9 -LF:23 -LH:23 -BRF:0 -BRH:0 -end_of_record -TN: -SF:plugins/pokedex-data-plugin/dex/details.js -FN:7,getHeight -FN:21,getWeight -FNF:2 -FNH:2 -FNDA:1466,getHeight -FNDA:1466,getWeight -DA:1,2 -DA:3,2 -DA:4,2 -DA:5,2 -DA:8,1466 -DA:10,1466 -DA:12,1465 -DA:13,1465 -DA:14,1465 -DA:16,1465 -DA:17,1465 -DA:18,1465 -DA:22,1466 -DA:24,1466 -DA:26,1465 -DA:27,1465 -DA:29,1465 -DA:30,1465 -DA:33,2 -LF:19 -LH:19 -BRDA:7,0,0,0 -BRDA:8,1,0,1466 -BRDA:8,1,1,1 -BRDA:10,2,0,1 -BRDA:10,2,1,1465 -BRDA:21,3,0,0 -BRDA:22,4,0,1466 -BRDA:22,4,1,1 -BRDA:24,5,0,1 -BRDA:24,5,1,1465 -BRF:10 -BRH:8 -end_of_record -TN: -SF:plugins/pokedex-data-plugin/dex/egggroup.js -FN:25,getEggGroupViaPokemonId -FN:35,getEggGroupNameById -FN:41,createPokemonByEggGroupMap -FN:56,getPokemonIdsInEggGroup -FNF:4 -FNH:4 -FNDA:1473,getEggGroupViaPokemonId -FNDA:1937,getEggGroupNameById -FNDA:2932,createPokemonByEggGroupMap -FNDA:6,getPokemonIdsInEggGroup -DA:1,2 -DA:3,2 -DA:22,2 -DA:23,2 -DA:26,1473 -DA:27,2 -DA:29,1471 -DA:30,1471 -DA:31,1471 -DA:32,1471 -DA:36,1937 -DA:37,7 -DA:38,1930 -DA:43,2932 -DA:44,24 -DA:47,2932 -DA:48,8 -DA:51,2932 -DA:52,2932 -DA:53,2932 -DA:57,6 -DA:58,3 -DA:59,3 -DA:62,2 -LF:24 -LH:24 -BRDA:25,0,0,0 -BRDA:26,1,0,2 -BRDA:26,1,1,1471 -BRDA:26,2,0,1473 -BRDA:26,2,1,1472 -BRDA:26,2,2,1471 -BRDA:32,3,0,1012 -BRDA:32,3,1,459 -BRDA:35,4,0,0 -BRDA:36,5,0,7 -BRDA:36,5,1,1930 -BRDA:36,6,0,1937 -BRDA:36,6,1,1935 -BRDA:36,6,2,1933 -BRDA:43,7,0,24 -BRDA:43,7,1,2908 -BRDA:47,8,0,8 -BRDA:47,8,1,2924 -BRDA:56,9,0,0 -BRDA:57,10,0,3 -BRDA:57,10,1,3 -BRDA:57,11,0,6 -BRDA:57,11,1,5 -BRDA:57,11,2,4 -BRF:24 -BRH:21 -end_of_record -TN: -SF:plugins/pokedex-data-plugin/dex/functions.js -FN:6,createFormMap -FN:15,getPokemonIdFromFormMap -FN:19,(anonymous_2) -FN:20,(anonymous_3) -FN:23,(anonymous_4) -FN:27,getGender -FN:34,getImage -FN:40,formatBaseStats -FN:44,getGrassKnotPower -FN:53,getPokemonIdFromMonsNoAndForm -FN:54,(anonymous_10) -FNF:11 -FNH:11 -FNDA:5866,createFormMap -FNDA:3,getPokemonIdFromFormMap -FNDA:12182,(anonymous_2) -FNDA:171185,(anonymous_3) -FNDA:1466,(anonymous_4) -FNDA:4,getGender -FNDA:12187,getImage -FNDA:1465,formatBaseStats -FNDA:2946,getGrassKnotPower -FNDA:3,getPokemonIdFromMonsNoAndForm -FNDA:2686,(anonymous_10) -DA:1,4 -DA:4,4 -DA:7,5866 -DA:8,4045 -DA:11,5866 -DA:12,5866 -DA:16,3 -DA:19,4 -DA:20,171185 -DA:23,4 -DA:24,1466 -DA:28,4 -DA:29,3 -DA:30,2 -DA:31,1 -DA:35,12187 -DA:36,12187 -DA:37,12187 -DA:41,1465 -DA:45,2946 -DA:46,2696 -DA:47,2438 -DA:48,1850 -DA:49,1380 -DA:50,914 -DA:54,2686 -DA:57,4 -LF:27 -LH:27 -BRDA:7,0,0,4045 -BRDA:7,0,1,1821 -BRDA:15,1,0,0 -BRDA:15,2,0,0 -BRDA:16,3,0,3 -BRDA:16,3,1,1 -BRDA:28,4,0,1 -BRDA:28,4,1,3 -BRDA:29,5,0,1 -BRDA:29,5,1,2 -BRDA:30,6,0,1 -BRDA:30,6,1,1 -BRDA:34,7,0,1 -BRDA:34,8,0,3 -BRDA:45,9,0,250 -BRDA:45,9,1,2696 -BRDA:46,10,0,258 -BRDA:46,10,1,2438 -BRDA:47,11,0,588 -BRDA:47,11,1,1850 -BRDA:48,12,0,470 -BRDA:48,12,1,1380 -BRDA:49,13,0,466 -BRDA:49,13,1,914 -BRDA:54,14,0,2686 -BRDA:54,14,1,3 -BRF:26 -BRH:24 -end_of_record -TN: -SF:plugins/pokedex-data-plugin/dex/info.js -FN:11,getPokemonInfo -FNF:1 -FNH:1 -FNDA:1464,getPokemonInfo -DA:1,1 -DA:2,1 -DA:3,1 -DA:4,1 -DA:5,1 -DA:6,1 -DA:7,1 -DA:9,1 -DA:12,1464 -DA:13,1464 -DA:15,1464 -DA:45,1 -LF:12 -LH:12 -BRDA:11,0,0,0 -BRDA:11,1,0,0 -BRF:2 -BRH:0 -end_of_record -TN: -SF:plugins/pokedex-data-plugin/dex/item.js -FN:3,getItemIdFromItemName -FN:6,(anonymous_1) -FN:7,(anonymous_2) -FN:12,getItemString -FN:16,getItemImageUrl -FN:21,getTMImageUrl -FNF:6 -FNH:4 -FNDA:3,getItemIdFromItemName -FNDA:0,(anonymous_1) -FNDA:2072,(anonymous_2) -FNDA:8791,getItemString -FNDA:4395,getItemImageUrl -FNDA:0,getTMImageUrl -DA:1,2 -DA:4,3 -DA:5,2 -DA:6,0 -DA:7,2072 -DA:8,2 -DA:9,1 -DA:13,8791 -DA:17,4395 -DA:18,4395 -DA:22,0 -DA:24,2 -LF:12 -LH:10 -BRDA:4,0,0,1 -BRDA:4,0,1,2 -BRDA:5,1,0,0 -BRDA:5,1,1,2 -BRDA:8,2,0,1 -BRDA:8,2,1,1 -BRDA:12,3,0,0 -BRDA:16,4,0,0 -BRDA:21,5,0,0 -BRF:9 -BRH:5 -end_of_record -TN: -SF:plugins/pokedex-data-plugin/dex/moves.js -FN:17,generateMovesViaLearnset -FN:30,(anonymous_1) -FN:45,isMoveNameSmogonCompatible -FN:47,(anonymous_3) -FN:50,getMoveId -FN:52,(anonymous_5) -FN:57,getMoveString -FN:68,getMoveProperties -FN:92,getEggMoves -FN:96,(anonymous_9) -FN:97,(anonymous_10) -FN:103,getMoveDescription -FN:105,(anonymous_12) -FN:111,getTechMachineLearnset -FN:120,(anonymous_14) -FN:133,getPokemonLearnset -FN:138,getLevelLearnset -FN:149,parseTmLearnsetSection -FN:153,getTutorMoves -FN:158,(anonymous_19) -FNF:20 -FNH:20 -FNDA:8,generateMovesViaLearnset -FNDA:63,(anonymous_1) -FNDA:22,isMoveNameSmogonCompatible -FNDA:66,(anonymous_3) -FNDA:6,getMoveId -FNDA:1074,(anonymous_5) -FNDA:17,getMoveString -FNDA:203422,getMoveProperties -FNDA:1469,getEggMoves -FNDA:1075316,(anonymous_9) -FNDA:3108,(anonymous_10) -FNDA:203422,getMoveDescription -FNDA:454548,(anonymous_12) -FNDA:2933,getTechMachineLearnset -FNDA:375424,(anonymous_14) -FNDA:1473,getPokemonLearnset -FNDA:1466,getLevelLearnset -FNDA:11736,parseTmLearnsetSection -FNDA:1470,getTutorMoves -FNDA:7126,(anonymous_19) -DA:12,3 -DA:13,3 -DA:15,3 -DA:22,8 -DA:23,3 -DA:26,5 -DA:27,2 -DA:30,3 -DA:31,63 -DA:32,33 -DA:35,3 -DA:37,3 -DA:46,22 -DA:47,66 -DA:51,6 -DA:52,1074 -DA:53,4 -DA:54,3 -DA:58,17 -DA:60,16 -DA:61,16 -DA:62,1 -DA:65,15 -DA:69,203422 -DA:70,203422 -DA:71,203422 -DA:72,203422 -DA:73,203422 -DA:74,203422 -DA:76,203422 -DA:77,203422 -DA:78,203422 -DA:80,203422 -DA:93,1469 -DA:94,1468 -DA:95,1468 -DA:96,1075316 -DA:97,3108 -DA:104,203422 -DA:105,203422 -DA:106,454548 -DA:108,203422 -DA:112,2933 -DA:120,375424 -DA:122,2933 -DA:123,2933 -DA:124,375424 -DA:126,166853 -DA:127,166853 -DA:130,2933 -DA:134,1473 -DA:135,1470 -DA:139,1466 -DA:141,1466 -DA:142,1466 -DA:143,26331 -DA:146,1466 -DA:150,11736 -DA:154,1470 -DA:155,1468 -DA:156,695 -DA:157,537 -DA:158,7126 -DA:163,537 -DA:166,3 -LF:65 -LH:65 -BRDA:22,0,0,3 -BRDA:22,0,1,5 -BRDA:22,1,0,8 -BRDA:22,1,1,7 -BRDA:22,1,2,6 -BRDA:26,2,0,2 -BRDA:26,2,1,3 -BRDA:26,3,0,5 -BRDA:26,3,1,4 -BRDA:31,4,0,30 -BRDA:31,4,1,33 -BRDA:46,5,0,4 -BRDA:46,5,1,18 -BRDA:46,6,0,22 -BRDA:46,6,1,19 -BRDA:51,7,0,2 -BRDA:51,7,1,4 -BRDA:51,8,0,6 -BRDA:51,8,1,4 -BRDA:53,9,0,1 -BRDA:53,9,1,3 -BRDA:57,10,0,0 -BRDA:58,11,0,1 -BRDA:58,11,1,16 -BRDA:58,12,0,17 -BRDA:58,12,1,16 -BRDA:61,13,0,1 -BRDA:61,13,1,15 -BRDA:61,14,0,16 -BRDA:61,14,1,15 -BRDA:68,15,0,1 -BRDA:76,16,0,203422 -BRDA:76,16,1,0 -BRDA:82,17,0,203422 -BRDA:82,17,1,0 -BRDA:92,18,0,0 -BRDA:93,19,0,1 -BRDA:93,19,1,1468 -BRDA:93,20,0,1469 -BRDA:93,20,1,1469 -BRDA:96,21,0,1468 -BRDA:96,21,1,0 -BRDA:96,22,0,1075316 -BRDA:96,22,1,5045 -BRDA:103,23,0,0 -BRDA:124,24,0,208571 -BRDA:124,24,1,166853 -BRDA:133,25,0,1 -BRDA:134,26,0,3 -BRDA:134,26,1,1470 -BRDA:134,27,0,1473 -BRDA:134,27,1,1471 -BRDA:135,28,0,1470 -BRDA:135,28,1,0 -BRDA:138,29,0,0 -BRDA:153,30,0,0 -BRDA:153,31,0,2 -BRDA:154,32,0,2 -BRDA:154,32,1,1468 -BRDA:155,33,0,773 -BRDA:155,33,1,695 -BRDA:156,34,0,158 -BRDA:156,34,1,537 -BRF:63 -BRH:54 -end_of_record -TN: -SF:plugins/pokedex-data-plugin/dex/name.js -FN:5,createPokemonMap -FN:28,getFormName -FN:32,getPokemonName -FN:36,getPokemonIdFromName -FN:37,(anonymous_4) -FN:41,getFormNameOfProblematicPokemon -FN:60,getPokemonMonsnoFromName -FN:62,(anonymous_7) -FN:65,getPokemonNames -FN:70,getPokemonFormId -FN:71,(anonymous_10) -FN:74,normalizePokemonName -FN:78,getPokemonMonsNoAndFormNoFromPokemonId -FNF:13 -FNH:12 -FNDA:5868,createPokemonMap -FNDA:2,getFormName -FNDA:11552,getPokemonName -FNDA:5,getPokemonIdFromName -FNDA:1507,(anonymous_4) -FNDA:32,getFormNameOfProblematicPokemon -FNDA:7,getPokemonMonsnoFromName -FNDA:2055,(anonymous_7) -FNDA:4,getPokemonNames -FNDA:1475,getPokemonFormId -FNDA:5075,(anonymous_10) -FNDA:0,normalizePokemonName -FNDA:1466,getPokemonMonsNoAndFormNoFromPokemonId -DA:1,4 -DA:2,4 -DA:4,4 -DA:6,5868 -DA:7,5868 -DA:9,5868 -DA:10,5868 -DA:11,4047 -DA:12,4047 -DA:15,1821 -DA:16,1821 -DA:17,1796 -DA:18,1796 -DA:21,25 -DA:22,24 -DA:24,1 -DA:29,2 -DA:33,11552 -DA:37,1507 -DA:38,5 -DA:42,32 -DA:44,5 -DA:46,5 -DA:48,5 -DA:50,5 -DA:52,5 -DA:54,5 -DA:56,2 -DA:61,7 -DA:62,2055 -DA:66,4 -DA:67,2 -DA:71,5075 -DA:75,0 -DA:79,1466 -DA:80,1466 -DA:81,1466 -DA:84,4 -LF:38 -LH:37 -BRDA:10,0,0,4047 -BRDA:10,0,1,1821 -BRDA:10,1,0,5868 -BRDA:10,1,1,4047 -BRDA:16,2,0,1796 -BRDA:16,2,1,25 -BRDA:16,3,0,1821 -BRDA:16,3,1,1820 -BRDA:28,4,0,0 -BRDA:32,5,0,0 -BRDA:36,6,0,0 -BRDA:38,7,0,1 -BRDA:38,7,1,4 -BRDA:41,8,0,0 -BRDA:42,9,0,5 -BRDA:42,9,1,5 -BRDA:42,9,2,5 -BRDA:42,9,3,5 -BRDA:42,9,4,5 -BRDA:42,9,5,5 -BRDA:42,9,6,2 -BRDA:61,10,0,2 -BRDA:61,10,1,5 -BRDA:65,11,0,4 -BRDA:66,12,0,2 -BRDA:66,12,1,2 -BRDA:66,13,0,4 -BRDA:66,13,1,3 -BRDA:70,14,0,0 -BRDA:71,15,0,1475 -BRDA:71,15,1,1 -BRDA:78,16,0,0 -BRF:32 -BRH:26 -end_of_record -TN: -SF:plugins/pokedex-data-plugin/dex/nature.js -FN:3,getNatureId -FN:5,(anonymous_1) -FN:10,getNatureName -FNF:3 -FNH:3 -FNDA:3,getNatureId -FNDA:26,(anonymous_1) -FNDA:1,getNatureName -DA:1,1 -DA:4,3 -DA:5,26 -DA:6,2 -DA:7,1 -DA:11,1 -DA:14,1 -LF:7 -LH:7 -BRDA:4,0,0,1 -BRDA:4,0,1,2 -BRDA:6,1,0,1 -BRDA:6,1,1,1 -BRDA:10,2,0,0 -BRF:5 -BRH:4 -end_of_record -TN: -SF:plugins/pokedex-data-plugin/dex/pokemon.js -FN:10,getPokemon -FN:24,(anonymous_1) -FN:45,(anonymous_2) -FN:46,(anonymous_3) -FNF:4 -FNH:4 -FNDA:1466,getPokemon -FNDA:8796,(anonymous_1) -FNDA:1922,(anonymous_2) -FNDA:8620,(anonymous_3) -DA:1,1 -DA:2,1 -DA:3,1 -DA:4,1 -DA:5,1 -DA:6,1 -DA:7,1 -DA:8,1 -DA:11,1466 -DA:12,1466 -DA:13,1466 -DA:14,1466 -DA:15,1466 -DA:16,1466 -DA:24,8796 -DA:25,1466 -DA:26,1466 -DA:27,1466 -DA:28,1466 -DA:29,1466 -DA:30,1466 -DA:31,1466 -DA:32,1466 -DA:33,1466 -DA:35,1466 -DA:36,1466 -DA:37,1466 -DA:39,1466 -DA:45,1922 -DA:46,1466 -DA:47,8620 -DA:53,1466 -DA:54,1466 -DA:56,1466 -DA:57,1466 -DA:58,1466 -DA:60,1466 -DA:89,1 -LF:38 -LH:38 -BRF:0 -BRH:0 -end_of_record -TN: -SF:plugins/pokedex-data-plugin/dex/types.js -FN:3,getTypeName -FN:9,getTypes -FNF:2 -FNH:2 -FNDA:5866,getTypeName -FNDA:2,getTypes -DA:1,3 -DA:4,5866 -DA:5,5866 -DA:6,5866 -DA:10,2 -DA:15,3 -LF:6 -LH:6 -BRDA:3,0,0,0 -BRDA:5,1,0,0 -BRDA:5,1,1,5866 -BRDA:10,2,0,1 -BRDA:10,2,1,1 -BRF:5 -BRH:3 -end_of_record -TN: -SF:src/components/Pokedex/PokemonAbilities.jsx -FN:5,(anonymous_0) -FN:45,(anonymous_1) -FNF:2 -FNH:2 -FNDA:5,(anonymous_0) -FNDA:10,(anonymous_1) -DA:5,1 -DA:6,5 -DA:7,5 -DA:8,5 -DA:10,5 -DA:11,1 -DA:18,4 -DA:19,1 -DA:27,3 -DA:28,2 -DA:36,1 -DA:45,1 -DA:46,10 -LF:13 -LH:13 -BRDA:6,0,0,5 -BRDA:6,0,1,2 -BRDA:7,1,0,5 -BRDA:7,1,1,2 -BRDA:8,2,0,5 -BRDA:8,2,1,2 -BRDA:10,3,0,1 -BRDA:10,3,1,4 -BRDA:18,4,0,1 -BRDA:18,4,1,3 -BRDA:27,5,0,2 -BRDA:27,5,1,1 -BRDA:47,6,0,10 -BRDA:47,6,1,5 -BRDA:49,7,0,10 -BRDA:49,7,1,2 -BRDA:50,8,0,10 -BRDA:50,8,1,5 -BRF:18 -BRH:18 -end_of_record -TN: -SF:src/components/Pokedex2/PokemonAbilities.jsx -FN:6,(anonymous_0) -FN:46,(anonymous_1) -FN:49,(anonymous_2) -FN:53,(anonymous_3) -FNF:4 -FNH:2 -FNDA:5,(anonymous_0) -FNDA:10,(anonymous_1) -FNDA:0,(anonymous_2) -FNDA:0,(anonymous_3) -DA:6,1 -DA:7,5 -DA:8,5 -DA:9,5 -DA:11,5 -DA:12,1 -DA:19,4 -DA:20,1 -DA:28,3 -DA:29,2 -DA:37,1 -DA:46,1 -DA:47,10 -DA:49,10 -DA:50,0 -DA:53,10 -DA:54,0 -DA:56,10 -LF:18 -LH:16 -BRDA:7,0,0,5 -BRDA:7,0,1,2 -BRDA:8,1,0,5 -BRDA:8,1,1,2 -BRDA:9,2,0,5 -BRDA:9,2,1,2 -BRDA:11,3,0,1 -BRDA:11,3,1,4 -BRDA:19,4,0,1 -BRDA:19,4,1,3 -BRDA:28,5,0,2 -BRDA:28,5,1,1 -BRDA:59,6,0,10 -BRDA:59,6,1,5 -BRDA:63,7,0,10 -BRDA:63,7,1,2 -BRDA:64,8,0,10 -BRDA:64,8,1,5 -BRF:18 -BRH:18 -end_of_record -TN: -SF:src/core/genderRatioConverter.js -FN:1,(anonymous_0) -FNF:1 -FNH:1 -FNDA:7,(anonymous_0) -DA:1,1 -DA:2,7 -DA:3,1 -DA:5,6 -DA:6,5 -DA:7,5 -DA:8,5 -DA:9,5 -DA:10,5 -DA:11,5 -DA:12,5 -DA:17,1 -DA:18,1 -DA:20,0 -LF:14 -LH:13 -BRDA:2,0,0,1 -BRDA:2,0,1,6 -BRDA:5,1,0,5 -BRDA:5,1,1,1 -BRDA:17,2,0,1 -BRDA:17,2,1,0 -BRF:6 -BRH:5 -end_of_record -TN: -SF:src/core/pokemonFormSelector.js -FN:5,(anonymous_0) -FN:17,(anonymous_1) -FN:18,(anonymous_2) -FN:21,(anonymous_3) -FNF:4 -FNH:4 -FNDA:1466,(anonymous_0) -FNDA:1472,(anonymous_1) -FNDA:5075,(anonymous_2) -FNDA:1473,(anonymous_3) -DA:3,1 -DA:5,1 -DA:6,1466 -DA:7,1011 -DA:10,1466 -DA:11,1466 -DA:12,1466 -DA:14,1466 -DA:17,1 -DA:18,5075 -DA:21,1 -DA:22,1473 -DA:23,1473 -DA:24,1473 -LF:14 -LH:14 -BRDA:6,0,0,1011 -BRDA:6,0,1,455 -BRDA:10,1,0,1466 -BRDA:10,1,1,455 -BRDA:11,2,0,1466 -BRDA:11,2,1,6 -BRDA:21,3,0,0 -BRF:7 -BRH:6 -end_of_record -TN: -SF:src/core/pokemonStatCalculation.js -FN:17,(anonymous_0) -FN:33,(anonymous_1) -FN:37,(anonymous_2) -FN:41,(anonymous_3) -FN:45,(anonymous_4) -FNF:5 -FNH:5 -FNDA:16,(anonymous_0) -FNDA:4,(anonymous_1) -FNDA:4,(anonymous_2) -FNDA:4,(anonymous_3) -FNDA:4,(anonymous_4) -DA:1,1 -DA:7,1 -DA:12,1 -DA:17,1 -DA:18,16 -DA:19,8 -DA:20,8 -DA:24,8 -DA:26,8 -DA:27,8 -DA:30,8 -DA:33,1 -DA:34,4 -DA:37,1 -DA:38,4 -DA:41,1 -DA:42,4 -DA:45,1 -DA:46,4 -LF:19 -LH:19 -BRDA:17,0,0,0 -BRDA:17,1,0,0 -BRDA:18,2,0,8 -BRDA:18,2,1,8 -BRDA:19,3,0,0 -BRDA:19,3,1,8 -BRDA:26,4,0,8 -BRDA:26,4,1,0 -BRDA:26,5,0,8 -BRDA:26,5,1,8 -BRF:10 -BRH:6 -end_of_record -TN: -SF:src/utils/dex/ability.js -FN:3,makeSmogonAbilityObject -FN:9,getAbilityIdFromAbilityName -FN:12,(anonymous_2) -FN:18,getAbilityString -FN:24,getAbilityInfo -FN:27,(anonymous_5) -FNF:6 -FNH:6 -FNDA:2,makeSmogonAbilityObject -FNDA:12,getAbilityIdFromAbilityName -FNDA:679,(anonymous_2) -FNDA:2,getAbilityString -FNDA:12,getAbilityInfo -FNDA:22,(anonymous_5) -DA:1,2 -DA:4,2 -DA:5,2 -DA:6,1 -DA:10,12 -DA:12,679 -DA:14,12 -DA:15,11 -DA:19,2 -DA:20,2 -DA:21,1 -DA:25,12 -DA:26,12 -DA:27,11 -DA:28,22 -DA:31,11 -LF:16 -LH:16 -BRDA:3,0,0,0 -BRDA:4,1,0,2 -BRDA:4,1,1,1 -BRDA:5,2,0,1 -BRDA:5,2,1,1 -BRDA:5,3,0,2 -BRDA:5,3,1,1 -BRDA:10,4,0,0 -BRDA:10,4,1,12 -BRDA:14,5,0,1 -BRDA:14,5,1,11 -BRDA:18,6,0,0 -BRDA:19,7,0,2 -BRDA:19,7,1,1 -BRDA:20,8,0,1 -BRDA:20,8,1,1 -BRDA:20,9,0,2 -BRDA:20,9,1,1 -BRDA:26,10,0,1 -BRDA:26,10,1,11 -BRDA:26,11,0,12 -BRDA:26,11,1,12 -BRDA:26,11,2,11 -BRF:23 -BRH:20 -end_of_record -TN: -SF:src/utils/dex/details.js -FN:7,getHeight -FN:21,getWeight -FNF:2 -FNH:2 -FNDA:2,getHeight -FNDA:2,getWeight -DA:3,1 -DA:4,1 -DA:5,1 -DA:8,2 -DA:10,2 -DA:12,1 -DA:13,1 -DA:14,1 -DA:16,1 -DA:17,1 -DA:18,1 -DA:22,2 -DA:24,2 -DA:26,1 -DA:27,1 -DA:29,1 -DA:30,1 -LF:17 -LH:17 -BRDA:7,0,0,0 -BRDA:8,1,0,2 -BRDA:8,1,1,1 -BRDA:10,2,0,1 -BRDA:10,2,1,1 -BRDA:21,3,0,0 -BRDA:22,4,0,2 -BRDA:22,4,1,1 -BRDA:24,5,0,1 -BRDA:24,5,1,1 -BRF:10 -BRH:8 -end_of_record -TN: -SF:src/utils/dex/egggroup.js -FN:25,getEggGroupViaPokemonId -FN:35,getEggGroupNameById -FN:41,createPokemonByEggGroupMap -FN:56,getPokemonIdsInEggGroup -FNF:4 -FNH:4 -FNDA:7,getEggGroupViaPokemonId -FNDA:15,getEggGroupNameById -FNDA:1466,createPokemonByEggGroupMap -FNDA:6,getPokemonIdsInEggGroup -DA:3,1 -DA:22,1 -DA:23,1 -DA:26,7 -DA:27,2 -DA:29,5 -DA:30,5 -DA:31,5 -DA:32,5 -DA:36,15 -DA:37,7 -DA:38,8 -DA:43,1466 -DA:44,12 -DA:47,1466 -DA:48,4 -DA:51,1466 -DA:52,1466 -DA:53,1466 -DA:57,6 -DA:58,3 -DA:59,3 -LF:22 -LH:22 -BRDA:25,0,0,0 -BRDA:26,1,0,2 -BRDA:26,1,1,5 -BRDA:26,2,0,7 -BRDA:26,2,1,6 -BRDA:26,2,2,5 -BRDA:32,3,0,2 -BRDA:32,3,1,3 -BRDA:35,4,0,0 -BRDA:36,5,0,7 -BRDA:36,5,1,8 -BRDA:36,6,0,15 -BRDA:36,6,1,13 -BRDA:36,6,2,11 -BRDA:43,7,0,12 -BRDA:43,7,1,1454 -BRDA:47,8,0,4 -BRDA:47,8,1,1462 -BRDA:56,9,0,0 -BRDA:57,10,0,3 -BRDA:57,10,1,3 -BRDA:57,11,0,6 -BRDA:57,11,1,5 -BRDA:57,11,2,4 -BRF:24 -BRH:21 -end_of_record -TN: -SF:src/utils/dex/evolution.js -FN:6,getEvolutionMethodDetail -FN:24,getEvolutionTree -FN:41,(anonymous_2) -FN:46,checkEvolutionPath -FN:49,comparePath -FN:55,getEvolutionDetails -FNF:6 -FNH:4 -FNDA:3,getEvolutionMethodDetail -FNDA:218,getEvolutionTree -FNDA:167,(anonymous_2) -FNDA:0,checkEvolutionPath -FNDA:0,comparePath -FNDA:216,getEvolutionDetails -DA:7,3 -DA:8,0 -DA:10,3 -DA:11,2 -DA:12,2 -DA:13,2 -DA:14,2 -DA:15,0 -DA:16,0 -DA:18,2 -DA:19,2 -DA:21,2 -DA:25,218 -DA:26,2 -DA:29,216 -DA:30,216 -DA:31,0 -DA:34,216 -DA:36,216 -DA:38,216 -DA:41,167 -DA:43,216 -DA:47,0 -DA:52,0 -DA:56,216 -DA:58,216 -DA:59,0 -DA:62,216 -DA:63,416 -DA:64,416 -DA:65,416 -DA:66,416 -DA:67,416 -DA:68,416 -DA:70,416 -DA:71,1358 -DA:72,1358 -DA:73,1358 -DA:74,1358 -DA:75,1358 -DA:77,1358 -DA:78,1358 -DA:79,213 -DA:80,213 -DA:81,213 -DA:82,213 -DA:83,213 -DA:86,416 -DA:87,167 -DA:96,49 -LF:50 -LH:43 -BRDA:6,0,0,2 -BRDA:7,1,0,0 -BRDA:7,1,1,3 -BRDA:10,2,0,1 -BRDA:10,2,1,2 -BRDA:10,3,0,3 -BRDA:10,3,1,2 -BRDA:10,3,2,2 -BRDA:14,4,0,0 -BRDA:14,4,1,2 -BRDA:24,5,0,0 -BRDA:24,6,0,51 -BRDA:25,7,0,2 -BRDA:25,7,1,216 -BRDA:25,8,0,218 -BRDA:25,8,1,216 -BRDA:30,9,0,0 -BRDA:30,9,1,216 -BRDA:34,10,0,49 -BRDA:34,10,1,167 -BRDA:58,11,0,0 -BRDA:58,11,1,216 -BRDA:78,12,0,213 -BRDA:78,12,1,1145 -BRDA:86,13,0,167 -BRDA:86,13,1,249 -BRF:26 -BRH:21 -end_of_record -TN: -SF:src/utils/dex/evolutionConstants.js -FNF:0 -FNH:0 -DA:7,1 -DA:9,1 -LF:2 -LH:2 -BRF:0 -BRH:0 -end_of_record -TN: -SF:src/utils/dex/functions.js -FN:7,createFormMap -FN:16,getPokemonIdFromFormMap -FN:20,getGender -FN:27,getImage -FN:33,formatBaseStats -FN:37,getGrassKnotPower -FN:46,getPokemonIdFromMonsNoAndForm -FN:47,(anonymous_7) -FN:50,doNothing -FN:54,getDexDescription -FN:56,(anonymous_10) -FNF:11 -FNH:9 -FNDA:5866,createFormMap -FNDA:3,getPokemonIdFromFormMap -FNDA:4,getGender -FNDA:5,getImage -FNDA:1,formatBaseStats -FNDA:16,getGrassKnotPower -FNDA:1361,getPokemonIdFromMonsNoAndForm -FNDA:460267,(anonymous_7) -FNDA:2,doNothing -FNDA:0,getDexDescription -FNDA:0,(anonymous_10) -DA:5,4 -DA:8,5866 -DA:9,4045 -DA:12,5866 -DA:13,5866 -DA:17,3 -DA:21,4 -DA:22,3 -DA:23,2 -DA:24,1 -DA:28,5 -DA:29,5 -DA:30,5 -DA:34,1 -DA:38,16 -DA:39,14 -DA:40,11 -DA:41,8 -DA:42,5 -DA:43,2 -DA:47,460267 -DA:51,2 -DA:55,0 -DA:56,0 -DA:57,0 -LF:25 -LH:22 -BRDA:8,0,0,4045 -BRDA:8,0,1,1821 -BRDA:16,1,0,0 -BRDA:16,2,0,0 -BRDA:17,3,0,3 -BRDA:17,3,1,1 -BRDA:21,4,0,1 -BRDA:21,4,1,3 -BRDA:22,5,0,1 -BRDA:22,5,1,2 -BRDA:23,6,0,1 -BRDA:23,6,1,1 -BRDA:27,7,0,1 -BRDA:27,8,0,3 -BRDA:38,9,0,2 -BRDA:38,9,1,14 -BRDA:39,10,0,3 -BRDA:39,10,1,11 -BRDA:40,11,0,3 -BRDA:40,11,1,8 -BRDA:41,12,0,3 -BRDA:41,12,1,5 -BRDA:42,13,0,3 -BRDA:42,13,1,2 -BRDA:47,14,0,460267 -BRDA:47,14,1,1399 -BRF:26 -BRH:24 -end_of_record -TN: -SF:src/utils/dex/item.js -FN:3,getItemIdFromItemName -FN:6,(anonymous_1) -FN:7,(anonymous_2) -FN:12,getItemString -FNF:4 -FNH:3 -FNDA:3,getItemIdFromItemName -FNDA:0,(anonymous_1) -FNDA:2072,(anonymous_2) -FNDA:3,getItemString -DA:1,2 -DA:4,3 -DA:5,2 -DA:6,0 -DA:7,2072 -DA:8,2 -DA:9,1 -DA:13,3 -LF:8 -LH:7 -BRDA:4,0,0,1 -BRDA:4,0,1,2 -BRDA:5,1,0,0 -BRDA:5,1,1,2 -BRDA:8,2,0,1 -BRDA:8,2,1,1 -BRDA:12,3,0,0 -BRF:7 -BRH:5 -end_of_record -TN: -SF:src/utils/dex/moves.js -FN:17,generateMovesViaLearnset -FN:30,(anonymous_1) -FN:44,isMoveNameSmogonCompatible -FN:46,(anonymous_3) -FN:49,getMoveId -FN:51,(anonymous_5) -FN:56,getMoveString -FN:67,getMoveProperties -FN:90,getEggMoves -FN:94,(anonymous_9) -FN:95,(anonymous_10) -FN:101,getMoveDescription -FN:103,(anonymous_12) -FN:109,getTMCompatibility -FN:129,getTechMachineLearnset -FN:147,getPokemonLearnset -FNF:16 -FNH:16 -FNDA:8,generateMovesViaLearnset -FNDA:63,(anonymous_1) -FNDA:22,isMoveNameSmogonCompatible -FNDA:66,(anonymous_3) -FNDA:6,getMoveId -FNDA:1074,(anonymous_5) -FNDA:17,getMoveString -FNDA:70,getMoveProperties -FNDA:3,getEggMoves -FNDA:5,(anonymous_9) -FNDA:14,(anonymous_10) -FNDA:70,getMoveDescription -FNDA:154,(anonymous_12) -FNDA:5,getTMCompatibility -FNDA:3,getTechMachineLearnset -FNDA:7,getPokemonLearnset -DA:14,2 -DA:15,2 -DA:22,8 -DA:23,3 -DA:26,5 -DA:27,2 -DA:30,3 -DA:31,63 -DA:32,33 -DA:34,3 -DA:35,0 -DA:37,3 -DA:39,3 -DA:41,3 -DA:45,22 -DA:46,66 -DA:50,6 -DA:51,1074 -DA:52,4 -DA:53,3 -DA:57,17 -DA:59,16 -DA:60,16 -DA:61,1 -DA:64,15 -DA:68,70 -DA:69,70 -DA:70,70 -DA:71,70 -DA:72,70 -DA:73,70 -DA:75,70 -DA:76,70 -DA:77,70 -DA:79,70 -DA:91,3 -DA:92,2 -DA:93,2 -DA:94,5 -DA:95,14 -DA:102,70 -DA:103,70 -DA:104,154 -DA:106,70 -DA:110,5 -DA:111,5 -DA:113,5 -DA:114,160 -DA:116,5 -DA:117,160 -DA:119,5 -DA:120,160 -DA:122,5 -DA:123,160 -DA:126,5 -DA:130,3 -DA:132,3 -DA:133,3 -DA:134,315 -DA:136,315 -DA:137,315 -DA:139,315 -DA:140,66 -DA:144,3 -DA:148,7 -DA:149,4 -LF:66 -LH:65 -BRDA:22,0,0,3 -BRDA:22,0,1,5 -BRDA:22,1,0,8 -BRDA:22,1,1,7 -BRDA:22,1,2,6 -BRDA:26,2,0,2 -BRDA:26,2,1,3 -BRDA:26,3,0,5 -BRDA:26,3,1,4 -BRDA:31,4,0,30 -BRDA:31,4,1,33 -BRDA:34,5,0,0 -BRDA:34,5,1,3 -BRDA:39,6,0,3 -BRDA:39,6,1,0 -BRDA:39,7,0,3 -BRDA:39,7,1,0 -BRDA:39,8,0,3 -BRDA:39,8,1,0 -BRDA:39,9,0,3 -BRDA:39,9,1,0 -BRDA:45,10,0,4 -BRDA:45,10,1,18 -BRDA:45,11,0,22 -BRDA:45,11,1,19 -BRDA:50,12,0,2 -BRDA:50,12,1,4 -BRDA:50,13,0,6 -BRDA:50,13,1,4 -BRDA:52,14,0,1 -BRDA:52,14,1,3 -BRDA:56,15,0,0 -BRDA:57,16,0,1 -BRDA:57,16,1,16 -BRDA:57,17,0,17 -BRDA:57,17,1,16 -BRDA:60,18,0,1 -BRDA:60,18,1,15 -BRDA:60,19,0,16 -BRDA:60,19,1,15 -BRDA:67,20,0,1 -BRDA:75,21,0,70 -BRDA:75,21,1,0 -BRDA:80,22,0,70 -BRDA:80,22,1,0 -BRDA:90,23,0,0 -BRDA:91,24,0,1 -BRDA:91,24,1,2 -BRDA:91,25,0,3 -BRDA:91,25,1,3 -BRDA:94,26,0,2 -BRDA:94,26,1,0 -BRDA:94,27,0,5 -BRDA:94,27,1,2 -BRDA:101,28,0,0 -BRDA:109,29,0,0 -BRDA:129,30,0,0 -BRDA:139,31,0,66 -BRDA:139,31,1,249 -BRDA:147,32,0,1 -BRDA:148,33,0,3 -BRDA:148,33,1,4 -BRDA:148,34,0,7 -BRDA:148,34,1,5 -BRDA:149,35,0,4 -BRDA:149,35,1,0 -BRF:66 -BRH:52 -end_of_record -TN: -SF:src/utils/dex/name.js -FN:6,createPokemonMap -FN:29,getFormName -FN:33,getPokemonName -FN:37,getPokemonIdFromName -FN:38,(anonymous_4) -FN:42,getFormNameOfProblematicPokemon -FN:61,getPokemonMonsnoFromName -FN:63,(anonymous_7) -FN:66,getPokemonNames -FN:71,getPokemonFormId -FN:72,(anonymous_10) -FN:75,getPokemonMonsNoAndFormNoFromPokemonId -FNF:12 -FNH:11 -FNDA:4402,createPokemonMap -FNDA:2,getFormName -FNDA:2,getPokemonName -FNDA:5,getPokemonIdFromName -FNDA:1507,(anonymous_4) -FNDA:26,getFormNameOfProblematicPokemon -FNDA:7,getPokemonMonsnoFromName -FNDA:2055,(anonymous_7) -FNDA:4,getPokemonNames -FNDA:10,getPokemonFormId -FNDA:35,(anonymous_10) -FNDA:0,getPokemonMonsNoAndFormNoFromPokemonId -DA:4,3 -DA:5,3 -DA:7,4402 -DA:8,4402 -DA:10,4402 -DA:11,4402 -DA:12,3036 -DA:13,3036 -DA:16,1366 -DA:17,1366 -DA:18,1347 -DA:19,1347 -DA:22,19 -DA:23,18 -DA:25,1 -DA:30,2 -DA:34,2 -DA:38,1507 -DA:39,5 -DA:43,26 -DA:45,4 -DA:47,4 -DA:49,4 -DA:51,4 -DA:53,4 -DA:55,4 -DA:57,2 -DA:62,7 -DA:63,2055 -DA:67,4 -DA:68,2 -DA:72,35 -DA:76,0 -DA:77,0 -DA:78,0 -LF:35 -LH:32 -BRDA:11,0,0,3036 -BRDA:11,0,1,1366 -BRDA:11,1,0,4402 -BRDA:11,1,1,3036 -BRDA:17,2,0,1347 -BRDA:17,2,1,19 -BRDA:17,3,0,1366 -BRDA:17,3,1,1365 -BRDA:29,4,0,0 -BRDA:33,5,0,0 -BRDA:37,6,0,0 -BRDA:39,7,0,1 -BRDA:39,7,1,4 -BRDA:42,8,0,0 -BRDA:43,9,0,4 -BRDA:43,9,1,4 -BRDA:43,9,2,4 -BRDA:43,9,3,4 -BRDA:43,9,4,4 -BRDA:43,9,5,4 -BRDA:43,9,6,2 -BRDA:62,10,0,2 -BRDA:62,10,1,5 -BRDA:66,11,0,4 -BRDA:67,12,0,2 -BRDA:67,12,1,2 -BRDA:67,13,0,4 -BRDA:67,13,1,3 -BRDA:71,14,0,0 -BRDA:72,15,0,10 -BRDA:72,15,1,1 -BRDA:75,16,0,0 -BRF:32 -BRH:26 -end_of_record -TN: -SF:src/utils/dex/nature.js -FN:3,getNatureId -FN:5,(anonymous_1) -FN:10,getNatureName -FNF:3 -FNH:3 -FNDA:3,getNatureId -FNDA:26,(anonymous_1) -FNDA:1,getNatureName -DA:1,1 -DA:4,3 -DA:5,26 -DA:6,2 -DA:7,1 -DA:11,1 -LF:6 -LH:6 -BRDA:4,0,0,1 -BRDA:4,0,1,2 -BRDA:6,1,0,1 -BRDA:6,1,1,1 -BRDA:10,2,0,0 -BRF:5 -BRH:4 -end_of_record -TN: -SF:src/utils/dex/types.js -FN:3,getTypeName -FN:9,getTypes -FNF:2 -FNH:2 -FNDA:6,getTypeName -FNDA:2,getTypes -DA:1,2 -DA:4,6 -DA:5,6 -DA:6,6 -DA:10,2 -LF:5 -LH:5 -BRDA:3,0,0,0 -BRDA:5,1,0,0 -BRDA:5,1,1,6 -BRDA:10,2,0,1 -BRDA:10,2,1,1 -BRF:5 -BRH:3 -end_of_record diff --git a/plugins/pokedex-data-plugin/dex/data.js b/plugins/pokedex-data-plugin/dex/data.js index 3f47741583..ec3e977f98 100644 --- a/plugins/pokedex-data-plugin/dex/data.js +++ b/plugins/pokedex-data-plugin/dex/data.js @@ -6,6 +6,7 @@ const EggMovesTable = require('../../../__gamedata/TamagoWazaTable.json'); const LearnsetTable = require('../../../__gamedata/WazaOboeTable.json'); const MovesTable = require('../../../__gamedata/WazaTable.json'); const ItemTable = require('../../../__gamedata/ItemTable.json'); +const EvolutionData = require('../../../__gamedata/evolution.json'); //All the Pokemon english files const basePokemonNames = require('../../../__gamedata/english_ss_monsname.json'); @@ -36,6 +37,7 @@ module.exports = { EggMovesTable, LearnsetTable, MovesTable, + EvolutionData, basePokemonNames, formPokemonNames, pokemonHeight, diff --git a/plugins/pokedex-data-plugin/dex/evolution.js b/plugins/pokedex-data-plugin/dex/evolution.js index 49d6af6130..47dd37ac98 100644 --- a/plugins/pokedex-data-plugin/dex/evolution.js +++ b/plugins/pokedex-data-plugin/dex/evolution.js @@ -1,159 +1,148 @@ -const None = 0, - Item = 1, - Move = 2, - Pokemon = 3, - Typing = 4, - GameVersion = 5; - -const EVOLUTION_METHOD_REQUIRES_LEVEL = [ - false, - false, - false, - false, - true, - false, - false, - false, - false, - true, - true, - true, - true, - true, - true, - true, - false, - false, - false, - true, - true, - false, - false, - true, - true, - false, - false, - false, - true, - false, - true, - true, - true, - true, - true, - false, - true, - true, - true, - false, - true, - true, - false, - false, - false, - false, - true, - true, -]; - -const EVOLUTION_METHODS = [ - '', - 'On LvUp: high friendship', - 'On LvUp: high friendship & is day', - 'On LvUp: high friendship & is night', - 'On LvUp: Lv ≥ LvReq', - 'On Trade', - 'On Trade: holds item', - 'Karrablast/Shelmet Trade', - 'On UseItem', - 'On LvUp: Lv ≥ LvReq & Atk > Def', - 'On LvUp: Lv ≥ LvReq & Def > Atk', - 'On LvUp: Lv ≥ LvReq & Atk = Def', - 'On LvUp: Lv ≥ LvReq & rng(0-9) ≤ 4', - 'On LvUp: Lv ≥ LvReq & rng(0-9) > 4', - 'On LvUp: Lv ≥ LvReq → Get Shedinja', - 'SPECIAL_NUKENIN', - 'On LvUp: high beauty', - 'On UseItem: is male', - 'On UseItem: is female', - 'On LvUp: Lv ≥ LvReq & holds item & is day', - 'On LvUp: Lv ≥ LvReq & holds item & is night', - 'On LvUp: has move', - 'On LvUp: Pokémon in party', - 'On LvUp: Lv ≥ LvReq & is male', - 'On LvUp: Lv ≥ LvReq & is female', - 'On LvUp: is by magnetic field', - 'On LvUp: is by moss rock', - 'On LvUp: is by ice rock', - 'On LvUp: Lv ≥ LvReq & device upside down', - 'On LvUp: high friendship & has move of type', - 'On LvUp: Lv ≥ LvReq & Dark Pokémon in party', - 'On LvUp: Lv ≥ LvReq & is raining', - 'On LvUp: Lv ≥ LvReq & is day', - 'On LvUp: Lv ≥ LvReq & is night', - 'On LvUp: Lv ≥ LvReq & is female → set form to 1', - 'FRIENDLY', - 'On LvUp: Lv ≥ LvReq & is game version', - 'On LvUp: Lv ≥ LvReq & is game version & is day', - 'On LvUp: Lv ≥ LvReq & is game version & is night', - 'On LvUp: is by summit', - 'On LvUp: Lv ≥ LvReq & is dusk', - 'On LvUp: Lv ≥ LvReq & is outside region', - 'On UseItem: is outside region', - "Galarian Farfetch'd Evolution", - 'Galarian Yamask Evolution', - 'Milcery Evolution', - 'On LvUp: Lv ≥ LvReq & has amped nature', - 'On LvUp: Lv ≥ LvReq & has low-key nature', -]; - -const EVOLUTION_METHOD_PARAM_TYPE = [ - None, - None, - None, - None, - None, - None, - Item, - None, - Item, - None, - None, - None, - None, - None, - None, - None, - None, - Item, - Item, - Item, - Item, - Move, - Pokemon, - None, - None, - None, - None, - None, - None, - Typing, - None, - None, - None, - None, - None, - None, - GameVersion, - GameVersion, - GameVersion, - None, - None, - None, - Item, - None, - None, - None, - None, - None, -]; +const { EvolutionData } = require('./data'); +// const { EvolutionData3 } = require('./data3'); +const { EVOLUTION_METHOD_DETAILS, REPLACE_STRING } = require('./evolutionConstants'); +const { getPokemonIdFromMonsNoAndForm } = require('./functions'); +const { getMoveLevelLearned, getMoveId } = require('./moves'); + +function getEvolutionMethodDetail(methodId, methodParameter = 0, mode = "2.0", level, pokemonId = 0) { + if (methodId === -1) { + return -1; + } + if (!EVOLUTION_METHOD_DETAILS[methodId]){ + throw Error(`This Method is currently not handled: ${methodId}`) + } + const evolutionDetails = { ...EVOLUTION_METHOD_DETAILS[methodId] }; + const evoFunction = evolutionDetails.function; + let evoMethod = evolutionDetails.method; + if (evolutionDetails.requiresLevel) { + evoMethod = "Level" + evolutionDetails.method = evolutionDetails.method.replace(REPLACE_STRING, level); + } else { + try { + evoMethod = evoFunction(methodParameter, mode); + } catch (error){ + throw Error(`This method parameter doesn't work ${error} ${methodId}, ${methodParameter}, ${evoFunction.name}`) + } + + if (evolutionDetails.parameterType === "Move") { + const levelLearned = getMoveLevelLearned(pokemonId, getMoveId(evoMethod), mode); + if (levelLearned === -1) { + evolutionDetails.method = + evolutionDetails.method.replace( + REPLACE_STRING, + `${evoMethod} (Cannot Learn)` + ); + } + if (levelLearned === 1) { + evolutionDetails.method = + evolutionDetails.method.replace( + REPLACE_STRING, + `${evoMethod} (Relearn)` + ); + } else if (levelLearned > 1) { + evolutionDetails.method = + evolutionDetails.method.replace( + REPLACE_STRING, + `${evoMethod} (Lv. ${levelLearned})` + ); + } else { + evolutionDetails.method = + evolutionDetails.method.replace( + REPLACE_STRING, + `${evoMethod} (On Evo)` + ); + } + } else { + evolutionDetails.method = evolutionDetails.method.replace(REPLACE_STRING, evoMethod); + } + } + return [evolutionDetails, evoMethod]; +} + +function getEvolutionTree(pokemonId = 0, fromRoot = true, mode = "2.0") { + if (!Number.isInteger(pokemonId) || pokemonId < 0) { + throw new Error(`Bad pokemon ID: ${pokemonId}`); + } + + // const evolutionData = mode === "2.0" ? EvolutionData : EvolutionData3 + // TODO Add 3.0 data back into this. + const evolutionData = EvolutionData;; + + const pokemon = evolutionData[pokemonId]; + if (!pokemon) { + throw new Error(`Bad pokemon ID: ${pokemonId}. Mode: ${mode}`); + } + + const startPokemonId = fromRoot ? pokemon.path[0] : pokemonId; + + const evolution = evolutionData[startPokemonId]; + + const evolutionTree = { + pokemonId: startPokemonId, + evolutionDetails: getEvolutionDetails(startPokemonId, mode), + evolvesInto: evolution.targets.map((nextStagePokemonId) => getEvolutionTree(nextStagePokemonId, false, mode)), + }; + return evolutionTree; +} + +function checkEvolutionPath(evolutionPath, originalPokemonId, mode = "2.0") { + // const evolutionData = mode === "2.0" ? EvolutionData : EvolutionData3; + // TODO Add 3.0 data back into this. + const evolutionData = EvolutionData; + const originalPath = evolutionData[originalPokemonId].path; + + function comparePath(treeNode, expectedId) { + } + + comparePath(evolutionPath, originalPath[0]); +} + +function getEvolutionDetails(pokemonId, mode = "2.0") { + // const evolutionData = mode === "2.0" ? EvolutionData : EvolutionData3; + // TODO Add 3.0 data back into this. + const evolutionData = EvolutionData; + const evolutionDetails = evolutionData[pokemonId].ar; + + if (!evolutionDetails) { + return null; + } + + for (let i = 0; i < evolutionDetails.length; i++) { + const evolutionInfo = evolutionDetails[i]; + let methodIds = []; + let methodParameters = []; + let monsNos = []; + let formNos = []; + let levels = []; + + for (let j = 0; j < evolutionInfo.length; j += 5) { + const methodId = evolutionInfo[j + 0]; + const methodParameter = evolutionInfo[j + 1]; + const monsNo = evolutionInfo[j + 2]; + const formNo = evolutionInfo[j + 3]; + const level = evolutionInfo[j + 4]; + + // TODO Add mode back into this function + const evolutionPokemonId = getPokemonIdFromMonsNoAndForm(monsNo, formNo); + if (evolutionPokemonId === pokemonId) { + methodIds.push(methodId); + methodParameters.push(methodParameter); + monsNos.push(monsNo); + formNos.push(formNo); + levels.push(level); + } + } + if (methodIds.length > 0) { + return { + methodIds, + methodParameters, + monsNos, + formNos, + levels, + }; + } + } + return null; +} + +module.exports = { getEvolutionTree, getEvolutionMethodDetail }; \ No newline at end of file diff --git a/plugins/pokedex-data-plugin/dex/evolutionConstants.js b/plugins/pokedex-data-plugin/dex/evolutionConstants.js new file mode 100644 index 0000000000..b61e38eb77 --- /dev/null +++ b/plugins/pokedex-data-plugin/dex/evolutionConstants.js @@ -0,0 +1,372 @@ +const { getItemString } = require('./item'); +const { getMoveString } = require('./moves'); +const { getPokemonName } = require('./name'); +const { getTypeName } = require('./types'); +const { doNothing } = require('./functions'); + +const REPLACE_STRING = "REPLACE"; + +const EVOLUTION_METHOD_DETAILS = { + 0: { + method: '', + requiresLevel: false, + parameterType: 'None', + function: doNothing, + }, + 1: { + method: 'Friendship', + requiresLevel: false, + parameterType: 'None', + function: doNothing, + }, + 2: { + method: 'Friendship + Day', + requiresLevel: false, + parameterType: 'None', + function: doNothing, + }, + 3: { + method: 'Friendship + Night', + requiresLevel: false, + parameterType: 'None', + function: doNothing, + }, + 4: { + method: `Level ${REPLACE_STRING}`, + requiresLevel: true, + parameterType: 'None', + function: doNothing, + }, + 5: { + method: 'Trade', + requiresLevel: false, + parameterType: 'None', + function: doNothing, + }, + 6: { + method: `Trade with ${REPLACE_STRING}`, + requiresLevel: false, + parameterType: 'Item', + function: getItemString, + }, + 7: { + method: 'Karrablast/Shelmet Trade', + requiresLevel: false, + parameterType: 'None', + function: doNothing, + }, + 8: { + method: `Use ${REPLACE_STRING}`, + requiresLevel: false, + parameterType: 'Item', + function: getItemString, + }, + 9: { + method: `Level ${REPLACE_STRING} & Atk > Def`, + requiresLevel: true, + parameterType: 'None', + function: doNothing, + }, + 10: { + method: `Level ${REPLACE_STRING} & Atk = Def`, + requiresLevel: true, + parameterType: 'None', + function: doNothing, + }, + 11: { + method: `Level ${REPLACE_STRING} & Def > Atk`, + requiresLevel: true, + parameterType: 'None', + function: doNothing, + }, + 12: { + method: `Level ${REPLACE_STRING} + RNG`, + requiresLevel: true, + parameterType: 'None', + function: doNothing, + }, + 13: { + method: `Level ${REPLACE_STRING} + RNG`, + requiresLevel: true, + parameterType: 'None', + function: doNothing, + }, + 14: { + method: `Level ${REPLACE_STRING} & Free Space + Poké Ball`, + requiresLevel: true, + parameterType: 'None', + function: doNothing, + }, + 15: { + method: 'SPECIAL_NUKENIN', + requiresLevel: true, + parameterType: 'None', + function: doNothing, + }, + 16: { + method: 'High Beauty', + requiresLevel: false, + parameterType: 'None', + function: doNothing, + }, + 17: { + method: `Use ${REPLACE_STRING} & Male`, + requiresLevel: false, + parameterType: 'Item', + function: getItemString, + }, + 18: { + method: `Use ${REPLACE_STRING} & Female`, + requiresLevel: false, + parameterType: 'Item', + function: getItemString, + }, + 19: { + method: `Hold ${REPLACE_STRING} & Day`, + requiresLevel: false, + parameterType: 'Item', + function: getItemString, + }, + 20: { + method: `Hold ${REPLACE_STRING} & Night`, + requiresLevel: false, + parameterType: 'Item', + function: getItemString, + }, + 21: { + method: `Level up with ${REPLACE_STRING}`, + requiresLevel: false, + parameterType: 'Move', + function: getMoveString, + }, + 22: { + method: `${REPLACE_STRING} in party`, + requiresLevel: false, + parameterType: 'Pokemon', + function: getPokemonName, + }, + 23: { + method: `Level ${REPLACE_STRING} & Male`, + requiresLevel: true, + parameterType: 'None', + function: doNothing, + }, + 24: { + method: `Level ${REPLACE_STRING} & Female`, + requiresLevel: true, + parameterType: 'None', + function: doNothing, + }, + 25: { + method: 'Level Up in Magnetic Field', + requiresLevel: false, + parameterType: 'None', + function: doNothing, + }, + 26: { + method: 'Level Up By Moss Rock', + requiresLevel: false, + parameterType: 'None', + function: doNothing, + }, + 27: { + method: 'Level Up By Ice Rock', + requiresLevel: false, + parameterType: 'None', + function: doNothing, + }, + 28: { + method: 'Level Up & Device Upside-Down', + requiresLevel: true, + parameterType: 'None', + function: doNothing, + }, + 29: { + method: `Friendship + ${REPLACE_STRING} Move`, + requiresLevel: false, + parameterType: 'Typing', + function: getTypeName, + }, + 30: { + method: `Level ${REPLACE_STRING} + Dark-Type in Party`, + requiresLevel: true, + parameterType: 'None', + function: doNothing, + }, + 31: { + method: `Level ${REPLACE_STRING} in Rain`, + requiresLevel: true, + parameterType: 'None', + function: doNothing, + }, + 32: { + method: `Level ${REPLACE_STRING} During Day`, + requiresLevel: true, + parameterType: 'None', + function: doNothing, + }, + 33: { + method: `Level ${REPLACE_STRING} During Night`, + requiresLevel: true, + parameterType: 'None', + function: doNothing, + }, + 34: { + method: 'On LvUp: Lv ≥ LvReq & is female → set form to 1', + requiresLevel: true, + parameterType: 'None', + function: doNothing, + }, + 35: { + method: 'FRIENDLY', + requiresLevel: false, + parameterType: 'None', + function: doNothing, + }, + 36: { + method: 'On LvUp: Lv ≥ LvReq & is game version', + requiresLevel: true, + parameterType: 'GameVersion', + function: doNothing, + }, + 37: { + method: 'On LvUp: Lv ≥ LvReq & is game version & is day', + requiresLevel: true, + parameterType: 'GameVersion', + function: doNothing, + }, + 38: { + method: 'On LvUp: Lv ≥ LvReq & is game version & is night', + requiresLevel: true, + parameterType: 'GameVersion', + function: doNothing, + }, + 39: { + method: 'Level Up on Summit', + requiresLevel: false, + parameterType: 'None', + function: doNothing, + }, + 40: { + method: `Level ${REPLACE_STRING} 7:00-7:59PM`, + requiresLevel: true, + parameterType: 'None', + function: doNothing, + }, + 41: { + method: `Level ${REPLACE_STRING} & Non-Native region`, + requiresLevel: true, + parameterType: 'None', + function: doNothing, + }, + 42: { + method: `Use ${REPLACE_STRING} & Non-Native region`, + requiresLevel: false, + parameterType: 'Item', + function: getItemString, + }, + 43: { + method: "3 critical hits in One Battle", + requiresLevel: false, + parameterType: 'None', + function: doNothing, + }, + 44: { + method: `Receive ${REPLACE_STRING} Damage`, + requiresLevel: false, + parameterType: 'None', + function: doNothing, + }, + 45: { + method: 'See Alcremie Evolutions page', + requiresLevel: false, + parameterType: 'None', + function: doNothing, + }, + 46: { + method: `Level ${REPLACE_STRING} & Amped Nature`, + requiresLevel: true, + parameterType: 'None', + function: doNothing, + }, + 47: { + method: `Level ${REPLACE_STRING} & Low-Key Nature`, + requiresLevel: true, + parameterType: 'None', + function: doNothing, + }, + 48: { + method: `Hold ${REPLACE_STRING}`, + requiresLevel: false, + parameterType: 'Item', + function: getItemString, + }, + 49: { + method: `${REPLACE_STRING} in party or was last Pokémon to evolve`, + requiresLevel: false, + parameterType: 'Pokemon', + function: getPokemonName, + }, + 50: { + method: `Level ${REPLACE_STRING} + RNG`, + requiresLevel: true, + parameterType: 'None', + function: doNothing, + }, + 51: { + method: `Level ${REPLACE_STRING} + RNG`, + requiresLevel: true, + parameterType: 'None', + function: doNothing, + }, + 52: { + method: `Have as follower for ${REPLACE_STRING} steps`, + requiresLevel: false, + parameterType: 'None', + function: doNothing, + }, + 53: { + method: `Have at least 1 ${REPLACE_STRING} in bag`, + requiresLevel: false, + parameterType: 'Item', + function: getItemString, + }, + 54: { + method: `Have at least 999 ${REPLACE_STRING} in bag`, + requiresLevel: false, + parameterType: 'Item', + function: getItemString, + }, + 55: { + method: `Knows ${REPLACE_STRING} + RNG`, + requiresLevel: false, + parameterType: 'Move', + function: getMoveString, + }, + 56: { + method: `Knows ${REPLACE_STRING} + RNG`, + requiresLevel: false, + parameterType: 'Move', + function: getMoveString, + }, + 57: { + method: `Receive ${REPLACE_STRING} Damage & Male`, + requiresLevel: false, + parameterType: 'None', + function: doNothing, + }, + 58: { + method: `Receive ${REPLACE_STRING} Damage & Female`, + requiresLevel: false, + parameterType: 'None', + function: doNothing, + }, + 59: { + method: `Do Nothing`, + requiresLevel: false, + parameterType: 'None', + function: doNothing, + }, +}; + +module.exports = { REPLACE_STRING, EVOLUTION_METHOD_DETAILS } \ No newline at end of file diff --git a/plugins/pokedex-data-plugin/dex/functions.js b/plugins/pokedex-data-plugin/dex/functions.js index e98689e293..c5d8d0fddd 100644 --- a/plugins/pokedex-data-plugin/dex/functions.js +++ b/plugins/pokedex-data-plugin/dex/functions.js @@ -54,6 +54,10 @@ function getPokemonIdFromMonsNoAndForm(monsno, formno) { return PersonalTable.Personal.find((e) => e.monsno === monsno && FORM_MAP[e.monsno][formno] === e.id)?.id; } +function doNothing(evoMethod, evolutionDetails) { + return evoMethod; +}; + module.exports = { FORM_MAP, getPokemonIdFromFormMap, @@ -65,4 +69,5 @@ module.exports = { createFormMap, getPokemonFormIndexById, getPokemonFormIds, + doNothing, }; diff --git a/plugins/pokedex-data-plugin/dex/moves.js b/plugins/pokedex-data-plugin/dex/moves.js index c48022a0bd..88c0e4cad6 100644 --- a/plugins/pokedex-data-plugin/dex/moves.js +++ b/plugins/pokedex-data-plugin/dex/moves.js @@ -135,6 +135,20 @@ function getPokemonLearnset(pokemonId = 0) { return LearnsetTable.WazaOboe[pokemonId]?.ar ?? []; } +function getMoveLevelLearned(pokemonId = 0, moveId = 0, mode = "2.0") { + // const learnsetTable = mode === "2.0" ? LearnsetTable : LearnsetTable3; + // TODO Add 3.0 mode + const learnsetTable = LearnsetTable; + if (!Number.isInteger(pokemonId) || pokemonId < 0) return []; + const moveIndex = learnsetTable.WazaOboe[pokemonId]?.ar.findIndex((move) => move === moveId); + if (moveIndex === -1) { + console.error(`This pokemon can't learn this move ${getPokemonName(pokemonId)}: ${getMoveString(moveId)}`) + return moveIndex; + } + const levelLearned = learnsetTable.WazaOboe[pokemonId]?.ar[moveIndex - 1] + return levelLearned; +} + function getLevelLearnset(pokemonId = 0) { const learnset = getPokemonLearnset(pokemonId); @@ -172,6 +186,7 @@ module.exports = { getTechMachineLearnset, getMoveProperties, getPokemonLearnset, + getMoveLevelLearned, parseTmLearnsetSection, getLevelLearnset, getTutorMoves diff --git a/plugins/pokedex-data-plugin/dex/name.js b/plugins/pokedex-data-plugin/dex/name.js index a671e4dd39..7ff200b75a 100644 --- a/plugins/pokedex-data-plugin/dex/name.js +++ b/plugins/pokedex-data-plugin/dex/name.js @@ -1,24 +1,58 @@ const { PersonalTable, basePokemonNames, formPokemonNames } = require('./data'); +const { START_OF_LINE_FORMS, END_OF_LINE_FORMS, REVERSE_ORDER_ARRAY } = require('./nameConstants') const { FORM_MAP } = require('./functions'); -const POKEMON_NAME_MAP = PersonalTable.Personal.reduce(createPokemonMap, {}); -function createPokemonMap(pokemonNameMap, currentPokemon) { +const POKEMON_NAME_MAP = PersonalTable.Personal.reduce((pokemonNameMap, currentPokemon) => { + return createPokemonMap(pokemonNameMap, currentPokemon, "2.0"); +}, {}); + +function createPokemonMap(pokemonNameMap, currentPokemon, mode = "2.0") { + // const baseMonNames = mode === "2.0" ? basePokemonNames : basePokemonNames3; + // const formMonNames = mode === "2.0" ? formPokemonNames : formPokemonNames3; + + const baseMonNames = basePokemonNames; + const formMonNames = formPokemonNames; try { const { id } = currentPokemon; - - const baseFormName = basePokemonNames.labelDataArray[id]?.wordDataArray[0]?.str; - if (typeof baseFormName === 'string' && baseFormName.length > 0) { - pokemonNameMap[id] = baseFormName; - return pokemonNameMap; + if (id < baseMonNames.labelDataArray.length) { + const baseFormName = baseMonNames.labelDataArray[id]?.wordDataArray[0]?.str; + const baseFormAltName = formMonNames.labelDataArray[id]?.wordDataArray[0]?.str; + if (typeof baseFormName === 'string' && baseFormName.length > 0) { + if ( + typeof baseFormAltName === 'string' + && baseFormAltName.length > 0 + ) { + if (baseFormAltName.includes(baseFormName)) { + pokemonNameMap[id] = baseFormAltName; + return pokemonNameMap; + } + pokemonNameMap[id] = `${baseFormName} ${baseFormAltName}`; + return pokemonNameMap; + } + pokemonNameMap[id] = baseFormName; + return pokemonNameMap; + } } - const alternateFormName = formPokemonNames.labelDataArray[id]?.wordDataArray[0]?.str; + const [monsNo, formNo] = getPokemonMonsNoAndFormNoFromPokemonId(id, mode); + const baseFormName = baseMonNames.labelDataArray[monsNo]?.wordDataArray[0]?.str; + const baseFormAltName = formMonNames.labelDataArray[monsNo]?.wordDataArray[0]?.str; + const pokemonName = + baseFormAltName.length > 0 && !baseFormName.includes(baseFormAltName) + ? `${baseFormName} ${baseFormAltName}` + : baseFormName; + + const alternateFormName = formMonNames.labelDataArray[id]?.wordDataArray[0]?.str; if (typeof alternateFormName === 'string' && alternateFormName.length > 0) { + if (!alternateFormName.includes(baseFormName)) { + pokemonNameMap[id] = `${baseFormName} ${alternateFormName}` + return pokemonNameMap + } pokemonNameMap[id] = alternateFormName; return pokemonNameMap; } - pokemonNameMap[id] = getFormNameOfProblematicPokemon(id); + pokemonNameMap[id] = getFormNameOfProblematicPokemon(id, mode); return pokemonNameMap; } catch (e) { throw Error(`${currentPokemon.id} - ${e}`); @@ -71,13 +105,52 @@ function getPokemonFormId(monsno = 0, id) { return FORM_MAP[monsno]?.findIndex((e) => e === id) ?? -1; } -function normalizePokemonName(name) { - return name.toLowerCase().replace(/\s+/g, '').replaceAll("'", ''); +function normalizePokemonName(value) { + // Converts to lowercase, removes non-word characters, + // converts spaces to hyphens, and strips leading/trailing whitespace. + let initialValue = value; + value = value.replace(/[!]/g, 'emark') + .replace(/[?]/g, 'qmark') + .replace(/[♀]/g, '-f') + .replace(/[♂]/g, '-m') + value = value.normalize('NFKD').replace(/[^\w\s-]/g, '').trim().toLowerCase(); + + if (value.includes(' ') || value.includes('-')) { + // Split the string at the last space + for (const badValue in START_OF_LINE_FORMS) { + if (value.includes(badValue)) { + value = value.replace(badValue, START_OF_LINE_FORMS[badValue]); + } + } + + const lastWord = value.split(' ').pop(); + for (const badEndValue in END_OF_LINE_FORMS) { + if (lastWord === badEndValue) { + value = value.replace(` ${badEndValue}`, END_OF_LINE_FORMS[badEndValue]); + } + } + + const parts = value.split(' ').reverse(); + + // Check if the first part is "Mega" or "Gigantamax" + if (REVERSE_ORDER_ARRAY.includes(parts[0]) || lastWord === 'genesect') { + // Rearrange string and join with hyphen + value = [parts[1], parts[0]].join('-'); + return value; + } + } + + return value.replace(/[-\s]+/g, '-'); } -function getPokemonMonsNoAndFormNoFromPokemonId(pokemonId = 0) { - const { monsno } = PersonalTable.Personal[pokemonId]; - const formno = FORM_MAP[monsno].indexOf(pokemonId); +function getPokemonMonsNoAndFormNoFromPokemonId(pokemonId = 0, mode = "2.0") { + // const personalTable = mode === "2.0" ? PersonalTable : PersonalTable3; + // const form_map = mode === "2.0" ? FORM_MAP : FORM_MAP3; + const personalTable = PersonalTable; + const form_map = FORM_MAP; + + const { monsno } = personalTable.Personal[pokemonId]; + const formno = form_map[monsno].indexOf(pokemonId); return [monsno, formno]; } diff --git a/plugins/pokedex-data-plugin/dex/nameConstants.js b/plugins/pokedex-data-plugin/dex/nameConstants.js new file mode 100644 index 0000000000..a386b36a2a --- /dev/null +++ b/plugins/pokedex-data-plugin/dex/nameConstants.js @@ -0,0 +1,59 @@ +const START_OF_LINE_FORMS = { + "hisuian": "hisui", + "galarian": "galar", + "alolan": "alola", + "paldean": "paldea", + "gigantamax": "gmax", + "ash-": "ash ", + "-f": "-female", + "drive ": "", + "type ": " ", + " sweet": "", + " forme power construct": " power construct", + " rider": "", + " wings": "", + " mane ": " ", + " color": "", + "! form": "emark", + "? form": "qmark", +} + +const END_OF_LINE_FORMS = { + "forme": "", + "form": "", + "pattern": "", + "mode": "", + "flower": "", + "trim": "", + "size": "", + "style": "", + "core": "", + "face": "", + "construct": "", + "sword": "", + "shield": "", +} + +const REVERSE_ORDER_ARRAY = [ + "hisui", + "galar", + "alola", + "paldea", + "mega", + "gmax", + "totem", + "eternamax", + "dada", + "ice", + "white", + "black", + "ultra", + "ash", + "titanic", + "shadow", + "dawn", + "dusk", + "original", +] + +module.exports = { START_OF_LINE_FORMS, END_OF_LINE_FORMS, REVERSE_ORDER_ARRAY } \ No newline at end of file diff --git a/plugins/pokedex-data-plugin/dex/pokemon.js b/plugins/pokedex-data-plugin/dex/pokemon.js index 6ed59e37b4..d0ae28952c 100644 --- a/plugins/pokedex-data-plugin/dex/pokemon.js +++ b/plugins/pokedex-data-plugin/dex/pokemon.js @@ -61,6 +61,7 @@ function getPokemon(pokemonId) { return { id, monsno, + formno, name, baseStats, baseStatsTotal, diff --git a/plugins/pokedex-data-plugin/index.js b/plugins/pokedex-data-plugin/index.js index 464e805eb2..57c682dfcd 100644 --- a/plugins/pokedex-data-plugin/index.js +++ b/plugins/pokedex-data-plugin/index.js @@ -22,6 +22,7 @@ function pokedexDataPlugin(context, options) { const pokemonList = pokemons.map((p) => ({ id: p.id, monsno: p.monsno, + formno: p.formno, name: p.name, imageSrc: p.imageSrc, type1: p.type1Id, @@ -30,6 +31,7 @@ function pokedexDataPlugin(context, options) { ability2: p.ability2, abilityH: p.abilityH, baseStats: p.baseStats, + forms: p.forms, })); return { @@ -66,22 +68,20 @@ function pokedexDataPlugin(context, options) { await Promise.all( content.pokemons.map(async (pokemon) => { const pokemonName = normalizePokemonName(pokemon.name); - const pokemonSlug = pokemon.isBaseForm ? pokemonName : pokemon.id; - const pokemonPath = `${pokedexPath}/${pokemonSlug}`; - const pokemonJson = await actions.createData(`lumi${pokemon.id}.json`, JSON.stringify(pokemon)); - - if (pokemon.isBaseForm) { - const redirectPathJson = await actions.createData(`lumi${pokemonName}.json`, JSON.stringify(pokemonPath)); - pokemonRedirectRoutes.push({ - path: `${pokedexPath}/${pokemon.id}`, - component: options.pokemonRedirectComponent, - exact: true, - modules: { - redirectPath: redirectPathJson, - }, - }); - } + const pokemonId = pokemon.formno === 0 ? pokemon.monsno : `${pokemon.monsno}_${pokemon.formno}`; + const pokemonPath = `${pokedexPath}/${pokemonName}`; + const pokemonJson = await actions.createData(`lumi${pokemonId}.json`, JSON.stringify(pokemon)); + const redirectPathJson = await actions.createData(`lumi${pokemonName}.json`, JSON.stringify(pokemonPath)); + const newPokemonPath = pokemon.formno === 0 ? pokemon.monsno : `${pokemon.monsno}_${pokemon.formno}`; + pokemonRedirectRoutes.push({ + path: `${pokedexPath}/${newPokemonPath}`, + component: options.pokemonRedirectComponent, + exact: true, + modules: { + redirectPath: redirectPathJson, + }, + }); pokemonRoutes.push({ path: pokemonPath, component: options.pokemonComponent, diff --git a/src/components/Pokedex2/EvolutionGraph.jsx b/src/components/Pokedex2/EvolutionGraph.jsx index 2e1bc7e1d1..49aa0f5f43 100644 --- a/src/components/Pokedex2/EvolutionGraph.jsx +++ b/src/components/Pokedex2/EvolutionGraph.jsx @@ -11,6 +11,7 @@ import { getMoveString, getMoveProperties } from '../../utils/dex/moves'; import { getTypeName } from '../../utils/dex/types'; import { getPokemonIdFromMonsNoAndForm } from '../../utils/dex/functions'; import { getItemString } from '../../utils/dex/item'; +import { ImageWithFallback } from '../common/ImageWithFallback'; const LEVEL = "Level" const FRIENDSHIP = "Friendship" @@ -24,6 +25,7 @@ const MALE = "Male" export default function EvolutionGraph(props) { const evolutionTree = getEvolutionTree(props.pokemonID); const [monsNo, formNo] = getPokemonMonsNoAndFormNoFromPokemonId(evolutionTree.pokemonId); + const firstPokemonPath = formNo === 0 ? monsNo : `${monsNo}_${formNo}`; const pokemonID = getPokemonIdFromMonsNoAndForm(monsNo, formNo) const defaultEvo = { pokemonId: -1, @@ -172,7 +174,7 @@ export default function EvolutionGraph(props) { const evolutionStyle = methodIndex === 1 ? ( styles.firstEvolution ) : (styles.secondEvolution) - const { evolvesInto } = tree; + const { pokemonId, evolvesInto } = tree; // Collect data for methods and images from all evolutions const allMethods = []; @@ -186,7 +188,7 @@ export default function EvolutionGraph(props) { formNos, levels } = evolution.evolutionDetails; - const methods = renderMethods(methodIds, methodParameters, levels); + const methods = renderMethods(methodIds, methodParameters, levels, pokemonId); allMethods.push(methods); if (methodIds[0] === -1) { @@ -195,20 +197,26 @@ export default function EvolutionGraph(props) { ); allImages.push(pokemonImages); } else { - const pokemonImages = monsNos.map((monsno, index) => ( - index === 0 ? ( - - - {getPokemonName(getPokemonIdFromMonsNoAndForm(monsno, - - - ) : "" - )); + const pokemonImages = monsNos.map((monsno, index) => { + const pokemonId = getPokemonIdFromMonsNoAndForm(monsno, formNos[index]); // TODO Add globalState here + const pokemonName = getPokemonName(pokemonId); // TODO Add globalState here + const pokemonPath = formNos[index] === 0 ? monsno : `${monsno}_${formNos[index]}` ; + return ( + index === 0 ? ( + + + + + + ) : "" + ); + }); allImages.push(pokemonImages); } }); @@ -233,12 +241,13 @@ export default function EvolutionGraph(props) { - - + diff --git a/src/components/Pokedex2/PokemonAlternativeFormsList.jsx b/src/components/Pokedex2/PokemonAlternativeFormsList.jsx index 21489a1717..9054af742a 100644 --- a/src/components/Pokedex2/PokemonAlternativeFormsList.jsx +++ b/src/components/Pokedex2/PokemonAlternativeFormsList.jsx @@ -2,7 +2,8 @@ import React from 'react'; import { Link } from 'react-router-dom' import { Box, Container, Typography } from '@mui/material'; import { ImageWithFallback } from '../common/ImageWithFallback'; -import { getPokemonIdFromName } from '../../utils/dex/name'; +import { getPokemonIdFromName } from '../../../plugins/pokedex-data-plugin/dex/name'; +import { getPokemonMonsNoAndFormNoFromPokemonId } from '../../../plugins/pokedex-data-plugin/dex/name'; export const PokemonAlternativeFormsList = ({ pokemonForms }) => { return pokemonForms.length > 1 ? ( @@ -11,6 +12,9 @@ export const PokemonAlternativeFormsList = ({ pokemonForms }) => { {pokemonForms.map((form, i) => { + const pokemonId = getPokemonIdFromName(form.name); // TODO Add globalState back in + const [monsno, formno] = getPokemonMonsNoAndFormNoFromPokemonId(pokemonId); // TODO Add globalState back in + const pokemonPath = formno === 0 ? monsno : `${monsno}_${formno}`; return ( { fallbackSrc={`/img/${pokemonForms[0].imageSrc}`} height={30} /> - + {form.name} {i < pokemonForms.length - 1 && ','} diff --git a/src/components/Pokedex2/PokemonListPageContent.jsx b/src/components/Pokedex2/PokemonListPageContent.jsx index 16f67dd418..635a9efb73 100644 --- a/src/components/Pokedex2/PokemonListPageContent.jsx +++ b/src/components/Pokedex2/PokemonListPageContent.jsx @@ -7,6 +7,7 @@ import { PokemonMoveType, TYPE_COLOR_MAP } from './PokemonMovesetList'; import { usePluginData } from '@docusaurus/useGlobalData'; import useBaseUrl from '@docusaurus/useBaseUrl'; import { PokemonInfoButton } from './PokedexInfoButton'; +import { ImageWithFallback } from '../common/ImageWithFallback'; export const PokemonListPageContent = ({ pokemonList }) => { const [pokemons, setPokemons] = useState(pokemonList); @@ -40,13 +41,20 @@ export const PokemonListPageContent = ({ pokemonList }) => { const PokemonListEntry = ({ pokemon, style }) => { const { path } = usePluginData('luminescent-pokedex-data-plugin'); + const pokemonPath = pokemon.formno === 0 ? pokemon.monsno : `${pokemon.monsno}_${pokemon.formno}`; return ( - + - + {pokemon.name} diff --git a/src/components/Pokedex2/PokemonPageContent.jsx b/src/components/Pokedex2/PokemonPageContent.jsx index b1a94829d5..b071bca445 100644 --- a/src/components/Pokedex2/PokemonPageContent.jsx +++ b/src/components/Pokedex2/PokemonPageContent.jsx @@ -39,7 +39,7 @@ export const PokemonPageContent = ({ pokemon, pokemonNames }) => { - + diff --git a/src/components/Pokedex2/PokemonSearchBox.jsx b/src/components/Pokedex2/PokemonSearchBox.jsx index ab9de79117..1ccd7b3bda 100644 --- a/src/components/Pokedex2/PokemonSearchBox.jsx +++ b/src/components/Pokedex2/PokemonSearchBox.jsx @@ -4,12 +4,12 @@ import { useHistory } from '@docusaurus/router'; import { usePluginData } from '@docusaurus/useGlobalData'; import useBaseUrl from '@docusaurus/useBaseUrl'; -export const PokemonSearchBox = ({ pokemonNames, pokemonId }) => { +export const PokemonSearchBox = ({ pokemonNames, formNo, monsNo }) => { const history = useHistory(); const { path } = usePluginData('luminescent-pokedex-data-plugin'); const pokedexPath = useBaseUrl(path); - const options = pokemonNames.map((pokemon) => ({ id: pokemon.id, label: pokemon.name })); - const pokemonName = options.find((p) => p.id === pokemonId); + const options = pokemonNames.map((pokemon) => ({ monsno: pokemon.monsno, formno: pokemon.formno, label: pokemon.name })); + const pokemonName = options.find((p) => p.monsno === monsNo && p.formno === formNo ); return ( { options={options} value={pokemonName} onChange={(_, pokemon) => { - history.push(`${pokedexPath}/${pokemon.id}`); + history.push(`${pokedexPath}/${pokemon.formno === 0 ? pokemon.monsno : `${pokemon.monsno}_${pokemon.formno}`}`); }} isOptionEqualToValue={(option, value) => { return option.id === value.id;