Last Updated: 24 January 2012 (Version 1.0)
Download Link: http://pastebin.com/raw.php?i=SYR1YvYi
An updated AP Script which makes use of notetags.
Sorry but i don’t unbderstand with the notetaqs. Pls help.
On the enemy tab where you configure your enemies there’s a box called notes you need to put the notetag in there.
thx it worked
can this work with yanflys battle aftermath?
I’ll add it my list of things to do.
Paste the scripts in this order:
This new bit:
ObtainAp = “+%sAP”
actor = $game_party.random_target
@victory_actor = actor
$game_party.all_members.each do |actor|
temp_actor = Marshal.load(Marshal.dump(actor))
next if actor.level == temp_actor.level
class Window_VictoryEXP_Back < Window_Selectable
alias ap_draw_jp_gain draw_jp_gain
def draw_jp_gain(actor, rect)
dw = rect.width – (rect.width – [rect.width, 96].min) / 2
dy = rect.y + line_height * 4 + 96
dy += line_height if $imported["YEA-JPManager"]
text = sprintf(Vocab::ObtainAp, $game_troop.ap_total)
contents.font.size = YEA::VICTORY_AFTERMATH::FONTSIZE_EXP
draw_text(rect.x, dy, dw, line_height, text, 2)
thank you just 2 issues
1) ObtainAp = “+%sAP” for some reason required me to delete the quote marks and re imput them
2) dw = rect.width – (rect.width – [rect.width, 96].min) / 2
required me to delete the minus signs and reput them dunno why but after that was done it worked great
Must be the blog software using special character for them, sorry but I’m glad you worked it out.
I get an error for this line: text = sprintf(Vocab::ObtainAp, $game_troop.ap_total)
undefined method ‘ap_total’ for #
Probably a script incompatibility, does this happen in a new project?
yes, i just started it last week an i’m using the victory aftermath script as well