Skip to content

Commit 06dfaee

Browse files
committed
RestoreChaosSpearFlips
Signed-off-by: Isaac Marovitz <isaacryu@icloud.com>
1 parent 8ddf560 commit 06dfaee

3 files changed

Lines changed: 11 additions & 0 deletions

File tree

MarathonRecomp/patches/player_patches.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,3 +183,8 @@ bool ControllableSpinkick()
183183
{
184184
return Config::ControllableSpinkick;
185185
}
186+
187+
bool RestoreChaosSpearFlips()
188+
{
189+
return Config::RestoreChaosSpearFlips;
190+
}

MarathonRecomp/user/config_def.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ CONFIG_DEFINE_HIDDEN("Codes", bool, FixPowerUpJingleDuration, false);
8383
CONFIG_DEFINE_HIDDEN("Codes", bool, UseOfficialTitleOnTitleBar, false);
8484
CONFIG_DEFINE_HIDDEN("Codes", bool, DisableLowResolutionFontOnCustomUI, false);
8585
CONFIG_DEFINE_HIDDEN("Codes", bool, RestoreContextualHUDColours, false);
86+
CONFIG_DEFINE_HIDDEN("Codes", bool, RestoreChaosSpearFlips, false);
8687
CONFIG_DEFINE_HIDDEN("Codes", bool, DisableEdgeGrabLeftover, false);
8788
CONFIG_DEFINE_HIDDEN("Codes", bool, TailsGauge, false);
8889
CONFIG_DEFINE_HIDDEN("Codes", bool, PlayerDebugMode, false);

MarathonRecompLib/config/Marathon.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,3 +337,8 @@ jump_address = 0x8258E308
337337
name = "NOP"
338338
address = 0x8258E600
339339
jump_address = 0x8258E604
340+
341+
[[midasm_hook]]
342+
name = "RestoreChaosSpearFlips"
343+
address = 0x821A6730
344+
jump_address_on_true = 0x821A6734

0 commit comments

Comments
 (0)