Hack: Luigi's Adventure OSE
Created by: Anikiti
Release Date: 2003, 2009
Exits: 87
Fixed by: SimFan96

This is the fixed version of Luigi's Adventure OSE by Anikiti. This version fixes the latest released version of the hack including broken music and other issues.

I have provided two different versions of the hack, one with the console compatibility fixes only applied, and one with extra fixes and playability enhancements included. Do NOT patch the playability enhancements to the Luigi's Adventure OSE compatibility fix only ROM, and apply it to an unmodified Super Mario World ROM.

Fixes provided:
* Fixed broken music included in the game originally which would crash on console and accurate emulators.
* Fixed inaccurate multiplication/division code for accurate emulators.
* Fixed sprite initilization issues caused by older versions of Romi's SpriteTool.

Playability Fixes:
* Applied FastROM patch to reduce slowdown.
* Fixed some ledges so they can now correctly interact with slopes as intended.
* Crash fixed involving autoscrollers in the game (L+R scrolling into the screen-scrolling sprite and collecting a feather above the screen while autoscrolling softlocks)
* ANIMHURT (ex-animated hurt tile) blocks are fixed so they won't randomly insta-kill Luigi when big.
* Luigi can no longer clip into a wall and instantly die from note blocks that are placed by a wall.

Update 5/19/2021
* A glitch that involves the level ender sprite not being activated due to an uncollected item reserve box item Mushroom or Fire Flower has been fixed.

Update 5/20/2021
* Fixed a crash that would occur with the level ender fix.

Notes:
* Music was reinserted using AddMusicK 1.0.8.
* SFX Echo re-added to levels using UberASM patch.

Known Issues:
* In World 5 (Fennel Forest), Fennel Forest 6 can be accessed through the path below the pipe enterance. Due to how Overworld pipe tiles are programmed, this unfortunately (or fortunately for speedrunners) cannot be fixed.

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:
* Anikiti for creating the Luigi's Adventure series.
* aterraformer for testing this fix.

Music:
* Super Mario Bros. 3 - Title Screen by midiguy
* Super Mario Bros. 3 - Sky World by midiguy
* New Super Mario Bros. - Walking the Plains by Jimmy/Jimmy52905
* Super Mario Bros. 1&3 - Underground by midiguy
* Super Mario Bros. 3 - Athletic by J.J.
* Yoshi's Island - Castle Theme by Jimmy/Jimmy52905
* Mega Man 2 - Boss Battle by Jimmy/Jimmy52905
* Mighty Final Fight - Riverside (Round 2) by Anikiti
* Super Mario Bros. 2 - Underground by midiguy
* Super Mario Bros. 1 - Overworld by midiguy
* Cave Story - On To Grasstown by S.N.N.
* Super Mario Bros. 3 - Giant World by midiguy
* Super Mario Bros. 1 - Castle by midiguy
* Kirby: Nightmare in Dreamland - Orange Ocean by S.N.N.
* Mario's Time Machine - London Plumber by Minitendo
* Super Mario Bros. 3 - Fortress by Midiguy
* Yoshi's Island - Final Map (World 6) by Jimmy/Jimmy52905
* Castlevania II - Cloud Castle by spigmike
* The Legend of Zelda 2 - Thunderbird Palace
* Hana No Keiji - Dangerous Forests by Ice Man
* Castlevania Chronicles - Tower of Dolls by Anikiti
* Touhou 7 - Doll Maker of Busuresti by Counterfiet/Kyoseron (glitched version)
* Mega Man 7 - Intro Stage by Buster Beetle
* Mystery Deeps by midiguy
* Mega Man 5 - Napalm Man by Anikiti
* Mega Man 2 - Metal Man by Jimmy/Jimmy52905
* Cave Story - Moonsong by S.N.N. (glitched version)
* Castlevania II - Dwelling of Doom by Anikiti
* Mega Man 3 - Snake Man by Jimmy/Jimmy52905
* Super Mario Bros. 3 - Ice World by midiguy
* Snowy Wonderland by Jimmy/Jimmy52905
* Yoshi's Island - Athletic/Hop! Hop! Donut Lifts by Jimmy/Jimmy52905
* Mega Man and Bass - Cold Man by Anikiti
* Super Mario Bros. 3 - Underwater by midiguy
* Moonlit Adventure by Spade
* Mega Man 2 - Heat Man by Jimmy/Jimmy52905
* Mega Man X2 - Bubble Crab by Anikiti
* Yoshi's Island - Cave by Jimmy/Jimmy52905 and S.N.N.
* Luigi's Mansion - Main Theme by Supertails
* Touhou 6 - Apparitions Stalk the Night (Rumia) by Anikiti
* Super Mario Bros. 3 - Dark World by midiguy
* Haunted Castle - Cross Your Heart by Anikiti
* Final Fantasy VI - The Decisive Battle by oL7G5poF4c (no ADSR version)
* Final Fantasy V - Battle with Gilgamesh/Clash of the Big Bridge by Anikiti
* Mega Man 2 - Dr. Wily's Castle by homing
* Castlevania II - Bloody Tears by Anikiti
* Super Mario Bros. 3 - Airship by midiguy
* Mega Man 3 (GB) - Wily Marine Fortress by Anikiti
* Touhou 5 - The Last Judgement by Anikiti
* Castlevania III - Aquarius by Anikiti
* Castlevania: Aria of Sorrow - Castle Corridor by Holy Order Sol
* Haunted Castle - Don't Wait Until Night by Anikiti

For a listenable playlist of the music in this hack, go here: 
https://www.youtube.com/playlist?list=PLG7CznUsg7ldsxI2PlDZ6A3oYhGs8GS8A

Patches Used:
* Spritetool Fix by Super Maks 64

Playability Fix Patches:
* ASAR FastROM patch by Ersanio, adapted for Asar by This Eye O' Mine
* Autoscroll ($1411) + L/R Softlock Fix by Telnic
* Feather Autoscroll Freeze Fix by Romi
* Walljump/Note Block Glitch Fix by lolcats439