meekrhino / digimon_world_randomizer

Digimon World 1 (PS1) data randomizer. Create a unique, brand new experience for the classic game.
35 stars 5 forks source link

Seadramon tech gifts work inconsistently #18

Closed meekrhino closed 6 years ago

meekrhino commented 6 years ago

Example:

Changed tech gift from Aqua Magic to Water Blit Changed tech gift from Winter Blast to Odor Spray Changed tech gift from Giga Freeze to Water Blit

In this ROM, fishing up Seadramon once correctly taught Water Blit. However, the second time Seadramon was caught he claimed to have already taught all the moves. Odor Spray was not learned. Water Blit wasn't equipable by the current digimon, so it isn't related to whether the move can be used.

Also, the same move should not be chosen twice.

meekrhino commented 6 years ago

This was caused by flawed writes. The code was setting the checked move to the 3rd tech gift for all three. It needs to check the 1st tech gift for the 1st teach, 2nd for 2nd, and 3rd for 3rd. Instead it was checking the 3rd for all them, meaning you could only learn a move if you had not learned the 3rd move. Moreove, even when you didn't know the 3rd move you could only ever learn the 1st move.