Skip to content

Commit

Permalink
Remove old GBK stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
aMannus committed Nov 4, 2023
1 parent 13474a2 commit 4c0365f
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion soh/include/z64save.h
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,6 @@ typedef struct {
/* */ u16 randomizerInf[10];
/* */ u16 adultTradeItems;
/* */ u8 triforcePiecesCollected;
/* */ u8 grantBossKey;
// #endregion
} SaveContext; // size = 0x1428

Expand Down
1 change: 0 additions & 1 deletion soh/soh/Enhancements/randomizer/savefile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,6 @@ extern "C" void Randomizer_InitSaveFile() {

// Reset triforce pieces collected
gSaveContext.triforcePiecesCollected = 0;
gSaveContext.grantBossKey = 0;

SetStartingItems();
}
6 changes: 0 additions & 6 deletions soh/soh/SaveManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,6 @@ void SaveManager::LoadRandomizerVersion1() {

SaveManager::Instance->LoadData("triforcePiecesCollected", gSaveContext.triforcePiecesCollected);

SaveManager::Instance->LoadData("grantBossKey", gSaveContext.grantBossKey);

SaveManager::Instance->LoadData("pendingIceTrapCount", gSaveContext.pendingIceTrapCount);

std::shared_ptr<Randomizer> randomizer = OTRGlobals::Instance->gRandomizer;
Expand Down Expand Up @@ -242,8 +240,6 @@ void SaveManager::LoadRandomizerVersion2() {

SaveManager::Instance->LoadData("triforcePiecesCollected", gSaveContext.triforcePiecesCollected);

SaveManager::Instance->LoadData("grantBossKey", gSaveContext.grantBossKey);

SaveManager::Instance->LoadData("pendingIceTrapCount", gSaveContext.pendingIceTrapCount);

std::shared_ptr<Randomizer> randomizer = OTRGlobals::Instance->gRandomizer;
Expand Down Expand Up @@ -333,8 +329,6 @@ void SaveManager::SaveRandomizer(SaveContext* saveContext, int sectionID, bool f

SaveManager::Instance->SaveData("triforcePiecesCollected", saveContext->triforcePiecesCollected);

SaveManager::Instance->SaveData("grantBossKey", saveContext->grantBossKey);

SaveManager::Instance->SaveData("pendingIceTrapCount", saveContext->pendingIceTrapCount);

std::shared_ptr<Randomizer> randomizer = OTRGlobals::Instance->gRandomizer;
Expand Down

0 comments on commit 4c0365f

Please sign in to comment.