Hack: Super Mario Infinity 2 - The Cursed Gem
Created by: Reading
Release Date: 2007
Exits: 114
Fixed by: SimFan96

This is the fixed version of Super Mario Infinity 2 - The Cursed Gem. This version fixes the latest released version of the hack to be compatible for accurate emulators.

Fixes provided:
* Fixed broken music included in the game originally which would crash accurate emulators and on actual SNES hardware.
* Fixed issues involving incompatible code in Jonwil's Palette-changing blocks which would change colors upon touched. In accurate emulators, the displayed palettes would not display correctly, this has been fixed. The blocks have been replaced with UberASM to run code during NMI when the player passes through the original Y coordinates for the block's original position. 
* Spritetool code fixed that caused sprites not to initalize properly.
* Multiplication/Division code fixed to work accurately on accurate emulators.
* Fixes a 1 frame flash that occurs on the Nintendo Presents and Mario/Luigi Start Screen on accurate emulators. 
* In order to perserve the original hack as best as possible, I've included two bps patches, one which is only compatibility fixes and the other is playability fixes which intends to make the hack more playable. Do NOT patch the playability fixes to the Super Mario Infinity 2 music fix only ROM, and apply it to an unmodified Super Mario World ROM if you intend to play that version.

Playability Patch Fixes:
* There's a screen-scrolling pipe in Glass Secret 2 that instantly kills the player upon entering it. The player will now no longer be able to die by entering the pipe.
* If the player presses down on the D-Pad in the overworld on the level tile "Vacant Void 5" without the star warp being revealed, Mario would get stuck requiring a game reset. The "Enable Down" flag has been disabled for the level. However, you can still reach the star warp by going through the left path and pressing down when reaching "Vacant Void 3" and then moving to the right. The player will then be able to walk on both paths to the star warp.
* Slopes in cloud levels would not behave correctly and behaves as an incorrect block which would cause the player to walk or slide incorrectly on these slopes. This has been fixed so the player can now walk or slide matches the slope's design.
* Fixed issues with some levels not having correct sprite headers.
* Extreme FastROM to reduce slowdown.
* Crash fixes that involve L+R scrolling into an autoscroller sprite and collecting a cape above the screen during an autoscrolling level.
* SRAM Expand in order to save Mario/Luigi's "star trinkets" (or, star points) whenever the game is saved, and will be saved in the game save when the console is reset/turned off. 
**SPOILERS AHEAD** This makes it much more easier as collecting 100 star trinkets is required to activate the green switch, and is therefore required to complete the game.
**Spoilers end here**

Known issues:
* There are some music issues when it comes to percussion instruments not reloading immediately after Star or P-Switch music has finished.
* Some slowdown issues still persist.

If you find any other issues with this fixed version of the  
hack don't hesitate to message me at the user SimFan96 of  
SMWCentral and Talkhaus. Thanks for reading!

Credits:
---------------------------------------------------
Special Thanks:
* This Eye O' Mine for all of their help in assisting me in giving the resources and assistance which made it possible to fix this hack.
* Reading for creating the Super Mario Infinity series!

Patches applied:
* Spritetool Fix by Super Maks 64
* Background Color Flash fix by Super Maks 64

Playability Patches included:
* SRAM Expand by Deflaktor
* Extreme FastROM by Ersanio, adapted for Asar by This Eye o' Mine
* Feather Fix by Romi
* Autoscroll ($1411) + L/R Softlock Fix by Telinc1

Music:
To listen to the YouTube playlist of this hack's custom music, copy and paste this link in your web browser: https://www.youtube.com/playlist?list=PLG7CznUsg7leWtVHwQG6iKmuLltaaJJ27

Super Mario Infinity - Main Theme by Reading
Super Mario 64 - File Select by S.N.N.
Super Mario RPG - Forest Maze by ???
Super Mario 64 - Wing Cap by S.N.N.
Super Mario Land - Chai Kingdom by S.N.N.
Super Mario Bros. 3 - Athletic by J.J.
Knuckles' Chaotix - Seascape ~ Marina Madness by S.N.N.
Mother 3 - Monkey's Love Song by Supertails
(CUSTOM) Easy Waters by gpetry
Super Mario Bros. 1+3 - Underground/Cave Theme by ??? (spigmike or Delmaru)
Rudra no Hihou - Underwater City by FPI
Pikmin - The Forest Naval by Supertails
Sonic CD - Wacky Workbench by Scratch799 (Coffee Man)
Super Mario Bros. 3 - Airship by mario90
(CUSTOM) Temporal Ruins by Reading
Sonic the Hedgehog 2 - Aquatic Ruins Zone by Opposable
Super Mario Land - Easton Kingdom by S.N.N.
Yoshi's Story - Love Is In The Air by Scratch799 (Coffee Man)
Super Mario Bros. 3 - World 9 by ??? (S.N.N. or Delmaru)
Super Mario Galaxy - Gusty Garden Galaxy by Scratch799 (Coffee Man)
Sonic Advance - Ice Mountain Zone (Act 1) by S.N.N.
Super Mario RPG - Barrel Volcano by Counterfeit/Kyoseron
Super Mario Bros. 3 - Pipe Land/World 7 by S.N.N.
Mario & Luigi: Superstar Saga - Oho Oasis by Opposable
Yoshi's Island - Tutorial Stage by S.N.N.
(CUSTOM) Bowser's Doom Way by MidiGuy
(CUSTOM) Bossin' Me Around by spigmike
Super Mario Bros. 2 - Final Battle (Wart) by S.N.N.
Sonic the Hedgehog 2 - Hidden Palace Zone by S.N.N.
(CUSTOM) Cave of Doom by gpetry (x2 modified versions)
Super Mario Bros. 3 - Bonus Room/King's Chamber by Ellipsis