Skip to content

Added type detection for home and lza. #1156

Open
Dalton-V wants to merge 2 commits intoPokemonAutomation:mainfrom
Dalton-V:home-type-detection
Open

Added type detection for home and lza. #1156
Dalton-V wants to merge 2 commits intoPokemonAutomation:mainfrom
Dalton-V:home-type-detection

Conversation

@Dalton-V
Copy link
Copy Markdown
Contributor

@Dalton-V Dalton-V commented Apr 5, 2026

Added Pokemon Type reading for Gen 9. Currently used in box sorters for Home and LZA

@Dalton-V Dalton-V force-pushed the home-type-detection branch from 2d8d855 to 5ebf6d0 Compare April 5, 2026 23:55
}
}
ptr += words;
}
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

You can replace this entire double loop with:

sprite = filter_rgb32_range(
    sprite,
    0xff000000, 0xffffffff,
    Color(0), false
);

}


static void find_type_candidates(
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This function looks similar to the SwSh one. I won't make you dedupe it since these are probably very specific to the game. But leave a comment saying that this taken from there.

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