The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Other Please help me! National dex script

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 August 14th, 2014 (1:04 PM).
WAFFAHOUSE WAFFAHOUSE is offline
 
Join Date: Aug 2014
Posts: 25
Sup poke maniacs! I'm developing a FR rom hack and I need help with the script editing of adding the national dex at the beginning of game. I'd like oak to give it when he gives normal one but I will settle for another person event if need be. I've searched everywhere ad the only info I can find is on pokecommunity ... But the steps I'm following don't seem to work.. Please if you know anything about scripting/hacking please contact me. I will even put you in the credits of my game lol jus someone please help me get this figured out... I've been trying to do so for over 2 wks now and I've ran I to a roadblock.
Thanks
Waffahouse

Ps
My email is [email protected] if we can't get in touch somehow. Once again thanks you if you took the time to read this.
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old August 14th, 2014 (3:13 PM).
iv0's Avatar
iv0 iv0 is offline
 
Join Date: Mar 2014
Gender: Male
Posts: 145
You can use special 0x16F.
__________________

Reply With Quote
  #3   Link to this post, but load the entire thread.  
Old August 14th, 2014 (4:22 PM).
WAFFAHOUSE WAFFAHOUSE is offline
 
Join Date: Aug 2014
Posts: 25
Thanks for the reply! Your the only person in two wks that responded to me! I've tried that code b4 but maybe I'm not putting it in correctly... Where do I insert it at exactly? And with what tool? Currently I'm using pksv, advanced map, and gen 3 hacking suite
Thanks again!
Waffa
__________________
POKeMON CREEPY BLACK
Reply With Quote
  #4   Link to this post, but load the entire thread.  
Old August 14th, 2014 (4:34 PM).
iv0's Avatar
iv0 iv0 is offline
 
Join Date: Mar 2014
Gender: Male
Posts: 145
Quote:
Originally Posted by WAFFAHOUSE View Post
Thanks for the reply! Your the only person in two wks that responded to me! I've tried that code b4 but maybe I'm not putting it in correctly... Where do I insert it at exactly? And with what tool? Currently I'm using pksv, advanced map, and gen 3 hacking suite
Thanks again!
Waffa
XSE in my opinion is better than pksv. I know nothing about pksv, sorry. The sample script in XSE is:

Code:
#dynamic 0x800000
#org @start
lock
special 0x16F
release
end
__________________

Reply With Quote
  #5   Link to this post, but load the entire thread.  
Old August 14th, 2014 (4:38 PM).
WAFFAHOUSE WAFFAHOUSE is offline
 
Join Date: Aug 2014
Posts: 25
I've got xse too. Jus really a noob to all this i started rom hacking like 2 wks ago.... So I copy what you wrote... Paste it in xse and then what? I can't compile without poke script right? And I can't seem to find it AnYWHErE online lol sorry for being so noobish lol but after I copy ur code into xse then what? Once again, sorry
__________________
POKeMON CREEPY BLACK
Reply With Quote
  #6   Link to this post, but load the entire thread.  
Old August 14th, 2014 (4:41 PM).
WAFFAHOUSE WAFFAHOUSE is offline
 
Join Date: Aug 2014
Posts: 25
Also, do I need to go to advanced map first and open oak script and THEN open xse ? Thanks for the help I will add you to my credits to my rom hack hahhahaha
I am doin it by myself . Self taught lol and nobody has been willing to help me until now. Thanks a lot dude I seriously appreciate it
__________________
POKeMON CREEPY BLACK
Reply With Quote
  #7   Link to this post, but load the entire thread.  
Old August 14th, 2014 (4:59 PM).
iv0's Avatar
iv0 iv0 is offline
 
Join Date: Mar 2014
Gender: Male
Posts: 145

Follow this and Select XSE.
Open the offset with XSE, to compile you need to press it

And your new compiled offset appears here:
__________________

Reply With Quote
  #8   Link to this post, but load the entire thread.  
Old August 14th, 2014 (5:06 PM).
WAFFAHOUSE WAFFAHOUSE is offline
 
Join Date: Aug 2014
Posts: 25
Awsome! Thanks! I'll try now! Oh hey so another (dumb) question I guess.... So step by step what do I do. .. Tell me if I'm wrong on this.... Open advanced map. Select xse as default script editor. Then what exactly do I do? Do I open the oak script (via open script button in advanced map) then copy your code in the original oak script and then compile. And then go back to advanced map and past new offset on oak script? Thanks!
__________________
POKeMON CREEPY BLACK
Reply With Quote
  #9   Link to this post, but load the entire thread.  
