Fixed Pledge combo moves sometimes using the wrong type, fixed command windows in battle being too tall if possible, added Debug menu feature to toggle credits skippability

This commit is contained in:
Maruno17
2021-10-10 16:41:47 +01:00
parent a090f50bc5
commit 45fd570414
3 changed files with 19 additions and 4 deletions

View File

@@ -160,6 +160,17 @@ DebugMenuCommands.register("daycare", {
}
})
DebugMenuCommands.register("skipcredits", {
"parent" => "fieldmenu",
"name" => _INTL("Skip Credits"),
"description" => _INTL("Toggle whether credits can be ended early by pressing the Use input."),
"effect" => proc {
$PokemonGlobal.creditsPlayed = !$PokemonGlobal.creditsPlayed
pbMessage(_INTL("Credits can be skipped when played in future.")) if $PokemonGlobal.creditsPlayed
pbMessage(_INTL("Credits cannot be skipped when next played.")) if !$PokemonGlobal.creditsPlayed
}
})
DebugMenuCommands.register("relicstone", {
"parent" => "fieldmenu",
"name" => _INTL("Use Relic Stone"),