I'm trying to make it so that, once you get a certain amount of jobs done, a variable goes up by one or multiple, and once you get to a certain number in the variables, the Maximum Level goes up. Here is what I have, and I thought it would work, but it didn't:
case $game_variables[76]
when 0
$FINAL_LVL = 255
when 92
$FINAL_LVL = 371
when 108
$FINAL_LVL = 371
when 278
$FINAL_LVL = 456
when 451
$FINAL_LVL = 700
else
$FINAL_LVL = 200
EDIT: The error message was:
"Script 'Ultimate Levels' line 14: NoMethodError occured.
Undefined method `[]' for nil:NilClass"
I'd really like it if someone could help me with this. I'm not very good with RGSS, but I'm learning.