Is there a script command that I can use to get the name of an enemy troop outside of battle processing mode and put it in a variable?
For example, I have an enemy troop named Lunar Party that sits at enemy troop slot 0061.
It contains 3 members but I don't care about the names of the members.
I want the name of the troop, because I want to stick it in a variable.
I tried a bunch of stuff with $gameTroop.members()[61] but that doesn't work.
If I try $gameTroop.members()[61].name I get an error
Any help with this would be greatly appreciated.
For example, I have an enemy troop named Lunar Party that sits at enemy troop slot 0061.
It contains 3 members but I don't care about the names of the members.
I want the name of the troop, because I want to stick it in a variable.
I tried a bunch of stuff with $gameTroop.members()[61] but that doesn't work.
If I try $gameTroop.members()[61].name I get an error
Any help with this would be greatly appreciated.