Difference between revisions of "Event Flags"
Jump to navigation
Jump to search
m (→Event Flags) |
m (Add some Event Flags) |
||
(16 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 22: | Line 26: | ||
| Event flags for current map | | Event flags for current map | ||
|} | |} | ||
|- | |||
| 0x04 | |||
| | |||
{| class="wikitable" | |||
|- | |||
! Bit | |||
! Effect/Event | |||
|- | |||
| 0x01 | |||
| Set after Melina talked to you in bed | |||
|- | |||
| 0x04 | |||
| Set after breaking the seal | |||
|- | |||
| 0x08 | |||
| Set after talking to melina after breaking the seal. Freezes people. | |||
|- | |||
| 0x40 | |||
| Set after talking to elder | |||
|- | |||
| 0x80 | |||
| Set after entering blue door room | |||
|} | |||
|- | |||
| 0x05 | |||
| | |||
{| class="wikitable" | |||
|- | |||
! Bit | |||
! Effect/Event | |||
|- | |||
| 0x01 | |||
| Set after apologizing | |||
|- | |||
| 0x04 | |||
| Crysta at night | |||
|- | |||
| 0x40 | |||
| Set after people finish talking in blue door room | |||
|- | |||
|} | |||
|- | |- | ||
| 0x06 | | 0x06 | ||
Line 34: | Line 82: | ||
|} | |} | ||
|- | |||
| 0x0E | |||
| | |||
{| class="wikitable" | |||
|- | |||
! Bit | |||
! Effect/Event | |||
|- | |||
| 0x04 | |||
| Loire after vote | |||
|- | |||
| 0x10 | |||
| Underworld Portal on map | |||
|} | |||
|- | |||
| 0x1E | |||
| | |||
{| class="wikitable" | |||
|- | |||
! Bit | |||
! Effect/Event | |||
|- | |||
| 0x02 | |||
| Disable worldmap | |||
|- | |- | ||
| 0x04 | | 0x04 | ||
| On boat flag (don't use on land you will get stuck) | |||
|} | |||
|- | |||
| 0x1F | |||
| | |||
{| class="wikitable" | |||
|- | |||
! Bit | |||
! Effect/Event | |||
|- | |||
| 0x40 | |||
| Enables usage of chest menu | |||
|- | |||
| 0x80 | |||
| Disable magic | |||
|} | |||
|- | |||
| 0x20 | |||
| | | | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 43: | Line 137: | ||
|- | |- | ||
| 0x01 | | 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 | |||
|} | |||
|- | |||
| 0x26 | |||
| | |||
{| class="wikitable" | |||
|- | |||
! Bit | |||
! Effect/Event | |||
|- | |||
| 0x20 | |||
| 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 | | 0x04 | ||
| | | Mermaid exit block | ||
|- | |- | ||
| 0x08 | | 0x08 | ||
| | | Guy on bridge | ||
|- | |- | ||
| 0x40 | | 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 | | 0x80 | ||
| | | Obtained bombs | ||
|} | |} | ||
|- | |- | ||
| | | 0x31 | ||
| | | | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 67: | Line 350: | ||
|- | |- | ||
| 0x01 | | 0x01 | ||
| | | Placed bombs | ||
|- | |||
| 0x02 | |||
| Placed bombs | |||
|- | |- | ||
| 0x04 | | 0x04 | ||
| | | Placed bombs | ||
|- | |||
| 0x08 | |||
| Placed bombs | |||
|- | |||
| 0x10 | |||
| Placed bombs | |||
|- | |||
| 0x20 | |||
| Placed bombs | |||
|- | |- | ||
| 0x40 | | 0x40 | ||
| | | Placed bombs | ||
|} | |||
|- | |||
| 0x32 | |||
| | |||
{| class="wikitable" | |||
|- | |||
! Bit | |||
! Effect/Event | |||
|- | |||
| 0x20 | |||
| Airship south cutscene 2 | |||
|- | |- | ||
| 0x40 | |||
| End game state crysta | |||
|} | |} | ||
|- | |- | ||
Line 84: | Line 395: | ||
! Bit | ! Bit | ||
! Effect/Event | ! Effect/Event | ||
|- | |||
| 0x02 | |||
| Sewer cutscene 2 | |||
|- | |||
| 0x04 | |||
| Sewer cutscene 1 | |||
|- | |||
| 0x08 | |||
| Tokyo underground open | |||
|- | |- | ||
| 0x10 | | 0x10 | ||
| Return to home, last day. | | Return to home, last day. | ||
|} | |} | ||
|- | |||
| 0x36 | |||
| | |||
{| class="wikitable" | |||
|- | |||
! Bit | |||
! Effect/Event | |||
|- | |||
| 0x40 | |||
| Ra DewDrop collected, disables knockout by posion | |||
|} | |||
|- | |- | ||
Line 99: | Line 434: | ||
| 0x40 | | 0x40 | ||
| Set after talking to elder after breaking the seal | | Set after talking to elder after breaking the seal | ||
|} | |||
|- | |||
| 0x55 | |||
| | |||
{| class="wikitable" | |||
|- | |||
! Bit | |||
! Effect/Event | |||
|- | |||
| 0x80 | |||
| Overworld Portal open | |||
|} | |||
|- | |||
| 0x54 | |||
| | |||
{| class="wikitable" | |||
|- | |||
! Bit | |||
! Effect/Event | |||
|- | |||
| 0x01 | |||
| Dragoon castle secret door | |||
|} | |||
|- | |||
| 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 | |||
| Australia airfield | |||
|} | |} | ||
Revision as of 07:54, 30 January 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 |
| ||||||||||||||||
0x1E |
| ||||||||||||||||
0x1F |
| ||||||||||||||||
0x20 |
| ||||||||||||||||
0x21 |
| ||||||||||||||||
0x22 |
| ||||||||||||||||
0x23 |
| ||||||||||||||||
0x24 |
| ||||||||||||||||
0x26 |
| ||||||||||||||||
0x28 |
| ||||||||||||||||
0x2B |
| ||||||||||||||||
0x2C |
| ||||||||||||||||
0x2D |
| ||||||||||||||||
0x2E |
| ||||||||||||||||
0x30 |
| ||||||||||||||||
0x30 |
| ||||||||||||||||
0x31 |
| ||||||||||||||||
0x32 |
| ||||||||||||||||
0x35 |
| ||||||||||||||||
0x36 |
| ||||||||||||||||
0x50 |
| ||||||||||||||||
0x55 |
| ||||||||||||||||
0x54 |
| ||||||||||||||||
0x56 |
| ||||||||||||||||
0x57 |
| ||||||||||||||||
0x80 |
| ||||||||||||||||
0x81 |
| ||||||||||||||||
0xBB |
|