The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Script Could anyone explain what are script offsets...

Notices
For all updates, view the main page.

Binary ROM Hacking Need a helping hand or just want to talk about binary ROM hacks? Get comments and answers to any ROM Hacking-related problems, questions or thoughts you have here.

Ad Content
Reply
 
Thread Tools
  #1   Link to this post, but load the entire thread.  
Old November 14th, 2020 (10:25 PM).
MM980's Avatar
MM980 MM980 is offline
"You said you have a dream...That dream...Make it come true ! Make your wonderful dream a reality, and it will become your truth ! If anyone can, it's you !"
 
Join Date: Nov 2020
Location: Kerala,India
Age: 16
Gender: Male
Nature: Sassy
Posts: 118
I would be happy if anyone can explain about script offsets and how to give which offset to an event...
Thank You
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old November 15th, 2020 (4:50 AM).
mcferaligatr's Avatar
mcferaligatr mcferaligatr is offline
 
Join Date: Nov 2018
Posts: 120
Script offsets are places where each compiled script is located. Lets say #dynamic 0x800000 found free space at 0x810000 to compile your script.

The script starts at 0x810000 , and that is the number you assign to events.

If you don't want to use #dynamic, you can use free space finder, or upen up the rom in a hex editor, navigate to 0x800000 and look for free space "FF" bytes.
Reply With Quote
  #3   Link to this post, but load the entire thread.  
Old November 15th, 2020 (8:36 PM).
MM980's Avatar
MM980 MM980 is offline
"You said you have a dream...That dream...Make it come true ! Make your wonderful dream a reality, and it will become your truth ! If anyone can, it's you !"
 
Join Date: Nov 2020
Location: Kerala,India
Age: 16
Gender: Male
Nature: Sassy
Posts: 118
if i dont use #dynamic 0x800000, I can check free space in free space finder and then type in #org 0xoffset, correct?
Reply With Quote
  #4   Link to this post, but load the entire thread.  
Old November 15th, 2020 (9:13 PM).
Pyxal's Avatar
Pyxal Pyxal is offline
It's pronounced pixel.
 
Join Date: Jul 2019
Location: Pakistan
Age: 17
Posts: 987
Quote:
Originally Posted by MM980 View Post
if i dont use #dynamic 0x800000, I can check free space in free space finder and then type in #org 0xoffset, correct?
You can, but it's to tedious.
__________________
Reply With Quote
Reply

Quick Reply

Join the conversation!

Create an account to post a reply in this thread, participate in other discussions, and more!

Create a PokéCommunity Account
Ad Content

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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