The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Other Changing the sethealingplace 0x0 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 November 6th, 2014 (10:24 AM).
Xela's Avatar
Xela Xela is offline
Do you believe in yourself?
 
Join Date: Feb 2008
Posts: 349
So I'm in quite a pickle and I've been trying to search all around online for a solution, but from what I've figured out there doesn't seem to be a way to do it. My question is: Is it possible to change what happens when all of your Pokémon faints and you scurry back home? Is there any way for me to change the script that plays to my customization and add alternative healing spots?

I'm using JPAN's hacked engine by the way which allows me to set the XY positions and bank/map numbers.
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old November 6th, 2014 (3:41 PM).
longlostsoldier's Avatar
longlostsoldier longlostsoldier is offline
 
Join Date: Oct 2013
Gender: Other
Nature: Quiet
Posts: 200
If you want to change the scurry home text and mom-heals-you-text, you can use A-TEXT I think.

If you want to change the first heal spot, use sethealingplace 0x1 and set the vars for your desired map in the map level script at the very first location your player appears in the game.
__________________
Evo-Yellow: 151 Evolve Raichu Hack, uses the Yellow Disassembly. Play as girl, ride a pokemon, special/physical, dark/fairy/steel types, new pokemon, gen 2 sprites, evolve Pikachu into Raichu and have them still follow you with new Raichu emotion sprites!
Yellow Hack Tutorial
Fire Yellow - A FireRed Hack & Yellow Remake with Following Pikachu - I am not continuing this until I get a new computer where I can use the latest disassembly. My old one can only run gen I disassemblies.
Reply With Quote
  #3   Link to this post, but load the entire thread.  
Old November 6th, 2014 (4:04 PM).
Xela's Avatar
Xela Xela is offline
Do you believe in yourself?
 
Join Date: Feb 2008
Posts: 349
Quote:
Originally Posted by longlostsoldier View Post
If you want to change the scurry home text and mom-heals-you-text, you can use A-TEXT I think.

If you want to change the first heal spot, use sethealingplace 0x1 and set the vars for your desired map in the map level script at the very first location your player appears in the game.
Pardon me if people misunderstood the first post, but what I was talking about is the actual script sequence that happens after your Pokémon the faints. The whole "Mom: Player! Welcome home." script that occurs afterwards. And I want to know if there's any possible way to edit that particular script.
Reply With Quote
  #4   Link to this post, but load the entire thread.  
Old November 6th, 2014 (4:24 PM).
Teh Blazer's Avatar
Teh Blazer Teh Blazer is offline
Divider of Zero
 
Join Date: Feb 2009
Location: 'MERICA
Age: 27
Gender: Male
Nature: Relaxed
Posts: 776
You mean the script found at 0x081A8DD8?
__________________
Being a hero is overrated anyways
Reply With Quote
  #5   Link to this post, but load the entire thread.  
Old November 6th, 2014 (4:45 PM).
longlostsoldier's Avatar
longlostsoldier longlostsoldier is offline
 
Join Date: Oct 2013
Gender: Other
Nature: Quiet
Posts: 200
Ah, the text. You could alter with a hex editor or with the A-Text tool like I said. Just use the offset Teh Blazer used, but be careful not to overwrite bytes that aren't from the script. Editing text is about as easy as it gets.

...this is offtopic but your avatar terrifies me, Teh Blazer. Those eyes on those bodies seems so wrong somehow. -shudder-
__________________
Evo-Yellow: 151 Evolve Raichu Hack, uses the Yellow Disassembly. Play as girl, ride a pokemon, special/physical, dark/fairy/steel types, new pokemon, gen 2 sprites, evolve Pikachu into Raichu and have them still follow you with new Raichu emotion sprites!
Yellow Hack Tutorial
Fire Yellow - A FireRed Hack & Yellow Remake with Following Pikachu - I am not continuing this until I get a new computer where I can use the latest disassembly. My old one can only run gen I disassemblies.
Reply With Quote
  #6   Link to this post, but load the entire thread.  
