gameboy9 / DW4RandoHacker

Dragon Warrior 4 RandoHacker
GNU General Public License v3.0
18 stars 5 forks source link

Randomize Hero Stats Gives You 0 In Each Stat #5

Closed Zombietraine closed 8 years ago

Zombietraine commented 8 years ago

It appears that whenever you choose the "Randomize Hero Stats" option, the character (at least in Chapter 1) is given all 0s. This happens regardless of the "level" selected (Light, Silly, etc...).

gameboy9 commented 8 years ago

That's interesting... can you give me a seed number and all of the options you selected, please? (I'm going to implement flags a la Zelda Randomizer and DW1/DW2 Randomizer next...)

Zombietraine commented 8 years ago

No problem (should have included that in the beginning :P)

Seed - 1199692821

Options:

Random Chapter 1-4 Heroes Random Chapter 5 Hero Aquizition Random Monster Zones Random Monster Stats - Light Random Treasures Random Stores Random Hero Stats - Light Random XP Gain Random Gold Gain Speed Up Battles

Ended up with Brey in Chapter 1, I've attached a screenshot as well.

breystats

gameboy9 commented 8 years ago

This is going to be hard to explain, but I'm going to try. With each character, there is a base multiplier, four series of stat multipliers(each character's stat gets assigned to one of them), and five numbers that correspond to the number of levels that you are going to be on that multiplier. When I randomized stats, I simply entered the number of levels needed to move on to the next multiplier.

Thing is... I never realized that if you add 128 to the levels in the ROM, it adds points to your base level 1 stat! Therefore, every single character started with 0 statistic! So thanks to this bug report, the base level 1 stat is now randomized, depending on the randomization level you use! (Light = no randomization, silly and ridiculous = some randomization based on the vanilla stat, and ludicrous = completely randomized from 0-31)

Anyway, nice one Zombietraine! I'm going to close this one; a new release will be out shortly.