file 39 in usum vs 41 in sm no types referenced so only try the replace if SM thanks @sora10pls
pk3DS: A package of Pokémon (3DS) ROM Editing Tools by various contributors.