From ba5eba832b48ecfbcb37bb3a751437e67b8d8f07 Mon Sep 17 00:00:00 2001 From: m3rein Date: Mon, 7 Sep 2020 16:50:04 +0200 Subject: [PATCH] Removed debug print in narrow font config --- .../009_Objects and windows/003_SpriteWindow.rb | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/Data/Scripts/009_Objects and windows/003_SpriteWindow.rb b/Data/Scripts/009_Objects and windows/003_SpriteWindow.rb index c167be035..75e83b2b0 100644 --- a/Data/Scripts/009_Objects and windows/003_SpriteWindow.rb +++ b/Data/Scripts/009_Objects and windows/003_SpriteWindow.rb @@ -384,11 +384,11 @@ end # Sets a bitmap's font to the system font. def pbSetSystemFont(bitmap) - fontname=MessageConfig.pbGetSystemFontName - bitmap.font.name=fontname - if fontname=="Pokemon FireLeaf" || fontname=="Power Red and Green" + fontname = MessageConfig.pbGetSystemFontName + bitmap.font.name = fontname + if fontname == "Pokemon FireLeaf" || fontname == "Power Red and Green" bitmap.font.size = mkxp? ? 27 : 29 - elsif fontname=="Pokemon Emerald Small" || fontname=="Power Green Small" + elsif fontname == "Pokemon Emerald Small" || fontname == "Power Green Small" bitmap.font.size = mkxp? ? 29 : 31 else bitmap.font.size = mkxp? ? 29 : 31 @@ -403,8 +403,7 @@ end # Sets a bitmap's font to the system narrow font. def pbSetNarrowFont(bitmap) - p "narrow" - bitmap.font.name=pbNarrowFontName + bitmap.font.name = pbNarrowFontName bitmap.font.size = mkxp? ? 29 : 31 end