Difference between revisions of "Event Flags"

From Terranigma Wiki
Jump to navigation Jump to search
m (Added some entries)
m (Added more info - pictures)
(14 intermediate revisions by the same user not shown)
Line 70: Line 70:
|-
|-
|}
|}
|-
|-
| 0x06
| 0x06
Line 80: Line 81:
| 0x20
| 0x20
| Controls the mill's wheels
| Controls the mill's wheels
|}
|-
| 0x0A
|
{| class="wikitable"
|-
! Bit
! Effect/Event
|-
| 0x04
| Set after sleeping in louran
|-
| 0x08
| Louran Inn keeper greeting
|}
|}


Line 95: Line 111:
| 0x10
| 0x10
| Underworld Portal on map
| Underworld Portal on map
|}
|-
| 0x0F
|
{| class="wikitable"
|-
! Bit
! Effect/Event
|-
| 0x01
| Chicken Exit
|}
|-
| 0x12
|
{| class="wikitable"
|-
! Bit
! Effect/Event
|-
| 0x01
| Quatros Exit
|}
|-
| 0x13
|
{| class="wikitable"
|-
! Bit
! Effect/Event
|-
| 0x20
| Set after returning from ghostship trip
|}
|-
| 0x14
|
{| class="wikitable"
|-
! Bit
! Effect/Event
|-
| 0x04
| Meilin-event
|-
| 0x08
| litto cutscene
|-
| 0x40
| mermaid exit to world
|}
|-
| 0x17
|
{| class="wikitable"
|-
! Bit
! Effect/Event
|-
| 0x02
| Tokyo destroyed
|}
|-
| 0x16
|
{| class="wikitable"
|-
! Bit
! Effect/Event
|-
| 0x40
| Turned in Crystal
|}
|-
| 0x1D
|
{| class="wikitable"
|-
! Bit
! Effect/Event
|-
| 0x04
| Helped invent Tasty Meat
|}
|}


Line 110: Line 220:
|-
|-
| 0x04
| 0x04
| On boat flag (don't use on land you will get stuck)
| On Ship flag (don't use on land you will get stuck)
|-
| 0x10
| Ship
|}
|}
|-
|-
| 0x1F
| 0x1F
Line 219: Line 331:
! Bit
! Bit
! Effect/Event
! Effect/Event
|-
| 0x04
| Louran after waking up scene
|-
|-
| 0x20
| 0x20
Line 224: Line 339:
|}
|}


|-
| 0x25
|
{| class="wikitable"
|-
! Bit
! Effect/Event
|-
| 0x08
| Talked to Will after Hitoderon fight
|}
|-
| 0x26
|
{| class="wikitable"
|-
! Bit
! Effect/Event
|-
| 0x20
| castle cutscene picture
|}


|-
|-
Line 235: Line 374:
| 0x02
| 0x02
| Meilin following
| Meilin following
|-
| 0x04
| Louran 1st cutscene
|-
| 0x08
| Louran scarf cutscene
|}
|}


Line 244: Line 389:
! Bit
! Bit
! Effect/Event
! Effect/Event
|-
| 0x20
| portal cutscene
|-
|-
| 0x80
| 0x80
Line 282: Line 430:
|-
|-
| 0x02
| 0x02
| Ship gain cutscene
| Ship gain cutscene, despawns Big Fish
|-
|-
| 0x04
| 0x04
Line 292: Line 440:
| 0x40
| 0x40
| Castle gem cutscene
| Castle gem cutscene
|-
| 0x80
| Entering sewers cutscene
|}
|}


Line 387: Line 538:
|}
|}


|-
| 0x33
|
{| class="wikitable"
|-
! Bit
! Effect/Event
|-
| 0x08
| Tower 5 entrance
|-
| 0x10
| Leaf cutscene
|-
| 0x40
| Stone blocking exit
|-
| 0x80
| Wolves aaway
|}
|-
| 0x34
|
{| class="wikitable"
|-
! Bit
! Effect/Event
|-
| 0x02
| Hitoderon defeated, Spawns Will
|-
| 0x20
| Security Robot defeated
|-
| 0x40
| Tower 5 preboss cutscene
|-
| 0x80
| Yomi sees yeti
|}


