Difference between revisions of "Event Flags"
Jump to navigation
Jump to search
m (0x22, bit 0x02) |
m |
||
(31 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
Event flags are stored at | Event flags are stored at 0x7E06C0. | ||
== Event Flags == | == Event Flags == | ||
Line 6: | Line 6: | ||
Event flags: 0x7E06C4 - 0x7E073F | Event flags: 0x7E06C4 - 0x7E073F | ||
Worldmap draw | Worldmap draw tiles flags: 0x7E0740 - 0x7E075F | ||
Chest flags: 0x7E0760 - | Chest flags: 0x7E0760 - 0x7E077F | ||
Magirock flags: | Magirock flags: 0x7E07E0 - 0x7E07E7 | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
Line 35: | Line 37: | ||
|- | |- | ||
| 0x01 | | 0x01 | ||
| Set after Melina talked to you in bed | | Set after Melina talked to you in bed. </br>Unless this bit is set the game will ignore the map ID stored in the savefile. | ||
|- | |- | ||
| 0x04 | | 0x04 | ||
Line 68: | Line 70: | ||
|- | |- | ||
|} | |} | ||
|- | |- | ||
| 0x06 | | 0x06 | ||
Line 79: | Line 82: | ||
| 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 | |||
|} | |||
|- | |||
| 0x0C | |||
| | |||
{| class="wikitable" | |||
|- | |||
! Bit | |||
! Effect/Event | |||
|- | |||
| 0x20 | |||
| Castle is asleep | |||
|} | |||
|- | |||
| 0x0E | |||
| | |||
{| class="wikitable" | |||
|- | |||
! Bit | |||
! Effect/Event | |||
|- | |||
| 0x04 | |||
| Loire after vote | |||
|- | |||
| 0x10 | |||
| 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 87: | Line 227: | ||
! Bit | ! Bit | ||
! Effect/Event | ! Effect/Event | ||
|- | |||
| 0x02 | |||
| Disable worldmap | |||
|- | |- | ||
| 0x04 | | 0x04 | ||
| On | | On Ship flag (don't use on land you will get stuck) | ||
|- | |||
| 0x10 | |||
| Ship | |||
|} | |} | ||
|- | |- | ||
| 0x1F | | 0x1F | ||
Line 102: | Line 247: | ||
| 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 | |||
|} | |||
|- | |- | ||
Line 115: | Line 298: | ||
| 0x02 | | 0x02 | ||
| Australia resurrected | | 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 | |||
|} | |||
|- | |||
| 0x25 | |||
| | |||
{| class="wikitable" | |||
|- | |||
! Bit | |||
! Effect/Event | |||
|- | |||
| 0x02 | |||
| Dark Morph Yeti Defeated | |||
|- | |||
| 0x08 | |||
| Talked to Will after Hitoderon fight | |||
|} | |} | ||
Line 125: | Line 359: | ||
! Bit | ! Bit | ||
! Effect/Event | ! Effect/Event | ||
|- | |||
| 0x04 | |||
| Louran after waking up scene | |||
|- | |- | ||
| 0x20 | | 0x20 | ||
| Painting scene in castle | | Painting scene in castle | ||
|} | |||
|- | |||
| 0x27 | |||
| | |||
{| class="wikitable" | |||
|- | |||
! Bit | |||
! Effect/Event | |||
|- | |||
| 0x01 | |||
| Saphire collected | |||
|} | |||
|- | |||
| 0x28 | |||
| | |||
{| class="wikitable" | |||
|- | |||
! Bit | |||
! Effect/Event | |||
|- | |||
| 0x02 | |||
| Meilin following | |||
|- | |||
| 0x04 | |||
| Louran 1st cutscene | |||
|- | |||
| 0x08 | |||
| Louran scarf cutscene | |||
|} | |||
|- | |||
| 0x2A | |||
| | |||
{| class="wikitable" | |||
|- | |||
! Bit | |||
! Effect/Event | |||
|- | |||
| 0x08 | |||
| Water switch | |||
|} | |||
|- | |||
| 0x2B | |||
| | |||
{| class="wikitable" | |||
|- | |||
! Bit | |||
! Effect/Event | |||
|- | |||
| 0x20 | |||
| portal cutscene | |||
|- | |||
| 0x80 | |||
| Defeated Dark Twins | |||
|} | |||
|- | |||
| 0x2C | |||
| | |||
{| class="wikitable" | |||
|- | |||
! Bit | |||
! Effect/Event | |||
|- | |||
| 0x01 | |||
| Ra Tree 3rd stage / Indus River Exit | |||
|- | |||
| 0x02 | |||
| Lhasa | |||
|- | |||
| 0x04 | |||
| Lion saved | |||
|- | |||
| 0x80 | |||
| Tokyo sad | |||
|} | |||
|- | |||
| 0x2D | |||
| | |||
{| class="wikitable" | |||
|- | |||
! 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 | |||
| | |||
{| 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 | |||
|} | |||
|- | |||
| 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 | |||
|- | |||
| 0x10 | |||
| Dark Morph Wizard defeated | |||
|- | |||
| 0x20 | |||
| Security Robot defeated | |||
|- | |||
| 0x40 | |||
| Tower 5 preboss cutscene | |||
|- | |||
| 0x80 | |||
| Yomi sees yeti | |||
|} | |} | ||
Line 137: | Line 621: | ||
! Bit | ! Bit | ||
! Effect/Event | ! Effect/Event | ||
|- | |||
| 0x02 | |||
| Sewer cutscene 2 | |||
|- | |||
| 0x04 | |||
| Sewer cutscene 1 | |||
|- | |||
| 0x08 | |||
| Tokyo underground open | |||
|- | |- | ||
| 0x10 | | 0x10 | ||
Line 155: | Line 648: | ||
|} | |} | ||
|- | |||
| 0x37 | |||
| | |||
{| class="wikitable" | |||
|- | |||
! Bit | |||
! Effect/Event | |||
|- | |||
| 0x01 | |||
| 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 | |||
|} | |||
|- | |||
| 0x4C | |||
| | |||
{| class="wikitable" | |||
|- | |||
! Bit | |||
! Effect/Event | |||
|- | |||
| 0x02 | |||
| X-Spear won in Lottery | |||
|- | |||
| 0x10 | |||
| Dailroom cutscene | |||
|} | |||
Line 167: | Line 777: | ||
| 0x40 | | 0x40 | ||
| 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 | |||
|} | |} | ||
Line 176: | Line 822: | ||
! Bit | ! Bit | ||
! Effect/Event | ! Effect/Event | ||
|- | |||
| 0x01 | |||
| Beruga's Tower Gate | |||
|- | |- | ||
| 0x80 | | 0x80 | ||
| Portal open | | 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 | |||
|} | |||
|- | |||
| 0x58 | |||
| | |||
{| class="wikitable" | |||
|- | |||
! Bit | |||
! Effect/Event | |||
|- | |||
| 0x80 | |||
| Talked to Will after Hitoderon fight | |||
|} | |||
|- | |||
| 0x59 | |||
| | |||
{| class="wikitable" | |||
|- | |||
! Bit | |||
! Effect/Event | |||
|- | |||
| 0x01 | |||
| Spawn Asterika chest | |||
|} | |||
|- | |||
| 0x80 | |||
| | |||
{| class="wikitable" | |||
|- | |||
! Bit | |||
! Effect/Event | |||
|- | |||
| 0x01 | |||
| Ship ports | |||
|- | |||
| 0x02 | |||
| Eklamata | |||
|} | |||
|- | |- | ||
Line 189: | Line 905: | ||
! Bit | ! Bit | ||
! Effect/Event | ! 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 | | 0x20 | ||
Line 195: | Line 926: | ||
| 0x40 | | 0x40 | ||
| Polynese shows on world map | | Polynese shows on world map | ||
|- | |||
| 0x80 | |||
| Australia airfield | |||
|} | |} | ||
Latest revision as of 20:54, 6 February 2025
Event flags are stored at 0x7E06C0.
Event Flags
Temporary map flags: 0x7E06C0 - 0x7E0763
Event flags: 0x7E06C4 - 0x7E073F
Worldmap draw tiles flags: 0x7E0740 - 0x7E075F
Chest flags: 0x7E0760 - 0x7E077F
Magirock flags: 0x7E07E0 - 0x7E07E7
Offset | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x00-0x03 |
| ||||||||||||||||||
0x04 |
| ||||||||||||||||||
0x05 |
| ||||||||||||||||||
0x06 |
| ||||||||||||||||||
0x0A |
| ||||||||||||||||||
0x0C |
| ||||||||||||||||||
0x0E |
| ||||||||||||||||||
0x0F |
| ||||||||||||||||||
0x12 |
| ||||||||||||||||||
0x13 |
| ||||||||||||||||||
0x14 |
| ||||||||||||||||||
0x17 |
| ||||||||||||||||||
0x16 |
| ||||||||||||||||||
0x1D |
| ||||||||||||||||||
0x1E |
| ||||||||||||||||||
0x1F |
| ||||||||||||||||||
0x20 |
| ||||||||||||||||||
0x21 |
| ||||||||||||||||||
0x22 |
| ||||||||||||||||||
0x23 |
| ||||||||||||||||||
0x24 |
| ||||||||||||||||||
0x25 |
| ||||||||||||||||||
0x26 |
| ||||||||||||||||||
0x27 |
| ||||||||||||||||||
0x28 |
| ||||||||||||||||||
0x2A |
| ||||||||||||||||||
0x2B |
| ||||||||||||||||||
0x2C |
| ||||||||||||||||||
0x2D |
| ||||||||||||||||||
0x2E |
| ||||||||||||||||||
0x30 |
| ||||||||||||||||||
0x30 |
| ||||||||||||||||||
0x31 |
| ||||||||||||||||||
0x32 |
| ||||||||||||||||||
0x33 |
| ||||||||||||||||||
0x34 |
| ||||||||||||||||||
0x35 |
| ||||||||||||||||||
0x36 |
| ||||||||||||||||||
0x37 |
| ||||||||||||||||||
0x41 |
| ||||||||||||||||||
0x40 |
| ||||||||||||||||||
0x44 |
| ||||||||||||||||||
0x47 |
| ||||||||||||||||||
0x48 |
| ||||||||||||||||||
0x4A |
| ||||||||||||||||||
0x4C |
| ||||||||||||||||||
0x50 |
| ||||||||||||||||||
0x52 |
| ||||||||||||||||||
0x53 |
| ||||||||||||||||||
0x54 |
| ||||||||||||||||||
0x55 |
| ||||||||||||||||||
0x56 |
| ||||||||||||||||||
0x57 |
| ||||||||||||||||||
0x58 |
| ||||||||||||||||||
0x59 |
| ||||||||||||||||||
0x80 |
| ||||||||||||||||||
0x81 |
| ||||||||||||||||||
0xBB |
|