• 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.
  • Apologies if you've had troubles connecting to the site, you may need a VPN to access it. Staff are also facing issues connecting, so if it's urgent please message Cat on-site or through Discord directly.
  • Hey Guest, staff applications are open! If you are interested in becoming a forum staff member and/or Discord staff member, please apply through this Google Form before April 2! You can also message Cat with any questions.
Resource icon

Tutorial Egg Incubation Script 2017-04-24

DerxwnaKapsyla

Overseer of the Abyss
Member
Joined
Apr 24, 2017
Posts
152
DerxwnaKapsyla submitted a new resource:

Egg Incubation Script - Do you hate hatching eggs normally? Boy I know that feeling

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

Read more about this resource...
 
Back
Top