diff --git a/src/SkylandersImaginators/Mods/FPS/patch_FixFallRespawn.asm b/src/SkylandersImaginators/Mods/FPS/patch_FixFallRespawn.asm new file mode 100644 index 00000000..88d13e8d --- /dev/null +++ b/src/SkylandersImaginators/Mods/FPS/patch_FixFallRespawn.asm @@ -0,0 +1,21 @@ +[SI_FixInfiniteFall] +moduleMatches = 0xc683642e, 0x39e9ebc6 ; 1.0.0, 1.1.0 +.origin = codecave + +const_stuckFallingDistanceThreshold: +.float 20*30/$targetFPS + +_getStuckFallingDistanceThreshold: + lis r3, const_stuckFallingDistanceThreshold@ha + lfs f13, const_stuckFallingDistanceThreshold@l(r3) +blr + +[SI_FixInfiniteFall_V1] +moduleMatches = 0xc683642e ; 1.0.0 + +0x022c434c = bla _getStuckFallingDistanceThreshold + +[SI_FixInfiniteFall_V16] +moduleMatches = 0x39e9ebc6 ; 1.1.0 + +0x022c4eb0 = bla _getStuckFallingDistanceThreshold diff --git a/src/SkylandersImaginators/Mods/FPS/rules.txt b/src/SkylandersImaginators/Mods/FPS/rules.txt index dfa4decb..48fd89f8 100644 --- a/src/SkylandersImaginators/Mods/FPS/rules.txt +++ b/src/SkylandersImaginators/Mods/FPS/rules.txt @@ -2,7 +2,7 @@ titleIds = 00050000101F4D00,00050000101FB100 name = FPS path = "Skylanders Imaginators/Mods/FPS" -description = Changes the game's dynamic FPS target. Might have bugs, especially when going above 120 FPS.||Made by Mew00. +description = Changes the game's dynamic FPS target.||Needs to be disabled during certain sections, as it makes them impossible to complete:|- Sky Fortress: wrecking ball minigame (enemies are barely pushed)|- Golden Arcade: target shooting minigame (projectiles despawn before being able to reach some targets)|- Enchanted Elven Forest: water cannon near end of level (the splash is unable to put out the most distant fire)||Other minor issues:|- General: jump height is a little shorter, making some vertical jumps inconsistent|-Selfie mode: camera controls are too fast|- Cradle of Creation: hamster wheel rotates too fast||Made by Mew00. Fall respawn fix by SuperSamus and Winner Nombre. version = 6 [Default]