mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
Added mkxp conditional in font offset
This commit is contained in:
@@ -1311,7 +1311,7 @@ class Window_AdvancedTextPokemon < SpriteWindow_Base
|
|||||||
chx = ch[1]+ch[3]
|
chx = ch[1]+ch[3]
|
||||||
chy = ch[2]+ch[4]
|
chy = ch[2]+ch[4]
|
||||||
offset = CHARACTER_OFFSETS[ch[0]]
|
offset = CHARACTER_OFFSETS[ch[0]]
|
||||||
if offset
|
if offset && mkxp?
|
||||||
ch[1] += offset[0] if offset[0]
|
ch[1] += offset[0] if offset[0]
|
||||||
ch[2] += offset[1] if offset[1]
|
ch[2] += offset[1] if offset[1]
|
||||||
end
|
end
|
||||||
@@ -1343,7 +1343,7 @@ class Window_AdvancedTextPokemon < SpriteWindow_Base
|
|||||||
chx = ch[1]+ch[3]
|
chx = ch[1]+ch[3]
|
||||||
chy = ch[2]+ch[4]
|
chy = ch[2]+ch[4]
|
||||||
offset = CHARACTER_OFFSETS[ch[0]]
|
offset = CHARACTER_OFFSETS[ch[0]]
|
||||||
if offset
|
if offset && mkxp?
|
||||||
ch[1] += offset[0] if offset[0]
|
ch[1] += offset[0] if offset[0]
|
||||||
ch[2] += offset[1] if offset[1]
|
ch[2] += offset[1] if offset[1]
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user