The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Script Take away pokemon in firered 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 October 28th, 2018 (9:51 AM).
NinjaJack78's Avatar
NinjaJack78 NinjaJack78 is offline
 
Join Date: Jul 2017
Posts: 5
Is there a command that can be used to take away a players pokemon in firered? I want to give the player a level 20 machop so that they can get to the next route, but then have it taken away on said route so that the player doesn't have an over leveled pokemon. If there is no way to do this I will have to implement some sort of work around. Thank you for your help.
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old October 28th, 2018 (12:28 PM).
DrFuji's Avatar
DrFuji DrFuji is offline
Heiki Hecchara‌‌
 
Join Date: Sep 2009
Location: Aussie
Age: 30
Gender: Male
Nature: Jolly
Posts: 1,693
There's nothing that takes away a single Pokemon in-game unless you do some unintended Daycare stuff, but HackMew made an ASM routine that can do exactly what you're looking for.
__________________
Reply With Quote
  #3   Link to this post, but load the entire thread.  
Old October 29th, 2018 (1:25 AM).
Dinisk's Avatar
Dinisk Dinisk is offline
DinisK
 
Join Date: Jan 2017
Gender: Male
Posts: 89
Quote:
Originally Posted by DrFuji View Post
There's nothing that takes away a single Pokemon in-game unless you do some unintended Daycare stuff, but HackMew made an ASM routine that can do exactly what you're looking for.
It is very difficult to compile if you are a beginner. I think it's easier to find a similar hack with this script to go into hxd and copy this code (having found the callasm offset in this script) in 16 format. and paste it into your ROM using callasm
Reply With Quote
  #4   Link to this post, but load the entire thread.  
Old October 29th, 2018 (3:32 AM). Edited October 29th, 2018 by DrFuji.
DrFuji's Avatar
DrFuji DrFuji is offline
Heiki Hecchara‌‌
 
Join Date: Sep 2009
Location: Aussie
Age: 30
Gender: Male
Nature: Jolly
Posts: 1,693
Quote:
Originally Posted by Dinisk View Post
It is very difficult to compile if you are a beginner. I think it's easier to find a similar hack with this script to go into hxd and copy this code (having found the callasm offset in this script) in 16 format. and paste it into your ROM using callasm
Not really, its pretty easy to learn how to assemble/ insert ASM nowadays, even if you're a beginner. ASM in general is becoming far more accessible than it ever was.

If a hacker wanted to copy a routine from another game they would first have to find a hack that has the specific routine inserted which will time as they play through them in order to find an occurrence of the ASM. Once they found an instance of the routine they would then have to copy it over their ROM which isn't always that simple. Assembled ASM doesn't have a simple terminator byte like scripts so it can be difficult picking out a specific routine's length if its surrounded by other assorted data. It would be faster and easier to just follow the tutorial I linked above than to try and rip a routine from another hack. Learning how to assemble ASM will expand a hacker's repertoire of hacking skills and give them more latitude to use in the future, especially if they're a beginner.
__________________
Reply With Quote
  #5   Link to this post, but load the entire thread.  
Old October 29th, 2018 (6:18 AM).
Delta231's Avatar
Delta231 Delta231 is offline
A noob
 
Join Date: May 2016
Location: India
Gender: Male
Nature: Bold
Posts: 682
You never compile an ASM Routine. We assemble an ASM Routine.
__________________
HGSS OWs in FR Style
Fire Red NSE Bookmarks


A supporter of


Reply With Quote
  #6   Link to this post, but load the entire thread.  
Old October 30th, 2018 (9:11 PM). Edited October 30th, 2018 by NinjaJack78.
NinjaJack78's Avatar
NinjaJack78 NinjaJack78 is offline
 
Join Date: Jul 2017
Posts: 5
Ok thank you for the help
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:18 AM.