Skip to content

Fix unmaintainable give-item code #17

@Raeven0

Description

@Raeven0

The whole give-item infrastructure made sense when introduced, but has become difficult as more features were added; see e.g. the new complexity required for the A16 routine to pass an 8-bit item ID >= $87 into A8, set $0db8 correctly, and pass the correct value to MaybeLogTimeOfItemGet. Perhaps should refactor this to just one A16 routine that takes carry as a parameter to mean silent/nonsilent, and update callers appropriately.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions