Compare commits

...

2 Commits

Author SHA1 Message Date
Clash cf829a9eca Update username in credits (#1770) 2026-06-29 14:05:43 +03:00
Hyper 5e8695a157 Fix Werehog rotating into walls when leaving them at HFR (#1570) 2026-02-01 14:09:38 +03:00
4 changed files with 22 additions and 2 deletions
+1 -1
View File
@@ -460,7 +460,7 @@ The team behind Unleashed Recompiled does not currently have any plans to port m
- [Goalringmod27](https://linktr.ee/goalringmod27): Concept Artist behind the achievements overlay shown during gameplay. Aided in the creation of the Transparency Anti-Aliasing thumbnail.
- [M&M](https://github.com/ActualMandM): Provisional support for dynamic UI aspect ratio.
- [RagdollClash](https://github.com/RagdollClash): Provisional support for dynamic UI aspect ratio.
- [DaGuAr](https://twitter.com/TheDaguar): Provided Spanish localization for the custom menus alongside Darío.
+8
View File
@@ -195,3 +195,11 @@ bool SparkleLocusMidAsmHook()
// This has the side effect of the locus particle eventually snapping to the rest position during pause, but it's better than vertices exploding.
return App::s_deltaTime < (1.0 / 60.0);
}
void CEvilSonicContext_CStateWall_LeaveRotationMidAsmHook(PPCRegister& f1)
{
// The code in the Werehog's "wall" state for leaving walls adds a constant
// value of 0.05 to his transform every frame. This makes the value respect
// delta time whilst maintaining the original behaviour at 30 FPS.
f1.f64 = f1.f64 * (std::min(App::s_deltaTime, 1.0 / 15.0) / (1.0 / 30.0));
}
+1 -1
View File
@@ -15,7 +15,7 @@ inline std::array<const char*, 17> g_credits =
"LJSTAR",
"saguinee",
"Goalringmod27",
"M&M",
"RagdollClash",
"DaGuAr",
"brianuuuSonic",
"Kitzuku"
+12
View File
@@ -1141,3 +1141,15 @@ registers = ["r3"]
name = "EndingTextPositionMidAsmHook"
address = 0x82580168
registers = ["r31", "f13"]
# Wall Leave - Left
[[midasm_hook]]
name = "CEvilSonicContext_CStateWall_LeaveRotationMidAsmHook"
address = 0x824067BC
registers = ["f1"]
# Wall Leave - Right
[[midasm_hook]]
name = "CEvilSonicContext_CStateWall_LeaveRotationMidAsmHook"
address = 0x82406774
registers = ["f1"]