Old August 14th, 2014 (5:08 PM).
WAFFAHOUSE WAFFAHOUSE is offline
 
Join Date: Aug 2014
Posts: 25
And do I click yes or no when I set xse as default script editor?
__________________
POKeMON CREEPY BLACK
Reply With Quote
  #10   Link to this post, but load the entire thread.  
Old August 14th, 2014 (5:37 PM).
iv0's Avatar
iv0 iv0 is offline
 
Join Date: Mar 2014
Gender: Male
Posts: 145
I'm not sure, but if what I'm thinking is I think you have to click no. I'm sure you can search in google, because I saw that one guy explaining this, but can not remember what it was.
you're doing it right, but it may have some problem with the script of the oak in the future.
__________________

Reply With Quote
  #11   Link to this post, but load the entire thread.  
Old August 14th, 2014 (5:43 PM).
WAFFAHOUSE WAFFAHOUSE is offline
 
Join Date: Aug 2014
Posts: 25
So would it be better if I added a new person event to give the nat dex? Instead of using oak? I don't want to cause issues in my rom.... Also, does it matter if I use a script or person event in advanced map? Or does it have to be a person event? Thanks you! I won't attempt any of this until I get confirmation from you. I don't wnna screw anything up
__________________
POKeMON CREEPY BLACK
Reply With Quote
  #12   Link to this post, but load the entire thread.  
Old August 14th, 2014 (5:51 PM).
iv0's Avatar
iv0 iv0 is offline
 
Join Date: Mar 2014
Gender: Male
Posts: 145
Quote:
Originally Posted by WAFFAHOUSE View Post
So would it be better if I added a new person event to give the nat dex? Instead of using oak? I don't want to cause issues in my rom.... Also, does it matter if I use a script or person event in advanced map? Or does it have to be a person event? Thanks you! I won't attempt any of this until I get confirmation from you. I don't wnna screw anything up
As you are a beginner you may suddenly do something wrong in the extensive oak script. It is your choice if it is a person event or script tile event. I recommend you read these tutorials:
http://www.pokecommunity.com/showthread.php?t=164276
http://www.pokecommunity.com/showthread.php?t=302347
Can bet, almost all I know about script is there.
__________________

Reply With Quote
  #13   Link to this post, but load the entire thread.  
Old August 14th, 2014 (6:00 PM).
WAFFAHOUSE WAFFAHOUSE is offline
 
Join Date: Aug 2014
Posts: 25
Thanks will do! I'm attempting to edit script for new person event now but there is no script since it's a new event I guess.... It won't let me push open script button. God I'm sorry but could you please help me out with this. I will deff look at that link you have me though lol but I'm right on the cusp of getting this to work hahaha thanks to you of course hahaa what about the dude outside the lab. The fat guy. Can I add the script u gave me to any person event?
__________________
POKeMON CREEPY BLACK
Reply With Quote
  #14   Link to this post, but load the entire thread.  
Old August 14th, 2014 (6:06 PM).
iv0's Avatar
iv0 iv0 is offline
 
Join Date: Mar 2014
Gender: Male
Posts: 145
Yes you can do, look at this:
__________________

Reply With Quote
  #15   Link to this post, but load the entire thread.  
Old August 14th, 2014 (6:08 PM).
DarkenedEclipse's Avatar
DarkenedEclipse DarkenedEclipse is offline
Project Oak
 
Join Date: Jun 2014
Location: Sinnoh
Gender: Male
Nature: Bold
Posts: 207
I've been told to use ASM before when changing oaks movement script
__________________
Reply With Quote
  #16   Link to this post, but load the entire thread.  
Old August 14th, 2014 (6:25 PM).
WAFFAHOUSE WAFFAHOUSE is offline
 
Join Date: Aug 2014
Posts: 25
wow it worked!!!! i wish them pics you slowed me were on google somewhere! LOL! now.... how can i get the npc to say something? cuz i jus walk up o him and it gives me the natdex but he dont say anything...... could you rewrie that script again with the words 'You just obtained National Pokedex!'
i think if i saw how you insert it it will explain itself to me. thanks guys! deff adding yall to the credits hahahaha saved my rom hack!!!!!!!!!!
waffa
__________________
POKeMON CREEPY BLACK
Reply With Quote
  #17   Link to this post, but load the entire thread.  
