mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 13:15:01 +00:00
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:
@@ -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"),
|
||||
|
||||
Reference in New Issue
Block a user