Fixed crash in map rendering, fixed crash when resizing screen

This commit is contained in:
Maruno17
2021-01-17 19:55:14 +00:00
parent 4dd3a1a2c5
commit 33ee7f0c9a
2 changed files with 6 additions and 6 deletions

View File

@@ -368,14 +368,14 @@ class PokemonOption_Scene
proc { $PokemonSystem.textskin },
proc { |value|
$PokemonSystem.textskin = value
MessageConfig.pbSetSpeechFrame("Graphics/Windowskins/"+$SpeechFrames[value])
MessageConfig.pbSetSpeechFrame("Graphics/Windowskins/" + $SpeechFrames[value])
}
),
NumberOption.new(_INTL("Menu Frame"),1,$TextFrames.length,
proc { $PokemonSystem.frame },
proc { |value|
$PokemonSystem.frame = value
MessageConfig.pbSetSystemFrame($TextFrames[value])
MessageConfig.pbSetSystemFrame("Graphics/Windowskins/" + $TextFrames[value])
}
),
EnumOption.new(_INTL("Font Style"),[_INTL("Em"),_INTL("R/S"),_INTL("FRLG"),_INTL("DP")],