- 20
- Posts
- 6
- Years
- Seen Sep 4, 2024
Hi, I've been having some trouble with getting battles to work where the trainer has the same name as a previous or later battle. The best example is the one causing me the most trouble right now. This is how I've defined the trainer type:
This is how I defined the first battle with a Grunt, so far this one seems to be working:
And this is how I defined the one that's giving me trouble:
And also how the second Grunt is defined in the battle event:
When I got to battle this second Grunt in the game I get asked to define a new trainer named TEAMSKY_M,Grunt,1 but I tried doing that and the game asked me to do it again the next time I tried the battle. If anyone could help me figure out what I'm doing wrong I'd be very grateful.
Spoiler:
75,TEAMSKY_M,Team Sky,32,,,,Male,,
This is how I defined the first battle with a Grunt, so far this one seems to be working:
Spoiler:
TEAMSKY_M
Grunt
3
SHINX,9
POOCHYENA,9
FARFETCHD,16,,,,,,,M,,,,31,0,,true
Grunt
3
SHINX,9
POOCHYENA,9
FARFETCHD,16,,,,,,,M,,,,31,0,,true
And this is how I defined the one that's giving me trouble:
Spoiler:
TEAMSKY_M
Grunt,1
2
WHISMUR,9
SHINX,9
Grunt,1
2
WHISMUR,9
SHINX,9
And also how the second Grunt is defined in the battle event:
Spoiler:
pbTrainerBattle(:TEAMSKY_M,"Grunt,1",_I("How did I lose?!"),false,0,false,0)
When I got to battle this second Grunt in the game I get asked to define a new trainer named TEAMSKY_M,Grunt,1 but I tried doing that and the game asked me to do it again the next time I tried the battle. If anyone could help me figure out what I'm doing wrong I'd be very grateful.