From 2b0531ed8a3043174626ddb6fd5b0db6857641a0 Mon Sep 17 00:00:00 2001 From: JappaWakka Date: Mon, 23 Jan 2023 11:15:30 +0100 Subject: [PATCH] Hopefully fix egg hp > maxhp --- P3D/Screens/Pokemon/Daycare.vb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/P3D/Screens/Pokemon/Daycare.vb b/P3D/Screens/Pokemon/Daycare.vb index 095914ef4..06689298a 100644 --- a/P3D/Screens/Pokemon/Daycare.vb +++ b/P3D/Screens/Pokemon/Daycare.vb @@ -377,6 +377,10 @@ p.IsShiny = False End If + If p.HP > p.MaxHP Then + p.HP = p.MaxHP + End If + Return p End If