OK I have problem with this script ver. 3.1.
Here is the setup for the skills that my chars can learn in the script itself:
1 => [ #Id of Actor
[38,1],[33,5],[49,10],[50,12],[51,15],[34,16],[41,17],[36,18],[77,20],[35,22],
[42,25],[37,30],[78,32]
],
2 => [ #Id of Actor
[38,6],[52,9],[1,10],[81,15],[2,20],[3,25],[82,30]
],
3 => [ #Id of Actor
[38,2],[39,5],[67,10],[51,12],[47,14],[69,15],[71,16][45,18],[75,20],[68,22],
[40,24],[72,26],[76,30],[70,32]
],
4 => [ #Id of Actor
[59,1],[38,2],[63,3],[44,8],[61,10],[65,12],[48,16][73,18],[60,20],[64,22],
[46,24],[66,28],[74,30],[62,32]
],
Now here is what one of the skill shops look like:
$skill_shop =
[38,39,40,44,45,46,47,48,51,59,60,61,62,63,
64,65,66,67,68,69,70,71,72,73,74,75,76]
$scene = Scene_Skill_Shop.new
So now when I enter this shop and when I press down key to move the selection to the second skill it gives me this error:
And this is the text on line 362:
if can_learn[i][0] == id
When I enter the shop I have all 4 chars in the party. So I'm thinking that the script crashes because in the shop there are skills that can be learned by more than 1 char. For example the Self Recovery skill. But I might be wrong so please help me.
Edit:
Problem solved I had missed 2 "," symbols in my actor Id 3 and 4 skill setup:
For actor Id3 this: [71,16][45,18]
For actor Id4 this: [48,16][73,18]
Everything seems to work just fine now.