There is no official Pokémon game titled "Pokémon Darkness." You may be referring to a fan-made ROM hack, a specific event, or a different title (e.g., Pokémon Mystery Dungeon: Explorers of Darkness).
To determine a suitable level for battling Dialga:
General tips: Use strong special attackers (e.g., Blaziken, Gengar, Landorus) and carry healing items. Strategy matters more than raw level.