Merge pull request #8 from Valorith/fix/evolving-saylink-5017

[Bug Fix] Evolving Items SayLink
This commit is contained in:
Vayle
2025-10-05 20:01:46 -04:00
committed by GitHub
5 changed files with 30 additions and 24 deletions
+1 -1
View File
@@ -6499,7 +6499,7 @@ struct PickZone_Struct {
struct EvolveItemToggle {
uint32 action;
uint32 unknown_004;
uint32 item_id;
uint64 unique_id;
uint32 percentage;
uint32 activated;
+1 -2
View File
@@ -6499,10 +6499,9 @@ namespace RoF2
ob.write((const char*)&hdr, sizeof(RoF2::structs::ItemSerializationHeader));
if (item->EvolvingItem > 0) {
RoF2::structs::EvolvingItem_Struct evotop;
RoF2::structs::EvolvingItem_Struct evotop{};
inst->CalculateEvolveProgression();
evotop.final_item_id = inst->GetEvolveFinalItemID();
evotop.evolve_level = item->EvolvingLevel;
evotop.progress = inst->GetEvolveProgression();
evotop.activated = inst->GetEvolveActivated();