The PokéCommunity Forums

The PokéCommunity Forums (https://www.pokecommunity.com/index.php)
-   Binary ROM Hacking (https://www.pokecommunity.com/forumdisplay.php?f=284)
-   -   Other Offset confusion. [ANSWERED] (https://www.pokecommunity.com/showthread.php?t=325720)

Oddball20007 May 7th, 2014 2:16 PM

Offset confusion. [ANSWERED]
 
I'm trying to do some simple test with several tools as I plan to take up ROM hacking, however I have come across a problem that I can't solve on my own.

I use Advance map (1.95) and Score_Under's PKSV_UI.

Heres where I'm confused
Spoiler:

Advance maps Script Offset:
001E8022

SCRIPT:
#org 0x81E8022
'-----------------------------------
msgbox 0x81E8ACF ' If you use a PC, you...
callstd MSG_FACEPLAYER ' Builtin lock/faceplayer
end


#org 0x81E8ACF
= If you use a PC, you can store items\nand POK\eMON.\pThe power of science is staggering!

So if I read correctly the Offset is where the script is stored. Yet I don't see anywhere in the actual script that says the Offset. Help?!!

Christos May 7th, 2014 2:53 PM

I'm not sure what you're trying to say, but the part in the script that "says" the offset is the top part, #org 0x81E8022. Perhaps you're confused by the number 8 in front of the offset? The proper offset is the 6 numbers after 8, when you're scripting, even if you don't type in the 8, everything should work fine.

Kakarot1212 May 7th, 2014 3:27 PM

Quote:

Advance maps Script Offset:
001E8022 SCRIPT:
#org 0x81E8022

'-----------------------------------
msgbox 0x81E8ACF ' If you use a PC,
you...
callstd MSG_FACEPLAYER ' Builtin lock/faceplayer
end

#org 0x81E8ACF
= If you use a PC, you can store items
\nand POK\eMON.\pThe power of
science is staggering!
As Spheal said, there's your OFFSET.

Oddball20007 May 8th, 2014 9:33 AM

Uh... way to make me feel super dumb. I noticed that they were the same, but the first couple numbers confused the hell out of me. Welp! Thanks! :D


All times are GMT -8. The time now is 9:12 AM.


Like our Facebook Page Follow us on Twitter © 2002 - 2018 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2016 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.

Acknowledgements
Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2023.