Difference between revisions of "Event Flags"

From Terranigma Wiki
Jump to navigation Jump to search
m (0x22, bit 0x02)
m (Defeated Dark Twins 0x2B, 0x80)
Line 128: Line 128:
| 0x20
| 0x20
| Painting scene in castle
| Painting scene in castle
|}
|-
| 0x2B
|
{| class="wikitable"
|-
! Bit
! Effect/Event
|-
| 0x80
| Defeated Dark Twins
|}
|}



Revision as of 18:59, 30 June 2018

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 - 0x7E0780 (?)

Magirock flags: 0x7E07A0 - 0x7E07FF (?)

Offset
0x00-0x03
Effect/Event
Event flags for current map


0x04
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
Bit Effect/Event
0x01 Set after apologizing
0x04 Crysta at night
0x40 Set after people finish talking in blue door room
0x06
Bit Effect/Event
0x20 Controls the mill's wheels
0x1E
Bit Effect/Event
0x04 On boat flag (don't use on land you will get stuck)
0x1F
Bit Effect/Event
0x40 Enables usage of chest menu


0x22
Bit Effect/Event
0x02 Australia resurrected


0x26
Bit Effect/Event
0x20 Painting scene in castle
0x2B
Bit Effect/Event
0x80 Defeated Dark Twins
0x35
Bit Effect/Event
0x10 Return to home, last day.


0x36
Bit Effect/Event
0x40 Ra DewDrop collected, disables knockout by posion


0x50
Bit Effect/Event
0x40 Set after talking to elder after breaking the seal
0x55
Bit Effect/Event
0x80 Portal open


0x81
Bit Effect/Event
0x20 Mu shows on world map
0x40 Polynese shows on world map
0xBB
Bit Effect/Event
0x10 Right chest of map ID 0x2BD
0x20 Left chest of map ID 0x2BD