• 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.
  • Dawn, Gloria, Juliana, or Summer - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • 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.

[Other] Wild Encounter Script

  • 57
    Posts
    10
    Years
    • Seen Jul 11, 2014
    Hi! I want to ask you what is the script for this:
    == it is written as SCRIPT EVENT, whereas when the PLAYER steps on that SCRIPT, PLAYER starts to show ALERT ICON, then there will be a MESSAGE, then a WILD BATTLE, then MESSAGE again and that Pokémon will set a flag and Var, this is my script but only the ALERT ICON, and MESSAGE(1) appeared but not the wild battle and message, setvar and setflag.... Im using PKSV

    #dynamic 0x740000

    #org @start
    applymovement PLAYER @move
    msgbox @text
    callstd 0x6
    wildbattle 0x6 0x40
    msgbox @text2
    callstd 0x6
    setflag 0xAAA
    setvar 0x4050 0x3
    end

    #org @text
    =

    #org @text2
    =

    #org @move
    M alert end


    please ... whats wrong for that? or a revision for that..
     
    Last edited:
    wildbattle 0x6 0x40

    I'm not sure what version you're using, I've only had experience with Emerald. I've also never had experience with PKSV, only XSE, but try:

    wildbattle 0x6 0x40 0x0
     
    Last edited:
    Back
    Top