Fixed crash when soft resetting, fixed crash when Struggle and confusion pseudo-moves are used, fix broken AI, fixed crash after evolution, fixed crash when editing weather map metadata.

This commit is contained in:
Maruno17
2021-04-28 23:24:17 +01:00
parent f3048abd86
commit 17d1344e74
5 changed files with 7 additions and 8 deletions

View File

@@ -8,7 +8,7 @@ def pbSetWindowText(string)
end
class Bitmap
alias mkxp_draw_text draw_text
alias mkxp_draw_text draw_text unless method_defined?(:mkxp_draw_text)
def draw_text(x, y, width, height, text, align = 0)
height = text_size(text).height