Fixed text positioning in "Roaming Pokémon" Debug function

This commit is contained in:
Maruno17
2022-06-19 17:35:08 +01:00
parent 2e3ba2e09e
commit 9a53ee8a0e

View File

@@ -373,6 +373,7 @@ class SpriteWindow_DebugRoamers < Window_DrawableCommand
end end
def shadowtext(t, x, y, w, h, align = 0, colors = 0) def shadowtext(t, x, y, w, h, align = 0, colors = 0)
y += 8 # TEXT OFFSET
width = self.contents.text_size(t).width width = self.contents.text_size(t).width
case align case align
when 1 when 1