diff --git a/notes/systems/menus.md b/notes/systems/menus.md index 0e9d896..8322bf8 100644 --- a/notes/systems/menus.md +++ b/notes/systems/menus.md @@ -54,3 +54,21 @@ Items 0 New Run (push 5), 1 Continue (skipped without a save; Item2 layer frame Open: keyboard defaults of MENU LB/RB/TAB (InputDeviceKeyboard table not found); the port binds Tab and the swap_character control (E). + +## Run screens (isaac-classic rif/menus-runs, src/app/menu_runs.cpp) +- Menu_Challenge::Render 0x9462c0: the paper with Cursor/Titles/Strikeout/Locked hidden, then per challenge 1..45 those + three held on frame (id-1) (Titles shown unless locked via the achievement table DAT_00b7b0b0, Strikeout once done: + _cutsceneCounters byte), then Cursor on frame (selected-1). The rows' places are baked into those frames; the 45th's + Titles frame stands apart (y 817), the lowest is the 44th (1043). The port cuts each challenge's frames into its own + package (tools/rebirth_challenges.py) and places row n at the list's Titles frame n. +- Menu_Challenge::Update also sets Seeds::_isCustomRun = 1 for a challenge (with an empty start seed). +- Menu_Save::Update 0x9d9c60: actions 0x14/0x15 walk files 0..2 (in the confirmation they toggle this[2]), 0x17 takes + Delete (this[1] = 3, DeleteSelect), 0x16 back to File1, 0xf back (cancel the confirmation / delete pick, else pop). + Render 0x9da6d0: the file drawings at the select animation's Drawing1..3 nulls; replace_slot_graphics 0x9db2d0 picks a + drawing from achievements (unported). saveselectmenu DeleteConfirmationIdle's Cursor: frame 0 at 166,164 (Yes), 1 at + 254,161 (No). +- Menu_Game::Update: MENUTAB (0x1c) pushes the mods menu (0x10), not the daily; the daily lives under Online. +- HUD::Render 0x9a3eb0's icon row: 4 hard (not daily/challenge), then 5 when achievements are off (_isCustomRun, + AchievementUnlocksDisallowed, rerun, challenge) or 8 on a daily, then greed 7/11 (9 in the cleared greed boss room). +- Manager::RestartGame 0x958cb0 keeps the start seed of a custom run (not a challenge's); persistent_game_data_set_writable + 0x95a680 leaves the save read-only for a custom run.