Skip to content

decomp menushop - #77

Merged
roengstrom merged 7 commits into
roengstrom:mainfrom
dargor123:decomp-menushop
Sep 8, 2026
Merged

decomp menushop#77
roengstrom merged 7 commits into
roengstrom:mainfrom
dargor123:decomp-menushop

Conversation

@dargor123

@dargor123 dargor123 commented Sep 3, 2026

Copy link
Copy Markdown
Contributor
  • decompiled functions:
    • func_801E5D28
    • func_801E5DBC
    • func_801E6ACC
    • func_801E6EB0
    • func_801E791C
    • func_801E7B9C
    • func_801E6A68
    • func_801E5C08
    • func_801E6C3C
    • func_801E6E0C
    • func_801E7374
    • func_801E7508

- decompiled five menushop functions:
    func_801E5D28
    func_801E5DBC
    func_801E6ACC
    func_801E6EB0
    func_801E791C
- refactored three functions in order to use MenuDisplayConfig struct
    func_801E6F60
    func_801E8B60
    func_801E9554
- created menushop header file for struct, variable and function declaration
- func_801E5D28: change D_801EB088 from a u8 array to a struct
- func_801E8B60: change the first argument from a u8 array to a struct
@dargor123 dargor123 changed the title menushop: decompiled five menushop functions menushop: decompiled six menushop functions Sep 4, 2026
@dargor123 dargor123 changed the title menushop: decompiled six menushop functions decomp menushop (WIP) Sep 5, 2026
@dargor123 dargor123 changed the title decomp menushop (WIP) decomp menushop Sep 5, 2026
- Decompiled func_801E6A68
- Renamed some structs and their attributes to be more descriptive
- Added constants for the number of items in the shop, item prices, and item slots
- func_801E5C08
- func_801E6C3C
- func_801E6E0C
- func_801E7374
- func_801E7508

@roengstrom roengstrom left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thanks for the PR! Just a minor thing, otherwise it looks good!

Comment thread src/menu/menushop/menushop.c Outdated
Co-authored-by: Robin Engström <robin.engstrom@wint.se>
@roengstrom
roengstrom merged commit 61c4ec3 into roengstrom:main Sep 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants