• Do not use Discord to host any images you post, these links expire quickly! You can learn how to add images to your posts here.
  • Eevee Expo's webhost has been having technical issues since Nov. 20th and you might be unable to connect to our site. Staff are also facing issues connecting, so please send a DM to Cat on-site or through Discord directly for faster service!
Resource icon

Egg Incubation Script 2017-04-24

Pokémon Essentials Version
v16.2 ➖
Another script made by Maralis; I didn't like how the default debug options for egg hatching worked, so this script makes it so all eggs hatch instantly instead of forcing you to walk an additional step after selecting the Force Hatch option.

In PField_DayCare, look for the line "Events.onStepTaken+=proc {|sender,e|", and then right above it paste the following:
Code:
Expand Collapse Copy
def pbHatchAll
	for egg in $Trainer.party
		if egg.egg?
			 egg.eggsteps=0
			 pbHatch(egg)
		 end
	end
end

This will run the Egg Hatching routine instantly for all eggs in your party. To bind this to some sort of NPC in the Overworld, create a new event, and in the events options, go to the "Script" Event Command, and put this in:

Code:
Expand Collapse Copy
pbHatchAll
Credits
Maralis made the code, but the original idea behind the code came from the Touhoumon series of games, featured in vanilla 1.812, so credit for inspiration is from HemoglobinA1C.
  • Like
Reactions: Ulithium_Dragon
Author
DerxwnaKapsyla
Views
1,710
First release
Last update

Ratings

0.00 star(s) 0 ratings

More resources from DerxwnaKapsyla

Back
Top