• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • 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:
  • 29
    Posts
    9
    Years
    • Seen Jul 11, 2014
    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:
  • 287
    Posts
    11
    Years
    You're free to do whatever you want, but I vastily recommend you start using XSE, for 3 reasons:
    1. Better
    2. More people that use it, therefore more help
    3. It's eXtreme! ^_^
     
    Back
    Top