Make sure your script is not something like
CODE
$game_party.gain_esper
(ESPER::CACTUAR)
Only the periods can be separated on different lines, so
CODE
$game_party.
gain_esper(ESPER::CACTUAR)
would be a valid call that passes one argument, whereas the first one passed none.
But ya, I would change the gain_esper function to accept a number that represents a particular esper in an array (ie: 1 is Cactuar, 2 is Bomb, etc).
I would probably even try to look for a way to make it so you just have to write "gain_esper(...)" rather than having to write "$game_party.gain_esper"
Though I'm not sure which looks better. Given the script box constraints, I would naturally go for the simplest function calls.
This post has been edited by Tsukihime: Nov 1 2011, 02:12 PM