• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Trading Card Game 2 protagonist in the poll by clicking here.
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Scripting Question] shiny check in pokedex(EBS)

  • 465
    Posts
    8
    Years
    • Seen Jun 17, 2024
    So im working on a pokedex rework for my game (just entry page rn)

    but im trying to get a toggle for shiny pokemon. nothing is wrong with triggering it, just have no check if a player has seen a shiny say bulbasaur or not seen a shiny rattata etc. left below the concept and the script parts for the shiny part.

    [PokeCommunity.com] shiny check in pokedex(EBS)


    Spoiler:


    TL;DR: need to find or have a shiny seen check made, everything else seems to work.
     
    I guess the easiest way is to duplicate the "seen" information used by the Pokédex so that it has a second copy for shinies, and then modify the battle code so that it either marks the normal Pokémon or the shiny as seen (instead of now where it only marks the normal one).
     
    the only thing i can find that connects things seen/owned is $trainer.owned and $trainer.seen but not sure how to find their initial points or where their defined and even then i dont have a clue how to make sure if they've seen it? even going in checks for the battle its just an odd hole which just leads to seenforms which makes no sense to me.

    edit:
    taken a crack at copying the .seen and .owned of $trainer for it, in theory if .seenShiny and .ownedShiny can be defined for $trainer then it'll work. just need to know/figure that out tho,
     
    Last edited:
    Back
    Top