Other Game Creation => Program Troubleshooting => Topic started by: Space on August 26, 2013, 05:26:29 PM
Title: [VX] Getting an error when setting an item-based variable
Post by: Space on August 26, 2013, 05:26:29 PM
I have an event that's supposed to change depending on how much <item name>s the player has in his inventory and it's causing an error in one of the main scripts. I'm getting it no matter what I set the item to, whether it's an RTP item or a custom one.
Spoiler for Error details:
The Error:
Quote
Script 'Game Interpreter' line 750: NoMethodError occurred. undefined method '[]' for nil:NilClass