Tweaked the Level 101+ equations for some growth rates, moved code that plays the overworld dust animation

This commit is contained in:
Maruno17
2023-04-29 18:10:26 +01:00
parent 4bab130785
commit 5f20121e59
7 changed files with 31 additions and 29 deletions

View File

@@ -364,12 +364,9 @@ SaveData.register_conversion(:v21_replace_phone_data) do
@phoneNumbers.each do |contact|
if contact.length > 4
# Trainer
# TODO: Is there any way to ensure the versions count (contact[5]
# is the next version to be battled) is accurate?
Phone.add_silent(contact[6], contact[7], contact[1], contact[2], contact[5], 0)
new_contact = Phone.get(contact[1], contact[2], 0)
new_contact.visible = contact[0]
new_contact.version = [contact[5] - 1, 0].max
new_contact.rematch_flag = [contact[4] - 1, 0].max
else
# Non-trainer