Skip to content

Commit 1a7bf60

Browse files
committed
ControllableSpinkick
Signed-off-by: Isaac Marovitz <isaacryu@icloud.com>
1 parent ef1be67 commit 1a7bf60

3 files changed

Lines changed: 16 additions & 0 deletions

File tree

MarathonRecomp/patches/player_patches.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,3 +178,8 @@ bool ControllableBoundAttack2(PPCCRRegister& cmp)
178178

179179
return cmp.eq;
180180
}
181+
182+
bool ControllableSpinkick()
183+
{
184+
return Config::ControllableSpinkick;
185+
}

MarathonRecomp/user/config_def.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,5 +90,6 @@ CONFIG_DEFINE_HIDDEN("Codes", bool, MidairControlForMachSpeed, false);
9090
CONFIG_DEFINE_HIDDEN("Codes", bool, MidairControlForSnowboards, false);
9191
CONFIG_DEFINE_HIDDEN("Codes", bool, ControllableTeleportDash, false);
9292
CONFIG_DEFINE_HIDDEN("Codes", bool, ControllableBoundAttack, false);
93+
CONFIG_DEFINE_HIDDEN("Codes", bool, ControllableSpinkick, false);
9394

9495
CONFIG_DEFINE("Update", time_t, LastChecked, 0);

MarathonRecompLib/config/Marathon.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,3 +279,13 @@ address = 0x82217DC8
279279
registers = ["cr6"]
280280
jump_address_on_true = 0x82217DD8
281281
jump_address_on_false = 0x82217DCC
282+
283+
[[midasm_hook]]
284+
name = "ControllableSpinkick"
285+
address = 0x821A2984
286+
jump_address_on_true = 0x821A2988
287+
288+
[[midasm_hook]]
289+
name = "ControllableSpinkick"
290+
address = 0x821A7A04
291+
jump_address_on_true = 0x821A7A08

0 commit comments

Comments
 (0)