Moving donkey kong folder

This commit is contained in:
intra0 2024-11-16 12:20:15 -06:00 committed by GitHub
parent ca6393b919
commit a7b26bdefd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 164 additions and 0 deletions

View File

@ -0,0 +1,25 @@
[DKCTF_MultBanana]
moduleMatches = 0xA37C99E1, 0x4FF15DD2 ; (EU/NA/JP)v16, (EU/NA/JP)v2
.origin = codecave
_addBananaMultCheat:
cmpwi r29, 15
bne _addBananaMultCheatExit
;add extra banana amount
lwz r4, 0x4 (r27)
addi r4, r4, $addamountbna-1
stw r4, 0x4 (r27)
_addBananaMultCheatExit:
;restore line we overwrote
or r4, r29, r29
blr
[DKCTF_MultBanana_v16]
moduleMatches = 0xA37C99E1 ; (EU/NA/JP)v16
0x020A5974 = bla _addBananaMultCheat
[DKCTF_MultBanana_v2]
moduleMatches = 0x4FF15DD2 ; (EU/NA/JP)v2
0x020A5908 = bla _addBananaMultCheat

View File

@ -0,0 +1,30 @@
[Definition]
titleIds = 0005000010137F00,0005000010138300,0005000010144800
name = Banana Multiplier
path = "Donkey Kong Country: Tropical Freeze/Cheats/Banana Multiplier"
description = Multiplies the ammount of Banana's you collect.
#Credits: Intra
version = 7
[Default]
$addamountbna = 1
[Preset]
name = x2
$addamountbna = 2
[Preset]
name = x3
$addamountbna = 3
[Preset]
name = x4
$addamountbna = 4
[Preset]
name = x5
$addamountbna = 5
[Preset]
name = x100
$addamountbna = 100

View File

@ -0,0 +1,22 @@
[DKCTF_MultCoins]
moduleMatches = 0xA37C99E1, 0x4FF15DD2 ; (EU/NA/JP)v16, (EU/NA/JP)v2
.origin = codecave
_addCoinsMultCheat:
or r5, r30, r30
cmpwi r29, 1
bne _addCoinsMultCheatExit
;add extra coin amount
addi r5, r30, $addamountcn-1
_addCoinsMultCheatExit:
blr
[DKCTF_MultCoins_v16]
moduleMatches = 0xA37C99E1 ; (EU/NA/JP)v16
0x020A5970 = bla _addCoinsMultCheat
[DKCTF_MultCoins_v2]
moduleMatches = 0x4FF15DD2 ; (EU/NA/JP)v2
0x020A5904 = bla _addCoinsMultCheat

View File

@ -0,0 +1,34 @@
[Definition]
titleIds = 0005000010137F00,0005000010138300,0005000010144800
name = Banana Coin Multiplier
path = "Donkey Kong Country: Tropical Freeze/Cheats/Coin Multiplier"
description = Multiplies the ammount of Banana Coins you collect.
#Credits: Intra
version = 7
[Default]
$addamountcn = 1
[Preset]
name = x2
$addamountcn = 2
[Preset]
name = x3
$addamountcn = 3
[Preset]
name = x4
$addamountcn = 4
[Preset]
name = x5
$addamountcn = 5
[Preset]
name = x10
$addamountcn = 10
[Preset]
name = x999
$addamountcn = 999

View File

@ -0,0 +1,23 @@
[DKCTF_MultLives]
moduleMatches = 0xA37C99E1, 0x4FF15DD2 ; (EU/NA/JP)v16, (EU/NA/JP)v2
.origin = codecave
_addLivesMultCheat:
cmpwi r29, 8
bne _addLivesMultCheatExit
;add extra lives amount
addi r5, r30, $addamountliv-1
_addLivesMultCheatExit:
;restore line we overwrote
or r3, r27, r27
blr
[DKCTF_MultLives_NAv16]
moduleMatches = 0xA37C99E1 ; (EU/NA/JP)v16
0x020A5978 = bla _addLivesMultCheat
[DKCTF_MultLives_NAv2]
moduleMatches = 0x4FF15DD2 ; (EU/NA/JP)v2
0x020A590C = bla _addLivesMultCheat

View File

@ -0,0 +1,30 @@
[Definition]
titleIds = 0005000010137F00,0005000010138300,0005000010144800
name = Lives Multiplier
path = "Donkey Kong Country: Tropical Freeze/Cheats/Lives Multiplier"
description = Multiplies the ammount of red 1-UP Ballons you collect.
#Credits: Intra
version = 7
[Default]
$addamountliv = 1
[Preset]
name = x2
$addamountliv = 2
[Preset]
name = x3
$addamountliv = 3
[Preset]
name = x4
$addamountliv = 4
[Preset]
name = x5
$addamountliv = 5
[Preset]
name = x99
$addamountliv = 99