![]() |
Questions about special commands
Currently I'm using XSE paired with AM to add scripts to my hack.
While I'm reading the existing scripts, I notice some statements called special commands, each of which is said to call some certain routine in the ROM, so I come up with several questions: 1. Where can I find the special command table in a ROM? (e.g. FR, EM, RU) 2. Where (or how) can I find the routine a special command calls? (e.g. special 0xFB) 3. How can I make special commands work when I use an Item? (e.g. viewing the Town Map) (I'm using Item Manager) |
i was typing a response to this at 1:20 this morning when my ipad died ehehe
1.) 15FD60 2.) 15FD60 + ([index] * 4) take the new offset and, bam, you have a pointer to the routine. note that many of the command indices lead to the same null function 3.) i'm not sure exactly what you're saying here, but replacing an item's effect with that of a special's is simply putting down the pointer to it's routine as the field/battle effect. replacing a special's effect with that of an item's is simply changing the special's pointer to the item's routine pointer EDIT: m8 if you don't use fire red then i might have to break out my computer EDIT2: oh found it for emerald in one of shinyquagsire's posts 1DBA64 instead of 15FD60 |
Quote:
|
| All times are GMT -8. The time now is 9:14 AM. |
![]()
© 2002 - 2018 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2016 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.
Acknowledgements
Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2023.