From 6fec177bca768cc983ff40a3b977e813e15c3e15 Mon Sep 17 00:00:00 2001 From: m3rein Date: Mon, 7 Sep 2020 16:38:34 +0200 Subject: [PATCH] Added mkxp conditional in font offset --- Data/Scripts/009_Objects and windows/004_SpriteWindow_text.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Data/Scripts/009_Objects and windows/004_SpriteWindow_text.rb b/Data/Scripts/009_Objects and windows/004_SpriteWindow_text.rb index 6637aa383..bb929efe6 100644 --- a/Data/Scripts/009_Objects and windows/004_SpriteWindow_text.rb +++ b/Data/Scripts/009_Objects and windows/004_SpriteWindow_text.rb @@ -1311,7 +1311,7 @@ class Window_AdvancedTextPokemon < SpriteWindow_Base chx = ch[1]+ch[3] chy = ch[2]+ch[4] offset = CHARACTER_OFFSETS[ch[0]] - if offset + if offset && mkxp? ch[1] += offset[0] if offset[0] ch[2] += offset[1] if offset[1] end @@ -1343,7 +1343,7 @@ class Window_AdvancedTextPokemon < SpriteWindow_Base chx = ch[1]+ch[3] chy = ch[2]+ch[4] offset = CHARACTER_OFFSETS[ch[0]] - if offset + if offset && mkxp? ch[1] += offset[0] if offset[0] ch[2] += offset[1] if offset[1] end