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

Egg Hatcher [v16, v17 and v18.1]

  • 2
    Posts
    4
    Years
    [PokeCommunity.com] Egg Hatcher [v16, v17 and v18.1]

    Authors: Kyu and ClaraDragon
    Compatible with: v16, v17, v18 and v19.1​

    Overview
    This script adds to the game an egg hatcher which allows the player to take alongside him up to 6 eggs without taking spaces from your team.
    Once available to the player it will ask if they want to send newly obtained eggs directly to the hatcher.
    It is fully plug and play and can be either given as an object or called via script.

    How to Install

    • Download the resource from here
    • Paste the contents of script.txt in a new script over Main
    • Copy the Graphics folder on the root of your project

    How to Use
    As an item:

    • Add the following line to Items PBS (change xxx to the id of the item):
    Code:
    XXX,EGGHATCHER,Egg Hatcher,Egg Hatchers,8,0,"An Egg Hatcher in which to keep up to 6 eggs until they hatch.",2,0,6

    • Then, add itemXXX.png to the Graphics/Icons folder.

    The functionality code is already implemented within this script. That includes item usage and egg storage after receiving them​


    External script call:
    Whether calling it from the menu or a random npc, just call the following method:
    Code:
    openHatcher

    In case of using this method to use the hatcher, you can use a global switch to make it available to the player,
    just change EGGHATCHER_SWITCH to the id of the switch you want to use.

    Credits
    Credits are required to everyone listed below when using this resource.
    • Kyu (Script)
    • ClaraDragon (Idea, graphics and testing)
    • Turner (Updated hatcher icon)
     
    Last edited:
    Nice work DasKyu!! Thanks for sharing this resource with the community
     
    this is really useful, it's funny that no one thought about it for a long time xD
     
    Back
    Top