• 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!
  • Dawn, Gloria, Juliana, or Summer - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • 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
    12
    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