• 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.
  • 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!
  • Cyndy, May, Hero (Conquest), or Wes - 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.

[Script] XSE Not Compiling

  • 32
    Posts
    11
    Years
    • Seen Aug 27, 2018
    So this is making really mad as it is the last thing needed for my project. I couldn't get a trainer battle to work then I saw that in pokemon you cant rewrite a longer message than the original. So I used free space funder on the emerald rom and found an offset. I changed the advanced map offset to this new one and wrote the script. Now when I compile and open it up again it all is gone. Pls help.

    Here is my script.

    dynamic 0x800000

    '---------------
    #org 0x23CA49
    trainerbattle 0x0 0x126 0x0 0x823CB14 0x823CB58
    msgbox 0x823CB75 MSG_NORMAL '"RED: Wow, you beat me. It seems I\..."
    end


    '---------
    ' Strings
    '---------
    #org 0x23CB14
    = RED: Well if it isn't the champ!\pI was just on my way to KANTO.\nYou saved the region, no?\pWhat?\nA battle? Hahaha\pFine then, just be warned.\nI won't hold back!\pShow me the power of a\nHOENN CHAMPION!!

    #org 0x23CB58
    = ..................

    #org 0x23CB75
    = RED: Wow, you beat me. It seems I\nneed more training.\pMaybe Mt. Silver?\nHmm.... \p[player]!!!\n Keep training and keep battling. The \pPOKéMON world is big and full of\nchallenges!\p BON VOYAGE!
     
    Use dynamic offsets.
     
    Searching for free space in Pokémon Emerald 0x800000 is generally not good practice. 0x800000 is generally used for FR/LG.

    The true free space offsets in a clean Pokémon Emerald ROM are as follows:

    Code:
    0x9C0B20 to 0xAFFFFF
    0xB98B30 to 0xBFFFFF
    0xD3CEA0 to 0xD437EF
    0xDE4018 to 0xE3CF48
    0xE3CF64 to the end of the ROM

    Taking the above into consideration, you would want your script to read something like this:

    Spoiler:
     
    Searching for free space in Pokémon Emerald 0x800000 is generally not good practice. 0x800000 is generally used for FR/LG.

    The true free space offsets in a clean Pokémon Emerald ROM are as follows:

    Code:
    0x9C0B20 to 0xAFFFFF
    0xB98B30 to 0xBFFFFF
    0xD3CEA0 to 0xD437EF
    0xDE4018 to 0xE3CF48
    0xE3CF64 to the end of the ROM

    ...aaaannnd this is why people hack FireRed.

    Also, side note, but...
    Red talks?!
     
    Back
    Top