- 222
- Posts
- 6
- Years
- Seen Nov 18, 2023
Working on an ASM routine, and need to write that value of a register to a script bank. (Specifically, script bank 0). A buffer will not work in this case as it is a pointer and not text. The only alternative I think is possible would be to directly write the value of the register to the ROM to a specific pointer, but I don't think ASM can do that.
What are the memory offsets for the script banks?Alternatively, how does one write 4 bytes of data to the rom?
Edit: Script bank 0 is located at 0x03000F14. How do I write to this offset in ASM?
What are the memory offsets for the script banks?
Edit: Script bank 0 is located at 0x03000F14. How do I write to this offset in ASM?
Last edited: