Welcome to Data Crystal's new home! Data Crystal is now part of the TCRF family (sort of).
The wiki has recently moved; please report any issues in Discord. Pardon the dust.
The wiki has recently moved; please report any issues in Discord. Pardon the dust.
Crystal Beans from Dungeon Explorer/Cutscene sprite data struct: Difference between revisions
Jump to navigation
Jump to search
m (Fixed ending address and length. Added info.) |
m (Xkeeper moved page Crystal Beans From Dungeon Explorer:Cutscene sprite data struct to Crystal Beans From Dungeon Explorer/Cutscene sprite data struct: normalize subpages and titles) |
(No difference)
|
Revision as of 02:41, 24 January 2024
Cutscene sprite data struct | |
Game | Crystal Beans From Dungeon Explorer |
Start Address | 0x179129 |
End Address | 0x17B8FB |
# of Entries | ? |
Entry Length | 7 (0x7) |
Total Length | 10195 bytes (0x27D3) |
Back to the ROM map |
The Cutscene sprite data struct describes the placement, flags and size of the sprites composing the objects used in cutscenes. This data is used to set the OAM. In the ROM each struct list is preceded byte a byte telling the number of structs in the list. There is also 16-bits pointer tables to these struct lists interspersed between them.
Format
X Coordinate
- Length: 2 bytes (0x2)
- Offset within entry: 0x0-0x1
- Range of values: ?
Control the X position of the sprite. The origin is in the center of the screen meaning that positions at the left of the screen have negative values.
Y Coordinate
- Length: 2 bytes (0x2)
- Offset within entry: 0x2-0x3
- Range of values: ?
Control the Y position of the sprite. The origin is in the center of the screen meaning that positions at the top of the screen have negative values.
Flags
- Length: 2 bytes (0x2)
- Offset within entry: 0x4-0x5
- Range of values: ?
Size
- Length: 1 bytes (0x1)
- Offset within entry: 0x6
- Range of values: ?