tewtal / sm_practice_hack

Super Metroid Practice Hack
The Unlicense
27 stars 19 forks source link

Keyboard menu #168

Closed InsaneFirebat closed 1 year ago

InsaneFirebat commented 1 year ago

This pull adds a keyboard menu where the user can type out a string and save it in SRAM. It's main use will be for naming custom presets in the slot menu. Press X when selecting a slot to add or edit its name. If no name exists, it will fallback to using the room name.

The other use for this will be to rewrite the header for MainMenu. It's just a "for fun" thing to mimic the names I add when customizing practice hacks for individual players. There's a text conversion routine and table to assist with converting to header font. It uses a macro to make it look a little cleaner and to keep it mostly maintenance free (unless the keyboard menu changes).