Save Format

From CloudModding MM Wiki
Jump to: navigation, search


Structs

Scene Flags

There are two sets of scene flags in Majora's Mask, permanent and the cycle scene flags. Permanent scene flags start at Save Context + 0x00F8, and persist for the lifetime of the save, while cycle scene flags are located at Save Context + 0x42F4 in the Japanese version and Save Context + 0x3F68 in the international releases and persist until the end of the current 3 day cycle. Both share a similar structure:

0x00 Chest Flags
0x04 Switch Flags (0x00)
0x08 Switch Flags (0x20)
0x0C Room Clear Flags
0x10 Collectible Flags (0x00)
## 0x14 //size of the cycle scene flags
## 0x1C //size of the permanent scene flags