• 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.

Help Thread: Quick Questions & Answers

Status
Not open for further replies.
3,830
Posts
14
Years
    • Age 27
    • OH
    • Seen Feb 26, 2024
    Super simple question. Say I made a script and compiled it into the ROM, but a few days later I decided to scratch the script completely and start over with a new one. The thing is, that original script that i made was quite large.

    Is there any special XSE command or something that will make removing the script from my ROM hack easier or is it better to just ignore it and make a new script in another part of the ROM?

    There is a very simple command in XSE. It's #removeall, to be used like this:
    Code:
    #removeall 0x[offset of script to erase]

    This command will overwrite the old script with the freespace byte that XSE associates with the ROM. So for Emerald do make sure to use the #freespace command.

    Did Gamefreak not have different people working on different things at the same time that's why there are free space gaps? You could prearrange what space to use to make sure you don't overwrite each others data.

    GameFreak wasn't working with raw data. They used various source code files which there then compiled and linked into the ROM data as we interact with it by a compiler. A lot of the "data" didn't have a preset location in the ROM while it was still being written (hence why games such as LeafGreen and FireRed don't have the same offsets for everything). ROM hacking and programming aren't exactly the same thing.

    Now, he could certainly agree with his partner to work on specific sections only, but the fact of it is that not all tools (especially those designed to be beginner friendly) will tell you exactly where and how much space they are using/writing to.
     

    Blah

    Free supporter
    1,924
    Posts
    11
    Years
  • Hey guys, I recently picked up XSE, and I've already run into a little-big issue.
    Spoiler:


    it's particularly this part:
    Code:
    special2 0x800D 0xD4
    compare 0x4014 0x8006
    if 0x0 goto @reward
    In memory viewer, both are equal (and I use copyvar too, so they should be equal for the second time the script is run). Yet, it will always do the "goto @reward". I suspect variable 0x4014 is being compared to the value 0x8006 instead of the actual variable 0x8006. If this is the case, how would I be comparing variables in XSE (the command help suggests that this is the way). I about to write ASM to do it for me, so hopefully someone has a solution!
     
    3,830
    Posts
    14
    Years
    • Age 27
    • OH
    • Seen Feb 26, 2024
    Hey guys, I recently picked up XSE, and I've already run into a little-big issue.
    Spoiler:


    it's particularly this part:
    Code:
    special2 0x800D 0xD4
    compare 0x4014 0x8006
    if 0x0 goto @reward
    In memory viewer, both are equal (and I use copyvar too, so they should be equal for the second time the script is run). Yet, it will always do the "goto @reward". I suspect variable 0x4014 is being compared to the value 0x8006 instead of the actual variable 0x8006. If this is the case, how would I be comparing variables in XSE (the command help suggests that this is the way). I about to write ASM to do it for me, so hopefully someone has a solution!

    You're right in your suspicions. Variable 0x4014 is being compared with the value 0x8006. "compare" (command 0x21) compares a variable with a value. In order to compare two variables, you need to use command 0x22, called "comparevars" in XSE.
     

    Blah

    Free supporter
    1,924
    Posts
    11
    Years
  • You're right in your suspicions. Variable 0x4014 is being compared with the value 0x8006. "compare" (command 0x21) compares a variable with a value. In order to compare two variables, you need to use command 0x22, called "comparevars" in XSE.

    lol, I have no idea why I couldn't find that in command help. It was the next command down :P
    Thanks a lot :)
     
    15
    Posts
    8
    Years
  • Anyone know what flag is set to put Bill's name on pc's in fire red?
    I can't find a script on pc's with A-Maps and XSE and there is a whole bunch of flags in Bill's script don't know which one.
     
    11
    Posts
    8
    Years
    • Seen Feb 18, 2017
    How do you change the professor intro in Emerald?
    Thank you for your time if you decided to answer.
     
    3,830
    Posts
    14
    Years
    • Age 27
    • OH
    • Seen Feb 26, 2024
    Hi Everyone! Does anyone know how the casino underground stairs show up in celadon city?

    The script for the poster sets a flag when first interacted with, and then uses the setmaptile command to make the stairs appear the first time. In a level script (of the "setmaptile" type) it checks for said flag so that when the player returns to the map it will hide the stairs if said flag has not been set.
     

    Marky Vigoroth

    ...I just liked the Skarmory icon.
    171
    Posts
    8
    Years
  • How do I write a new move description using using Gen 3 Tools? I know that I would need to search for new blank space; the problem is getting more than 0 or 1 free characters.
     
    417
    Posts
    9
    Years
    • Seen Nov 20, 2016
    I may be blind, but does anyone know which saveblock the player "facing" is located? (up down left right) I can't seem to find anything besides X & Y position.
     

    marcc5m

    what
    1,116
    Posts
    13
    Years
  • Having some difficulty expanding the Pokedex with G3HS.

    This happens when I catch Turtwig: http://prntscr.com/8g1y2t
    For some reason it's always Ratatta.
    When I check the Pokedex afterwards though things are normal: http://prntscr.com/8g1z5y
    And this happens if I catch it without having Ratatta's seen data on the dex: http://prntscr.com/8g1zex
    (The game crashes at that last screen).
     
    Last edited:

    Cataclyptic

    Everything I say is a lie
    170
    Posts
    9
    Years
  • Hey all, I'll try asking again in here this time since I'd really like this done. How do I make the move animations for two turn moves like Solarbeam and Razor Wind play as one animation in one turn? If anybody can answer, this would be much appreciated.
     

    Sopheria

    響け〜 響け!
    4,904
    Posts
    10
    Years
  • Hey guys! I'm having a problem with one of my maps, so I was hoping someone could maybe point me in the right direction, if you've seen something like this before?

    I'm working off Mr. Doll Steak's Decap & Attack FireRed Rombase, and in addition, I've also patched it with this autumn tileset. The result: I created a town which looks just fine in AdvanceMap:

    Spoiler:


    But once I start up the game using VBA and step outside my house, this is what I get instead:
    Spoiler:


    Anybody know what this is and how I can fix it? I've only just started romhacking and this is the first time I've ever done a map, so please feel free to assume that I'm a total dummy and that I probably made a total newbie mistake or missed something obvious.

    Thanks!
     
    1,344
    Posts
    14
    Years
    • Seen Dec 10, 2021
    Hey guys! I'm having a problem with one of my maps, so I was hoping someone could maybe point me in the right direction, if you've seen something like this before?

    I'm working off Mr. Doll Steak's Decap & Attack FireRed Rombase, and in addition, I've also patched it with this autumn tileset. The result: I created a town which looks just fine in AdvanceMap:

    Spoiler:


    But once I start up the game using VBA and step outside my house, this is what I get instead:
    Spoiler:


    Anybody know what this is and how I can fix it? I've only just started romhacking and this is the first time I've ever done a map, so please feel free to assume that I'm a total dummy and that I probably made a total newbie mistake or missed something obvious.

    Thanks!
    Check warps are correct.
     
    22
    Posts
    8
    Years
    • Seen Apr 3, 2016
    Hello,
    Recently I started woking with JPAN's hacked engine, and I have a doubt about it.
    I know he changed the sethealingplace command and I guess I understood how it works without problems.
    It substitutes sethealingplace 0x0 for variables 405a, 405b and 405c, right?
    But how about sethealingplace 0x1? How do I use its functions?
    Thx in advance!
     
    22
    Posts
    8
    Years
    • Seen Apr 3, 2016
    Anyone know what flag is set to put Bill's name on pc's in fire red?
    I can't find a script on pc's with A-Maps and XSE and there is a whole bunch of flags in Bill's script don't know which one.

    It's the flag 0x834

    If it's unset, you have 'Someone's PC', if it's set, you have 'Bill's PC'

    I hope I could be useful
     

    NoWun

    Guest
    0
    Posts
    Hello. I wanted to learn how to change character sprite not only for the world but for battling as well. I mean how i can i play with another character apart the male or female hero on pokemon heartgold and do all the things that i do like the normal male/female hero. I want also to ask where i can find the tools and the sprites to make this possible.
     

    Blah

    Free supporter
    1,924
    Posts
    11
    Years
  • How do you change the professor intro in Emerald?
    Thank you for your time if you decided to answer.

    What part exactly? If you're looking to add stuff you'll have to write your custom code, then edit the callbacks. To remove things, it's much simpler and is just a matter of changing the callbacks! To do any of these you'll need IDA and the Emerald IDB, as well as a disassembler and some knowledge of ASM.

    How do I write a new move description using using Gen 3 Tools? I know that I would need to search for new blank space; the problem is getting more than 0 or 1 free characters.

    Please expand. The free space just needs to be 0xFF. If the tool is saying your description is too long, manually repoint it. Strings have no length limits (except RAM space they take up, so you may need to change some routine code too, anyways..).

    How do I replace the battle boxes in Emerald?
    unlz GBA

    Having some difficulty expanding the Pokedex with G3HS.

    This happens when I catch Turtwig: http://prntscr.com/8g1y2t
    For some reason it's always Ratatta.
    When I check the Pokedex afterwards though things are normal: http://prntscr.com/8g1z5y
    And this happens if I catch it without having Ratatta's seen data on the dex: http://prntscr.com/8g1zex
    (The game crashes at that last screen).
    You haven't expanded Habitat pages I think. There is no habitat page for that specific pokemon, so you get a nice crash.
     

    Sun

    When the sun goes down...
    4,706
    Posts
    10
    Years
    • Seen Jan 20, 2017
    Spoiler:

    I'm a complete beginner in rom hacking, please help! The correct tile as seen from the FireRed rom (right pic) isn't showing at the Emerald rom I'm hacking (left pic); it's showing a magenta tile.

    A little info that might help: I got the FireRed tile for my Emerald hack through the FireRed rom itself by loading the tileset from AM's Block editor.

    Thanks in advance!
     
    Status
    Not open for further replies.
    Back
    Top