Difference between revisions of "Event Flags"
Jump to navigation
Jump to search
m (Added flag 0x04 for entry 0x1E) |
m (Chicken map) |
||
(13 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
== Event Flags == | == Event Flags == | ||
Temporary map flags: 0x7E06C0 - 0x7E0763 | |||
Event flags: 0x7E06C4 - 0x7E075F | Event flags: 0x7E06C4 - 0x7E073F | ||
Worldmap draw items flags: 0x7E0740 - 0x7E075F | |||
Chest flags: 0x7E0760 - | Chest flags: 0x7E0760 - 0x7E077F | ||
Magirock flags: | Magirock flags: 0x7E07E0 - 0x7E07E7 | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
Line 77: | Line 81: | ||
| Controls the mill's wheels | | Controls the mill's wheels | ||
|} | |} | ||
|- | |||
| 0x0E | |||
| | |||
{| class="wikitable" | |||
|- | |||
! Bit | |||
! Effect/Event | |||
|- | |||
| 0x04 | |||
| Loire after vote | |||
|- | |||
| 0x10 | |||
| Underworld Portal on map | |||
|} | |||
|- | |||
| 0x0F | |||
| | |||
{| class="wikitable" | |||
|- | |||
! Bit | |||
! Effect/Event | |||
|- | |||
| 0x01 | |||
| Chicken map | |||
|} | |||
|- | |- | ||
Line 85: | Line 118: | ||
! Bit | ! Bit | ||
! Effect/Event | ! Effect/Event | ||
|- | |||
| 0x02 | |||
| Disable worldmap | |||
|- | |- | ||
| 0x04 | | 0x04 | ||
Line 100: | Line 136: | ||
| 0x40 | | 0x40 | ||
| Enables usage of chest menu | | Enables usage of chest menu | ||
|- | |||
| 0x80 | |||
| Disable magic | |||
|} | |||
|- | |||
| 0x20 | |||
| | |||
{| class="wikitable" | |||
|- | |||
! Bit | |||
! Effect/Event | |||
|- | |||
| 0x01 | |||
| Tower 1 cutscene | |||
|- | |||
| 0x02 | |||
| Remove Tower 1 Gate | |||
|- | |||
| 0x08 | |||
| Remove Tower 2 Gate | |||
|- | |||
| 0x20 | |||
| Remove Tower 3 Gate | |||
|- | |||
| 0x80 | |||
| Remove Tower 4 Gate | |||
|} | |||
|- | |||
| 0x21 | |||
| | |||
{| class="wikitable" | |||
|- | |||
! Bit | |||
! Effect/Event | |||
|- | |||
| 0x02 | |||
| Shadow Keeper defeated | |||
|} | |||
|- | |||
| 0x22 | |||
| | |||
{| class="wikitable" | |||
|- | |||
! Bit | |||
! Effect/Event | |||
|- | |||
| 0x02 | |||
| Australia resurrected | |||
|- | |||
| 0x10 | |||
| Tower 1 Complete | |||
|- | |||
| 0x80 | |||
| Tower 2 Complete | |||
|} | |||
|- | |||
| 0x23 | |||
| | |||
{| class="wikitable" | |||
|- | |||
! Bit | |||
! Effect/Event | |||
|- | |||
| 0x04 | |||
| Tower 3 Complete | |||
|- | |||
| 0x10 | |||
| Tower 4 Complete | |||
|} | |||
|- | |||
| 0x24 | |||
| | |||
{| class="wikitable" | |||
|- | |||
! Bit | |||
! Effect/Event | |||
|- | |||
| 0x01 | |||
| Mu exit | |||
|- | |||
| 0x02 | |||
| Ra Tree cutscene | |||
|} | |} | ||
Line 113: | Line 236: | ||
| Painting scene in castle | | Painting scene in castle | ||
|} | |} | ||
|- | |||
| 0x28 | |||
| | |||
{| class="wikitable" | |||
|- | |||
! Bit | |||
! Effect/Event | |||
|- | |||
| 0x02 | |||
| Meilin following | |||
|} | |||
|- | |||
| 0x2B | |||
| | |||
{| class="wikitable" | |||
|- | |||
! Bit | |||
! Effect/Event | |||
|- | |||
| 0x80 | |||
| Defeated Dark Twins | |||
|} | |||
|- | |||
| 0x2C | |||
| | |||
{| class="wikitable" | |||
|- | |||
! Bit | |||
! Effect/Event | |||
|- | |||
| 0x01 | |||
| Ra Tree 3rd stage | |||
|- | |||
| 0x02 | |||
| Lhasa | |||
|- | |||
| 0x04 | |||
| Lion saved | |||
|- | |||
| 0x80 | |||
| Tokyo sad | |||
|} | |||
|- | |||
| 0x2D | |||
| | |||
{| class="wikitable" | |||
|- | |||
! Bit | |||
! Effect/Event | |||
|- | |||
| 0x01 | |||
| Great Lakes Cavern cutscene | |||
|- | |||
| 0x02 | |||
| Ship gain cutscene | |||
|- | |||
| 0x04 | |||
| Mermaid exit block | |||
|- | |||
| 0x08 | |||
| Guy on bridge | |||
|- | |||
| 0x40 | |||
| Castle gem cutscene | |||
|} | |||
|- | |||
| 0x2E | |||
| | |||
{| class="wikitable" | |||
|- | |||
! Bit | |||
! Effect/Event | |||
|- | |||
| 0x01 | |||
| Sewer cutscene girl #1 | |||
|- | |||
| 0x02 | |||
| Sewer cutscene girl #2 | |||
|- | |||
| 0x03 | |||
| Sewer cutscene girl #3 | |||
|} | |||
|- | |||
| 0x30 | |||
| | |||
{| class="wikitable" | |||
|- | |||
! Bit | |||
! Effect/Event | |||
|- | |||
| 0x01 | |||
| Obtained Starstone | |||
|- | |||
| 0x20 | |||
| Buruga's tower exit (Rebirth completed) | |||
|} | |||
|- | |||
| 0x30 | |||
| | |||
{| class="wikitable" | |||
|- | |||
! Bit | |||
! Effect/Event | |||
|- | |||
| 0x80 | |||
| Obtained bombs | |||
|} | |||
|- | |||
| 0x31 | |||
| | |||
{| class="wikitable" | |||
|- | |||
! Bit | |||
! Effect/Event | |||
|- | |||
| 0x01 | |||
| Placed bombs | |||
|- | |||
| 0x02 | |||
| Placed bombs | |||
|- | |||
| 0x04 | |||
| Placed bombs | |||
|- | |||
| 0x08 | |||
| Placed bombs | |||
|- | |||
| 0x10 | |||
| Placed bombs | |||
|- | |||
| 0x20 | |||
| Placed bombs | |||
|- | |||
| 0x40 | |||
| Placed bombs | |||
|} | |||
|- | |||
| 0x32 | |||
| | |||
{| class="wikitable" | |||
|- | |||
! Bit | |||
! Effect/Event | |||
|- | |||
| 0x20 | |||
| Airship south cutscene 2 | |||
|- | |||
| 0x40 | |||
| End game state crysta | |||
|} | |||
|- | |- | ||
Line 121: | Line 408: | ||
! Bit | ! Bit | ||
! Effect/Event | ! Effect/Event | ||
|- | |||
| 0x02 | |||
| Sewer cutscene 2 | |||
|- | |||
| 0x04 | |||
| Sewer cutscene 1 | |||
|- | |||
| 0x08 | |||
| Tokyo underground open | |||
|- | |- | ||
| 0x10 | | 0x10 | ||
Line 139: | Line 435: | ||
|} | |} | ||
|- | |||
| 0x37 | |||
| | |||
{| class="wikitable" | |||
|- | |||
! Bit | |||
! Effect/Event | |||
|- | |||
| 0x01 | |||
| Eklemata snow scene | |||
|} | |||
|- | |||
| 0x4C | |||
| | |||
{| class="wikitable" | |||
|- | |||
! Bit | |||
! Effect/Event | |||
|- | |||
| 0x10 | |||
| Dailroom cutscene | |||
|} | |||
Line 152: | Line 471: | ||
| Set after talking to elder after breaking the seal | | Set after talking to elder after breaking the seal | ||
|} | |} | ||
|- | |||
| 0x52 | |||
| | |||
{| class="wikitable" | |||
|- | |||
! Bit | |||
! Effect/Event | |||
|- | |||
| 0x40 | |||
| Crysta Gate | |||
|} | |||
|- | |||
| 0x53 | |||
| | |||
{| class="wikitable" | |||
|- | |||
! Bit | |||
! Effect/Event | |||
|- | |||
| 0x02 | |||
| Stockholm gate | |||
|} | |||
|- | |||
| 0x54 | |||
| | |||
{| class="wikitable" | |||
|- | |||
! Bit | |||
! Effect/Event | |||
|- | |||
| 0x01 | |||
| Dragoon castle secret door | |||
|} | |||
|- | |- | ||
| 0x55 | | 0x55 | ||
Line 159: | Line 515: | ||
! Bit | ! Bit | ||
! Effect/Event | ! Effect/Event | ||
|- | |||
| 0x01 | |||
| Beruga's Tower Gate | |||
|- | |||
| 0x80 | |||
| Overworld Portal open | |||
|} | |||
|- | |||
| 0x56 | |||
| | |||
{| class="wikitable" | |||
|- | |||
! Bit | |||
! Effect/Event | |||
|- | |||
| 0x01 | |||
| Quntet building | |||
|- | |||
| 0x10 | |||
| Liberty (Modern) - Police Entrance | |||
|} | |||
|- | |||
| 0x57 | |||
| | |||
{| class="wikitable" | |||
|- | |||
! Bit | |||
! Effect/Event | |||
|- | |||
| 0x80 | |||
| Liberty (Modern) - Police Building | |||
|} | |||
|- | |||
| 0x80 | |||
| | |||
{| class="wikitable" | |||
|- | |||
! Bit | |||
! Effect/Event | |||
|- | |||
| 0x01 | |||
| Ship ports | |||
|- | |||
| 0x02 | |||
| Eklamata | |||
|} | |||
|- | |||
| 0x81 | |||
| | |||
{| class="wikitable" | |||
|- | |||
! Bit | |||
! Effect/Event | |||
|- | |||
| 0x01 | |||
| Libertia airfield | |||
|- | |||
| 0x02 | |||
| Mosque airfield | |||
|- | |||
| 0x04 | |||
| Buruga's tower (The exit still needs to be enabled) | |||
|- | |||
| 0x10 | |||
| Amazon bridge | |||
|- | |||
| 0x20 | |||
| Mu shows on world map | |||
|- | |||
| 0x40 | |||
| Polynese shows on world map | |||
|- | |- | ||
| 0x80 | | 0x80 | ||
| | | Australia airfield | ||
|} | |} | ||
Revision as of 19:23, 24 June 2019
Event flags are stored at 8106C0.
Event Flags
Temporary map flags: 0x7E06C0 - 0x7E0763
Event flags: 0x7E06C4 - 0x7E073F
Worldmap draw items flags: 0x7E0740 - 0x7E075F
Chest flags: 0x7E0760 - 0x7E077F
Magirock flags: 0x7E07E0 - 0x7E07E7
Offset | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x00-0x03 |
| ||||||||||||||||
0x04 |
| ||||||||||||||||
0x05 |
| ||||||||||||||||
0x06 |
| ||||||||||||||||
0x0E |
| ||||||||||||||||
0x0F |
| ||||||||||||||||
0x1E |
| ||||||||||||||||
0x1F |
| ||||||||||||||||
0x20 |
| ||||||||||||||||
0x21 |
| ||||||||||||||||
0x22 |
| ||||||||||||||||
0x23 |
| ||||||||||||||||
0x24 |
| ||||||||||||||||
0x26 |
| ||||||||||||||||
0x28 |
| ||||||||||||||||
0x2B |
| ||||||||||||||||
0x2C |
| ||||||||||||||||
0x2D |
| ||||||||||||||||
0x2E |
| ||||||||||||||||
0x30 |
| ||||||||||||||||
0x30 |
| ||||||||||||||||
0x31 |
| ||||||||||||||||
0x32 |
| ||||||||||||||||
0x35 |
| ||||||||||||||||
0x36 |
| ||||||||||||||||
0x37 |
| ||||||||||||||||
0x4C |
| ||||||||||||||||
0x50 |
| ||||||||||||||||
0x52 |
| ||||||||||||||||
0x53 |
| ||||||||||||||||
0x54 |
| ||||||||||||||||
0x55 |
| ||||||||||||||||
0x56 |
| ||||||||||||||||
0x57 |
| ||||||||||||||||
0x80 |
| ||||||||||||||||
0x81 |
| ||||||||||||||||
0xBB |
|