Lunos
Random Uruguayan User
- 3,128
- Posts
- 16
- Years
- Montevideo (Uruguay)
- Seen today
The decomps use labels, they don't use hex numbers and stuff like that.ok so the main reason i ask is because i mainly hack fire red so i would always have to know what hex number the item is and put it in xse for it to work but with this im not sure what the item hex numbers are for all the megastones as well for the legends so im not sure how to go about writing a script for those kind of events
You can the labels of every item in the include/constants/items.h file, but it's basically ITEM_NAME_OF_THE_ITEM, like for example ITEM_POTION or ITEM_QUICK_CLAW.
As for the other matter, the scripting syntax for the decomps is no different than XSE's. At worst, a few macros are different, so instead of givepokemon you have givemon.
If you're still unsure, there's a scripting tutorial for the decomps that Avara wrote sometime ago right here.