Changing the number of columns of the item menu in battle

Discussion in 'JS Plugin Requests' started by Bahamut20, May 24, 2017.

  1. Bahamut20

    Bahamut20 Can I edit this? Veteran

    Messages:
    42
    Likes Received:
    9
    Location:
    Costa Rica
    First Language:
    English/Spanish
    I would like my game (which is already finished) to be played vertically on a phone. The issue I am having is, it is very hard to read the names of the items on the list when you are using an item on battle. Can I change the two column layout to a one column layout somehow?
     
    #1
  2. Andar

    Andar Veteran Veteran

    Messages:
    27,113
    Likes Received:
    5,947
    Location:
    Germany
    First Language:
    German
    Primarily Uses:
    RMMV
    any change to any menu screen will require a plugin - but yes, a custom plugin can do this

    I've moved this thread to Plugin Request. Please be sure to post your threads in the correct forum next time. Thank you.

     
    #2
  3. Bahamut20

    Bahamut20 Can I edit this? Veteran

    Messages:
    42
    Likes Received:
    9
    Location:
    Costa Rica
    First Language:
    English/Spanish
    I hoped there was a way of doing this without a plugin. I've searched a lot and have not found any plugins that do something similar. I'd appreciate it if someone lets me know about one.
     
    #3
  4. Clock Out

    Clock Out Veteran Veteran

    Messages:
    92
    Likes Received:
    43
    First Language:
    English
    Primarily Uses:
    RMMV
    Open a plain text editor program and copy and paste this code.
    Code:
    Window_BattleItem.prototype.maxCols = function () {
        return 1;
    };
    Save the file and make sure it has a .js extension. Add the new plugin to your project and you're good to go.
     
    #4

Share This Page