this was the probably the most hardest, pain inducing bug fix i've ever done but the most simplest too (i overanalysed) the set modifiers block was originally in the "when green flag clicked" hat block script like in the picture but when i changed the fun modifiers to be easier to access, i added it in the set modifiers function and moved the set modifiers block to the "NextStance (if level changed or game starts)" message hat block. 2 weeks later or someething, i noticed that when i was trying to reroll for modifiers that got added to the modifier options list later in the game, it was less common to come across them. i thought nothing much of it and just peeked in the code to see what was wrong and i overthought the entire bug fixing process when i just could've done it with ease. when the game starts / a new level starts, it broadcasts a NextStance message. since i put the set modifiers block in the NextStance message hat block, it would essentially add an additional set of modifiers that you would start out with EVERY ROUND when it was intended for only the start of the game (major oversight from me lol). then when a new modifier would get added to the list, there would only be one of it while the rest of the modifiers were duplicated countless times. that might not seem like a problem but the reason it makes the newer modifiers that get added as you play less common is because since there are WAY more of the same modifiers in the options and less of the recently added modifiers, the game is more likely to pick the duplicated modifiers because, well, there's more of them in the option pool. i prioritised this as a "major bug" and did everything in my power to fix it. i did all sorts of things, tried to remove duplicated items, and i just messed up the entire thing. when one of my other ideas failed to fix it, i had just realised that after probably 3 hours of bug fixing, i just had to make a new type of message and use that to check for the fun modifiers instead. also look closely at the image for something :eyes:
[PLACEHOLDER]