- 4
- Posts
- 3
- Years
- Seen Feb 11, 2022
So, I've made an event where you fight 3 Alolan Muks, however, if you lose to a Muk and go to the Pokémon Center, the Muk battle automatically initiates.
Here's my script (I tried to translate it to english):
Then the code repeats itself 2 more times, only slightly changing the movements and the levels of the Muk.
Here's my script (I tried to translate it to english):
Code:
Move Event : [MUK LEFT]
: Move up
: Look to the right
Wait for end of the movement
Script: Pokemon.play_cry(:MUK)
Text: MUK!!!
Switch Controls : [0032: Fateful encounters] = ON
Script: pbWildBattle(:MUK_1,12)
Switch Controls : [0032: Fateful encounters] = OFF
Variable Controls : [0028: alolan muks battled] +=1
Heal All : Entire Group
Wait 6 frames
Then the code repeats itself 2 more times, only slightly changing the movements and the levels of the Muk.