The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Script How do you make items that function as HM moves 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 June 26th, 2019 (7:14 AM).
dearman4's Avatar
dearman4 dearman4 is offline
 
Join Date: Nov 2017
Location: Michigan
Age: 30
Gender: Male
Nature: Quirky
Posts: 620
I've seen a few gen 3 hacks that use HM items but I haven't been able to find a guide on how to make them, can someone point me to a tutorial?
__________________
My ROM hack, Pokemon Emerald Final:
https://www.pokecommunity.com/showthread.php?p=9898603
My beginner's devkit tutorial:
https://www.pokecommunity.com/showthread.php?t=411844
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old June 28th, 2019 (4:04 AM).
Ankush105's Avatar
Ankush105 Ankush105 is offline
 
Join Date: Aug 2015
Gender: Male
Posts: 16
Look for ASM resource thread and

Search through the comments, you'll find what you're looking for

Sorry I can't post links since I haven't made 5 posts
Reply With Quote
  #3   Link to this post, but load the entire thread.  
Old June 28th, 2019 (9:55 PM).
dearman4's Avatar
dearman4 dearman4 is offline
 
Join Date: Nov 2017
Location: Michigan
Age: 30
Gender: Male
Nature: Quirky
Posts: 620
Quote:
Originally Posted by Ankush105 View Post
Look for ASM resource thread and

Search through the comments, you'll find what you're looking for

Sorry I can't post links since I haven't made 5 posts
I've looked and I'm not seeing it :/
__________________
My ROM hack, Pokemon Emerald Final:
https://www.pokecommunity.com/showthread.php?p=9898603
My beginner's devkit tutorial:
https://www.pokecommunity.com/showthread.php?t=411844
Reply With Quote
  #4   Link to this post, but load the entire thread.  
Old June 28th, 2019 (10:36 PM). Edited June 28th, 2019 by Ankush105.
Ankush105's Avatar
Ankush105 Ankush105 is offline
 
Join Date: Aug 2015
Gender: Male
Posts: 16
Hi, already removed the need for HMs from Pokemon, and still create the field effect. If you want to use items to achieve this effect:
Pc/showthread.php?t=258426
When you get to the "addscript" part you will have to just point it to an existing script.

Surf is actually very easy to port to an item. You simply have to run the surf script, lol. That's at 0x1A6AC8. You only need to change that to this:
Spoiler:
dyn 0x740000
#org @start
'do the checks you want
storepartypokemon 0x0 0x800D
setanimation 0x0 0x800D
doanimation 0x9 'this line alone does the "surf"
release
end



Fly is the only one which will require some ASM, and even that is easy, because the research is already done for you. For the item script for fly, just do "callasm 0x80C4EF9

Flash is my last post in the HM thread.
RockSmash, Strength, waterfall are all done exactly the same as surf.
Strength however has a special flag, 0x805 which needs to be set. It allows the "strength effect" to persist.

It requires you have JPAN's hacker engine applied to put scripts on items btw, according to the tutorial I linked you.
Reply With Quote
  #5   Link to this post, but load the entire thread.  
Old June 28th, 2019 (11:17 PM).
dearman4's Avatar
dearman4 dearman4 is offline
 
Join Date: Nov 2017
Location: Michigan
Age: 30
Gender: Male
Nature: Quirky
Posts: 620
Quote:
Originally Posted by Ankush105 View Post
Hi, already removed the need for HMs from Pokemon, and still create the field effect. If you want to use items to achieve this effect:
Pc/showthread.php?t=258426
When you get to the "addscript" part you will have to just point it to an existing script.

Surf is actually very easy to port to an item. You simply have to run the surf script, lol. That's at 0x1A6AC8. You only need to change that to this:
Spoiler:
dyn 0x740000
#org @start
'do the checks you want
storepartypokemon 0x0 0x800D
setanimation 0x0 0x800D
doanimation 0x9 'this line alone does the "surf"
release
end



Fly is the only one which will require some ASM, and even that is easy, because the research is already done for you. For the item script for fly, just do "callasm 0x80C4EF9