Old August 14th, 2014 (6:45 PM).
iv0's Avatar
iv0 iv0 is offline
 
Join Date: Mar 2014
Gender: Male
Posts: 145
Quote:
Originally Posted by WAFFAHOUSE View Post
wow it worked!!!! i wish them pics you slowed me were on google somewhere! LOL! now.... how can i get the npc to say something? cuz i jus walk up o him and it gives me the natdex but he dont say anything...... could you rewrie that script again with the words 'You just obtained National Pokedex!'
i think if i saw how you insert it it will explain itself to me. thanks guys! deff adding yall to the credits hahahaha saved my rom hack!!!!!!!!!!
waffa
I can't do it for you, I can help you but is not so. Look at the tutorial i have passed to you, i'm sorry.
__________________

Reply With Quote
  #18   Link to this post, but load the entire thread.  
Old August 14th, 2014 (7:22 PM).
WAFFAHOUSE WAFFAHOUSE is offline
 
Join Date: Aug 2014
Posts: 25
been reading that thread u sent.... almost like a diff language to me lol it seems really helpful though thanks for that i bookmarked it!!!!!!! i am reading about msgbox and im confused (imagine that lol!) where do i insert it in between? is this what my msgbox should look like..........
>>>>
msgbox @Your Pokedex was upgraded!
<<<<
__________________
POKeMON CREEPY BLACK
Reply With Quote
  #19   Link to this post, but load the entire thread.  
Old August 14th, 2014 (8:28 PM).
WAFFAHOUSE WAFFAHOUSE is offline
 
Join Date: Aug 2014
Posts: 25
Will this work.....

#dyn 0x740000
#org @main
lock
faceplayer
message @upgradepokedex
callstd MSG_NORMAL
special FR_NATIONAL_DEX
release
end

#org @upgradepokedex
= I'll upgrade your Pokedex for you.
__________________
POKeMON CREEPY BLACK
Reply With Quote
  #20   Link to this post, but load the entire thread.  
Old August 15th, 2014 (6:57 AM).
jirachiwishmaker's Avatar
jirachiwishmaker jirachiwishmaker is offline
 
Join Date: Jul 2007
Location: Forina
Gender: Male
Nature: Lonely
Posts: 116
I have had edited the Oak's scripts and the pokedex will upgrade automatically when you getting it. An edited script was located at 0xF00000. I give you the patch directly.
Attached Files
File Type: rar Pokedex upgrade automatically.rar‎ (479 Bytes, 12 views) (Save to Dropbox)
Reply With Quote
  #21   Link to this post, but load the entire thread.  
Old August 15th, 2014 (7:25 AM).
Mana's Avatar
Mana Mana is offline
 
Join Date: Jan 2009
Location: UK
Age: 31
Gender: Male
Posts: 10,075
Quote:
Originally Posted by DarkenedEclipse View Post
I've been told to use ASM before when changing oaks movement script
You were misinformed, it's all done by scripting (both normal 'S' tiles and level scripts).

Quote:
Originally Posted by WAFFAHOUSE View Post
Will this work.....

#dyn 0x740000
#org @main
lock
faceplayer
message @upgradepokedex
callstd MSG_NORMAL
special FR_NATIONAL_DEX
release
end
Looks alright - some syntax is a bit weird, since I would normally use:

#dynamic 0x740000
#org @main
lock
faceplayer
message @upgradepokedex 0x6
special 0x16F
release
end

#org @upgradepokedex
= I'll upgrade your Pokedex for you.

Of course, if that's the correct short-hand/shortcut that XSE has in its std files (I never seem to use them XD) then it should work either way! Just make sure you copy the @main address to the person event, not the @upgradepokedex.

You could look into adding flags, so once he has set your national dex up he will say something else :). This tutorial, that iv0 linked, is fantastic and should help!
__________________
Reply With Quote
  #22   Link to this post, but load the entire thread.  
Old August 16th, 2014 (3:07 AM).
WAFFAHOUSE WAFFAHOUSE is offline
 
Join Date: Aug 2014
Posts: 25
Thanks guys! I think I'm starting to understand a bit better now... Still crazy confusing lol but thanks guys for all the support! How do I go about changing my title screen? I am finishing creepy black version and i want to put ghost sprite instea of chsrizard and change title to creepy black version and have blue flames instead if red flames. Is it even worth trying or is it jus too difficult for beginners , such as myself. Thanks again dudes y'all saved my rom hack! LoL
Waffa
__________________
POKeMON CREEPY BLACK
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:11 AM.