• 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.
hinkage
Reaction score
57

Profile posts Latest activity Postings About

  • Yeah, you need to find the offset of the dialog box data in RAM.

    You said you were working with Emerald, yes? The offset of the first dialog box's data is 0x02020004. Within that data, byte 1 (0x02020005) controls the X and byte 2 (0x02020006) controls the Y.

    Note that they define the position of the text. The frame position is calculated relative to the text position. So values of 0x00 and 0x00 will actually cut off the left and top edges of the box frame.
    0x0 is the top-left corner of the screen. You would use two writebytetooffset commands with different offsets specified; one to write the X, and the other to write the Y.
    writebytetooffset 0xVV 0xWWXXYYZZ

    0xVV is the byte to write, and 0xWWXXYYZZ is the location to write it to.

    Btw if you press F1 while in XSE, you can view the arguments of any command.
    Writebytetooffset is should be all you need, though you'll need to actually write to the correct bytes. Assuming that they made no changes to the dialog box RAM structure -- and why would they? -- the first byte of the structure denotes if the dialog is in use (0xFF if unused, 0x00 if in use) and the next two denote X and Y position, respectively. The positions aren't measured in tiles, they're measured in 8px increments.

    Do a RAM search for ten or so consecutive copies of this, and you should find the dialog RAM: FF 00 00 00 00 00 00 00 00 00 00 00

    Keep in mind that the earliest one of those you find (assuming no dialogs of any kind are currently on-screen at all) will be the second slot. The first slot always has valid data, even if it's not presently visible.
    lmao thanks for the criticism but if you look at my recent maps is the same rom soo...yea...but thanks man for the advice
    Most of the info is in here:
    http://www.pokecommunity.com/showthread.php?t=204961

    Basically, every dialogue box gets a twelve-byte structure in RAM. The structure for the normal, script-usable dialogue box is always kept at 0x020204B4, even if the box isn't visible... So you can use the script command "writebytetooffset" to modify the structure in memory and move the box.

    You'd want to use writebytetooffset before actually showing the box. The game only pays attention to the X and Y bytes when drawing the box on the screen, and when erasing it from the screen.
    hey sorry for the late reply (I wasn't on pokecommunity lately) but I HAVE indeed finished your hack, extremely entertaining as I said before :)
    That's where I get all mine, too... Hm, that's odd :P

    I guess I'll figure out something anyway :)

    Yeah, in that case you may as well just submit it and we'll see how it goes.
    I've tried to patch the file with two separate patchers and to no avail. With Tsukyomi I got "Input Checksum is invalid", and with another called NUPS I got "the files do not match". I then realised (/facepalm) that it was probably an expanded ROM, given that the patch format was UPS (because otherwise IPS would suffice), but after expanding an Emerald ROM I still got nothing. The only other thing I can think of right now is that I have a different region version of the Emerald ROM or something, but I'm not really prepared to download loads of ROMs from shady sites... Any ideas on what I could do next, perhaps? :)
    Hm.. Well... I'm not sure, to be honest. I'd kinda have to see it first to see if it'd fit in Research and Development; generally for that you need a sloid enough basis for your research, even if you're aiming for people to submit info anyway. I know that might seem unreasonable but otherwise we'd be getting loads of people posting topics asking for "only experienced hackers research plz". This way is more fair- you do the foundation work (to a reasonable extent) yourself, then others chip in with their knowledge.

    The only real way I can know if your thread would be viable is if I were to see it (so you'd have to submit it)- feel free to submit your thread, and I'll see whether it'll fit or not.

    Also, regarding your hack thread... (sorry, been a bit busy and some VMs/PMs just slip past me); in this regard, "progress" doesn't mean story progression, but general work on the hack (touch-ups, error corrections, and so on). "The hacks we're used to" are the hacks that have met the standards that we've set for the showcase.
    But I'm not saying your hack won't ever fit the showcase. In fact I think I'll play it now and see what further insight I can get on it.
    Forgetting to reply to your PM because of having a ton of schoolwork to catch up with as well as trying to plan a new hack =/= idiot.
    Go home.
    I might try your hack out one day, after I like Pokemon Emerald ROM Hacks even though the only one out there that's finished that I know is Flora Sky. Your ROM Hack doesn't even look that bad, I don't even know why everyone is complaining about it.
    Yeah but instead of trashing someones work, there's something called criticism
    But face it, your kinda being a hypocrite (however that's spelled)
    You start a war over on your thread when someone was helping you but you litterally trash another dudes thread
    Flora Sky and Light Platinum creators probably worked as hard as you did,but there's a difference,they never trashed anyone elses work. ;)
  • Loading…
  • Loading…
  • Loading…
Back
Top