-
Notifications
You must be signed in to change notification settings - Fork 7
Home
daid edited this page Sep 18, 2020
·
3 revisions
Following is the general structure of the banks, details could be wrong/missing.
- 00: General code, math functions, lots of trampolines
- 01: Text rendering code, Text lookup tables
- 02: Script opcode related code
- 03: NPC/Enemy related?
- 04: NPC/Enemy related?
- 05: Map/Room data
- 06: Map/Room data
- 07: Map/Room data
- 08: Map headers, meta-table info, script pointers, player/font/effect graphics
- 09: Unknown code, NPC graphics
- 0A: NPC graphics
- 0B: Map graphics, Title graphics, Boss graphics
- 0C: Background tilemap grahics
- 0D: Scripts
- 0E: Scripts
- 0F: Sound/Music engine, Sound/Music data
Opcodes are used by the scripting system to initiate changes in gameplay.
Maps are comprised (at least) of map headers [link here], scripts [link here], and tile data [link here].