Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TLOZ] Fix bug with item drops in non-expanded item pool #2623

Merged
merged 129 commits into from
Dec 28, 2023

Conversation

Rosalie-A
Copy link
Contributor

Please format your title with what portion of the project this pull request is
targeting and what it's changing.

ex. "MyGame4: implement new game" or "Docs: add new guide for customizing MyGame3"

What is this fixing or adding?

There was a bug in non-expanded item pool where due to the base patch changes to accommodate more items in dungeons, some items were transformed into glitch items that removed bombs (this also happened in expanded item pool, but the item placement would overwrite the results of this bug so it didn't appear as frequently). Being a Zelda game, losing bombs is bad. This PR fixes the base patch process to avoid this bug, by properly carrying the value of a variable through a procedure.

How was this tested?

Ran a couple of generations, checked the rom data for that location and saw that the byte for the item was getting changed properly, which was not the case beforehand.

If this makes graphical changes, please attach screenshots.

None

Rosalie-A and others added 30 commits September 16, 2022 18:38
Making it no longer possible to strand items in a take any cave permanently in edge cases
remove read_rom as it no longer exists.
turns out I need to actually update that line with the new util function instead of just ripping out the one that doesn't exist anymore. using something labeled to be used for snes on a nes rom feels weird but if it works, it works.
Rosalie-A and others added 25 commits February 24, 2023 09:10
Fixing an extra paranthesis
Off by one error with sixteen character names.
@t3hf1gm3nt t3hf1gm3nt added the is: bug/fix Issues that are reporting bugs or pull requests that are fixing bugs. label Dec 24, 2023
Copy link
Collaborator

@t3hf1gm3nt t3hf1gm3nt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ran a test gen and checked the problem locations in game. They are now the correct vanilla items instead of the "phantom bomb" we were getting
Also picked up a few other items along the way, both rando'd and non-rando'd. all items seemed to be what they were supposed to be.

@Berserker66 Berserker66 merged commit 70eb2b5 into ArchipelagoMW:main Dec 28, 2023
12 checks passed
Jouramie pushed a commit to Jouramie/Archipelago that referenced this pull request Feb 28, 2024
…MW#2623)

There was a bug in non-expanded item pool where due to the base patch changes to accommodate more items in dungeons, some items were transformed into glitch items that removed bombs (this also happened in expanded item pool, but the item placement would overwrite the results of this bug so it didn't appear as frequently). Being a Zelda game, losing bombs is bad. This PR fixes the base patch process to avoid this bug, by properly carrying the value of a variable through a procedure.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
is: bug/fix Issues that are reporting bugs or pull requests that are fixing bugs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants