Closed Zannick closed 1 year ago
Menuwarp, switching menu areas, then exitmenuwarp should also be a duplicate.
Based on my reading of the debug output, these states are indeed duplicates:
== 87. Menuwarp to Menu > Upgrade Menu > Physiology ==
position: Giguna__West_Caverns__East_10 → Menu__Upgrade_Menu__Physiology
last: None → Giguna__West_Caverns__East_10
== 88. Move to Menu > Upgrade Menu > Combat ==
position: Menu__Upgrade_Menu__Physiology → Menu__Upgrade_Menu__Combat
== 89. ExitMenuwarp to Giguna > West Caverns > East 10 ==
position: Menu__Upgrade_Menu__Combat → Giguna__West_Caverns__East_10
last: Giguna__West_Caverns__East_10 → None
== 90. Move to Giguna > West Caverns > Small Platform ==
Perhaps this means one of these happened?
Perhaps the correct way to deal with this is to check for duplicate states in the best solutions.
No, I think that's not quite right, particularly since this solution had two trips to the menu. More likely, this is just pinpoint minimization not being itself minimized, which is odd, because the pinpoint-minimized solution should be recreated in the db after it's inserted, and that should again reach the winning state and extract the solution path from the db.
...and thus should be discarded as a duplicate. Presumably our enter area script is changing something.