Feature request: a _pause() callback that is triggered just before the pause menu is displayed. This would give those of us who are using menuitem() a convenient way of doing a little preparation beforehand. I have a particular case where the contents of the menu may change depending on when it is opened.
btn(6) or btnp(6) can do this exact thing, as that's the pause button.
I use it to play a sound, but in order to use audio in general during the pause menu, I have to use poke(0x5f2f, 2) .
I learned this from another user:
Custom Pause Menu
_pause() was originally intended to be a feature and was going to let you customize the pause screen. Not sure why the idea of it was dropped, being able to customize the pause screen visuals in a non-hacky way would have been really useful.
[Please log in to post a comment]