|-
|-
Line 432: Line 626:
| 0x01
| 0x01
| Eklemata snow scene
| Eklemata snow scene
|}
|-
| 0x41
|
{| class="wikitable"
|-
! Bit
! Effect/Event
|-
| 0x40
| Talked to sardine guy after delivering the can
|}
|-
| 0x40
|
{| class="wikitable"
|-
! Bit
! Effect/Event
|-
| 0x80
| Talked to Bell after invention of phone
|}
|-
| 0x44
|
{| class="wikitable"
|-
! Bit
! Effect/Event
|-
| 0x01
| Took picture in Loire
|-
| 0x02
| Took picture in Litz
|-
| 0x04
| Took picture in Freedom
|-
| 0x08
| Took picture in Nirlake
|-
| 0x10
| Took picture in Suncoast
|}
|-
| 0x47
|
{| class="wikitable"
|-
! Bit
! Effect/Event
|-
| 0x01
| Gave medicine to wife of husband
|}
|-
| 0x48
|
{| class="wikitable"
|-
! Bit
! Effect/Event
|-
| 0x80
| Nice Suite won in Lottery
|}
|-
| 0x4A
|
{| class="wikitable"
|-
! Bit
! Effect/Event
|-
| 0x10
| Took picture in Neotokio
|-
| 0x20
| Took picture in Liotto
|-
| 0x08
| Took picture in Yunkou
|}
|}


Line 441: Line 726:
! Bit
! Bit
! Effect/Event
! Effect/Event
|-
| 0x02
| X-Spear won in Lottery
|-
|-
| 0x10
| 0x10
Line 502: Line 790:
! Bit
! Bit
! Effect/Event
! Effect/Event
|-
| 0x01
| Beruga's Tower Gate
|-
|-
| 0x80
| 0x80
Line 536: Line 827:
|}
|}


|-
| 0x58
|
{| class="wikitable"
|-
! Bit
! Effect/Event
|-
| 0x80
| Talked to Will after Hitoderon fight
|}
|-
| 0x59
|
{| class="wikitable"
|-
! Bit
! Effect/Event
|-
| 0x01
| Spawn Asterika chest
|}


|-
|-
Line 568: Line 882:
| 0x04
| 0x04
| Buruga's tower (The exit still needs to be enabled)
| Buruga's tower (The exit still needs to be enabled)
|-
| 0x08
| Colorado bridge
|-
|-
| 0x10
| 0x10
| Amazon bridge
| Amazon bridge (Spawns after Colorado bridge is complete)
|-
|-
| 0x20
| 0x20

Revision as of 23:27, 17 April 2021

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
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
0x0A
Bit Effect/Event
0x04 Set after sleeping in louran
0x08 Louran Inn keeper greeting
0x0E
Bit Effect/Event
0x04 Loire after vote
0x10 Underworld Portal on map


0x0F
Bit Effect/Event
0x01 Chicken Exit


0x12
Bit Effect/Event
0x01 Quatros Exit


0x13
Bit Effect/Event
0x20 Set after returning from ghostship trip
0x14
Bit Effect/Event
0x04 Meilin-event
0x08 litto cutscene
0x40 mermaid exit to world
0x17
Bit Effect/Event
0x02 Tokyo destroyed
0x16
Bit Effect/Event
0x40 Turned in Crystal


0x1D
Bit Effect/Event
0x04 Helped invent Tasty Meat


