Commit Graph

88 Commits

Author SHA1 Message Date
scawful
f508f9a19d menu scroll fixes 2025-12-08 22:31:08 -05:00
scawful
740571ca7f upgrade submenus with hints, indicators, journal with X and rings with Y in menu 2025-12-08 22:12:05 -05:00
scawful
6c6e6a0bc6 Add menu journal with main quest and side quest hints and progression tracking 2025-12-08 21:46:33 -05:00
scawful
52a5ed4b02 Refactor menu system: Add constants and deduplicate input logic 2025-11-22 19:03:56 -05:00
scawful
3ceab24c7c Fix Menu System issues: Journal tilemap, Ocarina selector, and input regression
- Fixed: Journal tilemap not updating by ensuring 5 (Palette/Refresh) flag is set in Menu_Journal and other submenus.
- Fixed: Ocarina menu not clearing main menu selector by realigning Menu_ItemCursorPositions to match Menu_AddressIndex, resolving a data mismatch.
- Fixed: Input entirely breaking in the menu (regression from previous commit) by reverting bash116 update flag from 3 back to 2, which seems to prevent VBlank timing issues.
- Updated Docs/GEMINI.md with recent debugging insights covering processor status mismatch, input polling, VRAM update flags, data table mismatches, and custom NMI handlers.
2025-11-22 17:50:29 -05:00
scawful
8b23049e28 Fix menu system crashes and stability issues
- Fix IrisSpotlight crash ($00F361): Removed errant $0116/$17 writes
  from menu_select_item.asm that corrupted VRAM upload index
- Fix journal stack corruption: Added missing PHB in Journal_CountUnlocked
- Fix P register mismatches: Added SEP #$30 to Menu_RefreshQuestScreen,
  Menu_ScrollFrom, Menu_DrawRingPrompt
- Fix MagicBag crashes: Fixed data bank corruption in error path,
  fixed uninitialized Y register in cursor movement
- Relocate StoryState from volatile $7C to SRAM $7EF39E
- Add bounds checking to HouseTag_Main jump table
- Use long addressing (.l) for SRAM access in custom_tag.asm

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-22 03:20:35 -05:00
scawful
e485439628 Overhaul menu: Add RHS selector, expand journal, document states 2025-11-21 19:02:36 -05:00
scawful
5cd1248c30 feat: Implement consumable item effects (Pineapple, Honeycomb) and consumption logic with error handling 2025-11-21 17:49:28 -05:00
scawful
4289e134aa Refactor logging statements to use %log_end macro for consistency across item and menu scripts 2025-10-03 14:36:19 -04:00
scawful
3066aae151 Add debug printing macros and replace print statements with %print_debug in multiple files 2025-10-01 12:39:51 -04:00
scawful
8e619ee5e6 Add Menu_Journal to Menu module 2025-06-24 18:15:05 -04:00
scawful
b286103f75 Add Menu_CheckForSpecialMenus fn for Menu_ItemScreen 2025-06-24 18:14:11 -04:00
scawful
c8d17dd941 Refactor color handling in menu and update palette definitions 2025-01-19 14:11:04 -05:00
scawful
36bf7e83a8 Update SRAM item names 2025-01-19 12:17:56 -05:00
scawful
202b042b6b Add PlayerTransform, CheckNewRButtonPress fns 2025-01-19 11:33:56 -05:00
scawful
b90f7ffcea Menu cleanup 2025-01-09 02:36:31 -05:00
scawful
84178d350e Fix Ocarina song menu select logic 2024-10-23 13:43:46 -04:00
scawful
6564efdf3a Update Magic Bag cursor positions and draw names+count 2024-10-23 12:51:00 -04:00
scawful
e8fa9be019 Add menu input for seashells, honeycombs, deku sticks 2024-09-30 08:11:44 -04:00
scawful
0de6896874 add RingSlotsNum and todo for upgrades 2024-07-10 22:42:43 -04:00
scawful
a61d8ce228 housekeeping ring menu 2024-07-10 22:23:34 -04:00
scawful
928a340f67 add RingMenu_StoreRingToSlotStack 2024-07-10 22:21:23 -04:00
scawful
c554991500 update current ring selection logic and draw 2024-07-10 22:03:04 -04:00
scawful
5f21a23205 update ring box menu draw 2024-07-10 18:50:23 -04:00
scawful
b48324805b remove RingBox and SongMenu DeleteCursor 2024-07-08 16:55:26 -04:00
scawful
678ca692f7 add RingMenu and RingBox tilemap 2024-07-08 16:43:40 -04:00
scawful
bb3f94c28a Move CheckBottle to Menu_Exit 2024-07-08 16:43:05 -04:00
scawful
df291e9305 replace CheckBottle with RingMenu 2024-07-08 16:42:47 -04:00
scawful
af227905cb update magic bag offsets and cursor 2024-07-05 16:54:28 -04:00
scawful
45d24bd4a5 add Menu_DrawMagicRings to quest menu 2024-07-05 16:40:28 -04:00
scawful
23a1ea9de1 song menu logic fix 2024-07-05 16:34:06 -04:00
scawful
da4b529f9a restrict song menu based on ocarina save ram 2024-07-05 16:31:02 -04:00
scawful
54bc1ef0a4 move color song note icons to song menu 2024-07-05 16:03:23 -04:00
scawful
fa134b1935 add rock meat gfx to magic bag 2024-07-05 11:56:06 -04:00
scawful
0373c93f5b clear links sweat anim in menu (important for some reason?) 2024-07-03 21:46:00 -04:00
scawful
07ca56cf48 menu clear itemstep, useY1 and useY2 for all items 2024-07-03 21:44:39 -04:00
scawful
5d0bad1071 set $0304 to prevent item + 1 anim exploits 2024-07-03 21:41:27 -04:00
scawful
922ef81a60 add song names to song menu 2024-07-01 09:58:55 -04:00
scawful
d2edbc3346 add song menu cursor 2024-07-01 09:47:53 -04:00
scawful
556b5521f6 transfer song menu gfx and delete cursor before switching 2024-07-01 09:47:47 -04:00
scawful
587820f77d add Submenu_Return 2024-06-30 20:49:36 -04:00
scawful
4779c38ed9 add Menu_DrawCursor 2024-06-30 20:47:26 -04:00
scawful
e5941069c0 add cursor to magic bag 2024-06-30 20:43:17 -04:00
scawful
d97526e525 Close the magic bag if the player presses start 2024-06-30 20:06:00 -04:00
scawful
a20379c1d8 add Menu_SongMenu 2024-06-30 19:44:51 -04:00
scawful
2ba2de411c add Menu_MagicBag 2024-06-30 19:44:03 -04:00
scawful
60e0341b1c cleanup menu anim dismiss 2024-06-30 16:49:11 -04:00
scawful
e7ea1384dc clear wolf dig anim when switching items 2024-06-29 16:15:47 -04:00
scawful
e539d0e764 dismiss bottle anim when changing items 2024-06-28 10:43:04 -04:00
scawful
42d80dba36 dismiss fishing rod from menu when changing items 2024-06-28 10:25:15 -04:00