rh-hideout / pokeemerald-expansion

Feature branches for the pokeemerald decompilation. See the wiki for more info.
305 stars 815 forks source link

Fix AI's right slot switching-in too early #4851

Closed DizzyEggg closed 1 week ago

DizzyEggg commented 1 week ago

Fixes #4656

I didn't have to do much, because the code functionality for this is already coded! In link battles, everyone chooses their switches and then the mons are switched-in, so this functionality is now also added for trainer double battles.

I created a new config, but can rename/delete it if you guys feel it's unnecessary.

I also got rid of the Link label in scripts, since it'll no longer be used just for link battles. Note: Please squash when merging Before: before

After: after