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

Randomizer v1.2 #34

Merged
merged 77 commits into from
Aug 2, 2024
Merged

Randomizer v1.2 #34

merged 77 commits into from
Aug 2, 2024

Conversation

lunarsoap5
Copy link
Contributor

No description provided.

lunarsoap5 and others added 30 commits September 10, 2023 21:51
Updating to contain current ER work.
- Updated version to 1.2
- Updated skipper code to be more optimized
- Added ER code just as a framework.
- Added fourth mirror shard item
- Added function definitions for shop functions
- Added function definitions for custom signs
- Created a framework to give items to the player when they are not doing anything.
- Applied a patch to the master sword actor that adds two checks to the game.
- Added code that gives the player a check when they have defeated Stallord
- Updated various code to reflect fleshed out libtp definitions
- modified it so save warping in N Faron spawns you in central area.
Pushing current 1.2 changes to zsrtp repo
This is to prevent game crashes if a seed is not loaded.
- Changed the custom event item process to be a queue based system instead of a true/false. The old system assumed that the next event is always a get-item event, which is not always true.
- removed the calls to verifyProgressiveItem before adding an item to the event queue because when giving an item, the event system calls createItemForPresentDemo, which also calls verifyProgressiveItem.
lunarsoap5 and others added 26 commits May 27, 2024 23:47
The flag is now set when 20 poe souls have actually been collected, via the _00_handle_poeItem function.
This causes defeated Poes (excluding Arbiter Poes) to immediately despawn, and the item they would give is added to the queue to give to the player when they are free.

Also adjusted _00_handle_poeItem to not increment the Poe count if it is already at 60 or greater.

Also increased the amount of bytes used for queued items to 8.
Fix being able to lose Poe items
This is necessary because the player potentially could have died after initializing getting an item (which would set giveItemToPlayer to ITEM_IN_QUEUE), and then chosen to return to the title screen.
Reset giveItemToPlayer upon starting/loading a file
Adjust killing poes to skip the backflip and trigger the item get imm…
This is because the reserved bytes that the queue uses to store the items to give are not cleared upon starting a new file, which means that the player could soft reset during the process of being given item(s), and then start a new file to be given those items on that new file.

Also moved resetting giveItemToPlayer to QUEUE_EMPTY to resetQueueOnFileSelectScreen as well, since it makes more sense for it to be reset there alongside the reserved bytes being cleared.
Clear reserved bytes upon reaching title screen
Merge 1.2 dev changes to main dev
@Zephiles Zephiles merged commit 0267d6a into master Aug 2, 2024
@lunarsoap5 lunarsoap5 deleted the development branch August 21, 2024 14:39
kipcode66 pushed a commit to kipcode66/Randomizer that referenced this pull request Sep 2, 2024
add devcontainer configs + elf2rel update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants