Commit Graph

184 Commits

Author SHA1 Message Date
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
e00ff48be3 Add menu journal code skeleton and tilemaps 2025-06-24 18:14:52 -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
f9f4436df2 Housekeeping 2025-01-11 21:10:30 -05:00
scawful
b90f7ffcea Menu cleanup 2025-01-09 02:36:31 -05:00
scawful
4f42ab2b40 Fix bug where running out of arrows granted you the silvers 2024-12-19 09:42:52 -05:00
scawful
efcd0f0ac3 menu housekeeping 2024-12-08 20:12:12 -05:00
scawful
cc4850dc8b Fix collectible item count draw in magic bag menu 2024-10-25 18:05:54 -04:00
scawful
efe5e8a0d8 Fix collectible item count draw 2024-10-25 10:47:27 -04: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
7ff486b05e Add Menu_CollectibleNames and DrawCollectibleNamesAndCount 2024-10-23 12:50:37 -04:00
scawful
f32d85ebc5 Allow exit item menu by selecting with A 2024-10-12 13:29:46 -04:00
scawful
79e71b0a93 Housekeeping 2024-10-06 08:22:39 -04:00
scawful
6fd5e047df Cleanup menu_draw and menu_text components 2024-10-03 19:07:07 -04:00
scawful
63b8a6faf6 Cleanup menu components 2024-10-02 18:11:59 -04:00
scawful
e8fa9be019 Add menu input for seashells, honeycombs, deku sticks 2024-09-30 08:11:44 -04:00
scawful
87aeeadaca Housekeeping 2024-09-22 11:51:18 -04:00
scawful
25085330d1 add explicit length suffices 2024-09-18 18:32:10 -04:00
scawful
db9f28bf2a replace warnpc with assert pc <= 2024-09-18 18:21:55 -04:00
scawful
25da6a8a66 add seashell, honeycomb, deku stick to magic bag 2024-07-28 16:12:18 -04:00
scawful
0de6896874 add RingSlotsNum and todo for upgrades 2024-07-10 22:42:43 -04:00
scawful
29040afae5 add new ring found text 2024-07-10 22:42:27 -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
5030d5aec6 update magic ring menu draw 2024-07-10 20:07:29 -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
f1ca9136dc add Menu_DeleteCursor_AltEntry 2024-07-08 16:55:10 -04:00
scawful
aa9a62721c add ring names and descriptions 2024-07-08 16:44:27 -04:00
scawful
b99473c10c add Menu_DrawRingsInBox 2024-07-08 16:44:13 -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
8c94a3afc0 update eon abyss map menu names 2024-07-06 10:40:07 -04:00
scawful
250bf5bc13 finish interior dungeon names in menu 2024-07-06 10:30:58 -04:00
scawful
1d7c560b85 add milk bottle item, heals 5 hearts 2024-07-05 17:19:09 -04:00
scawful
af227905cb update magic bag offsets and cursor 2024-07-05 16:54:28 -04:00
scawful
e3ae050a4c add greyed out rings to quest menu 2024-07-05 16:48:10 -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