Old November 6th, 2014 (5:44 PM).
Xela's Avatar
Xela Xela is offline
Do you believe in yourself?
 
Join Date: Feb 2008
Posts: 349
Quote:
Originally Posted by Teh Blazer View Post
You mean the script found at 0x081A8DD8?
Yes, this one. I found the offset and tried repointing some of the pointers to another script to see if it would work but to no avail. Do you have an idea of how I could edit the actions of it?

Quote:
Originally Posted by longlostsoldier View Post
Ah, the text. You could alter with a hex editor or with the A-Text tool like I said. Just use the offset Teh Blazer used, but be careful not to overwrite bytes that aren't from the script. Editing text is about as easy as it gets.

...this is offtopic but your avatar terrifies me, Teh Blazer. Those eyes on those bodies seems so wrong somehow. -shudder-
It's not the text, even though I also want that changed. I want the actual actions changed. The fanfare, the fadescreen, the applymovements. Do you catch my drift?

Reason why I'm really interested in this is that I want to re-create the Nurses and Doctors from BW and in order to do that, I'd have to be able to manipulate what sethealingplace 0x0 does.

Thanks for all the answers, though.
Reply With Quote
  #7   Link to this post, but load the entire thread.  
Old November 6th, 2014 (6:29 PM).
Teh Blazer's Avatar
Teh Blazer Teh Blazer is offline
Divider of Zero
 
Join Date: Feb 2009
Location: 'MERICA
Age: 27
Gender: Male
Nature: Relaxed
Posts: 776
Quote:
Originally Posted by longlostsoldier View Post
Ah, the text. You could alter with a hex editor or with the A-Text tool like I said. Just use the offset Teh Blazer used, but be careful not to overwrite bytes that aren't from the script. Editing text is about as easy as it gets.

...this is offtopic but your avatar terrifies me, Teh Blazer. Those eyes on those bodies seems so wrong somehow. -shudder-
Haha, the powerpuff girls have always scared me.

Quote:
Originally Posted by AlexAhnon View Post
Yes, this one. I found the offset and tried repointing some of the pointers to another script to see if it would work but to no avail. Do you have an idea of how I could edit the actions of it?



It's not the text, even though I also want that changed. I want the actual actions changed. The fanfare, the fadescreen, the applymovements. Do you catch my drift?

Reason why I'm really interested in this is that I want to re-create the Nurses and Doctors from BW and in order to do that, I'd have to be able to manipulate what sethealingplace 0x0 does.

Thanks for all the answers, though.
The actions of it are in the script (the fadescreen and healing and whatnot are all in that script). If you wanted to, say, change the thing entirely then you could just take the pointer and do the magical reverse thing (AB CD EF = EF CD AB 08) and then write over whatever comes up in your hex editor with the pointer to your different script than can be as big as you want.

Do you mean you want the fanfare + fadescreen + special script? Because that's 1A6C26, all you gotta do is use call and not goto.
__________________
Being a hero is overrated anyways
Reply With Quote
  #8   Link to this post, but load the entire thread.  
Old November 6th, 2014 (7:11 PM). Edited November 6th, 2014 by Xela.
Xela's Avatar
Xela Xela is offline
Do you believe in yourself?
 
Join Date: Feb 2008
Posts: 349
Quote:
Originally Posted by Teh Blazer View Post
Haha, the powerpuff girls have always scared me.



The actions of it are in the script (the fadescreen and healing and whatnot are all in that script). If you wanted to, say, change the thing entirely then you could just take the pointer and do the magical reverse thing (AB CD EF = EF CD AB 08) and then write over whatever comes up in your hex editor with the pointer to your different script than can be as big as you want.

Do you mean you want the fanfare + fadescreen + special script? Because that's 1A6C26, all you gotta do is use call and not goto.
Edit: Nevermind, I figured it out. There was something wrong my script which prevented it from working. I've never really toyed with Hex all that much so I was very unsure on where the script started and where I would go to repoint it. I really appreciated the help. Thanks a lot!
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:07 AM.