Skip to content

Commit

Permalink
Filter out altering cave event slot tables (unreleased)
Browse files Browse the repository at this point in the history
  • Loading branch information
kwsch committed Mar 10, 2021
1 parent 15adb10 commit 6ad4416
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Gen3/Dumper3.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ public static void DumpGen3()
var fr = EncounterArea3.GetArray3(BinLinker.Unpack(f, "fr"));
var lg = EncounterArea3.GetArray3(BinLinker.Unpack(l, "lg"));

// Remove unreleased Altering Cave tables
fr = fr.Where(z => z.Location != 183 || z.Slots[0].Species == (int)Species.Zubat).ToArray();
lg = lg.Where(z => z.Location != 183 || z.Slots[0].Species == (int)Species.Zubat).ToArray();

var rd = ru.Concat(FishFeebas).OrderBy(z => z.Location).ThenBy(z => z.Type);
var sd = sa.Concat(FishFeebas).OrderBy(z => z.Location).ThenBy(z => z.Type);
var ed = em.Concat(FishFeebas).OrderBy(z => z.Location).ThenBy(z => z.Type);
Expand Down

0 comments on commit 6ad4416

Please sign in to comment.