This PR fixes extraction of the "secondary entrances" data in the python script. Since the support of LM was added, secondary entrances data in range 0x5f800-0x5ffff are ignored, which results in transitioning to a broken "bonus level" whenever mario enters a pipe that should bring him back to the main level.
Will this Pull Request break anything?
No.
Suggested Testing Steps
Run game with g_runmode = RM_MINE
Enter level Yoshi's Island 1
Enter the 2nd blue pipe (under two yellow blocks)
Enter the pipe to go back to the main part of the level
Before fix: you get directed to a broken bonus level
After fix: you get back to the correct position, being shot out of a pipe in the main part of the level
Description
This PR fixes extraction of the "secondary entrances" data in the python script. Since the support of LM was added, secondary entrances data in range
0x5f800-0x5ffff
are ignored, which results in transitioning to a broken "bonus level" whenever mario enters a pipe that should bring him back to the main level.Will this Pull Request break anything?
No.
Suggested Testing Steps
g_runmode = RM_MINE