• 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 Conquest 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.

[PBS Question] Shadow forms in forms.txt

  • 465
    Posts
    8
    Years
    • Seen Jun 17, 2024
    So i've updated from v16 to 17 and theres the new forms.txt.

    In my v16 version it was all in the multiple forms tab which didnt just rely of the form or gender for stuff (so was "if pokemon.isFemale?" over [MEOWSTIC-Female]) and i used "Pokemon.IsShadow?" to change stats and types. now as far as i can see (as the doc on the forms.txt doesnt even mention gendered form data) to use shadow as a check in forms.txt
    e.g.
    Code:
    [RATTATA-Shadow]
    BaseStats=30,56,20,87,25,20
    Type1=NORMAL
    Type2=SHADOW
    Any idea if theres a base version for shadows or how i can add it into the form checks? (not exactly sure where to look for pbs related ones)
     
    You can still define specific forms for a Pokemon to take in Pokemon_Forms script section.
     
    You can still define specific forms for a Pokemon to take in Pokemon_Forms script section.

    Yes very much aware about setting up forms but its not that "if its shadow become form 1" the form IS the shadow. as in has the shadow sprite and stuff, but doesnt use a seperate form (so it could work with megas due to the issues with getting multiple forms with megas) thats the thing im more on about, someway to define form data for a shadow pokemon.
     
    Update, could i add the checks for type and basestats etc. into the _forms script BUT just do it for the shadows? or will their be issues? (so add the checks originally in multiple forms taht arent in forms anymore, for these but all other forms in the forms.txt)

    Edit: that worked perfectly! they have the right stats, type and even return true for ".isShadow?" however, the sprite is normal. even tho i have 019_shadow. (might be becuase i set it outside of battle but everything else updated so) any ideas why its not displaying right?
    Reference of what i mean (text turns purple if its shadow, and the dark star appears, aswell as shadow typing being thhe dark-box next to the normal typing)
    [PokeCommunity.com] Shadow forms in forms.txt
     
    Last edited:
    Doing more digging but no luck fixing it, made sure both the bitmap checks for the sprite locations include shadow and they do, and even if i mess with it to see if its just them files, it still shows as regular. cant find the issue as the v16 and v17 bits relating to the bitmap are pretty much identical. shinies still work so its not a massive break but still, maybe i've mis-defined something for shadows?
     
    so not the kind to triple post but just so its seen, this isnt just "shadows arent displaying" they are;
    [PokeCommunity.com] Shadow forms in forms.txt

    Ekans here also has a shadow sprite and it shows, i also tested with raticate, it doesnt, even if it has no form data, and pidgeotto does too.
    now rattata does have a shadow sprite.
    [PokeCommunity.com] Shadow forms in forms.txt

    Why are they only affected? this is strange... (i even tested with a new species with a shadow sprite and it worked, and i tried giving rattata a new shadow sprite and nothing.)

    Edit: I am actually dumb, but this made me realise its Rattata specifically, because of gendered sprites.... it works now.
     
    Last edited:
    Back
    Top