0x1E
Bit Effect/Event
0x02 Disable worldmap
0x04 On Ship flag (don't use on land you will get stuck)
0x10 Ship
0x1F
Bit Effect/Event
0x40 Enables usage of chest menu
0x80 Disable magic
0x20
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
Bit Effect/Event
0x02 Shadow Keeper defeated
0x22
Bit Effect/Event
0x02 Australia resurrected
0x10 Tower 1 Complete
0x80 Tower 2 Complete
0x23
Bit Effect/Event
0x04 Tower 3 Complete
0x10 Tower 4 Complete
0x24
Bit Effect/Event
0x01 Mu exit
0x02 Ra Tree cutscene
0x26
Bit Effect/Event
0x04 Louran after waking up scene
0x20 Painting scene in castle
0x25
Bit Effect/Event
0x08 Talked to Will after Hitoderon fight


0x26
Bit Effect/Event
0x20 castle cutscene picture
0x28
Bit Effect/Event
0x02 Meilin following
0x04 Louran 1st cutscene
0x08 Louran scarf cutscene
0x2B
Bit Effect/Event
0x20 portal cutscene
0x80 Defeated Dark Twins
0x2C
Bit Effect/Event
0x01 Ra Tree 3rd stage
0x02 Lhasa
0x04 Lion saved
0x80 Tokyo sad
0x2D
Bit Effect/Event
0x01 Great Lakes Cavern cutscene
0x02 Ship gain cutscene, despawns Big Fish
0x04 Mermaid exit block
0x08 Guy on bridge
0x40 Castle gem cutscene
0x80 Entering sewers cutscene
0x2E
Bit Effect/Event
0x01 Sewer cutscene girl #1
0x02 Sewer cutscene girl #2
0x03 Sewer cutscene girl #3
0x30
Bit Effect/Event
0x01 Obtained Starstone
0x20 Buruga's tower exit (Rebirth completed)


0x30
Bit Effect/Event
0x80 Obtained bombs


0x31
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
Bit Effect/Event
0x20 Airship south cutscene 2
0x40 End game state crysta


0x33
Bit Effect/Event
0x08 Tower 5 entrance
0x10 Leaf cutscene
0x40 Stone blocking exit
0x80 Wolves aaway
0x34
Bit Effect/Event
0x02 Hitoderon defeated, Spawns Will
0x20 Security Robot defeated
0x40 Tower 5 preboss cutscene
0x80 Yomi sees yeti
0x35
Bit Effect/Event
0x02 Sewer cutscene 2
0x04 Sewer cutscene 1
0x08 Tokyo underground open
0x10 Return to home, last day.


0x36
Bit Effect/Event
0x40 Ra DewDrop collected, disables knockout by posion
0x37
Bit Effect/Event
0x01 Eklemata snow scene
0x41
Bit Effect/Event
0x40 Talked to sardine guy after delivering the can
0x40
Bit Effect/Event
0x80 Talked to Bell after invention of phone


0x44
Bit Effect/Event
0x01 Took picture in Loire
0x02 Took picture in Litz
0x04 Took picture in Freedom
0x08 Took picture in Nirlake
0x10 Took picture in Suncoast
0x47
Bit Effect/Event
0x01 Gave medicine to wife of husband
0x48
Bit Effect/Event
0x80 Nice Suite won in Lottery


0x4A
Bit Effect/Event
0x10 Took picture in Neotokio
0x20 Took picture in Liotto
0x08 Took picture in Yunkou
0x4C
Bit Effect/Event
0x02 X-Spear won in Lottery
0x10 Dailroom cutscene


0x50
Bit Effect/Event
0x40 Set after talking to elder after breaking the seal
0x52
Bit Effect/Event
0x40 Crysta Gate
0x53
Bit Effect/Event
0x02 Stockholm gate
0x54
Bit Effect/Event
0x01 Dragoon castle secret door
0x55
Bit Effect/Event
0x01 Beruga's Tower Gate
0x80 Overworld Portal open


0x56
Bit Effect/Event
0x01 Quntet building
0x10 Liberty (Modern) - Police Entrance
0x57
Bit Effect/Event
0x80 Liberty (Modern) - Police Building
0x58
Bit Effect/Event
0x80 Talked to Will after Hitoderon fight
0x59
Bit Effect/Event
0x01 Spawn Asterika chest
0x80
Bit Effect/Event
0x01 Ship ports
0x02 Eklamata
0x81
Bit Effect/Event
0x01 Libertia airfield
0x02 Mosque airfield
0x04 Buruga's tower (The exit still needs to be enabled)
0x08 Colorado bridge
0x10 Amazon bridge (Spawns after Colorado bridge is complete)
0x20 Mu shows on world map
0x40 Polynese shows on world map
0x80 Australia airfield
0xBB
Bit Effect/Event
0x10 Right chest of map ID 0x2BD
0x20 Left chest of map ID 0x2BD