Flash is my last post in the HM thread.
RockSmash, Strength, waterfall are all done exactly the same as surf.
Strength however has a special flag, 0x805 which needs to be set. It allows the "strength effect" to persist.

It requires you have JPAN's hacker engine applied to put scripts on items btw, according to the tutorial I linked you.
Isn't JPAN's engine for Fire Red only? I was hoping to do this in Emerald
__________________
My ROM hack, Pokemon Emerald Final:
https://www.pokecommunity.com/showthread.php?p=9898603
My beginner's devkit tutorial:
https://www.pokecommunity.com/showthread.php?t=411844
Reply With Quote
  #6   Link to this post, but load the entire thread.  
Old December 3rd, 2020 (5:54 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:
dyn 0x740000
#org @start
'do the checks you want
storepartypokemon 0x0 0x800D
setanimation 0x0 0x800D
doanimation 0x9 'this line alone does the "surf"
release
end
I think this is not for XSE, is it ?
I dind't find a keyword called storepartypokemon
But will this work wth a bit modification using XSE ?
__________________
SIGNATURES:

1.😄 Thank You

2. Recruiting for Let's go Togepi / Pichu (ROM hack of firered)


My dear 'ROCCO'
Reply With Quote
  #7   Link to this post, but load the entire thread.  
Old December 3rd, 2020 (6:47 PM). Edited December 19th, 2020 by Mason Shu.
Mason Shu Mason Shu is offline
 
Join Date: Jun 2020
Gender: Male
Posts: 387
McPaul made a patch, though fly in incomplete
I'm sorry for the autoorrect typo
Reply With Quote
  #8   Link to this post, but load the entire thread.  
Old December 5th, 2020 (12:50 PM).
dearman4's Avatar
dearman4 dearman4 is offline
 
Join Date: Nov 2017
Location: Michigan
Age: 30
Gender: Male
Nature: Quirky
Posts: 620
Quote:
Originally Posted by M̷̗̟̥̏a̶̰͐̐̇s̸͙̈͗̊o̵̡̩͐̑̒n̷̗̗̈ View Post
My Paul made a patch, though fly in incomplete
Do you have a link to that?
__________________
My ROM hack, Pokemon Emerald Final:
https://www.pokecommunity.com/showthread.php?p=9898603
My beginner's devkit tutorial:
https://www.pokecommunity.com/showthread.php?t=411844
Reply With Quote
  #9   Link to this post, but load the entire thread.  
Old December 5th, 2020 (1:31 PM).
Mason Shu Mason Shu is offline
 
Join Date: Jun 2020
Gender: Male
Posts: 387
Quote:
Originally Posted by dearman4 View Post
Do you have a link to that?
https://www.pokecommunity.com/showthread.php?t=441569
https://www.pokecommunity.com/attachment.php?attachmentid=94321&d=1605202457
Reply With Quote
  #10   Link to this post, but load the entire thread.  
Old December 19th, 2020 (9:33 PM).
Mason Shu Mason Shu is offline
 
Join Date: Jun 2020
Gender: Male
Posts: 387
Quote:
Originally Posted by MM980 View Post
I think this is not for XSE, is it ?
I dind't find a keyword called storepartypokemon
But will this work wth a bit modification using XSE ?
Hi, the commands exist in Red Alien Advance Script Compiler:
https://www.mediafire.com/file/lz6hgk3qc8j2bwo/Red_Alien_by_cosorara.rar/file
Reply With Quote
  #11   Link to this post, but load the entire thread.  
Old December 21st, 2020 (10: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
Quote:
Originally Posted by M̷̗̟̥̏a̶̰͐̐̇s̸͙̈͗̊o̵̡̩͐̑̒n̷̗̗̈ View Post
Hi, the commands exist in Red Alien Advance Script Compiler:
https://www.mediafire.com/file/lz6hgk3qc8j2bwo/Red_Alien_by_cosorara.rar/file
Thanks, will check it out
__________________
SIGNATURES:

1.😄 Thank You

2. Recruiting for Let's go Togepi / Pichu (ROM hack of firered)


My dear 'ROCCO'
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.