• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking here.
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Eventing Question] Battles continue after losing (v19.1)

  • 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):

    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.
     
    Back
    Top