Skip to content

update self-check - #414

Open
nn357 wants to merge 1 commit into
blkerby:mainfrom
nn357:rom_check_update
Open

nn357 wants to merge 1 commit into
blkerby:mainfrom
nn357:rom_check_update

Conversation

@nn357

@nn357 nn357 commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

End credits clobber the self check variables so the self check restarts during the credits, it doesn't appear to do anything, apart from summing random values and running forever but it's probably best it doesn't run.

After game state 27 is set, some routine in the end credits loads a blank tilemap over the values so checking for gamestate 27 (it never advances any higher than that) is a safe way to skip the check as it will have already finished long before then.

End credits clobber the self check values so the selfcheck restarts during the credits, it doesn't appear to do much apart from summing random values and running forever but it's probably best it doesn't run.
@jeboo

jeboo commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Looks like the cinematic function (https://patrickjohnston.org/bank/8B#fD480) clobbers all of bank 7F. I would just move your variables to the last 5 bytes of bank 7E (I didnt see anything overwrite them in credits) rather than add a check/cycles.

We should prob add a comment to RAM.txt too.

@nn357

nn357 commented Nov 26, 2026

Copy link
Copy Markdown
Contributor Author

Looks like the cinematic function (https://patrickjohnston.org/bank/8B#fD480) clobbers all of bank 7F. I would just move your variables to the last 5 bytes of bank 7E (I didnt see anything overwrite them in credits) rather than add a check/cycles.

We should prob add a comment to RAM.txt too.

yeah i think just the !bank variable should be fine, its all it checks for being even / not even.

This branch has not been deployed

No deployments
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.

2 participants