• 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] Need help fixing strange scripting issue.

4
Posts
11
Years
    • Seen Jan 7, 2015
    So im trying to set up custom trainer battles
    and the script works when i have it so that
    you have to talk to the NPC to start the script/battle,
    but if i set a view radius in advance map so that they
    approach the player, i get what happens in the attached screenshot

    here is the script im using to make the trainer work:

    #dynamic 0x800000

    #org @begin
    lock
    trainerbattle 0x0 0x2AA 0x0 @challenge @win
    msgbox @after MSG_NORMAL '"Only pimps have plastic bags!"
    end


    '---------
    ' Strings
    '---------
    #org @challenge
    = Hey someone got in!\nTime to show em how i pimp!

    #org @win
    = The Guys ahead of me are a lot\nstronger!

    #org @after
    = Only pimps have plastic bags!



    So what could be causing this issue and how do i fix it?
     
    Back
    Top