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 @@ -178,3 +178,8 @@ bool ControllableBoundAttack2(PPCCRRegister& cmp)

return cmp.eq;
}

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

CONFIG_DEFINE("Update", time_t, LastChecked, 0);
10 changes: 10 additions & 0 deletions MarathonRecompLib/config/Marathon.toml
Original file line number Diff line number Diff line change
Expand Up @@ -279,3 +279,13 @@ address = 0x82217DC8
registers = ["cr6"]
jump_address_on_true = 0x82217DD8
jump_address_on_false = 0x82217DCC

[[midasm_hook]]
name = "ControllableSpinkick"
address = 0x821A2984
jump_address_on_true = 0x821A2988

[[midasm_hook]]
name = "ControllableSpinkick"
address = 0x821A7A04
jump_address_on_true = 0x821A7A08
Loading