mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-07-14 09:03:00 -07:00
Rando: Zelda sequence fixes (#1095)
* Fixed zelda sequence oddities * Fixed code inconsistency * Adressed review comments * Adressed review comments, removed unneccesary entrance skip * Addressed some more review comments * tiny cleanup
This commit is contained in:
parent
0e10b59307
commit
4ea7f8371f
4 changed files with 25 additions and 9 deletions
|
@ -790,12 +790,12 @@ void Sram_InitSave(FileChooseContext* fileChooseCtx) {
|
|||
gSaveContext.eventChkInf[1] |= (1 << 3);
|
||||
gSaveContext.eventChkInf[1] |= (1 << 4);
|
||||
|
||||
// Set "Got Zelda's Letter" flag. Also ensures Saria is back at SFM. TODO: Is this flag used for anything else?
|
||||
gSaveContext.eventChkInf[4] |= 1;
|
||||
|
||||
// Got item from impa
|
||||
gSaveContext.eventChkInf[5] |= 0x200;
|
||||
|
||||
// make sure saria is at SFM
|
||||
gSaveContext.eventChkInf[4] |= (1 << 0);
|
||||
|
||||
// set this at the end to ensure we always start with the letter
|
||||
// this is for the off chance we got the weird egg from impa (which should never happen)
|
||||
INV_CONTENT(ITEM_LETTER_ZELDA) = ITEM_LETTER_ZELDA;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue