The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Script Pokedex from the beginning itself

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 8th, 2020 (8:35 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 want to know hoe to get Pokedex from the beginning itself and not like collecting it from professor.
THANK YOU...
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old November 9th, 2020 (4:59 AM).
mcferaligatr's Avatar
mcferaligatr mcferaligatr is offline
 
Join Date: Nov 2018
Posts: 120
Here's the script that makes you obtain the pokedex:

#dynamic 0x800000
#org @start
lock
setflag 0x829
msgbox @obtained 0x5
compare lastresult 0x1
if 0x1 goto @yes
release
end

#org @obtained
= Got the pokedex!\pWant to upgrade to\nnational dex?

#org @yes
special 0x16F
release
end

'------------------

setflag 0x829 enables normal pokedex, and special 0x16F enables national dex. If you want to obtain pokedex at the beginning you could make it appear as an interactive item or you could make a type 03 level script with commands "setflag 0x829" and "special 0x16f" to obtain them from the get go without any item interaction.
Reply With Quote
  #3   Link to this post, but load the entire thread.  
Old November 9th, 2020 (9:42 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
Level script, Isn't it ?
Thank you ❤️
Reply With Quote
  #4   Link to this post, but load the entire thread.  
Old November 15th, 2020 (1:59 AM).
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
Will dynamic change to #org, it happens to me always
Reply With Quote
  #5   Link to this post, but load the entire thread.  
Old November 15th, 2020 (4:45 AM).
mcferaligatr's Avatar
mcferaligatr mcferaligatr is offline
 
Join Date: Nov 2018
Posts: 120
#dynamic 0x800000 looks for free space in the 0x800000 memory area, and it makes it easier for you to find an offset than to manually open up the game in a hex editor to check for free space.

The #dynamic changes to org because when that command finds free space it automatically puts it in place of #org.

Here's a tip, you can use #removeall 0x(script offset) if you want to remove a script you've already compiled (to make changes to it or to erase it completely)

Just write #removeall 0x(script offset) and compile that.
Reply With Quote
  #6   Link to this post, but load the entire thread.  
Old November 15th, 2020 (5:40 AM).
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
Quote:
Originally Posted by mcferaligatr View Post
#dynamic 0x800000 looks for free space in the 0x800000 memory area, and it makes it easier for you to find an offset than to manually open up the game in a hex editor to check for free space.

The #dynamic changes to org because when that command finds free space it automatically puts it in place of #org.

Here's a tip, you can use #removeall 0x(script offset) if you want to remove a script you've already compiled (to make changes to it or to erase it completely)

Just write #removeall 0x(script offset) and compile that.
thank you
Reply With Quote
  #7   Link to this post, but load the entire thread.  
Old November 17th, 2020 (8:17 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
Quote:
Originally Posted by mcferaligatr View Post
#dynamic 0x800000 looks for free space in the 0x800000 memory area, and it makes it easier for you to find an offset than to manually open up the game in a hex editor to check for free space.

The #dynamic changes to org because when that command finds free space it automatically puts it in place of #org.

Here's a tip, you can use #removeall 0x(script offset) if you want to remove a script you've already compiled (to make changes to it or to erase it completely)

Just write #removeall 0x(script offset) and compile that.
is it above the lines above #org ?

#removeall 0x(current script offset or last script offset?)
----------
#dynamic 0x800000


this is the format?
I think C++ is easier than XSE at some points 😄
Reply With Quote
  #8   Link to this post, but load the entire thread.  
Old November 18th, 2020 (12:32 AM).
mcferaligatr's Avatar
mcferaligatr mcferaligatr is offline
 
Join Date: Nov 2018
Posts: 120
Here is how I use the #removeall, I save it as a separate script, and do not put it in the same place where my initial script was (in your case the pokedex script).

Here is the scriptremover script:

'-----------------------

#removeall 0xOffsetYouWantToRemove

'----------------------

And that's essentially it, just one line in a script. So, separate #removeall and save it as something like "scriptremover".
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.