• 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!
  • Which Pokémon Masters protagonist do you like most? Let us know by casting a vote in our Masters favorite protagonist poll 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.

[Battle] Pokemon Emerald Rom

  • 3
    Posts
    4
    Years
    I just started trying to make some changes to pokemon Emerald and everything has been going well until now. One of two things is happening. I either get a crash message that says "The game has crashed with the following error: Jumped to invalid address 1C101C10. The second thing is the trainer will just say his already defeated text and wont start the battle.

    #dynamic 0x800000

    #org @start
    lock
    faceplayer
    trainerbattle 0x0 0x360 0x0 @introText @winText
    msgbox @alreadyDefeated 0x6
    release
    end

    #org @alreadyDefeated
    = That prize is sure to be yours\nwith that kind of strength.

    #org @winText
    = Guess my pokemon couldn't hold\ntheir ground!

    #org @introText
    = Do you feel the ground shaking?

    That is the script for the first issue.

    #dynamic 0x800000
    #org @start

    trainerbattle 0x1 0x368 0x0 @introText @winText @continue
    msgbox @alreadyDefeated 0x6
    release
    end

    #org @continue
    release
    end

    #org @alreadyDefeated
    = Good fight!

    #org @winText
    = That was fun!

    #org @introText
    = Hellow lets fight!

    That is the script for the second issue. Any help would be much appreciated.
     
    Because Your'e Using the same Pointer(@)
    example. You use @Alreadybattle
    You can't use it again...
    Explanation For that is because..
    If you Compile two Script with the same pointer(@) you will get the same Pointer example

    script 1: #org 0x8528407
    script 2: #org 0x8528407

    The script thinks that it's already executed.
    maybe change your Offset,
    or Change the pointer every script.

    Example.
    @a1, @a2, @a3, @a4 and so on.
    It's a bit Confusing but it will clean your Work...And make less trial and error..that's it..if isn't work..Sorry :p
     
    I just tried to change it to what you suggested it it still is giving me the same error. This is like the 12th trainer I have added to the game so not sure what would be making it not work now.
     
    Last edited:
    I figured it out you can't go over a certain amount of trainers. Not sure the exact number but in advanced trainer the number for the ID is 35F.
     
    Back
    Top