• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Serena, Kris, Dawn, Red - which Pokémon protagonist is your favorite? Let us know by voting in our grand final favorite protagonist poll!
  • PokéCommunity supports the Stop Killing Games movement. If you're a resident of the UK or EU, consider signing one of the petitions to stop publishers from destroying games. Click here for more information!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[ASM & Hex] Creating move effect for stealth rock fire red help

I'm hoping to implement stealth rocks into my rom hack, but I'm stuck at creating the move effect. I've put in other move effects with help from the forums and have a basic understanding, but stealth rocks is confusing me. I imagine if I use the spikes code it will be usable 3x and not deal rock type damage. Anyone know which data I should change in the spikes code for the effect, or willing to give me advice. So far I've tried comparing it to other moves like stockpile which can only be used 3 times until its effect wears off, but I'm making no progress.
 
I'm pretty sure the type effectiveness of entry hazards is affected by the move type. Honestly, I'd say just try making a Rock-type duplicate of Spikes and see if that works (ie, test it on a Normal-type, a Fire-type, and a Fire/Flying-type.)
 
Toxic Spikes is poison type and stealth rock rock, but spikes doesn't do type based damage it just misses flying types, pokemon with levitate. I've been looking in to removing the 'super effective'ness by comparing it some future sight code but I can't get it to work unfortunately.
 
Last edited:
I'm hoping to implement stealth rocks into my rom hack, but I'm stuck at creating the move effect. I've put in other move effects with help from the forums and have a basic understanding, but stealth rocks is confusing me. I imagine if I use the spikes code it will be usable 3x and not deal rock type damage. Anyone know which data I should change in the spikes code for the effect, or willing to give me advice. So far I've tried comparing it to other moves like stockpile which can only be used 3 times until its effect wears off, but I'm making no progress.

If you're hacking ruby/emerald, you can use pokeruby/pokeemerald as DizzyEgg suggests. If you're set on hacking Fire Red, you can use MrDs' rombase which includes stealth rock and toxic spikes (although they might be buggy, I can't remember). If you want to insert the effect yourself you will need to modify battle scripts and assembly code.
 
If you're hacking ruby/emerald, you can use pokeruby/pokeemerald as DizzyEgg suggests. If you're set on hacking Fire Red, you can use MrDs' rombase which includes stealth rock and toxic spikes (although they might be buggy, I can't remember). If you want to insert the effect yourself you will need to modify battle scripts and assembly code.

Mr. DS's base is kind of garbage. Leon's Ultimate is *WAYYYYY* better.
 
Back
Top