Razi Expert Cheater
Reputation: 1
Joined: 17 Jan 2018 Posts: 205
|
Posted: Sat Jan 30, 2021 4:00 pm Post subject: Move bytes forward or insert a longer word |
|
|
How to move bytes back and forth? Or insert a shorter or longer word?
The game has 23000 bytes of item descriptions. I want to change item descriptions to shorter or longer ones.
Example: need to change this description: "Attack with weapon" to "Attack with equipped weapon" or to "Attack". If I use a longer description, I need to move next 23000 bytes forward, from this address 009AF5C0, by 8 bytes. Or if I use a shorter description, I need to move next 23000 bytes back, from this address 009AF5C0, by 12 bytes.
If we move all bytes forward, from 009AF5C0, by 8 bytes, the game will crash.
It doesn't matter, found a solution to my question.
| Code: | copyMemory(0x009AF5C0, 23000, 0x009AF5C8, 0)
copyMemory(0x009AF5C0, 23000, 0x009AF5B4, 0)
|
|
|