notes: the challenge menu's Position comes from set[7] after Menu_SpecialSeeds::Reset wrote -216 (the list's top)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
shweetandClaude Opus 5.5 committed 2026-10-27 18:34:17 -04:00
1 parent a7bbedbb8c
commit 92be62440f
1 file changed
+5 -1
+5 -1
View File
@@ -13,7 +13,11 @@ Port: isaac-classic `src/game/menu/rebirth_menu.{hpp,cpp}` (logic), `src/app/reb
MenuOverlay.png stretched over the screen, MenuShadow at (0, H-148), the overlay again at the vignette's alpha MenuOverlay.png stretched over the screen, MenuShadow at (0, H-148), the overlay again at the vignette's alpha
(eases 0.025 toward 0.5 on Hard/Greedier). (eases 0.025 toward 0.5 on Hard/Greedier).
- Menu_Challenge::Update 0x945e50 overwrites set[7].y each update: cursor<5 -216; <43 -216-(c-4)*22; else -1074 - Menu_Challenge::Update 0x945e50 overwrites set[7].y each update: cursor<5 -216; <43 -216-(c-4)*22; else -1074
(0xbaae84/0xbaaea8). With Position.y = 405 that puts the first rows ~260 pt down: transcribed as is, looks low. (0xbaae84/0xbaaea8). The challenge menu's Position is NOT -(480,-405): Init calls Menu_SpecialSeeds::Reset 0x8f19f0
("Menu SpecialSeed Init") before "Menu Challenge Init", and that Reset writes set[7].y = -216 ([g_menuManager+0xf740],
asm 0x8f1a5c), so Init reads (480,-216) and the challenges' Position is (-480, 216): -216 is the list's top.
(Reading Position as -405 put the first rows ~260 pt low.) set[i] lives at MenuManager+0xf704+8i; 0xf6fc/0xf700
(constructor: 0, -1350) are the special seeds' base view, copied into set[6] by Init and Menu_SpecialSeeds::Update.
## Menu_Game 0x981140 ## Menu_Game 0x981140
Items 0 New Run (push 5), 1 Continue (skipped without a save; Item2 layer frame 0 saved / 1 greyed / 2 rerun), Items 0 New Run (push 5), 1 Continue (skipped without a save; Item2 layer frame 0 saved / 1 greyed / 2 rerun),