Skip to content

Commit

Permalink
Improved fix of phone data conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
Maruno17 committed Feb 15, 2024
1 parent 3e167b9 commit 24dda51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Data/Scripts/002_Save data/005_Game_SaveConversions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -364,13 +364,13 @@
@phoneNumbers.each do |contact|
if contact.length > 4
# Trainer
@phone.add_silent(contact[6], contact[7], contact[1], contact[2], contact[5], 0)
@phone.add(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.rematch_flag = [contact[4] - 1, 0].max
else
# Non-trainer
@phone.add_silent(contact[3], contact[2], contact[1])
@phone.add(contact[3], contact[2], contact[1])
end
end
@phoneNumbers = nil
Expand Down

0 comments on commit 24dda51

Please sign in to comment.