[HW] Fix character swap pack

Fixes https://github.com/slashiee/cemu_graphic_packs/issues/330
This commit is contained in:
Crementif 2019-05-29 17:49:16 +02:00
parent 439f4fbad8
commit b7655cd927
2 changed files with 44 additions and 34 deletions

View File

@ -1,5 +1,14 @@
[HWPlayAsCuccov208]
[HWCharacterSwapV208]
moduleMatches = 0xE159AE91
0x020EBF10 = li r11, $character;
0x020EBF10 = li r11, $character;
codeCaveSize = 0x010
_characterValue = 0x00000000
0x00000000 = .int $character
_loadCharacterValue = 0x00000004
0x00000004 = lis r11, _characterValue@ha
0x00000008 = lwz r11, _characterValue@l(r11)
0x0000000C = blr
0x020EBF10 = bla _loadCharacterValue

View File

@ -1,8 +1,8 @@
[Definition]
titleIds = 000500001017D800,000500001017D900,000500001017CD00
name = Character Swap
path = "Hyrule Warriors/Mods/Character Swap"
description = Swaps the character you're playing as to the one you've selected with the presets.
path = "Hyrule Warriors/Mods/Character Swap (in adventure mode)"
description = Allows you to use a character that isn't selectable from the character selection screen normally in adventure mode.
version = 3
[Preset]
@ -98,7 +98,8 @@ name = Tetra
$character:int = 53
[Preset]
name = King Daphnes 54
name = King Daphnes
$character:int = 54
[Preset]
name = Medli