I recommend setting up a subroutine like this, you can name it whatever you want. then whenever you need to draw a box for dialogue or a menu define xmin, xmax, ymin and ymax then put gosub@boxdraw (or whatever name you go with) and there you go.

プレイ済み