Remove completely partycommand

Discussion in 'JS Plugin Requests' started by 999Hp, Dec 6, 2018.

  1. 999Hp

    999Hp Villager Member

    Messages:
    15
    Likes Received:
    0
    First Language:
    FR
    Primarily Uses:
    RMMV
    Hello,

    I've been searching for hours, how to remove the partycommand "fight/flee" option box at the start of the battle.
    All i found was plugin, like yanfly but i don't want to use yanfly script, and srdude gui core plugin but it only hides it, it doesn't remove this.

    So my question is how to completely get rid of this ? i'm sure it's really simple, like 2-3 line of js code, but i don't know the javascript language.

    Thanks a lot to anyone who answer this because it's making me crazy lol

    edit : i found it someone can delete this thread
     
    Last edited: Dec 6, 2018
    #1
  2. Aloe Guvner

    Aloe Guvner Walrus Veteran

    Messages:
    1,626
    Likes Received:
    1,046
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    RMMV
    Hey if you found the answer, can you post it?
    I bet people in the future will also be interested in this answer :)
     
    #2
  3. bazrat

    bazrat Veteran Veteran

    Messages:
    237
    Likes Received:
    161
    Location:
    Washington State
    First Language:
    English
    Primarily Uses:
    RMMV
    so im not no JS expert (first time digging into the files since ive been taking tutorials online), so i dont know if this messes anything up (my game ran fine and processed the battles normally)

    so this is how the code reads in the rpg_scenes.js :

    Scene_Battle.prototype.changeInputWindow = function() {
    if (BattleManager.isInputting()) {
    if (BattleManager.actor()) {
    this.startActorCommandSelection();
    } else {
    this.startPartyCommandSelection();
    }
    } else {
    this.endCommandSelection();
    }
    };

    all I did was remove the this.startPartyCommandSelection();

    so it looks like this:

    Scene_Battle.prototype.changeInputWindow = function() {
    if (BattleManager.isInputting()) {
    if (BattleManager.actor()) {
    this.startActorCommandSelection();
    } else {

    }
    } else {
    this.endCommandSelection();
    }
    };

    when i started the next battle i had no party command window to fight or escape, i literally had nothing there. however if you have a system that still takes turns i dont know if it will return the window eventually...

    not the best help, but taught me something new! tried to upload image to imgur but it kept failing, so hope this makes sense!
     
    #3
  4. 999Hp

    999Hp Villager Member

    Messages:
    15
    Likes Received:
    0
    First Language:
    FR
    Primarily Uses:
    RMMV
    I found a plugin for that but i'm don't remember where ! i'll post it when i'll found it again
     
    #4
  5. tale

    tale Volunteer Veteran

    Messages:
    445
    Likes Received:
    719
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    N/A
    Was it SkipPartyCommand? If there's an alternative, it would be good to know.
     
    #5
  6. 999Hp

    999Hp Villager Member

    Messages:
    15
    Likes Received:
    0
    First Language:
    FR
    Primarily Uses:
    RMMV
    That's exactly this, thank you
     
    #6

Share This Page