I recently purchased the emulator and love it. I am interested in writing some Lua scripts to add some functionality to Animal Crossing: Wild World. However, I am running into an issue with memory access. I simply want to change the item value in one of my inventory slots, but nothing happens.
- I am not exactly sure how to use drastic.set_ds_memory_<cpu>_<size>(address, value)
- What should I use for CPU and size? Right now, the values I want to change are in hexadecimal.
- I have the address 021D8E80, which I got from DeSmuME, and value 137F; how do I enter that into the functions arguments? Is it like (0x021D8E80, 4991)?
- When I get the address and write it to my log, it gives me a totally different value than anticipated.