PE v17.2 - Day Care error using Debug

Richard PT

Novice
Member
Joined
Oct 26, 2018
Posts
12
Hello.
I detected an error while i was testing the day care in essentials v17.2.

1st- I give my pokemon to the day care npcs.
2nd- When i go to the game's menu and using the debug mode to force an egg in the day care, so i can skip the wait until the pokemon give birth an egg normally, this error pops up and crashes the game.

Any ideas on how to fix the issue? Thx and sorry if i my english is terrible. XD

 

WolfPP

Discord Wolf#1235
Member
Joined
Aug 24, 2018
Posts
101
Age
29
Use ctrl shift F and try to search a def to 'pbDayCareCost'. Not exist.

So, try to put '#' (a comment) in that line :D

"The line 'textpos.push(["Cost: $#{pbDayCareCost(i)}",8+i*Graphics.width/2,y,0,base,shadow])' crashes the game, since there is no pbDayCareCost. You can access this crash depositing a pokémon on Day Care using debug." - by FL
 

Richard PT

Novice
Member
Joined
Oct 26, 2018
Posts
12
Use ctrl shift F and try to search a def to 'pbDayCareCost'. Not exist.

So, try to put '#' (a comment) in that line :D

"The line 'textpos.push(["Cost: $#{pbDayCareCost(i)}",8+i*Graphics.width/2,y,0,base,shadow])' crashes the game, since there is no pbDayCareCost. You can access this crash depositing a pokémon on Day Care using debug." - by FL

Thx for the info and help. Now it works. ^^
 
Top