• Do not use Discord to host any images you post, these links expire quickly! You can learn how to add images to your posts here.
  • Congratulations to all of the game jam participants! 🥳 The winners have all been decided and announced.
    If you haven't yet, check out the entries for Eevee Expo's Game Jam here!
  • Reminder: AI-generated content is not allowed on the forums per the Rules and Regulations. Please contact us if you have any questions!

Using move on switch-in stops move use during turn

LuckyLuri

Rookie
Member
Joined
Aug 28, 2024
Posts
1
So I’ve got a couple abilities that use certain moves on switch in. But because it calls the move itself for the ability through pbUseMoveSimple, it counts as the Pokemon’s move selection before the turn begins which makes them unable to use any selected moves during the turn.

Is there any way to prevent this? Either through changing the abilities themselves or by adjusting how the attack phase factors into it.
 
there is a variable that records if the battler moved or not this round, try to find that variable.
i am sorry I cant directly tell you what it is since I cant remember that exactly.
 
Back
Top