Skip to content

Commit

Permalink
random seed impl
Browse files Browse the repository at this point in the history
  • Loading branch information
TobyAdd committed Dec 12, 2024
1 parent af30002 commit bddf693
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
11 changes: 11 additions & 0 deletions src/hooks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,18 @@ class $modify(PlayLayer) {
auto& recorder = Recorder::get();
auto& recorderAudio = RecorderAudio::get();

// auto unk3188 = m_unk3188;
// auto replayRandSeed = m_replayRandSeed;

// m_unk3188 = true;
// m_replayRandSeed = 228;

PlayLayer::resetLevel();

// m_unk3188 = unk3188;
// m_replayRandSeed = replayRandSeed;


engine.handle_reset();

if (!m_isPracticeMode && !startPositions.empty()) {
Expand Down
3 changes: 0 additions & 3 deletions src/layoutMode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,6 @@ class $modify(PlayLayer) {
obj->setOpacity(255);
obj->setVisible(true);

if (obj->m_objectID == 3092)
obj->setOpacity(0);

PlayLayer::addObject(obj);
}
}
Expand Down

0 comments on commit bddf693

Please sign in to comment.