The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Script What is the script offset for naming a pokemon in emerald

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 March 31st, 2022 (10:38 AM).
ProGylgamish2 ProGylgamish2 is offline
 
Join Date: Feb 2022
Gender: Male
Nature: Adamant
Posts: 4
I can't find the script offset for naming a pokemon in emerald.
I'm using XSE and I think I am using the wrong script offset for a different game.

#dynamic 0x800000

#org @start
checkflag 0x860
if 0x1 goto @done
msgbox @1 0x5
compare LASTRESULT 0x1
if 0x1 goto @take
msgbox @2 0x6
release
end

#org @take
givepokemon 0x17 0x5 0x8B 0x0 0x0 0x0
fanfare 0x13E
msgbox @3 0x4
waitfanfare
setflag 0x860
msgbox @4 0x5
compare LASTRESULT 0x1
if 0x1 call @name
msgbox @5 0x6
release
end

#org @name
call 0x1A74EB
return

#org @done
msgbox @6 0x6
release
end

#org @1
= Hello.\nSorry to trouble you.\pI can't take care\nof my Ekans.\pCan you take care of\nit for me?

#org @2
= That's okay.\pI'm sure someone else will\ntake it.

#org @3
= [black_fr]You recieved a Ekans!

#org @4
= [black_fr]Would you like to give a\nnickname to Ekans?

#org @5
= Please take care of\nEkans.

#org @6
= Are you taking good care\nof Ekans?

Sorry for not using a link.
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
Thread Tools

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:20 AM.