[BotW] Add damage to master mode options pack

This commit is contained in:
Torphedo 2021-10-31 12:02:47 -04:00 committed by GitHub
parent 881c787900
commit ee2cb8c707
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 4 deletions

View File

@ -1,4 +1,4 @@
[BotwMasterModeTweaksV208] [BotwMasterModeOptionsV208]
moduleMatches = 0x6267BFD0 moduleMatches = 0x6267BFD0
# Constants # Constants
@ -16,3 +16,8 @@ merge0xd0 = $bit4 + $bit6 + $bit7
0x031696B8 = ori r9, r0, merge0x129 0x031696B8 = ori r9, r0, merge0x129
0x031696C4 = ori r0, r9, merge0xd0 0x031696C4 = ori r0, r9, merge0xd0
0x02AF94FC = .int ((($mmdamage == 0) * 0x4182000C) + (($mmdamage == 1) * 0x48000005))
;This last patch is a clever hack from Crementif. Essentially, it sends the instruction in hex rather than in regular text form.
;
;When $mmdamage is 0, it sends 0x02AF94FC = beq 0x02AF9508 (the vanilla instruction).
;When $mmdamage is 1, it sends 0x02AF94FC = bl 0x02AF9500.

View File

@ -1,8 +1,8 @@
[Definition] [Definition]
titleIds = 00050000101C9300,00050000101C9400,00050000101C9500 titleIds = 00050000101C9300,00050000101C9400,00050000101C9500
name = "Master Mode Tweaks" name = "Master Mode Options"
path = "The Legend of Zelda: Breath of the Wild/Cheats/Master Mode Tweaks" path = "The Legend of Zelda: Breath of the Wild/Cheats/Master Mode Options"
description = Allows you to pick and choose which of Nintendo's tweaks are applied to Master Mode (Does nothing in Normal Mode). A reboot is required to apply changes made while the game is running. ||By Torphedo and Fleevoid, with lots of help from Exzap and leoetlino. description = Allows you to pick and choose which of Nintendo's changes are applied to Master Mode (Does nothing in Normal Mode). A reboot is required to apply changes made while the game is running. ||By Torphedo and Fleevoid, with lots of help from Exzap and leoetlino.
version = 7 version = 7
[Default] [Default]