I used the Yanfly Engine Core to change the window size of my game to 416 x 416. Because of this, entering a battle causes this error:
How would I go about fixing this?
How would I go about fixing this?
def draw_actor_icons(actor, x, y, width = 96)
icons = (actor.state_icons + actor.buff_icons)[0, width / 24]
icons.each_with_index {|n, i| draw_icon(n, x + 24 * i, y) }
end
Huh, that's strange. This is a blank project with the only change being the window size.
Sure enough, no error this time around.
Thanks so much! That solved the crash. I can take it from here, thanks again.
Original thread: https://forums.rpgmakerweb.com/threads/changing-window-size-crashes-the-game-in-battle.163609/