var
list/DamageChart[116][17]
proc/InitializeDamageChart() {
DamageChart[1][1] = 1
DamageChart[2][1] = 1
}
However, i wont be doing over 200 "DamageChart[X][X] = X" I'm trying to do a Chart for this: http://www.serebii.net/games/type.shtml
Any better way to do it without that way?
In the absence of a formula, though, you could write a proc such as SetRow(), which takes 18 parameters (one to indicate the row, the rest to indicate the entries), in order to streamline the typing.
On an unrelated note, beware of hard-coding the dimensions of the array, if there is the slightest change you may want to modify it in the future.