Open AbnormalPoof opened 5 days ago
I have a feeling this is due to some code in the CharacterSelectSubState since back when it was in the debug menu you could select pico, regardless if you have beaten weekend 1 or not. Selecting pico while he was still locked through the aforementioned trick caused some glitchy behaviour like no songs besides random being available until scrolling difficulties.
I'll give it a check for sure
Edit: I was right, the unlock characters function doesn't check if the character is available to be unlocked,,,,facepalm emoji,,,,,,
Opened a PR which fixes this (#3748)
Wait how do you get to that screen in the final image
It's a mod
It's a mod
Oh mb.
Issue Checklist
Platform
Itch.io (Downloadable Build) - MacOS
Browser
None
Version
v0.5.2
Description (include any images, videos, errors, or crash logs)
Using this mod: PLAYABLE MADOKA - A V-SLICE MOD as an example.
Notice how I don't have a score saved for WeekEnd 1:
Yet the animation still shows on Freeplay:
Entering the substate unlocks Pico immediately, along with the modded Playable Character:
Now Pico is playable without me needing to beat WeekEnd 1:
This also confuses mods that rely on Pico's
isUnlocked()
variable:Relevant code for reference:
Steps to Reproduce