Disabled receiving a Mystery Gift item via the Continue/New Game's Debug menu

This commit is contained in:
Maruno17
2021-05-19 21:10:43 +01:00
parent e7d116780f
commit 2a1dafcd9c
2 changed files with 5 additions and 1 deletions

View File

@@ -1162,7 +1162,7 @@ PokemonDebugMenuCommands.register("delete", {
screen.pbHardRefresh
elsif screen.is_a?(PokemonStorageScreen)
screen.scene.pbRelease(pkmnid, heldpoke)
(heldpoke) ? screen.heldpkmn = nil : screen.storage.pbDelete(pkmnid[0],pkmnid[1])
(heldpoke) ? screen.heldpkmn = nil : screen.storage.pbDelete(pkmnid[0], pkmnid[1])
screen.scene.pbRefresh
end
next true