diff --git a/.github/workflows/darwin-arm64.yml b/.github/workflows/darwin-arm64.yml index d85f818..de57050 100644 --- a/.github/workflows/darwin-arm64.yml +++ b/.github/workflows/darwin-arm64.yml @@ -22,7 +22,7 @@ jobs: run: cd "/Users/runner/work/Mario-Party-Toolkit/Mario-Party-Toolkit/dist/" && rm "Mario Party Toolkit" - name: Upload Artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: MarioPartyToolkit-darwin_arm64 path: /Users/runner/work/Mario-Party-Toolkit/Mario-Party-Toolkit/dist diff --git a/assets/items/goldenMushroom4.png b/assets/items/goldenMushroom4.png new file mode 100644 index 0000000..411d961 Binary files /dev/null and b/assets/items/goldenMushroom4.png differ diff --git a/assets/items/hiddenBlockCard.png b/assets/items/hiddenBlockCard.png new file mode 100644 index 0000000..e7b628d Binary files /dev/null and b/assets/items/hiddenBlockCard.png differ diff --git a/assets/items/mushroom4.png b/assets/items/mushroom4.png new file mode 100644 index 0000000..b8c2cba Binary files /dev/null and b/assets/items/mushroom4.png differ diff --git a/codes/marioParty4.py b/codes/marioParty4.py index fdfbb8a..12c6a38 100644 --- a/codes/marioParty4.py +++ b/codes/marioParty4.py @@ -132,7 +132,7 @@ def getBooHouseMinimum(min, minDec): 040A19B0 3BA0{min} ''' -def getItemModsFour(oneP, oneW, twoP, twoW, threeP, threeW, fourP, fourW, fiveP, fiveW, sixP, sixW, sevenP, sevenW, eightP, eightW, nineP, nineW, tenP, tenW, elevenP, elevenW, twelveP, twelveW, thirteenP, thirteenW, fourteenP, fourteenW, minCoins): +def getItemModsFour(oneP, oneW, twoP, twoW, threeP, threeW, fourP, fourW, fiveP, fiveW, sixP, sixW, sevenP, sevenW, eightP, eightW, nineP, nineW, tenP, tenW, elevenP, elevenW, twelveP, twelveW, thirteenP, thirteenW, fourteenP, fourteenW, minCoins, extOneP, extOneW, extTwoP, extTwoW, extThreeP, extThreeW, extFourP, extFourW, extFiveP, extFiveW): return f''' MP4 - Item Modifer C2083878 0000001E diff --git a/codes/marioParty7.py b/codes/marioParty7.py index 0994167..e14e800 100644 --- a/codes/marioParty7.py +++ b/codes/marioParty7.py @@ -121,145 +121,145 @@ def getMinigameReplacement7(hexUno, hexDos, gameUno, gameDos): E2000001 80008000 ''' -def getOrbModsSeven(oneW, twoP, twoW, threeP, threeW, fourP, fourW, fiveP, fiveW, sixP, sixW, sevenP, sevenW, eightP, eightW, nineP, nineW, tenP, tenW, elevenP, elevenW, twelveP, twelveW, thirteenP, thirteenW, fourteenP, fourteenW, fifteenP, fifteenW, sixteenP, sixteenW, seventeenP, seventeenW, eighteenP, eighteenW, ninteenP, ninteenW, twentyP, twentyW, twentyOneP, twentyOneW, twentyTwoP, twentyTwoW, twentyThreeP, twentyThreeW, twentyFourP, twentyFourW, twentyFiveP, twentyFiveW, twentySixP, twentySixW, twentySevenP, twentySevenW, twentyEightP, twentyEightW, twentyNineP, twentyNineW, thirtyP, thirtyW, thirtyOneP, thirtyOneW, thirtyTwoP, thirtyTwoW, thirtyThreeP, thirtyThreeW, thirtyFourP, thirtyFourW): +def getOrbModsSeven(mushroomCapsulePrice12, mushroomCapsulePrice34, mushroomCapsuleShopOdds12, mushroomCapsuleShopOdds34, mushroomCapsuleSpaceOdds12, mushroomCapsuleSpaceOdds34, goldenMushroomCapsulePrice12, goldenMushroomCapsulePrice34, goldenMushroomCapsuleShopOdds12, goldenMushroomCapsuleShopOdds34, goldenMushroomCapsuleSpaceOdds12, goldenMushroomCapsuleSpaceOdds34, slowMushroomCapsulePrice12, slowMushroomCapsulePrice34, slowMushroomCapsuleShopOdds12, slowMushroomCapsuleShopOdds34, slowMushroomCapsuleSpaceOdds12, slowMushroomCapsuleSpaceOdds34, metalMushroomCapsulePrice12, metalMushroomCapsulePrice34, metalMushroomCapsuleShopOdds12, metalMushroomCapsuleShopOdds34, metalMushroomCapsuleSpaceOdds12, metalMushroomCapsuleSpaceOdds34, flutterCapsulePrice12, flutterCapsulePrice34, flutterCapsuleShopOdds12, flutterCapsuleShopOdds34, flutterCapsuleSpaceOdds12, flutterCapsuleSpaceOdds34, cannonCapsulePrice12, cannonCapsulePrice34, cannonCapsuleShopOdds12, cannonCapsuleShopOdds34, cannonCapsuleSpaceOdds12, cannonCapsuleSpaceOdds34, snackCapsulePrice12, snackCapsulePrice34, snackCapsuleShopOdds12, snackCapsuleShopOdds34, snackCapsuleSpaceOdds12, snackCapsuleSpaceOdds34, lakituCapsulePrice12, lakituCapsulePrice34, lakituCapsuleShopOdds12, lakituCapsuleShopOdds34, lakituCapsuleSpaceOdds12, lakituCapsuleSpaceOdds34, hammerBroCapsulePrice12, hammerBroCapsulePrice34, hammerBroCapsuleShopOdds12, hammerBroCapsuleShopOdds34, hammerBroCapsuleSpaceOdds12, hammerBroCapsuleSpaceOdds34, piranhaPlantCapsulePrice12, piranhaPlantCapsulePrice34, piranhaPlantCapsuleShopOdds12, piranhaPlantCapsuleShopOdds34, piranhaPlantCapsuleSpaceOdds12, piranhaPlantCapsuleSpaceOdds34, spearGuyCapsulePrice12, spearGuyCapsulePrice34, spearGuyCapsuleShopOdds12, spearGuyCapsuleShopOdds34, spearGuyCapsuleSpaceOdds12, spearGuyCapsuleSpaceOdds34, kamekCapsulePrice12, kamekCapsulePrice34, kamekCapsuleShopOdds12, kamekCapsuleShopOdds34, kamekCapsuleSpaceOdds12, kamekCapsuleSpaceOdds34, toadyCapsulePrice12, toadyCapsulePrice34, toadyCapsuleShopOdds12, toadyCapsuleShopOdds34, toadyCapsuleSpaceOdds12, toadyCapsuleSpaceOdds34, mrBlizzardCapsulePrice12, mrBlizzardCapsulePrice34, mrBlizzardCapsuleShopOdds12, mrBlizzardCapsuleShopOdds34, mrBlizzardCapsuleSpaceOdds12, mrBlizzardCapsuleSpaceOdds34, banditCapsulePrice12, banditCapsulePrice34, banditCapsuleShopOdds12, banditCapsuleShopOdds34, banditCapsuleSpaceOdds12, banditCapsuleSpaceOdds34, pinkBooCapsulePrice12, pinkBooCapsulePrice34, pinkBooCapsuleShopOdds12, pinkBooCapsuleShopOdds34, pinkBooCapsuleSpaceOdds12, pinkBooCapsuleSpaceOdds34, spinyCapsulePrice12, spinyCapsulePrice34, spinyCapsuleShopOdds12, spinyCapsuleShopOdds34, spinyCapsuleSpaceOdds12, spinyCapsuleSpaceOdds34, zapCapsulePrice12, zapCapsulePrice34, zapCapsuleShopOdds12, zapCapsuleShopOdds34, zapCapsuleSpaceOdds12, zapCapsuleSpaceOdds34, tweesterCapsulePrice12, tweesterCapsulePrice34, tweesterCapsuleShopOdds12, tweesterCapsuleShopOdds34, tweesterCapsuleSpaceOdds12, tweesterCapsuleSpaceOdds34, thwompCapsulePrice12, thwompCapsulePrice34, thwompCapsuleShopOdds12, thwompCapsuleShopOdds34, thwompCapsuleSpaceOdds12, thwompCapsuleSpaceOdds34, warpCapsulePrice12, warpCapsulePrice34, warpCapsuleShopOdds12, warpCapsuleShopOdds34, warpCapsuleSpaceOdds12, warpCapsuleSpaceOdds34, bombCapsulePrice12, bombCapsulePrice34, bombCapsuleShopOdds12, bombCapsuleShopOdds34, bombCapsuleSpaceOdds12, bombCapsuleSpaceOdds34, fireballCapsulePrice12, fireballCapsulePrice34, fireballCapsuleShopOdds12, fireballCapsuleShopOdds34, fireballCapsuleSpaceOdds12, fireballCapsuleSpaceOdds34, flowerCapsulePrice12, flowerCapsulePrice34, flowerCapsuleShopOdds12, flowerCapsuleShopOdds34, flowerCapsuleSpaceOdds12, flowerCapsuleSpaceOdds34, eggCapsulePrice12, eggCapsulePrice34, eggCapsuleShopOdds12, eggCapsuleShopOdds34, eggCapsuleSpaceOdds12, eggCapsuleSpaceOdds34, vacuumCapsulePrice12, vacuumCapsulePrice34, vacuumCapsuleShopOdds12, vacuumCapsuleShopOdds34, vacuumCapsuleSpaceOdds12, vacuumCapsuleSpaceOdds34, magicCapsulePrice12, magicCapsulePrice34, magicCapsuleShopOdds12, magicCapsuleShopOdds34, magicCapsuleSpaceOdds12, magicCapsuleSpaceOdds34, tripleCapsulePrice12, tripleCapsulePrice34, tripleCapsuleShopOdds12, tripleCapsuleShopOdds34, tripleCapsuleSpaceOdds12, tripleCapsuleSpaceOdds34, koopaCapsulePrice12, koopaCapsulePrice34, koopaCapsuleShopOdds12, koopaCapsuleShopOdds34, koopaCapsuleSpaceOdds12, koopaCapsuleSpaceOdds34, poisonMushroomPrice34, poisonMushroomPrice12, poisonMushroomShopOdds12, poisonMushroomShopOdds34, poisonMushroomSpaceOdds12, poisonMushroomSpaceOdds34, orbBagCapsulePrice34, orbBagCapsulePrice12, orbBagCapsuleShopOdds12, orbBagCapsuleShopOdds34, orbBagCapsuleSpaceOdds12, orbBagCapsuleSpaceOdds34, mysteryCapsulePrice34, mysteryCapsulePrice12, mysteryCapsuleShopOdds12, mysteryCapsuleShopOdds34, mysteryCapsuleSpaceOdds12, mysteryCapsuleSpaceOdds34, dkCapsulePrice34, dkCapsulePrice12, dkCapsuleShopOdds12, dkCapsuleShopOdds34, dkCapsuleSpaceOdds12, dkCapsuleSpaceOdds34, duelCapsulePrice34, duelCapsulePrice12, duelCapsuleShopOdds12, duelCapsuleShopOdds34, duelCapsuleSpaceOdds12, duelCapsuleSpaceOdds34): return f''' MP7 - Orb Modifer -042EF588 00050505 -042EF58C {oneW}{oneW}{oneW}{oneW} -042EF590 {oneW}{oneW}{oneW}{oneW} -042EF594 {oneW}{oneW}0000 -042EF598 01{twoP}{twoP}{twoP} -042EF59C {twoW}{twoW}{twoW}{twoW} -042EF5A0 {twoW}{twoW}{twoW}{twoW} -042EF5A4 {twoW}{twoW}0000 -042EF5A8 02{threeP}{threeP}{threeP} -042EF5AC {threeW}{threeW}{threeW}{threeW} -042EF5B0 {threeW}{threeW}{threeW}{threeW} -042EF5B4 {threeW}{threeW}0000 -042EF5B8 03{fourP}{fourP}{fourP} -042EF5BC {fourW}{fourW}{fourW}{fourW} -042EF5C0 {fourW}{fourW}{fourW}{fourW} -042EF5C4 {fourW}{fourW}0000 -042EF5C8 04{fiveP}{fiveP}{fiveP} -042EF5CC {fiveW}{fiveW}{fiveW}{fiveW} -042EF5D0 {fiveW}{fiveW}{fiveW}{fiveW} -042EF5D4 {fiveW}{fiveW}0000 -042EF5D8 05{sixP}{sixP}{sixP} -042EF5DC {sixW}{sixW}{sixW}{sixW} -042EF5E0 {sixW}{sixW}{sixW}{sixW} -042EF5E4 {sixW}{sixW}0000 -042EF5E8 06{sevenP}{sevenP}{sevenP} -042EF5EC {sevenW}{sevenW}{sevenW}{sevenW} -042EF5F0 {sevenW}{sevenW}{sevenW}{sevenW} -042EF5F4 {sevenW}{sevenW}0000 -042EF5F8 07{eightP}{eightP}{eightP} -042EF5FC {eightW}{eightW}{eightW}{eightW} -042EF600 {eightW}{eightW}{eightW}{eightW} -042EF604 {eightW}{eightW}0000 -042EF608 0A{nineP}{nineP}{nineP} -042EF60C {nineW}{nineW}{nineW}{nineW} -042EF610 {nineW}{nineW}{nineW}{nineW} -042EF614 {nineW}{nineW}0000 -042EF618 0B{tenP}{tenP}{tenP} -042EF61C {tenW}{tenW}{tenW}{tenW} -042EF620 {tenW}{tenW}{tenW}{tenW} -042EF624 {tenW}{tenW}0000 -042EF628 0C{elevenP}{elevenP}{elevenP} -042EF62C {elevenW}{elevenW}{elevenW}{elevenW} -042EF630 {elevenW}{elevenW}{elevenW}{elevenW} -042EF634 {elevenW}{elevenW}0000 -042EF638 0D{twelveP}{twelveP}{twelveP} -042EF63C {twelveW}{twelveW}{twelveW}{twelveW} -042EF640 {twelveW}{twelveW}{twelveW}{twelveW} -042EF644 {twelveW}{twelveW}0000 -042EF648 0E{thirteenP}{thirteenP}{thirteenP} -042EF64C {thirteenW}{thirteenW}{thirteenW}{thirteenW} -042EF650 {thirteenW}{thirteenW}{thirteenW}{thirteenW} -042EF654 {thirteenW}{thirteenW}0000 -042EF658 0F{fourteenP}{fourteenP}{fourteenP} -042EF65C {fourteenW}{fourteenW}{fourteenW}{fourteenW} -042EF660 {fourteenW}{fourteenW}{fourteenW}{fourteenW} -042EF664 {fourteenW}{fourteenW}0000 -042EF668 10{fifteenP}{fifteenP}{fifteenP} -042EF66C {fifteenW}{fifteenW}{fifteenW}{fifteenW} -042EF670 {fifteenW}{fifteenW}{fifteenW}{fifteenW} -042EF674 {fifteenW}{fifteenW}0000 -042EF678 11{sixteenP}{sixteenP}{sixteenP} -042EF67C {sixteenW}{sixteenW}{sixteenW}{sixteenW} -042EF680 {sixteenW}{sixteenW}{sixteenW}{sixteenW} -042EF684 {sixteenW}{sixteenW}0000 -042EF688 14{seventeenP}{seventeenP}{seventeenP} -042EF68C {seventeenW}{seventeenW}{seventeenW}{seventeenW} -042EF690 {seventeenW}{seventeenW}{seventeenW}{seventeenW} -042EF694 {seventeenW}{seventeenW}0000 -042EF698 15{eighteenP}{eighteenP}{eighteenP} -042EF69C {eighteenW}{eighteenW}{eighteenW}{eighteenW} -042EF6A0 {eighteenW}{eighteenW}{eighteenW}{eighteenW} -042EF6A4 {eighteenW}{eighteenW}0000 -042EF6A8 16{ninteenP}{ninteenP}{ninteenP} -042EF6AC {ninteenW}{ninteenW}{ninteenW}{ninteenW} -042EF6B0 {ninteenW}{ninteenW}{ninteenW}{ninteenW} -042EF6B4 {ninteenW}{ninteenW}0000 -042EF6B8 17{twentyP}{twentyP}{twentyP} -042EF6BC {twentyW}{twentyW}{twentyW}{twentyW} -042EF6C0 {twentyW}{twentyW}{twentyW}{twentyW} -042EF6C4 {twentyW}{twentyW}0000 -042EF6C8 18{twentyOneP}{twentyOneP}{twentyOneP} -042EF6CC {twentyOneW}{twentyOneW}{twentyOneW}{twentyOneW} -042EF6D0 {twentyOneW}{twentyOneW}{twentyOneW}{twentyOneW} -042EF6D4 {twentyOneW}{twentyOneW}0000 -042EF6D8 19{twentyTwoP}{twentyTwoP}{twentyTwoP} -042EF6DC {twentyTwoW}{twentyTwoW}{twentyTwoW}{twentyTwoW} -042EF6E0 {twentyTwoW}{twentyTwoW}{twentyTwoW}{twentyTwoW} -042EF6E4 {twentyTwoW}{twentyTwoW}0000 -042EF6E8 1E{twentyThreeP}{twentyThreeP}{twentyThreeP} -042EF6EC {twentyThreeW}{twentyThreeW}{twentyThreeW}{twentyThreeW} -042EF6F0 {twentyThreeW}{twentyThreeW}{twentyThreeW}{twentyThreeW} -042EF6F4 {twentyThreeW}{twentyThreeW}0000 -042EF6F8 1F{twentyFourP}{twentyFourP}{twentyFourP} -042EF6FC {twentyFourW}{twentyFourW}{twentyFourW}{twentyFourW} -042EF700 {twentyFourW}{twentyFourW}{twentyFourW}{twentyFourW} -042EF704 {twentyFourW}{twentyFourW}0000 -042EF708 20{twentyFiveP}{twentyFiveP}{twentyFiveP} -042EF70C {twentyFiveW}{twentyFiveW}{twentyFiveW}{twentyFiveW} -042EF710 {twentyFiveW}{twentyFiveW}{twentyFiveW}{twentyFiveW} -042EF714 {twentyFiveW}{twentyFiveW}0000 -042EF718 21{twentySixP}{twentySixP}{twentySixP} -042EF71C {twentySixW}{twentySixW}{twentySixW}{twentySixW} -042EF720 {twentySixW}{twentySixW}{twentySixW}{twentySixW} -042EF724 {twentySixW}{twentySixW}0000 -042EF728 22{twentySevenP}{twentySevenP}{twentySevenP} -042EF72C {twentySevenW}{twentySevenW}{twentySevenW}{twentySevenW} -042EF730 {twentySevenW}{twentySevenW}{twentySevenW}{twentySevenW} -042EF734 {twentySevenW}{twentySevenW}0000 -042EF738 23{twentyEightP}{twentyEightP}{twentyEightP} -042EF73C {twentyEightW}{twentyEightW}{twentyEightW}{twentyEightW} -042EF740 {twentyEightW}{twentyEightW}{twentyEightW}{twentyEightW} -042EF744 {twentyEightW}{twentyEightW}0000 -042EF748 28{twentyNineP}{twentyNineP}{twentyNineP} -042EF74C {twentyNineW}{twentyNineW}{twentyNineW}{twentyNineW} -042EF750 {twentyNineW}{twentyNineW}{twentyNineW}{twentyNineW} -042EF754 {twentyNineW}{twentyNineW}0000 -042EF758 32{thirtyFourP}{thirtyFourP}{thirtyFourP} -042EF75C {thirtyFourW}{thirtyFourW}{thirtyFourW}{thirtyFourW} -042EF760 {thirtyFourW}{thirtyFourW}{thirtyFourW}{thirtyFourW} -042EF764 {thirtyFourW}{thirtyFourW}0000 -042EF768 08{thirtyTwoP}{thirtyTwoP}{thirtyTwoP} -042EF76C {thirtyTwoW}{thirtyTwoW}{thirtyTwoW}{thirtyTwoW} -042EF770 {thirtyTwoW}{thirtyTwoW}{thirtyTwoW}{thirtyTwoW} -042EF774 {thirtyTwoW}{thirtyTwoW}0000 -042EF778 09{thirtyOneP}{thirtyOneP}{thirtyOneP} -042EF78C {thirtyOneW}{thirtyOneW}{thirtyOneW}{thirtyOneW} -042EF790 {thirtyOneW}{thirtyOneW}{thirtyOneW}{thirtyOneW} -042EF794 {thirtyOneW}{thirtyOneW}0000 -042EF798 33{thirtyP}{thirtyP}{thirtyP} -042EF79C {thirtyW}{thirtyW}{thirtyW}{thirtyW} -042EF7A0 {thirtyW}{thirtyW}{thirtyW}{thirtyW} -042EF7A4 {thirtyW}{thirtyW}0000 -042EF7A8 35{thirtyThreeP}{thirtyThreeP}{thirtyThreeP} -042EF7AC {thirtyThreeW}{thirtyThreeW}{thirtyThreeW}{thirtyThreeW} -042EF7B0 {thirtyThreeW}{thirtyThreeW}{thirtyThreeW}{thirtyThreeW} -042EF7B4 {thirtyThreeW}{thirtyThreeW}0000 +042EF588 00{mushroomCapsulePrice12}{mushroomCapsulePrice12}{mushroomCapsulePrice34} +042EF58C {mushroomCapsuleSpaceOdds12}{mushroomCapsuleSpaceOdds12}{mushroomCapsuleSpaceOdds34}{mushroomCapsuleSpaceOdds34} +042EF590 {mushroomCapsuleSpaceOdds12}{mushroomCapsuleSpaceOdds12}{mushroomCapsuleSpaceOdds34}{mushroomCapsuleSpaceOdds34} +042EF594 {mushroomCapsuleShopOdds12}{mushroomCapsuleShopOdds34}0000 +042EF598 01{goldenMushroomCapsulePrice12}{goldenMushroomCapsulePrice12}{goldenMushroomCapsulePrice34} +042EF59C {goldenMushroomCapsuleSpaceOdds12}{goldenMushroomCapsuleSpaceOdds12}{goldenMushroomCapsuleSpaceOdds34}{goldenMushroomCapsuleSpaceOdds34} +042EF5A0 {goldenMushroomCapsuleSpaceOdds12}{goldenMushroomCapsuleSpaceOdds12}{goldenMushroomCapsuleSpaceOdds34}{goldenMushroomCapsuleSpaceOdds34} +042EF5A4 {goldenMushroomCapsuleShopOdds12}{goldenMushroomCapsuleShopOdds34}0000 +042EF5A8 02{slowMushroomCapsulePrice12}{slowMushroomCapsulePrice12}{slowMushroomCapsulePrice34} +042EF5AC {slowMushroomCapsuleSpaceOdds12}{slowMushroomCapsuleSpaceOdds12}{slowMushroomCapsuleSpaceOdds34}{slowMushroomCapsuleSpaceOdds34} +042EF5B0 {slowMushroomCapsuleSpaceOdds12}{slowMushroomCapsuleSpaceOdds12}{slowMushroomCapsuleSpaceOdds34}{slowMushroomCapsuleSpaceOdds34} +042EF5B4 {slowMushroomCapsuleShopOdds12}{slowMushroomCapsuleShopOdds34}0000 +042EF5B8 03{metalMushroomCapsulePrice12}{metalMushroomCapsulePrice12}{metalMushroomCapsulePrice34} +042EF5BC {metalMushroomCapsuleSpaceOdds12}{metalMushroomCapsuleSpaceOdds12}{metalMushroomCapsuleSpaceOdds34}{metalMushroomCapsuleSpaceOdds34} +042EF5C0 {metalMushroomCapsuleSpaceOdds12}{metalMushroomCapsuleSpaceOdds12}{metalMushroomCapsuleSpaceOdds34}{metalMushroomCapsuleSpaceOdds34} +042EF5C4 {metalMushroomCapsuleShopOdds12}{metalMushroomCapsuleShopOdds34}0000 +042EF5C8 04{flutterCapsulePrice12}{flutterCapsulePrice12}{flutterCapsulePrice34} +042EF5CC {flutterCapsuleSpaceOdds12}{flutterCapsuleSpaceOdds12}{flutterCapsuleSpaceOdds34}{flutterCapsuleSpaceOdds34} +042EF5D0 {flutterCapsuleSpaceOdds12}{flutterCapsuleSpaceOdds12}{flutterCapsuleSpaceOdds34}{flutterCapsuleSpaceOdds34} +042EF5D4 {flutterCapsuleShopOdds12}{flutterCapsuleShopOdds34}0000 +042EF5D8 05{cannonCapsulePrice12}{cannonCapsulePrice12}{cannonCapsulePrice34} +042EF5DC {cannonCapsuleSpaceOdds12}{cannonCapsuleSpaceOdds12}{cannonCapsuleSpaceOdds34}{cannonCapsuleSpaceOdds34} +042EF5E0 {cannonCapsuleSpaceOdds12}{cannonCapsuleSpaceOdds12}{cannonCapsuleSpaceOdds34}{cannonCapsuleSpaceOdds34} +042EF5E4 {cannonCapsuleShopOdds12}{cannonCapsuleShopOdds34}0000 +042EF5E8 06{snackCapsulePrice12}{snackCapsulePrice12}{snackCapsulePrice34} +042EF5EC {snackCapsuleSpaceOdds12}{snackCapsuleSpaceOdds12}{snackCapsuleSpaceOdds34}{snackCapsuleSpaceOdds34} +042EF5F0 {snackCapsuleSpaceOdds12}{snackCapsuleSpaceOdds12}{snackCapsuleSpaceOdds34}{snackCapsuleSpaceOdds34} +042EF5F4 {snackCapsuleShopOdds12}{snackCapsuleShopOdds34}0000 +042EF5F8 07{lakituCapsulePrice12}{lakituCapsulePrice12}{lakituCapsulePrice34} +042EF5FC {lakituCapsuleSpaceOdds12}{lakituCapsuleSpaceOdds12}{lakituCapsuleSpaceOdds34}{lakituCapsuleSpaceOdds34} +042EF600 {lakituCapsuleSpaceOdds12}{lakituCapsuleSpaceOdds12}{lakituCapsuleSpaceOdds34}{lakituCapsuleSpaceOdds34} +042EF604 {lakituCapsuleShopOdds12}{lakituCapsuleShopOdds34}0000 +042EF608 0A{hammerBroCapsulePrice12}{hammerBroCapsulePrice12}{hammerBroCapsulePrice34} +042EF60C {hammerBroCapsuleSpaceOdds12}{hammerBroCapsuleSpaceOdds12}{hammerBroCapsuleSpaceOdds34}{hammerBroCapsuleSpaceOdds34} +042EF610 {hammerBroCapsuleSpaceOdds12}{hammerBroCapsuleSpaceOdds12}{hammerBroCapsuleSpaceOdds34}{hammerBroCapsuleSpaceOdds34} +042EF614 {hammerBroCapsuleShopOdds12}{hammerBroCapsuleShopOdds34}0000 +042EF618 0B{piranhaPlantCapsulePrice12}{piranhaPlantCapsulePrice12}{piranhaPlantCapsulePrice34} +042EF61C {piranhaPlantCapsuleSpaceOdds12}{piranhaPlantCapsuleSpaceOdds12}{piranhaPlantCapsuleSpaceOdds34}{piranhaPlantCapsuleSpaceOdds34} +042EF620 {piranhaPlantCapsuleSpaceOdds12}{piranhaPlantCapsuleSpaceOdds12}{piranhaPlantCapsuleSpaceOdds34}{piranhaPlantCapsuleSpaceOdds34} +042EF624 {piranhaPlantCapsuleShopOdds12}{piranhaPlantCapsuleShopOdds34}0000 +042EF628 0C{spearGuyCapsulePrice12}{spearGuyCapsulePrice12}{spearGuyCapsulePrice34} +042EF62C {spearGuyCapsuleSpaceOdds12}{spearGuyCapsuleSpaceOdds12}{spearGuyCapsuleSpaceOdds34}{spearGuyCapsuleSpaceOdds34} +042EF630 {spearGuyCapsuleSpaceOdds12}{spearGuyCapsuleSpaceOdds12}{spearGuyCapsuleSpaceOdds34}{spearGuyCapsuleSpaceOdds34} +042EF634 {spearGuyCapsuleShopOdds12}{spearGuyCapsuleShopOdds34}0000 +042EF638 0D{kamekCapsulePrice12}{kamekCapsulePrice12}{kamekCapsulePrice34} +042EF63C {kamekCapsuleSpaceOdds12}{kamekCapsuleSpaceOdds12}{kamekCapsuleSpaceOdds34}{kamekCapsuleSpaceOdds34} +042EF640 {kamekCapsuleSpaceOdds12}{kamekCapsuleSpaceOdds12}{kamekCapsuleSpaceOdds34}{kamekCapsuleSpaceOdds34} +042EF644 {kamekCapsuleShopOdds12}{kamekCapsuleShopOdds34}0000 +042EF648 0E{toadyCapsulePrice12}{toadyCapsulePrice12}{toadyCapsulePrice34} +042EF64C {toadyCapsuleSpaceOdds12}{toadyCapsuleSpaceOdds12}{toadyCapsuleSpaceOdds34}{toadyCapsuleSpaceOdds34} +042EF650 {toadyCapsuleSpaceOdds12}{toadyCapsuleSpaceOdds12}{toadyCapsuleSpaceOdds34}{toadyCapsuleSpaceOdds34} +042EF654 {toadyCapsuleShopOdds12}{toadyCapsuleShopOdds34}0000 +042EF658 0F{mrBlizzardCapsulePrice12}{mrBlizzardCapsulePrice12}{mrBlizzardCapsulePrice34} +042EF65C {mrBlizzardCapsuleSpaceOdds12}{mrBlizzardCapsuleSpaceOdds12}{mrBlizzardCapsuleSpaceOdds34}{mrBlizzardCapsuleSpaceOdds34} +042EF660 {mrBlizzardCapsuleSpaceOdds12}{mrBlizzardCapsuleSpaceOdds12}{mrBlizzardCapsuleSpaceOdds34}{mrBlizzardCapsuleSpaceOdds34} +042EF664 {mrBlizzardCapsuleShopOdds12}{mrBlizzardCapsuleShopOdds34}0000 +042EF668 10{banditCapsulePrice12}{banditCapsulePrice12}{banditCapsulePrice34} +042EF66C {banditCapsuleSpaceOdds12}{banditCapsuleSpaceOdds12}{banditCapsuleSpaceOdds34}{banditCapsuleSpaceOdds34} +042EF670 {banditCapsuleSpaceOdds12}{banditCapsuleSpaceOdds12}{banditCapsuleSpaceOdds34}{banditCapsuleSpaceOdds34} +042EF674 {banditCapsuleShopOdds12}{banditCapsuleShopOdds34}0000 +042EF678 11{pinkBooCapsulePrice12}{pinkBooCapsulePrice12}{pinkBooCapsulePrice34} +042EF67C {pinkBooCapsuleSpaceOdds12}{pinkBooCapsuleSpaceOdds12}{pinkBooCapsuleSpaceOdds34}{pinkBooCapsuleSpaceOdds34} +042EF680 {pinkBooCapsuleSpaceOdds12}{pinkBooCapsuleSpaceOdds12}{pinkBooCapsuleSpaceOdds34}{pinkBooCapsuleSpaceOdds34} +042EF684 {pinkBooCapsuleShopOdds12}{pinkBooCapsuleShopOdds34}0000 +042EF688 14{spinyCapsulePrice12}{spinyCapsulePrice12}{spinyCapsulePrice34} +042EF68C {spinyCapsuleSpaceOdds12}{spinyCapsuleSpaceOdds12}{spinyCapsuleSpaceOdds34}{spinyCapsuleSpaceOdds34} +042EF690 {spinyCapsuleSpaceOdds12}{spinyCapsuleSpaceOdds12}{spinyCapsuleSpaceOdds34}{spinyCapsuleSpaceOdds34} +042EF694 {spinyCapsuleShopOdds12}{spinyCapsuleShopOdds34}0000 +042EF698 15{zapCapsulePrice12}{zapCapsulePrice12}{zapCapsulePrice34} +042EF69C {zapCapsuleSpaceOdds12}{zapCapsuleSpaceOdds12}{zapCapsuleSpaceOdds34}{zapCapsuleSpaceOdds34} +042EF6A0 {zapCapsuleSpaceOdds12}{zapCapsuleSpaceOdds12}{zapCapsuleSpaceOdds34}{zapCapsuleSpaceOdds34} +042EF6A4 {zapCapsuleShopOdds12}{zapCapsuleShopOdds34}0000 +042EF6A8 16{tweesterCapsulePrice12}{tweesterCapsulePrice12}{tweesterCapsulePrice34} +042EF6AC {tweesterCapsuleSpaceOdds12}{tweesterCapsuleSpaceOdds12}{tweesterCapsuleSpaceOdds34}{tweesterCapsuleSpaceOdds34} +042EF6B0 {tweesterCapsuleSpaceOdds12}{tweesterCapsuleSpaceOdds12}{tweesterCapsuleSpaceOdds34}{tweesterCapsuleSpaceOdds34} +042EF6B4 {tweesterCapsuleShopOdds12}{tweesterCapsuleShopOdds34}0000 +042EF6B8 17{thwompCapsulePrice12}{thwompCapsulePrice12}{thwompCapsulePrice34} +042EF6BC {thwompCapsuleSpaceOdds12}{thwompCapsuleSpaceOdds12}{thwompCapsuleSpaceOdds34}{thwompCapsuleSpaceOdds34} +042EF6C0 {thwompCapsuleSpaceOdds12}{thwompCapsuleSpaceOdds12}{thwompCapsuleSpaceOdds34}{thwompCapsuleSpaceOdds34} +042EF6C4 {thwompCapsuleShopOdds12}{thwompCapsuleShopOdds34}0000 +042EF6C8 18{warpCapsulePrice12}{warpCapsulePrice12}{warpCapsulePrice34} +042EF6CC {warpCapsuleSpaceOdds12}{warpCapsuleSpaceOdds12}{warpCapsuleSpaceOdds34}{warpCapsuleSpaceOdds34} +042EF6D0 {warpCapsuleSpaceOdds12}{warpCapsuleSpaceOdds12}{warpCapsuleSpaceOdds34}{warpCapsuleSpaceOdds34} +042EF6D4 {warpCapsuleShopOdds12}{warpCapsuleShopOdds34}0000 +042EF6D8 19{bombCapsulePrice12}{bombCapsulePrice12}{bombCapsulePrice34} +042EF6DC {bombCapsuleSpaceOdds12}{bombCapsuleSpaceOdds12}{bombCapsuleSpaceOdds34}{bombCapsuleSpaceOdds34} +042EF6E0 {bombCapsuleSpaceOdds12}{bombCapsuleSpaceOdds12}{bombCapsuleSpaceOdds34}{bombCapsuleSpaceOdds34} +042EF6E4 {bombCapsuleShopOdds12}{bombCapsuleShopOdds34}0000 +042EF6E8 1E{fireballCapsulePrice12}{fireballCapsulePrice12}{fireballCapsulePrice34} +042EF6EC {fireballCapsuleSpaceOdds12}{fireballCapsuleSpaceOdds12}{fireballCapsuleSpaceOdds34}{fireballCapsuleSpaceOdds34} +042EF6F0 {fireballCapsuleSpaceOdds12}{fireballCapsuleSpaceOdds12}{fireballCapsuleSpaceOdds34}{fireballCapsuleSpaceOdds34} +042EF6F4 {fireballCapsuleShopOdds12}{fireballCapsuleShopOdds34}0000 +042EF6F8 1F{flowerCapsulePrice12}{flowerCapsulePrice12}{flowerCapsulePrice34} +042EF6FC {flowerCapsuleSpaceOdds12}{flowerCapsuleSpaceOdds12}{flowerCapsuleSpaceOdds34}{flowerCapsuleSpaceOdds34} +042EF700 {flowerCapsuleSpaceOdds12}{flowerCapsuleSpaceOdds12}{flowerCapsuleSpaceOdds34}{flowerCapsuleSpaceOdds34} +042EF704 {flowerCapsuleShopOdds12}{flowerCapsuleShopOdds34}0000 +042EF708 20{eggCapsulePrice12}{eggCapsulePrice12}{eggCapsulePrice34} +042EF70C {eggCapsuleSpaceOdds12}{eggCapsuleSpaceOdds12}{eggCapsuleSpaceOdds34}{eggCapsuleSpaceOdds34} +042EF710 {eggCapsuleSpaceOdds12}{eggCapsuleSpaceOdds12}{eggCapsuleSpaceOdds34}{eggCapsuleSpaceOdds34} +042EF714 {eggCapsuleShopOdds12}{eggCapsuleShopOdds34}0000 +042EF718 21{vacuumCapsulePrice12}{vacuumCapsulePrice12}{vacuumCapsulePrice34} +042EF71C {vacuumCapsuleSpaceOdds12}{vacuumCapsuleSpaceOdds12}{vacuumCapsuleSpaceOdds34}{vacuumCapsuleSpaceOdds34} +042EF720 {vacuumCapsuleSpaceOdds12}{vacuumCapsuleSpaceOdds12}{vacuumCapsuleSpaceOdds34}{vacuumCapsuleSpaceOdds34} +042EF724 {vacuumCapsuleShopOdds12}{vacuumCapsuleShopOdds34}0000 +042EF728 22{magicCapsulePrice12}{magicCapsulePrice12}{magicCapsulePrice34} +042EF72C {magicCapsuleSpaceOdds12}{magicCapsuleSpaceOdds12}{magicCapsuleSpaceOdds34}{magicCapsuleSpaceOdds34} +042EF730 {magicCapsuleSpaceOdds12}{magicCapsuleSpaceOdds12}{magicCapsuleSpaceOdds34}{magicCapsuleSpaceOdds34} +042EF734 {magicCapsuleShopOdds12}{magicCapsuleShopOdds34}0000 +042EF738 23{tripleCapsulePrice12}{tripleCapsulePrice12}{tripleCapsulePrice34} +042EF73C {tripleCapsuleSpaceOdds12}{tripleCapsuleSpaceOdds12}{tripleCapsuleSpaceOdds34}{tripleCapsuleSpaceOdds34} +042EF740 {tripleCapsuleSpaceOdds12}{tripleCapsuleSpaceOdds12}{tripleCapsuleSpaceOdds34}{tripleCapsuleSpaceOdds34} +042EF744 {tripleCapsuleShopOdds12}{tripleCapsuleShopOdds34}0000 +042EF748 28{koopaCapsulePrice12}{koopaCapsulePrice12}{koopaCapsulePrice34} +042EF74C {koopaCapsuleSpaceOdds12}{koopaCapsuleSpaceOdds12}{koopaCapsuleSpaceOdds34}{koopaCapsuleSpaceOdds34} +042EF750 {koopaCapsuleSpaceOdds12}{koopaCapsuleSpaceOdds12}{koopaCapsuleSpaceOdds34}{koopaCapsuleSpaceOdds34} +042EF754 {koopaCapsuleShopOdds12}{koopaCapsuleShopOdds34}0000 +042EF758 08{duelCapsulePrice12}{duelCapsulePrice12}{duelCapsulePrice34} +042EF75C {duelCapsuleSpaceOdds12}{duelCapsuleSpaceOdds12}{duelCapsuleSpaceOdds34}{duelCapsuleSpaceOdds34} +042EF760 {duelCapsuleSpaceOdds12}{duelCapsuleSpaceOdds12}{duelCapsuleSpaceOdds34}{duelCapsuleSpaceOdds34} +042EF764 {duelCapsuleShopOdds12}{duelCapsuleShopOdds34}0000 +042EF768 09{dkCapsulePrice12}{dkCapsulePrice12}{dkCapsulePrice34} +042EF76C {dkCapsuleSpaceOdds12}{dkCapsuleSpaceOdds12}{dkCapsuleSpaceOdds34}{dkCapsuleSpaceOdds34} +042EF770 {dkCapsuleSpaceOdds12}{dkCapsuleSpaceOdds12}{dkCapsuleSpaceOdds34}{dkCapsuleSpaceOdds34} +042EF774 {dkCapsuleShopOdds12}{dkCapsuleShopOdds34}0000 +042EF778 32{poisonMushroomPrice12}{poisonMushroomPrice12}{poisonMushroomPrice34} +042EF78C {poisonMushroomSpaceOdds12}{poisonMushroomSpaceOdds12}{poisonMushroomSpaceOdds34}{poisonMushroomSpaceOdds34} +042EF790 {poisonMushroomSpaceOdds12}{poisonMushroomSpaceOdds12}{poisonMushroomSpaceOdds34}{poisonMushroomSpaceOdds34} +042EF794 {poisonMushroomShopOdds12}{poisonMushroomShopOdds34}0000 +042EF798 33{orbBagCapsulePrice12}{orbBagCapsulePrice12}{orbBagCapsulePrice34} +042EF79C {orbBagCapsuleSpaceOdds12}{orbBagCapsuleSpaceOdds12}{orbBagCapsuleSpaceOdds34}{orbBagCapsuleSpaceOdds34} +042EF7A0 {orbBagCapsuleSpaceOdds12}{orbBagCapsuleSpaceOdds12}{orbBagCapsuleSpaceOdds34}{orbBagCapsuleSpaceOdds34} +042EF7A4 {orbBagCapsuleShopOdds12}{orbBagCapsuleShopOdds34}0000 +042EF7A8 35{mysteryCapsulePrice12}{mysteryCapsulePrice12}{mysteryCapsulePrice34} +042EF7AC {mysteryCapsuleSpaceOdds12}{mysteryCapsuleSpaceOdds12}{mysteryCapsuleSpaceOdds34}{mysteryCapsuleSpaceOdds34} +042EF7B0 {mysteryCapsuleSpaceOdds12}{mysteryCapsuleSpaceOdds12}{mysteryCapsuleSpaceOdds34}{mysteryCapsuleSpaceOdds34} +042EF7B4 {mysteryCapsuleShopOdds12}{mysteryCapsuleShopOdds34}0000 042EF7B8 FF000000 042EF7BC 00000000 042EF7C0 00000000 diff --git a/events/marioParty4_items.py b/events/marioParty4_items.py index 12d3063..be84f33 100644 --- a/events/marioParty4_items.py +++ b/events/marioParty4_items.py @@ -12,7 +12,7 @@ import math import pyperclip -def itemsEvent_mp4(miniPrice4, miniWeight4, megaPrice4, megaWeight4, superMiniPrice4, superMiniWeight4, superMegaPrice4, superMegaWeight4, miniMegaHammerPrice4, miniMegaHammerWeight4, sparkyStickerPrice4, sparkyStickerWeight4, warpPipePrice4, warpPipeWeight4, swapCardPrice4, swapCardWeight4, bowserSuitPrice4, bowserSuitWeight4, gaddlightPrice4, gaddlightWeight4, magicLampPrice4, magicLampWeight4, crystalBallPrice4, crystalBallWeight4, chompCallPrice4, chompCallWeight4, itemBagPrice4, itemBagWeight4): +def itemsEvent_mp4(miniPrice4, miniWeight4, megaPrice4, megaWeight4, superMiniPrice4, superMiniWeight4, superMegaPrice4, superMegaWeight4, miniMegaHammerPrice4, miniMegaHammerWeight4, sparkyStickerPrice4, sparkyStickerWeight4, warpPipePrice4, warpPipeWeight4, swapCardPrice4, swapCardWeight4, bowserSuitPrice4, bowserSuitWeight4, gaddlightPrice4, gaddlightWeight4, magicLampPrice4, magicLampWeight4, crystalBallPrice4, crystalBallWeight4, chompCallPrice4, chompCallWeight4, itemBagPrice4, itemBagWeight4, mushroomPrice4, mushroomWeight4, goldenMushroomPrice4, goldenMushroomWeight4, bowserPhonePrice4, bowserPhoneWeight4, cellularShopperPrice4, cellularShopperWeight4, hiddenBlockCardPrice4, hiddenBlockCardWeight4): if not miniPrice4.get() or not miniWeight4.get() or not megaPrice4.get() or not megaWeight4.get() or not superMegaPrice4.get() or not superMegaWeight4.get() or not superMiniPrice4.get() or not superMiniWeight4.get() or not miniMegaHammerPrice4.get() or not miniMegaHammerWeight4.get() or not warpPipePrice4.get() or not warpPipeWeight4.get() or not swapCardPrice4.get() or not swapCardWeight4.get() or not sparkyStickerPrice4.get() or not sparkyStickerWeight4.get() or not bowserSuitPrice4.get() or not bowserSuitWeight4.get() or not gaddlightPrice4.get() or not gaddlightWeight4.get() or not chompCallPrice4.get() or not chompCallWeight4.get() or not crystalBallPrice4.get() or not crystalBallWeight4.get() or not magicLampPrice4.get() or not magicLampWeight4.get() or not itemBagPrice4.get() or not itemBagWeight4.get(): createDialog("Error", "error", "Please fill out all the boxes.", None) return @@ -44,8 +44,60 @@ def itemsEvent_mp4(miniPrice4, miniWeight4, megaPrice4, megaWeight4, superMiniPr magicLampWeight4 = magicLampWeight4.get() itemBagPrice4 = itemBagPrice4.get() itemBagWeight4 = itemBagWeight4.get() - orbWeightTotal = int(miniWeight4) + int(megaWeight4) + int(superMiniWeight4) + int(superMegaWeight4) + int(miniMegaHammerWeight4) + int(warpPipeWeight4) + int(swapCardWeight4) + int(sparkyStickerWeight4) + int(gaddlightWeight4) + int(chompCallWeight4) + int(bowserSuitWeight4) + int(crystalBallWeight4) + int(magicLampWeight4) + int(itemBagWeight4) - orbPriceMin = find_lowest_integer(*[int(miniPrice4), int(megaPrice4), int(superMiniPrice4), int(superMegaPrice4), int(miniMegaHammerPrice4), int(warpPipePrice4), int(swapCardPrice4), int(sparkyStickerPrice4), int(gaddlightPrice4), int(chompCallPrice4), int(bowserSuitPrice4), int(crystalBallPrice4), int(magicLampPrice4), int(itemBagPrice4)]) + + try: + mushroomWeight4 = mushroomWeight4.get() + except: + mushroomWeight4 = 0 + + try: + mushroomPrice4 = mushroomPrice4.get() + except: + mushroomPrice4 = 0 + + try: + goldenMushroomWeight4 = goldenMushroomWeight4.get() + except: + goldenMushroomWeight4 = 0 + + try: + goldenMushroomPrice4 = goldenMushroomPrice4.get() + except: + goldenMushroomPrice4 = 0 + + try: + cellularShopperWeight4 = cellularShopperWeight4.get() + except: + cellularShopperWeight4 = 0 + + try: + cellularShopperPrice4 = cellularShopperPrice4.get() + except: + cellularShopperPrice4 = 0 + + try: + bowserPhoneWeight4 = bowserPhoneWeight4.get() + except: + bowserPhoneWeight4 = 0 + + try: + bowserPhonePrice4 = bowserPhonePrice4.get() + except: + bowserPhonePrice4 = 0 + + try: + hiddenBlockCardWeight4 = hiddenBlockCardWeight4.get() + except: + hiddenBlockCardWeight4 = 0 + + try: + hiddenBlockCardPrice4 = hiddenBlockCardPrice4.get() + except: + hiddenBlockCardPrice4 = 0 + + orbWeightTotal = int(miniWeight4) + int(megaWeight4) + int(superMiniWeight4) + int(superMegaWeight4) + int(miniMegaHammerWeight4) + int(warpPipeWeight4) + int(swapCardWeight4) + int(sparkyStickerWeight4) + int(gaddlightWeight4) + int(chompCallWeight4) + int(bowserSuitWeight4) + int(crystalBallWeight4) + int(magicLampWeight4) + int(itemBagWeight4) + int(mushroomWeight4) + int(goldenMushroomWeight4) + int(cellularShopperWeight4) + int(bowserPhoneWeight4) + int(hiddenBlockCardWeight4) + + orbPriceMin = find_lowest_integer(*[int(miniPrice4), int(megaPrice4), int(superMiniPrice4), int(superMegaPrice4), int(miniMegaHammerPrice4), int(warpPipePrice4), int(swapCardPrice4), int(sparkyStickerPrice4), int(gaddlightPrice4), int(chompCallPrice4), int(bowserSuitPrice4), int(crystalBallPrice4), int(magicLampPrice4), int(itemBagPrice4), int(mushroomPrice4), int(goldenMushroomPrice4), int(cellularShopperPrice4), int(bowserPhonePrice4), int(hiddenBlockCardPrice4)]) def calculateWeight(weight): if orbWeightTotal < 100: @@ -71,13 +123,18 @@ def calculateWeight(weight): crystalBallWeight4 = calculateWeight(crystalBallWeight4) magicLampWeight4 = calculateWeight(magicLampWeight4) itemBagWeight4 = calculateWeight(itemBagWeight4) - - orbWeightTotal = miniWeight4 + megaWeight4 + superMiniWeight4 + superMegaWeight4 + miniMegaHammerWeight4 + warpPipeWeight4 + swapCardWeight4 + sparkyStickerWeight4 + gaddlightWeight4 + chompCallWeight4 + bowserSuitWeight4 + crystalBallWeight4 + magicLampWeight4 + itemBagWeight4 - + mushroomWeight4 = calculateWeight(mushroomWeight4) + goldenMushroomWeight4 = calculateWeight(goldenMushroomWeight4) + cellularShopperWeight4 = calculateWeight(cellularShopperWeight4) + bowserPhoneWeight4 = calculateWeight(bowserPhoneWeight4) + hiddenBlockCardWeight4 = calculateWeight(hiddenBlockCardWeight4) + + orbWeightTotal = miniWeight4 + megaWeight4 + superMiniWeight4 + superMegaWeight4 + miniMegaHammerWeight4 + warpPipeWeight4 + swapCardWeight4 + sparkyStickerWeight4 + gaddlightWeight4 + chompCallWeight4 + bowserSuitWeight4 + crystalBallWeight4 + magicLampWeight4 + itemBagWeight4 + mushroomWeight4 + goldenMushroomWeight4 + cellularShopperWeight4 + bowserPhoneWeight4 + hiddenBlockCardWeight4 + if orbWeightTotal < 100: - var_names = ['miniWeight4', 'megaWeight4', 'superMegaWeight4', 'superMiniWeight4', 'miniMegaHammerWeight4', 'warpPipeWeight4', 'swapCardWeight4', 'sparkyStickerWeight4', 'gaddlightWeight4', 'chompCallWeight4', 'bowserSuitWeight4', 'crystalBallWeight4', 'magicLampWeight4', 'itemBagWeight4'] + var_names = ['miniWeight4', 'megaWeight4', 'superMegaWeight4', 'superMiniWeight4', 'miniMegaHammerWeight4', 'warpPipeWeight4', 'swapCardWeight4', 'sparkyStickerWeight4', 'gaddlightWeight4', 'chompCallWeight4', 'bowserSuitWeight4', 'crystalBallWeight4', 'magicLampWeight4', 'itemBagWeight4', 'mushroomWeight4', 'goldenMushroomWeight4', 'cellularShopperWeight4', 'bowserPhoneWeight4', 'hiddenBlockCardWeight4'] max_var = max(zip(var_names, (map(eval, var_names))), key=lambda tuple: tuple[1])[0] - + if max_var == 'miniWeight4': miniWeight4 += (100 - orbWeightTotal) @@ -119,7 +176,23 @@ def calculateWeight(weight): if max_var == 'itemBagWeight4': itemBagWeight4 += (100 - orbWeightTotal) - + + # New items adjustments + if max_var == 'mushroomWeight4': + mushroomWeight4 += (100 - orbWeightTotal) + + if max_var == 'goldenMushroomWeight4': + goldenMushroomWeight4 += (100 - orbWeightTotal) + + if max_var == 'cellularShopperWeight4': + cellularShopperWeight4 += (100 - orbWeightTotal) + + if max_var == 'bowserPhoneWeight4': + bowserPhoneWeight4 += (100 - orbWeightTotal) + + if max_var == 'hiddenBlockCardWeight4': + hiddenBlockCardWeight4 += (100 - orbWeightTotal) + miniWeight4 = str(miniWeight4) megaWeight4 = str(megaWeight4) superMegaWeight4 = str(superMegaWeight4) @@ -134,7 +207,11 @@ def calculateWeight(weight): crystalBallWeight4 = str(crystalBallWeight4) magicLampWeight4 = str(magicLampWeight4) itemBagWeight4 = str(itemBagWeight4) - + mushroomWeight4 = str(mushroomWeight4) + goldenMushroomWeight4 = str(goldenMushroomWeight4) + cellularShopperWeight4 = str(cellularShopperWeight4) + bowserPhoneWeight4 = str(bowserPhoneWeight4) + hiddenBlockCardWeight4 = str(hiddenBlockCardWeight4) try: miniWeight4 = hex(int(miniWeight4)) @@ -360,24 +437,78 @@ def calculateWeight(weight): itemBagPrice4 = "0" + itemBagPrice4[2:] except: itemBagPrice4 = "00" + + try: + itemBagPrice4 = hex(int(itemBagPrice4)) + if len(itemBagPrice4) == 4: + itemBagPrice4 = itemBagPrice4[2:] + elif len(itemBagPrice4) == 3: + itemBagPrice4 = "0" + itemBagPrice4[2:] + except: + itemBagPrice4 = "00" + + # New items price conversion + try: + mushroomPrice4 = hex(int(mushroomPrice4)) + if len(mushroomPrice4) == 4: + mushroomPrice4 = mushroomPrice4[2:] + elif len(mushroomPrice4) == 3: + mushroomPrice4 = "0" + mushroomPrice4[2:] + except: + mushroomPrice4 = "00" + + try: + goldenMushroomPrice4 = hex(int(goldenMushroomPrice4)) + if len(goldenMushroomPrice4) == 4: + goldenMushroomPrice4 = goldenMushroomPrice4[2:] + elif len(goldenMushroomPrice4) == 3: + goldenMushroomPrice4 = "0" + goldenMushroomPrice4[2:] + except: + goldenMushroomPrice4 = "00" + + try: + cellularShopperPrice4 = hex(int(cellularShopperPrice4)) + if len(cellularShopperPrice4) == 4: + cellularShopperPrice4 = cellularShopperPrice4[2:] + elif len(cellularShopperPrice4) == 3: + cellularShopperPrice4 = "0" + cellularShopperPrice4[2:] + except: + cellularShopperPrice4 = "00" + + try: + bowserPhonePrice4 = hex(int(bowserPhonePrice4)) + if len(bowserPhonePrice4) == 4: + bowserPhonePrice4 = bowserPhonePrice4[2:] + elif len(bowserPhonePrice4) == 3: + bowserPhonePrice4 = "0" + bowserPhonePrice4[2:] + except: + bowserPhonePrice4 = "00" + + try: + hiddenBlockCardPrice4 = hex(int(hiddenBlockCardPrice4)) + if len(hiddenBlockCardPrice4) == 4: + hiddenBlockCardPrice4 = hiddenBlockCardPrice4[2:] + elif len(hiddenBlockCardPrice4) == 3: + hiddenBlockCardPrice4 = "0" + hiddenBlockCardPrice4[2:] + except: + hiddenBlockCardPrice4 = "00" + orbPriceMin = hex(int(orbPriceMin)) if len(orbPriceMin) == 4: orbPriceMin = "00" + orbPriceMin[2:] elif len(orbPriceMin) == 3: orbPriceMin = "000" + orbPriceMin[2:] - generatedCode = getItemModsFour(miniPrice4, miniWeight4, megaPrice4, megaWeight4, superMiniPrice4, superMiniWeight4, superMegaPrice4, superMegaWeight4, miniMegaHammerPrice4, miniMegaHammerWeight4, warpPipePrice4, warpPipeWeight4, swapCardPrice4, swapCardWeight4, sparkyStickerPrice4, sparkyStickerWeight4, gaddlightPrice4, gaddlightWeight4, chompCallPrice4, chompCallWeight4, bowserSuitPrice4, bowserSuitWeight4, crystalBallPrice4, crystalBallWeight4, magicLampPrice4, magicLampWeight4, itemBagPrice4, itemBagWeight4, orbPriceMin) + generatedCode = getItemModsFour(miniPrice4, miniWeight4, megaPrice4, megaWeight4, superMiniPrice4, superMiniWeight4, superMegaPrice4, superMegaWeight4, miniMegaHammerPrice4, miniMegaHammerWeight4, warpPipePrice4, warpPipeWeight4, swapCardPrice4, swapCardWeight4, sparkyStickerPrice4, sparkyStickerWeight4, gaddlightPrice4, gaddlightWeight4, chompCallPrice4, chompCallWeight4, bowserSuitPrice4, bowserSuitWeight4, crystalBallPrice4, crystalBallWeight4, magicLampPrice4, magicLampWeight4, itemBagPrice4, itemBagWeight4, orbPriceMin, mushroomPrice4, mushroomWeight4, goldenMushroomPrice4, goldenMushroomWeight4, cellularShopperPrice4, cellularShopperWeight4, bowserPhonePrice4, bowserPhoneWeight4, hiddenBlockCardPrice4, hiddenBlockCardWeight4) generatedCode = generatedCode.strip() pyperclip.copy(generatedCode) print("Generated code copied to the clipboard.") createDialog("Operation Sucessful", "success", "Generated codes copied to clipboard!.", None) -def savePresetItems4(miniPrice4, miniWeight4, megaPrice4, megaWeight4, superMiniPrice4, superMiniWeight4, superMegaPrice4, superMegaWeight4, miniMegaHammerPrice4, miniMegaHammerWeight4, sparkyStickerPrice4, sparkyStickerWeight4, warpPipePrice4, warpPipeWeight4, swapCardPrice4, swapCardWeight4, bowserSuitPrice4, bowserSuitWeight4, gaddlightPrice4, gaddlightWeight4, magicLampPrice4, magicLampWeight4, crystalBallPrice4, crystalBallWeight4, chompCallPrice4, chompCallWeight4, itemBagPrice4, itemBagWeight4): - if not miniPrice4.get() or not miniWeight4.get() or not megaPrice4.get() or not megaWeight4.get() or not superMegaPrice4.get() or not superMegaWeight4.get() or not superMiniPrice4.get() or not superMiniWeight4.get() or not miniMegaHammerPrice4.get() or not miniMegaHammerWeight4.get() or not warpPipePrice4.get() or not warpPipeWeight4.get() or not swapCardPrice4.get() or not swapCardWeight4.get() or not sparkyStickerPrice4.get() or not sparkyStickerWeight4.get() or not bowserSuitPrice4.get() or not bowserSuitWeight4.get() or not gaddlightPrice4.get() or not gaddlightWeight4.get() or not chompCallPrice4.get() or not chompCallWeight4.get() or not crystalBallPrice4.get() or not crystalBallWeight4.get() or not magicLampPrice4.get() or not magicLampWeight4.get() or not itemBagPrice4.get() or not itemBagWeight4.get(): - if sys.platform == "darwin": - createDialog("Error", "error", "Please fill out all the boxes.", None) - else: - createDialog("Error", "error", "Please fill out all the boxes.", None) +def savePresetItems4(miniPrice4, miniWeight4, megaPrice4, megaWeight4, superMiniPrice4, superMiniWeight4, superMegaPrice4, superMegaWeight4, miniMegaHammerPrice4, miniMegaHammerWeight4, sparkyStickerPrice4, sparkyStickerWeight4, warpPipePrice4, warpPipeWeight4, swapCardPrice4, swapCardWeight4, bowserSuitPrice4, bowserSuitWeight4, gaddlightPrice4, gaddlightWeight4, magicLampPrice4, magicLampWeight4, crystalBallPrice4, crystalBallWeight4, chompCallPrice4, chompCallWeight4, itemBagPrice4, itemBagWeight4, mushroomPrice4, mushroomWeight4, goldenMushroomPrice4, goldenMushroomWeight4, cellularShopperPrice4, cellularShopperWeight4, bowserPhonePrice4, bowserPhoneWeight4, hiddenBlockCardPrice4, hiddenBlockCardWeight4): + if not miniPrice4.get() or not miniWeight4.get() or not megaPrice4.get() or not megaWeight4.get() or not superMegaPrice4.get() or not superMegaWeight4.get() or not superMiniPrice4.get() or not superMiniWeight4.get() or not miniMegaHammerPrice4.get() or not miniMegaHammerWeight4.get() or not warpPipePrice4.get() or not warpPipeWeight4.get() or not swapCardPrice4.get() or not swapCardWeight4.get() or not sparkyStickerPrice4.get() or not sparkyStickerWeight4.get() or not bowserSuitPrice4.get() or not bowserSuitWeight4.get() or not gaddlightPrice4.get() or not gaddlightWeight4.get() or not chompCallPrice4.get() or not chompCallWeight4.get() or not crystalBallPrice4.get() or not crystalBallWeight4.get() or not magicLampPrice4.get() or not magicLampWeight4.get() or not itemBagPrice4.get() or not itemBagWeight4.get() or not mushroomPrice4.get() or not mushroomWeight4.get() or not goldenMushroomPrice4.get() or not goldenMushroomWeight4.get() or not cellularShopperPrice4.get() or not cellularShopperWeight4.get() or not bowserPhonePrice4.get() or not bowserPhoneWeight4.get() or not hiddenBlockCardPrice4.get() or not hiddenBlockCardWeight4.get(): + createDialog("Error", "error", "Please fill out all the boxes.", None) return + miniPrice4 = miniPrice4.get() miniWeight4 = miniWeight4.get() megaPrice4 = megaPrice4.get() @@ -406,9 +537,22 @@ def savePresetItems4(miniPrice4, miniWeight4, megaPrice4, megaWeight4, superMini magicLampWeight4 = magicLampWeight4.get() itemBagPrice4 = itemBagPrice4.get() itemBagWeight4 = itemBagWeight4.get() - prices4 = [miniPrice4, megaPrice4, superMiniPrice4, superMegaPrice4, miniMegaHammerPrice4, warpPipePrice4, swapCardPrice4, sparkyStickerPrice4, gaddlightPrice4, chompCallPrice4, bowserSuitPrice4, crystalBallPrice4, magicLampPrice4, itemBagPrice4] - weights4 = [miniWeight4, megaWeight4, superMiniWeight4, superMegaWeight4, miniMegaHammerWeight4, warpPipeWeight4, swapCardWeight4, sparkyStickerWeight4, gaddlightWeight4, chompCallWeight4, bowserSuitWeight4, crystalBallWeight4, magicLampWeight4, itemBagWeight4] - + + # New items + mushroomPrice4 = mushroomPrice4.get() + mushroomWeight4 = mushroomWeight4.get() + goldenMushroomPrice4 = goldenMushroomPrice4.get() + goldenMushroomWeight4 = goldenMushroomWeight4.get() + cellularShopperPrice4 = cellularShopperPrice4.get() + cellularShopperWeight4 = cellularShopperWeight4.get() + bowserPhonePrice4 = bowserPhonePrice4.get() + bowserPhoneWeight4 = bowserPhoneWeight4.get() + hiddenBlockCardPrice4 = hiddenBlockCardPrice4.get() + hiddenBlockCardWeight4 = hiddenBlockCardWeight4.get() + + prices4 = [miniPrice4, megaPrice4, superMiniPrice4, superMegaPrice4, miniMegaHammerPrice4, warpPipePrice4, swapCardPrice4, sparkyStickerPrice4, gaddlightPrice4, chompCallPrice4, bowserSuitPrice4, crystalBallPrice4, magicLampPrice4, itemBagPrice4, mushroomPrice4, goldenMushroomPrice4, cellularShopperPrice4, bowserPhonePrice4, hiddenBlockCardPrice4] + weights4 = [miniWeight4, megaWeight4, superMiniWeight4, superMegaWeight4, miniMegaHammerWeight4, warpPipeWeight4, swapCardWeight4, sparkyStickerWeight4, gaddlightWeight4, chompCallWeight4, bowserSuitWeight4, crystalBallWeight4, magicLampWeight4, itemBagWeight4, mushroomWeight4, goldenMushroomWeight4, cellularShopperWeight4, bowserPhoneWeight4, hiddenBlockCardWeight4] + file_path = tkinter.filedialog.asksaveasfilename(defaultextension=".mpt", filetypes=[("MPT files", "*.mpt")]) if file_path: with open(file_path, 'w', newline='') as csvfile: @@ -417,7 +561,7 @@ def savePresetItems4(miniPrice4, miniWeight4, megaPrice4, megaWeight4, superMini for price, weight in zip(prices4, weights4): writer.writerow([price, weight]) print("MPT file saved successfully!") - createDialog("Operation Sucessful", "success", "Presets file saved successfully!.", None) + createDialog("Operation Successful", "success", "Presets file saved successfully!.", None) def loadPresetItems4(miniPrice4, miniWeight4, megaPrice4, megaWeight4, superMiniPrice4, superMiniWeight4, superMegaPrice4, superMegaWeight4, miniMegaHammerPrice4, miniMegaHammerWeight4, sparkyStickerPrice4, sparkyStickerWeight4, warpPipePrice4, warpPipeWeight4, swapCardPrice4, swapCardWeight4, bowserSuitPrice4, bowserSuitWeight4, gaddlightPrice4, gaddlightWeight4, magicLampPrice4, magicLampWeight4, crystalBallPrice4, crystalBallWeight4, chompCallPrice4, chompCallWeight4, itemBagPrice4, itemBagWeight4): file_path = tkinter.filedialog.askopenfilename(defaultextension=".mpt", filetypes=[("MPT files", "*.mpt")]) @@ -445,7 +589,7 @@ def loadPresetItems4(miniPrice4, miniWeight4, megaPrice4, megaWeight4, superMini print("MPT file laoded successfully!") createDialog("Operation Sucessful", "success", "Presets file saved successfully!.", None) -def fillViaCode4(top, codeText, miniPrice4, miniWeight4, megaPrice4, megaWeight4, superMiniPrice4, superMiniWeight4, superMegaPrice4, superMegaWeight4, miniMegaHammerPrice4, miniMegaHammerWeight4, sparkyStickerPrice4, sparkyStickerWeight4, warpPipePrice4, warpPipeWeight4, swapCardPrice4, swapCardWeight4, bowserSuitPrice4, bowserSuitWeight4, gaddlightPrice4, gaddlightWeight4, magicLampPrice4, magicLampWeight4, crystalBallPrice4, crystalBallWeight4, chompCallPrice4, chompCallWeight4, itemBagPrice4, itemBagWeight4): +def fillViaCode4(hide_custom, top, codeText, miniPrice4, miniWeight4, megaPrice4, megaWeight4, superMiniPrice4, superMiniWeight4, superMegaPrice4, superMegaWeight4, miniMegaHammerPrice4, miniMegaHammerWeight4, sparkyStickerPrice4, sparkyStickerWeight4, warpPipePrice4, warpPipeWeight4, swapCardPrice4, swapCardWeight4, bowserSuitPrice4, bowserSuitWeight4, gaddlightPrice4, gaddlightWeight4, magicLampPrice4, magicLampWeight4, crystalBallPrice4, crystalBallWeight4, chompCallPrice4, chompCallWeight4, itemBagPrice4, itemBagWeight4): code4 = [] code_single4 = [] weight_code4 = [] @@ -512,6 +656,11 @@ def fillViaCode4(top, codeText, miniPrice4, miniWeight4, megaPrice4, megaWeight4 # Define a list of Entry widget attributes pricesNames4 = [miniPrice4, megaPrice4, superMiniPrice4, superMegaPrice4, miniMegaHammerPrice4, warpPipePrice4, swapCardPrice4, sparkyStickerPrice4, gaddlightPrice4, chompCallPrice4, bowserSuitPrice4, crystalBallPrice4, magicLampPrice4, itemBagPrice4] weightsNames4 = [miniWeight4, megaWeight4, superMiniWeight4, superMegaWeight4, miniMegaHammerWeight4, warpPipeWeight4, swapCardWeight4, sparkyStickerWeight4, gaddlightWeight4, chompCallWeight4, bowserSuitWeight4, crystalBallWeight4, magicLampWeight4, itemBagWeight4] + + if not hide_custom: + pricesNames4.extend([mushroomPrice4, goldenMushroomPrice4, celluarShopperPrice4, bowserPhonePrice4, hiddenBlockCardPrice4]) + weightsNames4.extend([mushroomWeight4, goldenMushroomWeight4, celluarShopperWeight4, bowserPhoneWeight4, hiddenBlockCardWeight4]) + # Update widgets with loaded values for index, widget in enumerate(pricesNames4): if widget and index < len(prices4In): diff --git a/events/marioParty5_bonusStarReplace.py b/events/marioParty5_bonusStarReplace.py index 18200e6..9e65f5d 100644 --- a/events/marioParty5_bonusStarReplace.py +++ b/events/marioParty5_bonusStarReplace.py @@ -15,7 +15,7 @@ def customBonusStarEvent_mp5(star1, star2, star3, stars5): starSlot2 = star2.get() starSlot3 = star3.get() - starHex = ["NONE", "881D0014", "881D0015", "881D0016", "881D0017", "881D0018", "881D0019", "A81D0020", "A81D0022", "A883001C", "A883001E", "A8830022", "A81D0026", "A81D0034"] + starHex = ["NONE", "881D0014", "881D0015", "881D0016", "881D0017", "881D0018", "881D0019", "A81D0020", "A81D0022", "A81D0026", "A81D0034"] starSlot1Num = stars5.index(starSlot1) starSlot1Hex = starHex[starSlot1Num] diff --git a/events/marioParty7_items.py b/events/marioParty7_items.py index 73809b5..8d49e59 100644 --- a/events/marioParty7_items.py +++ b/events/marioParty7_items.py @@ -12,1216 +12,1990 @@ import math import pyperclip -def itemsEvent_mp7(mushroomCapsuleWeight7, goldenMushroomCapsulePrice7, goldenMushroomCapsuleWeight7, slowMushroomCapsulePrice7, slowMushroomCapsuleWeight7, metalMushroomCapsulePrice7, metalMushroomCapsuleWeight7, flutterCapsulePrice7, flutterCapsuleWeight7, cannonCapsulePrice7, cannonCapsuleWeight7, snackCapsulePrice7, snackCapsuleWeight7, lakituCapsulePrice7, lakituCapsuleWeight7, hammerBroCapsulePrice7, hammerBroCapsuleWeight7, plantCapsulePrice7, plantCapsuleWeight7, spearCapsulePrice7, spearCapsuleWeight7, kamekCapsulePrice7, kamekCapsuleWeight7, toadyCapsulePrice7, toadyCapsuleWeight7, blizzardCapsulePrice7, blizzardCapsuleWeight7, banditCapsulePrice7, banditCapsuleWeight7, pinkBooCapsulePrice7, pinkBooCapsuleWeight7, spinyCapsulePrice7, spinyCapsuleWeight7, zapCapsulePrice7, zapCapsuleWeight7, tweesterCapsulePrice7, tweesterCapsuleWeight7, thwompCapsulePrice7, thwompCapsuleWeight7, warpCapsulePrice7, warpCapsuleWeight7, bombCapsulePrice7, bombCapsuleWeight7, fireballCapsulePrice7, fireballCapsuleWeight7, flowerCapsulePrice7, flowerCapsuleWeight7, eggCapsulePrice7, eggCapsuleWeight7, vacuumCapsulePrice7, vacuumCapsuleWeight7, magicCapsulePrice7, magicCapsuleWeight7, tripleCapsulePrice7, tripleCapsuleWeight7, koopaCapsulePrice7, koopaCapsuleWeight7, posionMushroomWeight7, posionMushroomPrice7, dkCapsuleWeight7, dkCapsulePrice7, orbBagCapsuleWeight7, orbBagCapsulePrice7, duelCapsuleWeight7, duelCapsulePrice7, mysteryCapsuleWeight7, mysteryCapsulePrice7): - if not mushroomCapsuleWeight7.get() or not goldenMushroomCapsulePrice7.get() or not goldenMushroomCapsuleWeight7.get() or not slowMushroomCapsulePrice7.get() or not slowMushroomCapsuleWeight7.get() or not metalMushroomCapsulePrice7.get() or not metalMushroomCapsuleWeight7.get() or not flutterCapsulePrice7.get() or not flutterCapsuleWeight7.get() or not cannonCapsulePrice7.get() or not cannonCapsuleWeight7.get() or not snackCapsulePrice7.get() or not snackCapsuleWeight7.get() or not lakituCapsulePrice7.get() or not lakituCapsuleWeight7.get() or not hammerBroCapsuleWeight7.get() or not hammerBroCapsulePrice7.get() or not plantCapsulePrice7.get() or not plantCapsuleWeight7.get() or not spearCapsuleWeight7.get() or not spearCapsulePrice7.get() or not kamekCapsuleWeight7.get() or not kamekCapsulePrice7.get() or not toadyCapsuleWeight7.get() or not toadyCapsulePrice7.get() or not blizzardCapsuleWeight7.get() or not blizzardCapsulePrice7.get() or not banditCapsulePrice7.get() or not banditCapsuleWeight7.get() or not pinkBooCapsuleWeight7.get() or not pinkBooCapsulePrice7.get() or not spinyCapsulePrice7.get() or not spinyCapsuleWeight7.get() or not zapCapsulePrice7.get() or not zapCapsuleWeight7.get() or not tweesterCapsulePrice7.get() or not tweesterCapsuleWeight7.get() or not thwompCapsulePrice7.get() or not thwompCapsuleWeight7.get() or not warpCapsulePrice7.get() or not warpCapsuleWeight7.get() or not bombCapsulePrice7.get() or not bombCapsuleWeight7.get() or not fireballCapsulePrice7.get() or not fireballCapsuleWeight7.get() or not eggCapsulePrice7.get() or not eggCapsuleWeight7.get() or not flowerCapsulePrice7.get() or not flowerCapsuleWeight7.get() or not vacuumCapsulePrice7.get() or not vacuumCapsuleWeight7.get() or not magicCapsulePrice7.get() or not magicCapsuleWeight7.get() or not tripleCapsulePrice7.get() or not tripleCapsuleWeight7.get() or not koopaCapsulePrice7.get() or not koopaCapsuleWeight7.get(): - if sys.platform == "darwin": - createDialog("Error", "error", "Please fill out all the boxes.", None) - else: - createDialog("Error", "error", "Please fill out all the boxes.", None) - return +def itemsEvent_mp7(mushroomCapsuleShopOdds12 = "0", mushroomCapsuleShopOdds34 = "0", mushroomCapsuleSpaceOdds12 = "0", mushroomCapsuleSpaceOdds34 = "0", goldenMushroomCapsulePrice12 = "0", goldenMushroomCapsulePrice34 = "0", goldenMushroomCapsuleShopOdds12 = "0", goldenMushroomCapsuleShopOdds34 = "0", goldenMushroomCapsuleSpaceOdds12 = "0", goldenMushroomCapsuleSpaceOdds34 = "0", slowMushroomCapsulePrice12 = "0", slowMushroomCapsulePrice34 = "0", slowMushroomCapsuleShopOdds12 = "0", slowMushroomCapsuleShopOdds34 = "0", slowMushroomCapsuleSpaceOdds12 = "0", slowMushroomCapsuleSpaceOdds34 = "0", metalMushroomCapsulePrice12 = "0", metalMushroomCapsulePrice34 = "0", metalMushroomCapsuleShopOdds12 = "0", metalMushroomCapsuleShopOdds34 = "0", metalMushroomCapsuleSpaceOdds12 = "0", metalMushroomCapsuleSpaceOdds34 = "0", flutterCapsulePrice12 = "0", flutterCapsulePrice34 = "0", flutterCapsuleShopOdds12 = "0", flutterCapsuleShopOdds34 = "0", flutterCapsuleSpaceOdds12 = "0", flutterCapsuleSpaceOdds34 = "0", cannonCapsulePrice12 = "0", cannonCapsulePrice34 = "0", cannonCapsuleShopOdds12 = "0", cannonCapsuleShopOdds34 = "0", cannonCapsuleSpaceOdds12 = "0", cannonCapsuleSpaceOdds34 = "0", snackCapsulePrice12 = "0", snackCapsulePrice34 = "0", snackCapsuleShopOdds12 = "0", snackCapsuleShopOdds34 = "0", snackCapsuleSpaceOdds12 = "0", snackCapsuleSpaceOdds34 = "0", lakituCapsulePrice12 = "0", lakituCapsulePrice34 = "0", lakituCapsuleShopOdds12 = "0", lakituCapsuleShopOdds34 = "0", lakituCapsuleSpaceOdds12 = "0", lakituCapsuleSpaceOdds34 = "0", hammerBroCapsulePrice12 = "0", hammerBroCapsulePrice34 = "0", hammerBroCapsuleShopOdds12 = "0", hammerBroCapsuleShopOdds34 = "0", hammerBroCapsuleSpaceOdds12 = "0", hammerBroCapsuleSpaceOdds34 = "0", piranhaPlantCapsulePrice12 = "0", piranhaPlantCapsulePrice34 = "0", piranhaPlantCapsuleShopOdds12 = "0", piranhaPlantCapsuleShopOdds34 = "0", piranhaPlantCapsuleSpaceOdds12 = "0", piranhaPlantCapsuleSpaceOdds34 = "0", spearGuyCapsulePrice12 = "0", spearGuyCapsulePrice34 = "0", spearGuyCapsuleShopOdds12 = "0", spearGuyCapsuleShopOdds34 = "0", spearGuyCapsuleSpaceOdds12 = "0", spearGuyCapsuleSpaceOdds34 = "0", kamekCapsulePrice12 = "0", kamekCapsulePrice34 = "0", kamekCapsuleShopOdds12 = "0", kamekCapsuleShopOdds34 = "0", kamekCapsuleSpaceOdds12 = "0", kamekCapsuleSpaceOdds34 = "0", toadyCapsulePrice12 = "0", toadyCapsulePrice34 = "0", toadyCapsuleShopOdds12 = "0", toadyCapsuleShopOdds34 = "0", toadyCapsuleSpaceOdds12 = "0", toadyCapsuleSpaceOdds34 = "0", mrBlizzardCapsulePrice12 = "0", mrBlizzardCapsulePrice34 = "0", mrBlizzardCapsuleShopOdds12 = "0", mrBlizzardCapsuleShopOdds34 = "0", mrBlizzardCapsuleSpaceOdds12 = "0", mrBlizzardCapsuleSpaceOdds34 = "0", banditCapsulePrice12 = "0", banditCapsulePrice34 = "0", banditCapsuleShopOdds12 = "0", banditCapsuleShopOdds34 = "0", banditCapsuleSpaceOdds12 = "0", banditCapsuleSpaceOdds34 = "0", pinkBooCapsulePrice12 = "0", pinkBooCapsulePrice34 = "0", pinkBooCapsuleShopOdds12 = "0", pinkBooCapsuleShopOdds34 = "0", pinkBooCapsuleSpaceOdds12 = "0", pinkBooCapsuleSpaceOdds34 = "0", spinyCapsulePrice12 = "0", spinyCapsulePrice34 = "0", spinyCapsuleShopOdds12 = "0", spinyCapsuleShopOdds34 = "0", spinyCapsuleSpaceOdds12 = "0", spinyCapsuleSpaceOdds34 = "0", zapCapsulePrice12 = "0", zapCapsulePrice34 = "0", zapCapsuleShopOdds12 = "0", zapCapsuleShopOdds34 = "0", zapCapsuleSpaceOdds12 = "0", zapCapsuleSpaceOdds34 = "0", tweesterCapsulePrice12 = "0", tweesterCapsulePrice34 = "0", tweesterCapsuleShopOdds12 = "0", tweesterCapsuleShopOdds34 = "0", tweesterCapsuleSpaceOdds12 = "0", tweesterCapsuleSpaceOdds34 = "0", thwompCapsulePrice12 = "0", thwompCapsulePrice34 = "0", thwompCapsuleShopOdds12 = "0", thwompCapsuleShopOdds34 = "0", thwompCapsuleSpaceOdds12 = "0", thwompCapsuleSpaceOdds34 = "0", warpCapsulePrice12 = "0", warpCapsulePrice34 = "0", warpCapsuleShopOdds12 = "0", warpCapsuleShopOdds34 = "0", warpCapsuleSpaceOdds12 = "0", warpCapsuleSpaceOdds34 = "0", bombCapsulePrice12 = "0", bombCapsulePrice34 = "0", bombCapsuleShopOdds12 = "0", bombCapsuleShopOdds34 = "0", bombCapsuleSpaceOdds12 = "0", bombCapsuleSpaceOdds34 = "0", fireballCapsulePrice12 = "0", fireballCapsulePrice34 = "0", fireballCapsuleShopOdds12 = "0", fireballCapsuleShopOdds34 = "0", fireballCapsuleSpaceOdds12 = "0", fireballCapsuleSpaceOdds34 = "0", flowerCapsulePrice12 = "0", flowerCapsulePrice34 = "0", flowerCapsuleShopOdds12 = "0", flowerCapsuleShopOdds34 = "0", flowerCapsuleSpaceOdds12 = "0", flowerCapsuleSpaceOdds34 = "0", eggCapsulePrice12 = "0", eggCapsulePrice34 = "0", eggCapsuleShopOdds12 = "0", eggCapsuleShopOdds34 = "0", eggCapsuleSpaceOdds12 = "0", eggCapsuleSpaceOdds34 = "0", vacuumCapsulePrice12 = "0", vacuumCapsulePrice34 = "0", vacuumCapsuleShopOdds12 = "0", vacuumCapsuleShopOdds34 = "0", vacuumCapsuleSpaceOdds12 = "0", vacuumCapsuleSpaceOdds34 = "0", magicCapsulePrice12 = "0", magicCapsulePrice34 = "0", magicCapsuleShopOdds12 = "0", magicCapsuleShopOdds34 = "0", magicCapsuleSpaceOdds12 = "0", magicCapsuleSpaceOdds34 = "0", tripleCapsulePrice12 = "0", tripleCapsulePrice34 = "0", tripleCapsuleShopOdds12 = "0", tripleCapsuleShopOdds34 = "0", tripleCapsuleSpaceOdds12 = "0", tripleCapsuleSpaceOdds34 = "0", koopaCapsulePrice12 = "0", koopaCapsulePrice34 = "0", koopaCapsuleShopOdds12 = "0", koopaCapsuleShopOdds34 = "0", koopaCapsuleSpaceOdds12 = "0", koopaCapsuleSpaceOdds34 = "0", poisonMushroomPrice34 = "0", poisonMushroomPrice12 = "0", poisonMushroomShopOdds12 = "0", poisonMushroomShopOdds34 = "0", poisonMushroomSpaceOdds12 = "0", poisonMushroomSpaceOdds34 = "0", orbBagCapsulePrice34 = "0", orbBagCapsulePrice12 = "0", orbBagCapsuleShopOdds12 = "0", orbBagCapsuleShopOdds34 = "0", orbBagCapsuleSpaceOdds12 = "0", orbBagCapsuleSpaceOdds34 = "0", mysteryCapsulePrice34 = "0", mysteryCapsulePrice12 = "0", mysteryCapsuleShopOdds12 = "0", mysteryCapsuleShopOdds34 = "0", mysteryCapsuleSpaceOdds12 = "0", mysteryCapsuleSpaceOdds34 = "0", dkCapsulePrice34 = "0", dkCapsulePrice12 = "0", dkCapsuleShopOdds12 = "0", dkCapsuleShopOdds34 = "0", dkCapsuleSpaceOdds12 = "0", dkCapsuleSpaceOdds34 = "0", duelCapsulePrice34 = "0", duelCapsulePrice12 = "0", duelCapsuleShopOdds12 = "0", duelCapsuleShopOdds34 = "0", duelCapsuleSpaceOdds12 = "0", duelCapsuleSpaceOdds34 = "0"): + def get_capsule_value(capsule): + try: + return capsule.get() + except: + return 0 + + mushroomCapsulePrice12 = "05" + mushroomCapsulePrice34 = "05" + mushroomCapsuleShopOdds12 = get_capsule_value(mushroomCapsuleShopOdds12) + mushroomCapsuleShopOdds34 = get_capsule_value(mushroomCapsuleShopOdds34) + mushroomCapsuleSpaceOdds12 = get_capsule_value(mushroomCapsuleSpaceOdds12) + mushroomCapsuleSpaceOdds34 = get_capsule_value(mushroomCapsuleSpaceOdds34) + goldenMushroomCapsulePrice12 = get_capsule_value(goldenMushroomCapsulePrice12) + goldenMushroomCapsulePrice34 = get_capsule_value(goldenMushroomCapsulePrice34) + goldenMushroomCapsuleShopOdds12 = get_capsule_value(goldenMushroomCapsuleShopOdds12) + goldenMushroomCapsuleShopOdds34 = get_capsule_value(goldenMushroomCapsuleShopOdds34) + goldenMushroomCapsuleSpaceOdds12 = get_capsule_value(goldenMushroomCapsuleSpaceOdds12) + goldenMushroomCapsuleSpaceOdds34 = get_capsule_value(goldenMushroomCapsuleSpaceOdds34) + slowMushroomCapsulePrice12 = get_capsule_value(slowMushroomCapsulePrice12) + slowMushroomCapsulePrice34 = get_capsule_value(slowMushroomCapsulePrice34) + slowMushroomCapsuleShopOdds12 = get_capsule_value(slowMushroomCapsuleShopOdds12) + slowMushroomCapsuleShopOdds34 = get_capsule_value(slowMushroomCapsuleShopOdds34) + slowMushroomCapsuleSpaceOdds12 = get_capsule_value(slowMushroomCapsuleSpaceOdds12) + slowMushroomCapsuleSpaceOdds34 = get_capsule_value(slowMushroomCapsuleSpaceOdds34) + metalMushroomCapsulePrice12 = get_capsule_value(metalMushroomCapsulePrice12) + metalMushroomCapsulePrice34 = get_capsule_value(metalMushroomCapsulePrice34) + metalMushroomCapsuleShopOdds12 = get_capsule_value(metalMushroomCapsuleShopOdds12) + metalMushroomCapsuleShopOdds34 = get_capsule_value(metalMushroomCapsuleShopOdds34) + metalMushroomCapsuleSpaceOdds12 = get_capsule_value(metalMushroomCapsuleSpaceOdds12) + metalMushroomCapsuleSpaceOdds34 = get_capsule_value(metalMushroomCapsuleSpaceOdds34) + flutterCapsulePrice12 = get_capsule_value(flutterCapsulePrice12) + flutterCapsulePrice34 = get_capsule_value(flutterCapsulePrice34) + flutterCapsuleShopOdds12 = get_capsule_value(flutterCapsuleShopOdds12) + flutterCapsuleShopOdds34 = get_capsule_value(flutterCapsuleShopOdds34) + flutterCapsuleSpaceOdds12 = get_capsule_value(flutterCapsuleSpaceOdds12) + flutterCapsuleSpaceOdds34 = get_capsule_value(flutterCapsuleSpaceOdds34) + cannonCapsulePrice12 = get_capsule_value(cannonCapsulePrice12) + cannonCapsulePrice34 = get_capsule_value(cannonCapsulePrice34) + cannonCapsuleShopOdds12 = get_capsule_value(cannonCapsuleShopOdds12) + cannonCapsuleShopOdds34 = get_capsule_value(cannonCapsuleShopOdds34) + cannonCapsuleSpaceOdds12 = get_capsule_value(cannonCapsuleSpaceOdds12) + cannonCapsuleSpaceOdds34 = get_capsule_value(cannonCapsuleSpaceOdds34) + snackCapsulePrice12 = get_capsule_value(snackCapsulePrice12) + snackCapsulePrice34 = get_capsule_value(snackCapsulePrice34) + snackCapsuleShopOdds12 = get_capsule_value(snackCapsuleShopOdds12) + snackCapsuleShopOdds34 = get_capsule_value(snackCapsuleShopOdds34) + snackCapsuleSpaceOdds12 = get_capsule_value(snackCapsuleSpaceOdds12) + snackCapsuleSpaceOdds34 = get_capsule_value(snackCapsuleSpaceOdds34) + lakituCapsulePrice12 = get_capsule_value(lakituCapsulePrice12) + lakituCapsulePrice34 = get_capsule_value(lakituCapsulePrice34) + lakituCapsuleShopOdds12 = get_capsule_value(lakituCapsuleShopOdds12) + lakituCapsuleShopOdds34 = get_capsule_value(lakituCapsuleShopOdds34) + lakituCapsuleSpaceOdds12 = get_capsule_value(lakituCapsuleSpaceOdds12) + lakituCapsuleSpaceOdds34 = get_capsule_value(lakituCapsuleSpaceOdds34) + hammerBroCapsulePrice12 = get_capsule_value(hammerBroCapsulePrice12) + hammerBroCapsulePrice34 = get_capsule_value(hammerBroCapsulePrice34) + hammerBroCapsuleShopOdds12 = get_capsule_value(hammerBroCapsuleShopOdds12) + hammerBroCapsuleShopOdds34 = get_capsule_value(hammerBroCapsuleShopOdds34) + hammerBroCapsuleSpaceOdds12 = get_capsule_value(hammerBroCapsuleSpaceOdds12) + hammerBroCapsuleSpaceOdds34 = get_capsule_value(hammerBroCapsuleSpaceOdds34) + piranhaPlantCapsulePrice12 = get_capsule_value(piranhaPlantCapsulePrice12) + piranhaPlantCapsulePrice34 = get_capsule_value(piranhaPlantCapsulePrice34) + piranhaPlantCapsuleShopOdds12 = get_capsule_value(piranhaPlantCapsuleShopOdds12) + piranhaPlantCapsuleShopOdds34 = get_capsule_value(piranhaPlantCapsuleShopOdds34) + piranhaPlantCapsuleSpaceOdds12 = get_capsule_value(piranhaPlantCapsuleSpaceOdds12) + piranhaPlantCapsuleSpaceOdds34 = get_capsule_value(piranhaPlantCapsuleSpaceOdds34) + spearGuyCapsulePrice12 = get_capsule_value(spearGuyCapsulePrice12) + spearGuyCapsulePrice34 = get_capsule_value(spearGuyCapsulePrice34) + spearGuyCapsuleShopOdds12 = get_capsule_value(spearGuyCapsuleShopOdds12) + spearGuyCapsuleShopOdds34 = get_capsule_value(spearGuyCapsuleShopOdds34) + spearGuyCapsuleSpaceOdds12 = get_capsule_value(spearGuyCapsuleSpaceOdds12) + spearGuyCapsuleSpaceOdds34 = get_capsule_value(spearGuyCapsuleSpaceOdds34) + kamekCapsulePrice12 = get_capsule_value(kamekCapsulePrice12) + kamekCapsulePrice34 = get_capsule_value(kamekCapsulePrice34) + kamekCapsuleShopOdds12 = get_capsule_value(kamekCapsuleShopOdds12) + kamekCapsuleShopOdds34 = get_capsule_value(kamekCapsuleShopOdds34) + kamekCapsuleSpaceOdds12 = get_capsule_value(kamekCapsuleSpaceOdds12) + kamekCapsuleSpaceOdds34 = get_capsule_value(kamekCapsuleSpaceOdds34) + toadyCapsulePrice12 = get_capsule_value(toadyCapsulePrice12) + toadyCapsulePrice34 = get_capsule_value(toadyCapsulePrice34) + toadyCapsuleShopOdds12 = get_capsule_value(toadyCapsuleShopOdds12) + toadyCapsuleShopOdds34 = get_capsule_value(toadyCapsuleShopOdds34) + toadyCapsuleSpaceOdds12 = get_capsule_value(toadyCapsuleSpaceOdds12) + toadyCapsuleSpaceOdds34 = get_capsule_value(toadyCapsuleSpaceOdds34) + mrBlizzardCapsulePrice12 = get_capsule_value(mrBlizzardCapsulePrice12) + mrBlizzardCapsulePrice34 = get_capsule_value(mrBlizzardCapsulePrice34) + mrBlizzardCapsuleShopOdds12 = get_capsule_value(mrBlizzardCapsuleShopOdds12) + mrBlizzardCapsuleShopOdds34 = get_capsule_value(mrBlizzardCapsuleShopOdds34) + mrBlizzardCapsuleSpaceOdds12 = get_capsule_value(mrBlizzardCapsuleSpaceOdds12) + mrBlizzardCapsuleSpaceOdds34 = get_capsule_value(mrBlizzardCapsuleSpaceOdds34) + banditCapsulePrice12 = get_capsule_value(banditCapsulePrice12) + banditCapsulePrice34 = get_capsule_value(banditCapsulePrice34) + banditCapsuleShopOdds12 = get_capsule_value(banditCapsuleShopOdds12) + banditCapsuleShopOdds34 = get_capsule_value(banditCapsuleShopOdds34) + banditCapsuleSpaceOdds12 = get_capsule_value(banditCapsuleSpaceOdds12) + banditCapsuleSpaceOdds34 = get_capsule_value(banditCapsuleSpaceOdds34) + pinkBooCapsulePrice12 = get_capsule_value(pinkBooCapsulePrice12) + pinkBooCapsulePrice34 = get_capsule_value(pinkBooCapsulePrice34) + pinkBooCapsuleShopOdds12 = get_capsule_value(pinkBooCapsuleShopOdds12) + pinkBooCapsuleShopOdds34 = get_capsule_value(pinkBooCapsuleShopOdds34) + pinkBooCapsuleSpaceOdds12 = get_capsule_value(pinkBooCapsuleSpaceOdds12) + pinkBooCapsuleSpaceOdds34 = get_capsule_value(pinkBooCapsuleSpaceOdds34) + spinyCapsulePrice12 = get_capsule_value(spinyCapsulePrice12) + spinyCapsulePrice34 = get_capsule_value(spinyCapsulePrice34) + spinyCapsuleShopOdds12 = get_capsule_value(spinyCapsuleShopOdds12) + spinyCapsuleShopOdds34 = get_capsule_value(spinyCapsuleShopOdds34) + spinyCapsuleSpaceOdds12 = get_capsule_value(spinyCapsuleSpaceOdds12) + spinyCapsuleSpaceOdds34 = get_capsule_value(spinyCapsuleSpaceOdds34) + zapCapsulePrice12 = get_capsule_value(zapCapsulePrice12) + zapCapsulePrice34 = get_capsule_value(zapCapsulePrice34) + zapCapsuleShopOdds12 = get_capsule_value(zapCapsuleShopOdds12) + zapCapsuleShopOdds34 = get_capsule_value(zapCapsuleShopOdds34) + zapCapsuleSpaceOdds12 = get_capsule_value(zapCapsuleSpaceOdds12) + zapCapsuleSpaceOdds34 = get_capsule_value(zapCapsuleSpaceOdds34) + tweesterCapsulePrice12 = get_capsule_value(tweesterCapsulePrice12) + tweesterCapsulePrice34 = get_capsule_value(tweesterCapsulePrice34) + tweesterCapsuleShopOdds12 = get_capsule_value(tweesterCapsuleShopOdds12) + tweesterCapsuleShopOdds34 = get_capsule_value(tweesterCapsuleShopOdds34) + tweesterCapsuleSpaceOdds12 = get_capsule_value(tweesterCapsuleSpaceOdds12) + tweesterCapsuleSpaceOdds34 = get_capsule_value(tweesterCapsuleSpaceOdds34) + thwompCapsulePrice12 = get_capsule_value(thwompCapsulePrice12) + thwompCapsulePrice34 = get_capsule_value(thwompCapsulePrice34) + thwompCapsuleShopOdds12 = get_capsule_value(thwompCapsuleShopOdds12) + thwompCapsuleShopOdds34 = get_capsule_value(thwompCapsuleShopOdds34) + thwompCapsuleSpaceOdds12 = get_capsule_value(thwompCapsuleSpaceOdds12) + thwompCapsuleSpaceOdds34 = get_capsule_value(thwompCapsuleSpaceOdds34) + warpCapsulePrice12 = get_capsule_value(warpCapsulePrice12) + warpCapsulePrice34 = get_capsule_value(warpCapsulePrice34) + warpCapsuleShopOdds12 = get_capsule_value(warpCapsuleShopOdds12) + warpCapsuleShopOdds34 = get_capsule_value(warpCapsuleShopOdds34) + warpCapsuleSpaceOdds12 = get_capsule_value(warpCapsuleSpaceOdds12) + warpCapsuleSpaceOdds34 = get_capsule_value(warpCapsuleSpaceOdds34) + bombCapsulePrice12 = get_capsule_value(bombCapsulePrice12) + bombCapsulePrice34 = get_capsule_value(bombCapsulePrice34) + bombCapsuleShopOdds12 = get_capsule_value(bombCapsuleShopOdds12) + bombCapsuleShopOdds34 = get_capsule_value(bombCapsuleShopOdds34) + bombCapsuleSpaceOdds12 = get_capsule_value(bombCapsuleSpaceOdds12) + bombCapsuleSpaceOdds34 = get_capsule_value(bombCapsuleSpaceOdds34) + fireballCapsulePrice12 = get_capsule_value(fireballCapsulePrice12) + fireballCapsulePrice34 = get_capsule_value(fireballCapsulePrice34) + fireballCapsuleShopOdds12 = get_capsule_value(fireballCapsuleShopOdds12) + fireballCapsuleShopOdds34 = get_capsule_value(fireballCapsuleShopOdds34) + fireballCapsuleSpaceOdds12 = get_capsule_value(fireballCapsuleSpaceOdds12) + fireballCapsuleSpaceOdds34 = get_capsule_value(fireballCapsuleSpaceOdds34) + flowerCapsulePrice12 = get_capsule_value(flowerCapsulePrice12) + flowerCapsulePrice34 = get_capsule_value(flowerCapsulePrice34) + flowerCapsuleShopOdds12 = get_capsule_value(flowerCapsuleShopOdds12) + flowerCapsuleShopOdds34 = get_capsule_value(flowerCapsuleShopOdds34) + flowerCapsuleSpaceOdds12 = get_capsule_value(flowerCapsuleSpaceOdds12) + flowerCapsuleSpaceOdds34 = get_capsule_value(flowerCapsuleSpaceOdds34) + eggCapsulePrice12 = get_capsule_value(eggCapsulePrice12) + eggCapsulePrice34 = get_capsule_value(eggCapsulePrice34) + eggCapsuleShopOdds12 = get_capsule_value(eggCapsuleShopOdds12) + eggCapsuleShopOdds34 = get_capsule_value(eggCapsuleShopOdds34) + eggCapsuleSpaceOdds12 = get_capsule_value(eggCapsuleSpaceOdds12) + eggCapsuleSpaceOdds34 = get_capsule_value(eggCapsuleSpaceOdds34) + vacuumCapsulePrice12 = get_capsule_value(vacuumCapsulePrice12) + vacuumCapsulePrice34 = get_capsule_value(vacuumCapsulePrice34) + vacuumCapsuleShopOdds12 = get_capsule_value(vacuumCapsuleShopOdds12) + vacuumCapsuleShopOdds34 = get_capsule_value(vacuumCapsuleShopOdds34) + vacuumCapsuleSpaceOdds12 = get_capsule_value(vacuumCapsuleSpaceOdds12) + vacuumCapsuleSpaceOdds34 = get_capsule_value(vacuumCapsuleSpaceOdds34) + magicCapsulePrice12 = get_capsule_value(magicCapsulePrice12) + magicCapsulePrice34 = get_capsule_value(magicCapsulePrice34) + magicCapsuleShopOdds12 = get_capsule_value(magicCapsuleShopOdds12) + magicCapsuleShopOdds34 = get_capsule_value(magicCapsuleShopOdds34) + magicCapsuleSpaceOdds12 = get_capsule_value(magicCapsuleSpaceOdds12) + magicCapsuleSpaceOdds34 = get_capsule_value(magicCapsuleSpaceOdds34) + tripleCapsulePrice12 = get_capsule_value(tripleCapsulePrice12) + tripleCapsulePrice34 = get_capsule_value(tripleCapsulePrice34) + tripleCapsuleShopOdds12 = get_capsule_value(tripleCapsuleShopOdds12) + tripleCapsuleShopOdds34 = get_capsule_value(tripleCapsuleShopOdds34) + tripleCapsuleSpaceOdds12 = get_capsule_value(tripleCapsuleSpaceOdds12) + tripleCapsuleSpaceOdds34 = get_capsule_value(tripleCapsuleSpaceOdds34) + koopaCapsulePrice12 = get_capsule_value(koopaCapsulePrice12) + koopaCapsulePrice34 = get_capsule_value(koopaCapsulePrice34) + koopaCapsuleShopOdds12 = get_capsule_value(koopaCapsuleShopOdds12) + koopaCapsuleShopOdds34 = get_capsule_value(koopaCapsuleShopOdds34) + koopaCapsuleSpaceOdds12 = get_capsule_value(koopaCapsuleSpaceOdds12) + koopaCapsuleSpaceOdds34 = get_capsule_value(koopaCapsuleSpaceOdds34) + poisonMushroomPrice12 = get_capsule_value(poisonMushroomPrice12) + poisonMushroomPrice34 = get_capsule_value(poisonMushroomPrice34) + poisonMushroomShopOdds12 = get_capsule_value(poisonMushroomShopOdds12) + poisonMushroomShopOdds34 = get_capsule_value(poisonMushroomShopOdds34) + poisonMushroomSpaceOdds12 = get_capsule_value(poisonMushroomSpaceOdds12) + poisonMushroomSpaceOdds34 = get_capsule_value(poisonMushroomSpaceOdds34) + orbBagCapsulePrice12 = get_capsule_value(orbBagCapsulePrice12) + orbBagCapsulePrice34 = get_capsule_value(orbBagCapsulePrice34) + orbBagCapsuleShopOdds12 = get_capsule_value(orbBagCapsuleShopOdds12) + orbBagCapsuleShopOdds34 = get_capsule_value(orbBagCapsuleShopOdds34) + orbBagCapsuleSpaceOdds12 = get_capsule_value(orbBagCapsuleSpaceOdds12) + orbBagCapsuleSpaceOdds34 = get_capsule_value(orbBagCapsuleSpaceOdds34) + mysteryCapsulePrice12 = get_capsule_value(mysteryCapsulePrice12) + mysteryCapsulePrice34 = get_capsule_value(mysteryCapsulePrice34) + mysteryCapsuleShopOdds12 = get_capsule_value(mysteryCapsuleShopOdds12) + mysteryCapsuleShopOdds34 = get_capsule_value(mysteryCapsuleShopOdds34) + mysteryCapsuleSpaceOdds12 = get_capsule_value(mysteryCapsuleSpaceOdds12) + mysteryCapsuleSpaceOdds34 = get_capsule_value(mysteryCapsuleSpaceOdds34) + dkCapsulePrice12 = get_capsule_value(dkCapsulePrice12) + dkCapsulePrice34 = get_capsule_value(dkCapsulePrice34) + dkCapsuleShopOdds12 = get_capsule_value(dkCapsuleShopOdds12) + dkCapsuleShopOdds34 = get_capsule_value(dkCapsuleShopOdds34) + dkCapsuleSpaceOdds12 = get_capsule_value(dkCapsuleSpaceOdds12) + dkCapsuleSpaceOdds34 = get_capsule_value(dkCapsuleSpaceOdds34) + duelCapsulePrice12 = get_capsule_value(duelCapsulePrice12) + duelCapsulePrice34 = get_capsule_value(duelCapsulePrice34) + duelCapsuleShopOdds12 = get_capsule_value(duelCapsuleShopOdds12) + duelCapsuleShopOdds34 = get_capsule_value(duelCapsuleShopOdds34) + duelCapsuleSpaceOdds12 = get_capsule_value(duelCapsuleSpaceOdds12) + duelCapsuleSpaceOdds34 = get_capsule_value(duelCapsuleSpaceOdds34) + + + # Weights lists + shopOdds12 = [ + mushroomCapsuleShopOdds12, goldenMushroomCapsuleShopOdds12, metalMushroomCapsuleShopOdds12, + slowMushroomCapsuleShopOdds12, flutterCapsuleShopOdds12, cannonCapsuleShopOdds12, + snackCapsuleShopOdds12, lakituCapsuleShopOdds12, hammerBroCapsuleShopOdds12, + piranhaPlantCapsuleShopOdds12, spearGuyCapsuleShopOdds12, kamekCapsuleShopOdds12, + toadyCapsuleShopOdds12, mrBlizzardCapsuleShopOdds12, banditCapsuleShopOdds12, + pinkBooCapsuleShopOdds12, spinyCapsuleShopOdds12, zapCapsuleShopOdds12, + tweesterCapsuleShopOdds12, thwompCapsuleShopOdds12, warpCapsuleShopOdds12, + bombCapsuleShopOdds12, fireballCapsuleShopOdds12, flowerCapsuleShopOdds12, + eggCapsuleShopOdds12, vacuumCapsuleShopOdds12, magicCapsuleShopOdds12, + tripleCapsuleShopOdds12, koopaCapsuleShopOdds12, mysteryCapsuleShopOdds12, + duelCapsuleShopOdds12, dkCapsuleShopOdds12, orbBagCapsuleShopOdds12 + ] + + shopOdds34 = [ + mushroomCapsuleShopOdds34, goldenMushroomCapsuleShopOdds34, metalMushroomCapsuleShopOdds34, + slowMushroomCapsuleShopOdds34, flutterCapsuleShopOdds34, cannonCapsuleShopOdds34, + snackCapsuleShopOdds34, lakituCapsuleShopOdds34, hammerBroCapsuleShopOdds34, + piranhaPlantCapsuleShopOdds34, spearGuyCapsuleShopOdds34, kamekCapsuleShopOdds34, + toadyCapsuleShopOdds34, mrBlizzardCapsuleShopOdds34, banditCapsuleShopOdds34, + pinkBooCapsuleShopOdds34, spinyCapsuleShopOdds34, zapCapsuleShopOdds34, + tweesterCapsuleShopOdds34, thwompCapsuleShopOdds34, warpCapsuleShopOdds34, + bombCapsuleShopOdds34, fireballCapsuleShopOdds34, flowerCapsuleShopOdds34, + eggCapsuleShopOdds34, vacuumCapsuleShopOdds34, magicCapsuleShopOdds34, + tripleCapsuleShopOdds34, koopaCapsuleShopOdds34, mysteryCapsuleShopOdds34, + duelCapsuleShopOdds34, dkCapsuleShopOdds34, orbBagCapsuleShopOdds34 + ] + + spaceOdds12 = [ + mushroomCapsuleSpaceOdds12, goldenMushroomCapsuleSpaceOdds12, metalMushroomCapsuleSpaceOdds12, + slowMushroomCapsuleSpaceOdds12, flutterCapsuleSpaceOdds12, cannonCapsuleSpaceOdds12, + snackCapsuleSpaceOdds12, lakituCapsuleSpaceOdds12, hammerBroCapsuleSpaceOdds12, + piranhaPlantCapsuleSpaceOdds12, spearGuyCapsuleSpaceOdds12, kamekCapsuleSpaceOdds12, + toadyCapsuleSpaceOdds12, mrBlizzardCapsuleSpaceOdds12, banditCapsuleSpaceOdds12, + pinkBooCapsuleSpaceOdds12, spinyCapsuleSpaceOdds12, zapCapsuleSpaceOdds12, + tweesterCapsuleSpaceOdds12, thwompCapsuleSpaceOdds12, warpCapsuleSpaceOdds12, + bombCapsuleSpaceOdds12, fireballCapsuleSpaceOdds12, flowerCapsuleSpaceOdds12, + eggCapsuleSpaceOdds12, vacuumCapsuleSpaceOdds12, magicCapsuleSpaceOdds12, + tripleCapsuleSpaceOdds12, koopaCapsuleSpaceOdds12, mysteryCapsuleSpaceOdds12, + duelCapsuleSpaceOdds12, dkCapsuleSpaceOdds12, orbBagCapsuleSpaceOdds12 + ] - mushroomCapsuleWeight7 = mushroomCapsuleWeight7.get() + spaceOdds34 = [ + mushroomCapsuleSpaceOdds34, goldenMushroomCapsuleSpaceOdds34, metalMushroomCapsuleSpaceOdds34, + slowMushroomCapsuleSpaceOdds34, flutterCapsuleSpaceOdds34, cannonCapsuleSpaceOdds34, + snackCapsuleSpaceOdds34, lakituCapsuleSpaceOdds34, hammerBroCapsuleSpaceOdds34, + piranhaPlantCapsuleSpaceOdds34, spearGuyCapsuleSpaceOdds34, kamekCapsuleSpaceOdds34, + toadyCapsuleSpaceOdds34, mrBlizzardCapsuleSpaceOdds34, banditCapsuleSpaceOdds34, + pinkBooCapsuleSpaceOdds34, spinyCapsuleSpaceOdds34, zapCapsuleSpaceOdds34, + tweesterCapsuleSpaceOdds34, thwompCapsuleSpaceOdds34, warpCapsuleSpaceOdds34, + bombCapsuleSpaceOdds34, fireballCapsuleSpaceOdds34, flowerCapsuleSpaceOdds34, + eggCapsuleSpaceOdds34, vacuumCapsuleSpaceOdds34, magicCapsuleSpaceOdds34, + tripleCapsuleSpaceOdds34, koopaCapsuleSpaceOdds34, mysteryCapsuleSpaceOdds34, + duelCapsuleSpaceOdds34, dkCapsuleSpaceOdds34, orbBagCapsuleSpaceOdds34 + ] + + shopOdds12Weights = sum(int(weight) if weight else 0 for weight in shopOdds12) + shopOdds34Weights = sum(int(weight) if weight else 0 for weight in shopOdds34) + spaceOdds12Weights = sum(int(weight) if weight else 0 for weight in spaceOdds12) + spaceOdds34Weights = sum(int(weight) if weight else 0 for weight in spaceOdds34) + + def calculateWeight(weight, total): + # Convert weight to int, default to 0 if empty or None + weight = int(weight) if weight else 0 + # Check for total being zero to avoid division by zero + if total <= 0: + return 0 # Return 0 if total is zero or negative + if total < 100: + return weight # Return the weight directly if total is less than 100 + else: + percentage = (weight / total) * 100 + if 0 < percentage < 1: + return math.ceil(percentage) + return round(percentage) + + # Calculate weights for shop odds 12 + mushroomCapsuleShopOdds12 = calculateWeight(mushroomCapsuleShopOdds12, shopOdds12Weights) + goldenMushroomCapsuleShopOdds12 = calculateWeight(goldenMushroomCapsuleShopOdds12, shopOdds12Weights) + metalMushroomCapsuleShopOdds12 = calculateWeight(metalMushroomCapsuleShopOdds12, shopOdds12Weights) + slowMushroomCapsuleShopOdds12 = calculateWeight(slowMushroomCapsuleShopOdds12, shopOdds12Weights) + flutterCapsuleShopOdds12 = calculateWeight(flutterCapsuleShopOdds12, shopOdds12Weights) + cannonCapsuleShopOdds12 = calculateWeight(cannonCapsuleShopOdds12, shopOdds12Weights) + snackCapsuleShopOdds12 = calculateWeight(snackCapsuleShopOdds12, shopOdds12Weights) + lakituCapsuleShopOdds12 = calculateWeight(lakituCapsuleShopOdds12, shopOdds12Weights) + hammerBroCapsuleShopOdds12 = calculateWeight(hammerBroCapsuleShopOdds12, shopOdds12Weights) + piranhaPlantCapsuleShopOdds12 = calculateWeight(piranhaPlantCapsuleShopOdds12, shopOdds12Weights) + spearGuyCapsuleShopOdds12 = calculateWeight(spearGuyCapsuleShopOdds12, shopOdds12Weights) + kamekCapsuleShopOdds12 = calculateWeight(kamekCapsuleShopOdds12, shopOdds12Weights) + toadyCapsuleShopOdds12 = calculateWeight(toadyCapsuleShopOdds12, shopOdds12Weights) + mrBlizzardCapsuleShopOdds12 = calculateWeight(mrBlizzardCapsuleShopOdds12, shopOdds12Weights) + banditCapsuleShopOdds12 = calculateWeight(banditCapsuleShopOdds12, shopOdds12Weights) + pinkBooCapsuleShopOdds12 = calculateWeight(pinkBooCapsuleShopOdds12, shopOdds12Weights) + spinyCapsuleShopOdds12 = calculateWeight(spinyCapsuleShopOdds12, shopOdds12Weights) + zapCapsuleShopOdds12 = calculateWeight(zapCapsuleShopOdds12, shopOdds12Weights) + tweesterCapsuleShopOdds12 = calculateWeight(tweesterCapsuleShopOdds12, shopOdds12Weights) + thwompCapsuleShopOdds12 = calculateWeight(thwompCapsuleShopOdds12, shopOdds12Weights) + warpCapsuleShopOdds12 = calculateWeight(warpCapsuleShopOdds12, shopOdds12Weights) + bombCapsuleShopOdds12 = calculateWeight(bombCapsuleShopOdds12, shopOdds12Weights) + fireballCapsuleShopOdds12 = calculateWeight(fireballCapsuleShopOdds12, shopOdds12Weights) + flowerCapsuleShopOdds12 = calculateWeight(flowerCapsuleShopOdds12, shopOdds12Weights) + eggCapsuleShopOdds12 = calculateWeight(eggCapsuleShopOdds12, shopOdds12Weights) + vacuumCapsuleShopOdds12 = calculateWeight(vacuumCapsuleShopOdds12, shopOdds12Weights) + magicCapsuleShopOdds12 = calculateWeight(magicCapsuleShopOdds12, shopOdds12Weights) + tripleCapsuleShopOdds12 = calculateWeight(tripleCapsuleShopOdds12, shopOdds12Weights) + koopaCapsuleShopOdds12 = calculateWeight(koopaCapsuleShopOdds12, shopOdds12Weights) + mysteryCapsuleShopOdds12 = calculateWeight(mysteryCapsuleShopOdds12, shopOdds12Weights) + duelCapsuleShopOdds12 = calculateWeight(duelCapsuleShopOdds12, shopOdds12Weights) + dkCapsuleShopOdds12 = calculateWeight(dkCapsuleShopOdds12, shopOdds12Weights) + orbBagCapsuleShopOdds12 = calculateWeight(orbBagCapsuleShopOdds12, shopOdds12Weights) + + # Calculate weights for shop odds 34 + mushroomCapsuleShopOdds34 = calculateWeight(mushroomCapsuleShopOdds34, shopOdds34Weights) + goldenMushroomCapsuleShopOdds34 = calculateWeight(goldenMushroomCapsuleShopOdds34, shopOdds34Weights) + metalMushroomCapsuleShopOdds34 = calculateWeight(metalMushroomCapsuleShopOdds34, shopOdds34Weights) + slowMushroomCapsuleShopOdds34 = calculateWeight(slowMushroomCapsuleShopOdds34, shopOdds34Weights) + flutterCapsuleShopOdds34 = calculateWeight(flutterCapsuleShopOdds34, shopOdds34Weights) + cannonCapsuleShopOdds34 = calculateWeight(cannonCapsuleShopOdds34, shopOdds34Weights) + snackCapsuleShopOdds34 = calculateWeight(snackCapsuleShopOdds34, shopOdds34Weights) + lakituCapsuleShopOdds34 = calculateWeight(lakituCapsuleShopOdds34, shopOdds34Weights) + hammerBroCapsuleShopOdds34 = calculateWeight(hammerBroCapsuleShopOdds34, shopOdds34Weights) + piranhaPlantCapsuleShopOdds34 = calculateWeight(piranhaPlantCapsuleShopOdds34, shopOdds34Weights) + spearGuyCapsuleShopOdds34 = calculateWeight(spearGuyCapsuleShopOdds34, shopOdds34Weights) + kamekCapsuleShopOdds34 = calculateWeight(kamekCapsuleShopOdds34, shopOdds34Weights) + toadyCapsuleShopOdds34 = calculateWeight(toadyCapsuleShopOdds34, shopOdds34Weights) + mrBlizzardCapsuleShopOdds34 = calculateWeight(mrBlizzardCapsuleShopOdds34, shopOdds34Weights) + banditCapsuleShopOdds34 = calculateWeight(banditCapsuleShopOdds34, shopOdds34Weights) + pinkBooCapsuleShopOdds34 = calculateWeight(pinkBooCapsuleShopOdds34, shopOdds34Weights) + spinyCapsuleShopOdds34 = calculateWeight(spinyCapsuleShopOdds34, shopOdds34Weights) + zapCapsuleShopOdds34 = calculateWeight(zapCapsuleShopOdds34, shopOdds34Weights) + tweesterCapsuleShopOdds34 = calculateWeight(tweesterCapsuleShopOdds34, shopOdds34Weights) + thwompCapsuleShopOdds34 = calculateWeight(thwompCapsuleShopOdds34, shopOdds34Weights) + warpCapsuleShopOdds34 = calculateWeight(warpCapsuleShopOdds34, shopOdds34Weights) + bombCapsuleShopOdds34 = calculateWeight(bombCapsuleShopOdds34, shopOdds34Weights) + fireballCapsuleShopOdds34 = calculateWeight(fireballCapsuleShopOdds34, shopOdds34Weights) + flowerCapsuleShopOdds34 = calculateWeight(flowerCapsuleShopOdds34, shopOdds34Weights) + eggCapsuleShopOdds34 = calculateWeight(eggCapsuleShopOdds34, shopOdds34Weights) + vacuumCapsuleShopOdds34 = calculateWeight(vacuumCapsuleShopOdds34, shopOdds34Weights) + magicCapsuleShopOdds34 = calculateWeight(magicCapsuleShopOdds34, shopOdds34Weights) + tripleCapsuleShopOdds34 = calculateWeight(tripleCapsuleShopOdds34, shopOdds34Weights) + koopaCapsuleShopOdds34 = calculateWeight(koopaCapsuleShopOdds34, shopOdds34Weights) + mysteryCapsuleShopOdds34 = calculateWeight(mysteryCapsuleShopOdds34, shopOdds34Weights) + duelCapsuleShopOdds34 = calculateWeight(duelCapsuleShopOdds34, shopOdds34Weights) + dkCapsuleShopOdds34 = calculateWeight(dkCapsuleShopOdds34, shopOdds34Weights) + orbBagCapsuleShopOdds34 = calculateWeight(orbBagCapsuleShopOdds34, shopOdds34Weights) + + # Calculate weights for space odds 12 + mushroomCapsuleSpaceOdds12 = calculateWeight(mushroomCapsuleSpaceOdds12, spaceOdds12Weights) + goldenMushroomCapsuleSpaceOdds12 = calculateWeight(goldenMushroomCapsuleSpaceOdds12, spaceOdds12Weights) + metalMushroomCapsuleSpaceOdds12 = calculateWeight(metalMushroomCapsuleSpaceOdds12, spaceOdds12Weights) + slowMushroomCapsuleSpaceOdds12 = calculateWeight(slowMushroomCapsuleSpaceOdds12, spaceOdds12Weights) + flutterCapsuleSpaceOdds12 = calculateWeight(flutterCapsuleSpaceOdds12, spaceOdds12Weights) + cannonCapsuleSpaceOdds12 = calculateWeight(cannonCapsuleSpaceOdds12, spaceOdds12Weights) + snackCapsuleSpaceOdds12 = calculateWeight(snackCapsuleSpaceOdds12, spaceOdds12Weights) + lakituCapsuleSpaceOdds12 = calculateWeight(lakituCapsuleSpaceOdds12, spaceOdds12Weights) + hammerBroCapsuleSpaceOdds12 = calculateWeight(hammerBroCapsuleSpaceOdds12, spaceOdds12Weights) + piranhaPlantCapsuleSpaceOdds12 = calculateWeight(piranhaPlantCapsuleSpaceOdds12, spaceOdds12Weights) + spearGuyCapsuleSpaceOdds12 = calculateWeight(spearGuyCapsuleSpaceOdds12, spaceOdds12Weights) + kamekCapsuleSpaceOdds12 = calculateWeight(kamekCapsuleSpaceOdds12, spaceOdds12Weights) + toadyCapsuleSpaceOdds12 = calculateWeight(toadyCapsuleSpaceOdds12, spaceOdds12Weights) + mrBlizzardCapsuleSpaceOdds12 = calculateWeight(mrBlizzardCapsuleSpaceOdds12, spaceOdds12Weights) + banditCapsuleSpaceOdds12 = calculateWeight(banditCapsuleSpaceOdds12, spaceOdds12Weights) + pinkBooCapsuleSpaceOdds12 = calculateWeight(pinkBooCapsuleSpaceOdds12, spaceOdds12Weights) + spinyCapsuleSpaceOdds12 = calculateWeight(spinyCapsuleSpaceOdds12, spaceOdds12Weights) + zapCapsuleSpaceOdds12 = calculateWeight(zapCapsuleSpaceOdds12, spaceOdds12Weights) + tweesterCapsuleSpaceOdds12 = calculateWeight(tweesterCapsuleSpaceOdds12, spaceOdds12Weights) + thwompCapsuleSpaceOdds12 = calculateWeight(thwompCapsuleSpaceOdds12, spaceOdds12Weights) + warpCapsuleSpaceOdds12 = calculateWeight(warpCapsuleSpaceOdds12, spaceOdds12Weights) + bombCapsuleSpaceOdds12 = calculateWeight(bombCapsuleSpaceOdds12, spaceOdds12Weights) + fireballCapsuleSpaceOdds12 = calculateWeight(fireballCapsuleSpaceOdds12, spaceOdds12Weights) + flowerCapsuleSpaceOdds12 = calculateWeight(flowerCapsuleSpaceOdds12, spaceOdds12Weights) + eggCapsuleSpaceOdds12 = calculateWeight(eggCapsuleSpaceOdds12, spaceOdds12Weights) + vacuumCapsuleSpaceOdds12 = calculateWeight(vacuumCapsuleSpaceOdds12, spaceOdds12Weights) + magicCapsuleSpaceOdds12 = calculateWeight(magicCapsuleSpaceOdds12, spaceOdds12Weights) + tripleCapsuleSpaceOdds12 = calculateWeight(tripleCapsuleSpaceOdds12, spaceOdds12Weights) + koopaCapsuleSpaceOdds12 = calculateWeight(koopaCapsuleSpaceOdds12, spaceOdds12Weights) + mysteryCapsuleSpaceOdds12 = calculateWeight(mysteryCapsuleSpaceOdds12, spaceOdds12Weights) + duelCapsuleSpaceOdds12 = calculateWeight(duelCapsuleSpaceOdds12, spaceOdds12Weights) + dkCapsuleSpaceOdds12 = calculateWeight(dkCapsuleSpaceOdds12, spaceOdds12Weights) + orbBagCapsuleSpaceOdds12 = calculateWeight(orbBagCapsuleSpaceOdds12, spaceOdds12Weights) + + # Calculate weights for space odds 34 + mushroomCapsuleSpaceOdds34 = calculateWeight(mushroomCapsuleSpaceOdds34, spaceOdds34Weights) + goldenMushroomCapsuleSpaceOdds34 = calculateWeight(goldenMushroomCapsuleSpaceOdds34, spaceOdds34Weights) + metalMushroomCapsuleSpaceOdds34 = calculateWeight(metalMushroomCapsuleSpaceOdds34, spaceOdds34Weights) + slowMushroomCapsuleSpaceOdds34 = calculateWeight(slowMushroomCapsuleSpaceOdds34, spaceOdds34Weights) + flutterCapsuleSpaceOdds34 = calculateWeight(flutterCapsuleSpaceOdds34, spaceOdds34Weights) + cannonCapsuleSpaceOdds34 = calculateWeight(cannonCapsuleSpaceOdds34, spaceOdds34Weights) + snackCapsuleSpaceOdds34 = calculateWeight(snackCapsuleSpaceOdds34, spaceOdds34Weights) + lakituCapsuleSpaceOdds34 = calculateWeight(lakituCapsuleSpaceOdds34, spaceOdds34Weights) + hammerBroCapsuleSpaceOdds34 = calculateWeight(hammerBroCapsuleSpaceOdds34, spaceOdds34Weights) + piranhaPlantCapsuleSpaceOdds34 = calculateWeight(piranhaPlantCapsuleSpaceOdds34, spaceOdds34Weights) + spearGuyCapsuleSpaceOdds34 = calculateWeight(spearGuyCapsuleSpaceOdds34, spaceOdds34Weights) + kamekCapsuleSpaceOdds34 = calculateWeight(kamekCapsuleSpaceOdds34, spaceOdds34Weights) + toadyCapsuleSpaceOdds34 = calculateWeight(toadyCapsuleSpaceOdds34, spaceOdds34Weights) + mrBlizzardCapsuleSpaceOdds34 = calculateWeight(mrBlizzardCapsuleSpaceOdds34, spaceOdds34Weights) + banditCapsuleSpaceOdds34 = calculateWeight(banditCapsuleSpaceOdds34, spaceOdds34Weights) + pinkBooCapsuleSpaceOdds34 = calculateWeight(pinkBooCapsuleSpaceOdds34, spaceOdds34Weights) + spinyCapsuleSpaceOdds34 = calculateWeight(spinyCapsuleSpaceOdds34, spaceOdds34Weights) + zapCapsuleSpaceOdds34 = calculateWeight(zapCapsuleSpaceOdds34, spaceOdds34Weights) + tweesterCapsuleSpaceOdds34 = calculateWeight(tweesterCapsuleSpaceOdds34, spaceOdds34Weights) + thwompCapsuleSpaceOdds34 = calculateWeight(thwompCapsuleSpaceOdds34, spaceOdds34Weights) + warpCapsuleSpaceOdds34 = calculateWeight(warpCapsuleSpaceOdds34, spaceOdds34Weights) + bombCapsuleSpaceOdds34 = calculateWeight(bombCapsuleSpaceOdds34, spaceOdds34Weights) + fireballCapsuleSpaceOdds34 = calculateWeight(fireballCapsuleSpaceOdds34, spaceOdds34Weights) + flowerCapsuleSpaceOdds34 = calculateWeight(flowerCapsuleSpaceOdds34, spaceOdds34Weights) + eggCapsuleSpaceOdds34 = calculateWeight(eggCapsuleSpaceOdds34, spaceOdds34Weights) + vacuumCapsuleSpaceOdds34 = calculateWeight(vacuumCapsuleSpaceOdds34, spaceOdds34Weights) + magicCapsuleSpaceOdds34 = calculateWeight(magicCapsuleSpaceOdds34, spaceOdds34Weights) + tripleCapsuleSpaceOdds34 = calculateWeight(tripleCapsuleSpaceOdds34, spaceOdds34Weights) + koopaCapsuleSpaceOdds34 = calculateWeight(koopaCapsuleSpaceOdds34, spaceOdds34Weights) + mysteryCapsuleSpaceOdds34 = calculateWeight(mysteryCapsuleSpaceOdds34, spaceOdds34Weights) + duelCapsuleSpaceOdds34 = calculateWeight(duelCapsuleSpaceOdds34, spaceOdds34Weights) + dkCapsuleSpaceOdds34 = calculateWeight(dkCapsuleSpaceOdds34, spaceOdds34Weights) + orbBagCapsuleSpaceOdds34 = calculateWeight(orbBagCapsuleSpaceOdds34, spaceOdds34Weights) + + + # Redefine Weights lists + shopOdds12 = [ + mushroomCapsuleShopOdds12, goldenMushroomCapsuleShopOdds12, metalMushroomCapsuleShopOdds12, + slowMushroomCapsuleShopOdds12, flutterCapsuleShopOdds12, cannonCapsuleShopOdds12, + snackCapsuleShopOdds12, lakituCapsuleShopOdds12, hammerBroCapsuleShopOdds12, + piranhaPlantCapsuleShopOdds12, spearGuyCapsuleShopOdds12, kamekCapsuleShopOdds12, + toadyCapsuleShopOdds12, mrBlizzardCapsuleShopOdds12, banditCapsuleShopOdds12, + pinkBooCapsuleShopOdds12, spinyCapsuleShopOdds12, zapCapsuleShopOdds12, + tweesterCapsuleShopOdds12, thwompCapsuleShopOdds12, warpCapsuleShopOdds12, + bombCapsuleShopOdds12, fireballCapsuleShopOdds12, flowerCapsuleShopOdds12, + eggCapsuleShopOdds12, vacuumCapsuleShopOdds12, magicCapsuleShopOdds12, + tripleCapsuleShopOdds12, koopaCapsuleShopOdds12, mysteryCapsuleShopOdds12, + duelCapsuleShopOdds12, dkCapsuleShopOdds12, orbBagCapsuleShopOdds12 + ] + + shopOdds34 = [ + mushroomCapsuleShopOdds34, goldenMushroomCapsuleShopOdds34, metalMushroomCapsuleShopOdds34, + slowMushroomCapsuleShopOdds34, flutterCapsuleShopOdds34, cannonCapsuleShopOdds34, + snackCapsuleShopOdds34, lakituCapsuleShopOdds34, hammerBroCapsuleShopOdds34, + piranhaPlantCapsuleShopOdds34, spearGuyCapsuleShopOdds34, kamekCapsuleShopOdds34, + toadyCapsuleShopOdds34, mrBlizzardCapsuleShopOdds34, banditCapsuleShopOdds34, + pinkBooCapsuleShopOdds34, spinyCapsuleShopOdds34, zapCapsuleShopOdds34, + tweesterCapsuleShopOdds34, thwompCapsuleShopOdds34, warpCapsuleShopOdds34, + bombCapsuleShopOdds34, fireballCapsuleShopOdds34, flowerCapsuleShopOdds34, + eggCapsuleShopOdds34, vacuumCapsuleShopOdds34, magicCapsuleShopOdds34, + tripleCapsuleShopOdds34, koopaCapsuleShopOdds34, mysteryCapsuleShopOdds34, + duelCapsuleShopOdds34, dkCapsuleShopOdds34, orbBagCapsuleShopOdds34 + ] + + spaceOdds12 = [ + mushroomCapsuleSpaceOdds12, goldenMushroomCapsuleSpaceOdds12, metalMushroomCapsuleSpaceOdds12, + slowMushroomCapsuleSpaceOdds12, flutterCapsuleSpaceOdds12, cannonCapsuleSpaceOdds12, + snackCapsuleSpaceOdds12, lakituCapsuleSpaceOdds12, hammerBroCapsuleSpaceOdds12, + piranhaPlantCapsuleSpaceOdds12, spearGuyCapsuleSpaceOdds12, kamekCapsuleSpaceOdds12, + toadyCapsuleSpaceOdds12, mrBlizzardCapsuleSpaceOdds12, banditCapsuleSpaceOdds12, + pinkBooCapsuleSpaceOdds12, spinyCapsuleSpaceOdds12, zapCapsuleSpaceOdds12, + tweesterCapsuleSpaceOdds12, thwompCapsuleSpaceOdds12, warpCapsuleSpaceOdds12, + bombCapsuleSpaceOdds12, fireballCapsuleSpaceOdds12, flowerCapsuleSpaceOdds12, + eggCapsuleSpaceOdds12, vacuumCapsuleSpaceOdds12, magicCapsuleSpaceOdds12, + tripleCapsuleSpaceOdds12, koopaCapsuleSpaceOdds12, mysteryCapsuleSpaceOdds12, + duelCapsuleSpaceOdds12, dkCapsuleSpaceOdds12, orbBagCapsuleSpaceOdds12 + ] - goldenMushroomCapsulePrice7 = goldenMushroomCapsulePrice7.get() - goldenMushroomCapsuleWeight7 = goldenMushroomCapsuleWeight7.get() + spaceOdds34 = [ + mushroomCapsuleSpaceOdds34, goldenMushroomCapsuleSpaceOdds34, metalMushroomCapsuleSpaceOdds34, + slowMushroomCapsuleSpaceOdds34, flutterCapsuleSpaceOdds34, cannonCapsuleSpaceOdds34, + snackCapsuleSpaceOdds34, lakituCapsuleSpaceOdds34, hammerBroCapsuleSpaceOdds34, + piranhaPlantCapsuleSpaceOdds34, spearGuyCapsuleSpaceOdds34, kamekCapsuleSpaceOdds34, + toadyCapsuleSpaceOdds34, mrBlizzardCapsuleSpaceOdds34, banditCapsuleSpaceOdds34, + pinkBooCapsuleSpaceOdds34, spinyCapsuleSpaceOdds34, zapCapsuleSpaceOdds34, + tweesterCapsuleSpaceOdds34, thwompCapsuleSpaceOdds34, warpCapsuleSpaceOdds34, + bombCapsuleSpaceOdds34, fireballCapsuleSpaceOdds34, flowerCapsuleSpaceOdds34, + eggCapsuleSpaceOdds34, vacuumCapsuleSpaceOdds34, magicCapsuleSpaceOdds34, + tripleCapsuleSpaceOdds34, koopaCapsuleSpaceOdds34, mysteryCapsuleSpaceOdds34, + duelCapsuleSpaceOdds34, dkCapsuleSpaceOdds34, orbBagCapsuleSpaceOdds34 + ] - slowMushroomCapsulePrice7 = slowMushroomCapsulePrice7.get() - slowMushroomCapsuleWeight7 = slowMushroomCapsuleWeight7.get() + spaceOdds12Weights = sum(weight for weight in spaceOdds12) + spaceOdds34Weights = sum(weight for weight in spaceOdds34) + shopOdds12Weights = sum(weight for weight in shopOdds12) + shopOdds34Weights = sum(weight for weight in shopOdds34) - metalMushroomCapsulePrice7 = metalMushroomCapsulePrice7.get() - metalMushroomCapsuleWeight7 = metalMushroomCapsuleWeight7.get() + if spaceOdds12Weights < 100: + spaceOdds12Max = max(zip(spaceOdds12, spaceOdds12), key=lambda tuple: tuple[1])[0] - flutterCapsulePrice7 = flutterCapsulePrice7.get() - flutterCapsuleWeight7 = flutterCapsuleWeight7.get() + if spaceOdds34Weights < 100: + spaceOdds34Max = max(zip(spaceOdds34, spaceOdds34), key=lambda tuple: tuple[1])[0] - cannonCapsulePrice7 = cannonCapsulePrice7.get() - cannonCapsuleWeight7 = cannonCapsuleWeight7.get() + if shopOdds12Weights < 100: + shopOdds12Max = max(zip(shopOdds12, shopOdds12), key=lambda tuple: tuple[1])[0] - snackCapsulePrice7 = snackCapsulePrice7.get() - snackCapsuleWeight7 = snackCapsuleWeight7.get() + if shopOdds34Weights < 100: + shopOdds34Max = max(zip(shopOdds34, shopOdds34), key=lambda tuple: tuple[1])[0] - lakituCapsulePrice7 = lakituCapsulePrice7.get() - lakituCapsuleWeight7 = lakituCapsuleWeight7.get() + if shopOdds12Max == 'mushroomCapsuleShopOdds12': + mushroomCapsuleShopOdds12 += (100 - mushroomCapsuleShopOdds12) - hammerBroCapsulePrice7 = hammerBroCapsulePrice7.get() - hammerBroCapsuleWeight7 = hammerBroCapsuleWeight7.get() + if shopOdds12Max == 'goldenMushroomCapsuleShopOdds12': + goldenMushroomCapsuleShopOdds12 += (100 - goldenMushroomCapsuleShopOdds12) - plantCapsulePrice7 = plantCapsulePrice7.get() - plantCapsuleWeight7 = plantCapsuleWeight7.get() + if shopOdds12Max == 'metalMushroomCapsuleShopOdds12': + metalMushroomCapsuleShopOdds12 += (100 - metalMushroomCapsuleShopOdds12) - spearCapsulePrice7 = spearCapsulePrice7.get() - spearCapsuleWeight7 = spearCapsuleWeight7.get() + if shopOdds12Max == 'slowMushroomCapsuleShopOdds12': + slowMushroomCapsuleShopOdds12 += (100 - slowMushroomCapsuleShopOdds12) - kamekCapsulePrice7 = kamekCapsulePrice7.get() - kamekCapsuleWeight7 = kamekCapsuleWeight7.get() + if shopOdds12Max == 'flutterCapsuleShopOdds12': + flutterCapsuleShopOdds12 += (100 - flutterCapsuleShopOdds12) - toadyCapsulePrice7 = toadyCapsulePrice7.get() - toadyCapsuleWeight7 = toadyCapsuleWeight7.get() + if shopOdds12Max == 'cannonCapsuleShopOdds12': + cannonCapsuleShopOdds12 += (100 - cannonCapsuleShopOdds12) - blizzardCapsulePrice7 = blizzardCapsulePrice7.get() - blizzardCapsuleWeight7 = blizzardCapsuleWeight7.get() + if shopOdds12Max == 'snackCapsuleShopOdds12': + snackCapsuleShopOdds12 += (100 - snackCapsuleShopOdds12) - banditCapsulePrice7 = banditCapsulePrice7.get() - banditCapsuleWeight7 = banditCapsuleWeight7.get() + if shopOdds12Max == 'lakituCapsuleShopOdds12': + lakituCapsuleShopOdds12 += (100 - lakituCapsuleShopOdds12) - pinkBooCapsulePrice7 = pinkBooCapsulePrice7.get() - pinkBooCapsuleWeight7 = pinkBooCapsuleWeight7.get() + if shopOdds12Max == 'hammerBroCapsuleShopOdds12': + hammerBroCapsuleShopOdds12 += (100 - hammerBroCapsuleShopOdds12) - spinyCapsulePrice7 = spinyCapsulePrice7.get() - spinyCapsuleWeight7 = spinyCapsuleWeight7.get() + if shopOdds12Max == 'piranhaPlantCapsuleShopOdds12': + piranhaPlantCapsuleShopOdds12 += (100 - piranhaPlantCapsuleShopOdds12) - zapCapsulePrice7 = zapCapsulePrice7.get() - zapCapsuleWeight7 = zapCapsuleWeight7.get() + if shopOdds12Max == 'spearGuyCapsuleShopOdds12': + spearGuyCapsuleShopOdds12 += (100 - spearGuyCapsuleShopOdds12) - tweesterCapsulePrice7 = tweesterCapsulePrice7.get() - tweesterCapsuleWeight7 = tweesterCapsuleWeight7.get() + if shopOdds12Max == 'kamekCapsuleShopOdds12': + kamekCapsuleShopOdds12 += (100 - kamekCapsuleShopOdds12) - thwompCapsulePrice7 = thwompCapsulePrice7.get() - thwompCapsuleWeight7 = thwompCapsuleWeight7.get() + if shopOdds12Max == 'toadyCapsuleShopOdds12': + toadyCapsuleShopOdds12 += (100 - toadyCapsuleShopOdds12) - warpCapsulePrice7 = warpCapsulePrice7.get() - warpCapsuleWeight7 = warpCapsuleWeight7.get() + if shopOdds12Max == 'mrBlizzardCapsuleShopOdds12': + mrBlizzardCapsuleShopOdds12 += (100 - mrBlizzardCapsuleShopOdds12) - bombCapsulePrice7 = bombCapsulePrice7.get() - bombCapsuleWeight7 = bombCapsuleWeight7.get() + if shopOdds12Max == 'banditCapsuleShopOdds12': + banditCapsuleShopOdds12 += (100 - banditCapsuleShopOdds12) - fireballCapsulePrice7 = fireballCapsulePrice7.get() - fireballCapsuleWeight7 = fireballCapsuleWeight7.get() + if shopOdds12Max == 'pinkBooCapsuleShopOdds12': + pinkBooCapsuleShopOdds12 += (100 - pinkBooCapsuleShopOdds12) - flowerCapsulePrice7 = flowerCapsulePrice7.get() - flowerCapsuleWeight7 = flowerCapsuleWeight7.get() + if shopOdds12Max == 'spinyCapsuleShopOdds12': + spinyCapsuleShopOdds12 += (100 - spinyCapsuleShopOdds12) - eggCapsulePrice7 = eggCapsulePrice7.get() - eggCapsuleWeight7 = eggCapsuleWeight7.get() + if shopOdds12Max == 'zapCapsuleShopOdds12': + zapCapsuleShopOdds12 += (100 - zapCapsuleShopOdds12) - vacuumCapsulePrice7 = vacuumCapsulePrice7.get() - vacuumCapsuleWeight7 = vacuumCapsuleWeight7.get() + if shopOdds12Max == 'tweesterCapsuleShopOdds12': + tweesterCapsuleShopOdds12 += (100 - tweesterCapsuleShopOdds12) - magicCapsulePrice7 = magicCapsulePrice7.get() - magicCapsuleWeight7 = magicCapsuleWeight7.get() + if shopOdds12Max == 'thwompCapsuleShopOdds12': + thwompCapsuleShopOdds12 += (100 - thwompCapsuleShopOdds12) - tripleCapsulePrice7 = tripleCapsulePrice7.get() - tripleCapsuleWeight7 = tripleCapsuleWeight7.get() + if shopOdds12Max == 'warpCapsuleShopOdds12': + warpCapsuleShopOdds12 += (100 - warpCapsuleShopOdds12) - koopaCapsulePrice7 = koopaCapsulePrice7.get() - koopaCapsuleWeight7 = koopaCapsuleWeight7.get() + if shopOdds12Max == 'bombCapsuleShopOdds12': + bombCapsuleShopOdds12 += (100 - bombCapsuleShopOdds12) - try: - orbBagCapsulePrice7 = orbBagCapsulePrice7.get() - except: - orbBagCapsulePrice7 = 00 + if shopOdds12Max == 'fireballCapsuleShopOdds12': + fireballCapsuleShopOdds12 += (100 - fireballCapsuleShopOdds12) - try: - orbBagCapsuleWeight7 = orbBagCapsuleWeight7.get() - except: - orbBagCapsuleWeight7 = 00 + if shopOdds12Max == 'flowerCapsuleShopOdds12': + flowerCapsuleShopOdds12 += (100 - flowerCapsuleShopOdds12) - try: - dkCapsulePrice7 = dkCapsulePrice7.get() - except: - dkCapsulePrice7 = 00 + if shopOdds12Max == 'eggCapsuleShopOdds12': + eggCapsuleShopOdds12 += (100 - eggCapsuleShopOdds12) - try: - dkCapsuleWeight7 = dkCapsuleWeight7.get() - except: - dkCapsuleWeight7 = 00 + if shopOdds12Max == 'vacuumCapsuleShopOdds12': + vacuumCapsuleShopOdds12 += (100 - vacuumCapsuleShopOdds12) - try: - posionMushroomPrice7 = posionMushroomPrice7.get() - except: - posionMushroomPrice7 = 00 + if shopOdds12Max == 'magicCapsuleShopOdds12': + magicCapsuleShopOdds12 += (100 - magicCapsuleShopOdds12) - try: - posionMushroomWeight7 = posionMushroomWeight7.get() - except: - posionMushroomWeight7 = 00 + if shopOdds12Max == 'tripleCapsuleShopOdds12': + tripleCapsuleShopOdds12 += (100 - tripleCapsuleShopOdds12) - try: - duelCapsulePrice7 = duelCapsulePrice7.get() - except: - duelCapsulePrice7 = 00 + if shopOdds12Max == 'koopaCapsuleShopOdds12': + koopaCapsuleShopOdds12 += (100 - koopaCapsuleShopOdds12) - try: - duelCapsuleWeight7 = duelCapsuleWeight7.get() - except: - duelCapsuleWeight7 = 00 + if shopOdds12Max == 'mysteryCapsuleShopOdds12': + mysteryCapsuleShopOdds12 += (100 - mysteryCapsuleShopOdds12) - try: - mysteryCapsulePrice7 = mysteryCapsulePrice7.get() - except: - mysteryCapsulePrice7 = 00 + if shopOdds12Max == 'duelCapsuleShopOdds12': + duelCapsuleShopOdds12 += (100 - duelCapsuleShopOdds12) - try: - mysteryCapsuleWeight7 = mysteryCapsuleWeight7.get() - except: - mysteryCapsuleWeight7 = 00 - - orbWeightTotal = int(mushroomCapsuleWeight7) + int(goldenMushroomCapsuleWeight7) + int(metalMushroomCapsuleWeight7) + int(slowMushroomCapsuleWeight7) + int(flutterCapsuleWeight7) + int(cannonCapsuleWeight7) + int(snackCapsuleWeight7) + int(lakituCapsuleWeight7) + int(hammerBroCapsuleWeight7) + int(plantCapsuleWeight7) + int(spearCapsuleWeight7) + int(kamekCapsuleWeight7) + int(toadyCapsuleWeight7) + int(blizzardCapsuleWeight7) + int(banditCapsuleWeight7) + int(pinkBooCapsuleWeight7) + int(spinyCapsuleWeight7) + int(zapCapsuleWeight7) + int(tweesterCapsuleWeight7) + int(thwompCapsuleWeight7) + int(warpCapsuleWeight7) + int(bombCapsuleWeight7) + int(fireballCapsuleWeight7) + int(flowerCapsuleWeight7) + int(eggCapsuleWeight7) + int(vacuumCapsuleWeight7) + int(magicCapsuleWeight7) + int(tripleCapsuleWeight7) + int(koopaCapsuleWeight7) + int(mysteryCapsuleWeight7) + int(duelCapsuleWeight7) + int(dkCapsuleWeight7) + int(mysteryCapsuleWeight7) + int(orbBagCapsuleWeight7) + if shopOdds12Max == 'dkCapsuleShopOdds12': + dkCapsuleShopOdds12 += (100 - dkCapsuleShopOdds12) - def calculateWeight(weight): - if orbWeightTotal < 100: - percentage = int(weight) - return percentage - else: - percentage = (int(weight) / orbWeightTotal) * 100 - if 0< percentage < 1: - return math.ceil(percentage) - return round(percentage) - - mushroomCapsuleWeight7 = calculateWeight(mushroomCapsuleWeight7) - goldenMushroomCapsuleWeight7 = calculateWeight(goldenMushroomCapsuleWeight7) - metalMushroomCapsuleWeight7 = calculateWeight(metalMushroomCapsuleWeight7) - slowMushroomCapsuleWeight7 = calculateWeight(slowMushroomCapsuleWeight7) - flutterCapsuleWeight7 = calculateWeight(flutterCapsuleWeight7) - cannonCapsuleWeight7 = calculateWeight(cannonCapsuleWeight7) - snackCapsuleWeight7 = calculateWeight(snackCapsuleWeight7) - lakituCapsuleWeight7 = calculateWeight(lakituCapsuleWeight7) - hammerBroCapsuleWeight7 = calculateWeight(hammerBroCapsuleWeight7) - plantCapsuleWeight7 = calculateWeight(plantCapsuleWeight7) - spearCapsuleWeight7 = calculateWeight(spearCapsuleWeight7) - kamekCapsuleWeight7 = calculateWeight(kamekCapsuleWeight7) - toadyCapsuleWeight7 = calculateWeight(toadyCapsuleWeight7) - blizzardCapsuleWeight7 = calculateWeight(blizzardCapsuleWeight7) - banditCapsuleWeight7 = calculateWeight(banditCapsuleWeight7) - pinkBooCapsuleWeight7 = calculateWeight(pinkBooCapsuleWeight7) - spinyCapsuleWeight7 = calculateWeight(spinyCapsuleWeight7) - zapCapsuleWeight7 = calculateWeight(zapCapsuleWeight7) - tweesterCapsuleWeight7 = calculateWeight(tweesterCapsuleWeight7) - thwompCapsuleWeight7 = calculateWeight(thwompCapsuleWeight7) - warpCapsuleWeight7 = calculateWeight(warpCapsuleWeight7) - bombCapsuleWeight7 = calculateWeight(bombCapsuleWeight7) - fireballCapsuleWeight7 = calculateWeight(fireballCapsuleWeight7) - flowerCapsuleWeight7 = calculateWeight(flowerCapsuleWeight7) - eggCapsuleWeight7 = calculateWeight(eggCapsuleWeight7) - vacuumCapsuleWeight7 = calculateWeight(vacuumCapsuleWeight7) - magicCapsuleWeight7 = calculateWeight(magicCapsuleWeight7) - tripleCapsuleWeight7 = calculateWeight(tripleCapsuleWeight7) - orbBagCapsuleWeight7 = calculateWeight(orbBagCapsuleWeight7) - posionMushroomWeight7 = calculateWeight(posionMushroomWeight7) - dkCapsuleWeight7 = calculateWeight(dkCapsuleWeight7) - duelCapsuleWeight7 = calculateWeight(duelCapsuleWeight7) - mysteryCapsuleWeight7 = calculateWeight(mysteryCapsuleWeight7) - koopaCapsuleWeight7 = calculateWeight(koopaCapsuleWeight7) - - orbWeightTotal = mushroomCapsuleWeight7 + goldenMushroomCapsuleWeight7 + metalMushroomCapsuleWeight7 + slowMushroomCapsuleWeight7 + flutterCapsuleWeight7 + cannonCapsuleWeight7 + snackCapsuleWeight7 + lakituCapsuleWeight7 + hammerBroCapsuleWeight7 + plantCapsuleWeight7 + spearCapsuleWeight7 + kamekCapsuleWeight7 + toadyCapsuleWeight7 + blizzardCapsuleWeight7 + banditCapsuleWeight7 + pinkBooCapsuleWeight7 + spinyCapsuleWeight7 + zapCapsuleWeight7 + tweesterCapsuleWeight7 + thwompCapsuleWeight7 + warpCapsuleWeight7 + bombCapsuleWeight7 + fireballCapsuleWeight7 + flowerCapsuleWeight7 + eggCapsuleWeight7 + vacuumCapsuleWeight7 + magicCapsuleWeight7 + tripleCapsuleWeight7 + koopaCapsuleWeight7 + mysteryCapsuleWeight7 + duelCapsuleWeight7 + dkCapsuleWeight7 + orbBagCapsuleWeight7 + posionMushroomWeight7 - - if orbWeightTotal < 100: - var_names = ['mushroomCapsuleWeight7', 'goldenMushroomCapsuleWeight7', 'metalMushroomCapsuleWeight7', 'slowMushroomCapsuleWeight7', 'flutterCapsuleWeight7', 'cannonCapsuleWeight7', 'snackCapsuleWeight7', 'lakituCapsuleWeight7', 'hammerBroCapsuleWeight7', 'plantCapsuleWeight7', 'spearCapsuleWeight7', 'kamekCapsuleWeight7', 'toadyCapsuleWeight7', 'blizzardCapsuleWeight7', 'banditCapsuleWeight7', 'pinkBooCapsuleWeight7', 'spinyCapsuleWeight7', 'zapCapsuleWeight7', 'tweesterCapsuleWeight7', 'thwompCapsuleWeight7', 'warpCapsuleWeight7', 'bombCapsuleWeight7', 'fireballCapsuleWeight7', 'flowerCapsuleWeight7', 'eggCapsuleWeight7', 'vacuumCapsuleWeight7', 'magicCapsuleWeight7', 'tripleCapsuleWeight7', 'koopaCapsuleWeight7', 'mysteryCapsuleWeight7', 'duelCapsuleWeight7', 'dkCapsuleWeight7', 'orbBagCapsuleWeight7', 'posionMushroomWeight7'] - max_var = max(zip(var_names, (map(eval, var_names))), key=lambda tuple: tuple[1])[0] + if shopOdds12Max == 'orbBagCapsuleShopOdds12': + orbBagCapsuleShopOdds12 += (100 - orbBagCapsuleShopOdds12) - if max_var == 'mushroomCapsuleWeight7': - mushroomCapsuleWeight7 += (100 - orbWeightTotal) + if shopOdds34Max == 'mushroomCapsuleShopOdds34': + mushroomCapsuleShopOdds34 += (100 - mushroomCapsuleShopOdds34) - if max_var == 'goldenMushroomCapsuleWeight7': - goldenMushroomCapsuleWeight7 += (100 - orbWeightTotal) + if shopOdds34Max == 'goldenMushroomCapsuleShopOdds34': + goldenMushroomCapsuleShopOdds34 += (100 - goldenMushroomCapsuleShopOdds34) - if max_var == 'metalMushroomCapsuleWeight7': - metalMushroomCapsuleWeight7 += (100 - orbWeightTotal) + if shopOdds34Max == 'metalMushroomCapsuleShopOdds34': + metalMushroomCapsuleShopOdds34 += (100 - metalMushroomCapsuleShopOdds34) - if max_var == 'slowMushroomCapsuleWeight7': - slowMushroomCapsuleWeight7 += (100 - orbWeightTotal) + if shopOdds34Max == 'slowMushroomCapsuleShopOdds34': + slowMushroomCapsuleShopOdds34 += (100 - slowMushroomCapsuleShopOdds34) - if max_var == 'flutterCapsuleWeight7': - flutterCapsuleWeight7 += (100 - orbWeightTotal) + if shopOdds34Max == 'flutterCapsuleShopOdds34': + flutterCapsuleShopOdds34 += (100 - flutterCapsuleShopOdds34) - if max_var == 'cannonCapsuleWeight7': - cannonCapsuleWeight7 += (100 - orbWeightTotal) + if shopOdds34Max == 'cannonCapsuleShopOdds34': + cannonCapsuleShopOdds34 += (100 - cannonCapsuleShopOdds34) - if max_var == 'snackCapsuleWeight7': - snackCapsuleWeight7 += (100 - orbWeightTotal) + if shopOdds34Max == 'snackCapsuleShopOdds34': + snackCapsuleShopOdds34 += (100 - snackCapsuleShopOdds34) - if max_var == 'lakituCapsuleWeight7': - lakituCapsuleWeight7 += (100 - orbWeightTotal) + if shopOdds34Max == 'lakituCapsuleShopOdds34': + lakituCapsuleShopOdds34 += (100 - lakituCapsuleShopOdds34) - if max_var == 'hammerBroCapsuleWeight7': - hammerBroCapsuleWeight7 += (100 - orbWeightTotal) + if shopOdds34Max == 'hammerBroCapsuleShopOdds34': + hammerBroCapsuleShopOdds34 += (100 - hammerBroCapsuleShopOdds34) - if max_var == 'plantCapsuleWeight7': - plantCapsuleWeight7 += (100 - orbWeightTotal) + if shopOdds34Max == 'piranhaPlantCapsuleShopOdds34': + piranhaPlantCapsuleShopOdds34 += (100 - piranhaPlantCapsuleShopOdds34) - if max_var == 'spearCapsuleWeight7': - spearCapsuleWeight7 += (100 - orbWeightTotal) + if shopOdds34Max == 'spearGuyCapsuleShopOdds34': + spearGuyCapsuleShopOdds34 += (100 - spearGuyCapsuleShopOdds34) - if max_var == 'kamekCapsuleWeight7': - kamekCapsuleWeight7 += (100 - orbWeightTotal) + if shopOdds34Max == 'kamekCapsuleShopOdds34': + kamekCapsuleShopOdds34 += (100 - kamekCapsuleShopOdds34) - if max_var == 'toadyCapsuleWeight7': - toadyCapsuleWeight7 += (100 - orbWeightTotal) + if shopOdds34Max == 'toadyCapsuleShopOdds34': + toadyCapsuleShopOdds34 += (100 - toadyCapsuleShopOdds34) - if max_var == 'blizzardCapsuleWeight7': - blizzardCapsuleWeight7 += (100 - orbWeightTotal) + if shopOdds34Max == 'mrBlizzardCapsuleShopOdds34': + mrBlizzardCapsuleShopOdds34 += (100 - mrBlizzardCapsuleShopOdds34) - if max_var == 'banditCapsuleWeight7': - banditCapsuleWeight7 += (100 - orbWeightTotal) - - if max_var == 'pinkBooCapsuleWeight7': - pinkBooCapsuleWeight7 += (100 - orbWeightTotal) - - if max_var == 'spinyCapsuleWeight7': - spinyCapsuleWeight7 += (100 - orbWeightTotal) - - if max_var == 'zapCapsuleWeight7': - zapCapsuleWeight7 += (100 - orbWeightTotal) - - if max_var == 'tweesterCapsuleWeight7': - tweesterCapsuleWeight7 += (100 - orbWeightTotal) - - if max_var == 'thwompCapsuleWeight7': - thwompCapsuleWeight7 += (100 - orbWeightTotal) - - if max_var == 'warpCapsuleWeight7': - warpCapsuleWeight7 += (100 - orbWeightTotal) - - if max_var == 'bombCapsuleWeight7': - bombCapsuleWeight7 += (100 - orbWeightTotal) - - if max_var == 'fireballCapsuleWeight7': - fireballCapsuleWeight7 += (100 - orbWeightTotal) - - if max_var == 'flowerCapsuleWeight7': - flowerCapsuleWeight7 += (100 - orbWeightTotal) - - if max_var == 'eggCapsuleWeight7': - eggCapsuleWeight7 += (100 - orbWeightTotal) - - if max_var == 'vacuumCapsuleWeight7': - vacuumCapsuleWeight7 += (100 - orbWeightTotal) - - if max_var == 'magicCapsuleWeight7': - magicCapsuleWeight7 += (100 - orbWeightTotal) - - if max_var == 'tripleCapsuleWeight7': - tripleCapsuleWeight7 += (100 - orbWeightTotal) - - if max_var == 'koopaCapsuleWeight7': - koopaCapsuleWeight7 += (100 - orbWeightTotal) - - if max_var == 'duelCapsuleWeight7': - duelCapsuleWeight7 += (100 - orbWeightTotal) - - if max_var == 'dkCapsuleWeight7': - dkCapsuleWeight7 += (100 - orbWeightTotal) - - if max_var == 'posionMushroomWeight7': - posionMushroomWeight7 += (100 - orbWeightTotal) - - if max_var == 'mysteryCapsuleWeight7': - mysteryCapsuleWeight7 += (100 - orbWeightTotal) - - if max_var == 'orbBagCapsuleWeight7': - orbBagCapsuleWeight7 += (100 - orbWeightTotal) - - mushroomCapsuleWeight7 = str(mushroomCapsuleWeight7) - goldenMushroomCapsuleWeight7 = str(goldenMushroomCapsuleWeight7) - metalMushroomCapsuleWeight7 = str(metalMushroomCapsuleWeight7) - slowMushroomCapsuleWeight7 = str(slowMushroomCapsuleWeight7) - flutterCapsuleWeight7 = str(flutterCapsuleWeight7) - cannonCapsuleWeight7 = str(cannonCapsuleWeight7) - snackCapsuleWeight7 = str(snackCapsuleWeight7) - lakituCapsuleWeight7 = str(lakituCapsuleWeight7) - hammerBroCapsuleWeight7 = str(hammerBroCapsuleWeight7) - plantCapsuleWeight7 = str(plantCapsuleWeight7) - spearCapsuleWeight7 = str(spearCapsuleWeight7) - kamekCapsuleWeight7 = str(kamekCapsuleWeight7) - toadyCapsuleWeight7 = str(toadyCapsuleWeight7) - blizzardCapsuleWeight7 = str(blizzardCapsuleWeight7) - banditCapsuleWeight7 = str(banditCapsuleWeight7) - pinkBooCapsuleWeight7 = str(pinkBooCapsuleWeight7) - spinyCapsuleWeight7 = str(spinyCapsuleWeight7) - zapCapsuleWeight7 = str(zapCapsuleWeight7) - tweesterCapsuleWeight7 = str(tweesterCapsuleWeight7) - thwompCapsuleWeight7 = str(thwompCapsuleWeight7) - warpCapsuleWeight7 = str(warpCapsuleWeight7) - bombCapsuleWeight7 = str(bombCapsuleWeight7) - fireballCapsuleWeight7 = str(fireballCapsuleWeight7) - flowerCapsuleWeight7 = str(flowerCapsuleWeight7) - eggCapsuleWeight7 = str(eggCapsuleWeight7) - vacuumCapsuleWeight7 = str(vacuumCapsuleWeight7) - magicCapsuleWeight7 = str(magicCapsuleWeight7) - tripleCapsuleWeight7 = str(tripleCapsuleWeight7) - koopaCapsuleWeight7 = str(koopaCapsuleWeight7) - duelCapsuleWeight7 = str(duelCapsuleWeight7) - dkCapsuleWeight7 = str(dkCapsuleWeight7) - posionMushroomWeight7 = str(posionMushroomWeight7) - mysteryCapsuleWeight7 = str(mysteryCapsuleWeight7) - orbBagCapsuleWeight7 = str(orbBagCapsuleWeight7) - - try: - mushroomCapsuleWeight7 = hex(int(mushroomCapsuleWeight7)) - if len(mushroomCapsuleWeight7) == 4: - mushroomCapsuleWeight7 = mushroomCapsuleWeight7[2:] - elif len(mushroomCapsuleWeight7) == 3: - mushroomCapsuleWeight7 = "0" + mushroomCapsuleWeight7[2:] - except: - mushroomCapsuleWeight7 = "00" - - try: - goldenMushroomCapsuleWeight7 = hex(int(goldenMushroomCapsuleWeight7)) - if len(goldenMushroomCapsuleWeight7) == 4: - goldenMushroomCapsuleWeight7 = goldenMushroomCapsuleWeight7[2:] - elif len(goldenMushroomCapsuleWeight7) == 3: - goldenMushroomCapsuleWeight7 = "0" + goldenMushroomCapsuleWeight7[2:] - except: - goldenMushroomCapsuleWeight7 = "00" - - try: - goldenMushroomCapsulePrice7 = hex(int(goldenMushroomCapsulePrice7)) - if len(goldenMushroomCapsulePrice7) == 4: - goldenMushroomCapsulePrice7 = goldenMushroomCapsulePrice7[2:] - elif len(goldenMushroomCapsulePrice7) == 3: - goldenMushroomCapsulePrice7 = "0" + goldenMushroomCapsulePrice7[2:] - except: - goldenMushroomCapsulePrice7 = "00" - - try: - slowMushroomCapsuleWeight7 = hex(int(slowMushroomCapsuleWeight7)) - if len(slowMushroomCapsuleWeight7) == 4: - slowMushroomCapsuleWeight7 = slowMushroomCapsuleWeight7[2:] - elif len(slowMushroomCapsuleWeight7) == 3: - slowMushroomCapsuleWeight7 = "0" + slowMushroomCapsuleWeight7[2:] - except: - slowMushroomCapsuleWeight7 = "00" - - try: - slowMushroomCapsulePrice7 = hex(int(slowMushroomCapsulePrice7)) - if len(slowMushroomCapsulePrice7) == 4: - slowMushroomCapsulePrice7 = slowMushroomCapsulePrice7[2:] - elif len(slowMushroomCapsulePrice7) == 3: - slowMushroomCapsulePrice7 = "0" + slowMushroomCapsulePrice7[2:] - except: - slowMushroomCapsulePrice7 = "00" - - try: - metalMushroomCapsuleWeight7 = hex(int(metalMushroomCapsuleWeight7)) - if len(metalMushroomCapsuleWeight7) == 4: - metalMushroomCapsuleWeight7 = metalMushroomCapsuleWeight7[2:] - elif len(metalMushroomCapsuleWeight7) == 3: - metalMushroomCapsuleWeight7 = "0" + metalMushroomCapsuleWeight7[2:] - except: - metalMushroomCapsuleWeight7 = "00" - - try: - metalMushroomCapsulePrice7 = hex(int(metalMushroomCapsulePrice7)) - if len(metalMushroomCapsulePrice7) == 4: - metalMushroomCapsulePrice7 = metalMushroomCapsulePrice7[2:] - elif len(metalMushroomCapsulePrice7) == 3: - metalMushroomCapsulePrice7 = "0" + metalMushroomCapsulePrice7[2:] - except: - metalMushroomCapsulePrice7 = "00" - - try: - flutterCapsuleWeight7 = hex(int(flutterCapsuleWeight7)) - if len(flutterCapsuleWeight7) == 4: - flutterCapsuleWeight7 = flutterCapsuleWeight7[2:] - elif len(flutterCapsuleWeight7) == 3: - flutterCapsuleWeight7 = "0" + flutterCapsuleWeight7[2:] - except: - flutterCapsuleWeight7 = "00" - - try: - flutterCapsulePrice7 = hex(int(flutterCapsulePrice7)) - if len(flutterCapsulePrice7) == 4: - flutterCapsulePrice7 = flutterCapsulePrice7[2:] - elif len(flutterCapsulePrice7) == 3: - flutterCapsulePrice7 = "0" + flutterCapsulePrice7[2:] - except: - flutterCapsulePrice7 = "00" - - try: - cannonCapsuleWeight7 = hex(int(cannonCapsuleWeight7)) - if len(cannonCapsuleWeight7) == 4: - cannonCapsuleWeight7 = cannonCapsuleWeight7[2:] - elif len(cannonCapsuleWeight7) == 3: - cannonCapsuleWeight7 = "0" + cannonCapsuleWeight7[2:] - except: - cannonCapsuleWeight7 = "00" - - try: - cannonCapsulePrice7 = hex(int(cannonCapsulePrice7)) - if len(cannonCapsulePrice7) == 4: - cannonCapsulePrice7 = cannonCapsulePrice7[2:] - elif len(cannonCapsulePrice7) == 3: - cannonCapsulePrice7 = "0" + cannonCapsulePrice7[2:] - except: - cannonCapsulePrice7 = "00" - - try: - snackCapsuleWeight7 = hex(int(snackCapsuleWeight7)) - if len(snackCapsuleWeight7) == 4: - snackCapsuleWeight7 = snackCapsuleWeight7[2:] - elif len(snackCapsuleWeight7) == 3: - snackCapsuleWeight7 = "0" + snackCapsuleWeight7[2:] - except: - snackCapsuleWeight7 = "00" - - try: - snackCapsulePrice7 = hex(int(snackCapsulePrice7)) - if len(snackCapsulePrice7) == 4: - snackCapsulePrice7 = snackCapsulePrice7[2:] - elif len(snackCapsulePrice7) == 3: - snackCapsulePrice7 = "0" + snackCapsulePrice7[2:] - except: - snackCapsulePrice7 = "00" - - try: - lakituCapsuleWeight7 = hex(int(lakituCapsuleWeight7)) - if len(lakituCapsuleWeight7) == 4: - lakituCapsuleWeight7 = lakituCapsuleWeight7[2:] - elif len(lakituCapsuleWeight7) == 3: - lakituCapsuleWeight7 = "0" + lakituCapsuleWeight7[2:] - except: - lakituCapsuleWeight7 = "00" - - try: - lakituCapsulePrice7 = hex(int(lakituCapsulePrice7)) - if len(lakituCapsulePrice7) == 4: - lakituCapsulePrice7 = lakituCapsulePrice7[2:] - elif len(lakituCapsulePrice7) == 3: - lakituCapsulePrice7 = "0" + lakituCapsulePrice7[2:] - except: - lakituCapsulePrice7 = "00" - - try: - hammerBroCapsuleWeight7 = hex(int(hammerBroCapsuleWeight7)) - if len(hammerBroCapsuleWeight7) == 4: - hammerBroCapsuleWeight7 = hammerBroCapsuleWeight7[2:] - elif len(hammerBroCapsuleWeight7) == 3: - hammerBroCapsuleWeight7 = "0" + hammerBroCapsuleWeight7[2:] - except: - hammerBroCapsuleWeight7 = "00" - - try: - hammerBroCapsulePrice7 = hex(int(hammerBroCapsulePrice7)) - if len(hammerBroCapsulePrice7) == 4: - hammerBroCapsulePrice7 = hammerBroCapsulePrice7[2:] - elif len(hammerBroCapsulePrice7) == 3: - hammerBroCapsulePrice7 = "0" + hammerBroCapsulePrice7[2:] - except: - hammerBroCapsulePrice7 = "00" - - try: - plantCapsuleWeight7 = hex(int(plantCapsuleWeight7)) - if len(plantCapsuleWeight7) == 4: - plantCapsuleWeight7 = plantCapsuleWeight7[2:] - elif len(plantCapsuleWeight7) == 3: - plantCapsuleWeight7 = "0" + plantCapsuleWeight7[2:] - except: - plantCapsuleWeight7 = "00" - - try: - plantCapsulePrice7 = hex(int(plantCapsulePrice7)) - if len(plantCapsulePrice7) == 4: - plantCapsulePrice7 = plantCapsulePrice7[2:] - elif len(plantCapsulePrice7) == 3: - plantCapsulePrice7 = "0" + plantCapsulePrice7[2:] - except: - plantCapsulePrice7 = "00" - - try: - spearCapsuleWeight7 = hex(int(spearCapsuleWeight7)) - if len(spearCapsuleWeight7) == 4: - spearCapsuleWeight7 = spearCapsuleWeight7[2:] - elif len(spearCapsuleWeight7) == 3: - spearCapsuleWeight7 = "0" + spearCapsuleWeight7[2:] - except: - spearCapsuleWeight7 = "00" - - try: - spearCapsulePrice7 = hex(int(spearCapsulePrice7)) - if len(spearCapsulePrice7) == 4: - spearCapsulePrice7 = spearCapsulePrice7[2:] - elif len(spearCapsulePrice7) == 3: - spearCapsulePrice7 = "0" + spearCapsulePrice7[2:] - except: - spearCapsulePrice7 = "00" - - try: - kamekCapsuleWeight7 = hex(int(kamekCapsuleWeight7)) - if len(kamekCapsuleWeight7) == 4: - kamekCapsuleWeight7 = kamekCapsuleWeight7[2:] - elif len(kamekCapsuleWeight7) == 3: - kamekCapsuleWeight7 = "0" + kamekCapsuleWeight7[2:] - except: - kamekCapsuleWeight7 = "00" - - try: - kamekCapsulePrice7 = hex(int(kamekCapsulePrice7)) - if len(kamekCapsulePrice7) == 4: - kamekCapsulePrice7 = kamekCapsulePrice7[2:] - elif len(kamekCapsulePrice7) == 3: - kamekCapsulePrice7 = "0" + kamekCapsulePrice7[2:] - except: - kamekCapsulePrice7 = "00" - - try: - toadyCapsuleWeight7 = hex(int(toadyCapsuleWeight7)) - if len(toadyCapsuleWeight7) == 4: - toadyCapsuleWeight7 = toadyCapsuleWeight7[2:] - elif len(toadyCapsuleWeight7) == 3: - toadyCapsuleWeight7 = "0" + toadyCapsuleWeight7[2:] - except: - toadyCapsuleWeight7 = "00" - - try: - toadyCapsulePrice7 = hex(int(toadyCapsulePrice7)) - if len(toadyCapsulePrice7) == 4: - toadyCapsulePrice7 = toadyCapsulePrice7[2:] - elif len(toadyCapsulePrice7) == 3: - toadyCapsulePrice7 = "0" + toadyCapsulePrice7[2:] - except: - toadyCapsulePrice7 = "00" - - try: - blizzardCapsuleWeight7 = hex(int(blizzardCapsuleWeight7)) - if len(blizzardCapsuleWeight7) == 4: - blizzardCapsuleWeight7 = blizzardCapsuleWeight7[2:] - elif len(blizzardCapsuleWeight7) == 3: - blizzardCapsuleWeight7 = "0" + blizzardCapsuleWeight7[2:] - except: - blizzardCapsuleWeight7 = "00" - - try: - blizzardCapsulePrice7 = hex(int(blizzardCapsulePrice7)) - if len(blizzardCapsulePrice7) == 4: - blizzardCapsulePrice7 = blizzardCapsulePrice7[2:] - elif len(blizzardCapsulePrice7) == 3: - blizzardCapsulePrice7 = "0" + blizzardCapsulePrice7[2:] - except: - blizzardCapsulePrice7 = "00" - - try: - banditCapsuleWeight7 = hex(int(banditCapsuleWeight7)) - if len(banditCapsuleWeight7) == 4: - banditCapsuleWeight7 = banditCapsuleWeight7[2:] - elif len(banditCapsuleWeight7) == 3: - banditCapsuleWeight7 = "0" + banditCapsuleWeight7[2:] - except: - banditCapsuleWeight7 = "00" - - try: - banditCapsulePrice7 = hex(int(banditCapsulePrice7)) - if len(banditCapsulePrice7) == 4: - banditCapsulePrice7 = banditCapsulePrice7[2:] - elif len(banditCapsulePrice7) == 3: - banditCapsulePrice7 = "0" + banditCapsulePrice7[2:] - except: - banditCapsulePrice7 = "00" - - try: - pinkBooCapsuleWeight7 = hex(int(pinkBooCapsuleWeight7)) - if len(pinkBooCapsuleWeight7) == 4: - pinkBooCapsuleWeight7 = pinkBooCapsuleWeight7[2:] - elif len(pinkBooCapsuleWeight7) == 3: - pinkBooCapsuleWeight7 = "0" + pinkBooCapsuleWeight7[2:] - except: - pinkBooCapsuleWeight7 = "00" - - try: - pinkBooCapsulePrice7 = hex(int(pinkBooCapsulePrice7)) - if len(pinkBooCapsulePrice7) == 4: - pinkBooCapsulePrice7 = pinkBooCapsulePrice7[2:] - elif len(pinkBooCapsulePrice7) == 3: - pinkBooCapsulePrice7 = "0" + pinkBooCapsulePrice7[2:] - except: - pinkBooCapsulePrice7 = "00" - - try: - spinyCapsuleWeight7 = hex(int(spinyCapsuleWeight7)) - if len(spinyCapsuleWeight7) == 4: - spinyCapsuleWeight7 = spinyCapsuleWeight7[2:] - elif len(spinyCapsuleWeight7) == 3: - spinyCapsuleWeight7 = "0" + spinyCapsuleWeight7[2:] - except: - spinyCapsuleWeight7 = "00" - - try: - spinyCapsulePrice7 = hex(int(spinyCapsulePrice7)) - if len(spinyCapsulePrice7) == 4: - spinyCapsulePrice7 = spinyCapsulePrice7[2:] - elif len(spinyCapsulePrice7) == 3: - spinyCapsulePrice7 = "0" + spinyCapsulePrice7[2:] - except: - spinyCapsulePrice7 = "00" - - try: - zapCapsuleWeight7 = hex(int(zapCapsuleWeight7)) - if len(zapCapsuleWeight7) == 4: - zapCapsuleWeight7 = zapCapsuleWeight7[2:] - elif len(zapCapsuleWeight7) == 3: - zapCapsuleWeight7 = "0" + zapCapsuleWeight7[2:] - except: - zapCapsuleWeight7 = "00" - - try: - zapCapsulePrice7 = hex(int(zapCapsulePrice7)) - if len(zapCapsulePrice7) == 4: - zapCapsulePrice7 = zapCapsulePrice7[2:] - elif len(zapCapsulePrice7) == 3: - zapCapsulePrice7 = "0" + zapCapsulePrice7[2:] - except: - zapCapsulePrice7 = "00" - - try: - tweesterCapsuleWeight7 = hex(int(tweesterCapsuleWeight7)) - if len(tweesterCapsuleWeight7) == 4: - tweesterCapsuleWeight7 = tweesterCapsuleWeight7[2:] - elif len(tweesterCapsuleWeight7) == 3: - tweesterCapsuleWeight7 = "0" + tweesterCapsuleWeight7[2:] - except: - tweesterCapsuleWeight7 = "00" - - try: - tweesterCapsulePrice7 = hex(int(tweesterCapsulePrice7)) - if len(tweesterCapsulePrice7) == 4: - tweesterCapsulePrice7 = tweesterCapsulePrice7[2:] - elif len(tweesterCapsulePrice7) == 3: - tweesterCapsulePrice7 = "0" + tweesterCapsulePrice7[2:] - except: - tweesterCapsulePrice7 = "00" - - try: - thwompCapsuleWeight7 = hex(int(thwompCapsuleWeight7)) - if len(thwompCapsuleWeight7) == 4: - thwompCapsuleWeight7 = thwompCapsuleWeight7[2:] - elif len(thwompCapsuleWeight7) == 3: - thwompCapsuleWeight7 = "0" + thwompCapsuleWeight7[2:] - except: - thwompCapsuleWeight7 = "00" - - try: - thwompCapsulePrice7 = hex(int(thwompCapsulePrice7)) - if len(thwompCapsulePrice7) == 4: - thwompCapsulePrice7 = thwompCapsulePrice7[2:] - elif len(thwompCapsulePrice7) == 3: - thwompCapsulePrice7 = "0" + thwompCapsulePrice7[2:] - except: - thwompCapsulePrice7 = "00" - - - try: - warpCapsuleWeight7 = hex(int(warpCapsuleWeight7)) - if len(warpCapsuleWeight7) == 4: - warpCapsuleWeight7 = warpCapsuleWeight7[2:] - elif len(warpCapsuleWeight7) == 3: - warpCapsuleWeight7 = "0" + warpCapsuleWeight7[2:] - except: - warpCapsuleWeight7 = "00" - - try: - warpCapsulePrice7 = hex(int(warpCapsulePrice7)) - if len(warpCapsulePrice7) == 4: - warpCapsulePrice7 = warpCapsulePrice7[2:] - elif len(warpCapsulePrice7) == 3: - warpCapsulePrice7 = "0" + warpCapsulePrice7[2:] - except: - warpCapsulePrice7 = "00" - - try: - bombCapsuleWeight7 = hex(int(bombCapsuleWeight7)) - if len(bombCapsuleWeight7) == 4: - bombCapsuleWeight7 = bombCapsuleWeight7[2:] - elif len(bombCapsuleWeight7) == 3: - bombCapsuleWeight7 = "0" + bombCapsuleWeight7[2:] - except: - bombCapsuleWeight7 = "00" - - try: - bombCapsulePrice7 = hex(int(bombCapsulePrice7)) - if len(bombCapsulePrice7) == 4: - bombCapsulePrice7 = bombCapsulePrice7[2:] - elif len(bombCapsulePrice7) == 3: - bombCapsulePrice7 = "0" + bombCapsulePrice7[2:] - except: - bombCapsulePrice7 = "00" - - try: - fireballCapsuleWeight7 = hex(int(fireballCapsuleWeight7)) - if len(fireballCapsuleWeight7) == 4: - fireballCapsuleWeight7 = fireballCapsuleWeight7[2:] - elif len(fireballCapsuleWeight7) == 3: - fireballCapsuleWeight7 = "0" + fireballCapsuleWeight7[2:] - except: - fireballCapsuleWeight7 = "00" - - try: - fireballCapsulePrice7 = hex(int(fireballCapsulePrice7)) - if len(fireballCapsulePrice7) == 4: - fireballCapsulePrice7 = fireballCapsulePrice7[2:] - elif len(fireballCapsulePrice7) == 3: - fireballCapsulePrice7 = "0" + fireballCapsulePrice7[2:] - except: - fireballCapsulePrice7 = "00" - - try: - flowerCapsuleWeight7 = hex(int(flowerCapsuleWeight7)) - if len(flowerCapsuleWeight7) == 4: - flowerCapsuleWeight7 = flowerCapsuleWeight7[2:] - elif len(flowerCapsuleWeight7) == 3: - flowerCapsuleWeight7 = "0" + flowerCapsuleWeight7[2:] - except: - flowerCapsuleWeight7 = "00" - - try: - flowerCapsulePrice7 = hex(int(flowerCapsulePrice7)) - if len(flowerCapsulePrice7) == 4: - flowerCapsulePrice7 = flowerCapsulePrice7[2:] - elif len(flowerCapsulePrice7) == 3: - flowerCapsulePrice7 = "0" + flowerCapsulePrice7[2:] - except: - flowerCapsulePrice7 = "00" - - try: - eggCapsuleWeight7 = hex(int(eggCapsuleWeight7)) - if len(eggCapsuleWeight7) == 4: - eggCapsuleWeight7 = eggCapsuleWeight7[2:] - elif len(eggCapsuleWeight7) == 3: - eggCapsuleWeight7 = "0" + eggCapsuleWeight7[2:] - except: - eggCapsuleWeight7 = "00" - - try: - eggCapsulePrice7 = hex(int(eggCapsulePrice7)) - if len(eggCapsulePrice7) == 4: - eggCapsulePrice7 = eggCapsulePrice7[2:] - elif len(eggCapsulePrice7) == 3: - eggCapsulePrice7 = "0" + eggCapsulePrice7[2:] - except: - eggCapsulePrice7 = "00" - - try: - vacuumCapsuleWeight7 = hex(int(vacuumCapsuleWeight7)) - if len(vacuumCapsuleWeight7) == 4: - vacuumCapsuleWeight7 = vacuumCapsuleWeight7[2:] - elif len(vacuumCapsuleWeight7) == 3: - vacuumCapsuleWeight7 = "0" + vacuumCapsuleWeight7[2:] - except: - vacuumCapsuleWeight7 = "00" - - try: - vacuumCapsulePrice7 = hex(int(vacuumCapsulePrice7)) - if len(vacuumCapsulePrice7) == 4: - vacuumCapsulePrice7 = vacuumCapsulePrice7[2:] - elif len(vacuumCapsulePrice7) == 3: - vacuumCapsulePrice7 = "0" + vacuumCapsulePrice7[2:] - except: - vacuumCapsulePrice7 = "00" - - try: - magicCapsuleWeight7 = hex(int(magicCapsuleWeight7)) - if len(magicCapsuleWeight7) == 4: - magicCapsuleWeight7 = magicCapsuleWeight7[2:] - elif len(magicCapsuleWeight7) == 3: - magicCapsuleWeight7 = "0" + magicCapsuleWeight7[2:] - except: - magicCapsuleWeight7 = "00" - - try: - magicCapsulePrice7 = hex(int(magicCapsulePrice7)) - if len(magicCapsulePrice7) == 4: - magicCapsulePrice7 = magicCapsulePrice7[2:] - elif len(magicCapsulePrice7) == 3: - magicCapsulePrice7 = "0" + magicCapsulePrice7[2:] - except: - magicCapsulePrice7 = "00" - - try: - tripleCapsuleWeight7 = hex(int(tripleCapsuleWeight7)) - if len(tripleCapsuleWeight7) == 4: - tripleCapsuleWeight7 = tripleCapsuleWeight7[2:] - elif len(tripleCapsuleWeight7) == 3: - tripleCapsuleWeight7 = "0" + tripleCapsuleWeight7[2:] - except: - tripleCapsuleWeight7 = "00" - - try: - tripleCapsulePrice7 = hex(int(tripleCapsulePrice7)) - if len(tripleCapsulePrice7) == 4: - tripleCapsulePrice7 = tripleCapsulePrice7[2:] - elif len(tripleCapsulePrice7) == 3: - tripleCapsulePrice7 = "0" + tripleCapsulePrice7[2:] - except: - tripleCapsulePrice7 = "00" - - try: - koopaCapsuleWeight7 = hex(int(koopaCapsuleWeight7)) - if len(koopaCapsuleWeight7) == 4: - koopaCapsuleWeight7 = koopaCapsuleWeight7[2:] - elif len(koopaCapsuleWeight7) == 3: - koopaCapsuleWeight7 = "0" + koopaCapsuleWeight7[2:] - except: - koopaCapsuleWeight7 = "00" - - try: - koopaCapsulePrice7 = hex(int(koopaCapsulePrice7)) - if len(koopaCapsulePrice7) == 4: - koopaCapsulePrice7 = koopaCapsulePrice7[2:] - elif len(koopaCapsulePrice7) == 3: - koopaCapsulePrice7 = "0" + koopaCapsulePrice7[2:] - except: - koopaCapsulePrice7 = "00" - - try: - dkCapsuleWeight7 = hex(int(dkCapsuleWeight7)) - if len(dkCapsuleWeight7) == 4: - dkCapsuleWeight7 = dkCapsuleWeight7[2:] - elif len(dkCapsuleWeight7) == 3: - dkCapsuleWeight7 = "0" + dkCapsuleWeight7[2:] - except: - dkCapsuleWeight7 = "00" - - try: - dkCapsulePrice7 = hex(int(dkCapsulePrice7)) - if len(dkCapsulePrice7) == 4: - dkCapsulePrice7 = dkCapsulePrice7[2:] - elif len(dkCapsulePrice7) == 3: - dkCapsulePrice7 = "0" + dkCapsulePrice7[2:] - except: - dkCapsulePrice7 = "00" - - try: - duelCapsuleWeight7 = hex(int(duelCapsuleWeight7)) - if len(duelCapsuleWeight7) == 4: - duelCapsuleWeight7 = duelCapsuleWeight7[2:] - elif len(duelCapsuleWeight7) == 3: - duelCapsuleWeight7 = "0" + duelCapsuleWeight7[2:] - except: - duelCapsuleWeight7 = "00" - try: - duelCapsulePrice7 = hex(int(duelCapsulePrice7)) - if len(duelCapsulePrice7) == 4: - duelCapsulePrice7 = duelCapsulePrice7[2:] - elif len(duelCapsulePrice7) == 3: - duelCapsulePrice7 = "0" + duelCapsulePrice7[2:] - except: - duelCapsulePrice7 = "00" - - try: - orbBagCapsuleWeight7 = hex(int(orbBagCapsuleWeight7)) - if len(orbBagCapsuleWeight7) == 4: - orbBagCapsuleWeight7 = orbBagCapsuleWeight7[2:] - elif len(orbBagCapsuleWeight7) == 3: - orbBagCapsuleWeight7 = "0" + orbBagCapsuleWeight7[2:] - except: - orbBagCapsuleWeight7 = "00" - - try: - orbBagCapsulePrice7 = hex(int(orbBagCapsulePrice7)) - if len(orbBagCapsulePrice7) == 4: - orbBagCapsulePrice7 = orbBagCapsulePrice7[2:] - elif len(orbBagCapsulePrice7) == 3: - orbBagCapsulePrice7 = "0" + orbBagCapsulePrice7[2:] - except: - orbBagCapsulePrice7 = "00" - - try: - mysteryCapsuleWeight7 = hex(int(mysteryCapsuleWeight7)) - if len(mysteryCapsuleWeight7) == 4: - mysteryCapsuleWeight7 = mysteryCapsuleWeight7[2:] - elif len(mysteryCapsuleWeight7) == 3: - mysteryCapsuleWeight7 = "0" + mysteryCapsuleWeight7[2:] - except: - mysteryCapsuleWeight7 = "00" - try: - mysteryCapsulePrice7 = hex(int(mysteryCapsulePrice7)) - if len(mysteryCapsulePrice7) == 4: - mysteryCapsulePrice7 = mysteryCapsulePrice7[2:] - elif len(mysteryCapsulePrice7) == 3: - mysteryCapsulePrice7 = "0" + mysteryCapsulePrice7[2:] - except: - mysteryCapsulePrice7 = "00" - - try: - posionMushroomWeight7 = hex(int(posionMushroomWeight7)) - if len(posionMushroomWeight7) == 4: - posionMushroomWeight7 = posionMushroomWeight7[2:] - elif len(posionMushroomWeight7) == 3: - posionMushroomWeight7 = "0" + posionMushroomWeight7[2:] - except: - posionMushroomWeight7 = "00" - try: - posionMushroomPrice7 = hex(int(posionMushroomPrice7)) - if len(posionMushroomPrice7) == 4: - posionMushroomPrice7 = posionMushroomPrice7[2:] - elif len(posionMushroomPrice7) == 3: - posionMushroomPrice7 = "0" + posionMushroomPrice7[2:] - except: - posionMushroomPrice7 = "00" - - generatedCode = getOrbModsSeven(mushroomCapsuleWeight7, goldenMushroomCapsulePrice7, goldenMushroomCapsuleWeight7, slowMushroomCapsulePrice7, slowMushroomCapsuleWeight7, metalMushroomCapsulePrice7, metalMushroomCapsuleWeight7, flutterCapsulePrice7, flutterCapsuleWeight7, cannonCapsulePrice7, cannonCapsuleWeight7, snackCapsulePrice7, snackCapsuleWeight7, lakituCapsulePrice7, lakituCapsuleWeight7, hammerBroCapsulePrice7, hammerBroCapsuleWeight7, plantCapsulePrice7, plantCapsuleWeight7, spearCapsulePrice7, spearCapsuleWeight7, kamekCapsulePrice7, kamekCapsuleWeight7, toadyCapsulePrice7, toadyCapsuleWeight7, blizzardCapsulePrice7, blizzardCapsuleWeight7, banditCapsulePrice7, banditCapsuleWeight7, pinkBooCapsulePrice7, pinkBooCapsuleWeight7, spinyCapsulePrice7, spinyCapsuleWeight7, zapCapsulePrice7, zapCapsuleWeight7, tweesterCapsulePrice7, tweesterCapsuleWeight7, thwompCapsulePrice7, thwompCapsuleWeight7, warpCapsulePrice7, warpCapsuleWeight7, bombCapsulePrice7, bombCapsuleWeight7, fireballCapsulePrice7, fireballCapsuleWeight7, flowerCapsulePrice7, flowerCapsuleWeight7, eggCapsulePrice7, eggCapsuleWeight7, vacuumCapsulePrice7, vacuumCapsuleWeight7, magicCapsulePrice7, magicCapsuleWeight7, tripleCapsulePrice7, tripleCapsuleWeight7, koopaCapsulePrice7, koopaCapsuleWeight7, orbBagCapsulePrice7, orbBagCapsuleWeight7, dkCapsulePrice7, dkCapsuleWeight7, duelCapsulePrice7, duelCapsuleWeight7, mysteryCapsulePrice7, mysteryCapsuleWeight7, posionMushroomPrice7, posionMushroomWeight7) + if shopOdds34Max == 'banditCapsuleShopOdds34': + banditCapsuleShopOdds34 += (100 - banditCapsuleShopOdds34) + + if shopOdds34Max == 'pinkBooCapsuleShopOdds34': + pinkBooCapsuleShopOdds34 += (100 - pinkBooCapsuleShopOdds34) + + if shopOdds34Max == 'spinyCapsuleShopOdds34': + spinyCapsuleShopOdds34 += (100 - spinyCapsuleShopOdds34) + + if shopOdds34Max == 'zapCapsuleShopOdds34': + zapCapsuleShopOdds34 += (100 - zapCapsuleShopOdds34) + + if shopOdds34Max == 'tweesterCapsuleShopOdds34': + tweesterCapsuleShopOdds34 += (100 - tweesterCapsuleShopOdds34) + + if shopOdds34Max == 'thwompCapsuleShopOdds34': + thwompCapsuleShopOdds34 += (100 - thwompCapsuleShopOdds34) + + if shopOdds34Max == 'warpCapsuleShopOdds34': + warpCapsuleShopOdds34 += (100 - warpCapsuleShopOdds34) + + if shopOdds34Max == 'bombCapsuleShopOdds34': + bombCapsuleShopOdds34 += (100 - bombCapsuleShopOdds34) + + if shopOdds34Max == 'fireballCapsuleShopOdds34': + fireballCapsuleShopOdds34 += (100 - fireballCapsuleShopOdds34) + + if shopOdds34Max == 'flowerCapsuleShopOdds34': + flowerCapsuleShopOdds34 += (100 - flowerCapsuleShopOdds34) + + if shopOdds34Max == 'eggCapsuleShopOdds34': + eggCapsuleShopOdds34 += (100 - eggCapsuleShopOdds34) + + if shopOdds34Max == 'vacuumCapsuleShopOdds34': + vacuumCapsuleShopOdds34 += (100 - vacuumCapsuleShopOdds34) + + if shopOdds34Max == 'magicCapsuleShopOdds34': + magicCapsuleShopOdds34 += (100 - magicCapsuleShopOdds34) + + if shopOdds34Max == 'tripleCapsuleShopOdds34': + tripleCapsuleShopOdds34 += (100 - tripleCapsuleShopOdds34) + + if shopOdds34Max == 'koopaCapsuleShopOdds34': + koopaCapsuleShopOdds34 += (100 - koopaCapsuleShopOdds34) + + if shopOdds34Max == 'mysteryCapsuleShopOdds34': + mysteryCapsuleShopOdds34 += (100 - mysteryCapsuleShopOdds34) + + if shopOdds34Max == 'duelCapsuleShopOdds34': + duelCapsuleShopOdds34 += (100 - duelCapsuleShopOdds34) + + if shopOdds34Max == 'dkCapsuleShopOdds34': + dkCapsuleShopOdds34 += (100 - dkCapsuleShopOdds34) + + if shopOdds34Max == 'orbBagCapsuleShopOdds34': + orbBagCapsuleShopOdds34 += (100 - orbBagCapsuleShopOdds34) + + if spaceOdds12Max == 'mushroomCapsuleSpaceOdds12': + mushroomCapsuleSpaceOdds12 += (100 - mushroomCapsuleSpaceOdds12) + + if spaceOdds12Max == 'goldenMushroomCapsuleSpaceOdds12': + goldenMushroomCapsuleSpaceOdds12 += (100 - goldenMushroomCapsuleSpaceOdds12) + + if spaceOdds12Max == 'metalMushroomCapsuleSpaceOdds12': + metalMushroomCapsuleSpaceOdds12 += (100 - metalMushroomCapsuleSpaceOdds12) + + if spaceOdds12Max == 'slowMushroomCapsuleSpaceOdds12': + slowMushroomCapsuleSpaceOdds12 += (100 - slowMushroomCapsuleSpaceOdds12) + + if spaceOdds12Max == 'flutterCapsuleSpaceOdds12': + flutterCapsuleSpaceOdds12 += (100 - flutterCapsuleSpaceOdds12) + + if spaceOdds12Max == 'cannonCapsuleSpaceOdds12': + cannonCapsuleSpaceOdds12 += (100 - cannonCapsuleSpaceOdds12) + + if spaceOdds12Max == 'snackCapsuleSpaceOdds12': + snackCapsuleSpaceOdds12 += (100 - snackCapsuleSpaceOdds12) + + if spaceOdds12Max == 'lakituCapsuleSpaceOdds12': + lakituCapsuleSpaceOdds12 += (100 - lakituCapsuleSpaceOdds12) + + if spaceOdds12Max == 'hammerBroCapsuleSpaceOdds12': + hammerBroCapsuleSpaceOdds12 += (100 - hammerBroCapsuleSpaceOdds12) + + if spaceOdds12Max == 'piranhaPlantCapsuleSpaceOdds12': + piranhaPlantCapsuleSpaceOdds12 += (100 - piranhaPlantCapsuleSpaceOdds12) + + if spaceOdds12Max == 'spearGuyCapsuleSpaceOdds12': + spearGuyCapsuleSpaceOdds12 += (100 - spearGuyCapsuleSpaceOdds12) + + if spaceOdds12Max == 'kamekCapsuleSpaceOdds12': + kamekCapsuleSpaceOdds12 += (100 - kamekCapsuleSpaceOdds12) + + if spaceOdds12Max == 'toadyCapsuleSpaceOdds12': + toadyCapsuleSpaceOdds12 += (100 - toadyCapsuleSpaceOdds12) + + if spaceOdds12Max == 'mrBlizzardCapsuleSpaceOdds12': + mrBlizzardCapsuleSpaceOdds12 += (100 - mrBlizzardCapsuleSpaceOdds12) + + if spaceOdds12Max == 'banditCapsuleSpaceOdds12': + banditCapsuleSpaceOdds12 += (100 - banditCapsuleSpaceOdds12) + + if spaceOdds12Max == 'pinkBooCapsuleSpaceOdds12': + pinkBooCapsuleSpaceOdds12 += (100 - pinkBooCapsuleSpaceOdds12) + + if spaceOdds12Max == 'spinyCapsuleSpaceOdds12': + spinyCapsuleSpaceOdds12 += (100 - spinyCapsuleSpaceOdds12) + + if spaceOdds12Max == 'zapCapsuleSpaceOdds12': + zapCapsuleSpaceOdds12 += (100 - zapCapsuleSpaceOdds12) + + if spaceOdds12Max == 'tweesterCapsuleSpaceOdds12': + tweesterCapsuleSpaceOdds12 += (100 - tweesterCapsuleSpaceOdds12) + + if spaceOdds12Max == 'thwompCapsuleSpaceOdds12': + thwompCapsuleSpaceOdds12 += (100 - thwompCapsuleSpaceOdds12) + + if spaceOdds12Max == 'warpCapsuleSpaceOdds12': + warpCapsuleSpaceOdds12 += (100 - warpCapsuleSpaceOdds12) + + if spaceOdds12Max == 'bombCapsuleSpaceOdds12': + bombCapsuleSpaceOdds12 += (100 - bombCapsuleSpaceOdds12) + + if spaceOdds12Max == 'fireballCapsuleSpaceOdds12': + fireballCapsuleSpaceOdds12 += (100 - fireballCapsuleSpaceOdds12) + + if spaceOdds12Max == 'flowerCapsuleSpaceOdds12': + flowerCapsuleSpaceOdds12 += (100 - flowerCapsuleSpaceOdds12) + + if spaceOdds12Max == 'eggCapsuleSpaceOdds12': + eggCapsuleSpaceOdds12 += (100 - eggCapsuleSpaceOdds12) + + if spaceOdds12Max == 'vacuumCapsuleSpaceOdds12': + vacuumCapsuleSpaceOdds12 += (100 - vacuumCapsuleSpaceOdds12) + + if spaceOdds12Max == 'magicCapsuleSpaceOdds12': + magicCapsuleSpaceOdds12 += (100 - magicCapsuleSpaceOdds12) + + if spaceOdds12Max == 'tripleCapsuleSpaceOdds12': + tripleCapsuleSpaceOdds12 += (100 - tripleCapsuleSpaceOdds12) + + if spaceOdds12Max == 'koopaCapsuleSpaceOdds12': + koopaCapsuleSpaceOdds12 += (100 - koopaCapsuleSpaceOdds12) + + if spaceOdds12Max == 'mysteryCapsuleSpaceOdds12': + mysteryCapsuleSpaceOdds12 += (100 - mysteryCapsuleSpaceOdds12) + + if spaceOdds12Max == 'duelCapsuleSpaceOdds12': + duelCapsuleSpaceOdds12 += (100 - duelCapsuleSpaceOdds12) + + if spaceOdds12Max == 'dkCapsuleSpaceOdds12': + dkCapsuleSpaceOdds12 += (100 - dkCapsuleSpaceOdds12) + + if spaceOdds12Max == 'orbBagCapsuleSpaceOdds12': + orbBagCapsuleSpaceOdds12 += (100 - orbBagCapsuleSpaceOdds12) + + if spaceOdds34Max == 'mushroomCapsuleSpaceOdds34': + mushroomCapsuleSpaceOdds34 += (100 - mushroomCapsuleSpaceOdds34) + + if spaceOdds34Max == 'goldenMushroomCapsuleSpaceOdds34': + goldenMushroomCapsuleSpaceOdds34 += (100 - goldenMushroomCapsuleSpaceOdds34) + + if spaceOdds34Max == 'metalMushroomCapsuleSpaceOdds34': + metalMushroomCapsuleSpaceOdds34 += (100 - metalMushroomCapsuleSpaceOdds34) + + if spaceOdds34Max == 'slowMushroomCapsuleSpaceOdds34': + slowMushroomCapsuleSpaceOdds34 += (100 - slowMushroomCapsuleSpaceOdds34) + + if spaceOdds34Max == 'flutterCapsuleSpaceOdds34': + flutterCapsuleSpaceOdds34 += (100 - flutterCapsuleSpaceOdds34) + + if spaceOdds34Max == 'cannonCapsuleSpaceOdds34': + cannonCapsuleSpaceOdds34 += (100 - cannonCapsuleSpaceOdds34) + + if spaceOdds34Max == 'snackCapsuleSpaceOdds34': + snackCapsuleSpaceOdds34 += (100 - snackCapsuleSpaceOdds34) + + if spaceOdds34Max == 'lakituCapsuleSpaceOdds34': + lakituCapsuleSpaceOdds34 += (100 - lakituCapsuleSpaceOdds34) + + if spaceOdds34Max == 'hammerBroCapsuleSpaceOdds34': + hammerBroCapsuleSpaceOdds34 += (100 - hammerBroCapsuleSpaceOdds34) + + if spaceOdds34Max == 'piranhaPlantCapsuleSpaceOdds34': + piranhaPlantCapsuleSpaceOdds34 += (100 - piranhaPlantCapsuleSpaceOdds34) + + if spaceOdds34Max == 'spearGuyCapsuleSpaceOdds34': + spearGuyCapsuleSpaceOdds34 += (100 - spearGuyCapsuleSpaceOdds34) + + if spaceOdds34Max == 'kamekCapsuleSpaceOdds34': + kamekCapsuleSpaceOdds34 += (100 - kamekCapsuleSpaceOdds34) + + if spaceOdds34Max == 'toadyCapsuleSpaceOdds34': + toadyCapsuleSpaceOdds34 += (100 - toadyCapsuleSpaceOdds34) + + if spaceOdds34Max == 'mrBlizzardCapsuleSpaceOdds34': + mrBlizzardCapsuleSpaceOdds34 += (100 - mrBlizzardCapsuleSpaceOdds34) + + if spaceOdds34Max == 'banditCapsuleSpaceOdds34': + banditCapsuleSpaceOdds34 += (100 - banditCapsuleSpaceOdds34) + + if spaceOdds34Max == 'pinkBooCapsuleSpaceOdds34': + pinkBooCapsuleSpaceOdds34 += (100 - pinkBooCapsuleSpaceOdds34) + + if spaceOdds34Max == 'spinyCapsuleSpaceOdds34': + spinyCapsuleSpaceOdds34 += (100 - spinyCapsuleSpaceOdds34) + + if spaceOdds34Max == 'zapCapsuleSpaceOdds34': + zapCapsuleSpaceOdds34 += (100 - zapCapsuleSpaceOdds34) + + if spaceOdds34Max == 'tweesterCapsuleSpaceOdds34': + tweesterCapsuleSpaceOdds34 += (100 - tweesterCapsuleSpaceOdds34) + + if spaceOdds34Max == 'thwompCapsuleSpaceOdds34': + thwompCapsuleSpaceOdds34 += (100 - thwompCapsuleSpaceOdds34) + + if spaceOdds34Max == 'warpCapsuleSpaceOdds34': + warpCapsuleSpaceOdds34 += (100 - warpCapsuleSpaceOdds34) + + if spaceOdds34Max == 'bombCapsuleSpaceOdds34': + bombCapsuleSpaceOdds34 += (100 - bombCapsuleSpaceOdds34) + + if spaceOdds34Max == 'fireballCapsuleSpaceOdds34': + fireballCapsuleSpaceOdds34 += (100 - fireballCapsuleSpaceOdds34) + + if spaceOdds34Max == 'flowerCapsuleSpaceOdds34': + flowerCapsuleSpaceOdds34 += (100 - flowerCapsuleSpaceOdds34) + + if spaceOdds34Max == 'eggCapsuleSpaceOdds34': + eggCapsuleSpaceOdds34 += (100 - eggCapsuleSpaceOdds34) + + if spaceOdds34Max == 'vacuumCapsuleSpaceOdds34': + vacuumCapsuleSpaceOdds34 += (100 - vacuumCapsuleSpaceOdds34) + + if spaceOdds34Max == 'magicCapsuleSpaceOdds34': + magicCapsuleSpaceOdds34 += (100 - magicCapsuleSpaceOdds34) + + if spaceOdds34Max == 'tripleCapsuleSpaceOdds34': + tripleCapsuleSpaceOdds34 += (100 - tripleCapsuleSpaceOdds34) + + if spaceOdds34Max == 'koopaCapsuleSpaceOdds34': + koopaCapsuleSpaceOdds34 += (100 - koopaCapsuleSpaceOdds34) + + if spaceOdds34Max == 'mysteryCapsuleSpaceOdds34': + mysteryCapsuleSpaceOdds34 += (100 - mysteryCapsuleSpaceOdds34) + + if spaceOdds34Max == 'duelCapsuleSpaceOdds34': + duelCapsuleSpaceOdds34 += (100 - duelCapsuleSpaceOdds34) + + if spaceOdds34Max == 'dkCapsuleSpaceOdds34': + dkCapsuleSpaceOdds34 += (100 - dkCapsuleSpaceOdds34) + + if spaceOdds34Max == 'orbBagCapsuleSpaceOdds34': + orbBagCapsuleSpaceOdds34 += (100 - orbBagCapsuleSpaceOdds34) + + mushroomCapsuleShopOdds12 = str(mushroomCapsuleShopOdds12) + mushroomCapsuleShopOdds34 = str(mushroomCapsuleShopOdds34) + mushroomCapsuleSpaceOdds12 = str(mushroomCapsuleSpaceOdds12) + mushroomCapsuleSpaceOdds34 = str(mushroomCapsuleSpaceOdds34) + goldenMushroomCapsuleShopOdds12 = str(goldenMushroomCapsuleShopOdds12) + goldenMushroomCapsuleShopOdds34 = str(goldenMushroomCapsuleShopOdds34) + goldenMushroomCapsuleSpaceOdds12 = str(goldenMushroomCapsuleSpaceOdds12) + goldenMushroomCapsuleSpaceOdds34 = str(goldenMushroomCapsuleSpaceOdds34) + slowMushroomCapsuleShopOdds12 = str(slowMushroomCapsuleShopOdds12) + slowMushroomCapsuleShopOdds34 = str(slowMushroomCapsuleShopOdds34) + slowMushroomCapsuleSpaceOdds12 = str(slowMushroomCapsuleSpaceOdds12) + slowMushroomCapsuleSpaceOdds34 = str(slowMushroomCapsuleSpaceOdds34) + metalMushroomCapsuleShopOdds12 = str(metalMushroomCapsuleShopOdds12) + metalMushroomCapsuleShopOdds34 = str(metalMushroomCapsuleShopOdds34) + metalMushroomCapsuleSpaceOdds12 = str(metalMushroomCapsuleSpaceOdds12) + metalMushroomCapsuleSpaceOdds34 = str(metalMushroomCapsuleSpaceOdds34) + flutterCapsuleShopOdds12 = str(flutterCapsuleShopOdds12) + flutterCapsuleShopOdds34 = str(flutterCapsuleShopOdds34) + flutterCapsuleSpaceOdds12 = str(flutterCapsuleSpaceOdds12) + flutterCapsuleSpaceOdds34 = str(flutterCapsuleSpaceOdds34) + cannonCapsuleShopOdds12 = str(cannonCapsuleShopOdds12) + cannonCapsuleShopOdds34 = str(cannonCapsuleShopOdds34) + cannonCapsuleSpaceOdds12 = str(cannonCapsuleSpaceOdds12) + cannonCapsuleSpaceOdds34 = str(cannonCapsuleSpaceOdds34) + snackCapsuleShopOdds12 = str(snackCapsuleShopOdds12) + snackCapsuleShopOdds34 = str(snackCapsuleShopOdds34) + snackCapsuleSpaceOdds12 = str(snackCapsuleSpaceOdds12) + snackCapsuleSpaceOdds34 = str(snackCapsuleSpaceOdds34) + lakituCapsuleShopOdds12 = str(lakituCapsuleShopOdds12) + lakituCapsuleShopOdds34 = str(lakituCapsuleShopOdds34) + lakituCapsuleSpaceOdds12 = str(lakituCapsuleSpaceOdds12) + lakituCapsuleSpaceOdds34 = str(lakituCapsuleSpaceOdds34) + hammerBroCapsuleShopOdds12 = str(hammerBroCapsuleShopOdds12) + hammerBroCapsuleShopOdds34 = str(hammerBroCapsuleShopOdds34) + hammerBroCapsuleSpaceOdds12 = str(hammerBroCapsuleSpaceOdds12) + hammerBroCapsuleSpaceOdds34 = str(hammerBroCapsuleSpaceOdds34) + piranhaPlantCapsuleShopOdds12 = str(piranhaPlantCapsuleShopOdds12) + piranhaPlantCapsuleShopOdds34 = str(piranhaPlantCapsuleShopOdds34) + piranhaPlantCapsuleSpaceOdds12 = str(piranhaPlantCapsuleSpaceOdds12) + piranhaPlantCapsuleSpaceOdds34 = str(piranhaPlantCapsuleSpaceOdds34) + spearGuyCapsuleShopOdds12 = str(spearGuyCapsuleShopOdds12) + spearGuyCapsuleShopOdds34 = str(spearGuyCapsuleShopOdds34) + spearGuyCapsuleSpaceOdds12 = str(spearGuyCapsuleSpaceOdds12) + spearGuyCapsuleSpaceOdds34 = str(spearGuyCapsuleSpaceOdds34) + kamekCapsuleShopOdds12 = str(kamekCapsuleShopOdds12) + kamekCapsuleShopOdds34 = str(kamekCapsuleShopOdds34) + kamekCapsuleSpaceOdds12 = str(kamekCapsuleSpaceOdds12) + kamekCapsuleSpaceOdds34 = str(kamekCapsuleSpaceOdds34) + toadyCapsuleShopOdds12 = str(toadyCapsuleShopOdds12) + toadyCapsuleShopOdds34 = str(toadyCapsuleShopOdds34) + toadyCapsuleSpaceOdds12 = str(toadyCapsuleSpaceOdds12) + toadyCapsuleSpaceOdds34 = str(toadyCapsuleSpaceOdds34) + mrBlizzardCapsuleShopOdds12 = str(mrBlizzardCapsuleShopOdds12) + mrBlizzardCapsuleShopOdds34 = str(mrBlizzardCapsuleShopOdds34) + mrBlizzardCapsuleSpaceOdds12 = str(mrBlizzardCapsuleSpaceOdds12) + mrBlizzardCapsuleSpaceOdds34 = str(mrBlizzardCapsuleSpaceOdds34) + banditCapsuleShopOdds12 = str(banditCapsuleShopOdds12) + banditCapsuleShopOdds34 = str(banditCapsuleShopOdds34) + banditCapsuleSpaceOdds12 = str(banditCapsuleSpaceOdds12) + banditCapsuleSpaceOdds34 = str(banditCapsuleSpaceOdds34) + pinkBooCapsuleShopOdds12 = str(pinkBooCapsuleShopOdds12) + pinkBooCapsuleShopOdds34 = str(pinkBooCapsuleShopOdds34) + pinkBooCapsuleSpaceOdds12 = str(pinkBooCapsuleSpaceOdds12) + pinkBooCapsuleSpaceOdds34 = str(pinkBooCapsuleSpaceOdds34) + spinyCapsuleShopOdds12 = str(spinyCapsuleShopOdds12) + spinyCapsuleShopOdds34 = str(spinyCapsuleShopOdds34) + spinyCapsuleSpaceOdds12 = str(spinyCapsuleSpaceOdds12) + spinyCapsuleSpaceOdds34 = str(spinyCapsuleSpaceOdds34) + zapCapsuleShopOdds12 = str(zapCapsuleShopOdds12) + zapCapsuleShopOdds34 = str(zapCapsuleShopOdds34) + zapCapsuleSpaceOdds12 = str(zapCapsuleSpaceOdds12) + zapCapsuleSpaceOdds34 = str(zapCapsuleSpaceOdds34) + tweesterCapsuleShopOdds12 = str(tweesterCapsuleShopOdds12) + tweesterCapsuleShopOdds34 = str(tweesterCapsuleShopOdds34) + tweesterCapsuleSpaceOdds12 = str(tweesterCapsuleSpaceOdds12) + tweesterCapsuleSpaceOdds34 = str(tweesterCapsuleSpaceOdds34) + thwompCapsuleShopOdds12 = str(thwompCapsuleShopOdds12) + thwompCapsuleShopOdds34 = str(thwompCapsuleShopOdds34) + thwompCapsuleSpaceOdds12 = str(thwompCapsuleSpaceOdds12) + thwompCapsuleSpaceOdds34 = str(thwompCapsuleSpaceOdds34) + warpCapsuleShopOdds12 = str(warpCapsuleShopOdds12) + warpCapsuleShopOdds34 = str(warpCapsuleShopOdds34) + warpCapsuleSpaceOdds12 = str(warpCapsuleSpaceOdds12) + warpCapsuleSpaceOdds34 = str(warpCapsuleSpaceOdds34) + bombCapsuleShopOdds12 = str(bombCapsuleShopOdds12) + bombCapsuleShopOdds34 = str(bombCapsuleShopOdds34) + bombCapsuleSpaceOdds12 = str(bombCapsuleSpaceOdds12) + bombCapsuleSpaceOdds34 = str(bombCapsuleSpaceOdds34) + fireballCapsuleShopOdds12 = str(fireballCapsuleShopOdds12) + fireballCapsuleShopOdds34 = str(fireballCapsuleShopOdds34) + fireballCapsuleSpaceOdds12 = str(fireballCapsuleSpaceOdds12) + fireballCapsuleSpaceOdds34 = str(fireballCapsuleSpaceOdds34) + flowerCapsuleShopOdds12 = str(flowerCapsuleShopOdds12) + flowerCapsuleShopOdds34 = str(flowerCapsuleShopOdds34) + flowerCapsuleSpaceOdds12 = str(flowerCapsuleSpaceOdds12) + flowerCapsuleSpaceOdds34 = str(flowerCapsuleSpaceOdds34) + eggCapsuleShopOdds12 = str(eggCapsuleShopOdds12) + eggCapsuleShopOdds34 = str(eggCapsuleShopOdds34) + eggCapsuleSpaceOdds12 = str(eggCapsuleSpaceOdds12) + eggCapsuleSpaceOdds34 = str(eggCapsuleSpaceOdds34) + vacuumCapsuleShopOdds12 = str(vacuumCapsuleShopOdds12) + vacuumCapsuleShopOdds34 = str(vacuumCapsuleShopOdds34) + vacuumCapsuleSpaceOdds12 = str(vacuumCapsuleSpaceOdds12) + vacuumCapsuleSpaceOdds34 = str(vacuumCapsuleSpaceOdds34) + magicCapsuleShopOdds12 = str(magicCapsuleShopOdds12) + magicCapsuleShopOdds34 = str(magicCapsuleShopOdds34) + magicCapsuleSpaceOdds12 = str(magicCapsuleSpaceOdds12) + magicCapsuleSpaceOdds34 = str(magicCapsuleSpaceOdds34) + tripleCapsuleShopOdds12 = str(tripleCapsuleShopOdds12) + tripleCapsuleShopOdds34 = str(tripleCapsuleShopOdds34) + tripleCapsuleSpaceOdds12 = str(tripleCapsuleSpaceOdds12) + tripleCapsuleSpaceOdds34 = str(tripleCapsuleSpaceOdds34) + koopaCapsuleShopOdds12 = str(koopaCapsuleShopOdds12) + koopaCapsuleShopOdds34 = str(koopaCapsuleShopOdds34) + koopaCapsuleSpaceOdds12 = str(koopaCapsuleSpaceOdds12) + koopaCapsuleSpaceOdds34 = str(koopaCapsuleSpaceOdds34) + poisonMushroomShopOdds12 = str(poisonMushroomShopOdds12) + poisonMushroomShopOdds34 = str(poisonMushroomShopOdds34) + poisonMushroomSpaceOdds12 = str(poisonMushroomSpaceOdds12) + poisonMushroomSpaceOdds34 = str(poisonMushroomSpaceOdds34) + orbBagCapsuleShopOdds12 = str(orbBagCapsuleShopOdds12) + orbBagCapsuleShopOdds34 = str(orbBagCapsuleShopOdds34) + orbBagCapsuleSpaceOdds12 = str(orbBagCapsuleSpaceOdds12) + orbBagCapsuleSpaceOdds34 = str(orbBagCapsuleSpaceOdds34) + mysteryCapsuleShopOdds12 = str(mysteryCapsuleShopOdds12) + mysteryCapsuleShopOdds34 = str(mysteryCapsuleShopOdds34) + mysteryCapsuleSpaceOdds12 = str(mysteryCapsuleSpaceOdds12) + mysteryCapsuleSpaceOdds34 = str(mysteryCapsuleSpaceOdds34) + dkCapsuleShopOdds12 = str(dkCapsuleShopOdds12) + dkCapsuleShopOdds34 = str(dkCapsuleShopOdds34) + dkCapsuleSpaceOdds12 = str(dkCapsuleSpaceOdds12) + dkCapsuleSpaceOdds34 = str(dkCapsuleSpaceOdds34) + duelCapsuleShopOdds12 = str(duelCapsuleShopOdds12) + duelCapsuleShopOdds34 = str(duelCapsuleShopOdds34) + duelCapsuleSpaceOdds12 = str(duelCapsuleSpaceOdds12) + duelCapsuleSpaceOdds34 = str(duelCapsuleSpaceOdds34) + + def convert_to_hex_weight(weight): + try: + weight_hex = hex(int(weight)) + if len(weight_hex) == 4: + return weight_hex[2:] # Remove '0x' prefix + elif len(weight_hex) == 3: + return "0" + weight_hex[2:] # Add leading zero + return weight_hex[2:] # Return as is for other lengths + except: + return "00" # Return default value on error + + # Usage + mushroomCapsuleShopOdds12 = convert_to_hex_weight(mushroomCapsuleShopOdds12) + mushroomCapsuleShopOdds34 = convert_to_hex_weight(mushroomCapsuleShopOdds34) + mushroomCapsuleSpaceOdds12 = convert_to_hex_weight(mushroomCapsuleSpaceOdds12) + mushroomCapsuleSpaceOdds34 = convert_to_hex_weight(mushroomCapsuleSpaceOdds34) + goldenMushroomCapsulePrice12 = convert_to_hex_weight(goldenMushroomCapsulePrice12) + goldenMushroomCapsulePrice34 = convert_to_hex_weight(goldenMushroomCapsulePrice34) + goldenMushroomCapsuleShopOdds12 = convert_to_hex_weight(goldenMushroomCapsuleShopOdds12) + goldenMushroomCapsuleShopOdds34 = convert_to_hex_weight(goldenMushroomCapsuleShopOdds34) + goldenMushroomCapsuleSpaceOdds12 = convert_to_hex_weight(goldenMushroomCapsuleSpaceOdds12) + goldenMushroomCapsuleSpaceOdds34 = convert_to_hex_weight(goldenMushroomCapsuleSpaceOdds34) + slowMushroomCapsulePrice12 = convert_to_hex_weight(slowMushroomCapsulePrice12) + slowMushroomCapsulePrice34 = convert_to_hex_weight(slowMushroomCapsulePrice34) + slowMushroomCapsuleShopOdds12 = convert_to_hex_weight(slowMushroomCapsuleShopOdds12) + slowMushroomCapsuleShopOdds34 = convert_to_hex_weight(slowMushroomCapsuleShopOdds34) + slowMushroomCapsuleSpaceOdds12 = convert_to_hex_weight(slowMushroomCapsuleSpaceOdds12) + slowMushroomCapsuleSpaceOdds34 = convert_to_hex_weight(slowMushroomCapsuleSpaceOdds34) + metalMushroomCapsulePrice12 = convert_to_hex_weight(metalMushroomCapsulePrice12) + metalMushroomCapsulePrice34 = convert_to_hex_weight(metalMushroomCapsulePrice34) + metalMushroomCapsuleShopOdds12 = convert_to_hex_weight(metalMushroomCapsuleShopOdds12) + metalMushroomCapsuleShopOdds34 = convert_to_hex_weight(metalMushroomCapsuleShopOdds34) + metalMushroomCapsuleSpaceOdds12 = convert_to_hex_weight(metalMushroomCapsuleSpaceOdds12) + metalMushroomCapsuleSpaceOdds34 = convert_to_hex_weight(metalMushroomCapsuleSpaceOdds34) + flutterCapsulePrice12 = convert_to_hex_weight(flutterCapsulePrice12) + flutterCapsulePrice34 = convert_to_hex_weight(flutterCapsulePrice34) + flutterCapsuleShopOdds12 = convert_to_hex_weight(flutterCapsuleShopOdds12) + flutterCapsuleShopOdds34 = convert_to_hex_weight(flutterCapsuleShopOdds34) + flutterCapsuleSpaceOdds12 = convert_to_hex_weight(flutterCapsuleSpaceOdds12) + flutterCapsuleSpaceOdds34 = convert_to_hex_weight(flutterCapsuleSpaceOdds34) + cannonCapsulePrice12 = convert_to_hex_weight(cannonCapsulePrice12) + cannonCapsulePrice34 = convert_to_hex_weight(cannonCapsulePrice34) + cannonCapsuleShopOdds12 = convert_to_hex_weight(cannonCapsuleShopOdds12) + cannonCapsuleShopOdds34 = convert_to_hex_weight(cannonCapsuleShopOdds34) + cannonCapsuleSpaceOdds12 = convert_to_hex_weight(cannonCapsuleSpaceOdds12) + cannonCapsuleSpaceOdds34 = convert_to_hex_weight(cannonCapsuleSpaceOdds34) + snackCapsulePrice12 = convert_to_hex_weight(snackCapsulePrice12) + snackCapsulePrice34 = convert_to_hex_weight(snackCapsulePrice34) + snackCapsuleShopOdds12 = convert_to_hex_weight(snackCapsuleShopOdds12) + snackCapsuleShopOdds34 = convert_to_hex_weight(snackCapsuleShopOdds34) + snackCapsuleSpaceOdds12 = convert_to_hex_weight(snackCapsuleSpaceOdds12) + snackCapsuleSpaceOdds34 = convert_to_hex_weight(snackCapsuleSpaceOdds34) + lakituCapsulePrice12 = convert_to_hex_weight(lakituCapsulePrice12) + lakituCapsulePrice34 = convert_to_hex_weight(lakituCapsulePrice34) + lakituCapsuleShopOdds12 = convert_to_hex_weight(lakituCapsuleShopOdds12) + lakituCapsuleShopOdds34 = convert_to_hex_weight(lakituCapsuleShopOdds34) + lakituCapsuleSpaceOdds12 = convert_to_hex_weight(lakituCapsuleSpaceOdds12) + lakituCapsuleSpaceOdds34 = convert_to_hex_weight(lakituCapsuleSpaceOdds34) + hammerBroCapsulePrice12 = convert_to_hex_weight(hammerBroCapsulePrice12) + hammerBroCapsulePrice34 = convert_to_hex_weight(hammerBroCapsulePrice34) + hammerBroCapsuleShopOdds12 = convert_to_hex_weight(hammerBroCapsuleShopOdds12) + hammerBroCapsuleShopOdds34 = convert_to_hex_weight(hammerBroCapsuleShopOdds34) + hammerBroCapsuleSpaceOdds12 = convert_to_hex_weight(hammerBroCapsuleSpaceOdds12) + hammerBroCapsuleSpaceOdds34 = convert_to_hex_weight(hammerBroCapsuleSpaceOdds34) + piranhaPlantCapsulePrice12 = convert_to_hex_weight(piranhaPlantCapsulePrice12) + piranhaPlantCapsulePrice34 = convert_to_hex_weight(piranhaPlantCapsulePrice34) + piranhaPlantCapsuleShopOdds12 = convert_to_hex_weight(piranhaPlantCapsuleShopOdds12) + piranhaPlantCapsuleShopOdds34 = convert_to_hex_weight(piranhaPlantCapsuleShopOdds34) + piranhaPlantCapsuleSpaceOdds12 = convert_to_hex_weight(piranhaPlantCapsuleSpaceOdds12) + piranhaPlantCapsuleSpaceOdds34 = convert_to_hex_weight(piranhaPlantCapsuleSpaceOdds34) + spearGuyCapsulePrice12 = convert_to_hex_weight(spearGuyCapsulePrice12) + spearGuyCapsulePrice34 = convert_to_hex_weight(spearGuyCapsulePrice34) + spearGuyCapsuleShopOdds12 = convert_to_hex_weight(spearGuyCapsuleShopOdds12) + spearGuyCapsuleShopOdds34 = convert_to_hex_weight(spearGuyCapsuleShopOdds34) + spearGuyCapsuleSpaceOdds12 = convert_to_hex_weight(spearGuyCapsuleSpaceOdds12) + spearGuyCapsuleSpaceOdds34 = convert_to_hex_weight(spearGuyCapsuleSpaceOdds34) + kamekCapsulePrice12 = convert_to_hex_weight(kamekCapsulePrice12) + kamekCapsulePrice34 = convert_to_hex_weight(kamekCapsulePrice34) + kamekCapsuleShopOdds12 = convert_to_hex_weight(kamekCapsuleShopOdds12) + kamekCapsuleShopOdds34 = convert_to_hex_weight(kamekCapsuleShopOdds34) + kamekCapsuleSpaceOdds12 = convert_to_hex_weight(kamekCapsuleSpaceOdds12) + kamekCapsuleSpaceOdds34 = convert_to_hex_weight(kamekCapsuleSpaceOdds34) + toadyCapsulePrice12 = convert_to_hex_weight(toadyCapsulePrice12) + toadyCapsulePrice34 = convert_to_hex_weight(toadyCapsulePrice34) + toadyCapsuleShopOdds12 = convert_to_hex_weight(toadyCapsuleShopOdds12) + toadyCapsuleShopOdds34 = convert_to_hex_weight(toadyCapsuleShopOdds34) + toadyCapsuleSpaceOdds12 = convert_to_hex_weight(toadyCapsuleSpaceOdds12) + toadyCapsuleSpaceOdds34 = convert_to_hex_weight(toadyCapsuleSpaceOdds34) + mrBlizzardCapsulePrice12 = convert_to_hex_weight(mrBlizzardCapsulePrice12) + mrBlizzardCapsulePrice34 = convert_to_hex_weight(mrBlizzardCapsulePrice34) + mrBlizzardCapsuleShopOdds12 = convert_to_hex_weight(mrBlizzardCapsuleShopOdds12) + mrBlizzardCapsuleShopOdds34 = convert_to_hex_weight(mrBlizzardCapsuleShopOdds34) + mrBlizzardCapsuleSpaceOdds12 = convert_to_hex_weight(mrBlizzardCapsuleSpaceOdds12) + mrBlizzardCapsuleSpaceOdds34 = convert_to_hex_weight(mrBlizzardCapsuleSpaceOdds34) + banditCapsulePrice12 = convert_to_hex_weight(banditCapsulePrice12) + banditCapsulePrice34 = convert_to_hex_weight(banditCapsulePrice34) + banditCapsuleShopOdds12 = convert_to_hex_weight(banditCapsuleShopOdds12) + banditCapsuleShopOdds34 = convert_to_hex_weight(banditCapsuleShopOdds34) + banditCapsuleSpaceOdds12 = convert_to_hex_weight(banditCapsuleSpaceOdds12) + banditCapsuleSpaceOdds34 = convert_to_hex_weight(banditCapsuleSpaceOdds34) + pinkBooCapsulePrice12 = convert_to_hex_weight(pinkBooCapsulePrice12) + pinkBooCapsulePrice34 = convert_to_hex_weight(pinkBooCapsulePrice34) + pinkBooCapsuleShopOdds12 = convert_to_hex_weight(pinkBooCapsuleShopOdds12) + pinkBooCapsuleShopOdds34 = convert_to_hex_weight(pinkBooCapsuleShopOdds34) + pinkBooCapsuleSpaceOdds12 = convert_to_hex_weight(pinkBooCapsuleSpaceOdds12) + pinkBooCapsuleSpaceOdds34 = convert_to_hex_weight(pinkBooCapsuleSpaceOdds34) + spinyCapsulePrice12 = convert_to_hex_weight(spinyCapsulePrice12) + spinyCapsulePrice34 = convert_to_hex_weight(spinyCapsulePrice34) + spinyCapsuleShopOdds12 = convert_to_hex_weight(spinyCapsuleShopOdds12) + spinyCapsuleShopOdds34 = convert_to_hex_weight(spinyCapsuleShopOdds34) + spinyCapsuleSpaceOdds12 = convert_to_hex_weight(spinyCapsuleSpaceOdds12) + spinyCapsuleSpaceOdds34 = convert_to_hex_weight(spinyCapsuleSpaceOdds34) + zapCapsulePrice12 = convert_to_hex_weight(zapCapsulePrice12) + zapCapsulePrice34 = convert_to_hex_weight(zapCapsulePrice34) + zapCapsuleShopOdds12 = convert_to_hex_weight(zapCapsuleShopOdds12) + zapCapsuleShopOdds34 = convert_to_hex_weight(zapCapsuleShopOdds34) + zapCapsuleSpaceOdds12 = convert_to_hex_weight(zapCapsuleSpaceOdds12) + zapCapsuleSpaceOdds34 = convert_to_hex_weight(zapCapsuleSpaceOdds34) + tweesterCapsulePrice12 = convert_to_hex_weight(tweesterCapsulePrice12) + tweesterCapsulePrice34 = convert_to_hex_weight(tweesterCapsulePrice34) + tweesterCapsuleShopOdds12 = convert_to_hex_weight(tweesterCapsuleShopOdds12) + tweesterCapsuleShopOdds34 = convert_to_hex_weight(tweesterCapsuleShopOdds34) + tweesterCapsuleSpaceOdds12 = convert_to_hex_weight(tweesterCapsuleSpaceOdds12) + tweesterCapsuleSpaceOdds34 = convert_to_hex_weight(tweesterCapsuleSpaceOdds34) + thwompCapsulePrice12 = convert_to_hex_weight(thwompCapsulePrice12) + thwompCapsulePrice34 = convert_to_hex_weight(thwompCapsulePrice34) + thwompCapsuleShopOdds12 = convert_to_hex_weight(thwompCapsuleShopOdds12) + thwompCapsuleShopOdds34 = convert_to_hex_weight(thwompCapsuleShopOdds34) + thwompCapsuleSpaceOdds12 = convert_to_hex_weight(thwompCapsuleSpaceOdds12) + thwompCapsuleSpaceOdds34 = convert_to_hex_weight(thwompCapsuleSpaceOdds34) + warpCapsulePrice12 = convert_to_hex_weight(warpCapsulePrice12) + warpCapsulePrice34 = convert_to_hex_weight(warpCapsulePrice34) + warpCapsuleShopOdds12 = convert_to_hex_weight(warpCapsuleShopOdds12) + warpCapsuleShopOdds34 = convert_to_hex_weight(warpCapsuleShopOdds34) + warpCapsuleSpaceOdds12 = convert_to_hex_weight(warpCapsuleSpaceOdds12) + warpCapsuleSpaceOdds34 = convert_to_hex_weight(warpCapsuleSpaceOdds34) + bombCapsulePrice12 = convert_to_hex_weight(bombCapsulePrice12) + bombCapsulePrice34 = convert_to_hex_weight(bombCapsulePrice34) + bombCapsuleShopOdds12 = convert_to_hex_weight(bombCapsuleShopOdds12) + bombCapsuleShopOdds34 = convert_to_hex_weight(bombCapsuleShopOdds34) + bombCapsuleSpaceOdds12 = convert_to_hex_weight(bombCapsuleSpaceOdds12) + bombCapsuleSpaceOdds34 = convert_to_hex_weight(bombCapsuleSpaceOdds34) + fireballCapsulePrice12 = convert_to_hex_weight(fireballCapsulePrice12) + fireballCapsulePrice34 = convert_to_hex_weight(fireballCapsulePrice34) + fireballCapsuleShopOdds12 = convert_to_hex_weight(fireballCapsuleShopOdds12) + fireballCapsuleShopOdds34 = convert_to_hex_weight(fireballCapsuleShopOdds34) + fireballCapsuleSpaceOdds12 = convert_to_hex_weight(fireballCapsuleSpaceOdds12) + fireballCapsuleSpaceOdds34 = convert_to_hex_weight(fireballCapsuleSpaceOdds34) + flowerCapsulePrice12 = convert_to_hex_weight(flowerCapsulePrice12) + flowerCapsulePrice34 = convert_to_hex_weight(flowerCapsulePrice34) + flowerCapsuleShopOdds12 = convert_to_hex_weight(flowerCapsuleShopOdds12) + flowerCapsuleShopOdds34 = convert_to_hex_weight(flowerCapsuleShopOdds34) + flowerCapsuleSpaceOdds12 = convert_to_hex_weight(flowerCapsuleSpaceOdds12) + flowerCapsuleSpaceOdds34 = convert_to_hex_weight(flowerCapsuleSpaceOdds34) + eggCapsulePrice12 = convert_to_hex_weight(eggCapsulePrice12) + eggCapsulePrice34 = convert_to_hex_weight(eggCapsulePrice34) + eggCapsuleShopOdds12 = convert_to_hex_weight(eggCapsuleShopOdds12) + eggCapsuleShopOdds34 = convert_to_hex_weight(eggCapsuleShopOdds34) + eggCapsuleSpaceOdds12 = convert_to_hex_weight(eggCapsuleSpaceOdds12) + eggCapsuleSpaceOdds34 = convert_to_hex_weight(eggCapsuleSpaceOdds34) + vacuumCapsulePrice12 = convert_to_hex_weight(vacuumCapsulePrice12) + vacuumCapsulePrice34 = convert_to_hex_weight(vacuumCapsulePrice34) + vacuumCapsuleShopOdds12 = convert_to_hex_weight(vacuumCapsuleShopOdds12) + vacuumCapsuleShopOdds34 = convert_to_hex_weight(vacuumCapsuleShopOdds34) + vacuumCapsuleSpaceOdds12 = convert_to_hex_weight(vacuumCapsuleSpaceOdds12) + vacuumCapsuleSpaceOdds34 = convert_to_hex_weight(vacuumCapsuleSpaceOdds34) + magicCapsulePrice12 = convert_to_hex_weight(magicCapsulePrice12) + magicCapsulePrice34 = convert_to_hex_weight(magicCapsulePrice34) + magicCapsuleShopOdds12 = convert_to_hex_weight(magicCapsuleShopOdds12) + magicCapsuleShopOdds34 = convert_to_hex_weight(magicCapsuleShopOdds34) + magicCapsuleSpaceOdds12 = convert_to_hex_weight(magicCapsuleSpaceOdds12) + magicCapsuleSpaceOdds34 = convert_to_hex_weight(magicCapsuleSpaceOdds34) + tripleCapsulePrice12 = convert_to_hex_weight(tripleCapsulePrice12) + tripleCapsulePrice34 = convert_to_hex_weight(tripleCapsulePrice34) + tripleCapsuleShopOdds12 = convert_to_hex_weight(tripleCapsuleShopOdds12) + tripleCapsuleShopOdds34 = convert_to_hex_weight(tripleCapsuleShopOdds34) + tripleCapsuleSpaceOdds12 = convert_to_hex_weight(tripleCapsuleSpaceOdds12) + tripleCapsuleSpaceOdds34 = convert_to_hex_weight(tripleCapsuleSpaceOdds34) + koopaCapsulePrice12 = convert_to_hex_weight(koopaCapsulePrice12) + koopaCapsulePrice34 = convert_to_hex_weight(koopaCapsulePrice34) + koopaCapsuleShopOdds12 = convert_to_hex_weight(koopaCapsuleShopOdds12) + koopaCapsuleShopOdds34 = convert_to_hex_weight(koopaCapsuleShopOdds34) + koopaCapsuleSpaceOdds12 = convert_to_hex_weight(koopaCapsuleSpaceOdds12) + koopaCapsuleSpaceOdds34 = convert_to_hex_weight(koopaCapsuleSpaceOdds34) + poisonMushroomPrice12 = convert_to_hex_weight(poisonMushroomPrice12) + poisonMushroomPrice34 = convert_to_hex_weight(poisonMushroomPrice34) + poisonMushroomShopOdds12 = convert_to_hex_weight(poisonMushroomShopOdds12) + poisonMushroomShopOdds34 = convert_to_hex_weight(poisonMushroomShopOdds34) + poisonMushroomSpaceOdds12 = convert_to_hex_weight(poisonMushroomSpaceOdds12) + poisonMushroomSpaceOdds34 = convert_to_hex_weight(poisonMushroomSpaceOdds34) + orbBagCapsulePrice12 = convert_to_hex_weight(orbBagCapsulePrice12) + orbBagCapsulePrice34 = convert_to_hex_weight(orbBagCapsulePrice34) + orbBagCapsuleShopOdds12 = convert_to_hex_weight(orbBagCapsuleShopOdds12) + orbBagCapsuleShopOdds34 = convert_to_hex_weight(orbBagCapsuleShopOdds34) + orbBagCapsuleSpaceOdds12 = convert_to_hex_weight(orbBagCapsuleSpaceOdds12) + orbBagCapsuleSpaceOdds34 = convert_to_hex_weight(orbBagCapsuleSpaceOdds34) + mysteryCapsulePrice12 = convert_to_hex_weight(mysteryCapsulePrice12) + mysteryCapsulePrice34 = convert_to_hex_weight(mysteryCapsulePrice34) + mysteryCapsuleShopOdds12 = convert_to_hex_weight(mysteryCapsuleShopOdds12) + mysteryCapsuleShopOdds34 = convert_to_hex_weight(mysteryCapsuleShopOdds34) + mysteryCapsuleSpaceOdds12 = convert_to_hex_weight(mysteryCapsuleSpaceOdds12) + mysteryCapsuleSpaceOdds34 = convert_to_hex_weight(mysteryCapsuleSpaceOdds34) + dkCapsulePrice12 = convert_to_hex_weight(dkCapsulePrice12) + dkCapsulePrice34 = convert_to_hex_weight(dkCapsulePrice34) + dkCapsuleShopOdds12 = convert_to_hex_weight(dkCapsuleShopOdds12) + dkCapsuleShopOdds34 = convert_to_hex_weight(dkCapsuleShopOdds34) + dkCapsuleSpaceOdds12 = convert_to_hex_weight(dkCapsuleSpaceOdds12) + dkCapsuleSpaceOdds34 = convert_to_hex_weight(dkCapsuleSpaceOdds34) + duelCapsulePrice12 = convert_to_hex_weight(duelCapsulePrice12) + duelCapsulePrice34 = convert_to_hex_weight(duelCapsulePrice34) + duelCapsuleShopOdds12 = convert_to_hex_weight(duelCapsuleShopOdds12) + duelCapsuleShopOdds34 = convert_to_hex_weight(duelCapsuleShopOdds34) + duelCapsuleSpaceOdds12 = convert_to_hex_weight(duelCapsuleSpaceOdds12) + duelCapsuleSpaceOdds34 = convert_to_hex_weight(duelCapsuleSpaceOdds34) + + generatedCode = getOrbModsSeven(mushroomCapsulePrice12, mushroomCapsulePrice34, mushroomCapsuleShopOdds12, mushroomCapsuleShopOdds34, mushroomCapsuleSpaceOdds12, mushroomCapsuleSpaceOdds34, goldenMushroomCapsulePrice12, goldenMushroomCapsulePrice34, goldenMushroomCapsuleShopOdds12, goldenMushroomCapsuleShopOdds34, goldenMushroomCapsuleSpaceOdds12, goldenMushroomCapsuleSpaceOdds34, slowMushroomCapsulePrice12, slowMushroomCapsulePrice34, slowMushroomCapsuleShopOdds12, slowMushroomCapsuleShopOdds34, slowMushroomCapsuleSpaceOdds12, slowMushroomCapsuleSpaceOdds34, metalMushroomCapsulePrice12, metalMushroomCapsulePrice34, metalMushroomCapsuleShopOdds12, metalMushroomCapsuleShopOdds34, metalMushroomCapsuleSpaceOdds12, metalMushroomCapsuleSpaceOdds34, flutterCapsulePrice12, flutterCapsulePrice34, flutterCapsuleShopOdds12, flutterCapsuleShopOdds34, flutterCapsuleSpaceOdds12, flutterCapsuleSpaceOdds34, cannonCapsulePrice12, cannonCapsulePrice34, cannonCapsuleShopOdds12, cannonCapsuleShopOdds34, cannonCapsuleSpaceOdds12, cannonCapsuleSpaceOdds34, snackCapsulePrice12, snackCapsulePrice34, snackCapsuleShopOdds12, snackCapsuleShopOdds34, snackCapsuleSpaceOdds12, snackCapsuleSpaceOdds34, lakituCapsulePrice12, lakituCapsulePrice34, lakituCapsuleShopOdds12, lakituCapsuleShopOdds34, lakituCapsuleSpaceOdds12, lakituCapsuleSpaceOdds34, hammerBroCapsulePrice12, hammerBroCapsulePrice34, hammerBroCapsuleShopOdds12, hammerBroCapsuleShopOdds34, hammerBroCapsuleSpaceOdds12, hammerBroCapsuleSpaceOdds34, piranhaPlantCapsulePrice12, piranhaPlantCapsulePrice34, piranhaPlantCapsuleShopOdds12, piranhaPlantCapsuleShopOdds34, piranhaPlantCapsuleSpaceOdds12, piranhaPlantCapsuleSpaceOdds34, spearGuyCapsulePrice12, spearGuyCapsulePrice34, spearGuyCapsuleShopOdds12, spearGuyCapsuleShopOdds34, spearGuyCapsuleSpaceOdds12, spearGuyCapsuleSpaceOdds34, kamekCapsulePrice12, kamekCapsulePrice34, kamekCapsuleShopOdds12, kamekCapsuleShopOdds34, kamekCapsuleSpaceOdds12, kamekCapsuleSpaceOdds34, toadyCapsulePrice12, toadyCapsulePrice34, toadyCapsuleShopOdds12, toadyCapsuleShopOdds34, toadyCapsuleSpaceOdds12, toadyCapsuleSpaceOdds34, mrBlizzardCapsulePrice12, mrBlizzardCapsulePrice34, mrBlizzardCapsuleShopOdds12, mrBlizzardCapsulePrice34, mrBlizzardCapsuleSpaceOdds12, mrBlizzardCapsulePrice34, banditCapsulePrice12, banditCapsulePrice34, banditCapsuleShopOdds12, banditCapsuleShopOdds34, banditCapsuleSpaceOdds12, banditCapsuleSpaceOdds34, pinkBooCapsulePrice12, pinkBooCapsulePrice34, pinkBooCapsuleShopOdds12, pinkBooCapsuleShopOdds34, pinkBooCapsuleSpaceOdds12, pinkBooCapsuleSpaceOdds34, spinyCapsulePrice12, spinyCapsulePrice34, spinyCapsuleShopOdds12, spinyCapsuleShopOdds34, spinyCapsuleSpaceOdds12, spinyCapsuleSpaceOdds34, zapCapsulePrice12, zapCapsulePrice34, zapCapsuleShopOdds12, zapCapsuleShopOdds34, zapCapsuleSpaceOdds12, zapCapsuleSpaceOdds34, tweesterCapsulePrice12, tweesterCapsulePrice34, tweesterCapsuleShopOdds12, tweesterCapsuleShopOdds34, tweesterCapsuleSpaceOdds12, tweesterCapsuleSpaceOdds34, thwompCapsulePrice12, thwompCapsulePrice34, thwompCapsuleShopOdds12, thwompCapsuleShopOdds34, thwompCapsuleSpaceOdds12, thwompCapsuleSpaceOdds34, warpCapsulePrice12, warpCapsulePrice34, warpCapsuleShopOdds12, warpCapsuleShopOdds34, warpCapsuleSpaceOdds12, warpCapsuleSpaceOdds34, bombCapsulePrice12, bombCapsulePrice34, bombCapsuleShopOdds12, bombCapsuleShopOdds34, bombCapsuleSpaceOdds12, bombCapsuleSpaceOdds34, fireballCapsulePrice12, fireballCapsulePrice34, fireballCapsuleShopOdds12, fireballCapsuleShopOdds34, fireballCapsuleSpaceOdds12, fireballCapsuleSpaceOdds34, flowerCapsulePrice12, flowerCapsulePrice34, flowerCapsuleShopOdds12, flowerCapsuleShopOdds34, flowerCapsuleSpaceOdds12, flowerCapsuleSpaceOdds34, eggCapsulePrice12, eggCapsulePrice34, eggCapsuleShopOdds12, eggCapsuleShopOdds34, eggCapsuleSpaceOdds12, eggCapsuleSpaceOdds34, vacuumCapsulePrice12, vacuumCapsulePrice34, vacuumCapsuleShopOdds12, vacuumCapsuleShopOdds34, vacuumCapsuleSpaceOdds12, vacuumCapsuleSpaceOdds34, magicCapsulePrice12, magicCapsulePrice34, magicCapsuleShopOdds12, magicCapsuleShopOdds34, magicCapsuleSpaceOdds12, magicCapsuleSpaceOdds34, tripleCapsulePrice12, tripleCapsulePrice34, tripleCapsuleShopOdds12, tripleCapsuleShopOdds34, tripleCapsuleSpaceOdds12, tripleCapsuleSpaceOdds34, koopaCapsulePrice12, koopaCapsulePrice34, koopaCapsuleShopOdds12, koopaCapsuleShopOdds34, koopaCapsuleSpaceOdds12, koopaCapsuleSpaceOdds34, poisonMushroomPrice34, poisonMushroomPrice12, poisonMushroomShopOdds12, poisonMushroomShopOdds34, poisonMushroomSpaceOdds12, poisonMushroomSpaceOdds34, orbBagCapsulePrice34, orbBagCapsulePrice12, orbBagCapsuleShopOdds12, orbBagCapsuleShopOdds34, orbBagCapsuleSpaceOdds12, orbBagCapsuleSpaceOdds34, mysteryCapsulePrice34, mysteryCapsulePrice12, mysteryCapsuleShopOdds12, mysteryCapsuleShopOdds34, mysteryCapsuleSpaceOdds12, mysteryCapsuleSpaceOdds34, dkCapsulePrice34, dkCapsulePrice12, dkCapsuleShopOdds12, dkCapsuleShopOdds34, dkCapsuleSpaceOdds12, dkCapsuleSpaceOdds34, duelCapsulePrice34, duelCapsulePrice12, duelCapsuleShopOdds12, duelCapsuleShopOdds34, duelCapsuleSpaceOdds12, duelCapsuleSpaceOdds34) generatedCode = generatedCode.strip() pyperclip.copy(generatedCode) print("Generated code copied to the clipboard.") createDialog("Operation Sucessful", "success", "Generated codes copied to clipboard!.", None) -def savePresetItems7(mushroomCapsuleWeight7, goldenMushroomCapsulePrice7, goldenMushroomCapsuleWeight7, slowMushroomCapsulePrice7, slowMushroomCapsuleWeight7, metalMushroomCapsulePrice7, metalMushroomCapsuleWeight7, flutterCapsulePrice7, flutterCapsuleWeight7, cannonCapsulePrice7, cannonCapsuleWeight7, snackCapsulePrice7, snackCapsuleWeight7, lakituCapsulePrice7, lakituCapsuleWeight7, hammerBroCapsulePrice7, hammerBroCapsuleWeight7, plantCapsulePrice7, plantCapsuleWeight7, spearCapsulePrice7, spearCapsuleWeight7, kamekCapsulePrice7, kamekCapsuleWeight7, toadyCapsulePrice7, toadyCapsuleWeight7, blizzardCapsulePrice7, blizzardCapsuleWeight7, banditCapsulePrice7, banditCapsuleWeight7, pinkBooCapsulePrice7, pinkBooCapsuleWeight7, spinyCapsulePrice7, spinyCapsuleWeight7, zapCapsulePrice7, zapCapsuleWeight7, tweesterCapsulePrice7, tweesterCapsuleWeight7, thwompCapsulePrice7, thwompCapsuleWeight7, warpCapsulePrice7, warpCapsuleWeight7, bombCapsulePrice7, bombCapsuleWeight7, fireballCapsulePrice7, fireballCapsuleWeight7, flowerCapsulePrice7, flowerCapsuleWeight7, eggCapsulePrice7, eggCapsuleWeight7, vacuumCapsulePrice7, vacuumCapsuleWeight7, magicCapsulePrice7, magicCapsuleWeight7, tripleCapsulePrice7, tripleCapsuleWeight7, koopaCapsulePrice7, koopaCapsuleWeight7, posionMushroomWeight7, posionMushroomPrice7, dkCapsuleWeight7, dkCapsulePrice7, orbBagCapsuleWeight7, orbBagCapsulePrice7, duelCapsuleWeight7, duelCapsulePrice7, mysteryCapsuleWeight7, mysteryCapsulePrice7): - if not mushroomCapsuleWeight7.get() or not goldenMushroomCapsulePrice7.get() or not goldenMushroomCapsuleWeight7.get() or not slowMushroomCapsulePrice7.get() or not slowMushroomCapsuleWeight7.get() or not metalMushroomCapsulePrice7.get() or not metalMushroomCapsuleWeight7.get() or not flutterCapsulePrice7.get() or not flutterCapsuleWeight7.get() or not cannonCapsulePrice7.get() or not cannonCapsuleWeight7.get() or not snackCapsulePrice7.get() or not snackCapsuleWeight7.get() or not lakituCapsulePrice7.get() or not lakituCapsuleWeight7.get() or not hammerBroCapsuleWeight7.get() or not hammerBroCapsulePrice7.get() or not plantCapsulePrice7.get() or not plantCapsuleWeight7.get() or not spearCapsuleWeight7.get() or not spearCapsulePrice7.get() or not kamekCapsuleWeight7.get() or not kamekCapsulePrice7.get() or not toadyCapsuleWeight7.get() or not toadyCapsulePrice7.get() or not blizzardCapsuleWeight7.get() or not blizzardCapsulePrice7.get() or not banditCapsulePrice7.get() or not banditCapsuleWeight7.get() or not pinkBooCapsuleWeight7.get() or not pinkBooCapsulePrice7.get() or not spinyCapsulePrice7.get() or not spinyCapsuleWeight7.get() or not zapCapsulePrice7.get() or not zapCapsuleWeight7.get() or not tweesterCapsulePrice7.get() or not tweesterCapsuleWeight7.get() or not thwompCapsulePrice7.get() or not thwompCapsuleWeight7.get() or not warpCapsulePrice7.get() or not warpCapsuleWeight7.get() or not bombCapsulePrice7.get() or not bombCapsuleWeight7.get() or not fireballCapsulePrice7.get() or not fireballCapsuleWeight7.get() or not eggCapsulePrice7.get() or not eggCapsuleWeight7.get() or not flowerCapsulePrice7.get() or not flowerCapsuleWeight7.get() or not vacuumCapsulePrice7.get() or not vacuumCapsuleWeight7.get() or not magicCapsulePrice7.get() or not magicCapsuleWeight7.get() or not tripleCapsulePrice7.get() or not tripleCapsuleWeight7.get() or not koopaCapsulePrice7.get() or not koopaCapsuleWeight7.get(): - if sys.platform == "darwin": - createDialog("Error", "error", "Please fill out all the boxes.", None) - else: - createDialog("Error", "error", "Please fill out all the boxes.", None) - return +def savePresetItems7(mushroomCapsuleShopOdds12 = "0", mushroomCapsuleShopOdds34 = "0", mushroomCapsuleSpaceOdds12 = "0", mushroomCapsuleSpaceOdds34 = "0", goldenMushroomCapsulePrice12 = "0", goldenMushroomCapsulePrice34 = "0", goldenMushroomCapsuleShopOdds12 = "0", goldenMushroomCapsuleShopOdds34 = "0", goldenMushroomCapsuleSpaceOdds12 = "0", goldenMushroomCapsuleSpaceOdds34 = "0", slowMushroomCapsulePrice12 = "0", slowMushroomCapsulePrice34 = "0", slowMushroomCapsuleShopOdds12 = "0", slowMushroomCapsuleShopOdds34 = "0", slowMushroomCapsuleSpaceOdds12 = "0", slowMushroomCapsuleSpaceOdds34 = "0", metalMushroomCapsulePrice12 = "0", metalMushroomCapsulePrice34 = "0", metalMushroomCapsuleShopOdds12 = "0", metalMushroomCapsuleShopOdds34 = "0", metalMushroomCapsuleSpaceOdds12 = "0", metalMushroomCapsuleSpaceOdds34 = "0", flutterCapsulePrice12 = "0", flutterCapsulePrice34 = "0", flutterCapsuleShopOdds12 = "0", flutterCapsuleShopOdds34 = "0", flutterCapsuleSpaceOdds12 = "0", flutterCapsuleSpaceOdds34 = "0", cannonCapsulePrice12 = "0", cannonCapsulePrice34 = "0", cannonCapsuleShopOdds12 = "0", cannonCapsuleShopOdds34 = "0", cannonCapsuleSpaceOdds12 = "0", cannonCapsuleSpaceOdds34 = "0", snackCapsulePrice12 = "0", snackCapsulePrice34 = "0", snackCapsuleShopOdds12 = "0", snackCapsuleShopOdds34 = "0", snackCapsuleSpaceOdds12 = "0", snackCapsuleSpaceOdds34 = "0", lakituCapsulePrice12 = "0", lakituCapsulePrice34 = "0", lakituCapsuleShopOdds12 = "0", lakituCapsuleShopOdds34 = "0", lakituCapsuleSpaceOdds12 = "0", lakituCapsuleSpaceOdds34 = "0", hammerBroCapsulePrice12 = "0", hammerBroCapsulePrice34 = "0", hammerBroCapsuleShopOdds12 = "0", hammerBroCapsuleShopOdds34 = "0", hammerBroCapsuleSpaceOdds12 = "0", hammerBroCapsuleSpaceOdds34 = "0", piranhaPlantCapsulePrice12 = "0", piranhaPlantCapsulePrice34 = "0", piranhaPlantCapsuleShopOdds12 = "0", piranhaPlantCapsuleShopOdds34 = "0", piranhaPlantCapsuleSpaceOdds12 = "0", piranhaPlantCapsuleSpaceOdds34 = "0", spearGuyCapsulePrice12 = "0", spearGuyCapsulePrice34 = "0", spearGuyCapsuleShopOdds12 = "0", spearGuyCapsuleShopOdds34 = "0", spearGuyCapsuleSpaceOdds12 = "0", spearGuyCapsuleSpaceOdds34 = "0", kamekCapsulePrice12 = "0", kamekCapsulePrice34 = "0", kamekCapsuleShopOdds12 = "0", kamekCapsuleShopOdds34 = "0", kamekCapsuleSpaceOdds12 = "0", kamekCapsuleSpaceOdds34 = "0", toadyCapsulePrice12 = "0", toadyCapsulePrice34 = "0", toadyCapsuleShopOdds12 = "0", toadyCapsuleShopOdds34 = "0", toadyCapsuleSpaceOdds12 = "0", toadyCapsuleSpaceOdds34 = "0", mrBlizzardCapsulePrice12 = "0", mrBlizzardCapsulePrice34 = "0", mrBlizzardCapsuleShopOdds12 = "0", mrBlizzardCapsuleShopOdds34 = "0", mrBlizzardCapsuleSpaceOdds12 = "0", mrBlizzardCapsuleSpaceOdds34 = "0", banditCapsulePrice12 = "0", banditCapsulePrice34 = "0", banditCapsuleShopOdds12 = "0", banditCapsuleShopOdds34 = "0", banditCapsuleSpaceOdds12 = "0", banditCapsuleSpaceOdds34 = "0", pinkBooCapsulePrice12 = "0", pinkBooCapsulePrice34 = "0", pinkBooCapsuleShopOdds12 = "0", pinkBooCapsuleShopOdds34 = "0", pinkBooCapsuleSpaceOdds12 = "0", pinkBooCapsuleSpaceOdds34 = "0", spinyCapsulePrice12 = "0", spinyCapsulePrice34 = "0", spinyCapsuleShopOdds12 = "0", spinyCapsuleShopOdds34 = "0", spinyCapsuleSpaceOdds12 = "0", spinyCapsuleSpaceOdds34 = "0", zapCapsulePrice12 = "0", zapCapsulePrice34 = "0", zapCapsuleShopOdds12 = "0", zapCapsuleShopOdds34 = "0", zapCapsuleSpaceOdds12 = "0", zapCapsuleSpaceOdds34 = "0", tweesterCapsulePrice12 = "0", tweesterCapsulePrice34 = "0", tweesterCapsuleShopOdds12 = "0", tweesterCapsuleShopOdds34 = "0", tweesterCapsuleSpaceOdds12 = "0", tweesterCapsuleSpaceOdds34 = "0", thwompCapsulePrice12 = "0", thwompCapsulePrice34 = "0", thwompCapsuleShopOdds12 = "0", thwompCapsuleShopOdds34 = "0", thwompCapsuleSpaceOdds12 = "0", thwompCapsuleSpaceOdds34 = "0", warpCapsulePrice12 = "0", warpCapsulePrice34 = "0", warpCapsuleShopOdds12 = "0", warpCapsuleShopOdds34 = "0", warpCapsuleSpaceOdds12 = "0", warpCapsuleSpaceOdds34 = "0", bombCapsulePrice12 = "0", bombCapsulePrice34 = "0", bombCapsuleShopOdds12 = "0", bombCapsuleShopOdds34 = "0", bombCapsuleSpaceOdds12 = "0", bombCapsuleSpaceOdds34 = "0", fireballCapsulePrice12 = "0", fireballCapsulePrice34 = "0", fireballCapsuleShopOdds12 = "0", fireballCapsuleShopOdds34 = "0", fireballCapsuleSpaceOdds12 = "0", fireballCapsuleSpaceOdds34 = "0", flowerCapsulePrice12 = "0", flowerCapsulePrice34 = "0", flowerCapsuleShopOdds12 = "0", flowerCapsuleShopOdds34 = "0", flowerCapsuleSpaceOdds12 = "0", flowerCapsuleSpaceOdds34 = "0", eggCapsulePrice12 = "0", eggCapsulePrice34 = "0", eggCapsuleShopOdds12 = "0", eggCapsuleShopOdds34 = "0", eggCapsuleSpaceOdds12 = "0", eggCapsuleSpaceOdds34 = "0", vacuumCapsulePrice12 = "0", vacuumCapsulePrice34 = "0", vacuumCapsuleShopOdds12 = "0", vacuumCapsuleShopOdds34 = "0", vacuumCapsuleSpaceOdds12 = "0", vacuumCapsuleSpaceOdds34 = "0", magicCapsulePrice12 = "0", magicCapsulePrice34 = "0", magicCapsuleShopOdds12 = "0", magicCapsuleShopOdds34 = "0", magicCapsuleSpaceOdds12 = "0", magicCapsuleSpaceOdds34 = "0", tripleCapsulePrice12 = "0", tripleCapsulePrice34 = "0", tripleCapsuleShopOdds12 = "0", tripleCapsuleShopOdds34 = "0", tripleCapsuleSpaceOdds12 = "0", tripleCapsuleSpaceOdds34 = "0", koopaCapsulePrice12 = "0", koopaCapsulePrice34 = "0", koopaCapsuleShopOdds12 = "0", koopaCapsuleShopOdds34 = "0", koopaCapsuleSpaceOdds12 = "0", koopaCapsuleSpaceOdds34 = "0", poisonMushroomPrice34 = "0", poisonMushroomPrice12 = "0", poisonMushroomShopOdds12 = "0", poisonMushroomShopOdds34 = "0", poisonMushroomSpaceOdds12 = "0", poisonMushroomSpaceOdds34 = "0", orbBagCapsulePrice34 = "0", orbBagCapsulePrice12 = "0", orbBagCapsuleShopOdds12 = "0", orbBagCapsuleShopOdds34 = "0", orbBagCapsuleSpaceOdds12 = "0", orbBagCapsuleSpaceOdds34 = "0", mysteryCapsulePrice34 = "0", mysteryCapsulePrice12 = "0", mysteryCapsuleShopOdds12 = "0", mysteryCapsuleShopOdds34 = "0", mysteryCapsuleSpaceOdds12 = "0", mysteryCapsuleSpaceOdds34 = "0", dkCapsulePrice34 = "0", dkCapsulePrice12 = "0", dkCapsuleShopOdds12 = "0", dkCapsuleShopOdds34 = "0", dkCapsuleSpaceOdds12 = "0", dkCapsuleSpaceOdds34 = "0", duelCapsulePrice34 = "0", duelCapsulePrice12 = "0", duelCapsuleShopOdds12 = "0", duelCapsuleShopOdds34 = "0", duelCapsuleSpaceOdds12 = "0", duelCapsuleSpaceOdds34 = "0"): + def get_capsule_value(capsule): + try: + return capsule.get() + except: + return 0 + + mushroomCapsulePrice12 = "5" + mushroomCapsulePrice34 = "5" + mushroomCapsuleShopOdds12 = get_capsule_value(mushroomCapsuleShopOdds12) + mushroomCapsuleShopOdds34 = get_capsule_value(mushroomCapsuleShopOdds34) + mushroomCapsuleSpaceOdds12 = get_capsule_value(mushroomCapsuleSpaceOdds12) + mushroomCapsuleSpaceOdds34 = get_capsule_value(mushroomCapsuleSpaceOdds34) + goldenMushroomCapsulePrice12 = get_capsule_value(goldenMushroomCapsulePrice12) + goldenMushroomCapsulePrice34 = get_capsule_value(goldenMushroomCapsulePrice34) + goldenMushroomCapsuleShopOdds12 = get_capsule_value(goldenMushroomCapsuleShopOdds12) + goldenMushroomCapsuleShopOdds34 = get_capsule_value(goldenMushroomCapsuleShopOdds34) + goldenMushroomCapsuleSpaceOdds12 = get_capsule_value(goldenMushroomCapsuleSpaceOdds12) + goldenMushroomCapsuleSpaceOdds34 = get_capsule_value(goldenMushroomCapsuleSpaceOdds34) + slowMushroomCapsulePrice12 = get_capsule_value(slowMushroomCapsulePrice12) + slowMushroomCapsulePrice34 = get_capsule_value(slowMushroomCapsulePrice34) + slowMushroomCapsuleShopOdds12 = get_capsule_value(slowMushroomCapsuleShopOdds12) + slowMushroomCapsuleShopOdds34 = get_capsule_value(slowMushroomCapsuleShopOdds34) + slowMushroomCapsuleSpaceOdds12 = get_capsule_value(slowMushroomCapsuleSpaceOdds12) + slowMushroomCapsuleSpaceOdds34 = get_capsule_value(slowMushroomCapsuleSpaceOdds34) + metalMushroomCapsulePrice12 = get_capsule_value(metalMushroomCapsulePrice12) + metalMushroomCapsulePrice34 = get_capsule_value(metalMushroomCapsulePrice34) + metalMushroomCapsuleShopOdds12 = get_capsule_value(metalMushroomCapsuleShopOdds12) + metalMushroomCapsuleShopOdds34 = get_capsule_value(metalMushroomCapsuleShopOdds34) + metalMushroomCapsuleSpaceOdds12 = get_capsule_value(metalMushroomCapsuleSpaceOdds12) + metalMushroomCapsuleSpaceOdds34 = get_capsule_value(metalMushroomCapsuleSpaceOdds34) + flutterCapsulePrice12 = get_capsule_value(flutterCapsulePrice12) + flutterCapsulePrice34 = get_capsule_value(flutterCapsulePrice34) + flutterCapsuleShopOdds12 = get_capsule_value(flutterCapsuleShopOdds12) + flutterCapsuleShopOdds34 = get_capsule_value(flutterCapsuleShopOdds34) + flutterCapsuleSpaceOdds12 = get_capsule_value(flutterCapsuleSpaceOdds12) + flutterCapsuleSpaceOdds34 = get_capsule_value(flutterCapsuleSpaceOdds34) + cannonCapsulePrice12 = get_capsule_value(cannonCapsulePrice12) + cannonCapsulePrice34 = get_capsule_value(cannonCapsulePrice34) + cannonCapsuleShopOdds12 = get_capsule_value(cannonCapsuleShopOdds12) + cannonCapsuleShopOdds34 = get_capsule_value(cannonCapsuleShopOdds34) + cannonCapsuleSpaceOdds12 = get_capsule_value(cannonCapsuleSpaceOdds12) + cannonCapsuleSpaceOdds34 = get_capsule_value(cannonCapsuleSpaceOdds34) + snackCapsulePrice12 = get_capsule_value(snackCapsulePrice12) + snackCapsulePrice34 = get_capsule_value(snackCapsulePrice34) + snackCapsuleShopOdds12 = get_capsule_value(snackCapsuleShopOdds12) + snackCapsuleShopOdds34 = get_capsule_value(snackCapsuleShopOdds34) + snackCapsuleSpaceOdds12 = get_capsule_value(snackCapsuleSpaceOdds12) + snackCapsuleSpaceOdds34 = get_capsule_value(snackCapsuleSpaceOdds34) + lakituCapsulePrice12 = get_capsule_value(lakituCapsulePrice12) + lakituCapsulePrice34 = get_capsule_value(lakituCapsulePrice34) + lakituCapsuleShopOdds12 = get_capsule_value(lakituCapsuleShopOdds12) + lakituCapsuleShopOdds34 = get_capsule_value(lakituCapsuleShopOdds34) + lakituCapsuleSpaceOdds12 = get_capsule_value(lakituCapsuleSpaceOdds12) + lakituCapsuleSpaceOdds34 = get_capsule_value(lakituCapsuleSpaceOdds34) + hammerBroCapsulePrice12 = get_capsule_value(hammerBroCapsulePrice12) + hammerBroCapsulePrice34 = get_capsule_value(hammerBroCapsulePrice34) + hammerBroCapsuleShopOdds12 = get_capsule_value(hammerBroCapsuleShopOdds12) + hammerBroCapsuleShopOdds34 = get_capsule_value(hammerBroCapsuleShopOdds34) + hammerBroCapsuleSpaceOdds12 = get_capsule_value(hammerBroCapsuleSpaceOdds12) + hammerBroCapsuleSpaceOdds34 = get_capsule_value(hammerBroCapsuleSpaceOdds34) + piranhaPlantCapsulePrice12 = get_capsule_value(piranhaPlantCapsulePrice12) + piranhaPlantCapsulePrice34 = get_capsule_value(piranhaPlantCapsulePrice34) + piranhaPlantCapsuleShopOdds12 = get_capsule_value(piranhaPlantCapsuleShopOdds12) + piranhaPlantCapsuleShopOdds34 = get_capsule_value(piranhaPlantCapsuleShopOdds34) + piranhaPlantCapsuleSpaceOdds12 = get_capsule_value(piranhaPlantCapsuleSpaceOdds12) + piranhaPlantCapsuleSpaceOdds34 = get_capsule_value(piranhaPlantCapsuleSpaceOdds34) + spearGuyCapsulePrice12 = get_capsule_value(spearGuyCapsulePrice12) + spearGuyCapsulePrice34 = get_capsule_value(spearGuyCapsulePrice34) + spearGuyCapsuleShopOdds12 = get_capsule_value(spearGuyCapsuleShopOdds12) + spearGuyCapsuleShopOdds34 = get_capsule_value(spearGuyCapsuleShopOdds34) + spearGuyCapsuleSpaceOdds12 = get_capsule_value(spearGuyCapsuleSpaceOdds12) + spearGuyCapsuleSpaceOdds34 = get_capsule_value(spearGuyCapsuleSpaceOdds34) + kamekCapsulePrice12 = get_capsule_value(kamekCapsulePrice12) + kamekCapsulePrice34 = get_capsule_value(kamekCapsulePrice34) + kamekCapsuleShopOdds12 = get_capsule_value(kamekCapsuleShopOdds12) + kamekCapsuleShopOdds34 = get_capsule_value(kamekCapsuleShopOdds34) + kamekCapsuleSpaceOdds12 = get_capsule_value(kamekCapsuleSpaceOdds12) + kamekCapsuleSpaceOdds34 = get_capsule_value(kamekCapsuleSpaceOdds34) + toadyCapsulePrice12 = get_capsule_value(toadyCapsulePrice12) + toadyCapsulePrice34 = get_capsule_value(toadyCapsulePrice34) + toadyCapsuleShopOdds12 = get_capsule_value(toadyCapsuleShopOdds12) + toadyCapsuleShopOdds34 = get_capsule_value(toadyCapsuleShopOdds34) + toadyCapsuleSpaceOdds12 = get_capsule_value(toadyCapsuleSpaceOdds12) + toadyCapsuleSpaceOdds34 = get_capsule_value(toadyCapsuleSpaceOdds34) + mrBlizzardCapsulePrice12 = get_capsule_value(mrBlizzardCapsulePrice12) + mrBlizzardCapsulePrice34 = get_capsule_value(mrBlizzardCapsulePrice34) + mrBlizzardCapsuleShopOdds12 = get_capsule_value(mrBlizzardCapsuleShopOdds12) + mrBlizzardCapsuleShopOdds34 = get_capsule_value(mrBlizzardCapsuleShopOdds34) + mrBlizzardCapsuleSpaceOdds12 = get_capsule_value(mrBlizzardCapsuleSpaceOdds12) + mrBlizzardCapsuleSpaceOdds34 = get_capsule_value(mrBlizzardCapsuleSpaceOdds34) + banditCapsulePrice12 = get_capsule_value(banditCapsulePrice12) + banditCapsulePrice34 = get_capsule_value(banditCapsulePrice34) + banditCapsuleShopOdds12 = get_capsule_value(banditCapsuleShopOdds12) + banditCapsuleShopOdds34 = get_capsule_value(banditCapsuleShopOdds34) + banditCapsuleSpaceOdds12 = get_capsule_value(banditCapsuleSpaceOdds12) + banditCapsuleSpaceOdds34 = get_capsule_value(banditCapsuleSpaceOdds34) + pinkBooCapsulePrice12 = get_capsule_value(pinkBooCapsulePrice12) + pinkBooCapsulePrice34 = get_capsule_value(pinkBooCapsulePrice34) + pinkBooCapsuleShopOdds12 = get_capsule_value(pinkBooCapsuleShopOdds12) + pinkBooCapsuleShopOdds34 = get_capsule_value(pinkBooCapsuleShopOdds34) + pinkBooCapsuleSpaceOdds12 = get_capsule_value(pinkBooCapsuleSpaceOdds12) + pinkBooCapsuleSpaceOdds34 = get_capsule_value(pinkBooCapsuleSpaceOdds34) + spinyCapsulePrice12 = get_capsule_value(spinyCapsulePrice12) + spinyCapsulePrice34 = get_capsule_value(spinyCapsulePrice34) + spinyCapsuleShopOdds12 = get_capsule_value(spinyCapsuleShopOdds12) + spinyCapsuleShopOdds34 = get_capsule_value(spinyCapsuleShopOdds34) + spinyCapsuleSpaceOdds12 = get_capsule_value(spinyCapsuleSpaceOdds12) + spinyCapsuleSpaceOdds34 = get_capsule_value(spinyCapsuleSpaceOdds34) + zapCapsulePrice12 = get_capsule_value(zapCapsulePrice12) + zapCapsulePrice34 = get_capsule_value(zapCapsulePrice34) + zapCapsuleShopOdds12 = get_capsule_value(zapCapsuleShopOdds12) + zapCapsuleShopOdds34 = get_capsule_value(zapCapsuleShopOdds34) + zapCapsuleSpaceOdds12 = get_capsule_value(zapCapsuleSpaceOdds12) + zapCapsuleSpaceOdds34 = get_capsule_value(zapCapsuleSpaceOdds34) + tweesterCapsulePrice12 = get_capsule_value(tweesterCapsulePrice12) + tweesterCapsulePrice34 = get_capsule_value(tweesterCapsulePrice34) + tweesterCapsuleShopOdds12 = get_capsule_value(tweesterCapsuleShopOdds12) + tweesterCapsuleShopOdds34 = get_capsule_value(tweesterCapsuleShopOdds34) + tweesterCapsuleSpaceOdds12 = get_capsule_value(tweesterCapsuleSpaceOdds12) + tweesterCapsuleSpaceOdds34 = get_capsule_value(tweesterCapsuleSpaceOdds34) + thwompCapsulePrice12 = get_capsule_value(thwompCapsulePrice12) + thwompCapsulePrice34 = get_capsule_value(thwompCapsulePrice34) + thwompCapsuleShopOdds12 = get_capsule_value(thwompCapsuleShopOdds12) + thwompCapsuleShopOdds34 = get_capsule_value(thwompCapsuleShopOdds34) + thwompCapsuleSpaceOdds12 = get_capsule_value(thwompCapsuleSpaceOdds12) + thwompCapsuleSpaceOdds34 = get_capsule_value(thwompCapsuleSpaceOdds34) + warpCapsulePrice12 = get_capsule_value(warpCapsulePrice12) + warpCapsulePrice34 = get_capsule_value(warpCapsulePrice34) + warpCapsuleShopOdds12 = get_capsule_value(warpCapsuleShopOdds12) + warpCapsuleShopOdds34 = get_capsule_value(warpCapsuleShopOdds34) + warpCapsuleSpaceOdds12 = get_capsule_value(warpCapsuleSpaceOdds12) + warpCapsuleSpaceOdds34 = get_capsule_value(warpCapsuleSpaceOdds34) + bombCapsulePrice12 = get_capsule_value(bombCapsulePrice12) + bombCapsulePrice34 = get_capsule_value(bombCapsulePrice34) + bombCapsuleShopOdds12 = get_capsule_value(bombCapsuleShopOdds12) + bombCapsuleShopOdds34 = get_capsule_value(bombCapsuleShopOdds34) + bombCapsuleSpaceOdds12 = get_capsule_value(bombCapsuleSpaceOdds12) + bombCapsuleSpaceOdds34 = get_capsule_value(bombCapsuleSpaceOdds34) + fireballCapsulePrice12 = get_capsule_value(fireballCapsulePrice12) + fireballCapsulePrice34 = get_capsule_value(fireballCapsulePrice34) + fireballCapsuleShopOdds12 = get_capsule_value(fireballCapsuleShopOdds12) + fireballCapsuleShopOdds34 = get_capsule_value(fireballCapsuleShopOdds34) + fireballCapsuleSpaceOdds12 = get_capsule_value(fireballCapsuleSpaceOdds12) + fireballCapsuleSpaceOdds34 = get_capsule_value(fireballCapsuleSpaceOdds34) + flowerCapsulePrice12 = get_capsule_value(flowerCapsulePrice12) + flowerCapsulePrice34 = get_capsule_value(flowerCapsulePrice34) + flowerCapsuleShopOdds12 = get_capsule_value(flowerCapsuleShopOdds12) + flowerCapsuleShopOdds34 = get_capsule_value(flowerCapsuleShopOdds34) + flowerCapsuleSpaceOdds12 = get_capsule_value(flowerCapsuleSpaceOdds12) + flowerCapsuleSpaceOdds34 = get_capsule_value(flowerCapsuleSpaceOdds34) + eggCapsulePrice12 = get_capsule_value(eggCapsulePrice12) + eggCapsulePrice34 = get_capsule_value(eggCapsulePrice34) + eggCapsuleShopOdds12 = get_capsule_value(eggCapsuleShopOdds12) + eggCapsuleShopOdds34 = get_capsule_value(eggCapsuleShopOdds34) + eggCapsuleSpaceOdds12 = get_capsule_value(eggCapsuleSpaceOdds12) + eggCapsuleSpaceOdds34 = get_capsule_value(eggCapsuleSpaceOdds34) + vacuumCapsulePrice12 = get_capsule_value(vacuumCapsulePrice12) + vacuumCapsulePrice34 = get_capsule_value(vacuumCapsulePrice34) + vacuumCapsuleShopOdds12 = get_capsule_value(vacuumCapsuleShopOdds12) + vacuumCapsuleShopOdds34 = get_capsule_value(vacuumCapsuleShopOdds34) + vacuumCapsuleSpaceOdds12 = get_capsule_value(vacuumCapsuleSpaceOdds12) + vacuumCapsuleSpaceOdds34 = get_capsule_value(vacuumCapsuleSpaceOdds34) + magicCapsulePrice12 = get_capsule_value(magicCapsulePrice12) + magicCapsulePrice34 = get_capsule_value(magicCapsulePrice34) + magicCapsuleShopOdds12 = get_capsule_value(magicCapsuleShopOdds12) + magicCapsuleShopOdds34 = get_capsule_value(magicCapsuleShopOdds34) + magicCapsuleSpaceOdds12 = get_capsule_value(magicCapsuleSpaceOdds12) + magicCapsuleSpaceOdds34 = get_capsule_value(magicCapsuleSpaceOdds34) + tripleCapsulePrice12 = get_capsule_value(tripleCapsulePrice12) + tripleCapsulePrice34 = get_capsule_value(tripleCapsulePrice34) + tripleCapsuleShopOdds12 = get_capsule_value(tripleCapsuleShopOdds12) + tripleCapsuleShopOdds34 = get_capsule_value(tripleCapsuleShopOdds34) + tripleCapsuleSpaceOdds12 = get_capsule_value(tripleCapsuleSpaceOdds12) + tripleCapsuleSpaceOdds34 = get_capsule_value(tripleCapsuleSpaceOdds34) + koopaCapsulePrice12 = get_capsule_value(koopaCapsulePrice12) + koopaCapsulePrice34 = get_capsule_value(koopaCapsulePrice34) + koopaCapsuleShopOdds12 = get_capsule_value(koopaCapsuleShopOdds12) + koopaCapsuleShopOdds34 = get_capsule_value(koopaCapsuleShopOdds34) + koopaCapsuleSpaceOdds12 = get_capsule_value(koopaCapsuleSpaceOdds12) + koopaCapsuleSpaceOdds34 = get_capsule_value(koopaCapsuleSpaceOdds34) + poisonMushroomPrice12 = get_capsule_value(poisonMushroomPrice12) + poisonMushroomPrice34 = get_capsule_value(poisonMushroomPrice34) + poisonMushroomShopOdds12 = get_capsule_value(poisonMushroomShopOdds12) + poisonMushroomShopOdds34 = get_capsule_value(poisonMushroomShopOdds34) + poisonMushroomSpaceOdds12 = get_capsule_value(poisonMushroomSpaceOdds12) + poisonMushroomSpaceOdds34 = get_capsule_value(poisonMushroomSpaceOdds34) + orbBagCapsulePrice12 = get_capsule_value(orbBagCapsulePrice12) + orbBagCapsulePrice34 = get_capsule_value(orbBagCapsulePrice34) + orbBagCapsuleShopOdds12 = get_capsule_value(orbBagCapsuleShopOdds12) + orbBagCapsuleShopOdds34 = get_capsule_value(orbBagCapsuleShopOdds34) + orbBagCapsuleSpaceOdds12 = get_capsule_value(orbBagCapsuleSpaceOdds12) + orbBagCapsuleSpaceOdds34 = get_capsule_value(orbBagCapsuleSpaceOdds34) + mysteryCapsulePrice12 = get_capsule_value(mysteryCapsulePrice12) + mysteryCapsulePrice34 = get_capsule_value(mysteryCapsulePrice34) + mysteryCapsuleShopOdds12 = get_capsule_value(mysteryCapsuleShopOdds12) + mysteryCapsuleShopOdds34 = get_capsule_value(mysteryCapsuleShopOdds34) + mysteryCapsuleSpaceOdds12 = get_capsule_value(mysteryCapsuleSpaceOdds12) + mysteryCapsuleSpaceOdds34 = get_capsule_value(mysteryCapsuleSpaceOdds34) + dkCapsulePrice12 = get_capsule_value(dkCapsulePrice12) + dkCapsulePrice34 = get_capsule_value(dkCapsulePrice34) + dkCapsuleShopOdds12 = get_capsule_value(dkCapsuleShopOdds12) + dkCapsuleShopOdds34 = get_capsule_value(dkCapsuleShopOdds34) + dkCapsuleSpaceOdds12 = get_capsule_value(dkCapsuleSpaceOdds12) + dkCapsuleSpaceOdds34 = get_capsule_value(dkCapsuleSpaceOdds34) + duelCapsulePrice12 = get_capsule_value(duelCapsulePrice12) + duelCapsulePrice34 = get_capsule_value(duelCapsulePrice34) + duelCapsuleShopOdds12 = get_capsule_value(duelCapsuleShopOdds12) + duelCapsuleShopOdds34 = get_capsule_value(duelCapsuleShopOdds34) + duelCapsuleSpaceOdds12 = get_capsule_value(duelCapsuleSpaceOdds12) + duelCapsuleSpaceOdds34 = get_capsule_value(duelCapsuleSpaceOdds34) + + mushroomCapsuleShopOdds12 = str(mushroomCapsuleShopOdds12) + mushroomCapsuleShopOdds34 = str(mushroomCapsuleShopOdds34) + mushroomCapsuleSpaceOdds12 = str(mushroomCapsuleSpaceOdds12) + mushroomCapsuleSpaceOdds34 = str(mushroomCapsuleSpaceOdds34) + goldenMushroomCapsulePrice12 = str(goldenMushroomCapsulePrice12) + goldenMushroomCapsulePrice34 = str(goldenMushroomCapsulePrice34) + goldenMushroomCapsuleShopOdds12 = str(goldenMushroomCapsuleShopOdds12) + goldenMushroomCapsuleShopOdds34 = str(goldenMushroomCapsuleShopOdds34) + goldenMushroomCapsuleSpaceOdds12 = str(goldenMushroomCapsuleSpaceOdds12) + goldenMushroomCapsuleSpaceOdds34 = str(goldenMushroomCapsuleSpaceOdds34) + slowMushroomCapsulePrice12 = str(slowMushroomCapsulePrice12) + slowMushroomCapsulePrice34 = str(slowMushroomCapsulePrice34) + slowMushroomCapsuleShopOdds12 = str(slowMushroomCapsuleShopOdds12) + slowMushroomCapsuleShopOdds34 = str(slowMushroomCapsuleShopOdds34) + slowMushroomCapsuleSpaceOdds12 = str(slowMushroomCapsuleSpaceOdds12) + slowMushroomCapsuleSpaceOdds34 = str(slowMushroomCapsuleSpaceOdds34) + metalMushroomCapsulePrice12 = str(metalMushroomCapsulePrice12) + metalMushroomCapsulePrice34 = str(metalMushroomCapsulePrice34) + metalMushroomCapsuleShopOdds12 = str(metalMushroomCapsuleShopOdds12) + metalMushroomCapsuleShopOdds34 = str(metalMushroomCapsuleShopOdds34) + metalMushroomCapsuleSpaceOdds12 = str(metalMushroomCapsuleSpaceOdds12) + metalMushroomCapsuleSpaceOdds34 = str(metalMushroomCapsuleSpaceOdds34) + flutterCapsulePrice12 = str(flutterCapsulePrice12) + flutterCapsulePrice34 = str(flutterCapsulePrice34) + flutterCapsuleShopOdds12 = str(flutterCapsuleShopOdds12) + flutterCapsuleShopOdds34 = str(flutterCapsuleShopOdds34) + flutterCapsuleSpaceOdds12 = str(flutterCapsuleSpaceOdds12) + flutterCapsuleSpaceOdds34 = str(flutterCapsuleSpaceOdds34) + cannonCapsulePrice12 = str(cannonCapsulePrice12) + cannonCapsulePrice34 = str(cannonCapsulePrice34) + cannonCapsuleShopOdds12 = str(cannonCapsuleShopOdds12) + cannonCapsuleShopOdds34 = str(cannonCapsuleShopOdds34) + cannonCapsuleSpaceOdds12 = str(cannonCapsuleSpaceOdds12) + cannonCapsuleSpaceOdds34 = str(cannonCapsuleSpaceOdds34) + snackCapsulePrice12 = str(snackCapsulePrice12) + snackCapsulePrice34 = str(snackCapsulePrice34) + snackCapsuleShopOdds12 = str(snackCapsuleShopOdds12) + snackCapsuleShopOdds34 = str(snackCapsuleShopOdds34) + snackCapsuleSpaceOdds12 = str(snackCapsuleSpaceOdds12) + snackCapsuleSpaceOdds34 = str(snackCapsuleSpaceOdds34) + lakituCapsulePrice12 = str(lakituCapsulePrice12) + lakituCapsulePrice34 = str(lakituCapsulePrice34) + lakituCapsuleShopOdds12 = str(lakituCapsuleShopOdds12) + lakituCapsuleShopOdds34 = str(lakituCapsuleShopOdds34) + lakituCapsuleSpaceOdds12 = str(lakituCapsuleSpaceOdds12) + lakituCapsuleSpaceOdds34 = str(lakituCapsuleSpaceOdds34) + hammerBroCapsulePrice12 = str(hammerBroCapsulePrice12) + hammerBroCapsulePrice34 = str(hammerBroCapsulePrice34) + hammerBroCapsuleShopOdds12 = str(hammerBroCapsuleShopOdds12) + hammerBroCapsuleShopOdds34 = str(hammerBroCapsuleShopOdds34) + hammerBroCapsuleSpaceOdds12 = str(hammerBroCapsuleSpaceOdds12) + hammerBroCapsuleSpaceOdds34 = str(hammerBroCapsuleSpaceOdds34) + piranhaPlantCapsulePrice12 = str(piranhaPlantCapsulePrice12) + piranhaPlantCapsulePrice34 = str(piranhaPlantCapsulePrice34) + piranhaPlantCapsuleShopOdds12 = str(piranhaPlantCapsuleShopOdds12) + piranhaPlantCapsuleShopOdds34 = str(piranhaPlantCapsuleShopOdds34) + piranhaPlantCapsuleSpaceOdds12 = str(piranhaPlantCapsuleSpaceOdds12) + piranhaPlantCapsuleSpaceOdds34 = str(piranhaPlantCapsuleSpaceOdds34) + spearGuyCapsulePrice12 = str(spearGuyCapsulePrice12) + spearGuyCapsulePrice34 = str(spearGuyCapsulePrice34) + spearGuyCapsuleShopOdds12 = str(spearGuyCapsuleShopOdds12) + spearGuyCapsuleShopOdds34 = str(spearGuyCapsuleShopOdds34) + spearGuyCapsuleSpaceOdds12 = str(spearGuyCapsuleSpaceOdds12) + spearGuyCapsuleSpaceOdds34 = str(spearGuyCapsuleSpaceOdds34) + kamekCapsulePrice12 = str(kamekCapsulePrice12) + kamekCapsulePrice34 = str(kamekCapsulePrice34) + kamekCapsuleShopOdds12 = str(kamekCapsuleShopOdds12) + kamekCapsuleShopOdds34 = str(kamekCapsuleShopOdds34) + kamekCapsuleSpaceOdds12 = str(kamekCapsuleSpaceOdds12) + kamekCapsuleSpaceOdds34 = str(kamekCapsuleSpaceOdds34) + toadyCapsulePrice12 = str(toadyCapsulePrice12) + toadyCapsulePrice34 = str(toadyCapsulePrice34) + toadyCapsuleShopOdds12 = str(toadyCapsuleShopOdds12) + toadyCapsuleShopOdds34 = str(toadyCapsuleShopOdds34) + toadyCapsuleSpaceOdds12 = str(toadyCapsuleSpaceOdds12) + toadyCapsuleSpaceOdds34 = str(toadyCapsuleSpaceOdds34) + mrBlizzardCapsulePrice12 = str(mrBlizzardCapsulePrice12) + mrBlizzardCapsulePrice34 = str(mrBlizzardCapsulePrice34) + mrBlizzardCapsuleShopOdds12 = str(mrBlizzardCapsuleShopOdds12) + mrBlizzardCapsuleShopOdds34 = str(mrBlizzardCapsuleShopOdds34) + mrBlizzardCapsuleSpaceOdds12 = str(mrBlizzardCapsuleSpaceOdds12) + mrBlizzardCapsuleSpaceOdds34 = str(mrBlizzardCapsuleSpaceOdds34) + banditCapsulePrice12 = str(banditCapsulePrice12) + banditCapsulePrice34 = str(banditCapsulePrice34) + banditCapsuleShopOdds12 = str(banditCapsuleShopOdds12) + banditCapsuleShopOdds34 = str(banditCapsuleShopOdds34) + banditCapsuleSpaceOdds12 = str(banditCapsuleSpaceOdds12) + banditCapsuleSpaceOdds34 = str(banditCapsuleSpaceOdds34) + pinkBooCapsulePrice12 = str(pinkBooCapsulePrice12) + pinkBooCapsulePrice34 = str(pinkBooCapsulePrice34) + pinkBooCapsuleShopOdds12 = str(pinkBooCapsuleShopOdds12) + pinkBooCapsuleShopOdds34 = str(pinkBooCapsuleShopOdds34) + pinkBooCapsuleSpaceOdds12 = str(pinkBooCapsuleSpaceOdds12) + pinkBooCapsuleSpaceOdds34 = str(pinkBooCapsuleSpaceOdds34) + spinyCapsulePrice12 = str(spinyCapsulePrice12) + spinyCapsulePrice34 = str(spinyCapsulePrice34) + spinyCapsuleShopOdds12 = str(spinyCapsuleShopOdds12) + spinyCapsuleShopOdds34 = str(spinyCapsuleShopOdds34) + spinyCapsuleSpaceOdds12 = str(spinyCapsuleSpaceOdds12) + spinyCapsuleSpaceOdds34 = str(spinyCapsuleSpaceOdds34) + zapCapsulePrice12 = str(zapCapsulePrice12) + zapCapsulePrice34 = str(zapCapsulePrice34) + zapCapsuleShopOdds12 = str(zapCapsuleShopOdds12) + zapCapsuleShopOdds34 = str(zapCapsuleShopOdds34) + zapCapsuleSpaceOdds12 = str(zapCapsuleSpaceOdds12) + zapCapsuleSpaceOdds34 = str(zapCapsuleSpaceOdds34) + tweesterCapsulePrice12 = str(tweesterCapsulePrice12) + tweesterCapsulePrice34 = str(tweesterCapsulePrice34) + tweesterCapsuleShopOdds12 = str(tweesterCapsuleShopOdds12) + tweesterCapsuleShopOdds34 = str(tweesterCapsuleShopOdds34) + tweesterCapsuleSpaceOdds12 = str(tweesterCapsuleSpaceOdds12) + tweesterCapsuleSpaceOdds34 = str(tweesterCapsuleSpaceOdds34) + thwompCapsulePrice12 = str(thwompCapsulePrice12) + thwompCapsulePrice34 = str(thwompCapsulePrice34) + thwompCapsuleShopOdds12 = str(thwompCapsuleShopOdds12) + thwompCapsuleShopOdds34 = str(thwompCapsuleShopOdds34) + thwompCapsuleSpaceOdds12 = str(thwompCapsuleSpaceOdds12) + thwompCapsuleSpaceOdds34 = str(thwompCapsuleSpaceOdds34) + warpCapsulePrice12 = str(warpCapsulePrice12) + warpCapsulePrice34 = str(warpCapsulePrice34) + warpCapsuleShopOdds12 = str(warpCapsuleShopOdds12) + warpCapsuleShopOdds34 = str(warpCapsuleShopOdds34) + warpCapsuleSpaceOdds12 = str(warpCapsuleSpaceOdds12) + warpCapsuleSpaceOdds34 = str(warpCapsuleSpaceOdds34) + bombCapsulePrice12 = str(bombCapsulePrice12) + bombCapsulePrice34 = str(bombCapsulePrice34) + bombCapsuleShopOdds12 = str(bombCapsuleShopOdds12) + bombCapsuleShopOdds34 = str(bombCapsuleShopOdds34) + bombCapsuleSpaceOdds12 = str(bombCapsuleSpaceOdds12) + bombCapsuleSpaceOdds34 = str(bombCapsuleSpaceOdds34) + fireballCapsulePrice12 = str(fireballCapsulePrice12) + fireballCapsulePrice34 = str(fireballCapsulePrice34) + fireballCapsuleShopOdds12 = str(fireballCapsuleShopOdds12) + fireballCapsuleShopOdds34 = str(fireballCapsuleShopOdds34) + fireballCapsuleSpaceOdds12 = str(fireballCapsuleSpaceOdds12) + fireballCapsuleSpaceOdds34 = str(fireballCapsuleSpaceOdds34) + flowerCapsulePrice12 = str(flowerCapsulePrice12) + flowerCapsulePrice34 = str(flowerCapsulePrice34) + flowerCapsuleShopOdds12 = str(flowerCapsuleShopOdds12) + flowerCapsuleShopOdds34 = str(flowerCapsuleShopOdds34) + flowerCapsuleSpaceOdds12 = str(flowerCapsuleSpaceOdds12) + flowerCapsuleSpaceOdds34 = str(flowerCapsuleSpaceOdds34) + eggCapsulePrice12 = str(eggCapsulePrice12) + eggCapsulePrice34 = str(eggCapsulePrice34) + eggCapsuleShopOdds12 = str(eggCapsuleShopOdds12) + eggCapsuleShopOdds34 = str(eggCapsuleShopOdds34) + eggCapsuleSpaceOdds12 = str(eggCapsuleSpaceOdds12) + eggCapsuleSpaceOdds34 = str(eggCapsuleSpaceOdds34) + vacuumCapsulePrice12 = str(vacuumCapsulePrice12) + vacuumCapsulePrice34 = str(vacuumCapsulePrice34) + vacuumCapsuleShopOdds12 = str(vacuumCapsuleShopOdds12) + vacuumCapsuleShopOdds34 = str(vacuumCapsuleShopOdds34) + vacuumCapsuleSpaceOdds12 = str(vacuumCapsuleSpaceOdds12) + vacuumCapsuleSpaceOdds34 = str(vacuumCapsuleSpaceOdds34) + magicCapsulePrice12 = str(magicCapsulePrice12) + magicCapsulePrice34 = str(magicCapsulePrice34) + magicCapsuleShopOdds12 = str(magicCapsuleShopOdds12) + magicCapsuleShopOdds34 = str(magicCapsuleShopOdds34) + magicCapsuleSpaceOdds12 = str(magicCapsuleSpaceOdds12) + magicCapsuleSpaceOdds34 = str(magicCapsuleSpaceOdds34) + tripleCapsulePrice12 = str(tripleCapsulePrice12) + tripleCapsulePrice34 = str(tripleCapsulePrice34) + tripleCapsuleShopOdds12 = str(tripleCapsuleShopOdds12) + tripleCapsuleShopOdds34 = str(tripleCapsuleShopOdds34) + tripleCapsuleSpaceOdds12 = str(tripleCapsuleSpaceOdds12) + tripleCapsuleSpaceOdds34 = str(tripleCapsuleSpaceOdds34) + koopaCapsulePrice12 = str(koopaCapsulePrice12) + koopaCapsulePrice34 = str(koopaCapsulePrice34) + koopaCapsuleShopOdds12 = str(koopaCapsuleShopOdds12) + koopaCapsuleShopOdds34 = str(koopaCapsuleShopOdds34) + koopaCapsuleSpaceOdds12 = str(koopaCapsuleSpaceOdds12) + koopaCapsuleSpaceOdds34 = str(koopaCapsuleSpaceOdds34) + poisonMushroomPrice12 = str(poisonMushroomPrice12) + poisonMushroomPrice34 = str(poisonMushroomPrice34) + poisonMushroomShopOdds12 = str(poisonMushroomShopOdds12) + poisonMushroomShopOdds34 = str(poisonMushroomShopOdds34) + poisonMushroomSpaceOdds12 = str(poisonMushroomSpaceOdds12) + poisonMushroomSpaceOdds34 = str(poisonMushroomSpaceOdds34) + orbBagCapsulePrice12 = str(orbBagCapsulePrice12) + orbBagCapsulePrice34 = str(orbBagCapsulePrice34) + orbBagCapsuleShopOdds12 = str(orbBagCapsuleShopOdds12) + orbBagCapsuleShopOdds34 = str(orbBagCapsuleShopOdds34) + orbBagCapsuleSpaceOdds12 = str(orbBagCapsuleSpaceOdds12) + orbBagCapsuleSpaceOdds34 = str(orbBagCapsuleSpaceOdds34) + mysteryCapsulePrice12 = str(mysteryCapsulePrice12) + mysteryCapsulePrice34 = str(mysteryCapsulePrice34) + mysteryCapsuleShopOdds12 = str(mysteryCapsuleShopOdds12) + mysteryCapsuleShopOdds34 = str(mysteryCapsuleShopOdds34) + mysteryCapsuleSpaceOdds12 = str(mysteryCapsuleSpaceOdds12) + mysteryCapsuleSpaceOdds34 = str(mysteryCapsuleSpaceOdds34) + dkCapsulePrice12 = str(dkCapsulePrice12) + dkCapsulePrice34 = str(dkCapsulePrice34) + dkCapsuleShopOdds12 = str(dkCapsuleShopOdds12) + dkCapsuleShopOdds34 = str(dkCapsuleShopOdds34) + dkCapsuleSpaceOdds12 = str(dkCapsuleSpaceOdds12) + dkCapsuleSpaceOdds34 = str(dkCapsuleSpaceOdds34) + duelCapsulePrice12 = str(duelCapsulePrice12) + duelCapsulePrice34 = str(duelCapsulePrice34) + duelCapsuleShopOdds12 = str(duelCapsuleShopOdds12) + duelCapsuleShopOdds34 = str(duelCapsuleShopOdds34) + duelCapsuleSpaceOdds12 = str(duelCapsuleSpaceOdds12) + duelCapsuleSpaceOdds34 = str(duelCapsuleSpaceOdds34) + + shopOdds12 = [ + mushroomCapsuleShopOdds12, goldenMushroomCapsuleShopOdds12, metalMushroomCapsuleShopOdds12, + slowMushroomCapsuleShopOdds12, flutterCapsuleShopOdds12, cannonCapsuleShopOdds12, + snackCapsuleShopOdds12, lakituCapsuleShopOdds12, hammerBroCapsuleShopOdds12, + piranhaPlantCapsuleShopOdds12, spearGuyCapsuleShopOdds12, kamekCapsuleShopOdds12, + toadyCapsuleShopOdds12, mrBlizzardCapsuleShopOdds12, banditCapsuleShopOdds12, + pinkBooCapsuleShopOdds12, spinyCapsuleShopOdds12, zapCapsuleShopOdds12, + tweesterCapsuleShopOdds12, thwompCapsuleShopOdds12, warpCapsuleShopOdds12, + bombCapsuleShopOdds12, fireballCapsuleShopOdds12, flowerCapsuleShopOdds12, + eggCapsuleShopOdds12, vacuumCapsuleShopOdds12, magicCapsuleShopOdds12, + tripleCapsuleShopOdds12, koopaCapsuleShopOdds12, mysteryCapsuleShopOdds12, + duelCapsuleShopOdds12, dkCapsuleShopOdds12, orbBagCapsuleShopOdds12 + ] + + shopOdds34 = [ + mushroomCapsuleShopOdds34, goldenMushroomCapsuleShopOdds34, metalMushroomCapsuleShopOdds34, + slowMushroomCapsuleShopOdds34, flutterCapsuleShopOdds34, cannonCapsuleShopOdds34, + snackCapsuleShopOdds34, lakituCapsuleShopOdds34, hammerBroCapsuleShopOdds34, + piranhaPlantCapsuleShopOdds34, spearGuyCapsuleShopOdds34, kamekCapsuleShopOdds34, + toadyCapsuleShopOdds34, mrBlizzardCapsuleShopOdds34, banditCapsuleShopOdds34, + pinkBooCapsuleShopOdds34, spinyCapsuleShopOdds34, zapCapsuleShopOdds34, + tweesterCapsuleShopOdds34, thwompCapsuleShopOdds34, warpCapsuleShopOdds34, + bombCapsuleShopOdds34, fireballCapsuleShopOdds34, flowerCapsuleShopOdds34, + eggCapsuleShopOdds34, vacuumCapsuleShopOdds34, magicCapsuleShopOdds34, + tripleCapsuleShopOdds34, koopaCapsuleShopOdds34, mysteryCapsuleShopOdds34, + duelCapsuleShopOdds34, dkCapsuleShopOdds34, orbBagCapsuleShopOdds34 + ] + + spaceOdds12 = [ + mushroomCapsuleSpaceOdds12, goldenMushroomCapsuleSpaceOdds12, metalMushroomCapsuleSpaceOdds12, + slowMushroomCapsuleSpaceOdds12, flutterCapsuleSpaceOdds12, cannonCapsuleSpaceOdds12, + snackCapsuleSpaceOdds12, lakituCapsuleSpaceOdds12, hammerBroCapsuleSpaceOdds12, + piranhaPlantCapsuleSpaceOdds12, spearGuyCapsuleSpaceOdds12, kamekCapsuleSpaceOdds12, + toadyCapsuleSpaceOdds12, mrBlizzardCapsuleSpaceOdds12, banditCapsuleSpaceOdds12, + pinkBooCapsuleSpaceOdds12, spinyCapsuleSpaceOdds12, zapCapsuleSpaceOdds12, + tweesterCapsuleSpaceOdds12, thwompCapsuleSpaceOdds12, warpCapsuleSpaceOdds12, + bombCapsuleSpaceOdds12, fireballCapsuleSpaceOdds12, flowerCapsuleSpaceOdds12, + eggCapsuleSpaceOdds12, vacuumCapsuleSpaceOdds12, magicCapsuleSpaceOdds12, + tripleCapsuleSpaceOdds12, koopaCapsuleSpaceOdds12, mysteryCapsuleSpaceOdds12, + duelCapsuleSpaceOdds12, dkCapsuleSpaceOdds12, orbBagCapsuleSpaceOdds12 + ] - mushroomCapsuleWeight7 = mushroomCapsuleWeight7.get() + spaceOdds34 = [ + mushroomCapsuleSpaceOdds34, goldenMushroomCapsuleSpaceOdds34, metalMushroomCapsuleSpaceOdds34, + slowMushroomCapsuleSpaceOdds34, flutterCapsuleSpaceOdds34, cannonCapsuleSpaceOdds34, + snackCapsuleSpaceOdds34, lakituCapsuleSpaceOdds34, hammerBroCapsuleSpaceOdds34, + piranhaPlantCapsuleSpaceOdds34, spearGuyCapsuleSpaceOdds34, kamekCapsuleSpaceOdds34, + toadyCapsuleSpaceOdds34, mrBlizzardCapsuleSpaceOdds34, banditCapsuleSpaceOdds34, + pinkBooCapsuleSpaceOdds34, spinyCapsuleSpaceOdds34, zapCapsuleSpaceOdds34, + tweesterCapsuleSpaceOdds34, thwompCapsuleSpaceOdds34, warpCapsuleSpaceOdds34, + bombCapsuleSpaceOdds34, fireballCapsuleSpaceOdds34, flowerCapsuleSpaceOdds34, + eggCapsuleSpaceOdds34, vacuumCapsuleSpaceOdds34, magicCapsuleSpaceOdds34, + tripleCapsuleSpaceOdds34, koopaCapsuleSpaceOdds34, mysteryCapsuleSpaceOdds34, + duelCapsuleSpaceOdds34, dkCapsuleSpaceOdds34, orbBagCapsuleSpaceOdds34 + ] + + prices12 = [ + mushroomCapsulePrice12, goldenMushroomCapsulePrice12, metalMushroomCapsulePrice12, + slowMushroomCapsulePrice12, flutterCapsulePrice12, cannonCapsulePrice12, + snackCapsulePrice12, lakituCapsulePrice12, hammerBroCapsulePrice12, + piranhaPlantCapsulePrice12, spearGuyCapsulePrice12, kamekCapsulePrice12, + toadyCapsulePrice12, mrBlizzardCapsulePrice12, banditCapsulePrice12, + pinkBooCapsulePrice12, spinyCapsulePrice12, zapCapsulePrice12, + tweesterCapsulePrice12, thwompCapsulePrice12, warpCapsulePrice12, + bombCapsulePrice12, fireballCapsulePrice12, flowerCapsulePrice12, + eggCapsulePrice12, vacuumCapsulePrice12, magicCapsulePrice12, + tripleCapsulePrice12, koopaCapsulePrice12, poisonMushroomPrice12, + orbBagCapsulePrice12, mysteryCapsulePrice12, dkCapsulePrice12, + duelCapsulePrice12 + ] + + prices34 = [ + mushroomCapsulePrice34, goldenMushroomCapsulePrice34, metalMushroomCapsulePrice34, + slowMushroomCapsulePrice34, flutterCapsulePrice34, cannonCapsulePrice34, + snackCapsulePrice34, lakituCapsulePrice34, hammerBroCapsulePrice34, + piranhaPlantCapsulePrice34, spearGuyCapsulePrice34, kamekCapsulePrice34, + toadyCapsulePrice34, mrBlizzardCapsulePrice34, banditCapsulePrice34, + pinkBooCapsulePrice34, spinyCapsulePrice34, zapCapsulePrice34, + tweesterCapsulePrice34, thwompCapsulePrice34, warpCapsulePrice34, + bombCapsulePrice34, fireballCapsulePrice34, flowerCapsulePrice34, + eggCapsulePrice34, vacuumCapsulePrice34, magicCapsulePrice34, + tripleCapsulePrice34, koopaCapsulePrice34, poisonMushroomPrice34, + orbBagCapsulePrice34, mysteryCapsulePrice34, dkCapsulePrice34, + duelCapsulePrice34 + ] - goldenMushroomCapsulePrice7 = goldenMushroomCapsulePrice7.get() - goldenMushroomCapsuleWeight7 = goldenMushroomCapsuleWeight7.get() - slowMushroomCapsulePrice7 = slowMushroomCapsulePrice7.get() - slowMushroomCapsuleWeight7 = slowMushroomCapsuleWeight7.get() - metalMushroomCapsulePrice7 = metalMushroomCapsulePrice7.get() - metalMushroomCapsuleWeight7 = metalMushroomCapsuleWeight7.get() - flutterCapsulePrice7 = flutterCapsulePrice7.get() - flutterCapsuleWeight7 = flutterCapsuleWeight7.get() - cannonCapsulePrice7 = cannonCapsulePrice7.get() - cannonCapsuleWeight7 = cannonCapsuleWeight7.get() - snackCapsulePrice7 = snackCapsulePrice7.get() - snackCapsuleWeight7 = snackCapsuleWeight7.get() - lakituCapsulePrice7 = lakituCapsulePrice7.get() - lakituCapsuleWeight7 = lakituCapsuleWeight7.get() - hammerBroCapsulePrice7 = hammerBroCapsulePrice7.get() - hammerBroCapsuleWeight7 = hammerBroCapsuleWeight7.get() - plantCapsulePrice7 = plantCapsulePrice7.get() - plantCapsuleWeight7 = plantCapsuleWeight7.get() - spearCapsulePrice7 = spearCapsulePrice7.get() - spearCapsuleWeight7 = spearCapsuleWeight7.get() - kamekCapsulePrice7 = kamekCapsulePrice7.get() - kamekCapsuleWeight7 = kamekCapsuleWeight7.get() - toadyCapsulePrice7 = toadyCapsulePrice7.get() - toadyCapsuleWeight7 = toadyCapsuleWeight7.get() - blizzardCapsulePrice7 = blizzardCapsulePrice7.get() - blizzardCapsuleWeight7 = blizzardCapsuleWeight7.get() - banditCapsulePrice7 = banditCapsulePrice7.get() - banditCapsuleWeight7 = banditCapsuleWeight7.get() - pinkBooCapsulePrice7 = pinkBooCapsulePrice7.get() - pinkBooCapsuleWeight7 = pinkBooCapsuleWeight7.get() - spinyCapsulePrice7 = spinyCapsulePrice7.get() - spinyCapsuleWeight7 = spinyCapsuleWeight7.get() - zapCapsulePrice7 = zapCapsulePrice7.get() - zapCapsuleWeight7 = zapCapsuleWeight7.get() - tweesterCapsulePrice7 = tweesterCapsulePrice7.get() - tweesterCapsuleWeight7 = tweesterCapsuleWeight7.get() - thwompCapsulePrice7 = thwompCapsulePrice7.get() - thwompCapsuleWeight7 = thwompCapsuleWeight7.get() - warpCapsulePrice7 = warpCapsulePrice7.get() - warpCapsuleWeight7 = warpCapsuleWeight7.get() - bombCapsulePrice7 = bombCapsulePrice7.get() - bombCapsuleWeight7 = bombCapsuleWeight7.get() - fireballCapsulePrice7 = fireballCapsulePrice7.get() - fireballCapsuleWeight7 = fireballCapsuleWeight7.get() - flowerCapsulePrice7 = flowerCapsulePrice7.get() - flowerCapsuleWeight7 = flowerCapsuleWeight7.get() - eggCapsulePrice7 = eggCapsulePrice7.get() - eggCapsuleWeight7 = eggCapsuleWeight7.get() - vacuumCapsulePrice7 = vacuumCapsulePrice7.get() - vacuumCapsuleWeight7 = vacuumCapsuleWeight7.get() - magicCapsulePrice7 = magicCapsulePrice7.get() - magicCapsuleWeight7 = magicCapsuleWeight7.get() - tripleCapsulePrice7 = tripleCapsulePrice7.get() - tripleCapsuleWeight7 = tripleCapsuleWeight7.get() - koopaCapsulePrice7 = koopaCapsulePrice7.get() - koopaCapsuleWeight7 = koopaCapsuleWeight7.get() - - try: - dkCapsulePrice7 = dkCapsulePrice7.get() - except: - dkCapsulePrice7 = 0 - - try: - dkCapsuleWeight7 = dkCapsuleWeight7.get() - except: - dkCapsuleWeight7 = 0 - - try: - posionMushroomPrice7 = posionMushroomPrice7.get() - except: - posionMushroomPrice7 = 0 - - try: - posionMushroomWeight7 = posionMushroomWeight7.get() - except: - posionMushroomWeight7 = 0 - - try: - duelCapsulePrice7 = duelCapsulePrice7.get() - except: - duelCapsulePrice7 = 0 - - try: - duelCapsuleWeight7 = duelCapsuleWeight7.get() - except: - duelCapsuleWeight7 = 0 - - try: - mysteryCapsulePrice7 = mysteryCapsulePrice7.get() - except: - mysteryCapsulePrice7 = 0 - - try: - mysteryCapsuleWeight7 = mysteryCapsuleWeight7.get() - except: - mysteryCapsuleWeight7 = 0 - - try: - orbBagCapsulePrice7 = orbBagCapsulePrice7.get() - except: - orbBagCapsulePrice7 = 0 - - try: - orbBagCapsuleWeight7 = orbBagCapsuleWeight7.get() - except: - orbBagCapsuleWeight7 = 0 - - prices7 = ["5", goldenMushroomCapsulePrice7, slowMushroomCapsulePrice7, metalMushroomCapsulePrice7, flutterCapsulePrice7, cannonCapsulePrice7, snackCapsulePrice7, lakituCapsulePrice7, hammerBroCapsulePrice7, plantCapsulePrice7, spearCapsulePrice7, kamekCapsulePrice7, toadyCapsulePrice7, blizzardCapsulePrice7, banditCapsulePrice7, pinkBooCapsulePrice7, spinyCapsulePrice7, zapCapsulePrice7, tweesterCapsulePrice7, thwompCapsulePrice7, warpCapsulePrice7, bombCapsulePrice7, fireballCapsulePrice7, flowerCapsulePrice7, eggCapsulePrice7, vacuumCapsulePrice7, magicCapsulePrice7, tripleCapsulePrice7, koopaCapsulePrice7, dkCapsulePrice7, posionMushroomPrice7, duelCapsulePrice7, mysteryCapsulePrice7, orbBagCapsulePrice7] - weights7 = [mushroomCapsuleWeight7, goldenMushroomCapsuleWeight7, slowMushroomCapsuleWeight7, metalMushroomCapsuleWeight7, flutterCapsuleWeight7, cannonCapsuleWeight7, snackCapsuleWeight7, lakituCapsuleWeight7, hammerBroCapsuleWeight7, plantCapsuleWeight7, spearCapsuleWeight7, kamekCapsuleWeight7, toadyCapsuleWeight7, blizzardCapsuleWeight7, banditCapsuleWeight7, pinkBooCapsuleWeight7, spinyCapsuleWeight7, zapCapsuleWeight7, tweesterCapsuleWeight7, thwompCapsuleWeight7, warpCapsuleWeight7, bombCapsuleWeight7, fireballCapsuleWeight7, flowerCapsuleWeight7, eggCapsuleWeight7, vacuumCapsuleWeight7, magicCapsuleWeight7, tripleCapsuleWeight7, koopaCapsuleWeight7, dkCapsuleWeight7, posionMushroomWeight7, duelCapsuleWeight7, mysteryCapsuleWeight7, orbBagCapsuleWeight7] file_path = tkinter.filedialog.asksaveasfilename(defaultextension=".mpt", filetypes=[("MPT files", "*.mpt")]) if file_path: with open(file_path, 'w', newline='') as csvfile: writer = csv.writer(csvfile) - writer.writerow(['Prices', 'Weights']) - for price, weight in zip(prices7, weights7): - writer.writerow([price, weight]) + writer.writerow(['Prices12', 'Prices34', "ShopOdds12", "ShopOdds34", "SpaceOdds12", "SpaceOdds34"]) + for prices12, prices34, shopOdds12, shopOdds34, spaceOdds12, spaceOdds34 in zip(prices12, prices34, shopOdds12, shopOdds34, spaceOdds12, spaceOdds34): + writer.writerow([prices12, prices34, shopOdds12, shopOdds34, spaceOdds12, spaceOdds34]) print("MPT file saved successfully!") createDialog("Operation Sucessful", "success", "Presets file saved successfully!.", None) -def loadPresetItems7(hide_custom, mushroomCapsuleWeight7, goldenMushroomCapsulePrice7, goldenMushroomCapsuleWeight7, slowMushroomCapsulePrice7, slowMushroomCapsuleWeight7, metalMushroomCapsulePrice7, metalMushroomCapsuleWeight7, flutterCapsulePrice7, flutterCapsuleWeight7, cannonCapsulePrice7, cannonCapsuleWeight7, snackCapsulePrice7, snackCapsuleWeight7, lakituCapsulePrice7, lakituCapsuleWeight7, hammerBroCapsulePrice7, hammerBroCapsuleWeight7, plantCapsulePrice7, plantCapsuleWeight7, spearCapsulePrice7, spearCapsuleWeight7, kamekCapsulePrice7, kamekCapsuleWeight7, toadyCapsulePrice7, toadyCapsuleWeight7, blizzardCapsulePrice7, blizzardCapsuleWeight7, banditCapsulePrice7, banditCapsuleWeight7, pinkBooCapsulePrice7, pinkBooCapsuleWeight7, spinyCapsulePrice7, spinyCapsuleWeight7, zapCapsulePrice7, zapCapsuleWeight7, tweesterCapsulePrice7, tweesterCapsuleWeight7, thwompCapsulePrice7, thwompCapsuleWeight7, warpCapsulePrice7, warpCapsuleWeight7, bombCapsulePrice7, bombCapsuleWeight7, fireballCapsulePrice7, fireballCapsuleWeight7, flowerCapsulePrice7, flowerCapsuleWeight7, eggCapsulePrice7, eggCapsuleWeight7, vacuumCapsulePrice7, vacuumCapsuleWeight7, magicCapsulePrice7, magicCapsuleWeight7, tripleCapsulePrice7, tripleCapsuleWeight7, koopaCapsulePrice7, koopaCapsuleWeight7, posionMushroomPrice7, posionMushroomWeight7, dkCapsulePrice7, dkCapsuleWeight7, orbBagCapsulePrice7, orbBagCapsuleWeight7, duelCapsulePrice7, duelCapsuleWeight7, mysteryCapsulePrice7, mysteryCapsuleWeight7): +def loadPresetItems7(hide_custom, mushroomCapsuleShopOdds12, mushroomCapsuleShopOdds34, mushroomCapsuleSpaceOdds12, mushroomCapsuleSpaceOdds34, goldenMushroomCapsulePrice12, goldenMushroomCapsulePrice34, goldenMushroomCapsuleShopOdds12, goldenMushroomCapsuleShopOdds34, goldenMushroomCapsuleSpaceOdds12, goldenMushroomCapsuleSpaceOdds34, slowMushroomCapsulePrice12, slowMushroomCapsulePrice34, slowMushroomCapsuleShopOdds12, slowMushroomCapsuleShopOdds34, slowMushroomCapsuleSpaceOdds12, slowMushroomCapsuleSpaceOdds34, metalMushroomCapsulePrice12, metalMushroomCapsulePrice34, metalMushroomCapsuleShopOdds12, metalMushroomCapsuleShopOdds34, metalMushroomCapsuleSpaceOdds12, metalMushroomCapsuleSpaceOdds34, flutterCapsulePrice12, flutterCapsulePrice34, flutterCapsuleShopOdds12, flutterCapsuleShopOdds34, flutterCapsuleSpaceOdds12, flutterCapsuleSpaceOdds34, cannonCapsulePrice12, cannonCapsulePrice34, cannonCapsuleShopOdds12, cannonCapsuleShopOdds34, cannonCapsuleSpaceOdds12, cannonCapsuleSpaceOdds34, snackCapsulePrice12, snackCapsulePrice34, snackCapsuleShopOdds12, snackCapsuleShopOdds34, snackCapsuleSpaceOdds12, snackCapsuleSpaceOdds34, lakituCapsulePrice12, lakituCapsulePrice34, lakituCapsuleShopOdds12, lakituCapsuleShopOdds34, lakituCapsuleSpaceOdds12, lakituCapsuleSpaceOdds34, hammerBroCapsulePrice12, hammerBroCapsulePrice34, hammerBroCapsuleShopOdds12, hammerBroCapsuleShopOdds34, hammerBroCapsuleSpaceOdds12, hammerBroCapsuleSpaceOdds34, piranhaPlantCapsulePrice12, piranhaPlantCapsulePrice34, piranhaPlantCapsuleShopOdds12, piranhaPlantCapsuleShopOdds34, piranhaPlantCapsuleSpaceOdds12, piranhaPlantCapsuleSpaceOdds34, spearGuyCapsulePrice12, spearGuyCapsulePrice34, spearGuyCapsuleShopOdds12, spearGuyCapsuleShopOdds34, spearGuyCapsuleSpaceOdds12, spearGuyCapsuleSpaceOdds34, kamekCapsulePrice12, kamekCapsulePrice34, kamekCapsuleShopOdds12, kamekCapsuleShopOdds34, kamekCapsuleSpaceOdds12, kamekCapsuleSpaceOdds34, toadyCapsulePrice12, toadyCapsulePrice34, toadyCapsuleShopOdds12, toadyCapsuleShopOdds34, toadyCapsuleSpaceOdds12, toadyCapsuleSpaceOdds34, mrBlizzardCapsulePrice12, mrBlizzardCapsulePrice34, mrBlizzardCapsuleShopOdds12, mrBlizzardCapsuleShopOdds34, mrBlizzardCapsuleSpaceOdds12, mrBlizzardCapsuleSpaceOdds34, banditCapsulePrice12, banditCapsulePrice34, banditCapsuleShopOdds12, banditCapsuleShopOdds34, banditCapsuleSpaceOdds12, banditCapsuleSpaceOdds34, pinkBooCapsulePrice12, pinkBooCapsulePrice34, pinkBooCapsuleShopOdds12, pinkBooCapsuleShopOdds34, pinkBooCapsuleSpaceOdds12, pinkBooCapsuleSpaceOdds34, spinyCapsulePrice12, spinyCapsulePrice34, spinyCapsuleShopOdds12, spinyCapsuleShopOdds34, spinyCapsuleSpaceOdds12, spinyCapsuleSpaceOdds34, zapCapsulePrice12, zapCapsulePrice34, zapCapsuleShopOdds12, zapCapsuleShopOdds34, zapCapsuleSpaceOdds12, zapCapsuleSpaceOdds34, tweesterCapsulePrice12, tweesterCapsulePrice34, tweesterCapsuleShopOdds12, tweesterCapsuleShopOdds34, tweesterCapsuleSpaceOdds12, tweesterCapsuleSpaceOdds34, thwompCapsulePrice12, thwompCapsulePrice34, thwompCapsuleShopOdds12, thwompCapsuleShopOdds34, thwompCapsuleSpaceOdds12, thwompCapsuleSpaceOdds34, warpCapsulePrice12, warpCapsulePrice34, warpCapsuleShopOdds12, warpCapsuleShopOdds34, warpCapsuleSpaceOdds12, warpCapsuleSpaceOdds34, bombCapsulePrice12, bombCapsulePrice34, bombCapsuleShopOdds12, bombCapsuleShopOdds34, bombCapsuleSpaceOdds12, bombCapsuleSpaceOdds34, fireballCapsulePrice12, fireballCapsulePrice34, fireballCapsuleShopOdds12, fireballCapsuleShopOdds34, fireballCapsuleSpaceOdds12, fireballCapsuleSpaceOdds34, flowerCapsulePrice12, flowerCapsulePrice34, flowerCapsuleShopOdds12, flowerCapsuleShopOdds34, flowerCapsuleSpaceOdds12, flowerCapsuleSpaceOdds34, eggCapsulePrice12, eggCapsulePrice34, eggCapsuleShopOdds12, eggCapsuleShopOdds34, eggCapsuleSpaceOdds12, eggCapsuleSpaceOdds34, vacuumCapsulePrice12, vacuumCapsulePrice34, vacuumCapsuleShopOdds12, vacuumCapsuleShopOdds34, vacuumCapsuleSpaceOdds12, vacuumCapsuleSpaceOdds34, magicCapsulePrice12, magicCapsulePrice34, magicCapsuleShopOdds12, magicCapsuleShopOdds34, magicCapsuleSpaceOdds12, magicCapsuleSpaceOdds34, tripleCapsulePrice12, tripleCapsulePrice34, tripleCapsuleShopOdds12, tripleCapsuleShopOdds34, tripleCapsuleSpaceOdds12, tripleCapsuleSpaceOdds34, koopaCapsulePrice12, koopaCapsulePrice34, koopaCapsuleShopOdds12, koopaCapsuleShopOdds34, koopaCapsuleSpaceOdds12, koopaCapsuleSpaceOdds34, poisonMushroomPrice34, poisonMushroomPrice12, poisonMushroomShopOdds12, poisonMushroomShopOdds34, poisonMushroomSpaceOdds12, poisonMushroomSpaceOdds34, orbBagCapsulePrice34, orbBagCapsulePrice12, orbBagCapsuleShopOdds12, orbBagCapsuleShopOdds34, orbBagCapsuleSpaceOdds12, orbBagCapsuleSpaceOdds34, mysteryCapsulePrice34, mysteryCapsulePrice12, mysteryCapsuleShopOdds12, mysteryCapsuleShopOdds34, mysteryCapsuleSpaceOdds12, mysteryCapsuleSpaceOdds34, dkCapsulePrice34, dkCapsulePrice12, dkCapsuleShopOdds12, dkCapsuleShopOdds34, dkCapsuleSpaceOdds12, dkCapsuleSpaceOdds34, duelCapsulePrice34, duelCapsulePrice12, duelCapsuleShopOdds12, duelCapsuleShopOdds34, duelCapsuleSpaceOdds12, duelCapsuleSpaceOdds34): file_path = tkinter.filedialog.askopenfilename(defaultextension=".mpt", filetypes=[("MPT files", "*.mpt")]) if file_path: - prices7In = [] - weights7In = [] + prices12In = [] + prices34In = [] + shopOdds12In = [] + shopOdds34In = [] + spaceOdds12In = [] + spaceOdds34In = [] with open(file_path, 'r', newline='') as csvfile: reader = csv.reader(csvfile) next(reader) for row in reader: - prices7In.append(float(row[0])) - weights7In.append(float(row[1])) - - testVar = "" + prices12In.append(float(row[0]) if row[0] else 0) + prices34In.append(float(row[1]) if row[1] else 0) + shopOdds12In.append(float(row[2]) if row[2] else 0) + shopOdds34In.append(float(row[3]) if row[3] else 0) + spaceOdds12In.append(float(row[4]) if row[4] else 0) + spaceOdds34In.append(float(row[5]) if row[5] else 0) + + mushroomCapsulePrice12 = "" + mushroomCapsulePrice34 = "" # Define a list of Entry widget attributes - - pricesNames7 = [testVar, goldenMushroomCapsulePrice7, slowMushroomCapsulePrice7, metalMushroomCapsulePrice7, flutterCapsulePrice7, cannonCapsulePrice7, snackCapsulePrice7, lakituCapsulePrice7, hammerBroCapsulePrice7, plantCapsulePrice7, spearCapsulePrice7, kamekCapsulePrice7, toadyCapsulePrice7, blizzardCapsulePrice7, banditCapsulePrice7, pinkBooCapsulePrice7, spinyCapsulePrice7, zapCapsulePrice7, tweesterCapsulePrice7, thwompCapsulePrice7, warpCapsulePrice7, bombCapsulePrice7, fireballCapsulePrice7, flowerCapsulePrice7, eggCapsulePrice7, vacuumCapsulePrice7, magicCapsulePrice7, tripleCapsulePrice7, koopaCapsulePrice7] - weightsNames7 = [mushroomCapsuleWeight7, goldenMushroomCapsuleWeight7, slowMushroomCapsuleWeight7, metalMushroomCapsuleWeight7, flutterCapsuleWeight7, cannonCapsuleWeight7, snackCapsuleWeight7, lakituCapsuleWeight7, hammerBroCapsuleWeight7, plantCapsuleWeight7, spearCapsuleWeight7, kamekCapsuleWeight7, toadyCapsuleWeight7, blizzardCapsuleWeight7, banditCapsuleWeight7, pinkBooCapsuleWeight7, spinyCapsuleWeight7, zapCapsuleWeight7, tweesterCapsuleWeight7, thwompCapsuleWeight7, warpCapsuleWeight7, bombCapsuleWeight7, fireballCapsuleWeight7, flowerCapsuleWeight7, eggCapsuleWeight7, vacuumCapsuleWeight7, magicCapsuleWeight7, tripleCapsuleWeight7, koopaCapsuleWeight7] - - if not hide_custom: - pricesNames7.extend([dkCapsulePrice7, posionMushroomPrice7, duelCapsulePrice7, mysteryCapsulePrice7, orbBagCapsulePrice7]) - weightsNames7.extend([dkCapsuleWeight7, posionMushroomWeight7, duelCapsuleWeight7, mysteryCapsuleWeight7, orbBagCapsuleWeight7]) - - # Update widgets with loaded values - for index, widget in enumerate(pricesNames7): - if widget and index < len(prices7In): - widget.delete(0, 'end') - widget.insert(0, int(prices7In[index])) - for index, widget in enumerate(weightsNames7): - if widget and index < len(weights7In): - widget.delete(0, 'end') - widget.insert(0, int(weights7In[index])) - print("MPT file laoded successfully!") - createDialog("Operation Sucessful", "success", "Presets file saved successfully!.", None) - -def fillViaCode7(hide_custom, top, codeText, mushroomCapsuleWeight7, goldenMushroomCapsulePrice7, goldenMushroomCapsuleWeight7, slowMushroomCapsulePrice7, slowMushroomCapsuleWeight7, metalMushroomCapsulePrice7, metalMushroomCapsuleWeight7, flutterCapsulePrice7, flutterCapsuleWeight7, cannonCapsulePrice7, cannonCapsuleWeight7, snackCapsulePrice7, snackCapsuleWeight7, lakituCapsulePrice7, lakituCapsuleWeight7, hammerBroCapsulePrice7, hammerBroCapsuleWeight7, plantCapsulePrice7, plantCapsuleWeight7, spearCapsulePrice7, spearCapsuleWeight7, kamekCapsulePrice7, kamekCapsuleWeight7, toadyCapsulePrice7, toadyCapsuleWeight7, blizzardCapsulePrice7, blizzardCapsuleWeight7, banditCapsulePrice7, banditCapsuleWeight7, pinkBooCapsulePrice7, pinkBooCapsuleWeight7, spinyCapsulePrice7, spinyCapsuleWeight7, zapCapsulePrice7, zapCapsuleWeight7, tweesterCapsulePrice7, tweesterCapsuleWeight7, thwompCapsulePrice7, thwompCapsuleWeight7, warpCapsulePrice7, warpCapsuleWeight7, bombCapsulePrice7, bombCapsuleWeight7, fireballCapsulePrice7, fireballCapsuleWeight7, flowerCapsulePrice7, flowerCapsuleWeight7, eggCapsulePrice7, eggCapsuleWeight7, vacuumCapsulePrice7, vacuumCapsuleWeight7, magicCapsulePrice7, magicCapsuleWeight7, tripleCapsulePrice7, tripleCapsuleWeight7, koopaCapsulePrice7, koopaCapsuleWeight7, posionMushroomPrice7, posionMushroomWeight7, dkCapsulePrice7, dkCapsuleWeight7, orbBagCapsulePrice7, orbBagCapsuleWeight7, duelCapsulePrice7, duelCapsuleWeight7, mysteryCapsulePrice7, mysteryCapsuleWeight7): - code7 = [] - code_single7 = [] - weight_code7 = [] - price_code7 = [] - weights7 = [] - weights7In = [] - prices7 = [] - prices7In = [] - current_line7 = "" - - code7.append(codeText.get("1.0", "end")) + shopOdds12 = [ + mushroomCapsuleShopOdds12, goldenMushroomCapsuleShopOdds12, metalMushroomCapsuleShopOdds12, + slowMushroomCapsuleShopOdds12, flutterCapsuleShopOdds12, cannonCapsuleShopOdds12, + snackCapsuleShopOdds12, lakituCapsuleShopOdds12, hammerBroCapsuleShopOdds12, + piranhaPlantCapsuleShopOdds12, spearGuyCapsuleShopOdds12, kamekCapsuleShopOdds12, + toadyCapsuleShopOdds12, mrBlizzardCapsuleShopOdds12, banditCapsuleShopOdds12, + pinkBooCapsuleShopOdds12, spinyCapsuleShopOdds12, zapCapsuleShopOdds12, + tweesterCapsuleShopOdds12, thwompCapsuleShopOdds12, warpCapsuleShopOdds12, + bombCapsuleShopOdds12, fireballCapsuleShopOdds12, flowerCapsuleShopOdds12, + eggCapsuleShopOdds12, vacuumCapsuleShopOdds12, magicCapsuleShopOdds12, + tripleCapsuleShopOdds12, koopaCapsuleShopOdds12, mysteryCapsuleShopOdds12, + duelCapsuleShopOdds12, dkCapsuleShopOdds12, orbBagCapsuleShopOdds12 + ] - try: - for i in range(0, 17): - current_line7 = current_line7 + code7[0][i] - - if current_line7 == "MP7 - Orb Modifer": - current_line7 = "" - - for i in range(18, 2538): - if code7[0][i] != " " and code7[0][i] != "\n": - current_line7 = current_line7 + code7[0][i] - else: - code_single7.append(current_line7) - current_line7 = "" - else: - current_line7 = "" - - for i in range(0, 2520): - if code7[0][i] != " " and code7[0][i] != "\n": - current_line7 = current_line7 + code7[0][i] - else: - code_single7.append(current_line7) - current_line7 = "" - except IndexError: - createDialog("Error", "error", "Invalid Code", None) - return + shopOdds34 = [ + mushroomCapsuleShopOdds34, goldenMushroomCapsuleShopOdds34, metalMushroomCapsuleShopOdds34, + slowMushroomCapsuleShopOdds34, flutterCapsuleShopOdds34, cannonCapsuleShopOdds34, + snackCapsuleShopOdds34, lakituCapsuleShopOdds34, hammerBroCapsuleShopOdds34, + piranhaPlantCapsuleShopOdds34, spearGuyCapsuleShopOdds34, kamekCapsuleShopOdds34, + toadyCapsuleShopOdds34, mrBlizzardCapsuleShopOdds34, banditCapsuleShopOdds34, + pinkBooCapsuleShopOdds34, spinyCapsuleShopOdds34, zapCapsuleShopOdds34, + tweesterCapsuleShopOdds34, thwompCapsuleShopOdds34, warpCapsuleShopOdds34, + bombCapsuleShopOdds34, fireballCapsuleShopOdds34, flowerCapsuleShopOdds34, + eggCapsuleShopOdds34, vacuumCapsuleShopOdds34, magicCapsuleShopOdds34, + tripleCapsuleShopOdds34, koopaCapsuleShopOdds34, mysteryCapsuleShopOdds34, + duelCapsuleShopOdds34, dkCapsuleShopOdds34, orbBagCapsuleShopOdds34 + ] - del code_single7[0:3] - del code_single7[269::] - - for i in range(1, 135): - del code_single7[i] - - x = 1 - - for i in range(34): - for n in range(2): - del code_single7[x] - x += 2 - - code_single7.insert(0, "00000005") + spaceOdds12 = [ + mushroomCapsuleSpaceOdds12, goldenMushroomCapsuleSpaceOdds12, metalMushroomCapsuleSpaceOdds12, + slowMushroomCapsuleSpaceOdds12, flutterCapsuleSpaceOdds12, cannonCapsuleSpaceOdds12, + snackCapsuleSpaceOdds12, lakituCapsuleSpaceOdds12, hammerBroCapsuleSpaceOdds12, + piranhaPlantCapsuleSpaceOdds12, spearGuyCapsuleSpaceOdds12, kamekCapsuleSpaceOdds12, + toadyCapsuleSpaceOdds12, mrBlizzardCapsuleSpaceOdds12, banditCapsuleSpaceOdds12, + pinkBooCapsuleSpaceOdds12, spinyCapsuleSpaceOdds12, zapCapsuleSpaceOdds12, + tweesterCapsuleSpaceOdds12, thwompCapsuleSpaceOdds12, warpCapsuleSpaceOdds12, + bombCapsuleSpaceOdds12, fireballCapsuleSpaceOdds12, flowerCapsuleSpaceOdds12, + eggCapsuleSpaceOdds12, vacuumCapsuleSpaceOdds12, magicCapsuleSpaceOdds12, + tripleCapsuleSpaceOdds12, koopaCapsuleSpaceOdds12, mysteryCapsuleSpaceOdds12, + duelCapsuleSpaceOdds12, dkCapsuleSpaceOdds12, orbBagCapsuleSpaceOdds12 + ] + + spaceOdds34 = [ + mushroomCapsuleSpaceOdds34, goldenMushroomCapsuleSpaceOdds34, metalMushroomCapsuleSpaceOdds34, + slowMushroomCapsuleSpaceOdds34, flutterCapsuleSpaceOdds34, cannonCapsuleSpaceOdds34, + snackCapsuleSpaceOdds34, lakituCapsuleSpaceOdds34, hammerBroCapsuleSpaceOdds34, + piranhaPlantCapsuleSpaceOdds34, spearGuyCapsuleSpaceOdds34, kamekCapsuleSpaceOdds34, + toadyCapsuleSpaceOdds34, mrBlizzardCapsuleSpaceOdds34, banditCapsuleSpaceOdds34, + pinkBooCapsuleSpaceOdds34, spinyCapsuleSpaceOdds34, zapCapsuleSpaceOdds34, + tweesterCapsuleSpaceOdds34, thwompCapsuleSpaceOdds34, warpCapsuleSpaceOdds34, + bombCapsuleSpaceOdds34, fireballCapsuleSpaceOdds34, flowerCapsuleSpaceOdds34, + eggCapsuleSpaceOdds34, vacuumCapsuleSpaceOdds34, magicCapsuleSpaceOdds34, + tripleCapsuleSpaceOdds34, koopaCapsuleSpaceOdds34, mysteryCapsuleSpaceOdds34, + duelCapsuleSpaceOdds34, dkCapsuleSpaceOdds34, orbBagCapsuleSpaceOdds34 + ] - x = 1 - - for i in range(34): - weight_code7.append(code_single7[x]) - x += 2 + prices12 = [ + None, mushroomCapsulePrice12, goldenMushroomCapsulePrice12, metalMushroomCapsulePrice12, + slowMushroomCapsulePrice12, flutterCapsulePrice12, cannonCapsulePrice12, + snackCapsulePrice12, lakituCapsulePrice12, hammerBroCapsulePrice12, + piranhaPlantCapsulePrice12, spearGuyCapsulePrice12, kamekCapsulePrice12, + toadyCapsulePrice12, mrBlizzardCapsulePrice12, banditCapsulePrice12, + pinkBooCapsulePrice12, spinyCapsulePrice12, zapCapsulePrice12, + tweesterCapsulePrice12, thwompCapsulePrice12, warpCapsulePrice12, + bombCapsulePrice12, fireballCapsulePrice12, flowerCapsulePrice12, + eggCapsulePrice12, vacuumCapsulePrice12, magicCapsulePrice12, + tripleCapsulePrice12, koopaCapsulePrice12 + ] - x = 0 - - for i in range(34): - price_code7.append(code_single7[x]) - x += 2 + prices34 = [ + None, mushroomCapsulePrice34, goldenMushroomCapsulePrice34, metalMushroomCapsulePrice34, + slowMushroomCapsulePrice34, flutterCapsulePrice34, cannonCapsulePrice34, + snackCapsulePrice34, lakituCapsulePrice34, hammerBroCapsulePrice34, + piranhaPlantCapsulePrice34, spearGuyCapsulePrice34, kamekCapsulePrice34, + toadyCapsulePrice34, mrBlizzardCapsulePrice34, banditCapsulePrice34, + pinkBooCapsulePrice34, spinyCapsulePrice34, zapCapsulePrice34, + tweesterCapsulePrice34, thwompCapsulePrice34, warpCapsulePrice34, + bombCapsulePrice34, fireballCapsulePrice34, flowerCapsulePrice34, + eggCapsulePrice34, vacuumCapsulePrice34, magicCapsulePrice34, + tripleCapsulePrice34, koopaCapsulePrice34 + ] - for line in weight_code7: - weights7.append(line[6:8]) - - for line in price_code7: - prices7.append(line[6:8]) - - for weight in weights7: - weights7In.append(int(weight, 16)) - - for price in prices7: - prices7In.append(int(price, 16)) + if not hide_custom: + prices12.extend([ + poisonMushroomPrice12, + orbBagCapsulePrice12, + mysteryCapsulePrice12, + dkCapsulePrice12, + duelCapsulePrice12 + ]) + prices34.extend([ + poisonMushroomPrice34, + orbBagCapsulePrice34, + mysteryCapsulePrice34, + dkCapsulePrice34, + duelCapsulePrice34 + ]) + shopOdds12.extend([ + poisonMushroomShopOdds12, + orbBagCapsuleShopOdds12, + mysteryCapsuleShopOdds12, + dkCapsuleShopOdds12, + duelCapsuleShopOdds12 + ]) + shopOdds34.extend([ + poisonMushroomShopOdds34, + orbBagCapsuleShopOdds34, + mysteryCapsuleShopOdds34, + dkCapsuleShopOdds34, + duelCapsuleShopOdds34 + ]) + spaceOdds12.extend([ + poisonMushroomSpaceOdds12, + orbBagCapsuleSpaceOdds12, + mysteryCapsuleSpaceOdds12, + dkCapsuleSpaceOdds12, + duelCapsuleSpaceOdds12 + ]) + spaceOdds34.extend([ + poisonMushroomSpaceOdds34, + orbBagCapsuleSpaceOdds34, + mysteryCapsuleSpaceOdds34, + dkCapsuleSpaceOdds34, + duelCapsuleSpaceOdds34 + ]) - print(prices7In) - print(weights7In) - - prices7In.insert(31, prices7In.pop(32)) - weights7In.insert(31, weights7In.pop(32)) - - testVar = "" - - # Define a list of Entry widget attributes - pricesNames7 = [testVar, goldenMushroomCapsulePrice7, slowMushroomCapsulePrice7, metalMushroomCapsulePrice7, flutterCapsulePrice7, cannonCapsulePrice7, snackCapsulePrice7, lakituCapsulePrice7, hammerBroCapsulePrice7, plantCapsulePrice7, spearCapsulePrice7, kamekCapsulePrice7, toadyCapsulePrice7, blizzardCapsulePrice7, banditCapsulePrice7, pinkBooCapsulePrice7, spinyCapsulePrice7, zapCapsulePrice7, tweesterCapsulePrice7, thwompCapsulePrice7, warpCapsulePrice7, bombCapsulePrice7, fireballCapsulePrice7, flowerCapsulePrice7, eggCapsulePrice7, vacuumCapsulePrice7, magicCapsulePrice7, tripleCapsulePrice7, koopaCapsulePrice7] - weightsNames7 = [mushroomCapsuleWeight7, goldenMushroomCapsuleWeight7, slowMushroomCapsuleWeight7, metalMushroomCapsuleWeight7, flutterCapsuleWeight7, cannonCapsuleWeight7, snackCapsuleWeight7, lakituCapsuleWeight7, hammerBroCapsuleWeight7, plantCapsuleWeight7, spearCapsuleWeight7, kamekCapsuleWeight7, toadyCapsuleWeight7, blizzardCapsuleWeight7, banditCapsuleWeight7, pinkBooCapsuleWeight7, spinyCapsuleWeight7, zapCapsuleWeight7, tweesterCapsuleWeight7, thwompCapsuleWeight7, warpCapsuleWeight7, bombCapsuleWeight7, fireballCapsuleWeight7, flowerCapsuleWeight7, eggCapsuleWeight7, vacuumCapsuleWeight7, magicCapsuleWeight7, tripleCapsuleWeight7, koopaCapsuleWeight7] - - if not hide_custom: - pricesNames7.extend([dkCapsulePrice7, posionMushroomPrice7, duelCapsulePrice7, mysteryCapsulePrice7, orbBagCapsulePrice7]) - weightsNames7.extend([dkCapsuleWeight7, posionMushroomWeight7, duelCapsuleWeight7, mysteryCapsuleWeight7, orbBagCapsuleWeight7]) - - # Update widgets with loaded values - for index, widget in enumerate(pricesNames7): - if widget and index < len(prices7In): - widget.delete(0, 'end') - widget.insert(0, int(prices7In[index])) - for index, widget in enumerate(weightsNames7): - if widget and index < len(weights7In): - widget.delete(0, 'end') - widget.insert(0, int(weights7In[index])) - print("Code loaded successfully!") - - top.destroy() + # Update widgets with loaded values + for index, widget in enumerate(prices12): + if widget and index < len(prices12In): + try: + widget.delete(0, 'end') + except: + pass + try: + widget.insert(0, int(prices12In[index])) + except: + pass + for index, widget in enumerate(prices34): + if widget and index < len(prices34In): + try: + widget.delete(0, 'end') + except: + pass + try: + widget.insert(0, int(prices34In[index])) + except: + pass + + # Update widgets for shop odds + for index, widget in enumerate(shopOdds12): + if widget and index < len(shopOdds12In): + try: + widget.delete(0, 'end') + except: + pass + try: + widget.insert(0, int(shopOdds12In[index])) + except: + pass + for index, widget in enumerate(shopOdds34): + if widget and index < len(shopOdds34In): + try: + widget.delete(0, 'end') + except: + pass + try: + widget.insert(0, int(shopOdds34In[index])) + except: + pass + + # Update widgets for space odds + for index, widget in enumerate(spaceOdds12): + if widget and index < len(spaceOdds12In): + try: + widget.delete(0, 'end') + except: + pass + try: + widget.insert(0, int(spaceOdds12In[index])) + except: + pass + for index, widget in enumerate(spaceOdds34): + if widget and index < len(spaceOdds34In): + try: + widget.delete(0, 'end') + except: + pass + try: + widget.insert(0, int(spaceOdds34In[index])) + except: + pass - createDialog("Operation Sucessful", "success", "Code loaded successfully!.", None) \ No newline at end of file + print("MPT file laoded successfully!") + createDialog("Operation Sucessful", "success", "Presets file saved successfully!.", None) \ No newline at end of file diff --git a/frames/marioParty4_frame.py b/frames/marioParty4_frame.py index 7e280df..5413517 100644 --- a/frames/marioParty4_frame.py +++ b/frames/marioParty4_frame.py @@ -260,21 +260,157 @@ def create_entry(tab, row, icon_path, label_text, color, placerholder): itemBagWeight4.grid(row=5, column=19) label = ctk.CTkLabel(master=tabview.tab("Item Mods"), text=" % common.", font=("Arial", 16)) label.grid(row=5, column=20) + + icon = create_image_icon(tabview.tab("Item Mods"), "assets/items/mushroom4.png", 6, 15) + labelMushroom1 = ctk.CTkLabel(master=tabview.tab("Item Mods"), text=" Costs ", font=("Arial", 16)) + mushroomPrice4 = ctk.CTkEntry(master=tabview.tab("Item Mods"), width=48, font=("Arial", 16, "bold")) + labelMushroom2 = ctk.CTkLabel(master=tabview.tab("Item Mods"), text=" and is ", font=("Arial", 16)) + mushroomWeight4 = ctk.CTkEntry(master=tabview.tab("Item Mods"), width=48, font=("Arial", 16, "bold")) + labelMushroom3 = ctk.CTkLabel(master=tabview.tab("Item Mods"), text=" % common.", font=("Arial", 16)) + + icon = create_image_icon(tabview.tab("Item Mods"), "assets/items/goldenMushroom4.png", 7, 1) + labelGoldenMushroom1 = ctk.CTkLabel(master=tabview.tab("Item Mods"), text=" Costs ", font=("Arial", 16)) + goldenMushroomPrice4 = ctk.CTkEntry(master=tabview.tab("Item Mods"), width=48, font=("Arial", 16, "bold")) + labelGoldenMushroom2 = ctk.CTkLabel(master=tabview.tab("Item Mods"), text=" and is ", font=("Arial", 16)) + goldenMushroomWeight4 = ctk.CTkEntry(master=tabview.tab("Item Mods"), width=48, font=("Arial", 16, "bold")) + labelGoldenMushroom3 = ctk.CTkLabel(master=tabview.tab("Item Mods"), text=" % common.", font=("Arial", 16)) + + icon = create_image_icon(tabview.tab("Item Mods"), "assets/items/celluarShopper.png", 7, 8) + labelCelluarShopper1 = ctk.CTkLabel(master=tabview.tab("Item Mods"), text=" Costs ", font=("Arial", 16)) + celluarShopperPrice4 = ctk.CTkEntry(master=tabview.tab("Item Mods"), width=48, font=("Arial", 16, "bold")) + labelCelluarShopper2 = ctk.CTkLabel(master=tabview.tab("Item Mods"), text=" and is ", font=("Arial", 16)) + celluarShopperWeight4 = ctk.CTkEntry(master=tabview.tab("Item Mods"), width=48, font=("Arial", 16, "bold")) + labelCelluarShopper3 = ctk.CTkLabel(master=tabview.tab("Item Mods"), text=" % common.", font=("Arial", 16)) + + icon = create_image_icon(tabview.tab("Item Mods"), "assets/items/bowserPhone.png", 7, 15) + labelBowserPhone1 = ctk.CTkLabel(master=tabview.tab("Item Mods"), text=" Costs ", font=("Arial", 16)) + bowserPhonePrice4 = ctk.CTkEntry(master=tabview.tab("Item Mods"), width=48, font=("Arial", 16, "bold")) + labelBowserPhone2 = ctk.CTkLabel(master=tabview.tab("Item Mods"), text=" and is ", font=("Arial", 16)) + bowserPhoneWeight4 = ctk.CTkEntry(master=tabview.tab("Item Mods"), width=48, font=("Arial", 16, "bold")) + labelBowserPhone3 = ctk.CTkLabel(master=tabview.tab("Item Mods"), text=" % common.", font=("Arial", 16)) - parseButtonThree = ctk.CTkButton(master=tabview.tab("Item Mods"), command=lambda: itemsEvent_mp4(miniPrice4, miniWeight4, megaPrice4, megaWeight4, superMiniPrice4, superMiniWeight4, superMegaPrice4, superMegaWeight4, miniMegaHammerPrice4, miniMegaHammerWeight4, sparkyStickerPrice4, sparkyStickerWeight4, warpPipePrice4, warpPipeWeight4, swapCardPrice4, swapCardWeight4, bowserSuitPrice4, bowserSuitWeight4, gaddlightPrice4, gaddlightWeight4, magicLampPrice4, magicLampWeight4, crystalBallPrice4, crystalBallWeight4, chompCallPrice4, chompCallWeight4, itemBagPrice4, itemBagWeight4), text="Generate Codes") + icon = create_image_icon(tabview.tab("Item Mods"), "assets/items/hiddenBlockCard.png", 8, 1) + labelHiddenBlockCard1 = ctk.CTkLabel(master=tabview.tab("Item Mods"), text=" Costs ", font=("Arial", 16)) + hiddenBlockCardPrice4 = ctk.CTkEntry(master=tabview.tab("Item Mods"), width=48, font=("Arial", 16, "bold")) + labelHiddenBlockCard2 = ctk.CTkLabel(master=tabview.tab("Item Mods"), text=" and is ", font=("Arial", 16)) + hiddenBlockCardWeight4 = ctk.CTkEntry(master=tabview.tab("Item Mods"), width=48, font=("Arial", 16, "bold")) + labelHiddenBlockCard3 = ctk.CTkLabel(master=tabview.tab("Item Mods"), text=" % common.", font=("Arial", 16)) + + parseButtonThree = ctk.CTkButton(master=tabview.tab("Item Mods"), command=lambda: itemsEvent_mp4(miniPrice4, miniWeight4, megaPrice4, megaWeight4, superMiniPrice4, superMiniWeight4, superMegaPrice4, superMegaWeight4, miniMegaHammerPrice4, miniMegaHammerWeight4, sparkyStickerPrice4, sparkyStickerWeight4, warpPipePrice4, warpPipeWeight4, swapCardPrice4, swapCardWeight4, bowserSuitPrice4, bowserSuitWeight4, gaddlightPrice4, gaddlightWeight4, magicLampPrice4, magicLampWeight4, crystalBallPrice4, crystalBallWeight4, chompCallPrice4, chompCallWeight4, itemBagPrice4, itemBagWeight4, mushroomPrice4 if hide_custom == False else "0", mushroomWeight4 if hide_custom == False else "0", goldenMushroomPrice4 if hide_custom == False else "0", goldenMushroomWeight4 if hide_custom == False else "0", bowserPhonePrice4 if hide_custom == False else "0", bowserPhoneWeight4 if hide_custom == False else "0", celluarShopperPrice4 if hide_custom == False else "0", celluarShopperWeight4 if hide_custom == False else "0", hiddenBlockCardPrice4 if hide_custom == False else "0", hiddenBlockCardWeight4 if hide_custom == False else "0"), text="Generate Codes") parseButtonThree.place(x=10, y=800) - parseButtonFour = ctk.CTkButton(master=tabview.tab("Item Mods"), command=lambda: savePresetItems4(miniPrice4, miniWeight4, megaPrice4, megaWeight4, superMiniPrice4, superMiniWeight4, superMegaPrice4, superMegaWeight4, miniMegaHammerPrice4, miniMegaHammerWeight4, sparkyStickerPrice4, sparkyStickerWeight4, warpPipePrice4, warpPipeWeight4, swapCardPrice4, swapCardWeight4, bowserSuitPrice4, bowserSuitWeight4, gaddlightPrice4, gaddlightWeight4, magicLampPrice4, magicLampWeight4, crystalBallPrice4, crystalBallWeight4, chompCallPrice4, chompCallWeight4, itemBagPrice4, itemBagWeight4), text="Save Preset") + parseButtonFour = ctk.CTkButton(master=tabview.tab("Item Mods"), command=lambda: savePresetItems4(miniPrice4, miniWeight4, megaPrice4, megaWeight4, superMiniPrice4, superMiniWeight4, superMegaPrice4, superMegaWeight4, miniMegaHammerPrice4, miniMegaHammerWeight4, sparkyStickerPrice4, sparkyStickerWeight4, warpPipePrice4, warpPipeWeight4, swapCardPrice4, swapCardWeight4, bowserSuitPrice4, bowserSuitWeight4, gaddlightPrice4, gaddlightWeight4, magicLampPrice4, magicLampWeight4, crystalBallPrice4, crystalBallWeight4, chompCallPrice4, chompCallWeight4, itemBagPrice4, itemBagWeight4, mushroomPrice4 if hide_custom == False else "0", mushroomWeight4 if hide_custom == False else "0", goldenMushroomPrice4 if hide_custom == False else "0", goldenMushroomWeight4 if hide_custom == False else "0", bowserPhonePrice4 if hide_custom == False else "0", bowserPhoneWeight4 if hide_custom == False else "0", celluarShopperPrice4 if hide_custom == False else "0", celluarShopperWeight4 if hide_custom == False else "0", hiddenBlockCardPrice4 if hide_custom == False else "0", hiddenBlockCardWeight4 if hide_custom == False else "0"), text="Save Preset") parseButtonFour.place(x=160, y=800) - parseButtonFour = ctk.CTkButton(master=tabview.tab("Item Mods"), command=lambda: loadPresetItems4(miniPrice4, miniWeight4, megaPrice4, megaWeight4, superMiniPrice4, superMiniWeight4, superMegaPrice4, superMegaWeight4, miniMegaHammerPrice4, miniMegaHammerWeight4, sparkyStickerPrice4, sparkyStickerWeight4, warpPipePrice4, warpPipeWeight4, swapCardPrice4, swapCardWeight4, bowserSuitPrice4, bowserSuitWeight4, gaddlightPrice4, gaddlightWeight4, magicLampPrice4, magicLampWeight4, crystalBallPrice4, crystalBallWeight4, chompCallPrice4, chompCallWeight4, itemBagPrice4, itemBagWeight4), text="Load Preset") + parseButtonFour = ctk.CTkButton(master=tabview.tab("Item Mods"), command=lambda: loadPresetItems4(hide_custom, miniPrice4, miniWeight4, megaPrice4, megaWeight4, superMiniPrice4, superMiniWeight4, superMegaPrice4, superMegaWeight4, miniMegaHammerPrice4, miniMegaHammerWeight4, sparkyStickerPrice4, sparkyStickerWeight4, warpPipePrice4, warpPipeWeight4, swapCardPrice4, swapCardWeight4, bowserSuitPrice4, bowserSuitWeight4, gaddlightPrice4, gaddlightWeight4, magicLampPrice4, magicLampWeight4, crystalBallPrice4, crystalBallWeight4, chompCallPrice4, chompCallWeight4, itemBagPrice4, itemBagWeight4, mushroomPrice4 if hide_custom == False else "0", mushroomWeight4 if hide_custom == False else "0", goldenMushroomPrice4 if hide_custom == False else "0", goldenMushroomWeight4 if hide_custom == False else "0", bowserPhonePrice4 if hide_custom == False else "0", bowserPhoneWeight4 if hide_custom == False else "0", celluarShopperPrice4 if hide_custom == False else "0", celluarShopperWeight4 if hide_custom == False else "0", hiddenBlockCardPrice4 if hide_custom == False else "0", hiddenBlockCardWeight4 if hide_custom == False else "0"), text="Load Preset") parseButtonFour.place(x=310, y=800) - items4 = ["None", "Mini Mushroom", "Mega Mushroom", "Super Mini Mushroom", "Super Mega Mushroom", "Mini-Mega Hammer", "Warp Pipe", "Swap Card", "Sparky Sticker", "Gaddlight", "Chomp Call", "Bowser Suit", "Boo's Crystal Ball", "Magic Lamp", "Item Bag"] + hideCustomSwitch = ctk.CTkSwitch(master=tabview.tab("Item Mods"), text="Show Custom Items") + hideCustomSwitch.place(x=610, y=800) parseButtonFiveFillViaCode = ctk.CTkButton(master=tabview.tab("Item Mods"), command=lambda: fillViaCode4Actions(), text="Fill Via Code") parseButtonFiveFillViaCode.place(x=460, y=800) + global hide_custom + hide_custom = False + + def toggle_hide_custom(): + global hide_custom + hide_custom = not hide_custom + + if hide_custom: + mushroomPrice4.grid_forget() + mushroomWeight4.grid_forget() + goldenMushroomPrice4.grid_forget() + goldenMushroomWeight4.grid_forget() + celluarShopperPrice4.grid_forget() + celluarShopperWeight4.grid_forget() + bowserPhonePrice4.grid_forget() + bowserPhoneWeight4.grid_forget() + hiddenBlockCardPrice4.grid_forget() + hiddenBlockCardWeight4.grid_forget() + labelMushroom1.grid_forget() + labelMushroom2.grid_forget() + labelMushroom3.grid_forget() + labelGoldenMushroom1.grid_forget() + labelGoldenMushroom2.grid_forget() + labelGoldenMushroom3.grid_forget() + labelCelluarShopper1.grid_forget() + labelCelluarShopper2.grid_forget() + labelCelluarShopper3.grid_forget() + labelBowserPhone1.grid_forget() + labelBowserPhone2.grid_forget() + labelBowserPhone3.grid_forget() + labelHiddenBlockCard1.grid_forget() + labelHiddenBlockCard2.grid_forget() + labelHiddenBlockCard3.grid_forget() + for widget in tabview.tab("Item Mods").winfo_children(): + if isinstance(widget, ctk.CTkLabel) and widget.cget("text") == "8:1": + widget.grid_forget() + for widget in tabview.tab("Item Mods").winfo_children(): + if isinstance(widget, ctk.CTkLabel) and widget.cget("text") == "7:1": + widget.grid_forget() + for widget in tabview.tab("Item Mods").winfo_children(): + if isinstance(widget, ctk.CTkLabel) and widget.cget("text") == "7:8": + widget.grid_forget() + for widget in tabview.tab("Item Mods").winfo_children(): + if isinstance(widget, ctk.CTkLabel) and widget.cget("text") == "7:15": + widget.grid_forget() + for widget in tabview.tab("Item Mods").winfo_children(): + if isinstance(widget, ctk.CTkLabel) and widget.cget("text") == "6:15": + widget.grid_forget() + else: + for widget in tabview.tab("Item Mods").winfo_children(): + if isinstance(widget, ctk.CTkLabel) and widget.cget("text") == "8:1": + widget.grid(row=8, column=1) + for widget in tabview.tab("Item Mods").winfo_children(): + if isinstance(widget, ctk.CTkLabel) and widget.cget("text") == "7:1": + widget.grid(row=7, column=1) + for widget in tabview.tab("Item Mods").winfo_children(): + if isinstance(widget, ctk.CTkLabel) and widget.cget("text") == "7:8": + widget.grid(row=7, column=8) + for widget in tabview.tab("Item Mods").winfo_children(): + if isinstance(widget, ctk.CTkLabel) and widget.cget("text") == "7:15": + widget.grid(row=7, column=15) + for widget in tabview.tab("Item Mods").winfo_children(): + if isinstance(widget, ctk.CTkLabel) and widget.cget("text") == "6:15": + widget.grid(row=6, column=15) + labelMushroom1.grid(row=6, column=16) + mushroomPrice4.grid(row=6, column=17) + labelMushroom2.grid(row=6, column=18) + mushroomWeight4.grid(row=6, column=19) + labelMushroom3.grid(row=6, column=20) + + labelGoldenMushroom1.grid(row=7, column=2) + goldenMushroomPrice4.grid(row=7, column=3) + labelGoldenMushroom2.grid(row=7, column=4) + goldenMushroomWeight4.grid(row=7, column=5) + labelGoldenMushroom3.grid(row=7, column=6) + + labelCelluarShopper1.grid(row=7, column=9) + celluarShopperPrice4.grid(row=7, column=10) + labelCelluarShopper2.grid(row=7, column=11) + celluarShopperWeight4.grid(row=7, column=12) + labelCelluarShopper3.grid(row=7, column=13) + + labelBowserPhone1.grid(row=7, column=16) + bowserPhonePrice4.grid(row=7, column=17) + labelBowserPhone2.grid(row=7, column=18) + bowserPhoneWeight4.grid(row=7, column=19) + labelBowserPhone3.grid(row=7, column=20) + + labelHiddenBlockCard1.grid(row=8, column=2) + hiddenBlockCardPrice4.grid(row=8, column=3) + labelHiddenBlockCard2.grid(row=8, column=4) + hiddenBlockCardWeight4.grid(row=8, column=5) + labelHiddenBlockCard3.grid(row=8, column=6) + + hideCustomSwitch.configure(command=toggle_hide_custom) + toggle_hide_custom() + + + items4 = ["None", "Mini Mushroom", "Mega Mushroom", "Super Mini Mushroom", "Super Mega Mushroom", "Mini-Mega Hammer", "Warp Pipe", "Swap Card", "Sparky Sticker", "Gaddlight", "Chomp Call", "Bowser Suit", "Boo's Crystal Ball", "Magic Lamp", "Item Bag"] + def fillViaCode4Actions(): top = ctk.CTkToplevel(height=500, width=500) top.attributes('-topmost', True) @@ -286,7 +422,7 @@ def fillViaCode4Actions(): codeText = ctk.CTkTextbox(master=top, width=200, height=400) codeText.place(x=10, y=65) - submitButton = ctk.CTkButton(master=top, command=lambda: fillViaCode4(top, codeText, miniPrice4, miniWeight4, megaPrice4, megaWeight4, superMiniPrice4, superMiniWeight4, superMegaPrice4, superMegaWeight4, miniMegaHammerPrice4, miniMegaHammerWeight4, sparkyStickerPrice4, sparkyStickerWeight4, warpPipePrice4, warpPipeWeight4, swapCardPrice4, swapCardWeight4, bowserSuitPrice4, bowserSuitWeight4, gaddlightPrice4, gaddlightWeight4, magicLampPrice4, magicLampWeight4, crystalBallPrice4, crystalBallWeight4, chompCallPrice4, chompCallWeight4, itemBagPrice4, itemBagWeight4), text="Submit") + submitButton = ctk.CTkButton(master=top, command=lambda: fillViaCode4(hide_custom, top, codeText, miniPrice4, miniWeight4, megaPrice4, megaWeight4, superMiniPrice4, superMiniWeight4, superMegaPrice4, superMegaWeight4, miniMegaHammerPrice4, miniMegaHammerWeight4, sparkyStickerPrice4, sparkyStickerWeight4, warpPipePrice4, warpPipeWeight4, swapCardPrice4, swapCardWeight4, bowserSuitPrice4, bowserSuitWeight4, gaddlightPrice4, gaddlightWeight4, magicLampPrice4, magicLampWeight4, crystalBallPrice4, crystalBallWeight4, chompCallPrice4, chompCallWeight4, itemBagPrice4, itemBagWeight4, mushroomPrice4 if hide_custom == False else "0", mushroomWeight4 if hide_custom == False else "0", goldenMushroomPrice4 if hide_custom == False else "0", goldenMushroomWeight4 if hide_custom == False else "0", bowserPhonePrice4 if hide_custom == False else "0", bowserPhoneWeight4 if hide_custom == False else "0", celluarShopperPrice4 if hide_custom == False else "0", celluarShopperWeight4 if hide_custom == False else "0", hiddenBlockCardPrice4 if hide_custom == False else "0", hiddenBlockCardWeight4 if hide_custom == False else "0"), text="Submit") submitButton.place(x=250, y=425) label = ctk.CTkLabel(master=tabview.tab("Initial Items"), text=" Item 1: ", font=("Arial", 16)) diff --git a/frames/marioParty6_frame.py b/frames/marioParty6_frame.py index 47f663d..7239335 100644 --- a/frames/marioParty6_frame.py +++ b/frames/marioParty6_frame.py @@ -671,7 +671,7 @@ def toggle_hide_custom(): parse_stars_button = ctk.CTkButton(master=tabview.tab("Star Handicaps"), command=lambda: handicapEvent_mp6(p1Stars, p2Stars, p3Stars, p4Stars), text="Generate Codes") parse_stars_button.place(x=10, y=800) - stars6 = ["None", "Blue Star", "Red Star", "Character Space Star", "Happening Star", "Duel Star", "Chance Time Star", "Bowser Star", "DK Star", "Minigame Star", "Current Coins Star", "Coin Star", "Star Star", "Orb Star"] + stars6 = ["None", "Blue Star", "Red Star", "Character Space Star", "Happening Star", "Bowser Star", "Chance Time Star", "Duel Star", "DK Star", "Minigame Star", "Current Coins Star", "Coin Star", "Star Star", "Orb Star"] label = ctk.CTkLabel(master=tabview.tab("Bonus Star Replacement"), text=" Replace Minigame Star with: ", font=("Arial", 16)) label.grid(row=0, column=0, sticky="w") @@ -733,4 +733,4 @@ def toggle_hide_custom(): parse_stars_button.place(x=10, y=800) return frame - \ No newline at end of file + diff --git a/frames/marioParty7_frame.py b/frames/marioParty7_frame.py index 078e62c..4eab123 100644 --- a/frames/marioParty7_frame.py +++ b/frames/marioParty7_frame.py @@ -93,523 +93,1502 @@ def create_entry2(tab, row, icon_path, label_text, color): parse_minigame_button = ctk.CTkButton(master=tabview.tab("Minigame Replacement"), command=lambda: mgReplaceEvent_mp7(combobox_mingames_1, combobox_mingames_2, minigames_list), text="Generate Codes") parse_minigame_button.place(x=10, y=800) - icon = create_image_icon(tabview.tab("Orb Mods"), "assets/items/mushroomCapsule.png", 2, 1) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" Costs ", font=("Arial", 16)) + + # ORB GEN + scrollable_frame = ctk.CTkFrame(master=tabview.tab("Orb Mods"), fg_color=("#fcfcfc", "#2e2e2e")) + scrollable_frame.grid(row=0, column=0, sticky="nsew", pady=(0, 50)) + # Configure grid to allow stretching + tabview.tab("Orb Mods").grid_rowconfigure(0, weight=1) + tabview.tab("Orb Mods").grid_columnconfigure(0, weight=1) + scrollable_frame.grid_rowconfigure(0, weight=1) + + # Create a canvas for scrolling + canvas = ctk.CTkCanvas(master=scrollable_frame, bg="#2e2e2e", highlightthickness=0) + canvas.grid(row=0, column=0, sticky="nsew") + + # Create a vertical scrollbar linked to the canvas + scrollbar = ctk.CTkScrollbar(master=scrollable_frame, orientation="vertical", command=canvas.yview, fg_color=("#ffffff", "#3a3a3a")) + scrollbar.grid(row=0, column=1, sticky="ns") + + # Configure the canvas to work with the scrollbar + canvas.configure(yscrollcommand=scrollbar.set) + + # Create a frame inside the canvas to hold the content + content_frame = ctk.CTkFrame(master=canvas, fg_color=("#fcfcfc", "#2e2e2e")) + canvas.create_window((0, 0), window=content_frame, anchor="nw") + + # Function to update the scroll region + def update_scroll_region(event): + canvas.configure(scrollregion=canvas.bbox("all")) + + content_frame.bind("", update_scroll_region) + + # Configure the canvas to fill the width of the scrollable frame + scrollable_frame.grid_columnconfigure(0, weight=1) # Ensure the canvas fills the width + canvas.grid_rowconfigure(0, weight=1) # Ensure the canvas fills the height + + # Mushroom + icon = create_image_icon(content_frame, "assets/items/mushroomCapsule.png", 2, 1) + label = ctk.CTkLabel(master=content_frame, text=" Cost\n 1st / 2nd ", font=("Arial", 14)) label.grid(row=2, column=2) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" 5 ", font=("Arial", 24, "bold")) + label = ctk.CTkLabel(master=content_frame, text=" 5 ", font=("Arial", 24, "bold")) label.grid(row=2, column=3) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" and is ", font=("Arial", 16)) + label = ctk.CTkLabel(master=content_frame, text=" Cost\n 3rd / 4th ", font=("Arial", 14)) label.grid(row=2, column=4) - mushroomCapsuleWeight7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - mushroomCapsuleWeight7.grid(row=2, column=5) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" % common. ", font=("Arial", 16)) + label = ctk.CTkLabel(master=content_frame, text=" 5 ", font=("Arial", 24, "bold")) + label.grid(row=2, column=5) + label = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Early ", font=("Arial", 14)) label.grid(row=2, column=6) - - icon = create_image_icon(tabview.tab("Orb Mods"), "assets/items/goldenMushroomCapsule.png", 3, 1) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" Costs ", font=("Arial", 16)) + mushroomCapsuleShopOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + mushroomCapsuleShopOdds12.grid(row=2, column=7) + label = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Late ", font=("Arial", 14)) + label.grid(row=2, column=8) + mushroomCapsuleShopOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + mushroomCapsuleShopOdds34.grid(row=2, column=9) + label = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 1st / 2nd ", font=("Arial", 14)) + label.grid(row=2, column=10) + mushroomCapsuleSpaceOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + mushroomCapsuleSpaceOdds12.grid(row=2, column=11) + label = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 3rd / 4th ", font=("Arial", 14)) + label.grid(row=2, column=12) + mushroomCapsuleSpaceOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + mushroomCapsuleSpaceOdds34.grid(row=2, column=13) + + # Golden Mushroom + icon = create_image_icon(content_frame, "assets/items/goldenMushroomCapsule.png", 3, 1) + label = ctk.CTkLabel(master=content_frame, text=" Cost\n 1st / 2nd ", font=("Arial", 14)) label.grid(row=3, column=2) - goldenMushroomCapsulePrice7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - goldenMushroomCapsulePrice7.grid(row=3, column=3) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" and is ", font=("Arial", 16)) + goldenMushroomCapsulePrice12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + goldenMushroomCapsulePrice12.grid(row=3, column=3) + label = ctk.CTkLabel(master=content_frame, text=" Cost\n 3rd / 4th ", font=("Arial", 14)) label.grid(row=3, column=4) - goldenMushroomCapsuleWeight7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - goldenMushroomCapsuleWeight7.grid(row=3, column=5) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" % common.", font=("Arial", 16)) + goldenMushroomCapsulePrice34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + goldenMushroomCapsulePrice34.grid(row=3, column=5) + label = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Early ", font=("Arial", 14)) label.grid(row=3, column=6) - - - icon = create_image_icon(tabview.tab("Orb Mods"), "assets/items/slowMushroomCapsule.png", 4, 1) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" Costs ", font=("Arial", 16)) + goldenMushroomCapsuleShopOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + goldenMushroomCapsuleShopOdds12.grid(row=3, column=7) + label = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Late ", font=("Arial", 14)) + label.grid(row=3, column=8) + goldenMushroomCapsuleShopOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + goldenMushroomCapsuleShopOdds34.grid(row=3, column=9) + label = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 1st / 2nd ", font=("Arial", 14)) + label.grid(row=3, column=10) + goldenMushroomCapsuleSpaceOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + goldenMushroomCapsuleSpaceOdds12.grid(row=3, column=11) + label = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 3rd / 4th ", font=("Arial", 14)) + label.grid(row=3, column=12) + goldenMushroomCapsuleSpaceOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + goldenMushroomCapsuleSpaceOdds34.grid(row=3, column=13) + + # Slow Mushroom + icon = create_image_icon(content_frame, "assets/items/slowMushroomCapsule.png", 4, 1) + label = ctk.CTkLabel(master=content_frame, text=" Cost\n 1st / 2nd ", font=("Arial", 14)) label.grid(row=4, column=2) - slowMushroomCapsulePrice7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - slowMushroomCapsulePrice7.grid(row=4, column=3) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" and is ", font=("Arial", 16)) + slowMushroomCapsulePrice12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + slowMushroomCapsulePrice12.grid(row=4, column=3) + label = ctk.CTkLabel(master=content_frame, text=" Cost\n 3rd / 4th ", font=("Arial", 14)) label.grid(row=4, column=4) - slowMushroomCapsuleWeight7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - slowMushroomCapsuleWeight7.grid(row=4, column=5) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" % common.", font=("Arial", 16)) + slowMushroomCapsulePrice34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + slowMushroomCapsulePrice34.grid(row=4, column=5) + label = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Early ", font=("Arial", 14)) label.grid(row=4, column=6) - - - icon = create_image_icon(tabview.tab("Orb Mods"), "assets/items/metalMushroomCapsule.png", 5, 1) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" Costs ", font=("Arial", 16)) + slowMushroomCapsuleShopOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + slowMushroomCapsuleShopOdds12.grid(row=4, column=7) + label = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Late ", font=("Arial", 14)) + label.grid(row=4, column=8) + slowMushroomCapsuleShopOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + slowMushroomCapsuleShopOdds34.grid(row=4, column=9) + label = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 1st / 2nd ", font=("Arial", 14)) + label.grid(row=4, column=10) + slowMushroomCapsuleSpaceOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + slowMushroomCapsuleSpaceOdds12.grid(row=4, column=11) + label = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 3rd / 4th ", font=("Arial", 14)) + label.grid(row=4, column=12) + slowMushroomCapsuleSpaceOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + slowMushroomCapsuleSpaceOdds34.grid(row=4, column=13) + + # Metal Mushroom + icon = create_image_icon(content_frame, "assets/items/metalMushroomCapsule.png", 5, 1) + label = ctk.CTkLabel(master=content_frame, text=" Cost\n 1st / 2nd ", font=("Arial", 14)) label.grid(row=5, column=2) - metalMushroomCapsulePrice7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - metalMushroomCapsulePrice7.grid(row=5, column=3) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" and is ", font=("Arial", 16)) + metalMushroomCapsulePrice12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + metalMushroomCapsulePrice12.grid(row=5, column=3) + label = ctk.CTkLabel(master=content_frame, text=" Cost\n 3rd / 4th ", font=("Arial", 14)) label.grid(row=5, column=4) - metalMushroomCapsuleWeight7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - metalMushroomCapsuleWeight7.grid(row=5, column=5) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" % common.", font=("Arial", 16)) + metalMushroomCapsulePrice34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + metalMushroomCapsulePrice34.grid(row=5, column=5) + label = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Early ", font=("Arial", 14)) label.grid(row=5, column=6) - - - icon = create_image_icon(tabview.tab("Orb Mods"), "assets/items/wigglerCapsule.png", 6, 1) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" Costs ", font=("Arial", 16)) + metalMushroomCapsuleShopOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + metalMushroomCapsuleShopOdds12.grid(row=5, column=7) + label = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Late ", font=("Arial", 14)) + label.grid(row=5, column=8) + metalMushroomCapsuleShopOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + metalMushroomCapsuleShopOdds34.grid(row=5, column=9) + label = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 1st / 2nd ", font=("Arial", 14)) + label.grid(row=5, column=10) + metalMushroomCapsuleSpaceOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + metalMushroomCapsuleSpaceOdds12.grid(row=5, column=11) + label = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 3rd / 4th ", font=("Arial", 14)) + label.grid(row=5, column=12) + metalMushroomCapsuleSpaceOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + metalMushroomCapsuleSpaceOdds34.grid(row=5, column=13) + + # Flutter + icon = create_image_icon(content_frame, "assets/items/wigglerCapsule.png", 6, 1) + label = ctk.CTkLabel(master=content_frame, text=" Cost\n 1st / 2nd ", font=("Arial", 14)) label.grid(row=6, column=2) - flutterCapsulePrice7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - flutterCapsulePrice7.grid(row=6, column=3) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" and is ", font=("Arial", 16)) + flutterCapsulePrice12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + flutterCapsulePrice12.grid(row=6, column=3) + label = ctk.CTkLabel(master=content_frame, text=" Cost\n 3rd / 4th ", font=("Arial", 14)) label.grid(row=6, column=4) - flutterCapsuleWeight7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - flutterCapsuleWeight7.grid(row=6, column=5) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" % common.", font=("Arial", 16)) + flutterCapsulePrice34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + flutterCapsulePrice34.grid(row=6, column=5) + label = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Early ", font=("Arial", 14)) label.grid(row=6, column=6) - - - icon = create_image_icon(tabview.tab("Orb Mods"), "assets/items/cannonCapsule.png", 7, 1) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" Costs ", font=("Arial", 16)) + flutterCapsuleShopOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + flutterCapsuleShopOdds12.grid(row=6, column=7) + label = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Late ", font=("Arial", 14)) + label.grid(row=6, column=8) + flutterCapsuleShopOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + flutterCapsuleShopOdds34.grid(row=6, column=9) + label = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 1st / 2nd ", font=("Arial", 14)) + label.grid(row=6, column=10) + flutterCapsuleSpaceOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + flutterCapsuleSpaceOdds12.grid(row=6, column=11) + label = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 3rd / 4th ", font=("Arial", 14)) + label.grid(row=6, column=12) + flutterCapsuleSpaceOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + flutterCapsuleSpaceOdds34.grid(row=6, column=13) + + # Cannon + icon = create_image_icon(content_frame, "assets/items/cannonCapsule.png", 7, 1) + label = ctk.CTkLabel(master=content_frame, text=" Cost\n 1st / 2nd ", font=("Arial", 14)) label.grid(row=7, column=2) - cannonCapsulePrice7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - cannonCapsulePrice7.grid(row=7, column=3) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" and is ", font=("Arial", 16)) + cannonCapsulePrice12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + cannonCapsulePrice12.grid(row=7, column=3) + label = ctk.CTkLabel(master=content_frame, text=" Cost\n 3rd / 4th ", font=("Arial", 14)) label.grid(row=7, column=4) - cannonCapsuleWeight7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - cannonCapsuleWeight7.grid(row=7, column=5) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" % common.", font=("Arial", 16)) + cannonCapsulePrice34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + cannonCapsulePrice34.grid(row=7, column=5) + label = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Early ", font=("Arial", 14)) label.grid(row=7, column=6) - - - icon = create_image_icon(tabview.tab("Orb Mods"), "assets/items/snackCapsule7.png", 8, 1) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" Costs ", font=("Arial", 16)) + cannonCapsuleShopOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + cannonCapsuleShopOdds12.grid(row=7, column=7) + label = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Late ", font=("Arial", 14)) + label.grid(row=7, column=8) + cannonCapsuleShopOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + cannonCapsuleShopOdds34.grid(row=7, column=9) + label = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 1st / 2nd ", font=("Arial", 14)) + label.grid(row=7, column=10) + cannonCapsuleSpaceOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + cannonCapsuleSpaceOdds12.grid(row=7, column=11) + label = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 3rd / 4th ", font=("Arial", 14)) + label.grid(row=7, column=12) + cannonCapsuleSpaceOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + cannonCapsuleSpaceOdds34.grid(row=7, column=13) + + # Snack + icon = create_image_icon(content_frame, "assets/items/snackCapsule.png", 8, 1) + label = ctk.CTkLabel(master=content_frame, text=" Cost\n 1st / 2nd ", font=("Arial", 14)) label.grid(row=8, column=2) - snackCapsulePrice7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - snackCapsulePrice7.grid(row=8, column=3) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" and is ", font=("Arial", 16)) + snackCapsulePrice12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + snackCapsulePrice12.grid(row=8, column=3) + label = ctk.CTkLabel(master=content_frame, text=" Cost\n 3rd / 4th ", font=("Arial", 14)) label.grid(row=8, column=4) - snackCapsuleWeight7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - snackCapsuleWeight7.grid(row=8, column=5) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" % common.", font=("Arial", 16)) + snackCapsulePrice34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + snackCapsulePrice34.grid(row=8, column=5) + label = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Early ", font=("Arial", 14)) label.grid(row=8, column=6) - - - icon = create_image_icon(tabview.tab("Orb Mods"), "assets/items/lakituCapsule.png", 9, 1) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" Costs ", font=("Arial", 16)) + snackCapsuleShopOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + snackCapsuleShopOdds12.grid(row=8, column=7) + label = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Late ", font=("Arial", 14)) + label.grid(row=8, column=8) + snackCapsuleShopOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + snackCapsuleShopOdds34.grid(row=8, column=9) + label = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 1st / 2nd ", font=("Arial", 14)) + label.grid(row=8, column=10) + snackCapsuleSpaceOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + snackCapsuleSpaceOdds12.grid(row=8, column=11) + label = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 3rd / 4th ", font=("Arial", 14)) + label.grid(row=8, column=12) + snackCapsuleSpaceOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + snackCapsuleSpaceOdds34.grid(row=8, column=13) + + # Lakitu + icon = create_image_icon(content_frame, "assets/items/lakituCapsule.png", 9, 1) + label = ctk.CTkLabel(master=content_frame, text=" Cost\n 1st / 2nd ", font=("Arial", 14)) label.grid(row=9, column=2) - lakituCapsulePrice7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - lakituCapsulePrice7.grid(row=9, column=3) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" and is ", font=("Arial", 16)) + lakituCapsulePrice12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + lakituCapsulePrice12.grid(row=9, column=3) + label = ctk.CTkLabel(master=content_frame, text=" Cost\n 3rd / 4th ", font=("Arial", 14)) label.grid(row=9, column=4) - lakituCapsuleWeight7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - lakituCapsuleWeight7.grid(row=9, column=5) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" % common.", font=("Arial", 16)) + lakituCapsulePrice34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + lakituCapsulePrice34.grid(row=9, column=5) + label = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Early ", font=("Arial", 14)) label.grid(row=9, column=6) - - - icon = create_image_icon(tabview.tab("Orb Mods"), "assets/items/hammerBroCapsule.png", 10, 1) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" Costs ", font=("Arial", 16)) + lakituCapsuleShopOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + lakituCapsuleShopOdds12.grid(row=9, column=7) + label = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Late ", font=("Arial", 14)) + label.grid(row=9, column=8) + lakituCapsuleShopOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + lakituCapsuleShopOdds34.grid(row=9, column=9) + label = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 1st / 2nd ", font=("Arial", 14)) + label.grid(row=9, column=10) + lakituCapsuleSpaceOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + lakituCapsuleSpaceOdds12.grid(row=9, column=11) + label = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 3rd / 4th ", font=("Arial", 14)) + label.grid(row=9, column=12) + lakituCapsuleSpaceOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + lakituCapsuleSpaceOdds34.grid(row=9, column=13) + + # Hammer Bro + icon = create_image_icon(content_frame, "assets/items/hammerBroCapsule.png", 10, 1) + label = ctk.CTkLabel(master=content_frame, text=" Cost\n 1st / 2nd ", font=("Arial", 14)) label.grid(row=10, column=2) - hammerBroCapsulePrice7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - hammerBroCapsulePrice7.grid(row=10, column=3) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" and is ", font=("Arial", 16)) + hammerBroCapsulePrice12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + hammerBroCapsulePrice12.grid(row=10, column=3) + label = ctk.CTkLabel(master=content_frame, text=" Cost\n 3rd / 4th ", font=("Arial", 14)) label.grid(row=10, column=4) - hammerBroCapsuleWeight7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - hammerBroCapsuleWeight7.grid(row=10, column=5) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" % common.", font=("Arial", 16)) + hammerBroCapsulePrice34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + hammerBroCapsulePrice34.grid(row=10, column=5) + label = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Early ", font=("Arial", 14)) label.grid(row=10, column=6) - - - icon = create_image_icon(tabview.tab("Orb Mods"), "assets/items/spearCapsule.png", 11, 1) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" Costs ", font=("Arial", 16)) + hammerBroCapsuleShopOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + hammerBroCapsuleShopOdds12.grid(row=10, column=7) + label = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Late ", font=("Arial", 14)) + label.grid(row=10, column=8) + hammerBroCapsuleShopOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + hammerBroCapsuleShopOdds34.grid(row=10, column=9) + label = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 1st / 2nd ", font=("Arial", 14)) + label.grid(row=10, column=10) + hammerBroCapsuleSpaceOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + hammerBroCapsuleSpaceOdds12.grid(row=10, column=11) + label = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 3rd / 4th ", font=("Arial", 14)) + label.grid(row=10, column=12) + hammerBroCapsuleSpaceOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + hammerBroCapsuleSpaceOdds34.grid(row=10, column=13) + + # Piranha Plant + icon = create_image_icon(content_frame, "assets/items/plantCapsule.png", 11, 1) + label = ctk.CTkLabel(master=content_frame, text=" Cost\n 1st / 2nd ", font=("Arial", 14)) label.grid(row=11, column=2) - spearCapsulePrice7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - spearCapsulePrice7.grid(row=11, column=3) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" and is ", font=("Arial", 16)) + piranhaPlantCapsulePrice12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + piranhaPlantCapsulePrice12.grid(row=11, column=3) + label = ctk.CTkLabel(master=content_frame, text=" Cost\n 3rd / 4th ", font=("Arial", 14)) label.grid(row=11, column=4) - spearCapsuleWeight7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - spearCapsuleWeight7.grid(row=11, column=5) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" % common.", font=("Arial", 16)) + piranhaPlantCapsulePrice34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + piranhaPlantCapsulePrice34.grid(row=11, column=5) + label = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Early ", font=("Arial", 14)) label.grid(row=11, column=6) - - - icon = create_image_icon(tabview.tab("Orb Mods"), "assets/items/plantCapsule.png", 12, 1) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" Costs ", font=("Arial", 16)) + piranhaPlantCapsuleShopOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + piranhaPlantCapsuleShopOdds12.grid(row=11, column=7) + label = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Late ", font=("Arial", 14)) + label.grid(row=11, column=8) + piranhaPlantCapsuleShopOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + piranhaPlantCapsuleShopOdds34.grid(row=11, column=9) + label = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 1st / 2nd ", font=("Arial", 14)) + label.grid(row=11, column=10) + piranhaPlantCapsuleSpaceOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + piranhaPlantCapsuleSpaceOdds12.grid(row=11, column=11) + label = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 3rd / 4th ", font=("Arial", 14)) + label.grid(row=11, column=12) + piranhaPlantCapsuleSpaceOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + piranhaPlantCapsuleSpaceOdds34.grid(row=11, column=13) + + # Spear Guy + icon = create_image_icon(content_frame, "assets/items/spearCapsule.png", 12, 1) + label = ctk.CTkLabel(master=content_frame, text=" Cost\n 1st / 2nd ", font=("Arial", 14)) label.grid(row=12, column=2) - plantCapsulePrice7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - plantCapsulePrice7.grid(row=12, column=3) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" and is ", font=("Arial", 16)) + spearGuyCapsulePrice12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + spearGuyCapsulePrice12.grid(row=12, column=3) + label = ctk.CTkLabel(master=content_frame, text=" Cost\n 3rd / 4th ", font=("Arial", 14)) label.grid(row=12, column=4) - plantCapsuleWeight7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - plantCapsuleWeight7.grid(row=12, column=5) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" % common. ", font=("Arial", 16)) + spearGuyCapsulePrice34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + spearGuyCapsulePrice34.grid(row=12, column=5) + label = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Early ", font=("Arial", 14)) label.grid(row=12, column=6) - - icon = create_image_icon(tabview.tab("Orb Mods"), "assets/items/koopaCapsule.png", 13, 1) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" Costs ", font=("Arial", 16)) + spearGuyCapsuleShopOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + spearGuyCapsuleShopOdds12.grid(row=12, column=7) + label = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Late ", font=("Arial", 14)) + label.grid(row=12, column=8) + spearGuyCapsuleShopOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + spearGuyCapsuleShopOdds34.grid(row=12, column=9) + label = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 1st / 2nd ", font=("Arial", 14)) + label.grid(row=12, column=10) + spearGuyCapsuleSpaceOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + spearGuyCapsuleSpaceOdds12.grid(row=12, column=11) + label = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 3rd / 4th ", font=("Arial", 14)) + label.grid(row=12, column=12) + spearGuyCapsuleSpaceOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + spearGuyCapsuleSpaceOdds34.grid(row=12, column=13) + + # Kamek + icon = create_image_icon(content_frame, "assets/items/kamekCapsule.png", 13, 1) + label = ctk.CTkLabel(master=content_frame, text=" Cost\n 1st / 2nd ", font=("Arial", 14)) label.grid(row=13, column=2) - koopaCapsulePrice7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - koopaCapsulePrice7.grid(row=13, column=3) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" and is ", font=("Arial", 16)) + kamekCapsulePrice12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + kamekCapsulePrice12.grid(row=13, column=3) + label = ctk.CTkLabel(master=content_frame, text=" Cost\n 3rd / 4th ", font=("Arial", 14)) label.grid(row=13, column=4) - koopaCapsuleWeight7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - koopaCapsuleWeight7.grid(row=13, column=5) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" % common.", font=("Arial", 16)) + kamekCapsulePrice34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + kamekCapsulePrice34.grid(row=13, column=5) + label = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Early ", font=("Arial", 14)) label.grid(row=13, column=6) - - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text="", font=("Arial", 16)) - label.grid(row=2, column=7) - - icon = create_image_icon(tabview.tab("Orb Mods"), "assets/items/kamekCapsule.png", 2, 8) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" Costs ", font=("Arial", 16)) - label.grid(row=2, column=9) - kamekCapsulePrice7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - kamekCapsulePrice7.grid(row=2, column=10) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" and is ", font=("Arial", 16)) - label.grid(row=2, column=11) - kamekCapsuleWeight7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - kamekCapsuleWeight7.grid(row=2, column=12) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" % common. ", font=("Arial", 16)) - label.grid(row=2, column=13) - - - icon = create_image_icon(tabview.tab("Orb Mods"), "assets/items/toadyCapsule.png", 3, 8) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" Costs ", font=("Arial", 16)) - label.grid(row=3, column=9) - toadyCapsulePrice7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - toadyCapsulePrice7.grid(row=3, column=10) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" and is ", font=("Arial", 16)) - label.grid(row=3, column=11) - toadyCapsuleWeight7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - toadyCapsuleWeight7.grid(row=3, column=12) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" % common.", font=("Arial", 16)) - label.grid(row=3, column=13) - - - icon = create_image_icon(tabview.tab("Orb Mods"), "assets/items/blizzardCapsule.png", 4, 8) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" Costs ", font=("Arial", 16)) - label.grid(row=4, column=9) - blizzardCapsulePrice7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - blizzardCapsulePrice7.grid(row=4, column=10) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" and is ", font=("Arial", 16)) - label.grid(row=4, column=11) - blizzardCapsuleWeight7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - blizzardCapsuleWeight7.grid(row=4, column=12) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" % common.", font=("Arial", 16)) - label.grid(row=4, column=13) - - - icon = create_image_icon(tabview.tab("Orb Mods"), "assets/items/banditCapsule.png", 5, 8) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" Costs ", font=("Arial", 16)) - label.grid(row=5, column=9) - banditCapsulePrice7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - banditCapsulePrice7.grid(row=5, column=10) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" and is ", font=("Arial", 16)) - label.grid(row=5, column=11) - banditCapsuleWeight7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - banditCapsuleWeight7.grid(row=5, column=12) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" % common.", font=("Arial", 16)) - label.grid(row=5, column=13) - - - icon = create_image_icon(tabview.tab("Orb Mods"), "assets/items/pinkBooCapsule.png", 6, 8) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" Costs ", font=("Arial", 16)) - label.grid(row=6, column=9) - pinkBooCapsulePrice7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - pinkBooCapsulePrice7.grid(row=6, column=10) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" and is ", font=("Arial", 16)) - label.grid(row=6, column=11) - pinkBooCapsuleWeight7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - pinkBooCapsuleWeight7.grid(row=6, column=12) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" % common.", font=("Arial", 16)) - label.grid(row=6, column=13) - - - icon = create_image_icon(tabview.tab("Orb Mods"), "assets/items/spinyCapsule.png", 7, 8) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" Costs ", font=("Arial", 16)) - label.grid(row=7, column=9) - spinyCapsulePrice7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - spinyCapsulePrice7.grid(row=7, column=10) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" and is ", font=("Arial", 16)) - label.grid(row=7, column=11) - spinyCapsuleWeight7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - spinyCapsuleWeight7.grid(row=7, column=12) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" % common.", font=("Arial", 16)) - label.grid(row=7, column=13) - - - icon = create_image_icon(tabview.tab("Orb Mods"), "assets/items/zapCapsule.png", 8, 8) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" Costs ", font=("Arial", 16)) - label.grid(row=8, column=9) - zapCapsulePrice7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - zapCapsulePrice7.grid(row=8, column=10) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" and is ", font=("Arial", 16)) - label.grid(row=8, column=11) - zapCapsuleWeight7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - zapCapsuleWeight7.grid(row=8, column=12) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" % common.", font=("Arial", 16)) - label.grid(row=8, column=13) - - - icon = create_image_icon(tabview.tab("Orb Mods"), "assets/items/tweesterCapsule.png", 9, 8) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" Costs ", font=("Arial", 16)) - label.grid(row=9, column=9) - tweesterCapsulePrice7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - tweesterCapsulePrice7.grid(row=9, column=10) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" and is ", font=("Arial", 16)) - label.grid(row=9, column=11) - tweesterCapsuleWeight7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - tweesterCapsuleWeight7.grid(row=9, column=12) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" % common.", font=("Arial", 16)) - label.grid(row=9, column=13) - - - icon = create_image_icon(tabview.tab("Orb Mods"), "assets/items/thwompCapsule7.png", 10, 8) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" Costs ", font=("Arial", 16)) - label.grid(row=10, column=9) - thwompCapsulePrice7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - thwompCapsulePrice7.grid(row=10, column=10) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" and is ", font=("Arial", 16)) - label.grid(row=10, column=11) - thwompCapsuleWeight7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - thwompCapsuleWeight7.grid(row=10, column=12) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" % common.", font=("Arial", 16)) - label.grid(row=10, column=13) - - icon = create_image_icon(tabview.tab("Orb Mods"), "assets/items/warpCapsule.png", 11, 8) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" Costs ", font=("Arial", 16)) - label.grid(row=11, column=9) - warpCapsulePrice7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - warpCapsulePrice7.grid(row=11, column=10) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" and is ", font=("Arial", 16)) - label.grid(row=11, column=11) - warpCapsuleWeight7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - warpCapsuleWeight7.grid(row=11, column=12) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" % common.", font=("Arial", 16)) - label.grid(row=11, column=13) - - - icon = create_image_icon(tabview.tab("Orb Mods"), "assets/items/bombCapsule7.png", 12, 8) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" Costs ", font=("Arial", 16)) - label.grid(row=12, column=9) - bombCapsulePrice7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - bombCapsulePrice7.grid(row=12, column=10) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" and is ", font=("Arial", 16)) - label.grid(row=12, column=11) - bombCapsuleWeight7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - bombCapsuleWeight7.grid(row=12, column=12) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" % common. ", font=("Arial", 16)) - label.grid(row=12, column=13) - - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text="", font=("Arial", 16)) - label.grid(row=2, column=14) - - - icon = create_image_icon(tabview.tab("Orb Mods"), "assets/items/fireballCapsule.png", 2, 15) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" Costs ", font=("Arial", 16)) - label.grid(row=2, column=16) - fireballCapsulePrice7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - fireballCapsulePrice7.grid(row=2, column=17) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" and is ", font=("Arial", 16)) - label.grid(row=2, column=18) - fireballCapsuleWeight7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - fireballCapsuleWeight7.grid(row=2, column=19) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" % common.", font=("Arial", 16)) - label.grid(row=2, column=20) - - - icon = create_image_icon(tabview.tab("Orb Mods"), "assets/items/flowerCapsule.png", 3, 15) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" Costs ", font=("Arial", 16)) - label.grid(row=3, column=16) - flowerCapsulePrice7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - flowerCapsulePrice7.grid(row=3, column=17) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" and is ", font=("Arial", 16)) - label.grid(row=3, column=18) - flowerCapsuleWeight7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - flowerCapsuleWeight7.grid(row=3, column=19) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" % common.", font=("Arial", 16)) - label.grid(row=3, column=20) - - - icon = create_image_icon(tabview.tab("Orb Mods"), "assets/items/eggCapsule.png", 4, 15) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" Costs ", font=("Arial", 16)) - label.grid(row=4, column=16) - eggCapsulePrice7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - eggCapsulePrice7.grid(row=4, column=17) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" and is ", font=("Arial", 16)) - label.grid(row=4, column=18) - eggCapsuleWeight7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - eggCapsuleWeight7.grid(row=4, column=19) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" % common.", font=("Arial", 16)) - label.grid(row=4, column=20) - - - icon = create_image_icon(tabview.tab("Orb Mods"), "assets/items/vacuumCapsule.png", 5, 15) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" Costs ", font=("Arial", 16)) - label.grid(row=5, column=16) - vacuumCapsulePrice7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - vacuumCapsulePrice7.grid(row=5, column=17) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" and is ", font=("Arial", 16)) - label.grid(row=5, column=18) - vacuumCapsuleWeight7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - vacuumCapsuleWeight7.grid(row=5, column=19) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" % common.", font=("Arial", 16)) - label.grid(row=5, column=20) - - - icon = create_image_icon(tabview.tab("Orb Mods"), "assets/items/magicCapsule.png", 6, 15) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" Costs ", font=("Arial", 16)) - label.grid(row=6, column=16) - magicCapsulePrice7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - magicCapsulePrice7.grid(row=6, column=17) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" and is ", font=("Arial", 16)) - label.grid(row=6, column=18) - magicCapsuleWeight7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - magicCapsuleWeight7.grid(row=6, column=19) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" % common.", font=("Arial", 16)) - label.grid(row=6, column=20) - - - icon = create_image_icon(tabview.tab("Orb Mods"), "assets/items/tripleCapsule.png", 7, 15) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" Costs ", font=("Arial", 16)) - label.grid(row=7, column=16) - tripleCapsulePrice7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - tripleCapsulePrice7.grid(row=7, column=17) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" and is ", font=("Arial", 16)) - label.grid(row=7, column=18) - tripleCapsuleWeight7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - tripleCapsuleWeight7.grid(row=7, column=19) - label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" % common.", font=("Arial", 16)) - label.grid(row=7, column=20) - - icon = create_image_icon(tabview.tab("Orb Mods"), "assets/items/cursedMushroomCapsule7.png", 9, 15) - labelPoison1 = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" Costs ", font=("Arial", 16)) - poisonMushroomPrice7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - labelPoison2 = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" and is ", font=("Arial", 16)) - poisonMushroomWeight7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - labelPoison3 = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" % common.", font=("Arial", 16)) - - icon = create_image_icon(tabview.tab("Orb Mods"), "assets/items/duelCapsule.png", 10, 15) - labelDuel1 = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" Costs ", font=("Arial", 16)) - duelCapsulePrice7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - labelDuel2 = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" and is ", font=("Arial", 16)) - duelCapsuleWeight7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - labelDuel3 = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" % common.", font=("Arial", 16)) - - icon = create_image_icon(tabview.tab("Orb Mods"), "assets/items/dkCapsule.png", 11, 15) - labelDK1 = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" Costs ", font=("Arial", 16)) - dkCapsulePrice7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - labelDK2 = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" and is ", font=("Arial", 16)) - dkCapsuleWeight7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - labelDK3 = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" % common.", font=("Arial", 16)) - - icon = create_image_icon(tabview.tab("Orb Mods"), "assets/items/orbBagCapsule.png", 12, 15) - labelOrbBag1 = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" Costs ", font=("Arial", 16)) - orbBagCapsulePrice7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - labelOrbBag2 = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" and is ", font=("Arial", 16)) - orbBagCapsuleWeight7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - labelOrbBag3 = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" % common.", font=("Arial", 16)) - - icon = create_image_icon(tabview.tab("Orb Mods"), "assets/items/mysteryCapsule.png", 8, 15) - labelMystery1 = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" Costs ", font=("Arial", 16)) - mysteryCapsulePrice7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - labelMystery2 = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" and is ", font=("Arial", 16)) - mysteryCapsuleWeight7 = ctk.CTkEntry(master=tabview.tab("Orb Mods"), width=48, font=("Arial", 16, "bold")) - labelMystery3 = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" % common.", font=("Arial", 16)) + kamekCapsuleShopOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + kamekCapsuleShopOdds12.grid(row=13, column=7) + label = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Late ", font=("Arial", 14)) + label.grid(row=13, column=8) + kamekCapsuleShopOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + kamekCapsuleShopOdds34.grid(row=13, column=9) + label = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 1st / 2nd ", font=("Arial", 14)) + label.grid(row=13, column=10) + kamekCapsuleSpaceOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + kamekCapsuleSpaceOdds12.grid(row=13, column=11) + label = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 3rd / 4th ", font=("Arial", 14)) + label.grid(row=13, column=12) + kamekCapsuleSpaceOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + kamekCapsuleSpaceOdds34.grid(row=13, column=13) + + # Toady + icon = create_image_icon(content_frame, "assets/items/toadyCapsule.png", 14, 1) + label = ctk.CTkLabel(master=content_frame, text=" Cost\n 1st / 2nd ", font=("Arial", 14)) + label.grid(row=14, column=2) + toadyCapsulePrice12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + toadyCapsulePrice12.grid(row=14, column=3) + label = ctk.CTkLabel(master=content_frame, text=" Cost\n 3rd / 4th ", font=("Arial", 14)) + label.grid(row=14, column=4) + toadyCapsulePrice34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + toadyCapsulePrice34.grid(row=14, column=5) + label = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Early ", font=("Arial", 14)) + label.grid(row=14, column=6) + toadyCapsuleShopOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + toadyCapsuleShopOdds12.grid(row=14, column=7) + label = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Late ", font=("Arial", 14)) + label.grid(row=14, column=8) + toadyCapsuleShopOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + toadyCapsuleShopOdds34.grid(row=14, column=9) + label = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 1st / 2nd ", font=("Arial", 14)) + label.grid(row=14, column=10) + toadyCapsuleSpaceOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + toadyCapsuleSpaceOdds12.grid(row=14, column=11) + label = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 3rd / 4th ", font=("Arial", 14)) + label.grid(row=14, column=12) + toadyCapsuleSpaceOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + toadyCapsuleSpaceOdds34.grid(row=14, column=13) + + # Mr. Blizzard + icon = create_image_icon(content_frame, "assets/items/blizzardCapsule.png", 15, 1) + label = ctk.CTkLabel(master=content_frame, text=" Cost\n 1st / 2nd ", font=("Arial", 14)) + label.grid(row=15, column=2) + mrBlizzardCapsulePrice12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + mrBlizzardCapsulePrice12.grid(row=15, column=3) + label = ctk.CTkLabel(master=content_frame, text=" Cost\n 3rd / 4th ", font=("Arial", 14)) + label.grid(row=15, column=4) + mrBlizzardCapsulePrice34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + mrBlizzardCapsulePrice34.grid(row=15, column=5) + label = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Early ", font=("Arial", 14)) + label.grid(row=15, column=6) + mrBlizzardCapsuleShopOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + mrBlizzardCapsuleShopOdds12.grid(row=15, column=7) + label = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Late ", font=("Arial", 14)) + label.grid(row=15, column=8) + mrBlizzardCapsuleShopOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + mrBlizzardCapsuleShopOdds34.grid(row=15, column=9) + label = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 1st / 2nd ", font=("Arial", 14)) + label.grid(row=15, column=10) + mrBlizzardCapsuleSpaceOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + mrBlizzardCapsuleSpaceOdds12.grid(row=15, column=11) + label = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 3rd / 4th ", font=("Arial", 14)) + label.grid(row=15, column=12) + mrBlizzardCapsuleSpaceOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + mrBlizzardCapsuleSpaceOdds34.grid(row=15, column=13) + + # Bandit + icon = create_image_icon(content_frame, "assets/items/banditCapsule.png", 16, 1) + label = ctk.CTkLabel(master=content_frame, text=" Cost\n 1st / 2nd ", font=("Arial", 14)) + label.grid(row=16, column=2) + banditCapsulePrice12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + banditCapsulePrice12.grid(row=16, column=3) + label = ctk.CTkLabel(master=content_frame, text=" Cost\n 3rd / 4th ", font=("Arial", 14)) + label.grid(row=16, column=4) + banditCapsulePrice34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + banditCapsulePrice34.grid(row=16, column=5) + label = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Early ", font=("Arial", 14)) + label.grid(row=16, column=6) + banditCapsuleShopOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + banditCapsuleShopOdds12.grid(row=16, column=7) + label = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Late ", font=("Arial", 14)) + label.grid(row=16, column=8) + banditCapsuleShopOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + banditCapsuleShopOdds34.grid(row=16, column=9) + label = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 1st / 2nd ", font=("Arial", 14)) + label.grid(row=16, column=10) + banditCapsuleSpaceOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + banditCapsuleSpaceOdds12.grid(row=16, column=11) + label = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 3rd / 4th ", font=("Arial", 14)) + label.grid(row=16, column=12) + banditCapsuleSpaceOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + banditCapsuleSpaceOdds34.grid(row=16, column=13) + + # Pink Boo + icon = create_image_icon(content_frame, "assets/items/pinkBooCapsule.png", 17, 1) + label = ctk.CTkLabel(master=content_frame, text=" Cost\n 1st / 2nd ", font=("Arial", 14)) + label.grid(row=17, column=2) + pinkBooCapsulePrice12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + pinkBooCapsulePrice12.grid(row=17, column=3) + label = ctk.CTkLabel(master=content_frame, text=" Cost\n 3rd / 4th ", font=("Arial", 14)) + label.grid(row=17, column=4) + pinkBooCapsulePrice34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + pinkBooCapsulePrice34.grid(row=17, column=5) + label = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Early ", font=("Arial", 14)) + label.grid(row=17, column=6) + pinkBooCapsuleShopOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + pinkBooCapsuleShopOdds12.grid(row=17, column=7) + label = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Late ", font=("Arial", 14)) + label.grid(row=17, column=8) + pinkBooCapsuleShopOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + pinkBooCapsuleShopOdds34.grid(row=17, column=9) + label = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 1st / 2nd ", font=("Arial", 14)) + label.grid(row=17, column=10) + pinkBooCapsuleSpaceOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + pinkBooCapsuleSpaceOdds12.grid(row=17, column=11) + label = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 3rd / 4th ", font=("Arial", 14)) + label.grid(row=17, column=12) + pinkBooCapsuleSpaceOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + pinkBooCapsuleSpaceOdds34.grid(row=17, column=13) + + # Spiny + icon = create_image_icon(content_frame, "assets/items/spinyCapsule.png", 18, 1) + label = ctk.CTkLabel(master=content_frame, text=" Cost\n 1st / 2nd ", font=("Arial", 14)) + label.grid(row=18, column=2) + spinyCapsulePrice12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + spinyCapsulePrice12.grid(row=18, column=3) + label = ctk.CTkLabel(master=content_frame, text=" Cost\n 3rd / 4th ", font=("Arial", 14)) + label.grid(row=18, column=4) + spinyCapsulePrice34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + spinyCapsulePrice34.grid(row=18, column=5) + label = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Early ", font=("Arial", 14)) + label.grid(row=18, column=6) + spinyCapsuleShopOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + spinyCapsuleShopOdds12.grid(row=18, column=7) + label = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Late ", font=("Arial", 14)) + label.grid(row=18, column=8) + spinyCapsuleShopOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + spinyCapsuleShopOdds34.grid(row=18, column=9) + label = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 1st / 2nd ", font=("Arial", 14)) + label.grid(row=18, column=10) + spinyCapsuleSpaceOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + spinyCapsuleSpaceOdds12.grid(row=18, column=11) + label = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 3rd / 4th ", font=("Arial", 14)) + label.grid(row=18, column=12) + spinyCapsuleSpaceOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + spinyCapsuleSpaceOdds34.grid(row=18, column=13) + + # Zap + icon = create_image_icon(content_frame, "assets/items/zapCapsule.png", 19, 1) + label = ctk.CTkLabel(master=content_frame, text=" Cost\n 1st / 2nd ", font=("Arial", 14)) + label.grid(row=19, column=2) + zapCapsulePrice12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + zapCapsulePrice12.grid(row=19, column=3) + label = ctk.CTkLabel(master=content_frame, text=" Cost\n 3rd / 4th ", font=("Arial", 14)) + label.grid(row=19, column=4) + zapCapsulePrice34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + zapCapsulePrice34.grid(row=19, column=5) + label = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Early ", font=("Arial", 14)) + label.grid(row=19, column=6) + zapCapsuleShopOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + zapCapsuleShopOdds12.grid(row=19, column=7) + label = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Late ", font=("Arial", 14)) + label.grid(row=19, column=8) + zapCapsuleShopOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + zapCapsuleShopOdds34.grid(row=19, column=9) + label = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 1st / 2nd ", font=("Arial", 14)) + label.grid(row=19, column=10) + zapCapsuleSpaceOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + zapCapsuleSpaceOdds12.grid(row=19, column=11) + label = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 3rd / 4th ", font=("Arial", 14)) + label.grid(row=19, column=12) + zapCapsuleSpaceOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + zapCapsuleSpaceOdds34.grid(row=19, column=13) + + # Tweester + icon = create_image_icon(content_frame, "assets/items/tweesterCapsule.png", 20, 1) + label = ctk.CTkLabel(master=content_frame, text=" Cost\n 1st / 2nd ", font=("Arial", 14)) + label.grid(row=20, column=2) + tweesterCapsulePrice12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + tweesterCapsulePrice12.grid(row=20, column=3) + label = ctk.CTkLabel(master=content_frame, text=" Cost\n 3rd / 4th ", font=("Arial", 14)) + label.grid(row=20, column=4) + tweesterCapsulePrice34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + tweesterCapsulePrice34.grid(row=20, column=5) + label = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Early ", font=("Arial", 14)) + label.grid(row=20, column=6) + tweesterCapsuleShopOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + tweesterCapsuleShopOdds12.grid(row=20, column=7) + label = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Late ", font=("Arial", 14)) + label.grid(row=20, column=8) + tweesterCapsuleShopOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + tweesterCapsuleShopOdds34.grid(row=20, column=9) + label = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 1st / 2nd ", font=("Arial", 14)) + label.grid(row=20, column=10) + tweesterCapsuleSpaceOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + tweesterCapsuleSpaceOdds12.grid(row=20, column=11) + label = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 3rd / 4th ", font=("Arial", 14)) + label.grid(row=20, column=12) + tweesterCapsuleSpaceOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + tweesterCapsuleSpaceOdds34.grid(row=20, column=13) + + # Thwomp + icon = create_image_icon(content_frame, "assets/items/thwompCapsule.png", 21, 1) + label = ctk.CTkLabel(master=content_frame, text=" Cost\n 1st / 2nd ", font=("Arial", 14)) + label.grid(row=21, column=2) + thwompCapsulePrice12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + thwompCapsulePrice12.grid(row=21, column=3) + label = ctk.CTkLabel(master=content_frame, text=" Cost\n 3rd / 4th ", font=("Arial", 14)) + label.grid(row=21, column=4) + thwompCapsulePrice34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + thwompCapsulePrice34.grid(row=21, column=5) + label = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Early ", font=("Arial", 14)) + label.grid(row=21, column=6) + thwompCapsuleShopOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + thwompCapsuleShopOdds12.grid(row=21, column=7) + label = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Late ", font=("Arial", 14)) + label.grid(row=21, column=8) + thwompCapsuleShopOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + thwompCapsuleShopOdds34.grid(row=21, column=9) + label = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 1st / 2nd ", font=("Arial", 14)) + label.grid(row=21, column=10) + thwompCapsuleSpaceOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + thwompCapsuleSpaceOdds12.grid(row=21, column=11) + label = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 3rd / 4th ", font=("Arial", 14)) + label.grid(row=21, column=12) + thwompCapsuleSpaceOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + thwompCapsuleSpaceOdds34.grid(row=21, column=13) + + # Warp + icon = create_image_icon(content_frame, "assets/items/warpCapsule.png", 22, 1) + label = ctk.CTkLabel(master=content_frame, text=" Cost\n 1st / 2nd ", font=("Arial", 14)) + label.grid(row=22, column=2) + warpCapsulePrice12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + warpCapsulePrice12.grid(row=22, column=3) + label = ctk.CTkLabel(master=content_frame, text=" Cost\n 3rd / 4th ", font=("Arial", 14)) + label.grid(row=22, column=4) + warpCapsulePrice34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + warpCapsulePrice34.grid(row=22, column=5) + label = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Early ", font=("Arial", 14)) + label.grid(row=22, column=6) + warpCapsuleShopOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + warpCapsuleShopOdds12.grid(row=22, column=7) + label = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Late ", font=("Arial", 14)) + label.grid(row=22, column=8) + warpCapsuleShopOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + warpCapsuleShopOdds34.grid(row=22, column=9) + label = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 1st / 2nd ", font=("Arial", 14)) + label.grid(row=22, column=10) + warpCapsuleSpaceOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + warpCapsuleSpaceOdds12.grid(row=22, column=11) + label = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 3rd / 4th ", font=("Arial", 14)) + label.grid(row=22, column=12) + warpCapsuleSpaceOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + warpCapsuleSpaceOdds34.grid(row=22, column=13) + + # Bomb + icon = create_image_icon(content_frame, "assets/items/bombCapsule.png", 23, 1) + label = ctk.CTkLabel(master=content_frame, text=" Cost\n 1st / 2nd ", font=("Arial", 14)) + label.grid(row=23, column=2) + bombCapsulePrice12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + bombCapsulePrice12.grid(row=23, column=3) + label = ctk.CTkLabel(master=content_frame, text=" Cost\n 3rd / 4th ", font=("Arial", 14)) + label.grid(row=23, column=4) + bombCapsulePrice34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + bombCapsulePrice34.grid(row=23, column=5) + label = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Early ", font=("Arial", 14)) + label.grid(row=23, column=6) + bombCapsuleShopOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + bombCapsuleShopOdds12.grid(row=23, column=7) + label = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Late ", font=("Arial", 14)) + label.grid(row=23, column=8) + bombCapsuleShopOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + bombCapsuleShopOdds34.grid(row=23, column=9) + label = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 1st / 2nd ", font=("Arial", 14)) + label.grid(row=23, column=10) + bombCapsuleSpaceOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + bombCapsuleSpaceOdds12.grid(row=23, column=11) + label = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 3rd / 4th ", font=("Arial", 14)) + label.grid(row=23, column=12) + bombCapsuleSpaceOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + bombCapsuleSpaceOdds34.grid(row=23, column=13) + + # Fireball + icon = create_image_icon(content_frame, "assets/items/fireballCapsule.png", 24, 1) + label = ctk.CTkLabel(master=content_frame, text=" Cost\n 1st / 2nd ", font=("Arial", 14)) + label.grid(row=24, column=2) + fireballCapsulePrice12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + fireballCapsulePrice12.grid(row=24, column=3) + label = ctk.CTkLabel(master=content_frame, text=" Cost\n 3rd / 4th ", font=("Arial", 14)) + label.grid(row=24, column=4) + fireballCapsulePrice34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + fireballCapsulePrice34.grid(row=24, column=5) + label = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Early ", font=("Arial", 14)) + label.grid(row=24, column=6) + fireballCapsuleShopOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + fireballCapsuleShopOdds12.grid(row=24, column=7) + label = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Late ", font=("Arial", 14)) + label.grid(row=24, column=8) + fireballCapsuleShopOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + fireballCapsuleShopOdds34.grid(row=24, column=9) + label = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 1st / 2nd ", font=("Arial", 14)) + label.grid(row=24, column=10) + fireballCapsuleSpaceOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + fireballCapsuleSpaceOdds12.grid(row=24, column=11) + label = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 3rd / 4th ", font=("Arial", 14)) + label.grid(row=24, column=12) + fireballCapsuleSpaceOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + fireballCapsuleSpaceOdds34.grid(row=24, column=13) + + # Flower + icon = create_image_icon(content_frame, "assets/items/flowerCapsule.png", 25, 1) + label = ctk.CTkLabel(master=content_frame, text=" Cost\n 1st / 2nd ", font=("Arial", 14)) + label.grid(row=25, column=2) + flowerCapsulePrice12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + flowerCapsulePrice12.grid(row=25, column=3) + label = ctk.CTkLabel(master=content_frame, text=" Cost\n 3rd / 4th ", font=("Arial", 14)) + label.grid(row=25, column=4) + flowerCapsulePrice34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + flowerCapsulePrice34.grid(row=25, column=5) + label = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Early ", font=("Arial", 14)) + label.grid(row=25, column=6) + flowerCapsuleShopOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + flowerCapsuleShopOdds12.grid(row=25, column=7) + label = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Late ", font=("Arial", 14)) + label.grid(row=25, column=8) + flowerCapsuleShopOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + flowerCapsuleShopOdds34.grid(row=25, column=9) + label = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 1st / 2nd ", font=("Arial", 14)) + label.grid(row=25, column=10) + flowerCapsuleSpaceOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + flowerCapsuleSpaceOdds12.grid(row=25, column=11) + label = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 3rd / 4th ", font=("Arial", 14)) + label.grid(row=25, column=12) + flowerCapsuleSpaceOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + flowerCapsuleSpaceOdds34.grid(row=25, column=13) + + # Egg + icon = create_image_icon(content_frame, "assets/items/eggCapsule.png", 26, 1) + label = ctk.CTkLabel(master=content_frame, text=" Cost\n 1st / 2nd ", font=("Arial", 14)) + label.grid(row=26, column=2) + eggCapsulePrice12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + eggCapsulePrice12.grid(row=26, column=3) + label = ctk.CTkLabel(master=content_frame, text=" Cost\n 3rd / 4th ", font=("Arial", 14)) + label.grid(row=26, column=4) + eggCapsulePrice34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + eggCapsulePrice34.grid(row=26, column=5) + label = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Early ", font=("Arial", 14)) + label.grid(row=26, column=6) + eggCapsuleShopOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + eggCapsuleShopOdds12.grid(row=26, column=7) + label = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Late ", font=("Arial", 14)) + label.grid(row=26, column=8) + eggCapsuleShopOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + eggCapsuleShopOdds34.grid(row=26, column=9) + label = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 1st / 2nd ", font=("Arial", 14)) + label.grid(row=26, column=10) + eggCapsuleSpaceOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + eggCapsuleSpaceOdds12.grid(row=26, column=11) + label = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 3rd / 4th ", font=("Arial", 14)) + label.grid(row=26, column=12) + eggCapsuleSpaceOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + eggCapsuleSpaceOdds34.grid(row=26, column=13) + + # Vacuum + icon = create_image_icon(content_frame, "assets/items/vacuumCapsule.png", 27, 1) + label = ctk.CTkLabel(master=content_frame, text=" Cost\n 1st / 2nd ", font=("Arial", 14)) + label.grid(row=27, column=2) + vacuumCapsulePrice12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + vacuumCapsulePrice12.grid(row=27, column=3) + label = ctk.CTkLabel(master=content_frame, text=" Cost\n 3rd / 4th ", font=("Arial", 14)) + label.grid(row=27, column=4) + vacuumCapsulePrice34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + vacuumCapsulePrice34.grid(row=27, column=5) + label = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Early ", font=("Arial", 14)) + label.grid(row=27, column=6) + vacuumCapsuleShopOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + vacuumCapsuleShopOdds12.grid(row=27, column=7) + label = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Late ", font=("Arial", 14)) + label.grid(row=27, column=8) + vacuumCapsuleShopOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + vacuumCapsuleShopOdds34.grid(row=27, column=9) + label = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 1st / 2nd ", font=("Arial", 14)) + label.grid(row=27, column=10) + vacuumCapsuleSpaceOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + vacuumCapsuleSpaceOdds12.grid(row=27, column=11) + label = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 3rd / 4th ", font=("Arial", 14)) + label.grid(row=27, column=12) + vacuumCapsuleSpaceOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + vacuumCapsuleSpaceOdds34.grid(row=27, column=13) + + # Magic + icon = create_image_icon(content_frame, "assets/items/magicCapsule.png", 28, 1) + label = ctk.CTkLabel(master=content_frame, text=" Cost\n 1st / 2nd ", font=("Arial", 14)) + label.grid(row=28, column=2) + magicCapsulePrice12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + magicCapsulePrice12.grid(row=28, column=3) + label = ctk.CTkLabel(master=content_frame, text=" Cost\n 3rd / 4th ", font=("Arial", 14)) + label.grid(row=28, column=4) + magicCapsulePrice34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + magicCapsulePrice34.grid(row=28, column=5) + label = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Early ", font=("Arial", 14)) + label.grid(row=28, column=6) + magicCapsuleShopOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + magicCapsuleShopOdds12.grid(row=28, column=7) + label = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Late ", font=("Arial", 14)) + label.grid(row=28, column=8) + magicCapsuleShopOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + magicCapsuleShopOdds34.grid(row=28, column=9) + label = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 1st / 2nd ", font=("Arial", 14)) + label.grid(row=28, column=10) + magicCapsuleSpaceOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + magicCapsuleSpaceOdds12.grid(row=28, column=11) + label = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 3rd / 4th ", font=("Arial", 14)) + label.grid(row=28, column=12) + magicCapsuleSpaceOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + magicCapsuleSpaceOdds34.grid(row=28, column=13) + + # Triple + icon = create_image_icon(content_frame, "assets/items/tripleCapsule.png", 29, 1) + label = ctk.CTkLabel(master=content_frame, text=" Cost\n 1st / 2nd ", font=("Arial", 14)) + label.grid(row=29, column=2) + tripleCapsulePrice12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + tripleCapsulePrice12.grid(row=29, column=3) + label = ctk.CTkLabel(master=content_frame, text=" Cost\n 3rd / 4th ", font=("Arial", 14)) + label.grid(row=29, column=4) + tripleCapsulePrice34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + tripleCapsulePrice34.grid(row=29, column=5) + label = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Early ", font=("Arial", 14)) + label.grid(row=29, column=6) + tripleCapsuleShopOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + tripleCapsuleShopOdds12.grid(row=29, column=7) + label = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Late ", font=("Arial", 14)) + label.grid(row=29, column=8) + tripleCapsuleShopOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + tripleCapsuleShopOdds34.grid(row=29, column=9) + label = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 1st / 2nd ", font=("Arial", 14)) + label.grid(row=29, column=10) + tripleCapsuleSpaceOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + tripleCapsuleSpaceOdds12.grid(row=29, column=11) + label = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 3rd / 4th ", font=("Arial", 14)) + label.grid(row=29, column=12) + tripleCapsuleSpaceOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + tripleCapsuleSpaceOdds34.grid(row=29, column=13) + + # Triple + icon = create_image_icon(content_frame, "assets/items/koopaCapsule.png", 30, 1) + label = ctk.CTkLabel(master=content_frame, text=" Cost\n 1st / 2nd ", font=("Arial", 14)) + label.grid(row=30, column=2) + koopaCapsulePrice12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + koopaCapsulePrice12.grid(row=30, column=3) + label = ctk.CTkLabel(master=content_frame, text=" Cost\n 3rd / 4th ", font=("Arial", 14)) + label.grid(row=30, column=4) + koopaCapsulePrice34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + koopaCapsulePrice34.grid(row=30, column=5) + label = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Early ", font=("Arial", 14)) + label.grid(row=30, column=6) + koopaCapsuleShopOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + koopaCapsuleShopOdds12.grid(row=30, column=7) + label = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Late ", font=("Arial", 14)) + label.grid(row=30, column=8) + koopaCapsuleShopOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + koopaCapsuleShopOdds34.grid(row=30, column=9) + label = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 1st / 2nd ", font=("Arial", 14)) + label.grid(row=30, column=10) + koopaCapsuleSpaceOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + koopaCapsuleSpaceOdds12.grid(row=30, column=11) + label = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 3rd / 4th ", font=("Arial", 14)) + label.grid(row=30, column=12) + koopaCapsuleSpaceOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + koopaCapsuleSpaceOdds34.grid(row=30, column=13) + + # Cursed Mushroom + icon = create_image_icon(content_frame, "assets/items/cursedMushroomCapsule7.png", 31, 1) + labelPoison1 = ctk.CTkLabel(master=content_frame, text=" Cost\n 1st / 2nd ", font=("Arial", 14)) + labelPoison1.grid(row=31, column=2) + poisonMushroomPrice12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + poisonMushroomPrice12.grid(row=31, column=3) + labelPoison2 = ctk.CTkLabel(master=content_frame, text=" Cost\n 3rd / 4th ", font=("Arial", 14)) + labelPoison2.grid(row=31, column=4) + poisonMushroomPrice34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + poisonMushroomPrice34.grid(row=31, column=5) + labelPoison3 = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Early ", font=("Arial", 14)) + labelPoison3.grid(row=31, column=6) + poisonMushroomShopOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + poisonMushroomShopOdds12.grid(row=31, column=7) + labelPoison4 = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Late ", font=("Arial", 14)) + labelPoison4.grid(row=31, column=8) + poisonMushroomShopOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + poisonMushroomShopOdds34.grid(row=31, column=9) + labelPoison5 = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 1st / 2nd ", font=("Arial", 14)) + labelPoison5.grid(row=31, column=10) + poisonMushroomSpaceOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + poisonMushroomSpaceOdds12.grid(row=31, column=11) + labelPoison6 = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 3rd / 4th ", font=("Arial", 14)) + labelPoison6.grid(row=31, column=12) + poisonMushroomSpaceOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + poisonMushroomSpaceOdds34.grid(row=31, column=13) + + # Duel Capsule + icon = create_image_icon(content_frame, "assets/items/duelCapsule.png", 32, 1) + labelDuel1 = ctk.CTkLabel(master=content_frame, text=" Cost\n 1st / 2nd ", font=("Arial", 14)) + labelDuel1.grid(row=32, column=2) + duelCapsulePrice12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + duelCapsulePrice12.grid(row=32, column=3) + labelDuel2 = ctk.CTkLabel(master=content_frame, text=" Cost\n 3rd / 4th ", font=("Arial", 14)) + labelDuel2.grid(row=32, column=4) + duelCapsulePrice34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + duelCapsulePrice34.grid(row=32, column=5) + labelDuel3 = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Early ", font=("Arial", 14)) + labelDuel3.grid(row=32, column=6) + duelCapsuleShopOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + duelCapsuleShopOdds12.grid(row=32, column=7) + labelDuel4 = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Late ", font=("Arial", 14)) + labelDuel4.grid(row=32, column=8) + duelCapsuleShopOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + duelCapsuleShopOdds34.grid(row=32, column=9) + labelDuel5 = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 1st / 2nd ", font=("Arial", 14)) + labelDuel5.grid(row=32, column=10) + duelCapsuleSpaceOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + duelCapsuleSpaceOdds12.grid(row=32, column=11) + labelDuel6 = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 3rd / 4th ", font=("Arial", 14)) + labelDuel6.grid(row=32, column=12) + duelCapsuleSpaceOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + duelCapsuleSpaceOdds34.grid(row=32, column=13) + + # DK Capsule + icon = create_image_icon(content_frame, "assets/items/dkCapsule.png", 33, 1) + labelDK1 = ctk.CTkLabel(master=content_frame, text=" Cost\n 1st / 2nd ", font=("Arial", 14)) + labelDK1.grid(row=33, column=2) + dkCapsulePrice12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + dkCapsulePrice12.grid(row=33, column=3) + labelDK2 = ctk.CTkLabel(master=content_frame, text=" Cost\n 3rd / 4th ", font=("Arial", 14)) + labelDK2.grid(row=33, column=4) + dkCapsulePrice34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + dkCapsulePrice34.grid(row=33, column=5) + labelDK3 = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Early ", font=("Arial", 14)) + labelDK3.grid(row=33, column=6) + dkCapsuleShopOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + dkCapsuleShopOdds12.grid(row=33, column=7) + labelDK4 = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Late ", font=("Arial", 14)) + labelDK4.grid(row=33, column=8) + dkCapsuleShopOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + dkCapsuleShopOdds34.grid(row=33, column=9) + labelDK5 = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 1st / 2nd ", font=("Arial", 14)) + labelDK5.grid(row=33, column=10) + dkCapsuleSpaceOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + dkCapsuleSpaceOdds12.grid(row=33, column=11) + labelDK6 = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 3rd / 4th ", font=("Arial", 14)) + labelDK6.grid(row=33, column=12) + dkCapsuleSpaceOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + dkCapsuleSpaceOdds34.grid(row=33, column=13) + + # Orb Bag Capsule + icon = create_image_icon(content_frame, "assets/items/orbBagCapsule.png", 34, 1) + labelOrbBag1 = ctk.CTkLabel(master=content_frame, text=" Cost\n 1st / 2nd ", font=("Arial", 14)) + labelOrbBag1.grid(row=34, column=2) + orbBagCapsulePrice12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + orbBagCapsulePrice12.grid(row=34, column=3) + labelOrbBag2 = ctk.CTkLabel(master=content_frame, text=" Cost\n 3rd / 4th ", font=("Arial", 14)) + labelOrbBag2.grid(row=34, column=4) + orbBagCapsulePrice34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + orbBagCapsulePrice34.grid(row=34, column=5) + labelOrbBag3 = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Early ", font=("Arial", 14)) + labelOrbBag3.grid(row=34, column=6) + orbBagCapsuleShopOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + orbBagCapsuleShopOdds12.grid(row=34, column=7) + labelOrbBag4 = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Late ", font=("Arial", 14)) + labelOrbBag4.grid(row=34, column=8) + orbBagCapsuleShopOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + orbBagCapsuleShopOdds34.grid(row=34, column=9) + labelOrbBag5 = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 1st / 2nd ", font=("Arial", 14)) + labelOrbBag5.grid(row=34, column=10) + orbBagCapsuleSpaceOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + orbBagCapsuleSpaceOdds12.grid(row=34, column=11) + labelOrbBag6 = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 3rd / 4th ", font=("Arial", 14)) + labelOrbBag6.grid(row=34, column=12) + orbBagCapsuleSpaceOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + orbBagCapsuleSpaceOdds34.grid(row=34, column=13) + + # Mystery Capsule + icon = create_image_icon(content_frame, "assets/items/mysteryCapsule.png", 35, 1) + labelMystery1 = ctk.CTkLabel(master=content_frame, text=" Cost\n 1st / 2nd ", font=("Arial", 14)) + labelMystery1.grid(row=35, column=2) + mysteryCapsulePrice12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + mysteryCapsulePrice12.grid(row=35, column=3) + labelMystery2 = ctk.CTkLabel(master=content_frame, text=" Cost\n 3rd / 4th ", font=("Arial", 14)) + labelMystery2.grid(row=35, column=4) + mysteryCapsulePrice34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + mysteryCapsulePrice34.grid(row=35, column=5) + labelMystery3 = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Early ", font=("Arial", 14)) + labelMystery3.grid(row=35, column=6) + mysteryCapsuleShopOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + mysteryCapsuleShopOdds12.grid(row=35, column=7) + labelMystery4 = ctk.CTkLabel(master=content_frame, text=" Shop Odd\n Late ", font=("Arial", 14)) + labelMystery4.grid(row=35, column=8) + mysteryCapsuleShopOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + mysteryCapsuleShopOdds34.grid(row=35, column=9) + labelMystery5 = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 1st / 2nd ", font=("Arial", 14)) + labelMystery5.grid(row=35, column=10) + mysteryCapsuleSpaceOdds12 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + mysteryCapsuleSpaceOdds12.grid(row=35, column=11) + labelMystery6 = ctk.CTkLabel(master=content_frame, text=" Pickup Odd \n 3rd / 4th ", font=("Arial", 14)) + labelMystery6.grid(row=35, column=12) + mysteryCapsuleSpaceOdds34 = ctk.CTkEntry(master=content_frame, width=48, font=("Arial", 16, "bold")) + mysteryCapsuleSpaceOdds34.grid(row=35, column=13) global hide_custom hide_custom = False - parseButton = ctk.CTkButton(master=tabview.tab("Orb Mods"), command=lambda: itemsEvent_mp7(mushroomCapsuleWeight7, goldenMushroomCapsulePrice7, goldenMushroomCapsuleWeight7, slowMushroomCapsulePrice7, slowMushroomCapsuleWeight7, metalMushroomCapsulePrice7, metalMushroomCapsuleWeight7, flutterCapsulePrice7, flutterCapsuleWeight7, cannonCapsulePrice7, cannonCapsuleWeight7, snackCapsulePrice7, snackCapsuleWeight7, lakituCapsulePrice7, lakituCapsuleWeight7, hammerBroCapsulePrice7, hammerBroCapsuleWeight7, plantCapsulePrice7, plantCapsuleWeight7, spearCapsulePrice7, spearCapsuleWeight7, kamekCapsulePrice7, kamekCapsuleWeight7, toadyCapsulePrice7, toadyCapsuleWeight7, blizzardCapsulePrice7, blizzardCapsuleWeight7, banditCapsulePrice7, banditCapsuleWeight7, pinkBooCapsulePrice7, pinkBooCapsuleWeight7, spinyCapsulePrice7, spinyCapsuleWeight7, zapCapsulePrice7, zapCapsuleWeight7, tweesterCapsulePrice7, tweesterCapsuleWeight7, thwompCapsulePrice7, thwompCapsuleWeight7, warpCapsulePrice7, warpCapsuleWeight7, bombCapsulePrice7, bombCapsuleWeight7, fireballCapsulePrice7, fireballCapsuleWeight7, flowerCapsulePrice7, flowerCapsuleWeight7, eggCapsulePrice7, eggCapsuleWeight7, vacuumCapsulePrice7, vacuumCapsuleWeight7, magicCapsulePrice7, magicCapsuleWeight7, tripleCapsulePrice7, tripleCapsuleWeight7, koopaCapsulePrice7, koopaCapsuleWeight7, poisonMushroomWeight7 if hide_custom == False else "0", poisonMushroomPrice7 if hide_custom == False else "0", orbBagCapsuleWeight7 if hide_custom == False else "0", orbBagCapsulePrice7 if hide_custom == False else "0", mysteryCapsuleWeight7 if hide_custom == False else "0", mysteryCapsulePrice7 if hide_custom == False else "0", dkCapsuleWeight7 if hide_custom == False else "0", dkCapsulePrice7 if hide_custom == False else "0", duelCapsuleWeight7 if hide_custom == False else "0", duelCapsulePrice7 if hide_custom == False else "0"), text="Generate Codes") + parseButton = ctk.CTkButton(master=tabview.tab("Orb Mods"), command=lambda: itemsEvent_mp7( + mushroomCapsuleShopOdds12, mushroomCapsuleShopOdds34, + mushroomCapsuleSpaceOdds12, mushroomCapsuleSpaceOdds34, + goldenMushroomCapsulePrice12, goldenMushroomCapsulePrice34, + goldenMushroomCapsuleShopOdds12, goldenMushroomCapsuleShopOdds34, + goldenMushroomCapsuleSpaceOdds12, goldenMushroomCapsuleSpaceOdds34, + slowMushroomCapsulePrice12, slowMushroomCapsulePrice34, + slowMushroomCapsuleShopOdds12, slowMushroomCapsuleShopOdds34, + slowMushroomCapsuleSpaceOdds12, slowMushroomCapsuleSpaceOdds34, + metalMushroomCapsulePrice12, metalMushroomCapsulePrice34, + metalMushroomCapsuleShopOdds12, metalMushroomCapsuleShopOdds34, + metalMushroomCapsuleSpaceOdds12, metalMushroomCapsuleSpaceOdds34, + flutterCapsulePrice12, flutterCapsulePrice34, + flutterCapsuleShopOdds12, flutterCapsuleShopOdds34, + flutterCapsuleSpaceOdds12, flutterCapsuleSpaceOdds34, + cannonCapsulePrice12, cannonCapsulePrice34, + cannonCapsuleShopOdds12, cannonCapsuleShopOdds34, + cannonCapsuleSpaceOdds12, cannonCapsuleSpaceOdds34, + snackCapsulePrice12, snackCapsulePrice34, + snackCapsuleShopOdds12, snackCapsuleShopOdds34, + snackCapsuleSpaceOdds12, snackCapsuleSpaceOdds34, + lakituCapsulePrice12, lakituCapsulePrice34, + lakituCapsuleShopOdds12, lakituCapsuleShopOdds34, + lakituCapsuleSpaceOdds12, lakituCapsuleSpaceOdds34, + hammerBroCapsulePrice12, hammerBroCapsulePrice34, + hammerBroCapsuleShopOdds12, hammerBroCapsuleShopOdds34, + hammerBroCapsuleSpaceOdds12, hammerBroCapsuleSpaceOdds34, + piranhaPlantCapsulePrice12, piranhaPlantCapsulePrice34, + piranhaPlantCapsuleShopOdds12, piranhaPlantCapsuleShopOdds34, + piranhaPlantCapsuleSpaceOdds12, piranhaPlantCapsuleSpaceOdds34, + spearGuyCapsulePrice12, spearGuyCapsulePrice34, + spearGuyCapsuleShopOdds12, spearGuyCapsuleShopOdds34, + spearGuyCapsuleSpaceOdds12, spearGuyCapsuleSpaceOdds34, + kamekCapsulePrice12, kamekCapsulePrice34, + kamekCapsuleShopOdds12, kamekCapsuleShopOdds34, + kamekCapsuleSpaceOdds12, kamekCapsuleSpaceOdds34, + toadyCapsulePrice12, toadyCapsulePrice34, + toadyCapsuleShopOdds12, toadyCapsuleShopOdds34, + toadyCapsuleSpaceOdds12, toadyCapsuleSpaceOdds34, + mrBlizzardCapsulePrice12, mrBlizzardCapsulePrice34, + mrBlizzardCapsuleShopOdds12, mrBlizzardCapsulePrice34, + mrBlizzardCapsuleSpaceOdds12, mrBlizzardCapsulePrice34, + banditCapsulePrice12, banditCapsulePrice34, + banditCapsuleShopOdds12, banditCapsuleShopOdds34, + banditCapsuleSpaceOdds12, banditCapsuleSpaceOdds34, + pinkBooCapsulePrice12, pinkBooCapsulePrice34, + pinkBooCapsuleShopOdds12, pinkBooCapsuleShopOdds34, + pinkBooCapsuleSpaceOdds12, pinkBooCapsuleSpaceOdds34, + spinyCapsulePrice12, spinyCapsulePrice34, + spinyCapsuleShopOdds12, spinyCapsuleShopOdds34, + spinyCapsuleSpaceOdds12, spinyCapsuleSpaceOdds34, + zapCapsulePrice12, zapCapsulePrice34, + zapCapsuleShopOdds12, zapCapsuleShopOdds34, + zapCapsuleSpaceOdds12, zapCapsuleSpaceOdds34, + tweesterCapsulePrice12, tweesterCapsulePrice34, + tweesterCapsuleShopOdds12, tweesterCapsuleShopOdds34, + tweesterCapsuleSpaceOdds12, tweesterCapsuleSpaceOdds34, + thwompCapsulePrice12, thwompCapsulePrice34, + thwompCapsuleShopOdds12, thwompCapsuleShopOdds34, + thwompCapsuleSpaceOdds12, thwompCapsuleSpaceOdds34, + warpCapsulePrice12, warpCapsulePrice34, + warpCapsuleShopOdds12, warpCapsuleShopOdds34, + warpCapsuleSpaceOdds12, warpCapsuleSpaceOdds34, + bombCapsulePrice12, bombCapsulePrice34, + bombCapsuleShopOdds12, bombCapsuleShopOdds34, + bombCapsuleSpaceOdds12, bombCapsuleSpaceOdds34, + fireballCapsulePrice12, fireballCapsulePrice34, + fireballCapsuleShopOdds12, fireballCapsuleShopOdds34, + fireballCapsuleSpaceOdds12, fireballCapsuleSpaceOdds34, + flowerCapsulePrice12, flowerCapsulePrice34, + flowerCapsuleShopOdds12, flowerCapsuleShopOdds34, + flowerCapsuleSpaceOdds12, flowerCapsuleSpaceOdds34, + eggCapsulePrice12, eggCapsulePrice34, + eggCapsuleShopOdds12, eggCapsuleShopOdds34, + eggCapsuleSpaceOdds12, eggCapsuleSpaceOdds34, + vacuumCapsulePrice12, vacuumCapsulePrice34, + vacuumCapsuleShopOdds12, vacuumCapsuleShopOdds34, + vacuumCapsuleSpaceOdds12, vacuumCapsuleSpaceOdds34, + magicCapsulePrice12, magicCapsulePrice34, + magicCapsuleShopOdds12, magicCapsuleShopOdds34, + magicCapsuleSpaceOdds12, magicCapsuleSpaceOdds34, + tripleCapsulePrice12, tripleCapsulePrice34, + tripleCapsuleShopOdds12, tripleCapsuleShopOdds34, + tripleCapsuleSpaceOdds12, tripleCapsuleSpaceOdds34, + koopaCapsulePrice12, koopaCapsulePrice34, + koopaCapsuleShopOdds12, koopaCapsuleShopOdds34, + koopaCapsuleSpaceOdds12, koopaCapsuleSpaceOdds34, + poisonMushroomPrice34 if hide_custom == False else "0", + poisonMushroomPrice12 if hide_custom == False else "0", + poisonMushroomShopOdds12 if hide_custom == False else "0", + poisonMushroomShopOdds34 if hide_custom == False else "0", + poisonMushroomSpaceOdds12 if hide_custom == False else "0", + poisonMushroomSpaceOdds34 if hide_custom == False else "0", + orbBagCapsulePrice34 if hide_custom == False else "0", + orbBagCapsulePrice12 if hide_custom == False else "0", + orbBagCapsuleShopOdds12 if hide_custom == False else "0", + orbBagCapsuleShopOdds34 if hide_custom == False else "0", + orbBagCapsuleSpaceOdds12 if hide_custom == False else "0", + orbBagCapsuleSpaceOdds34 if hide_custom == False else "0", + mysteryCapsulePrice34 if hide_custom == False else "0", + mysteryCapsulePrice12 if hide_custom == False else "0", + mysteryCapsuleShopOdds12 if hide_custom == False else "0", + mysteryCapsuleShopOdds34 if hide_custom == False else "0", + mysteryCapsuleSpaceOdds12 if hide_custom == False else "0", + mysteryCapsuleSpaceOdds34 if hide_custom == False else "0", + dkCapsulePrice34 if hide_custom == False else "0", + dkCapsulePrice12 if hide_custom == False else "0", + dkCapsuleShopOdds12 if hide_custom == False else "0", + dkCapsuleShopOdds34 if hide_custom == False else "0", + dkCapsuleSpaceOdds12 if hide_custom == False else "0", + dkCapsuleSpaceOdds34 if hide_custom == False else "0", + duelCapsulePrice34 if hide_custom == False else "0", + duelCapsulePrice12 if hide_custom == False else "0", + duelCapsuleShopOdds12 if hide_custom == False else "0", + duelCapsuleShopOdds34 if hide_custom == False else "0", + duelCapsuleSpaceOdds12 if hide_custom == False else "0", + duelCapsuleSpaceOdds34 if hide_custom == False else "0" + ), text="Generate Code") parseButton.place(x=10, y=800) - parseButton = ctk.CTkButton(master=tabview.tab("Orb Mods"), command=lambda: savePresetItems7(mushroomCapsuleWeight7, goldenMushroomCapsulePrice7, goldenMushroomCapsuleWeight7, slowMushroomCapsulePrice7, slowMushroomCapsuleWeight7, metalMushroomCapsulePrice7, metalMushroomCapsuleWeight7, flutterCapsulePrice7, flutterCapsuleWeight7, cannonCapsulePrice7, cannonCapsuleWeight7, snackCapsulePrice7, snackCapsuleWeight7, lakituCapsulePrice7, lakituCapsuleWeight7, hammerBroCapsulePrice7, hammerBroCapsuleWeight7, plantCapsulePrice7, plantCapsuleWeight7, spearCapsulePrice7, spearCapsuleWeight7, kamekCapsulePrice7, kamekCapsuleWeight7, toadyCapsulePrice7, toadyCapsuleWeight7, blizzardCapsulePrice7, blizzardCapsuleWeight7, banditCapsulePrice7, banditCapsuleWeight7, pinkBooCapsulePrice7, pinkBooCapsuleWeight7, spinyCapsulePrice7, spinyCapsuleWeight7, zapCapsulePrice7, zapCapsuleWeight7, tweesterCapsulePrice7, tweesterCapsuleWeight7, thwompCapsulePrice7, thwompCapsuleWeight7, warpCapsulePrice7, warpCapsuleWeight7, bombCapsulePrice7, bombCapsuleWeight7, fireballCapsulePrice7, fireballCapsuleWeight7, flowerCapsulePrice7, flowerCapsuleWeight7, eggCapsulePrice7, eggCapsuleWeight7, vacuumCapsulePrice7, vacuumCapsuleWeight7, magicCapsulePrice7, magicCapsuleWeight7, tripleCapsulePrice7, tripleCapsuleWeight7, koopaCapsulePrice7, koopaCapsuleWeight7, poisonMushroomWeight7 if hide_custom == False else "0", poisonMushroomPrice7 if hide_custom == False else "0", orbBagCapsuleWeight7 if hide_custom == False else "0", orbBagCapsulePrice7 if hide_custom == False else "0", mysteryCapsuleWeight7 if hide_custom == False else "0", mysteryCapsulePrice7 if hide_custom == False else "0", dkCapsuleWeight7 if hide_custom == False else "0", dkCapsulePrice7 if hide_custom == False else "0", duelCapsuleWeight7 if hide_custom == False else "0", duelCapsulePrice7 if hide_custom == False else "0"), text="Save Preset") + + parseButton = ctk.CTkButton(master=tabview.tab("Orb Mods"), command=lambda: savePresetItems7( + mushroomCapsuleShopOdds12, mushroomCapsuleShopOdds34, + mushroomCapsuleSpaceOdds12, mushroomCapsuleSpaceOdds34, + goldenMushroomCapsulePrice12, goldenMushroomCapsulePrice34, + goldenMushroomCapsuleShopOdds12, goldenMushroomCapsuleShopOdds34, + goldenMushroomCapsuleSpaceOdds12, goldenMushroomCapsuleSpaceOdds34, + slowMushroomCapsulePrice12, slowMushroomCapsulePrice34, + slowMushroomCapsuleShopOdds12, slowMushroomCapsuleShopOdds34, + slowMushroomCapsuleSpaceOdds12, slowMushroomCapsuleSpaceOdds34, + metalMushroomCapsulePrice12, metalMushroomCapsulePrice34, + metalMushroomCapsuleShopOdds12, metalMushroomCapsuleShopOdds34, + metalMushroomCapsuleSpaceOdds12, metalMushroomCapsuleSpaceOdds34, + flutterCapsulePrice12, flutterCapsulePrice34, + flutterCapsuleShopOdds12, flutterCapsuleShopOdds34, + flutterCapsuleSpaceOdds12, flutterCapsuleSpaceOdds34, + cannonCapsulePrice12, cannonCapsulePrice34, + cannonCapsuleShopOdds12, cannonCapsuleShopOdds34, + cannonCapsuleSpaceOdds12, cannonCapsuleSpaceOdds34, + snackCapsulePrice12, snackCapsulePrice34, + snackCapsuleShopOdds12, snackCapsuleShopOdds34, + snackCapsuleSpaceOdds12, snackCapsuleSpaceOdds34, + lakituCapsulePrice12, lakituCapsulePrice34, + lakituCapsuleShopOdds12, lakituCapsuleShopOdds34, + lakituCapsuleSpaceOdds12, lakituCapsuleSpaceOdds34, + hammerBroCapsulePrice12, hammerBroCapsulePrice34, + hammerBroCapsuleShopOdds12, hammerBroCapsuleShopOdds34, + hammerBroCapsuleSpaceOdds12, hammerBroCapsuleSpaceOdds34, + piranhaPlantCapsulePrice12, piranhaPlantCapsulePrice34, + piranhaPlantCapsuleShopOdds12, piranhaPlantCapsuleShopOdds34, + piranhaPlantCapsuleSpaceOdds12, piranhaPlantCapsuleSpaceOdds34, + spearGuyCapsulePrice12, spearGuyCapsulePrice34, + spearGuyCapsuleShopOdds12, spearGuyCapsuleShopOdds34, + spearGuyCapsuleSpaceOdds12, spearGuyCapsuleSpaceOdds34, + kamekCapsulePrice12, kamekCapsulePrice34, + kamekCapsuleShopOdds12, kamekCapsuleShopOdds34, + kamekCapsuleSpaceOdds12, kamekCapsuleSpaceOdds34, + toadyCapsulePrice12, toadyCapsulePrice34, + toadyCapsuleShopOdds12, toadyCapsuleShopOdds34, + toadyCapsuleSpaceOdds12, toadyCapsuleSpaceOdds34, + mrBlizzardCapsulePrice12, mrBlizzardCapsulePrice34, + mrBlizzardCapsuleShopOdds12, mrBlizzardCapsulePrice34, + mrBlizzardCapsuleSpaceOdds12, mrBlizzardCapsulePrice34, + banditCapsulePrice12, banditCapsulePrice34, + banditCapsuleShopOdds12, banditCapsuleShopOdds34, + banditCapsuleSpaceOdds12, banditCapsuleSpaceOdds34, + pinkBooCapsulePrice12, pinkBooCapsulePrice34, + pinkBooCapsuleShopOdds12, pinkBooCapsuleShopOdds34, + pinkBooCapsuleSpaceOdds12, pinkBooCapsuleSpaceOdds34, + spinyCapsulePrice12, spinyCapsulePrice34, + spinyCapsuleShopOdds12, spinyCapsuleShopOdds34, + spinyCapsuleSpaceOdds12, spinyCapsuleSpaceOdds34, + zapCapsulePrice12, zapCapsulePrice34, + zapCapsuleShopOdds12, zapCapsuleShopOdds34, + zapCapsuleSpaceOdds12, zapCapsuleSpaceOdds34, + tweesterCapsulePrice12, tweesterCapsulePrice34, + tweesterCapsuleShopOdds12, tweesterCapsuleShopOdds34, + tweesterCapsuleSpaceOdds12, tweesterCapsuleSpaceOdds34, + thwompCapsulePrice12, thwompCapsulePrice34, + thwompCapsuleShopOdds12, thwompCapsuleShopOdds34, + thwompCapsuleSpaceOdds12, thwompCapsuleSpaceOdds34, + warpCapsulePrice12, warpCapsulePrice34, + warpCapsuleShopOdds12, warpCapsuleShopOdds34, + warpCapsuleSpaceOdds12, warpCapsuleSpaceOdds34, + bombCapsulePrice12, bombCapsulePrice34, + bombCapsuleShopOdds12, bombCapsuleShopOdds34, + bombCapsuleSpaceOdds12, bombCapsuleSpaceOdds34, + fireballCapsulePrice12, fireballCapsulePrice34, + fireballCapsuleShopOdds12, fireballCapsuleShopOdds34, + fireballCapsuleSpaceOdds12, fireballCapsuleSpaceOdds34, + flowerCapsulePrice12, flowerCapsulePrice34, + flowerCapsuleShopOdds12, flowerCapsuleShopOdds34, + flowerCapsuleSpaceOdds12, flowerCapsuleSpaceOdds34, + eggCapsulePrice12, eggCapsulePrice34, + eggCapsuleShopOdds12, eggCapsuleShopOdds34, + eggCapsuleSpaceOdds12, eggCapsuleSpaceOdds34, + vacuumCapsulePrice12, vacuumCapsulePrice34, + vacuumCapsuleShopOdds12, vacuumCapsuleShopOdds34, + vacuumCapsuleSpaceOdds12, vacuumCapsuleSpaceOdds34, + magicCapsulePrice12, magicCapsulePrice34, + magicCapsuleShopOdds12, magicCapsuleShopOdds34, + magicCapsuleSpaceOdds12, magicCapsuleSpaceOdds34, + tripleCapsulePrice12, tripleCapsulePrice34, + tripleCapsuleShopOdds12, tripleCapsuleShopOdds34, + tripleCapsuleSpaceOdds12, tripleCapsuleSpaceOdds34, + koopaCapsulePrice12, koopaCapsulePrice34, + koopaCapsuleShopOdds12, koopaCapsuleShopOdds34, + koopaCapsuleSpaceOdds12, koopaCapsuleSpaceOdds34, + poisonMushroomPrice34 if hide_custom == False else "0", + poisonMushroomPrice12 if hide_custom == False else "0", + poisonMushroomShopOdds12 if hide_custom == False else "0", + poisonMushroomShopOdds34 if hide_custom == False else "0", + poisonMushroomSpaceOdds12 if hide_custom == False else "0", + poisonMushroomSpaceOdds34 if hide_custom == False else "0", + orbBagCapsulePrice34 if hide_custom == False else "0", + orbBagCapsulePrice12 if hide_custom == False else "0", + orbBagCapsuleShopOdds12 if hide_custom == False else "0", + orbBagCapsuleShopOdds34 if hide_custom == False else "0", + orbBagCapsuleSpaceOdds12 if hide_custom == False else "0", + orbBagCapsuleSpaceOdds34 if hide_custom == False else "0", + mysteryCapsulePrice34 if hide_custom == False else "0", + mysteryCapsulePrice12 if hide_custom == False else "0", + mysteryCapsuleShopOdds12 if hide_custom == False else "0", + mysteryCapsuleShopOdds34 if hide_custom == False else "0", + mysteryCapsuleSpaceOdds12 if hide_custom == False else "0", + mysteryCapsuleSpaceOdds34 if hide_custom == False else "0", + dkCapsulePrice34 if hide_custom == False else "0", + dkCapsulePrice12 if hide_custom == False else "0", + dkCapsuleShopOdds12 if hide_custom == False else "0", + dkCapsuleShopOdds34 if hide_custom == False else "0", + dkCapsuleSpaceOdds12 if hide_custom == False else "0", + dkCapsuleSpaceOdds34 if hide_custom == False else "0", + duelCapsulePrice34 if hide_custom == False else "0", + duelCapsulePrice12 if hide_custom == False else "0", + duelCapsuleShopOdds12 if hide_custom == False else "0", + duelCapsuleShopOdds34 if hide_custom == False else "0", + duelCapsuleSpaceOdds12 if hide_custom == False else "0", + duelCapsuleSpaceOdds34 if hide_custom == False else "0" + ), text="Save Preset") parseButton.place(x=160, y=800) - parseButton = ctk.CTkButton(master=tabview.tab("Orb Mods"), command=lambda: loadPresetItems7(hide_custom, mushroomCapsuleWeight7, goldenMushroomCapsulePrice7, goldenMushroomCapsuleWeight7, slowMushroomCapsulePrice7, slowMushroomCapsuleWeight7, metalMushroomCapsulePrice7, metalMushroomCapsuleWeight7, flutterCapsulePrice7, flutterCapsuleWeight7, cannonCapsulePrice7, cannonCapsuleWeight7, snackCapsulePrice7, snackCapsuleWeight7, lakituCapsulePrice7, lakituCapsuleWeight7, hammerBroCapsulePrice7, hammerBroCapsuleWeight7, plantCapsulePrice7, plantCapsuleWeight7, spearCapsulePrice7, spearCapsuleWeight7, kamekCapsulePrice7, kamekCapsuleWeight7, toadyCapsulePrice7, toadyCapsuleWeight7, blizzardCapsulePrice7, blizzardCapsuleWeight7, banditCapsulePrice7, banditCapsuleWeight7, pinkBooCapsulePrice7, pinkBooCapsuleWeight7, spinyCapsulePrice7, spinyCapsuleWeight7, zapCapsulePrice7, zapCapsuleWeight7, tweesterCapsulePrice7, tweesterCapsuleWeight7, thwompCapsulePrice7, thwompCapsuleWeight7, warpCapsulePrice7, warpCapsuleWeight7, bombCapsulePrice7, bombCapsuleWeight7, fireballCapsulePrice7, fireballCapsuleWeight7, flowerCapsulePrice7, flowerCapsuleWeight7, eggCapsulePrice7, eggCapsuleWeight7, vacuumCapsulePrice7, vacuumCapsuleWeight7, magicCapsulePrice7, magicCapsuleWeight7, tripleCapsulePrice7, tripleCapsuleWeight7, koopaCapsulePrice7, koopaCapsuleWeight7, poisonMushroomWeight7 if hide_custom == False else "0", poisonMushroomPrice7 if hide_custom == False else "0", orbBagCapsuleWeight7 if hide_custom == False else "0", orbBagCapsulePrice7 if hide_custom == False else "0", mysteryCapsuleWeight7 if hide_custom == False else "0", mysteryCapsulePrice7 if hide_custom == False else "0", dkCapsuleWeight7 if hide_custom == False else "0", dkCapsulePrice7 if hide_custom == False else "0", duelCapsuleWeight7 if hide_custom == False else "0", duelCapsulePrice7 if hide_custom == False else "0"), text="Load Preset") + parseButton = ctk.CTkButton(master=tabview.tab("Orb Mods"), command=lambda: loadPresetItems7( + hide_custom, + mushroomCapsuleShopOdds12, mushroomCapsuleShopOdds34, + mushroomCapsuleSpaceOdds12, mushroomCapsuleSpaceOdds34, + goldenMushroomCapsulePrice12, goldenMushroomCapsulePrice34, + goldenMushroomCapsuleShopOdds12, goldenMushroomCapsuleShopOdds34, + goldenMushroomCapsuleSpaceOdds12, goldenMushroomCapsuleSpaceOdds34, + slowMushroomCapsulePrice12, slowMushroomCapsulePrice34, + slowMushroomCapsuleShopOdds12, slowMushroomCapsuleShopOdds34, + slowMushroomCapsuleSpaceOdds12, slowMushroomCapsuleSpaceOdds34, + metalMushroomCapsulePrice12, metalMushroomCapsulePrice34, + metalMushroomCapsuleShopOdds12, metalMushroomCapsuleShopOdds34, + metalMushroomCapsuleSpaceOdds12, metalMushroomCapsuleSpaceOdds34, + flutterCapsulePrice12, flutterCapsulePrice34, + flutterCapsuleShopOdds12, flutterCapsuleShopOdds34, + flutterCapsuleSpaceOdds12, flutterCapsuleSpaceOdds34, + cannonCapsulePrice12, cannonCapsulePrice34, + cannonCapsuleShopOdds12, cannonCapsuleShopOdds34, + cannonCapsuleSpaceOdds12, cannonCapsuleSpaceOdds34, + snackCapsulePrice12, snackCapsulePrice34, + snackCapsuleShopOdds12, snackCapsuleShopOdds34, + snackCapsuleSpaceOdds12, snackCapsuleSpaceOdds34, + lakituCapsulePrice12, lakituCapsulePrice34, + lakituCapsuleShopOdds12, lakituCapsuleShopOdds34, + lakituCapsuleSpaceOdds12, lakituCapsuleSpaceOdds34, + hammerBroCapsulePrice12, hammerBroCapsulePrice34, + hammerBroCapsuleShopOdds12, hammerBroCapsuleShopOdds34, + hammerBroCapsuleSpaceOdds12, hammerBroCapsuleSpaceOdds34, + piranhaPlantCapsulePrice12, piranhaPlantCapsulePrice34, + piranhaPlantCapsuleShopOdds12, piranhaPlantCapsuleShopOdds34, + piranhaPlantCapsuleSpaceOdds12, piranhaPlantCapsuleSpaceOdds34, + spearGuyCapsulePrice12, spearGuyCapsulePrice34, + spearGuyCapsuleShopOdds12, spearGuyCapsuleShopOdds34, + spearGuyCapsuleSpaceOdds12, spearGuyCapsuleSpaceOdds34, + kamekCapsulePrice12, kamekCapsulePrice34, + kamekCapsuleShopOdds12, kamekCapsuleShopOdds34, + kamekCapsuleSpaceOdds12, kamekCapsuleSpaceOdds34, + toadyCapsulePrice12, toadyCapsulePrice34, + toadyCapsuleShopOdds12, toadyCapsuleShopOdds34, + toadyCapsuleSpaceOdds12, toadyCapsuleSpaceOdds34, + mrBlizzardCapsulePrice12, mrBlizzardCapsulePrice34, + mrBlizzardCapsuleShopOdds12, mrBlizzardCapsulePrice34, + mrBlizzardCapsuleSpaceOdds12, mrBlizzardCapsulePrice34, + banditCapsulePrice12, banditCapsulePrice34, + banditCapsuleShopOdds12, banditCapsuleShopOdds34, + banditCapsuleSpaceOdds12, banditCapsuleSpaceOdds34, + pinkBooCapsulePrice12, pinkBooCapsulePrice34, + pinkBooCapsuleShopOdds12, pinkBooCapsuleShopOdds34, + pinkBooCapsuleSpaceOdds12, pinkBooCapsuleSpaceOdds34, + spinyCapsulePrice12, spinyCapsulePrice34, + spinyCapsuleShopOdds12, spinyCapsuleShopOdds34, + spinyCapsuleSpaceOdds12, spinyCapsuleSpaceOdds34, + zapCapsulePrice12, zapCapsulePrice34, + zapCapsuleShopOdds12, zapCapsuleShopOdds34, + zapCapsuleSpaceOdds12, zapCapsuleSpaceOdds34, + tweesterCapsulePrice12, tweesterCapsulePrice34, + tweesterCapsuleShopOdds12, tweesterCapsuleShopOdds34, + tweesterCapsuleSpaceOdds12, tweesterCapsuleSpaceOdds34, + thwompCapsulePrice12, thwompCapsulePrice34, + thwompCapsuleShopOdds12, thwompCapsuleShopOdds34, + thwompCapsuleSpaceOdds12, thwompCapsuleSpaceOdds34, + warpCapsulePrice12, warpCapsulePrice34, + warpCapsuleShopOdds12, warpCapsuleShopOdds34, + warpCapsuleSpaceOdds12, warpCapsuleSpaceOdds34, + bombCapsulePrice12, bombCapsulePrice34, + bombCapsuleShopOdds12, bombCapsuleShopOdds34, + bombCapsuleSpaceOdds12, bombCapsuleSpaceOdds34, + fireballCapsulePrice12, fireballCapsulePrice34, + fireballCapsuleShopOdds12, fireballCapsuleShopOdds34, + fireballCapsuleSpaceOdds12, fireballCapsuleSpaceOdds34, + flowerCapsulePrice12, flowerCapsulePrice34, + flowerCapsuleShopOdds12, flowerCapsuleShopOdds34, + flowerCapsuleSpaceOdds12, flowerCapsuleSpaceOdds34, + eggCapsulePrice12, eggCapsulePrice34, + eggCapsuleShopOdds12, eggCapsuleShopOdds34, + eggCapsuleSpaceOdds12, eggCapsuleSpaceOdds34, + vacuumCapsulePrice12, vacuumCapsulePrice34, + vacuumCapsuleShopOdds12, vacuumCapsuleShopOdds34, + vacuumCapsuleSpaceOdds12, vacuumCapsuleSpaceOdds34, + magicCapsulePrice12, magicCapsulePrice34, + magicCapsuleShopOdds12, magicCapsuleShopOdds34, + magicCapsuleSpaceOdds12, magicCapsuleSpaceOdds34, + tripleCapsulePrice12, tripleCapsulePrice34, + tripleCapsuleShopOdds12, tripleCapsuleShopOdds34, + tripleCapsuleSpaceOdds12, tripleCapsuleSpaceOdds34, + koopaCapsulePrice12, koopaCapsulePrice34, + koopaCapsuleShopOdds12, koopaCapsuleShopOdds34, + koopaCapsuleSpaceOdds12, koopaCapsuleSpaceOdds34, + poisonMushroomPrice34 if hide_custom == False else "0", + poisonMushroomPrice12 if hide_custom == False else "0", + poisonMushroomShopOdds12 if hide_custom == False else "0", + poisonMushroomShopOdds34 if hide_custom == False else "0", + poisonMushroomSpaceOdds12 if hide_custom == False else "0", + poisonMushroomSpaceOdds34 if hide_custom == False else "0", + orbBagCapsulePrice34 if hide_custom == False else "0", + orbBagCapsulePrice12 if hide_custom == False else "0", + orbBagCapsuleShopOdds12 if hide_custom == False else "0", + orbBagCapsuleShopOdds34 if hide_custom == False else "0", + orbBagCapsuleSpaceOdds12 if hide_custom == False else "0", + orbBagCapsuleSpaceOdds34 if hide_custom == False else "0", + mysteryCapsulePrice34 if hide_custom == False else "0", + mysteryCapsulePrice12 if hide_custom == False else "0", + mysteryCapsuleShopOdds12 if hide_custom == False else "0", + mysteryCapsuleShopOdds34 if hide_custom == False else "0", + mysteryCapsuleSpaceOdds12 if hide_custom == False else "0", + mysteryCapsuleSpaceOdds34 if hide_custom == False else "0", + dkCapsulePrice34 if hide_custom == False else "0", + dkCapsulePrice12 if hide_custom == False else "0", + dkCapsuleShopOdds12 if hide_custom == False else "0", + dkCapsuleShopOdds34 if hide_custom == False else "0", + dkCapsuleSpaceOdds12 if hide_custom == False else "0", + dkCapsuleSpaceOdds34 if hide_custom == False else "0", + duelCapsulePrice34 if hide_custom == False else "0", + duelCapsulePrice12 if hide_custom == False else "0", + duelCapsuleShopOdds12 if hide_custom == False else "0", + duelCapsuleShopOdds34 if hide_custom == False else "0", + duelCapsuleSpaceOdds12 if hide_custom == False else "0", + duelCapsuleSpaceOdds34 if hide_custom == False else "0" + ), text="Load Preset") parseButton.place(x=310, y=800) - parseButtonSevenFillViaCode = ctk.CTkButton(master=tabview.tab("Orb Mods"), command=lambda: fillViaCode7Actions(), text="Fill Via Code") - parseButtonSevenFillViaCode.place(x=460, y=800) + #parseButtonSevenFillViaCode = ctk.CTkButton(master=tabview.tab("Orb Mods"), command=lambda: fillViaCode7Actions(), text="Fill Via Code") + #parseButtonSevenFillViaCode.place(x=460, y=800) hideCustomSwitch = ctk.CTkSwitch(master=tabview.tab("Orb Mods"), text="Show Custom Orbs") - hideCustomSwitch.place(x=610, y=800) + hideCustomSwitch.place(x=460, y=800) # x=610 def toggle_hide_custom(): global hide_custom hide_custom = not hide_custom if hide_custom: - mysteryCapsulePrice7.grid_forget() - mysteryCapsuleWeight7.grid_forget() - dkCapsulePrice7.grid_forget() - dkCapsuleWeight7.grid_forget() - orbBagCapsulePrice7.grid_forget() - orbBagCapsuleWeight7.grid_forget() - duelCapsulePrice7.grid_forget() - duelCapsuleWeight7.grid_forget() - poisonMushroomPrice7.grid_forget() - poisonMushroomWeight7.grid_forget() + mysteryCapsulePrice12.grid_forget() + mysteryCapsulePrice34.grid_forget() + mysteryCapsuleShopOdds12.grid_forget() + mysteryCapsuleShopOdds34.grid_forget() + mysteryCapsuleSpaceOdds12.grid_forget() + mysteryCapsuleSpaceOdds34.grid_forget() + dkCapsulePrice12.grid_forget() + dkCapsulePrice34.grid_forget() + dkCapsuleShopOdds12.grid_forget() + dkCapsuleShopOdds34.grid_forget() + dkCapsuleSpaceOdds12.grid_forget() + dkCapsuleSpaceOdds34.grid_forget() + orbBagCapsulePrice12.grid_forget() + orbBagCapsulePrice34.grid_forget() + orbBagCapsuleShopOdds12.grid_forget() + orbBagCapsuleShopOdds34.grid_forget() + orbBagCapsuleSpaceOdds12.grid_forget() + orbBagCapsuleSpaceOdds34.grid_forget() + duelCapsulePrice12.grid_forget() + duelCapsulePrice34.grid_forget() + duelCapsuleShopOdds12.grid_forget() + duelCapsuleShopOdds34.grid_forget() + duelCapsuleSpaceOdds12.grid_forget() + duelCapsuleSpaceOdds34.grid_forget() + poisonMushroomPrice12.grid_forget() + poisonMushroomPrice34.grid_forget() + poisonMushroomShopOdds12.grid_forget() + poisonMushroomShopOdds34.grid_forget() + poisonMushroomSpaceOdds12.grid_forget() + poisonMushroomSpaceOdds34.grid_forget() labelMystery1.grid_forget() labelMystery2.grid_forget() labelMystery3.grid_forget() + labelMystery4.grid_forget() + labelMystery5.grid_forget() + labelMystery6.grid_forget() labelDK1.grid_forget() labelDK2.grid_forget() labelDK3.grid_forget() + labelDK4.grid_forget() + labelDK5.grid_forget() + labelDK6.grid_forget() labelOrbBag1.grid_forget() labelOrbBag2.grid_forget() labelOrbBag3.grid_forget() + labelOrbBag4.grid_forget() + labelOrbBag5.grid_forget() + labelOrbBag6.grid_forget() labelDuel1.grid_forget() labelDuel2.grid_forget() labelDuel3.grid_forget() + labelDuel4.grid_forget() + labelDuel5.grid_forget() + labelDuel6.grid_forget() labelPoison1.grid_forget() labelPoison2.grid_forget() labelPoison3.grid_forget() - for widget in tabview.tab("Orb Mods").winfo_children(): - if isinstance(widget, ctk.CTkLabel) and widget.cget("text") == "10:15": + labelPoison4.grid_forget() + labelPoison5.grid_forget() + labelPoison6.grid_forget() + + for widget in content_frame.winfo_children(): + if isinstance(widget, ctk.CTkLabel) and widget.cget("text") == "31:1": widget.grid_forget() - for widget in tabview.tab("Orb Mods").winfo_children(): - if isinstance(widget, ctk.CTkLabel) and widget.cget("text") == "9:15": + for widget in content_frame.winfo_children(): + if isinstance(widget, ctk.CTkLabel) and widget.cget("text") == "32:1": widget.grid_forget() - for widget in tabview.tab("Orb Mods").winfo_children(): - if isinstance(widget, ctk.CTkLabel) and widget.cget("text") == "8:15": + for widget in content_frame.winfo_children(): + if isinstance(widget, ctk.CTkLabel) and widget.cget("text") == "33:1": widget.grid_forget() - for widget in tabview.tab("Orb Mods").winfo_children(): - if isinstance(widget, ctk.CTkLabel) and widget.cget("text") == "11:15": + for widget in content_frame.winfo_children(): + if isinstance(widget, ctk.CTkLabel) and widget.cget("text") == "34:1": widget.grid_forget() - for widget in tabview.tab("Orb Mods").winfo_children(): - if isinstance(widget, ctk.CTkLabel) and widget.cget("text") == "12:15": + for widget in content_frame.winfo_children(): + if isinstance(widget, ctk.CTkLabel) and widget.cget("text") == "35:1": widget.grid_forget() else: - for widget in tabview.tab("Orb Mods").winfo_children(): - if isinstance(widget, ctk.CTkLabel) and widget.cget("text") == "8:15": - widget.grid(row=8, column=15) - for widget in tabview.tab("Orb Mods").winfo_children(): - if isinstance(widget, ctk.CTkLabel) and widget.cget("text") == "9:15": - widget.grid(row=9, column=15) - for widget in tabview.tab("Orb Mods").winfo_children(): - if isinstance(widget, ctk.CTkLabel) and widget.cget("text") == "10:15": - widget.grid(row=10, column=15) - for widget in tabview.tab("Orb Mods").winfo_children(): - if isinstance(widget, ctk.CTkLabel) and widget.cget("text") == "11:15": - widget.grid(row=11, column=15) - for widget in tabview.tab("Orb Mods").winfo_children(): - if isinstance(widget, ctk.CTkLabel) and widget.cget("text") == "12:15": - widget.grid(row=12, column=15) - mysteryCapsulePrice7.grid(row=12, column=17) - mysteryCapsuleWeight7.grid(row=12, column=19) - orbBagCapsulePrice7.grid(row=11, column=17) - orbBagCapsuleWeight7.grid(row=11, column=19) - dkCapsulePrice7.grid(row=10, column=17) - dkCapsuleWeight7.grid(row=10, column=19) - duelCapsulePrice7.grid(row=9, column=17) - duelCapsuleWeight7.grid(row=9, column=19) - poisonMushroomPrice7.grid(row=8, column=17) - poisonMushroomWeight7.grid(row=8, column=19) - labelMystery1.grid(row=12, column=16) - labelMystery2.grid(row=12, column=18) - labelMystery3.grid(row=12, column=20) - labelOrbBag1.grid(row=11, column=16) - labelOrbBag2.grid(row=11, column=18) - labelOrbBag3.grid(row=11, column=20) - labelDK1.grid(row=10, column=16) - labelDK2.grid(row=10, column=18) - labelDK3.grid(row=10, column=20) - labelDuel1.grid(row=9, column=16) - labelDuel2.grid(row=9, column=18) - labelDuel3.grid(row=9, column=20) - labelPoison1.grid(row=8, column=16) - labelPoison2.grid(row=8, column=18) - labelPoison3.grid(row=8, column=20) + for widget in content_frame.winfo_children(): + if isinstance(widget, ctk.CTkLabel) and widget.cget("text") == "31:1": + widget.grid(row=31, column=1) + for widget in content_frame.winfo_children(): + if isinstance(widget, ctk.CTkLabel) and widget.cget("text") == "32:1": + widget.grid(row=32, column=1) + for widget in content_frame.winfo_children(): + if isinstance(widget, ctk.CTkLabel) and widget.cget("text") == "33:1": + widget.grid(row=33, column=1) + for widget in content_frame.winfo_children(): + if isinstance(widget, ctk.CTkLabel) and widget.cget("text") == "34:1": + widget.grid(row=34, column=1) + for widget in content_frame.winfo_children(): + if isinstance(widget, ctk.CTkLabel) and widget.cget("text") == "35:1": + widget.grid(row=35, column=1) + + # Mystery Capsule + labelMystery1.grid(row=35, column=2) + labelMystery2.grid(row=35, column=4) + labelMystery3.grid(row=35, column=6) # Fixed from labelMystery2 to labelMystery3 + labelMystery4.grid(row=35, column=8) + labelMystery5.grid(row=35, column=10) + labelMystery6.grid(row=35, column=12) + + # Orb Bag Capsule + labelOrbBag1.grid(row=34, column=2) + labelOrbBag2.grid(row=34, column=4) + labelOrbBag3.grid(row=34, column=6) + labelOrbBag4.grid(row=34, column=8) + labelOrbBag5.grid(row=34, column=10) + labelOrbBag6.grid(row=34, column=12) + + # DK Capsule + labelDK1.grid(row=33, column=2) + labelDK2.grid(row=33, column=4) # Fixed from column=2 to column=4 + labelDK3.grid(row=33, column=6) + labelDK4.grid(row=33, column=8) + labelDK5.grid(row=33, column=10) + labelDK6.grid(row=33, column=12) + + # Duel Capsule + labelDuel1.grid(row=32, column=2) + labelDuel2.grid(row=32, column=4) + labelDuel3.grid(row=32, column=6) + labelDuel4.grid(row=32, column=8) + labelDuel5.grid(row=32, column=10) + labelDuel6.grid(row=32, column=12) + + # Poison Mushroom + labelPoison1.grid(row=31, column=2) + labelPoison2.grid(row=31, column=4) + labelPoison3.grid(row=31, column=6) + labelPoison4.grid(row=31, column=8) + labelPoison5.grid(row=31, column=10) + labelPoison6.grid(row=31, column=12) + + # Prices and Odds for the last five items + mysteryCapsulePrice12.grid(row=35, column=3) + mysteryCapsulePrice34.grid(row=35, column=5) + mysteryCapsuleShopOdds12.grid(row=35, column=7) + mysteryCapsuleShopOdds34.grid(row=35, column=9) + mysteryCapsuleSpaceOdds12.grid(row=35, column=11) + mysteryCapsuleSpaceOdds34.grid(row=35, column=13) + + orbBagCapsulePrice12.grid(row=34, column=3) + orbBagCapsulePrice34.grid(row=34, column=5) + orbBagCapsuleShopOdds12.grid(row=34, column=7) + orbBagCapsuleShopOdds34.grid(row=34, column=9) + orbBagCapsuleSpaceOdds12.grid(row=34, column=11) + orbBagCapsuleSpaceOdds34.grid(row=34, column=13) + + dkCapsulePrice12.grid(row=33, column=3) + dkCapsulePrice34.grid(row=33, column=5) + dkCapsuleShopOdds12.grid(row=33, column=7) + dkCapsuleShopOdds34.grid(row=33, column=9) + dkCapsuleSpaceOdds12.grid(row=33, column=11) + dkCapsuleSpaceOdds34.grid(row=33, column=13) + + duelCapsulePrice12.grid(row=32, column=3) + duelCapsulePrice34.grid(row=32, column=5) + duelCapsuleShopOdds12.grid(row=32, column=7) + duelCapsuleShopOdds34.grid(row=32, column=9) + duelCapsuleSpaceOdds12.grid(row=32, column=11) + duelCapsuleSpaceOdds34.grid(row=32, column=13) + + poisonMushroomPrice12.grid(row=31, column=3) + poisonMushroomPrice34.grid(row=31, column=5) + poisonMushroomShopOdds12.grid(row=31, column=7) + poisonMushroomShopOdds34.grid(row=31, column=9) + poisonMushroomSpaceOdds12.grid(row=31, column=11) + poisonMushroomSpaceOdds34.grid(row=31, column=13) hideCustomSwitch.configure(command=toggle_hide_custom) toggle_hide_custom() diff --git a/version.py b/version.py index bb7f8de..f13147b 100644 --- a/version.py +++ b/version.py @@ -5,4 +5,4 @@ # License: MIT # ============================================ -versionString = "3.30" +versionString = "4.0.0-DEV"