Skip to content

Remove PokenavListSub - #2317

Merged
GriffinRichards merged 5 commits into
pret:masterfrom
mrgriffin:pret-pokenav-list
Jun 27, 2026
Merged

Remove PokenavListSub#2317
GriffinRichards merged 5 commits into
pret:masterfrom
mrgriffin:pret-pokenav-list

Conversation

@mrgriffin

Copy link
Copy Markdown
Collaborator

Inspired-by and an-alternative-to #2307, struct PokenavListSub is removed rather than renamed.

This is probably a fakematch because LoopedTask_ReshowListFromCheckPage has something weird going on with list and listAlias pointing to the same object, but I think it makes the code clearer? Or at least, I couldn't work out what the pattern between a member going in struct PokenavList and struct PokenavListSub is supposed to be.

Additionally, fix some fakematches in LoopedTask_ReshowListFromCheckPage.

This is probably a fakematch because LoopedTask_ReshowListFromCheckPage
now contains some unidiomatic code, but I think it makes everything else
clearer.
Comment thread src/pokenav_list.c Outdated
Comment thread src/pokenav_list.c Outdated
@GriffinRichards
GriffinRichards merged commit c948da6 into pret:master Jun 27, 2026
1 check passed
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