mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-04-25 03:41:49 +00:00
Fix Windmill Isle Act 1 (Night) chip 'hint' not being shown
This commit is contained in:
parent
0b16633ee1
commit
7e6511db77
2 changed files with 18 additions and 6 deletions
|
|
@ -108,3 +108,21 @@ PPC_FUNC(sub_82586698)
|
|||
|
||||
__imp__sub_82586698(ctx, base);
|
||||
}
|
||||
|
||||
// Disable only certain hints coming from invisible hints
|
||||
PPC_FUNC_IMPL(__imp__sub_82736E80);
|
||||
PPC_FUNC(sub_82736E80)
|
||||
{
|
||||
// GroupID parameter text
|
||||
auto* groupId = (const char*)g_memory.Translate(PPC_LOAD_U32(ctx.r3.u32 + 256));
|
||||
|
||||
// WhiteIsland_ACT1_001 (Windmill Isle Act 1 Night, Start)
|
||||
// Your friend went off that way, Sonic.
|
||||
// Quick, let's go after him!
|
||||
if (!Config::Hints && strcmp(groupId, "WhiteIsland_ACT1_001"))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
__imp__sub_82736E80(ctx, base);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -106,12 +106,6 @@ jump_address = 0x82468EE0
|
|||
name = "ResetScoreOnRestartMidAsmHook"
|
||||
address = 0x82304374
|
||||
|
||||
# Disable hint volumes
|
||||
[[midasm_hook]]
|
||||
name = "DisableHintsMidAsmHook"
|
||||
address = 0x827A2504
|
||||
jump_address_on_true = 0x827A251C
|
||||
|
||||
# Disable hint rings
|
||||
[[midasm_hook]]
|
||||
name = "DisableHintsMidAsmHook"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue