• 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.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Scottie, Todd, Serena, Kris - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • 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.

Evolution method for when holding an item

CDQ

Glorious Young Gentleman
  • 20
    Posts
    11
    Years
    I'd like to know how I can make a method be just simply holding an item, rather than "HoldItemDay" or "HoldItemNight", I'd like to know scripts for; "HoldItem", "HoldItemEvening", "HoldItemAfternoon"

    The only important one is "HoldItem", if you are feeling generous, you can give me the last two, thanks
     
    You can see the check for DayHoldItem is
    Code:
    return poke if pokemon.item==level && PBDayNight.isDay?(pbGetTimeNow)
    so just checking for an item would be as simple as removing the last part
    Code:
    return poke if pokemon.item==level

    Checking for evening is as simple as
    Code:
    return poke if pokemon.item==level && PBDayNight.isEvening?(pbGetTimeNow)
    Not that essentials defines evening here as between 5pm and 8 pm
     
    You can imagine that, between them, day and night cover all 24 hours. So use both! No need to do any coding at all.

    Code:
    Evolutions=NEWMON,DayHoldItem,POTION,NEWMON,NightHoldItem,POTION
     
    You can imagine that, between them, day and night cover all 24 hours. So use both! No need to do any coding at all.

    Code:
    Evolutions=NEWMON,DayHoldItem,POTION,NEWMON,NightHoldItem,POTION

    I was just about to suggest this, lol.
     
    Thanks guys
    (Insert 25 Character Message Here)
     
    Back
    Top