Skip to content

Erase warning from Owl Save message when persistent option is on#1632

Open
JordanLongstaff wants to merge 7 commits intoHarbourMasters:developfrom
JordanLongstaff:skip-owl-save-warning
Open

Erase warning from Owl Save message when persistent option is on#1632
JordanLongstaff wants to merge 7 commits intoHarbourMasters:developfrom
JordanLongstaff:skip-owl-save-warning

Conversation

@JordanLongstaff
Copy link
Copy Markdown
Contributor

@JordanLongstaff JordanLongstaff commented Apr 7, 2026

Closes #1630

This warning now gets skipped when "Persistent Owl Saves" is turned on:

2026-04-07 (1) 2026-04-07 (2)
skip-owl-warning.mp4

Build Artifacts

Comment on lines +12 to +14
// "Warning: If you reopen this Owl File, then reset without saving..."
static constexpr size_t TEXT_WARNING_BEGIN = 258;
static constexpr size_t TEXT_WARNING_LENGTH = 261;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I'm wary of this because this substring range may not be consistent between versions, which will be a concern when PAL and JP GC support get added. So far we've taken care to minimize dependency on text contents with other enhancements and randomizer text. Usually the approach there would be to create brand new text, but I suspect that the dialog choice here might complicate doing that here.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I've just added a version check, so now the message is only modified on NTSC versions. Better?

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.

[Feature request] Persistent Owl Save skips warning about losing save

2 participants