pixeltris/Lotd

Link Evolution Rewards

roguesleipnir opened this issue · 1 comments

Do you have an idea how to fix the rewards for link evolution?
If you could point me at the right direction I could try to fork and update it.
Thanks!

I have no clue to be honest. In the original game it used the Challenge duel type to enforce rewards. I guess that doesn't work anymore. So time would have to be spent reverse engineering what sets up a duel to get rewards.

I assume there's an address near here which can be used to set it. All of the various settings for starting a duel are around here.

modeMatchDuelAddress = (IntPtr)0x140C8D35C;

You'd either want to start trying writing different values around here, or reverse engineer the game exe. This code writes the duel settings values.

WriteValue<int>(addresses.modeTurnTimeLimitEnabledAddress, duelInfo.TurnTimeLimitEnabled ? 1 : 0);