View Single Post
Old 11th November 2015, 06:01 AM   #1
Join Date: Nov 2015
Posts: 1
Default Help with scripting

Well, i am working on a script where a npc adds an amount of EV to a pokemon. I think I am almost there the only problem I am having is that the given EV by passes the 512 max EV cap and can be given till all stat has 252 EV. I am using JPANs fire red hacked engine which also allows to add subtract variables. (VarMaths) which i dont know how to use. Can any one give me an example of math variables.

What i want to do is :
Take total EV of pokemon and campare if its greater or = 510 (max ev allowed) and if true then cancle the addition if EV or add EV if false.
Thanks in advance.
zapherian is offline   Reply With Quote
Sponsored Links