diff --git a/README.md b/README.md index e332489..ffaeefb 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ Welcome to the official repository for the Super Mario Odyssey Online mod! Have Before installing, Ensure that your switch is hacked. If not, follow [This Guide](https://switch.homebrew.guide/) to get your switch setup for modding. Make sure you set up a way to block Nintendo's servers as you will need to have your switch connected to the internet for this mod to work! -1. Download the latest mod build from either [Gamebanana](https://gamebanana.com/games/6376) or from the [Releases](https://github.com/CraftyBoss/SuperMarioOdysseyOnline/releases) tab. (Alternatively, build from source) +1. Download the latest mod build from either [Gamebanana](https://gamebanana.com/mods/384214) or from the [Releases](https://github.com/CraftyBoss/SuperMarioOdysseyOnline/releases) tab. (Alternatively, build from source) 2. Extract the downloaded zip onto the root of your Switch's SD card. 3. If you need to host an online server, head over to the [Super Mario Odyssey Online Server](https://github.com/Sanae6/SmoOnlineServer) repository and follow the instructions there to set up the server. 4. Launch the game! Upon first time bootup, the mod should ask for a server IP to save to the games common save file. This IP address will be the server you wish to connect to every time you launch the game with the mod installed. (Note: un-installing the mod and launching the game will remove the server IP from the common save file.) diff --git a/patches/codehook.slpatch b/patches/codehook.slpatch index b5af442..0a67d8c 100644 --- a/patches/codehook.slpatch +++ b/patches/codehook.slpatch @@ -84,14 +84,6 @@ B59E28 B seadPrintHook // sead::system::print NOP NOP -// Costume Setup -54C498: // rs::isHaveCloth - MOV W0, #1 - RET -54C4A4: // rs::isHaveCap - MOV W0, #1 - RET - // Coin Counter Changes 20CA78 BL startCounterHook // starts coin counter if a gamemode is not active diff --git a/source/hooks.cpp b/source/hooks.cpp index 83636b5..acfbb3f 100644 --- a/source/hooks.cpp +++ b/source/hooks.cpp @@ -29,7 +29,11 @@ #include "server/HideAndSeekMode.hpp" bool comboBtnHook(int port) { - return !al::isPadHoldL(port) && al::isPadTriggerDown(port); + if (Client::isModeActive()) { // only switch to combo if any gamemode is active + return !al::isPadHoldL(port) && al::isPadTriggerDown(port); + } else { + return al::isPadTriggerDown(port); + } } void saveWriteHook(al::ByamlWriter* saveByml) {