Add gen 9 mini sprites

(i am lazy so this description is mostly AI generated)

Summary:

This merge request adds support for Generation 9 Pokémon to the popular pokemon-colorscripts package. The following changes have been made to ensure that Gen 9 Pokémon and their forms are correctly displayed within the CLI utility.


Key Changes:

  1. Update to pokemon.json:

    • Added Generation 9 Pokémon names (up to Pokémon #1025) and their respective forms to the pokemon.json file.
    • The schema remains the same:
      { "name": string, "forms": string[] }[]
  2. Addition of Gen 9 Sprites:

    • New ANSI escape sequence-based color scripts for Generation 9 Pokémon have been added to the existing sprite structure in the colorscripts directory:
      • colorscripts/large/regular
      • colorscripts/large/shiny
      • colorscripts/small/regular
      • colorscripts/small/shiny
  3. Update to pokemon-colorscripts.py:

    • The main script has been modified to accommodate Gen 9 Pokémon and their forms.
    • Generation 9 range support:
      • Added Gen 9 (Pokémon #906–1025) to the existing GENERATIONS dictionary.
    • The --random flag now supports Gen 9 when specifying a generation range or selecting a random Pokémon.
    • Adjusted handling of Pokémon forms to ensure the correct form (or "regular") is passed to the display function.

Screenshots:

Screenshot_from_2024-09-29_11-38-09

Screenshot_from_2024-09-29_11-38-25

Screenshot_from_2024-09-29_11-38-52

Screenshot_from_2024-09-29_11-39-29

Screenshot_from_2024-09-29_11-39-46

Screenshot_from_2024-09-29_11-39-56


Thank you for your time reviewing this merge request!

Merge request reports

Loading