Hi, I'm having an issue where the window status menu keeps giving me a NoMethodError when I remove a party member. It's telling me that "undefined method 'hp' for nil:NilClass". I think that means that "hp" is an undefined variable but I don't know how to fix it. Here's what I did...
As you can see, everything works perfectly when there's two actors in the party. But when there's only one, I get this error.
I'm not sure how to fix this. Here's the code that I changed.
And here's what the game is taking issue with.
I'm very new to RGSS3 and I don't know if I'm making some sort of rookie mistake so feel free to call me a moron all you want. But I just don't understand what I'm doing wrong.
As you can see, everything works perfectly when there's two actors in the party. But when there's only one, I get this error.
I'm not sure how to fix this. Here's the code that I changed.
And here's what the game is taking issue with.
I'm very new to RGSS3 and I don't know if I'm making some sort of rookie mistake so feel free to call me a moron all you want. But I just don't understand what I'm doing wrong.