[SOLVED] Yanfly's Aftermath remove "level.1" word

Discussion in 'Javascript/Plugin Support' started by paolo97, Sep 23, 2019.

Thread Status:
Not open for further replies.
  1. paolo97

    paolo97 Villager Member

    Messages:
    10
    Likes Received:
    0
    First Language:
    Italian
    Hi all guys. I don't speak English very well and I hope you can understand my problem ^^
    as the title suggests, I use the Yanfly's Aftermath plugin and i would like to remove the word "lv. 1" ... Can anyone help me please? c.c

    hqdefault.jpg

    Plugin:
    http://yanfly.moe/plugins/en/YEP_VictoryAftermath.js
     
    #1
  2. Shaz

    Shaz Veteran Veteran

    Messages:
    37,807
    Likes Received:
    11,512
    Location:
    Australia
    First Language:
    English
    Primarily Uses:
    RMMV
    I cannot view the source on my work machine (if I do, burly men will ask me why I'm trying to run javascript on my work PC), but if you search for a line that says ShowLv or ShowLvl or something like that, and comment it out (by putting // at the beginning of the line), it might go away.

    Just for that plugin, that is, if that's the only place you want to remove it from.

    If you want to remove it from everywhere, then go to rpg_windows.js and find the Window_Base.prototype.showLv (or showLvl) function, and insert a new line at the start of the function that just says
    Code:
    return;
    That should remove it from all windows, including the menu screens.
     
    #2
    paolo97 and caethyril like this.
  3. caethyril

    caethyril ^_^ Veteran

    Messages:
    1,276
    Likes Received:
    796
    Location:
    UK
    First Language:
    English
    Primarily Uses:
    RMMV
    This might work if you save as a .js file and load as a plugin, after Victory Aftermath:
    Code:
    Window_VictoryExp.prototype.drawLevel = function(actor, rect) {};
    Very similar to what Shaz described: it should just make "drawLevel" do nothing on that window. :)
     

    Attached Files:

    #3
    paolo97 and Shaz like this.
  4. paolo97

    paolo97 Villager Member

    Messages:
    10
    Likes Received:
    0
    First Language:
    Italian
    thank you very much to both of you! You were very kind and you helped me ^^ thank you!

    EDIT: I have the same problem with Equip Core by Yanfly :rsad: Can you help me to remove it?

    Plugin: http://yanfly.moe/plugins/en/YEP_EquipCore.js
     
    Last edited: Sep 23, 2019
    #4
  5. caethyril

    caethyril ^_^ Veteran

    Messages:
    1,276
    Likes Received:
    796
    Location:
    UK
    First Language:
    English
    Primarily Uses:
    RMMV
    Equip Core uses the same default "display status" code as the pause menu. I think this will remove the level part:
    Code:
    Window_Base.prototype.drawActorLevel = function(actor, x, y) {};
    I've attached a version with both bits of code in it~
     

    Attached Files:

    #5
    paolo97 likes this.
  6. paolo97

    paolo97 Villager Member

    Messages:
    10
    Likes Received:
    0
    First Language:
    Italian
    Thank you so much ^^
     
    #6
  7. Shaz

    Shaz Veteran Veteran

    Messages:
    37,807
    Likes Received:
    11,512
    Location:
    Australia
    First Language:
    English
    Primarily Uses:
    RMMV
    If your issue is now resolved, just report your first post and say it's solved, and the mods will close the thread for you.
     
    #7
  8. slimmmeiske2

    slimmmeiske2 Little Red Riding Hood Moderator

    Messages:
    5,676
    Likes Received:
    4,158
    Location:
    Belgium
    First Language:
    Dutch
    Primarily Uses:
    RMXP

    This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

     
    #8
Thread Status:
Not open for further replies.

Share This Page