const imgBasePath = "/assets/img/pkmn/";
let favorites = [
    { img: `${imgBasePath}1.png`, title: "Bulbasaur"}, 
    { img: `${imgBasePath}2.png`, title: "Ivysaur"}, 
    { img: `${imgBasePath}3.png`, title: "Venusaur"}, 
    { img: `${imgBasePath}4.png`, title: "Charmander"}, 
    { img: `${imgBasePath}5.png`, title: "Charmeleon"}, 
    { img: `${imgBasePath}6.png`, title: "Charizard"}, 
    { img: `${imgBasePath}7.png`, title: "Squirtle"}, 
    { img: `${imgBasePath}8.png`, title: "Wartortle"}, 
    { img: `${imgBasePath}9.png`, title: "Blastoise"}, 
    { img: `${imgBasePath}15.png`, title: "Beedrill"}, 
    { img: `${imgBasePath}25.png`, title: "Pikachu"}, 
    { img: `${imgBasePath}26.png`, title: "Raichu"}, 
    { img: `${imgBasePath}28.png`, title: "Sandslash"}, 
    { img: `${imgBasePath}29.png`, title: "Nidoran (Female)"}, 
    { img: `${imgBasePath}30.png`, title: "Nidorina"}, 
    { img: `${imgBasePath}31.png`, title: "Nidoqueen"}, 
    { img: `${imgBasePath}32.png`, title: "Nidoran (Male)"}, 
    { img: `${imgBasePath}33.png`, title: "Nidorino"}, 
    { img: `${imgBasePath}34.png`, title: "Nidoking"}, 
    { img: `${imgBasePath}37.png`, title: "Vulpix"}, 
    { img: `${imgBasePath}38.png`, title: "Ninetales"}, 
    { img: `${imgBasePath}52.png`, title: "Meowth"}, 
    { img: `${imgBasePath}58.png`, title: "Growlithe"}, 
    { img: `${imgBasePath}59.png`, title: "Arcanine"}, 
    { img: `${imgBasePath}79.png`, title: "Slowpoke"}, 
    { img: `${imgBasePath}81.png`, title: "Magnemite"}, 
    { img: `${imgBasePath}82.png`, title: "Magneton"}, 
    { img: `${imgBasePath}87.png`, title: "Dewgong"}, 
    { img: `${imgBasePath}90.png`, title: "Shellder"}, 
    { img: `${imgBasePath}92.png`, title: "Gastly"}, 
    { img: `${imgBasePath}93.png`, title: "Haunter"}, 
    { img: `${imgBasePath}94.png`, title: "Gengar"}, 
    { img: `${imgBasePath}96.png`, title: "Drowzee"}, 
    { img: `${imgBasePath}104.png`, title: "Cubone"}, 
    { img: `${imgBasePath}112.png`, title: "Rhydon"}, 
    { img: `${imgBasePath}115.png`, title: "Kangaskhan"}, 
    { img: `${imgBasePath}131.png`, title: "Lapras"}, 
    { img: `${imgBasePath}133.png`, title: "Eevee"}, 
    { img: `${imgBasePath}134.png`, title: "Vaporeon"}, 
    { img: `${imgBasePath}135.png`, title: "Jolteon"}, 
    { img: `${imgBasePath}136.png`, title: "Flareon"}, 
    { img: `${imgBasePath}137.png`, title: "Porygon"}, 
    { img: `${imgBasePath}138.png`, title: "Omanyte"}, 
    { img: `${imgBasePath}147.png`, title: "Dratini"}, 
    { img: `${imgBasePath}148.png`, title: "Dragonair"}, 
    { img: `${imgBasePath}149.png`, title: "Dragonite"}, 
    { img: `${imgBasePath}150.png`, title: "Mewtwo"}, 
    { img: `${imgBasePath}151.png`, title: "Mew"}, 
    { img: `${imgBasePath}155.png`, title: "Cyndaquil"}, 
    { img: `${imgBasePath}156.png`, title: "Quilava"}, 
    { img: `${imgBasePath}157.png`, title: "Typhlosion"}, 
    { img: `${imgBasePath}158.png`, title: "Totodile"}, 
    { img: `${imgBasePath}159.png`, title: "Croconaw"}, 
    { img: `${imgBasePath}160.png`, title: "Feraligatr"}, 
    { img: `${imgBasePath}162.png`, title: "Furret"}, 
    { img: `${imgBasePath}166.png`, title: "Ledian"}, 
    { img: `${imgBasePath}167.png`, title: "Spinarak"}, 
    { img: `${imgBasePath}172.png`, title: "Pichu"}, 
    { img: `${imgBasePath}175.png`, title: "Togepi"}, 
    { img: `${imgBasePath}176.png`, title: "Togetic"}, 
    { img: `${imgBasePath}177.png`, title: "Natu"}, 
    { img: `${imgBasePath}178.png`, title: "Xatu"}, 
    { img: `${imgBasePath}179.png`, title: "Mareep"}, 
    { img: `${imgBasePath}180.png`, title: "Flaaffy"}, 
    { img: `${imgBasePath}181.png`, title: "Ampharos"}, 
    { img: `${imgBasePath}182.png`, title: "Bellossom"}, 
    { img: `${imgBasePath}183.png`, title: "Marill"}, 
    { img: `${imgBasePath}184.png`, title: "Azumarill"}, 
    { img: `${imgBasePath}187.png`, title: "Hoppip"}, 
    { img: `${imgBasePath}190.png`, title: "Aipom"}, 
    { img: `${imgBasePath}194.png`, title: "Wooper"}, 
    { img: `${imgBasePath}195.png`, title: "Quagsire"}, 
    { img: `${imgBasePath}196.png`, title: "Espeon"}, 
    { img: `${imgBasePath}197.png`, title: "Umbreon"}, 
    { img: `${imgBasePath}198.png`, title: "Murkrow"}, 
    { img: `${imgBasePath}200.png`, title: "Misdreavus"}, 
    { img: `${imgBasePath}202.png`, title: "Girafarig"}, 
    { img: `${imgBasePath}203.png`, title: "Wobbuffet"}, 
    { img: `${imgBasePath}206.png`, title: "Dunsparce"}, 
    { img: `${imgBasePath}212.png`, title: "Scizor"}, 
    { img: `${imgBasePath}213.png`, title: "Shuckle"}, 
    { img: `${imgBasePath}215.png`, title: "Sneasel"}, 
    { img: `${imgBasePath}216.png`, title: "Teddiursa"}, 
    { img: `${imgBasePath}218.png`, title: "Slugma"}, 
    { img: `${imgBasePath}222.png`, title: "Corsola"}, 
    { img: `${imgBasePath}225.png`, title: "Delibird"}, 
    { img: `${imgBasePath}227.png`, title: "Skarmory"}, 
    { img: `${imgBasePath}228.png`, title: "Houndour"}, 
    { img: `${imgBasePath}229.png`, title: "Houndoom"}, 
    { img: `${imgBasePath}231.png`, title: "Phanpy"}, 
    { img: `${imgBasePath}233.png`, title: "Porygon2"}, 
    { img: `${imgBasePath}235.png`, title: "Smeargle"}, 
    { img: `${imgBasePath}241.png`, title: "Miltank"}, 
    { img: `${imgBasePath}245.png`, title: "Suicune"}, 
    { img: `${imgBasePath}248.png`, title: "Tyranitar"}, 
    { img: `${imgBasePath}249.png`, title: "Lugia"}, 
    { img: `${imgBasePath}250.png`, title: "Ho-oh"}, 
    { img: `${imgBasePath}251.png`, title: "Celebi"}, 
    { img: `${imgBasePath}252.png`, title: "Treecko"}, 
    { img: `${imgBasePath}253.png`, title: "Grovyle"}, 
    { img: `${imgBasePath}254.png`, title: "Sceptile"}, 
    { img: `${imgBasePath}255.png`, title: "Torchic"}, 
    { img: `${imgBasePath}257.png`, title: "Blaziken"}, 
    { img: `${imgBasePath}258.png`, title: "Mudkip"}, 
    { img: `${imgBasePath}260.png`, title: "Swampert"}, 
    { img: `${imgBasePath}261.png`, title: "Poochyena"}, 
    { img: `${imgBasePath}262.png`, title: "Mightyena"}, 
    { img: `${imgBasePath}263.png`, title: "Zigzagoon"}, 
    { img: `${imgBasePath}265.png`, title: "Wurmple"}, 
    { img: `${imgBasePath}274.png`, title: "Nuzleaf"}, 
    { img: `${imgBasePath}280.png`, title: "Ralts"}, 
    { img: `${imgBasePath}281.png`, title: "Kirlia"}, 
    { img: `${imgBasePath}282.png`, title: "Gardevoir"}, 
    { img: `${imgBasePath}286.png`, title: "Breloom"}, 
    { img: `${imgBasePath}287.png`, title: "Slakoth"}, 
    { img: `${imgBasePath}298.png`, title: "Azurill"}, 
    { img: `${imgBasePath}300.png`, title: "Skitty"}, 
    { img: `${imgBasePath}301.png`, title: "Delcatty"}, 
    { img: `${imgBasePath}302.png`, title: "Sableye"}, 
    { img: `${imgBasePath}303.png`, title: "Mawile"}, 
    { img: `${imgBasePath}304.png`, title: "Aron"}, 
    { img: `${imgBasePath}306.png`, title: "Aggron"}, 
    { img: `${imgBasePath}311.png`, title: "Plusle"}, 
    { img: `${imgBasePath}312.png`, title: "Minun"}, 
    { img: `${imgBasePath}315.png`, title: "Roselia"}, 
    { img: `${imgBasePath}322.png`, title: "Numel"}, 
    { img: `${imgBasePath}327.png`, title: "Spinda"}, 
    { img: `${imgBasePath}328.png`, title: "Trapinch"}, 
    { img: `${imgBasePath}329.png`, title: "Vibrava"}, 
    { img: `${imgBasePath}330.png`, title: "Flygon"}, 
    { img: `${imgBasePath}334.png`, title: "Altaria"}, 
    { img: `${imgBasePath}335.png`, title: "Zangoose"}, 
    { img: `${imgBasePath}336.png`, title: "Seviper"}, 
    { img: `${imgBasePath}337.png`, title: "Lunatone"}, 
    { img: `${imgBasePath}338.png`, title: "Solrock"}, 
    { img: `${imgBasePath}350.png`, title: "Milotic"}, 
    { img: `${imgBasePath}352.png`, title: "Kecleon"}, 
    { img: `${imgBasePath}354.png`, title: "Banette"}, 
    { img: `${imgBasePath}359.png`, title: "Absol"}, 
    { img: `${imgBasePath}360.png`, title: "Wynaut"}, 
    { img: `${imgBasePath}363.png`, title: "Spheal"}, 
    { img: `${imgBasePath}373.png`, title: "Salamence"}, 
    { img: `${imgBasePath}380.png`, title: "Latias"}, 
    { img: `${imgBasePath}381.png`, title: "Latios"}, 
    { img: `${imgBasePath}384.png`, title: "Rayquaza"}, 
    { img: `${imgBasePath}385.png`, title: "Jirachi"}, 
    { img: `${imgBasePath}387.png`, title: "Turtwig"}, 
    { img: `${imgBasePath}389.png`, title: "Torterra"}, 
    { img: `${imgBasePath}393.png`, title: "Piplup"}, 
    { img: `${imgBasePath}403.png`, title: "Shinx"}, 
    { img: `${imgBasePath}404.png`, title: "Luxio"}, 
    { img: `${imgBasePath}405.png`, title: "Luxray"}, 
    { img: `${imgBasePath}407.png`, title: "Roserade"}, 
    { img: `${imgBasePath}418.png`, title: "Buizel"}, 
    { img: `${imgBasePath}419.png`, title: "Floatzel"}, 
    { img: `${imgBasePath}423.png`, title: "Gastrodon"}, 
    { img: `${imgBasePath}424.png`, title: "Ambipom"}, 
    { img: `${imgBasePath}427.png`, title: "Buneary"}, 
    { img: `${imgBasePath}428.png`, title: "Lopunny"}, 
    { img: `${imgBasePath}429.png`, title: "Mismagius"}, 
    { img: `${imgBasePath}430.png`, title: "Honchkrow"}, 
    { img: `${imgBasePath}431.png`, title: "Glameow"}, 
    { img: `${imgBasePath}432.png`, title: "Purugly"}, 
    { img: `${imgBasePath}445.png`, title: "Garchomp"}, 
    { img: `${imgBasePath}447.png`, title: "Riolu"}, 
    { img: `${imgBasePath}448.png`, title: "Lucario"}, 
    { img: `${imgBasePath}453.png`, title: "Croagunk"}, 
    { img: `${imgBasePath}461.png`, title: "Weavile"}, 
    { img: `${imgBasePath}468.png`, title: "Togekiss"}, 
    { img: `${imgBasePath}470.png`, title: "Leafeon"}, 
    { img: `${imgBasePath}471.png`, title: "Glaceon"}, 
    { img: `${imgBasePath}474.png`, title: "Porygon-Z"}, 
    { img: `${imgBasePath}475.png`, title: "Gallade"}, 
    { img: `${imgBasePath}478.png`, title: "Froslass"}, 
    { img: `${imgBasePath}480.png`, title: "Uxie"}, 
    { img: `${imgBasePath}481.png`, title: "Mesprit"}, 
    { img: `${imgBasePath}482.png`, title: "Azelf"}, 
    { img: `${imgBasePath}487.png`, title: "Giratina"}, 
    { img: `${imgBasePath}488.png`, title: "Cresselia"}, 
    { img: `${imgBasePath}490.png`, title: "Manaphy"}, 
    { img: `${imgBasePath}492.png`, title: "Shaymin"}, 
    { img: `${imgBasePath}493.png`, title: "Arceus"}, 
    { img: `${imgBasePath}494.png`, title: "Victini"}, 
    { img: `${imgBasePath}495.png`, title: "Snivy"}, 
    { img: `${imgBasePath}496.png`, title: "Servine"}, 
    { img: `${imgBasePath}497.png`, title: "Serperior"}, 
    { img: `${imgBasePath}498.png`, title: "Tepig"}, 
    { img: `${imgBasePath}501.png`, title: "Oshawott"}, 
    { img: `${imgBasePath}502.png`, title: "Dewott"}, 
    { img: `${imgBasePath}503.png`, title: "Samurott"}, 
    { img: `${imgBasePath}509.png`, title: "Purrloin"}, 
    { img: `${imgBasePath}510.png`, title: "Liepard"}, 
    { img: `${imgBasePath}515.png`, title: "Panpour"}, 
    { img: `${imgBasePath}516.png`, title: "Simipour"}, 
    { img: `${imgBasePath}529.png`, title: "Drilbur"}, 
    { img: `${imgBasePath}530.png`, title: "Excadrill"}, 
    { img: `${imgBasePath}531.png`, title: "Audino"}, 
    { img: `${imgBasePath}540.png`, title: "Sewaddle"}, 
    { img: `${imgBasePath}541.png`, title: "Swadloon"}, 
    { img: `${imgBasePath}542.png`, title: "Leavanny"}, 
    { img: `${imgBasePath}545.png`, title: "Scolipede"}, 
    { img: `${imgBasePath}546.png`, title: "Cottonee"}, 
    { img: `${imgBasePath}547.png`, title: "Whimsicott"}, 
    { img: `${imgBasePath}548.png`, title: "Petilil"}, 
    { img: `${imgBasePath}549.png`, title: "Lilligant"}, 
    { img: `${imgBasePath}556.png`, title: "Maractus"}, 
    { img: `${imgBasePath}559.png`, title: "Scraggy"}, 
    { img: `${imgBasePath}560.png`, title: "Scrafty"}, 
    { img: `${imgBasePath}566.png`, title: "Archen"}, 
    { img: `${imgBasePath}567.png`, title: "Archeops"}, 
    { img: `${imgBasePath}570.png`, title: "Zorua"}, 
    { img: `${imgBasePath}571.png`, title: "Zoroark"}, 
    { img: `${imgBasePath}572.png`, title: "Minccino"}, 
    { img: `${imgBasePath}573.png`, title: "Cinccino"}, 
    { img: `${imgBasePath}577.png`, title: "Solosis"}, 
    { img: `${imgBasePath}578.png`, title: "Duosion"}, 
    { img: `${imgBasePath}579.png`, title: "Reuniclus"}, 
    { img: `${imgBasePath}580.png`, title: "Ducklett"}, 
    { img: `${imgBasePath}585.png`, title: "Deerling"}, 
    { img: `${imgBasePath}587.png`, title: "Emolga"}, 
    { img: `${imgBasePath}595.png`, title: "Joltik"}, 
    { img: `${imgBasePath}612.png`, title: "Haxorus"}, 
    { img: `${imgBasePath}616.png`, title: "Shelmet"}, 
    { img: `${imgBasePath}619.png`, title: "Mienfoo"}, 
    { img: `${imgBasePath}620.png`, title: "Mienshao"}, 
    { img: `${imgBasePath}633.png`, title: "Deino"}, 
    { img: `${imgBasePath}634.png`, title: "Zweilous"}, 
    { img: `${imgBasePath}637.png`, title: "Volcarona"}, 
    { img: `${imgBasePath}638.png`, title: "Cobalion"}, 
    { img: `${imgBasePath}640.png`, title: "Virizion"}, 
    { img: `${imgBasePath}643.png`, title: "Reshiram"}, 
    { img: `${imgBasePath}644.png`, title: "Zekrom"}, 
    { img: `${imgBasePath}647.png`, title: "Keldeo"}, 
    { img: `${imgBasePath}648.png`, title: "Meloetta"}, 
    { img: `${imgBasePath}3-mega.png`, title: "Mega Venusaur"}, 
    { img: `${imgBasePath}6-mega-x.png`, title: "Mega Charizard X"}, 
    { img: `${imgBasePath}6-mega-y.png`, title: "Mega Charizard Y"}, 
    { img: `${imgBasePath}9-mega.png`, title: "Mega Blastoise"}, 
    { img: `${imgBasePath}15-mega.png`, title: "Mega Beedrill"}, 
    { img: `${imgBasePath}115-mega.png`, title: "Mega Kangaskhan"}, 
    { img: `${imgBasePath}150-mega-x.png`, title: "Mega Mewtwo X"}, 
    { img: `${imgBasePath}150-mega-y.png`, title: "Mega Mewtwo Y"}, 
    { img: `${imgBasePath}181-mega.png`, title: "Mega Ampharos"}, 
    { img: `${imgBasePath}212-mega.png`, title: "Mega Scizor"}, 
    { img: `${imgBasePath}229-mega.png`, title: "Mega Houndoom"}, 
    { img: `${imgBasePath}248-mega.png`, title: "Mega Tyranitar"}, 
    { img: `${imgBasePath}254-mega.png`, title: "Mega Sceptile"}, 
    { img: `${imgBasePath}257-mega.png`, title: "Mega Blaziken"}, 
    { img: `${imgBasePath}260-mega.png`, title: "Mega Swampert"}, 
    { img: `${imgBasePath}282-mega.png`, title: "Mega Gardevoir"}, 
    { img: `${imgBasePath}302-mega.png`, title: "Mega Sableye"}, 
    { img: `${imgBasePath}306-mega.png`, title: "Mega Aggron"}, 
    { img: `${imgBasePath}334-mega.png`, title: "Mega Altaria"}, 
    { img: `${imgBasePath}354-mega.png`, title: "Mega Banette"}, 
    { img: `${imgBasePath}359-mega.png`, title: "Mega Absol"}, 
    { img: `${imgBasePath}373-mega.png`, title: "Mega Salamence"}, 
    { img: `${imgBasePath}428-mega.png`, title: "Mega Lopunny"}, 
    { img: `${imgBasePath}445-mega.png`, title: "Mega Garchomp"}, 
    { img: `${imgBasePath}448-mega.png`, title: "Mega Lucario"}, 
    { img: `${imgBasePath}475-mega.png`, title: "Mega Gallade"}, 
    { img: `${imgBasePath}531-mega.png`, title: "Mega Audino"}, 
    { img: `${imgBasePath}650.png`, title: "Chespin"}, 
    { img: `${imgBasePath}651.png`, title: "Quilladin"}, 
    { img: `${imgBasePath}652.png`, title: "Chesnaught"}, 
    { img: `${imgBasePath}653.png`, title: "Fennekin"}, 
    { img: `${imgBasePath}654.png`, title: "Braixen"}, 
    { img: `${imgBasePath}655.png`, title: "Delphox"}, 
    { img: `${imgBasePath}656.png`, title: "Froakie"}, 
    { img: `${imgBasePath}657.png`, title: "Frogadier"}, 
    { img: `${imgBasePath}658.png`, title: "Greninja"}, 
    { img: `${imgBasePath}674.png`, title: "Pancham"}, 
    { img: `${imgBasePath}676.png`, title: "Furfrou"}, 
    { img: `${imgBasePath}677.png`, title: "Espurr"}, 
    { img: `${imgBasePath}678-male.png`, title: "Meowstic (Male)"}, 
    { img: `${imgBasePath}678-female.png`, title: "Meowstic (Female)"}, 
    { img: `${imgBasePath}694.png`, title: "Helioptile"}, 
    { img: `${imgBasePath}695.png`, title: "Heliolisk"}, 
    { img: `${imgBasePath}699.png`, title: "Aurorus"}, 
    { img: `${imgBasePath}700.png`, title: "Sylveon"}, 
    { img: `${imgBasePath}701.png`, title: "Hawlucha"}, 
    { img: `${imgBasePath}704.png`, title: "Goomy"}, 
    { img: `${imgBasePath}705.png`, title: "Sliggoo"}, 
    { img: `${imgBasePath}706.png`, title: "Goodra"}, 
    { img: `${imgBasePath}708.png`, title: "Phantump"}, 
    { img: `${imgBasePath}714.png`, title: "Noibat"}, 
    { img: `${imgBasePath}715.png`, title: "Noivern"}, 
    { img: `${imgBasePath}716.png`, title: "Xerneas"}, 
    { img: `${imgBasePath}717.png`, title: "Yveltal"}, 
    { img: `${imgBasePath}722.png`, title: "Rowlet"}, 
    { img: `${imgBasePath}723.png`, title: "Dartrix"}, 
    { img: `${imgBasePath}724.png`, title: "Decidueye"}, 
    { img: `${imgBasePath}725.png`, title: "Litten"}, 
    { img: `${imgBasePath}726.png`, title: "Torracat"}, 
    { img: `${imgBasePath}728.png`, title: "Popplio"}, 
    { img: `${imgBasePath}729.png`, title: "Brionne"}, 
    { img: `${imgBasePath}730.png`, title: "Primarina"}, 
    { img: `${imgBasePath}731.png`, title: "Pikipek"}, 
    { img: `${imgBasePath}743.png`, title: "Ribombee"}, 
    { img: `${imgBasePath}744.png`, title: "Rockruff"}, 
    { img: `${imgBasePath}745.png`, title: "Lycanroc"}, 
    { img: `${imgBasePath}745-dusk.png`, title: "Lycanroc (Dusk Form)"}, 
    { img: `${imgBasePath}745-midnight.png`, title: "Lycanroc (Midnight Form)"}, 
    { img: `${imgBasePath}747.png`, title: "Mareanie"}, 
    { img: `${imgBasePath}748.png`, title: "Toxapex"}, 
    { img: `${imgBasePath}753.png`, title: "Fomantis"}, 
    { img: `${imgBasePath}754.png`, title: "Lurantis"}, 
    { img: `${imgBasePath}757.png`, title: "Salandit"}, 
    { img: `${imgBasePath}758.png`, title: "Salazzle"}, 
    { img: `${imgBasePath}759.png`, title: "Stufful"}, 
    { img: `${imgBasePath}760.png`, title: "Bewear"}, 
    { img: `${imgBasePath}762.png`, title: "Steenee"}, 
    { img: `${imgBasePath}763.png`, title: "Tsareena"}, 
    { img: `${imgBasePath}771.png`, title: "Pyukumuku"}, 
    { img: `${imgBasePath}775.png`, title: "Komala"}, 
    { img: `${imgBasePath}778.png`, title: "Mimikyu"}, 
    { img: `${imgBasePath}782.png`, title: "Jangmo-o"}, 
    { img: `${imgBasePath}784.png`, title: "Kommo-o"}, 
    { img: `${imgBasePath}786.png`, title: "Tapu Lele"}, 
    { img: `${imgBasePath}789.png`, title: "Cosmog"}, 
    { img: `${imgBasePath}791.png`, title: "Solgaleo"}, 
    { img: `${imgBasePath}792.png`, title: "Lunala"}, 
    { img: `${imgBasePath}797.png`, title: "Celesteela"}, 
    { img: `${imgBasePath}802.png`, title: "Marshadow"}, 
    { img: `${imgBasePath}803.png`, title: "Poipole"}, 
    { img: `${imgBasePath}807.png`, title: "Zeraora"}, 
    { img: `${imgBasePath}810.png`, title: "Grookey"}, 
    { img: `${imgBasePath}813.png`, title: "Scorbunny"}, 
    { img: `${imgBasePath}814.png`, title: "Raboot"}, 
    { img: `${imgBasePath}815.png`, title: "Cinderace"}, 
    { img: `${imgBasePath}816.png`, title: "Sobble"}, 
    { img: `${imgBasePath}817.png`, title: "Drizzile"}, 
    { img: `${imgBasePath}818.png`, title: "Inteleon"}, 
    { img: `${imgBasePath}823.png`, title: "Corviknight"}, 
    { img: `${imgBasePath}827.png`, title: "Nickit"}, 
    { img: `${imgBasePath}828.png`, title: "Thievul"}, 
    { img: `${imgBasePath}831.png`, title: "Wooloo"}, 
    { img: `${imgBasePath}835.png`, title: "Yamper"}, 
    { img: `${imgBasePath}858.png`, title: "Hatterene"}, 
    { img: `${imgBasePath}859.png`, title: "Impidimp"}, 
    { img: `${imgBasePath}862.png`, title: "Obstagoon"}, 
    { img: `${imgBasePath}869.png`, title: "Alcremie"}, 
    { img: `${imgBasePath}870.png`, title: "Falinks"}, 
    { img: `${imgBasePath}872.png`, title: "Snom"}, 
    { img: `${imgBasePath}876-male.png`, title: "Indeedee (Male)"}, 
    { img: `${imgBasePath}876-female.png`, title: "Indeedee (Female)"}, 
    { img: `${imgBasePath}887.png`, title: "Dragapult"}
];
function getRandomUniquePkmn(pkmnArray, count) {
    const uniquePkmn = new Set();
    const totalPkmn = pkmnArray.length;
    while (uniquePkmn.size < count && uniquePkmn.size < totalPkmn) {
        const randomIndex = Math.floor(Math.random() * totalPkmn);
        uniquePkmn.add(pkmnArray[randomIndex]);
    }
    return Array.from(uniquePkmn).slice(0, count);
}
const party = getRandomUniquePkmn(favorites, 6);
party.forEach(pkmnData => {
    const critter = document.createElement("img");
    critter.src = pkmnData.img;
    critter.title = pkmnData.title;
    document.getElementById("pkmn").appendChild(critter);
    critter.addEventListener("mouseover", () => {
        const select = document.createElement("audio");
        select.src = "/assets/audio/select.ogg";
        select.play();
    });
});
