Skip to content

Commit

Permalink
Merge pull request olliz0r#38 from Mitsukiii/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveCookTU authored Feb 28, 2018
2 parents b9bc965 + e699b69 commit 045a638
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Ledybot/Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ public void getGame(object sender, EventArgs e)
string splitlog = log.Substring(log.IndexOf(", pname: momiji") - 8, log.Length - log.IndexOf(", pname: momiji"));
pid = Convert.ToInt32("0x" + splitlog.Substring(0, 8), 16);
Program.helper.pid = pid;
Program.scriptHelper.write(0x3F341C, BitConverter.GetBytes(0xE3A01000), pid);
Program.scriptHelper.write(0x3F3420, BitConverter.GetBytes(0xE3A01000), pid);
Program.scriptHelper.write(0x3F3424, BitConverter.GetBytes(0xE3A01000), pid); // Ultra Sun // NFC ON: E3A01001 NFC OFF: E3A01000
Program.scriptHelper.write(0x3F3428, BitConverter.GetBytes(0xE3A01000), pid); // Ultra Moon // NFC ON: E3A01001 NFC OFF: E3A01000
game = 1;
MessageBox.Show("Connection Successful!");

Expand Down

0 comments on commit 045a638

Please sign in to comment.