![]() |
(XSE) How to get byte from offset and buffer it?
So you can get a byte from an offset (a.k.a. farbyte) and store it in a script bank, and you can buffer a byte from a variable, but how do you transfer from a script bank to a variable? Tried googling, nothing came up.
|
Use the copybyte command and the direct addresses of the variables. The 0x8000 series variables are easy to directly access, while the 0x5000 series are dynamic.
Generally, copybyte destination source source for an 0x8000 var is going to be 0x20370B8 + (var - 0x8000) |
| All times are GMT -8. The time now is 9:18 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.