Yanfly Engine Ace - Buffs and Debuffs

Hi everyone,

as someone completely new to scripting there is a big chance Im overseeing something, but I just cant fix the buff and debuffs in the engine. Whenever it is applied there is always a 0 and a bracket afterwards... Ive removed the bracket but I don't know how to make it only show the buff / debuff, with nothing else.

Thanks in advance!

The engine: http://yanflychannel.wordpress.com/rmvxa/battle-scripts/ace-battle-engine/

The problem: 

problem_zps9f5992c4.png


All I did was copy - pasting the engine and other than this it works perfectly.

(Screenshot : The player used a skill that gives a buff to ATK )
I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.


Please post a link to the page where you got the script so others can look at it without having to search.


Also a screenshot showing how you've got it set up, and one showing the issue, will be helpful.
Oh, sorry about that. Still new to the forums.
That looks like the "junk symbol" error.


Try the Custom Font Junk Symbol fix and see if they go away.
Hmm, still getting the bug.

Any other ideas? I can't figure it out.
Well, thanks to you I realised I was experiencing the same trouble. Here is the way I fixed it : 

# This is the default font used for the popups. Adjust them accordingly # or even add new ones. DEFAULT = ["VL Gothic", "Verdana", "Arial", "Courier"] IMPACT = ["Impact"] #Pokeymon : here is the new font I added. # The following are the various rules that govern the individual popup # types that will appear. Adjust them accordingly. Here is a list of what # each category does. # Zoom1 The zoom the popup starts at. Values over 2.0 may cause lag. # Zoom2 The zoom the popup goes to. Values over 2.0 may cause lag. # Sz The font size used for the popup text. # Bold Applying bold for the popup text. # Italic Applying italic for the popup text. # Red The red value of the popup text. # Grn The green value of the popup text. # Blu The blue value of the popup text. # Font The font used for the popup text. POPUP_RULES ={ # Type => [ Zoom1, Zoom2, Sz, Bold, Italic, Red, Grn, Blu, Font] "DEFAULT" => [ 2.0, 1.0, 24, true, false, 255, 255, 255, DEFAULT], "CRITICAL" => [ 2.0, 1.0, 24, true, true, 255, 80, 80, DEFAULT], "HP_DMG" => [ 2.0, 1.0, 36, true, false, 255, 255, 255, DEFAULT], "HP_HEAL" => [ 2.0, 1.0, 36, true, false, 130, 250, 130, DEFAULT], "MP_DMG" => [ 2.0, 1.0, 36, true, false, 220, 180, 255, DEFAULT], "MP_HEAL" => [ 2.0, 1.0, 36, true, false, 160, 230, 255, DEFAULT], "TP_DMG" => [ 2.0, 1.0, 36, true, false, 242, 108, 78, DEFAULT], "TP_HEAL" => [ 2.0, 1.0, 36, true, false, 251, 175, 92, DEFAULT], "ADDSTATE" => [ 2.0, 1.0, 24, true, false, 240, 100, 100, DEFAULT], "REMSTATE" => [ 2.0, 1.0, 24, true, false, 125, 170, 225, DEFAULT], "DURSTATE" => [ 2.0, 1.0, 24, true, false, 255, 240, 150, DEFAULT], "DRAIN" => [ 2.0, 1.0, 36, true, false, 250, 190, 255, DEFAULT], "POSITIVE" => [ 2.0, 1.0, 24, true, false, 110, 210, 245, DEFAULT], "NEGATIVE" => [ 2.0, 1.0, 24, true, false, 245, 155, 195, DEFAULT], "WEAK_ELE" => [ 0.5, 1.0, 24, true, false, 240, 110, 80, DEFAULT], "IMMU_ELE" => [ 0.5, 1.0, 24, true, false, 185, 235, 255, DEFAULT], "REST_ELE" => [ 0.5, 1.0, 24, true, false, 145, 230, 180, DEFAULT], "ABSB_ELE" => [ 0.5, 1.0, 24, true, false, 250, 190, 255, DEFAULT], "BUFF" => [ 2.0, 1.0, 24, true, false, 255, 240, 100, IMPACT], "DEBUFF" => [ 2.0, 1.0, 24, true, false, 160, 130, 200, IMPACT],#Pokeymon : look at "BUFF" and "DEBUFF" , I changed the DEFAULT font set by "IMPACT". Somehow it works with this font but not with some others and I can't figure out why but at least, it works! I added comments in the code to explain you what I did. Strangely there are fonts that work and others that don't and I don't know why. Please read also Yanfly's explanation carefully , it explains how to customize the whole thing and it's pretty simple 🙂 . 
Just retype ATK and other stuff in the script. It should disappear.

There's an invisible Junk symbol there caused by JP RPG Maker.
Just retype ATK and other stuff in the script. It should disappear.

There's an invisible Junk symbol there caused by JP RPG Maker.
Sorry, I dont quite understand.

What stuff? 

@ Pokeymon Thanks, it does get better but Im still left with a square...
Bumb, been a couple of days and Im still stuck...
Go to line 312 and 313 and look for these:

      :add_buff   => "%s{",      # Appears when a positive buff is applied.      :add_debuff => "%s|",      # Appears when a negative buff is applied.Just retype %s but don't add { or |. There's an invisible letter between %s{ that you can't see unless you can see Japanese text.
Go to line 312 and 313 and look for these:

      :add_buff   => "%s{",      # Appears when a positive buff is applied.      :add_debuff => "%s|",      # Appears when a negative buff is applied.Just retype %s but don't add { or |. There's an invisible letter between %s{ that you can't see unless you can see Japanese text.
Awesome, thank you  🙂

Original thread: https://forums.rpgmakerweb.com/threads/yanfly-engine-ace-buffs-and-debuffs.24971/