I wanted to add certain objects depending on the value of a certain variable, but when trying to make a script for the event, I got an error.
In this case the script was:
What am I doing wrong? Or how to do it correctly?
In this case the script was:
$game_party.gain_item($data_items[$game_variables[5]], 1)
What am I doing wrong? Or how to do it correctly?