Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions MarathonRecomp/patches/player_patches.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -160,3 +160,8 @@ PPC_FUNC(sub_82195500)

__imp__sub_82195500(ctx, base);
}

bool ControllableTeleportDash()
{
return Config::ControllableTeleportDash;
}
1 change: 1 addition & 0 deletions MarathonRecomp/user/config_def.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,5 +87,6 @@ CONFIG_DEFINE_HIDDEN("Codes", bool, TailsGauge, false);
CONFIG_DEFINE_HIDDEN("Codes", bool, PlayerDebugMode, false);
CONFIG_DEFINE_HIDDEN("Codes", bool, MidairControlForMachSpeed, false);
CONFIG_DEFINE_HIDDEN("Codes", bool, MidairControlForSnowboards, false);
CONFIG_DEFINE_HIDDEN("Codes", bool, ControllableTeleportDash, false);

CONFIG_DEFINE("Update", time_t, LastChecked, 0);
5 changes: 5 additions & 0 deletions MarathonRecompLib/config/Marathon.toml
Original file line number Diff line number Diff line change
Expand Up @@ -252,3 +252,8 @@ name = "TitleTask_RedirectStateTransitionToOutroAnim"
address = 0x82512C90
registers = ["r31"]
jump_address_on_true = 0x82512C9C

[[midasm_hook]]
name = "ControllableTeleportDash"
address = 0x8221C49C
jump_address_on_true = 0x8221C4A0
Loading