mirror of
https://github.com/kwsch/pkNX.git
synced 2026-10-02 14:16:55 -05:00
Clean up NotWorking_EditMoves for SWSH
This commit is contained in:
@@ -107,22 +107,6 @@ public void NotWorking_EditItems()
|
||||
cache.Save();
|
||||
}
|
||||
|
||||
public void NotWorking_EditMoves()
|
||||
{
|
||||
var obj = ROM[GameFile.MoveStats]; // mini
|
||||
var cache = new DataCache<Move7>(obj)
|
||||
{
|
||||
Create = data => new Move7(data),
|
||||
Write = move => move.Write(),
|
||||
};
|
||||
using var form = new GenericEditor<Move7>(cache, ROM.GetStrings(TextName.MoveNames), "Move Editor");
|
||||
form.ShowDialog();
|
||||
if (!form.Modified)
|
||||
cache.CancelEdits();
|
||||
else
|
||||
cache.Save();
|
||||
}
|
||||
|
||||
public void EditShinyRate()
|
||||
{
|
||||
if (ROM.PathExeFS == null)
|
||||
|
||||
Reference in New Issue
Block a user