Update readme.

This commit is contained in:
Randy Thiemann 2023-10-25 06:48:14 +02:00
parent 81a0ae0672
commit b384673e30
1 changed files with 6 additions and 1 deletions

View File

@ -97,9 +97,14 @@ Please do not try running it on older emulators such as VBA, since this game use
- B — Go back to title - B — Go back to title
## Building ## Building and Development
The game can be built using gnu make and the RGBDS toolchain. The game can be built using gnu make and the RGBDS toolchain.
A few guidelines are in effect:
- If you add a bank, please add a section to `bankid.asm` and follow the existing format.
- If your code breaks existing save data, please update `SAVE_MAGIC_X` in `globals.asm`. This only needs to be done if existing save data would be completely incompatible.
- If you wish to save integer ID's they can be added to SRAM in `InitializeSRAM` and `RestoreSRAM`. However if you're saving a memory address, you should use `PartiallyInitializeSRAM` rather than `InitializeSRAM` so that it gets invalidated on every build.
## License ## License
Copyright (C) 2023 - Randy Thiemann <randy.thiemann@gmail.com> Copyright (C) 2023 - Randy Thiemann <randy.thiemann@gmail.com>