Skip to Content
The Alchemy Project

include/flags.h

The game flags: 4096 bits saved with the game (GameFlagBytes) that the story, the scenes and the game's own systems set and test. More…

Included by world_map_encounter_rules.c, main_routine.c, menu_internal.h, apojii_islands.c, jupiter_lighthouse_side_halls.c, naribwe.c, scene_set_arrival_flags.c, shop_internal.h, game.h and mars_lighthouse_shared.h.

Macros

NameDescription
#defineFLAG_IN_PARTY (actor) (actor)Set while the party member whose actor id is actor (ACTOR_FELIX to ACTOR_PIERS, 0 to 3 for Isaac's party) is in the party.
#defineFLAG_SUMMON_TABLET (summon) (summon)Set once the summon tablet of summon (SUMMON_ZAGAN to SUMMON_IRIS) has taught it: a tablet's flag is its summon's number (SceneItems).
#defineFLAG_DJINN_FIRST 0x30The first of the 80 Djinn flags, DJINNI_FLINT's.
#defineFLAG_DJINNI (djinni) (FLAG_DJINN_FIRST + (djinni))Set once the party has djinni (djinn_ids.h), whose DJINNI_ID counts from FLAG_DJINN_FIRST.
#defineFLAG_DJINN_HIDING_FIRST 0x80The first of the 80 hiding flags after the Djinn's own, DJINNI_FLINT's.
#defineFLAG_DJINNI_HIDING (djinni) (FLAG_DJINN_HIDING_FIRST + (djinni))Set while djinni is hiding, its DJINNI_ID counting from FLAG_DJINN_HIDING_FIRST: fdDjinnResolvePending sets it after a lost or fled Djinni battle.
#defineFLAG_ARRIVAL_CLEARED_LAST 0xdfThe last of the 96 flags from FLAG_DJINN_HIDING_FIRST that gmArrive clears on every arrival: the 80 hiding flags and the 16 after them.
#defineFLAG_CHILDHOOD 0x20Unused: The Broken Seal's flag for its prologue, while Isaac and Garet are children.
#defineFLAG_ISAAC_WEARS_TUNIC 0x21Unused: The Broken Seal's flag for the tunic young Isaac wears.
#defineFLAG_REUNION 0x22Set as Isaac's party joins Felix's (gmPartyAddIsaacsParty); a file saved after it is "Post-Reunion Data" (MsgSavePostReunion).
#defineFLAG_ENEMY_DEFEATED_FIRST 0x600The first of the flags that mark each enemy defeated, by enemy id, 0x600 to 0x7ff (battle_internal.h's ENEMY_DEFEATED_FLAG): btEnemyRecordDefeat sets them, and the monster battles choose only defeated enemies.
#defineFLAG_TRANSFERRED_BY_LINK 0x2cThe Broken Seal's clear data, as "Transfer data from Golden Sun" brings it in by link or by password (gmDataTransferApply).
#defineFLAG_TRANSFERRED_BY_PASSWORD 0x2dSet once data was transferred by password.
#defineFLAG_DATA_TRANSFERRED 0x2fSet once data was transferred, either way.
#defineFLAG_HARD_LEVEL 0x2eSet when the Clear scene's "Play on HARD level?
#defineFLAG_TRANSFERRED_DJINN_FIRST 0x800The first of the 28 flags of The Broken Seal's Djinn, seven to an element in element order: set for each Djinni the transferred data held, or for each gmDataTransferGiveDefaultDjinn handed out.
#defineTRANSFERRED_DJINN_PER_ELEMENT 7The Broken Seal's Djinn of each element.
#defineFLAG_TRANSFERRED_DODONPA_LOCKED_UP 0x820The six flags gmDataTransferApply copies from The Broken Seal's (DataTransferFlags), named for those.
#defineFLAG_TRANSFERRED_WON_COLOSSO 0x821
#defineFLAG_TRANSFERRED_ISAAC_SAVED_ULMUCH 0x822The opposite of The Broken Seal's FLAG_HSU_RESCUED_WITHOUT_PARTY: set when that was clear, so Isaac saved Hsu himself, whom this game's text calls Ulmuch ("He helped Ulmuch.
#defineFLAG_TRANSFERRED_VISITED_SICK_DORA 0x824
#defineFLAG_TRANSFERRED_VAULT_WARNED_OF_ESCAPED_THIEVES 0x825
#defineTRANSFERRED_FLAG_COUNT 6How many flags DataTransferFlags lists.
#defineFLAG_BROKEN_SEAL_VISITED_SICK_DORA 0x81eFlags of The Broken Seal's save, by its own names and numbers: gmDataTransferApply reads them (DataTransferFlags), and the Clear scene sets them from a password (ClearImportedFlags).
#defineFLAG_BROKEN_SEAL_VAULT_WARNED_OF_ESCAPED_THIEVES 0x868
#defineFLAG_BROKEN_SEAL_HSU_RESCUED_WITHOUT_PARTY 0x8b3
#defineFLAG_BROKEN_SEAL_CROSSBONE_ISLE_DEADBEARD_DEFEATED 0x8d1
#defineFLAG_BROKEN_SEAL_DODONPA_LOCKED_UP 0x941
#defineFLAG_BROKEN_SEAL_WON_COLOSSO 0x951
#defineFLAG_SYSTEM_FIRST 0x100The system flags: what the field, battles and menus keep about their own working, shared with the scenes that set or test them, rather than the story's progress.
#defineFLAG_SYSTEM_LAST 0x1ffThe last of the 256 system flags.
#defineFLAG_SKIP_SCENE_CHANGE_SOUND 0x101The next scene change is silent: the scene loader clears it in place of playing its sound, once.
#defineFLAG_IN_BATTLE 0x103Set as a battle starts, cleared as a field scene starts.
#defineFLAG_FIELD_HANDLING_REQUESTS 0x104Set while the field engine handles its requests, and cleared while the party walks (fdEngineRun).
#defineFLAG_MENU_OPEN 0x106Set while the field menu is open; scenes hold their moving actors still.
#defineFLAG_MENUS_RAISE_CUE 0x107While set, opening the field menu or pressing a shortcut raises the scene's menu cue instead.
#defineFLAG_PSYNERGY_TINTED 0x108Set while a field Psynergy's tint holds the palettes, from fdStartColorTransition until fdStartPaletteTransition.
#defineFLAG_KEEP_PARTY_POSITION 0x109The next field scene starts where the party was, as after a battle: the scene's flags are not reset, the actors come back from their snapshot, and the music saved in MainRoutineStateWork.returnMusic resumes if there is one (a random battle clears it, so the scene's own music plays).
#defineFLAG_FORGE_OPEN 0x10fSunshine the blacksmith forges for the party: Yallam sets it while the party carries a rusty weapon or a forging material, and keeps it while he works or his wife holds what he made.
#defineFLAG_IN_VENUS_LIGHTHOUSE 0x110Each lighthouse's scenes set its flag on every arrival, and gmArrive clears all four when the party enters another area, so a flag is set only while the party is inside.
#defineFLAG_IN_MERCURY_LIGHTHOUSE 0x111
#defineFLAG_IN_MARS_LIGHTHOUSE 0x112
#defineFLAG_IN_JUPITER_LIGHTHOUSE 0x113
#defineFLAG_KEEP_MUSIC_ONCE 0x11aThe next scene keeps the music that is playing; main_routine.c clears FLAG_KEEP_MUSIC_ONCE as it does, and leaves FLAG_KEEP_MUSIC_HELD set.
#defineFLAG_KEEP_MUSIC_HELD 0x11bAs FLAG_KEEP_MUSIC_ONCE, for as long as it is set.
#defineFLAG_WORLD_MAP_LEFT 0x11cThe current scene is not the World Map.
#defineFLAG_LEADER_OFF_MAP_SCREEN 0x11eThe leader stands in the corner of the World Map that the map screen leaves out (fdMapScreenGetLeaderPoint): "This place doesn't seem to appear on the map..."
#defineFLAG_ARRIVAL_STAIRS_UP 0x120The leader left through an EXIT_STYLE_STAIRS_UP exit; the next scene plays the leader's arrival, unless its setup clears this first.
#defineFLAG_ARRIVAL_STAIRS_DOWN 0x121As FLAG_ARRIVAL_STAIRS_UP, for an EXIT_STYLE_STAIRS_DOWN exit.
#defineFLAG_ARRIVE_FALLING 0x122The leader falls into the next scene from above, as after jumping down a ledge into it.
#defineFLAG_IN_TOWN 0x123The party is in a town; the scene loader sets and clears it.
#defineFLAG_SHOW_AREA_NAME 0x12fThe scene shows its area's name once it is on screen; entering a new area sets it.
#defineFLAG_SAVE_RESTARTED_AT_SANCTUM 0x13eThe file was loaded to restart at its last Sanctum.
#defineFLAG_SAVE_RECOVERED_AT_SANCTUM 0x13fThe file was recovered at its last Sanctum.
#defineFLAG_PLAY_PSYNERGY_CAST 0x140Play the kind's usual cast: the caster's glow, animation and sound (fdPsynergyStartCast).
#defineFLAG_PSYNERGY_TARGET 0x141Aim the field Psynergy at the actor ahead rather than run the kind's untargeted body; fdUsePsynergy keeps it set only when a cue applies to what the leader faces.
#defineFLAG_NOTHING_HAPPENS 0x142Set before the party acts on the field; still set afterwards, nothing came of it and the game says so.
#defineFLAG_ITEM_USED_UP 0x143The item just used is removed afterwards.
#defineFLAG_RETREAT_BLOCKED 0x144Retreat is blocked, whether cast or used from an item; the scenes that forbid Retreat set it.
#defineFLAG_PSYNERGY_FROM_ITEM 0x145The Psynergy comes from an item.
#defineFLAG_SAND_CANNOT_END 0x146While set, the keys that end Sand do nothing (fdSandCheckEndKeys): Ankohl Ruins sets it as the great face's raft passes rows 31 to 35, and clears it at row 37; gmArrive clears it on every arrival.
#defineFLAG_SHIP_HOVERING 0x147Set while the flying ship hovers on the World Map: Hover cast aboard it sets it, the ship takes off and the World Map announces "Hover" (scWorldMapSetUpFlyingShip); taking off with the dash keys clears it.
#defineFLAG_PSYNERGY_TINT (n) (0x148 + (n))While set, a field Psynergy fades toward FieldPsynergyCastColors[n] (PSYNERGY_TINT) in place of its own tint; of several set, the highest n wins (fdPsynergyFadeToCastColor).
#defineFLAG_MENU_START_PRESSED 0x150Set while Start is pressed in the Psynergy menu, which ends its waits.
#defineFLAG_INFO_WINDOW_HOLDS_MESSAGE 0x151Set while the item menu's info window holds a message mnItemMenuShowMessage left there; the item and Psynergy menus then leave the window be once and clear it, in place of drawing the selection's description.
#defineFLAG_PALETTE_BLEND_HELD 0x152Holds the field's palette blend still while a menu is open.
#defineFLAG_IGNORE_ENCOUNTER_CHECKS 0x15fEncounters are rolled even where FLAG_NO_ENCOUNTERS, FLAG_NO_ENCOUNTERS_IN_AREA, a zone of 0 or Cloak would stop them (fdEncounterCountStepsAndSelectFormation).
#defineFLAG_NO_ENCOUNTERS 0x160No random encounters while set (fdEncounterCountStepsAndSelectFormation).
#defineFLAG_NO_ENCOUNTERS_IN_AREA 0x161No random battles until the party enters another area; gmArrive clears it with a new area.
#defineFLAG_DEBUG_BATTLE 0x162Set before every debug battle.
#defineFLAG_DEBUG_STEPS_OFF 0x163In debug mode, steps on the field are not processed.
#defineFLAG_WEATHER_HELD 0x166Holds the field's weather still, its particles and its next burst, while a menu is open.
#defineFLAG_LURE_CAP 0x167Set while the Lure Cap is worn: random encounters come twice as fast.
#defineFLAG_AUTO_BATTLE 0x16aAuto battle: every living unit, party and enemies, makes a plain attack each turn with no command menu; the debug battle menu sets it.
#defineFLAG_CHOOSING_COMMANDS 0x16bSet while the commands are chosen.
#defineFLAG_LINK_BATTLE 0x16cThe next battle is a link battle.
#defineFLAG_DEBUG_BATTLE_KEYS 0x16dIn debug mode, with it set, holding R as an action is planned defeats every enemy, and R with Select the party (btActionRunBuild).
#defineFLAG_DJINN_LESSON 0x16eThe Djinn lesson: its battle and the parts of it the Djinn menu plays.
#defineFLAG_DJINN_LESSON_PART_A 0x16fWith FLAG_DJINN_LESSON set, this and FLAG_DJINN_LESSON_PART_B choose the part of the lesson the Djinn menu plays.
#defineFLAG_DJINN_LESSON_PART_B 0x171
#defineFLAG_KEEP_LAYER_GRAPHICS 0x170The next layout keeps the palette and tiles already loaded, once (fdMapGridLoadMap).
#defineFLAG_LINK_BATTLE_ARRANGED 0x172A linked battle has been arranged in the Battle Arena, with FLAG_LINK_BATTLE: only the first three party members take part.
#defineFLAG_MONSTER_BATTLE 0x173A battle against monsters with formations matched to the party's level, and no spoils.
#defineFLAG_MONSTER_BATTLE_ANY_ENEMY 0x174Lets the monster battles choose enemies above level 3 the party has never defeated.
#defineFLAG_ALREADY_KNOWS_DJINN 0x175Set when Up is held as Echo's Djinn lesson begins on the World Map: the lesson then takes its second set of messages, opening "You look like you already know a little about us, huh?" (MsgDjinnGiveTutorialB and its kin).
#defineFLAG_SAILING 0x176Set while the party sails the ship on the World Map: world_map.c sets it as the party boards, and the main routine keeps it while an actor other than the leader is the one scripts control (MAIN_ROUTINE_STATE.ownerOverride).
#defineFLAG_CANNOT_SAVE_HERE 0x17cWhile set, the save screen refuses to save with "Cannot save here".
#defineFLAG_NO_PLACE_TO_SAVE 0x17dWhile set, the save screen refuses to save with "This is no place for that!": the scenes set it while the party rides a moving platform, lift or raft.
#defineFLAG_IN_BATTLE_ARENA 0x17eSet when the cleared game's link lobby goes to the Battle Arena: there the Pause menu offers only Change settings; gmArrive clears it.
#defineFLAG_FAST_WALK 0x17fWith it set, holding B on the World Map moves the party at 4 pixels a tick.
#defineFLAG_SCENE_TEMP_FIRST 0x200A scene's own flags, cleared on every ordinary entry (gmArrive): puzzles reset when the party walks back in.
#defineFLAG_SCENE_TEMP (n) (FLAG_SCENE_TEMP_FIRST + (n))Scene flag n, from 0x00 to 0xff: a scene says beside its uses what each one holds there.
#defineFLAG_SCENE_TEMP_LAST 0x2ffThe last of the scene's 256 flags.
#defineFLAG_AREA_TEMP_FIRST 0x300An area's flags, kept while the party moves between the scenes of one area and cleared when it enters another.
#defineFLAG_AREA_TEMP (n) (FLAG_AREA_TEMP_FIRST + (n))Area flag n, from 0x00 to 0xff: a scene says beside its uses what each one holds there.
#defineFLAG_AREA_TEMP_LAST 0x3ffThe last of the area's 256 flags.
#defineFLAG_LINK_BATTLE_BROKE 0x3e8Set by the battle when a linked battle broke off (btRun), so the link lobby reports the link lost instead of a win.
#defineFLAG_LINK_PARTY_COUNT 0x3f0Two of the area flags' bytes, read and written eight flags at a time.
#defineFLAG_MONSTER_BATTLE_WINS 0x3f8The Battle Arena's monster series: the level bonus battle_formation.c adds to each next monster's level, which the lobby raises as the series is won and sets to -1 between series.
#defineFLAG_MADRA_GATE_INSPECTED 0x910Set as Madra's gate guards let the party through (scMadraInspectPartyAtGate, "You there!
#defineFLAG_PIERS_INTERROGATED 0x911Set at the end of the jail scene where Piers wards off his interrogator with Frost (scMadraRoomsShinAngersPiers); then the two witnesses of the ice stand outside the jail and the lady can grant passage to Osenia.
#defineFLAG_OSENIA_PASSAGE_GRANTED 0x913Set as the lady grants passage over the drawbridge ("Then I hereby grant my permission to these four travelers!"); the drawbridge guards let the party by once it is set.
#defineFLAG_MADRA_CYCLONE_CHIP_GIVEN 0x918Set as Madra's mayor gives Felix the Cyclone Chip, the reward he promised for the help with the boat.
#defineFLAG_TRIAL_ROAD_HOLDS_EQUIPMENT 0x9ffSet while the Trial Road holds the party's equipment, from the race's start (gmInventorySnapshotSave) to its end (gmInventorySnapshotRestore), as the chests take the items the party puts in them ("place items in these chests"); the Trial Road's music rule and its cues test it.
#defineFLAG_TRIAL_ROAD_STAGE_ITEM_FIRST 0xe50The ten items of the Trial Road's stages (SCENE_TRIAL_ROAD_STAGES in scene_items.s), set as each is taken; gmInventorySnapshotSave clears them as a race starts, so that every race finds them again.
#defineFLAG_TRIAL_ROAD_STAGE_ITEM_LAST 0xe59
#defineFLAG_SHAMAN_VILLAGE_SAND_CLEARED 0x94cSet once Sheba's Whirlwind has made the sand vanish from the purple rock in Shaman Village, Moapa's first test ("The sand vanished!").
#defineFLAG_SHAMAN_VILLAGE_MOAPA_MET 0x94fSet as Moapa comes out of his cabin in Shaman Village to meet the party.
#defineFLAG_SHAMAN_VILLAGE_SHAMANS_ROD_SHOWN 0x9e1Set once the party has shown Moapa the Shaman's Rod.
#defineFLAG_MOAPA_BEATEN 0x9feSet as the party comes back from beating Moapa on the Trial Road; Shaman Village's inn and sanctum serve the party from then on.
#defineFLAG_GAROH_ASKED_ABOUT_REVEAL 0x91aSet once the old werewolf of Garoh's inn has asked the party whether they learned Reveal; he then only sighs about his wasted years.
#defineFLAG_GAROH_SECRET_SHARED 0x91bSet as the party wakes at Garoh's inn after the night with Maha (scGarohRoomsWakeAtInn): from then on it is day in Garoh and its people no longer hide that they are werewolves.
#defineFLAG_GAROH_NIGHT 0x310Set while it is night in Garoh: its scenes fade the palette to night and play a howl every 1,024 ticks, and its inn shows its night layers.
#defineFLAG_BRIGGS_SAILED_FROM_ALHAFRA 0x97fSet as Briggs sails from Alhafra in the boat he bought with the Ankohl jewels, leaving the party on the shore; from then on Champa is fed and talks of his return.
#defineFLAG_APOJII_CAVE_FOLIAGE_FIRST 0x8e9The first of four flags, one for each patch of overgrowth in the Apojii Islands' cave that Whirlwind has blown away, by its placed actor id.
#defineFLAG_APOJII_CAVE_FOLIAGE_BLOWN (actor)
#defineFLAG_MAYOR_ARRIVED_AT_THE_SHIP 0x8aaSet as the mayor of Madra arrives on the ship at Alhafra's eastern harbour, or once the party has fought Briggs there.
#defineFLAG_BRIGGS_CAUGHT 0x8abSet as Briggs is caught on the boat he bought at Alhafra; the town then thanks the party and talks of pirates.
#defineFLAG_FAMILY_VISITED_BRIGGS 0x8bdSet as Chaucha and Eoleo leave the jail after visiting Briggs.
#defineFLAG_KIBOMBO_WARRIORS_FOUND 0x98fSet as Felix comes upon the four Kibombo warriors in their hideout in the Gondowan Cliffs; back in Madra, Felix is asked "It was them, wasn't it?"
#defineFLAG_MENARDIS_SHIP_SEEN 0x980Set as the crew sights Menardi's ship from the Lemurian ship's deck (scLemurianShipDeckSightMenardisShip), at once there if the message of the Gabomba was carried first, or as Karst leaves Madra after coming to find the party there; the deck's sighting then runs no more.
#defineFLAG_PIERS_SETTING_SAIL 0x981Set as Piers tells Felix in Madra that they will sail for the Eastern Sea in his ship, or as the party reaches his ship from the Lemurian ship's deck; Kraden's farewell in Madra is shorter after it.
#defineFLAG_MADRA_FAREWELL_SAID 0x989Set once the party has said its farewells in Madra and gathered to leave; Karst then comes into the town, and the deck's departure runs no more.
#defineFLAG_ALHAFRA_MAST_CLEARED 0x8a7Set once Burst has broken the last block on the Alhafran boat's mast, so the mast is ready for repairs; the town then wonders whether Briggs was a pirate at all.
#defineFLAG_ALHAFRA_MET_ALEX 0x8b2Set as Alex greets the party at Alhafra's inn.
#defineFLAG_CHAMPA_MET_ALEX 0x971Set as Alex meets the party again by Obaba's cliff in Champa ("I see you've caught up with me again", MsgChampaISeeYouveCaughtUp); Alhafra's inn is without him from then on ("That cute boy next door left already").
#defineFLAG_ALHAFRA_MADRANS_ARRIVED 0x8b3Set as the party from Madra, its mayor among them, reaches Alhafra across the Yampi Desert.
#defineFLAG_ALHAFRA_SHIP_GONE 0x90fSet as Alhafra's sailboat leaves its harbour, with FLAG_BRIGGS_SAILED_FROM_ALHAFRA; the town then mourns its only ship.
#defineFLAG_ALHAFRA_HEARD_OF_CROSSBONE_ISLE 0x903Set as Alhafra's inn tells that someone named Isaac picked Crossbone Isle clean, which it tells only while FLAG_ISAAC_CLEARED_CROSSBONE_ISLE is set.
#defineFLAG_ISAAC_CLEARED_CROSSBONE_ISLE 0x823Copied from The Broken Seal's FLAG_CROSSBONE_ISLE_DEADBEARD_DEFEATED by gmDataTransferApply: Isaac beat Deadbeard on the Pirate Ship.
#defineFLAG_SERPENT_SLAIN 0x927Set as the Great Serpent of Mikage is slain in Gaia Rock; Izumo then celebrates and takes its tables for after.
#defineFLAG_IZUMO_RECOGNIZED_THE_HEROES 0x928Set once Izumo has recognized the party as the warriors who slew the serpent (scIzumoRoomsRecognizeTheHeroes).
#defineFLAG_UZUME_HAS_THE_DOLL 0x92cSet once the party has given Lady Uzume the dancing doll of Mt. Mikage (scIzumoRoomsGiveUzumeTheDoll).
#defineFLAG_TAVI_RESCUED 0x873Set as the party throws the boy Tavi the rope at the Shrine of the Sea God; Daila's houses then take their later tables.
#defineFLAG_GONDOWAN_CLIFFS_STUMP_IN_WATER 0x884Set as Move sends the stump on the Gondowan Cliffs leaping into the stream, where it stands as a step.
#defineFLAG_GONDOWAN_CLIFFS_WEEDS_BLOWN 0x885Set as Whirlwind blows away the weeds before the cave of Kibombo warriors.
#defineFLAG_GONDOWAN_CLIFFS_GEYSER_DUG 0x886Set as Scoop digs up the geyser in the yellow sand.
#defineFLAG_SHIP_CAN_SAIL 0x8deSet once the leader takes the Lemurian Ship's tiller: the ship can sail, the world map marks its mooring and the party comes back to it there.
#defineFLAG_GONDOWAN_CLIFFS_ROCK_GROUND 0x8e6Set as Grind breaks up the rock that blocks the way south.
#defineFLAG_JUPITER_LIGHTHOUSE_GATES_PILLAR_PLACED 0xa01Set once the pillar inside Jupiter Lighthouse's main gates stands on the button beside them: the gates stay open.
#defineFLAG_GABOMBA_CEREMONY_UNDER_WAY 0x8f2The Gabomba ceremony at Kibombo: FLAG_GABOMBA_CEREMONY_UNDER_WAY is set as it begins (the music rules play its music while set) and cleared once the message is carried; the others are set as each step happens.
#defineFLAG_GABOMBA_RESPONDED 0x8fb
#defineFLAG_GABOMBA_CEREMONY_ENDED 0x8ef
#defineFLAG_AKAFUBU_OFFERED_HELP 0x8fd
#defineFLAG_GABOMBA_MESSAGE_CARRIED 0x8ffSet as Felix carries the message of the Gabomba to Akafubu after the ceremony at the Gabomba Statue; Madra, Alhafra and the Kibombo then speak of the raids and the Black Crystal.
#defineFLAG_KIBOMBO_PIERS_MET 0x8f3Set as Felix's party first meets Piers in Kibombo (scKibomboMeetPiers); Jenna, Sheba and Kraden then stand at Gondowan Cliffs' hideout.
#defineFLAG_GABOMBA_MUSIC_SILENCED 0x8f7Set as the Gabomba's charges drive the party back from the statue, cleared as Akafubu ends the ceremony; while it is set the music rules choose silence for their groups 31 and 32 (music_rules.s).
#defineFLAG_GABOMBA_BACK_FROM_CEREMONY 0x8fcSet as the ceremony sends the party back to Kibombo; the Gabomba Statue's eyes room reads it once and clears it.
#defineFLAG_GABOMBA_RETREAT_TO_ENTRANCE 0xa27Where Retreat takes the party from the Gabomba Statue's lower rooms: set as it comes in to the entrance from outside (FLAG_GABOMBA_RETREAT_TO_ENTRANCE) or to the idol's chamber by its third entrance (FLAG_GABOMBA_RETREAT_TO_IDOL), each clearing the other.
#defineFLAG_GABOMBA_RETREAT_TO_IDOL 0xa28
#defineFLAG_KIBOMBO_AT_CEREMONY 0x86bSet while Kibombo is shown at its ceremony night (scKibomboInitCeremony), cleared by day and once the message is carried: the houses' and the statue's exits lead to KibomboCeremony while it is set.
#defineFLAG_SHIP_FLIES 0x8dfSet as the party sets out on the ship Hamma gave wings to at Atteka Inlet: from then on the ship flies, with no encounters at sea.
#defineFLAG_SHIP_TOOK_OFF 0xa78Set once the winged ship has first taken off from the World Map (scWorldMapTakeOff).
#defineFLAG_JUPITER_LIGHTHOUSE_SHORTCUT_PILLAR_PLACED 0xa19Set once the pillar on the floor below Jupiter Lighthouse's aerie stands on the button by its door: the door stays open, a shortcut.
#defineFLAG_JUPITER_LIGHTHOUSE_ACTIVATED 0xa00Set as Hover cast on the raised platform in Jupiter Lighthouse wakes the lighthouse: its hover platforms and blocks rise in every room.
#defineFLAG_JUPITER_LIGHTHOUSE_LEFT_ANGEL_SHOT 0xa0aSet as the left tower's archer statue shoots its arrow at the left angel on Jupiter Lighthouse's aerie, which starts to lift its half of the lid.
#defineFLAG_JUPITER_LIGHTHOUSE_RIGHT_ANGEL_SHOT 0xa0bThe same for the right tower's archer and the right angel.
#defineFLAG_JUPITER_LIGHTHOUSE_LID_LIFTED 0xa1fSet once both angels are shot and the lid is off the well on Jupiter Lighthouse's aerie, where Isaac's party is found.
#defineFLAG_JUPITER_LIGHTHOUSE_FIGHT_WATCHED 0xa24Set as the party comes out by the aerie to watch Karst and Agatio fight Isaac and Ivan; cleared once the two have fallen.
#defineFLAG_JUPITER_LIGHTHOUSE_ALEX_HEALED_THE_PARTY 0xa25Set as Alex stops the party on its way to the fight and heals it; while set there are no encounters and Retreat is blocked.
#defineFLAG_ISAAC_AND_IVAN_FELL 0xa23Set once Isaac and Ivan have fallen to Karst and Agatio and gone up to the aerie, where the two wait for Felix.
#defineFLAG_JUPITER_BEACON_LIT 0xa21Set as the Jupiter Star lights the beacon; Contigo's people speak of it.
#defineFLAG_MARS_BEACON_LIT 0xa3dSet in the Mars Lighthouse's aerie as the talk after the Doom Dragon's battle ends, just before the voice asks for the Mars Star; Prox's people say "only Mars Lighthouse still needs lighting" while it is clear and thank the party for lighting the beacon once it is set.
#defineFLAG_MARS_BEACON_BURNING 0xa3cSet as the party leaves the Mercury Lighthouse at the end: the beacon's fire burns at the aerie from then on.
#defineFLAG_MARS_LIGHTHOUSE_THAWED 0xa30Set in the dragon hall once the Mars Star is set in the statue's face: the lighthouse turns to fire and its ice is gone, and battles there take the dragon hall's backdrop A in place of B.
#defineFLAG_HEARD_OF_PARENTS 0x9c0Set as the party, back in Prox, overhears the two warriors who could not find Felix's parents to set them free, as Puelle ordered.
#defineFLAG_CLAN_SPOKE_OF_LIGHTHOUSE 0x9c1Set once Puelle has told the clan he is going to the lighthouse and they have begged him to let them go in his stead.
#defineFLAG_MET_PUELLE 0x9c2Set once the party has met Puelle, the chieftain of Prox.
#defineFLAG_THANKED_FOR_BEACON 0x9c5Set after the ending, once the clan in Prox's houses has thanked the party for lighting the fires of the lighthouse beacon.
#defineFLAG_REUNION_AT_CONTIGO 0x9d0Set at the end of the reunion in Contigo, where the two parties hear what happened on Mt. Aleph; the shipwrights at Atteka Inlet then wait with the wings.
#defineFLAG_IDEJIMA_FELIX_WOKE 0x844Set once Felix has woken on Idejima's shore.
#defineFLAG_IDEJIMA_KRADEN_JOINED 0x863Set as Kraden, Jenna and Sheba, each in turn, join Felix on Idejima.
#defineFLAG_IDEJIMA_JENNA_JOINED 0x864
#defineFLAG_IDEJIMA_SHEBA_JOINED 0x865
#defineFLAG_IDEJIMA_ASKED_WHERE_ALEX_WENT 0x867Set once the party has wondered where Alex has gone.
#defineFLAG_DAILA_ASKED_IF_BEEN_BEFORE 0x843Set once the villager at Daila's west edge has asked whether the party has been there before.
#defineFLAG_DAILA_MET_ALEX 0x84bSet as Alex leaves Daila for Madra.
#defineFLAG_DAILA_PSY_CRYSTAL_DUG FLAG_AREA_TEMP(0x00)Daila's area flag: set as Scoop digs up the Psy Crystal under its puddle, and cleared once the party enters another area.
#defineFLAG_DAILA_HEALER_SENT_TO_POI 0x847Set once the healer of Daila's Sanctum has sent the party to Master Poi; after that the Sanctum serves them across its counter.
#defineFLAG_SEA_GODS_TEAR_TAKEN 0xa20Set once the party has taken the Sea God's Tear from Daila's sanctuary.
#defineFLAG_IZUMO_FIRST_ANTIDOTE 0xf9fSet once the party has taken what Cyclone uncovers in Izumo's bushes: an Antidote at each of the first two spots, a Lucky Medal at the third.
#defineFLAG_IZUMO_SECOND_ANTIDOTE 0xfa0
#defineFLAG_IZUMO_LUCKY_MEDAL 0xfa1
#defineFLAG_JUPITER_LIGHTHOUSE_MINT 0xfe2Set once the party has taken the Mint Cyclone uncovers in the grass before Jupiter Lighthouse.
#defineFLAG_TUNDARIA_TOWER_BURST_BROOCH 0x949Set once the party has taken the Burst Brooch in Tundaria Tower; after that, searching the crystal round the Center Prong opens the field menu.
#defineFLAG_CENTER_PRONG_TAKEN 0x945Set once the party has taken the Center Prong from Tundaria Tower.
#defineFLAG_CLOUD_BRAND_FOUND 0xe41Set once the party has found the Cloud Brand in Gaia Rock.
#defineFLAG_DANCING_IDOL_TAKEN 0xf74Set once the party has taken the Dancing Idol from Gaia Rock's altar.
#defineFLAG_GABOMBA_CATACOMBS_MINT_TAKEN 0xf53Set once the party has taken the Mint Cyclone uncovers in the bushes by the Gabomba Catacombs' statue.
#defineFLAG_TOMEGATHERICON_TAKEN 0xf93Set once the party has taken the Tomegathericon from the seated idol of the Gabomba Catacombs.
#defineFLAG_CONTIGO_BRAMBLE_SEED_TAKEN 0xfc7Set once the party has taken the Bramble Seed in Contigo's bushes.
#defineFLAG_KALT_ISLAND_APPLE_TAKEN 0xf5dSet once the party has caught Kalt Island's Apple.
#defineFLAG_LEMURIA_HARD_NUT_DUG 0xfbbSet once the party has dug up the Hard Nut at Lemuria's fifth soft spot.
#defineFLAG_LOHO_GOLEM_CORE_DUG 0xff7Set once the party has dug up the Golem Core under Loho's rock.
#defineFLAG_SHOP_ARTIFACTS_STOCKED 0x400The flag a row of the stock table adds to: that shop's artifacts are in stock, for the shop counter's Artifacts list.
#defineFLAG_MAD_PLANT_FIRST 0x9b5The Mad Plants hidden in bushes, one flag each, set once it is beaten, in the order of their battles in ENCOUNTER_ZONE_MAD_PLANTS: the Gabomba Catacombs' (0), Taopo Swamp's, Gaia Rock's, Jupiter Lighthouse's and Trial Road's (4).
#defineFLAG_MAD_PLANT (n) (FLAG_MAD_PLANT_FIRST + (n))
#defineFLAG_SHIP_CARRIES_CANNON 0x90aSet as the World Map delivers Loho's cannon to the ship (scWorldMapDeliverLohoCannon), and by the Northern Reaches' entrance 90; Loho, Atteka Inlet and the Lemurian dock then place the cannon aboard.
#defineFLAG_LOHO_WALL_BREACHED 0xa5fSet as Loho's cannon, loaded with the Magma Ball, breaches the ancient wall (scLohoFireCannon); the miners then give the party the cannon, and the next arrival on the World Map at Loho delivers it to the ship.
#defineFLAG_LEMURIA_SPRING_ECLIPSE_WON 0x90bSet as the first Lucky Medal to land in the middle of Lemuria's spring wins the summon Eclipse (scLemuriaSpringGivePrize).
#defineFLAG_LEMURIA_REACHED 0x907Set as the ship reaches Lemuria's harbour (Lemuria's entrance).
#defineFLAG_LEMURIA_OTHER_WAY_IN 0x960Set while the party last came by Lemuria's other way in: leaving Lemuria's entrance by its fifth exit, or coming into Ancient Lemuria by its entrances 1, 4 or 5; Lemuria's dock then leads there.
#defineFLAG_PIERS_BACK_ON_HIS_SHIP 0x985Set as Piers, now in the party, comes back aboard: "At last, I'm back on my ship."; the cabin door then opens.
#defineFLAG_KRADEN_WENT_TO_FIND_A_SHIP 0x988Set as Kraden, tired of waiting on the deck, goes to find a ship the party can use.
#defineFLAG_SET_OUT_WITH_WINGS 0x9b2Set as the parties, reunited at Atteka Inlet (or Contigo), set out on the winged ship.
#defineFLAG_SUSA_ASKED_ABOUT_THE_SERPENT 0x9abSet once the Serpent is slain, as Susa by Gaia Rock's cave mouth asks whether Felix will tell Kushinada (scGaiaRockSusaAsksAboutTheSerpent), or as the party leaves Gaia Rock for the World Map; his talk then asks again and his Mind Read is "Kushinada's safe...
#defineFLAG_JENNA_POINTED_TO_CONTIGO 0x9b3Set as Jenna says "They're waiting for us.
#defineFLAG_SHIP_AT_ATTEKA_INLET 0x9b4Set as the ship comes into Atteka Inlet's harbour, cleared on landing at Lemuria: while it is set the Lemurian Ship blocks retreat and its first exit leads to Atteka Inlet rather than Lemuria's dock.
#defineFLAG_SEA_OF_TIME_OPENED 0x940Set as the Sea of Time calms after Poseidon is beaten (scSeaOfTimeOpen); the way to Lemuria follows it, and Naribwe's fortune teller then sees "None in the eastern world can stand against the power you possess."
#defineFLAG_WORKERS_TOLD_MAYOR 0x905Set in Eastern Alhafra once its workers have told the mayor; Naribwe's fortune teller then sends the party to the village on the eastern shore.
#defineFLAG_PIERS_AT_MOTHERS_GRAVE 0x966Set as Piers leaves the party to visit his mother's grave (scLemuriaRoomsLeavePiersToMourn); Lemuria reads it too.
#defineFLAG_MET_LUNPA 0x969Set as Lunpa comes to meet the party at the foot of his stairs (scLemuriaRoomsMeetLunpa); Lemuria reads it too.
#defineFLAG_MET_KING_HYDROS 0x96aSet as the guard takes Felix in to King Hydros and his council; Lemuria's palace door is then locked while the senate meets.
#defineFLAG_SHEBA_TO_ASK_PIERS_AGE 0x96bSet with FLAG_MET_KING_HYDROS; Lemuria's entrance clears it when Sheba asks Piers his age.
#defineFLAG_YAMPI_DESERT_ENTERED_BY_ENTRANCE 0xa29Which of its three ways in from the World Map the party last took into the Yampi Desert, by the entrance, sand slides and south exit rooms (yampi_desert.c); outside the Japanese edition, Retreat from the cave below the sand slides room leads back there.
#defineFLAG_YAMPI_DESERT_ENTERED_BY_SAND_SLIDES 0xa2a
#defineFLAG_YAMPI_DESERT_ENTERED_BY_SOUTH_EXIT 0xa2b
#defineFLAG_YALLAM_NUT 0xf60Yallam's hidden Nut, uncovered with Cyclone.
#defineFLAG_YALLAM_ANTIDOTE 0xf62Yallam's hidden Antidote, uncovered with Cyclone.
#defineFLAG_BANDIT_ON_WORLD_MAP 0xa76Set in Madra as Karst comes in (scMadraMeetKarst) once FLAG_TRANSFERRED_VAULT_WARNED_OF_ESCAPED_THIEVES (or the flag after it, which nothing sets) is; the bandit and his two thieves from Vault then wait on the World Map, and their battle clears it.
#defineFLAG_GOLDEN_BOOTS_ON_MAP 0xa77Set while the Golden Boots are shown on the World Map (scWorldMapShowGoldenBoots), cleared as they are picked up.
#defineFLAG_SPREAD_LINES 0xc00Unused: nothing sets it but the debug flag editor.

Description

The game flags: 4096 bits saved with the game (GameFlagBytes) that the story, the scenes and the game's own systems set and test. They fall in ranges: the party, the summons and the Djinn from 0, the system flags from 0x100, a scene's own flags from 0x200 and an area's from 0x300, the shops' stock from 0x400, each enemy defeated from 0x600, and the story, The Broken Seal's transferred data and the treasure from 0x800 on. A scene names in its own file what its scene and area flags hold.

Macros in detail

FLAG_IN_PARTY

#define FLAG_IN_PARTY(actor) (actor)

Set while the party member whose actor id is actor (ACTOR_FELIX to ACTOR_PIERS, 0 to 3 for Isaac's party) is in the party.

Referenced by ActorPlacements, fdPartyCheckShortcut(), gmPartyAddMember(), gmPartyCountMembers(), gmPartyRemoveMember(), LemurianShipHoldPlacements, LinkLobbyUnusedPlacements, scAncientLemuriaHeadForTheDock(), scChampaFeizhiArrives(), scDailaMeetAlex(), scEasternAlhafraAskIfFinished(), scEasternAlhafraAskToHelpWithMast(), scGarohMahaTellsTheLegend(), scGarohWerewolfRunsPast(), scGarohWerewolvesRevealThemselves(), scKibomboInitCeremony(), scLemurianShipDeckReturnToShip(), scLemurianShipDeckSetOutForMadra() and scShamanVillageCaveMeetGladiators().

Definition at line 14 of file flags.h.

FLAG_SUMMON_TABLET

#define FLAG_SUMMON_TABLET(summon) (summon)

Set once the summon tablet of summon (SUMMON_ZAGAN to SUMMON_IRIS) has taught it: a tablet's flag is its summon's number (SceneItems).

Definition at line 18 of file flags.h.

FLAG_DJINN_FIRST

#define FLAG_DJINN_FIRST 0x30

The first of the 80 Djinn flags, DJINNI_FLINT's.

Referenced by dbTestGiveDjinni(), fdDjinnResolvePending(), fdDjinnRestoreActorAfterBattle(), fdScriptSpawnActorTable(), gmDjinnAddFoundToOwner(), gmDjinnGiveToParty(), mnDjinnSetFoundFlagAndAdd() and mnSaveBuildFileSummary().

Definition at line 21 of file flags.h.

FLAG_DJINNI

#define FLAG_DJINNI(djinni) (FLAG_DJINN_FIRST + (djinni))

Set once the party has djinni (djinn_ids.h), whose DJINNI_ID counts from FLAG_DJINN_FIRST.

Referenced by ActorPlacements, ApojiiIslandsHazePlacements, AttekaInletHeightsActorPlacements, AttekaInletHeightsActorPlacementsOnceWinged, ContigoVillagePlacements, dbPsynergyTestGiveDjinni(), dbShopTestGiveDjinni(), DehkanPlateauCannonPlacements, fdDjinnJoinParty(), GabombaCatacombsMudActorPlacements, GabombaStatueSteelActorPlacements, GarohWerewolfCaveActorPlacements, gmDataTransferApply(), gmDataTransferGiveDefaultDjinn(), gmPartyAddIsaacsParty(), gmPartyGivePiersDjinn(), GondowanCliffsActorPlacements, IsletCaveCorridorsPlacements, IsletCaveHallsPlacements, IzumoRoomsActorPlacementsOnceTheSerpentIsSlain, KandoreanTempleFogRoomPlacements, KibomboMountainsNorthPlacements, LohoTownPlacements, MadraRoomsPlacements, MadraRoomsPlacementsOnReturn, MagmaRockInsideEntrancePlacements, MagmaRockInsideFuryPlacements, MarsLighthouseBalmPlacements, MarsLighthouseIceShaftPlacements, MikasallaVillagePlacements, mnSaveBuildFileSummary(), mnStatusScreenRunPartyRow(), mnStatusScreenShowDjinnList(), ProxHousesPlacements, ProxHousesPlacementsOnceLit, ProxNorthPlacements, ProxNorthPlacementsOnceLit, scAnemosInnerSanctumLightSymbol(), scAttekaInletCycloneUncoversGeode(), scClearApplyImportedData(), scContigoScoopForSalt(), scDehkanPlateauInitCannon(), SceneCues, scInit(), scNaribweRoomsDjinniHintLimit(), scNaribweRoomsGetDjinniHint(), scNaribweRoomsListMissingDjinn(), scProxInitNorth(), scProxScoopUpMold(), scSettlementsDropCrate() and 17 more.

Definition at line 24 of file flags.h.

FLAG_DJINN_HIDING_FIRST

#define FLAG_DJINN_HIDING_FIRST 0x80

The first of the 80 hiding flags after the Djinn's own, DJINNI_FLINT's.

Referenced by fdDjinnResolvePending(), fdScriptSpawnActorTable() and gmArrive().

Definition at line 26 of file flags.h.

FLAG_DJINNI_HIDING

#define FLAG_DJINNI_HIDING(djinni) (FLAG_DJINN_HIDING_FIRST + (djinni))

Set while djinni is hiding, its DJINNI_ID counting from FLAG_DJINN_HIDING_FIRST: fdDjinnResolvePending sets it after a lost or fled Djinni battle.

Referenced by scInit().

Definition at line 30 of file flags.h.

FLAG_ARRIVAL_CLEARED_LAST

#define FLAG_ARRIVAL_CLEARED_LAST 0xdf

The last of the 96 flags from FLAG_DJINN_HIDING_FIRST that gmArrive clears on every arrival: the 80 hiding flags and the 16 after them.

Referenced by gmArrive().

Definition at line 33 of file flags.h.

FLAG_CHILDHOOD

#define FLAG_CHILDHOOD 0x20

Unused: The Broken Seal's flag for its prologue, while Isaac and Garet are children. Nothing in this game sets or reads it; the debug battle menu clears it.

Referenced by btDebugBattleRunMenu().

Definition at line 38 of file flags.h.

FLAG_ISAAC_WEARS_TUNIC

#define FLAG_ISAAC_WEARS_TUNIC 0x21

Unused: The Broken Seal's flag for the tunic young Isaac wears. Nothing in this game sets it; were it set, World Map actor placements would keep their full size (fdScriptSpawnActorTable).

Referenced by fdScriptSpawnActorTable().

Definition at line 42 of file flags.h.

FLAG_REUNION

#define FLAG_REUNION 0x22

Set as Isaac's party joins Felix's (gmPartyAddIsaacsParty); a file saved after it is "Post-Reunion Data" (MsgSavePostReunion).

Referenced by gmPartyAddIsaacsParty(), mnSaveBuildFileSummary() and scInit().

Definition at line 46 of file flags.h.

FLAG_ENEMY_DEFEATED_FIRST

#define FLAG_ENEMY_DEFEATED_FIRST 0x600

The first of the flags that mark each enemy defeated, by enemy id, 0x600 to 0x7ff (battle_internal.h's ENEMY_DEFEATED_FLAG): btEnemyRecordDefeat sets them, and the monster battles choose only defeated enemies.

Definition at line 51 of file flags.h.

#define FLAG_TRANSFERRED_BY_LINK 0x2c

The Broken Seal's clear data, as "Transfer data from Golden Sun" brings it in by link or by password (gmDataTransferApply). Set once data was transferred by link.

Referenced by gmDataTransferApply().

Definition at line 56 of file flags.h.

FLAG_TRANSFERRED_BY_PASSWORD

#define FLAG_TRANSFERRED_BY_PASSWORD 0x2d

Set once data was transferred by password.

Definition at line 58 of file flags.h.

FLAG_DATA_TRANSFERRED

#define FLAG_DATA_TRANSFERRED 0x2f

Set once data was transferred, either way.

Referenced by gmDataTransferApply().

Definition at line 60 of file flags.h.

FLAG_HARD_LEVEL

#define FLAG_HARD_LEVEL 0x2e

Set when the Clear scene's "Play on HARD level? (Monsters are stronger)" is answered yes (MsgPlayOnHardLevel): outside the monster battles each enemy is strengthened as a battle sets it up (btUnitStrengthen).

Referenced by btFormationBuildEnemyList() and scInit().

Definition at line 65 of file flags.h.

FLAG_TRANSFERRED_DJINN_FIRST

#define FLAG_TRANSFERRED_DJINN_FIRST 0x800

The first of the 28 flags of The Broken Seal's Djinn, seven to an element in element order: set for each Djinni the transferred data held, or for each gmDataTransferGiveDefaultDjinn handed out.

Referenced by gmDataTransferApply(), gmDataTransferGiveDefaultDjinn(), gmPartyAddIsaacsParty() and scLemuriaEntranceBoardShip().

Definition at line 69 of file flags.h.

TRANSFERRED_DJINN_PER_ELEMENT

#define TRANSFERRED_DJINN_PER_ELEMENT 7

The Broken Seal's Djinn of each element.

Referenced by DataTransferDjinnChances, gmDataTransferApply(), gmDataTransferGiveDefaultDjinn(), gmPartyAddIsaacsParty(), scClearApplyImportedData(), scNaribweRoomsDjinniHintLimit() and scNaribweRoomsListMissingDjinn().

Definition at line 71 of file flags.h.

FLAG_TRANSFERRED_DODONPA_LOCKED_UP

#define FLAG_TRANSFERRED_DODONPA_LOCKED_UP 0x820

The six flags gmDataTransferApply copies from The Broken Seal's (DataTransferFlags), named for those.

Referenced by gmDataTransferApply(), scAttekaInletCheckForHammetsMessenger() and scMadraMeetKarst().

Definition at line 74 of file flags.h.

FLAG_TRANSFERRED_WON_COLOSSO

#define FLAG_TRANSFERRED_WON_COLOSSO 0x821

Referenced by scInit() and scShamanVillageCaveMeetGladiators().

Definition at line 75 of file flags.h.

FLAG_TRANSFERRED_ISAAC_SAVED_ULMUCH

#define FLAG_TRANSFERRED_ISAAC_SAVED_ULMUCH 0x822

The opposite of The Broken Seal's FLAG_HSU_RESCUED_WITHOUT_PARTY: set when that was clear, so Isaac saved Hsu himself, whom this game's text calls Ulmuch ("He helped Ulmuch. Ulmuch was trapped, but Isaac saved him."); only then does Feizhi come to Champa looking for Isaac.

Referenced by gmDataTransferApply() and scChampaFeizhiArrives().

Definition at line 80 of file flags.h.

FLAG_TRANSFERRED_VISITED_SICK_DORA

#define FLAG_TRANSFERRED_VISITED_SICK_DORA 0x824

Referenced by mnDebugWarpKaoruSpecial3() and scProxSayFarewell().

Definition at line 81 of file flags.h.

FLAG_TRANSFERRED_VAULT_WARNED_OF_ESCAPED_THIEVES

#define FLAG_TRANSFERRED_VAULT_WARNED_OF_ESCAPED_THIEVES 0x825

Referenced by scMadraMeetKarst().

Definition at line 82 of file flags.h.

TRANSFERRED_FLAG_COUNT

#define TRANSFERRED_FLAG_COUNT 6

How many flags DataTransferFlags lists.

Referenced by DataTransferFlags, gmDataTransferApply() and scMadraMeetKarst().

Definition at line 84 of file flags.h.

FLAG_BROKEN_SEAL_VISITED_SICK_DORA

#define FLAG_BROKEN_SEAL_VISITED_SICK_DORA 0x81e

Flags of The Broken Seal's save, by its own names and numbers: gmDataTransferApply reads them (DataTransferFlags), and the Clear scene sets them from a password (ClearImportedFlags).

Referenced by ClearImportedFlags, ClearPasswordFlags and DataTransferFlags.

Definition at line 88 of file flags.h.

FLAG_BROKEN_SEAL_VAULT_WARNED_OF_ESCAPED_THIEVES

#define FLAG_BROKEN_SEAL_VAULT_WARNED_OF_ESCAPED_THIEVES 0x868

Referenced by ClearImportedFlags, ClearPasswordFlags and DataTransferFlags.

Definition at line 89 of file flags.h.

FLAG_BROKEN_SEAL_HSU_RESCUED_WITHOUT_PARTY

#define FLAG_BROKEN_SEAL_HSU_RESCUED_WITHOUT_PARTY 0x8b3

Referenced by ClearImportedFlags, ClearPasswordFlags and DataTransferFlags.

Definition at line 90 of file flags.h.

FLAG_BROKEN_SEAL_CROSSBONE_ISLE_DEADBEARD_DEFEATED

#define FLAG_BROKEN_SEAL_CROSSBONE_ISLE_DEADBEARD_DEFEATED 0x8d1

Referenced by ClearImportedFlags, ClearPasswordFlags and DataTransferFlags.

Definition at line 91 of file flags.h.

FLAG_BROKEN_SEAL_DODONPA_LOCKED_UP

#define FLAG_BROKEN_SEAL_DODONPA_LOCKED_UP 0x941

Referenced by ClearImportedFlags, ClearPasswordFlags and DataTransferFlags.

Definition at line 92 of file flags.h.

FLAG_BROKEN_SEAL_WON_COLOSSO

#define FLAG_BROKEN_SEAL_WON_COLOSSO 0x951

Referenced by ClearImportedFlags, ClearPasswordFlags and DataTransferFlags.

Definition at line 93 of file flags.h.

FLAG_SYSTEM_FIRST

#define FLAG_SYSTEM_FIRST 0x100

The system flags: what the field, battles and menus keep about their own working, shared with the scenes that set or test them, rather than the story's progress.

Definition at line 98 of file flags.h.

FLAG_SYSTEM_LAST

#define FLAG_SYSTEM_LAST 0x1ff

The last of the 256 system flags.

Definition at line 100 of file flags.h.

FLAG_SKIP_SCENE_CHANGE_SOUND

#define FLAG_SKIP_SCENE_CHANGE_SOUND 0x101

The next scene change is silent: the scene loader clears it in place of playing its sound, once.

Referenced by gmMainRoutineRun(), scStaffCreditPlayLighthouseTransition(), scStaffCreditShowBeacon() and scWorldMapPlayLighthouseTransition().

Definition at line 103 of file flags.h.

FLAG_IN_BATTLE

#define FLAG_IN_BATTLE 0x103

Set as a battle starts, cleared as a field scene starts.

Referenced by btRun(), fdEngineRun(), mnSelectionMenuDraw() and mnSelectionMenuDrawArrow().

Definition at line 105 of file flags.h.

FLAG_FIELD_HANDLING_REQUESTS

#define FLAG_FIELD_HANDLING_REQUESTS 0x104

Set while the field engine handles its requests, and cleared while the party walks (fdEngineRun).

Referenced by fdEngineRun(), fdRopeUpdate(), fdTightropeUpdate(), scActorHoldDuringScript(), scAirsRockInsideMovePooledWhirlwind(), scAirsRockInsideMoveWhirlwind(), scAirsRockMoveWhirlwind(), scAnkohlRuinsCountSandTime(), scAnkohlRuinsFlowWithSand(), scAnkohlRuinsSlideGreatFace(), scAquaRockTimeStreams(), scFlameThrowersAdvanceCounter(), scGeyserUpdate(), scInit(), scMarsLighthouseEntranceWatchFireballCrackHiddenCircleIce(), scMarsLighthouseEntranceWatchFireballCrackIce(), scMarsLighthouseEntranceWatchFireballMeltIce(), scMarsLighthouseTowersWatchFireballCrackWall(), scMarsLighthouseTowersWatchFlameThrower(), scTaopoSwampLandDrip(), scTrialRoadMoveRival(), scTrialRoadUpdateFountains(), scTrialRoadUpdateRival(), scVentAdvanceCounter(), scWhirlwindUpdate(), scWorldMapUpdatePlacedActors() and scYampiDesertCaveMoveSandRipple().

Definition at line 108 of file flags.h.

FLAG_MENU_OPEN

#define FLAG_MENU_OPEN 0x106

Set while the field menu is open; scenes hold their moving actors still.

Referenced by fdActorSteerByPad(), fdEngineRun(), fdLeaderStopIfPending(), fdWorldMapUpdateRegionTint(), scActorRollAndCrumble(), scFireballCarryLeader(), scFlameThrowersPuff(), scGabombaStatuePauseCogsInMenus(), scGaiaRockInsideSwayPlatforms(), scGaugeUpdate(), scInit(), scMarsLighthouseEntranceRideFireball(), scMarsLighthouseEntranceWatchFireballCrackHiddenCircleIce(), scMarsLighthouseEntranceWatchFireballCrackIce(), scMarsLighthouseEntranceWatchFireballMeltIce(), scMarsLighthouseTowersWatchFireballCrackWall(), scMarsLighthouseTowersWatchFlameThrower() and scTrialRoadDrawRaceMap().

Definition at line 110 of file flags.h.

FLAG_MENUS_RAISE_CUE

#define FLAG_MENUS_RAISE_CUE 0x107

While set, opening the field menu or pressing a shortcut raises the scene's menu cue instead.

Referenced by fdEngineRun(), fdRequestShortcut() and scYampiDesertCheckLeaderNearPit().

Definition at line 113 of file flags.h.

FLAG_PSYNERGY_TINTED

#define FLAG_PSYNERGY_TINTED 0x108

Set while a field Psynergy's tint holds the palettes, from fdStartColorTransition until fdStartPaletteTransition.

Referenced by fdStartColorTransition() and fdStartPaletteTransition().

Definition at line 116 of file flags.h.

FLAG_KEEP_PARTY_POSITION

#define FLAG_KEEP_PARTY_POSITION 0x109

The next field scene starts where the party was, as after a battle: the scene's flags are not reset, the actors come back from their snapshot, and the music saved in MainRoutineStateWork.returnMusic resumes if there is one (a random battle clears it, so the scene's own music plays). fdEngineRun clears it once the scene starts.

Referenced by fdDjinnRestoreActorAfterBattle(), fdEngineRun(), fdMapScreenShow(), fdPlaceAtEntrance(), fdPlaceAtEntranceRow(), gmMainRoutineRun(), gmReturnFromEngine(), scAirsRockInsideWakeMovableStatue(), scAirsRockInsideWakeStatue(), scAlhafranCaveSetUpJail(), scAnkohlRuinsInitSand(), scAquaRockArriveFromPassage(), scAquaRockMoaiStepAside(), scCavernsPlaceAngaraBlocks(), scContigoInitVillage(), scContigoOfferLuckyDice(), scContigoOfferLuckyWheels(), scContigoOfferSuperLuckyDice(), scCrackedTileFind(), scDehkanPlateauInitCannon(), scDehkanPlateauInitCaves(), scDehkanPlateauInitPillars(), scDehkanPlateauInitPoundCube(), scDehkanPlateauInitTightropes(), scDehkanPlateauRestoreBlocks(), scDehkanPlateauRestorePoundCubeCracks(), scFlameThrowersCreate(), scFlameThrowersStart(), scGabombaStatueChamberInitLift(), scGabombaStatueChamberWhereIsTheOrb(), scGabombaStatueInitSteel(), scGabombaStatueRestoreLadderTopBlocks(), scGabombaStatueSawEnergyFlow(), scGabombaStatueSetUpChannelPuzzle(), scGabombaStatueStartClock(), scGaiaRockInsideLayMaze(), scGaiaRockInsideStartPlatforms(), scGeyserAdd(), scGeyserStart(), scInit(), scIsletsInitEastTundaria(), scIsletsInitSeaOfTime(), scIsletsInitSoutheastAngara(), scKandoreanTempleStartChestbeaterRoom(), scKandoreanTempleStartLiftRoom(), scKandoreanTempleStartVentRoom(), scKibomboGabombaResponds(), scKibomboGabombaSeesJewel(), scKibomboGabombaStillNotPleased(), scKibomboInitCeremony() and 35 more.

Definition at line 122 of file flags.h.

FLAG_FORGE_OPEN

#define FLAG_FORGE_OPEN 0x10f

Sunshine the blacksmith forges for the party: Yallam sets it while the party carries a rusty weapon or a forging material, and keeps it while he works or his wife holds what he made.

Referenced by dbShopTestTalkToSunshine(), dbShopTestTalkToSunshinesWife(), scYallamRoomsTalkToSunshine() and scYallamRoomsTalkToSunshinesWife().

Definition at line 126 of file flags.h.

FLAG_IN_VENUS_LIGHTHOUSE

#define FLAG_IN_VENUS_LIGHTHOUSE 0x110

Each lighthouse's scenes set its flag on every arrival, and gmArrive clears all four when the party enters another area, so a flag is set only while the party is inside.

Referenced by gmArrive(), gmPartyRestorePpInLighthouse() and gmUnitCalculate().

Definition at line 130 of file flags.h.

FLAG_IN_MERCURY_LIGHTHOUSE

#define FLAG_IN_MERCURY_LIGHTHOUSE 0x111

Referenced by gmArrive(), gmPartyRestorePpInLighthouse() and gmUnitCalculate().

Definition at line 131 of file flags.h.

FLAG_IN_MARS_LIGHTHOUSE

#define FLAG_IN_MARS_LIGHTHOUSE 0x112

Referenced by gmArrive(), gmPartyRestorePpInLighthouse(), gmUnitCalculate() and scInit().

Definition at line 132 of file flags.h.

FLAG_IN_JUPITER_LIGHTHOUSE

#define FLAG_IN_JUPITER_LIGHTHOUSE 0x113

Referenced by gmArrive(), gmPartyRestorePpInLighthouse(), gmUnitCalculate() and scSetArrivalFlags().

Definition at line 133 of file flags.h.

FLAG_KEEP_MUSIC_ONCE

#define FLAG_KEEP_MUSIC_ONCE 0x11a

The next scene keeps the music that is playing; main_routine.c clears FLAG_KEEP_MUSIC_ONCE as it does, and leaves FLAG_KEEP_MUSIC_HELD set.

Referenced by gmMainRoutineRun() and scJupiterLighthouseCastTheJupiterStar().

Definition at line 136 of file flags.h.

FLAG_KEEP_MUSIC_HELD

#define FLAG_KEEP_MUSIC_HELD 0x11b

As FLAG_KEEP_MUSIC_ONCE, for as long as it is set.

Referenced by gmMainRoutineRun(), scJupiterLighthouseBeaconIsLit(), scJupiterLighthouseShebaJoinsTheFight(), scShamanVillageExplainTrialRules() and scShamanVillageRestartTrial().

Definition at line 138 of file flags.h.

FLAG_WORLD_MAP_LEFT

#define FLAG_WORLD_MAP_LEFT 0x11c

The current scene is not the World Map.

Referenced by fdMapScreenInit(), fdMapScreenShow() and gmArrive().

Definition at line 140 of file flags.h.

FLAG_LEADER_OFF_MAP_SCREEN

#define FLAG_LEADER_OFF_MAP_SCREEN 0x11e

The leader stands in the corner of the World Map that the map screen leaves out (fdMapScreenGetLeaderPoint): "This place doesn't seem to appear on the map..."

Referenced by fdMapScreenGetLeaderPoint() and fdMapScreenShow().

Definition at line 144 of file flags.h.

FLAG_ARRIVAL_STAIRS_UP

#define FLAG_ARRIVAL_STAIRS_UP 0x120

The leader left through an EXIT_STYLE_STAIRS_UP exit; the next scene plays the leader's arrival, unless its setup clears this first.

Referenced by fdEntrancePlayArrival(), fdExitStartStairsUp(), scGarohInitVillage() and scInit().

Definition at line 147 of file flags.h.

FLAG_ARRIVAL_STAIRS_DOWN

#define FLAG_ARRIVAL_STAIRS_DOWN 0x121

As FLAG_ARRIVAL_STAIRS_UP, for an EXIT_STYLE_STAIRS_DOWN exit.

Referenced by fdEntrancePlayArrival(), fdExitStartStairsDown(), scGarohEnterOpening(), scGarohInitVillage() and scInit().

Definition at line 149 of file flags.h.

FLAG_ARRIVE_FALLING

#define FLAG_ARRIVE_FALLING 0x122

The leader falls into the next scene from above, as after jumping down a ledge into it.

Referenced by fdEntrancePlayArrival(), scAnkohlRuinsJumpDownPit(), scGaiaRockInsideJumpDownCobwebPit(), scInit() and scTaopoSwampDropToLowerFloor().

Definition at line 152 of file flags.h.

FLAG_IN_TOWN

#define FLAG_IN_TOWN 0x123

The party is in a town; the scene loader sets and clears it.

Referenced by gmArrive().

Definition at line 154 of file flags.h.

FLAG_SHOW_AREA_NAME

#define FLAG_SHOW_AREA_NAME 0x12f

The scene shows its area's name once it is on screen; entering a new area sets it.

Referenced by fdEngineRun(), gmArrive(), scAlhafraManorBriggsEscapes(), scApojiiIslandsEnterSeaOfTimeIsletHouse(), scAquaRockMoaiStepAside(), scAttekaInletSetUpTheHeights(), scContigoInitShops(), scFadeInAndClearFlag(), scGabombaStatueInitEyes(), scIdejimaFelixWakes(), scInit(), scIsletsInitEastTundaria(), scIsletsInitNorthOsenia(), scIsletsInitSeaOfTime(), scIsletsInitSoutheastAngara(), scIsletsInitWestIndra(), scKandoreanTempleStartChestbeaterRoom(), scKandoreanTempleStartGate(), scKandoreanTempleStartMimicRoom(), scKandoreanTempleStartPoisRoom(), scKandoreanTempleStartStreamRoom(), scProxGiveThanksForBeacon(), scShamanVillageRestartTrial() and scShamanVillageSuggestQuitting().

Definition at line 157 of file flags.h.

FLAG_SAVE_RESTARTED_AT_SANCTUM

#define FLAG_SAVE_RESTARTED_AT_SANCTUM 0x13e

The file was loaded to restart at its last Sanctum.

Referenced by scInit().

Definition at line 159 of file flags.h.

FLAG_SAVE_RECOVERED_AT_SANCTUM

#define FLAG_SAVE_RECOVERED_AT_SANCTUM 0x13f

The file was recovered at its last Sanctum.

Referenced by scInit().

Definition at line 161 of file flags.h.

FLAG_PLAY_PSYNERGY_CAST

#define FLAG_PLAY_PSYNERGY_CAST 0x140

Play the kind's usual cast: the caster's glow, animation and sound (fdPsynergyStartCast). fdUsePsynergy sets it for each use and clears it when the after cue plays its own cast.

Referenced by fdPsynergyStartCast() and fdUsePsynergy().

Definition at line 165 of file flags.h.

FLAG_PSYNERGY_TARGET

#define FLAG_PSYNERGY_TARGET 0x141

Aim the field Psynergy at the actor ahead rather than run the kind's untargeted body; fdUsePsynergy keeps it set only when a cue applies to what the leader faces.

Referenced by fdUsePsynergy().

Definition at line 169 of file flags.h.

FLAG_NOTHING_HAPPENS

#define FLAG_NOTHING_HAPPENS 0x142

Set before the party acts on the field; still set afterwards, nothing came of it and the game says so. A script that acts clears it.

Referenced by fdExamineMetatile(), fdRunPsynergyScript(), fdScriptShowMessageAndOfferScoop(), fdUseItem(), scAirsRockInsideCheckPsynergyStone(), scAquaRockInsideCheckPsynergyStone() and scGaiaRockInsideFindCloudBrand().

Definition at line 172 of file flags.h.

FLAG_ITEM_USED_UP

#define FLAG_ITEM_USED_UP 0x143

The item just used is removed afterwards.

Referenced by fdUseItem() and scAquaRockInsideUseAquariusStone().

Definition at line 174 of file flags.h.

FLAG_RETREAT_BLOCKED

#define FLAG_RETREAT_BLOCKED 0x144

Retreat is blocked, whether cast or used from an item; the scenes that forbid Retreat set it.

Referenced by fdEngineRun(), fdUseItem(), fdUsePsynergy(), gmArrive(), scClearIsRetreatBlocked(), scInit(), scJupiterLighthouseAlexHealsTheParty(), scJupiterLighthouseCastTheJupiterStar(), scMarsLighthouseAerieUrgeOnToBeacon(), scMarsLighthouseEntranceBlockRetreatAtChest(), scPrepareMap(), scSetArrivalFlags() and scYampiDesertSetUpScorpionPit().

Definition at line 177 of file flags.h.

FLAG_PSYNERGY_FROM_ITEM

#define FLAG_PSYNERGY_FROM_ITEM 0x145

The Psynergy comes from an item.

Referenced by fdPsynergyAvoid(), fdUseItem() and fdUsePsynergy().

Definition at line 179 of file flags.h.

FLAG_SAND_CANNOT_END

#define FLAG_SAND_CANNOT_END 0x146

While set, the keys that end Sand do nothing (fdSandCheckEndKeys): Ankohl Ruins sets it as the great face's raft passes rows 31 to 35, and clears it at row 37; gmArrive clears it on every arrival.

Referenced by fdSandCheckEndKeys(), gmArrive() and scAnkohlRuinsSlideGreatFace().

Definition at line 183 of file flags.h.

FLAG_SHIP_HOVERING

#define FLAG_SHIP_HOVERING 0x147

Set while the flying ship hovers on the World Map: Hover cast aboard it sets it, the ship takes off and the World Map announces "Hover" (scWorldMapSetUpFlyingShip); taking off with the dash keys clears it.

Referenced by fdActorSailOnWorldMap(), fdUsePsynergy() and scWorldMapSetUpFlyingShip().

Definition at line 187 of file flags.h.

FLAG_PSYNERGY_TINT

#define FLAG_PSYNERGY_TINT(n) (0x148 + (n))

While set, a field Psynergy fades toward FieldPsynergyCastColors[n] (PSYNERGY_TINT) in place of its own tint; of several set, the highest n wins (fdPsynergyFadeToCastColor).

Referenced by fdPsynergyFadeToCastColor().

Definition at line 191 of file flags.h.

FLAG_MENU_START_PRESSED

#define FLAG_MENU_START_PRESSED 0x150

Set while Start is pressed in the Psynergy menu, which ends its waits.

Referenced by mnItemMenuChooseCommand(), mnItemMenuConfirmDrop(), mnItemMenuConfirmEquip(), mnItemMenuRunCommands(), mnItemMenuRunList(), mnItemMenuRunMemberSelection(), mnItemMenuSelectGiveQuantity(), mnItemMenuSelectTarget(), mnItemMenuShowDetails(), mnPsynergyMenuRunList(), mnPsynergyMenuRunSteps(), mnPsynergyMenuSelectMember(), mnPsynergyMenuSelectTarget(), mnStartWatchingStart(), mnStatusScreenRunEquipmentPage(), mnStatusScreenRunPages(), mnStatusScreenRunPartyRow(), mnStatusScreenRunPsynergyPage(), mnStatusScreenRunStatusPage(), mnStatusScreenShowDjinnList(), mnStopWatchingStart() and mnWatchStart().

Definition at line 193 of file flags.h.

FLAG_INFO_WINDOW_HOLDS_MESSAGE

#define FLAG_INFO_WINDOW_HOLDS_MESSAGE 0x151

Set while the item menu's info window holds a message mnItemMenuShowMessage left there; the item and Psynergy menus then leave the window be once and clear it, in place of drawing the selection's description.

Referenced by mnItemMenuSelectTarget(), mnItemMenuShowMessage(), mnPsynergyMenuSelectMember(), mnPsynergyMenuSelectTarget() and mnPsynergyMenuShowSelectedRow().

Definition at line 197 of file flags.h.

FLAG_PALETTE_BLEND_HELD

#define FLAG_PALETTE_BLEND_HELD 0x152

Holds the field's palette blend still while a menu is open.

Referenced by fdPaletteFadeUpdate(), mnResumeFieldEvents() and mnSuspendFieldEvents().

Definition at line 199 of file flags.h.

FLAG_IGNORE_ENCOUNTER_CHECKS

#define FLAG_IGNORE_ENCOUNTER_CHECKS 0x15f

Encounters are rolled even where FLAG_NO_ENCOUNTERS, FLAG_NO_ENCOUNTERS_IN_AREA, a zone of 0 or Cloak would stop them (fdEncounterCountStepsAndSelectFormation).

Referenced by fdEncounterCountStepsAndSelectFormation().

Definition at line 203 of file flags.h.

FLAG_NO_ENCOUNTERS

#define FLAG_NO_ENCOUNTERS 0x160

No random encounters while set (fdEncounterCountStepsAndSelectFormation).

Referenced by fdEncounterCountStepsAndSelectFormation().

Definition at line 205 of file flags.h.

FLAG_NO_ENCOUNTERS_IN_AREA

#define FLAG_NO_ENCOUNTERS_IN_AREA 0x161

No random battles until the party enters another area; gmArrive clears it with a new area.

Referenced by fdEncounterCountStepsAndSelectFormation(), gmArrive(), scAnkohlRuinsSlideGreatFace(), scAnkohlRuinsStartGreatFaceSliding(), scAnkohlRuinsStartGreatFaceSlidingUpClose(), scJupiterLighthouseAlexHealsTheParty(), scJupiterLighthouseCastTheJupiterStar() and scSetArrivalFlags().

Definition at line 208 of file flags.h.

FLAG_DEBUG_BATTLE

#define FLAG_DEBUG_BATTLE 0x162

Set before every debug battle.

Referenced by btDebugBattleRunMenu().

Definition at line 210 of file flags.h.

FLAG_DEBUG_STEPS_OFF

#define FLAG_DEBUG_STEPS_OFF 0x163

In debug mode, steps on the field are not processed.

Referenced by fdActorMoveOnWorldMap(), fdEngineRun() and scInit().

Definition at line 212 of file flags.h.

FLAG_WEATHER_HELD

#define FLAG_WEATHER_HELD 0x166

Holds the field's weather still, its particles and its next burst, while a menu is open.

Referenced by fdEffectUpdateSparkles(), fdGroundParticlesDraw(), fdGroundParticlesUpdate(), fdMotesUpdate(), fdWeatherUpdateLightning(), fdWeatherUpdateRain(), mnResumeFieldEvents() and mnSuspendFieldEvents().

Definition at line 215 of file flags.h.

FLAG_LURE_CAP

#define FLAG_LURE_CAP 0x167

Set while the Lure Cap is worn: random encounters come twice as fast.

Referenced by fdUpdateWalking() and gmFlagRefreshLureCap().

Definition at line 217 of file flags.h.

FLAG_AUTO_BATTLE

#define FLAG_AUTO_BATTLE 0x16a

Auto battle: every living unit, party and enemies, makes a plain attack each turn with no command menu; the debug battle menu sets it.

Referenced by btDebugBattleRunMenu() and btRun().

Definition at line 220 of file flags.h.

FLAG_CHOOSING_COMMANDS

#define FLAG_CHOOSING_COMMANDS 0x16b

Set while the commands are chosen.

Referenced by btCameraApplyTransform(), btCameraSetRange(), btGatherActions(), fdActorPlaceSprites() and fdActorSystemProjectSprites().

Definition at line 222 of file flags.h.

#define FLAG_LINK_BATTLE 0x16c

The next battle is a link battle.

Referenced by btDebugBattleRunMenu(), btEnemyList(), btRun(), btUnitListLiving(), btUnitListLivingWithReserve(), fdEncounterSelectBattleMusic(), gmArrive(), mnBattleTargetRunSelection() and scLinkLobbyChooseBattleMode().

Definition at line 224 of file flags.h.

FLAG_DEBUG_BATTLE_KEYS

#define FLAG_DEBUG_BATTLE_KEYS 0x16d

In debug mode, with it set, holding R as an action is planned defeats every enemy, and R with Select the party (btActionRunBuild).

Referenced by btActionRunBuild().

Definition at line 227 of file flags.h.

FLAG_DJINN_LESSON

#define FLAG_DJINN_LESSON 0x16e

The Djinn lesson: its battle and the parts of it the Djinn menu plays.

Referenced by btAbilityApplyToTarget(), btActionRunBuild(), btDebugBattleRunMenu(), btRun(), fdDjinnJoinParty(), mnBattleCollectPartyCommands(), mnDjinnMenuRun(), scWorldMapMeetEcho() and scWorldMapSetUpEcho().

Definition at line 229 of file flags.h.

FLAG_DJINN_LESSON_PART_A

#define FLAG_DJINN_LESSON_PART_A 0x16f

With FLAG_DJINN_LESSON set, this and FLAG_DJINN_LESSON_PART_B choose the part of the lesson the Djinn menu plays.

Referenced by mnDjinnMenuRun(), scWorldMapExplainGivingDjinn() and scWorldMapMeetEcho().

Definition at line 232 of file flags.h.

FLAG_DJINN_LESSON_PART_B

#define FLAG_DJINN_LESSON_PART_B 0x171

Referenced by mnDjinnMenuRun(), scWorldMapExplainGivingDjinn() and scWorldMapMeetEcho().

Definition at line 233 of file flags.h.

FLAG_KEEP_LAYER_GRAPHICS

#define FLAG_KEEP_LAYER_GRAPHICS 0x170

The next layout keeps the palette and tiles already loaded, once (fdMapGridLoadMap).

Referenced by fdMapGridLoadMap().

Definition at line 236 of file flags.h.

#define FLAG_LINK_BATTLE_ARRANGED 0x172

A linked battle has been arranged in the Battle Arena, with FLAG_LINK_BATTLE: only the first three party members take part.

Referenced by mnStatusScreenSelectMember(), scInit(), scLinkLobbyChooseBattleMode() and scLinkLobbyPartyContains().

Definition at line 239 of file flags.h.

FLAG_MONSTER_BATTLE

#define FLAG_MONSTER_BATTLE 0x173

A battle against monsters with formations matched to the party's level, and no spoils.

Referenced by btEnemyRecordDefeat(), btFormationBuildEnemyList(), scInit(), scLinkLobbyChooseBattleMode(), scLinkLobbyEnterBattle() and scLinkLobbyPollPeerReady().

Definition at line 242 of file flags.h.

FLAG_MONSTER_BATTLE_ANY_ENEMY

#define FLAG_MONSTER_BATTLE_ANY_ENEMY 0x174

Lets the monster battles choose enemies above level 3 the party has never defeated.

Referenced by btFormationAverageLevel().

Definition at line 245 of file flags.h.

FLAG_ALREADY_KNOWS_DJINN

#define FLAG_ALREADY_KNOWS_DJINN 0x175

Set when Up is held as Echo's Djinn lesson begins on the World Map: the lesson then takes its second set of messages, opening "You look like you already know a little about us, huh?" (MsgDjinnGiveTutorialB and its kin).

Referenced by btTutorialGetDjinnGiveMessage(), mnDjinnGetGiveTutorialMessage(), mnGetDjinnGiveMessage(), scWorldMapExplainGivingDjinn() and scWorldMapMeetEcho().

Definition at line 249 of file flags.h.

FLAG_SAILING

#define FLAG_SAILING 0x176

Set while the party sails the ship on the World Map: world_map.c sets it as the party boards, and the main routine keeps it while an actor other than the leader is the one scripts control (MAIN_ROUTINE_STATE.ownerOverride). The World Map takes MUS_TO_THE_OPEN_SEA while it is set.

Referenced by gmArrive(), scWorldMapBoardShip(), scWorldMapLeaveShip() and scWorldMapMoorAtAttekaInlet().

Definition at line 254 of file flags.h.

FLAG_CANNOT_SAVE_HERE

#define FLAG_CANNOT_SAVE_HERE 0x17c

While set, the save screen refuses to save with "Cannot save here".

Referenced by gmArrive(), mnDebugWarpKaoruSpecial3(), mnPauseMenuRun(), scInit() and scMarsLighthouseAerieUrgeOnToBeacon().

Definition at line 256 of file flags.h.

FLAG_NO_PLACE_TO_SAVE

#define FLAG_NO_PLACE_TO_SAVE 0x17d

While set, the save screen refuses to save with "This is no place for that!": the scenes set it while the party rides a moving platform, lift or raft.

Referenced by gmArrive(), mnPauseMenuRun(), scAnkohlRuinsPressFirstSandSwitch(), scAnkohlRuinsPressSecondSandSwitch(), scAnkohlRuinsRaiseFirstSand(), scAnkohlRuinsRaiseSecondSand(), scAnkohlRuinsSlideGreatFace(), scAnkohlRuinsStartGreatFaceSliding(), scAnkohlRuinsStartGreatFaceSlidingUpClose(), scInit(), scKandoreanTempleWatchLifts(), scKandoreanTempleWatchVents() and scMarsLighthouseEntranceWakeDragonFace().

Definition at line 259 of file flags.h.

FLAG_IN_BATTLE_ARENA

#define FLAG_IN_BATTLE_ARENA 0x17e

Set when the cleared game's link lobby goes to the Battle Arena: there the Pause menu offers only Change settings; gmArrive clears it.

Referenced by fdEngineRun(), fdUsePsynergy(), gmArrive(), mnPauseMenuChoose(), mnPauseMenuOpen() and scInit().

Definition at line 262 of file flags.h.

FLAG_FAST_WALK

#define FLAG_FAST_WALK 0x17f

With it set, holding B on the World Map moves the party at 4 pixels a tick. Nothing in the game sets it.

Referenced by fdActorSailOnMap().

Definition at line 265 of file flags.h.

FLAG_SCENE_TEMP_FIRST

#define FLAG_SCENE_TEMP_FIRST 0x200

A scene's own flags, cleared on every ordinary entry (gmArrive): puzzles reset when the party walks back in.

Referenced by gmArrive().

Definition at line 269 of file flags.h.

FLAG_SCENE_TEMP

#define FLAG_SCENE_TEMP(n) (FLAG_SCENE_TEMP_FIRST + (n))

Scene flag n, from 0x00 to 0xff: a scene says beside its uses what each one holds there.

Referenced by DailaRoomsSanctumPlacements, MarsLighthouseBalmCues, MarsLighthouseBalmIceCones, MarsLighthouseDragonFaceCues, MarsLighthouseDragonFaceIceCones, MarsLighthouseEntranceCues, MarsLighthouseEntranceIceCones, MarsLighthouseIceShaftCues, MarsLighthouseIceShaftIceCones, NaribweUnusedList, scInit(), scOrbSpawnRising(), scWorldMapDriftNorthOfContinent() and scWorldMapSendWaveIn().

Definition at line 272 of file flags.h.

FLAG_SCENE_TEMP_LAST

#define FLAG_SCENE_TEMP_LAST 0x2ff

The last of the scene's 256 flags.

Referenced by gmArrive().

Definition at line 274 of file flags.h.

FLAG_AREA_TEMP_FIRST

#define FLAG_AREA_TEMP_FIRST 0x300

An area's flags, kept while the party moves between the scenes of one area and cleared when it enters another. Each area uses the numbers for its own, so the scenes name them.

Referenced by gmArrive().

Definition at line 278 of file flags.h.

FLAG_AREA_TEMP

#define FLAG_AREA_TEMP(n) (FLAG_AREA_TEMP_FIRST + (n))

Area flag n, from 0x00 to 0xff: a scene says beside its uses what each one holds there.

Referenced by MarsLighthouseIceShaftPlacements, scGarohHowlForDog() and scInit().

Definition at line 281 of file flags.h.

FLAG_AREA_TEMP_LAST

#define FLAG_AREA_TEMP_LAST 0x3ff

The last of the area's 256 flags.

Referenced by gmArrive().

Definition at line 283 of file flags.h.

#define FLAG_LINK_BATTLE_BROKE 0x3e8

Set by the battle when a linked battle broke off (btRun), so the link lobby reports the link lost instead of a win. It is the lowest bit of the byte the lobby counts a monster series' victories in (FLAG_LINK_LOBBY_MONSTER_VICTORIES).

Referenced by btRun() and scInit().

Definition at line 288 of file flags.h.

#define FLAG_LINK_PARTY_COUNT 0x3f0

Two of the area flags' bytes, read and written eight flags at a time. The number of party members the linked opponent sent, stored by the link lobby.

Referenced by btRun() and scLinkLobbyExchangePartyRecords().

Definition at line 291 of file flags.h.

FLAG_MONSTER_BATTLE_WINS

#define FLAG_MONSTER_BATTLE_WINS 0x3f8

The Battle Arena's monster series: the level bonus battle_formation.c adds to each next monster's level, which the lobby raises as the series is won and sets to -1 between series.

Referenced by btFormationSelectLevelMatchedCandidate() and scInit().

Definition at line 295 of file flags.h.

FLAG_MADRA_GATE_INSPECTED

#define FLAG_MADRA_GATE_INSPECTED 0x910

Set as Madra's gate guards let the party through (scMadraInspectPartyAtGate, "You there! Hold your ground!"); then the worker no longer blocks the hole into the catacombs and Daila skips Alex's script.

Referenced by MadraCuesBeforeRaid, scDailaMeetAlex(), scInit(), scMadraInspectPartyAtGate(), scMadraSkipGateInspection() and scMadraWorkerBlocksHole().

Definition at line 300 of file flags.h.

FLAG_PIERS_INTERROGATED

#define FLAG_PIERS_INTERROGATED 0x911

Set at the end of the jail scene where Piers wards off his interrogator with Frost (scMadraRoomsShinAngersPiers); then the two witnesses of the ice stand outside the jail and the lady can grant passage to Osenia.

Referenced by MadraPlacements, MadraPlacementsOnReturn, scKibomboMeetPiers(), scMadraGrantPassageToOsenia(), scMadraRoomsSetUpJail() and scMadraRoomsShinAngersPiers().

Definition at line 304 of file flags.h.

FLAG_OSENIA_PASSAGE_GRANTED

#define FLAG_OSENIA_PASSAGE_GRANTED 0x913

Set as the lady grants passage over the drawbridge ("Then I hereby grant my permission to these four travelers!"); the drawbridge guards let the party by once it is set.

Referenced by SceneCues, scInit() and scMadraGrantPassageToOsenia().

Definition at line 308 of file flags.h.

FLAG_MADRA_CYCLONE_CHIP_GIVEN

#define FLAG_MADRA_CYCLONE_CHIP_GIVEN 0x918

Set as Madra's mayor gives Felix the Cyclone Chip, the reward he promised for the help with the boat.

Referenced by scMadraMeetKarst().

Definition at line 311 of file flags.h.

FLAG_TRIAL_ROAD_HOLDS_EQUIPMENT

#define FLAG_TRIAL_ROAD_HOLDS_EQUIPMENT 0x9ff

Set while the Trial Road holds the party's equipment, from the race's start (gmInventorySnapshotSave) to its end (gmInventorySnapshotRestore), as the chests take the items the party puts in them ("place items in these chests"); the Trial Road's music rule and its cues test it.

Referenced by gmInventorySnapshotRestore(), gmInventorySnapshotSave(), scInit(), scPrepareMap(), scTrialRoadOfferToGiveUp(), scTrialRoadSetUpPeak(), scTrialRoadShutSummitDoorway() and scTrialRoadTakeStairs().

Definition at line 316 of file flags.h.

FLAG_TRIAL_ROAD_STAGE_ITEM_FIRST

#define FLAG_TRIAL_ROAD_STAGE_ITEM_FIRST 0xe50

The ten items of the Trial Road's stages (SCENE_TRIAL_ROAD_STAGES in scene_items.s), set as each is taken; gmInventorySnapshotSave clears them as a race starts, so that every race finds them again.

Referenced by gmInventorySnapshotSave().

Definition at line 320 of file flags.h.

FLAG_TRIAL_ROAD_STAGE_ITEM_LAST

#define FLAG_TRIAL_ROAD_STAGE_ITEM_LAST 0xe59

Referenced by gmInventorySnapshotSave().

Definition at line 321 of file flags.h.

FLAG_SHAMAN_VILLAGE_SAND_CLEARED

#define FLAG_SHAMAN_VILLAGE_SAND_CLEARED 0x94c

Set once Sheba's Whirlwind has made the sand vanish from the purple rock in Shaman Village, Moapa's first test ("The sand vanished!").

Referenced by mnDebugWarpKaoruSpecial4(), scShamanVillageBlowAwaySand(), scShamanVillageSetUpTrialGrounds() and scShamanVillageShebaClearsSand().

Definition at line 324 of file flags.h.

FLAG_SHAMAN_VILLAGE_MOAPA_MET

#define FLAG_SHAMAN_VILLAGE_MOAPA_MET 0x94f

Set as Moapa comes out of his cabin in Shaman Village to meet the party.

Referenced by mnDebugWarpKaoruSpecial4(), scShamanVillageMeetMoapa() and scShamanVillageSetUpVillage().

Definition at line 326 of file flags.h.

FLAG_SHAMAN_VILLAGE_SHAMANS_ROD_SHOWN

#define FLAG_SHAMAN_VILLAGE_SHAMANS_ROD_SHOWN 0x9e1

Set once the party has shown Moapa the Shaman's Rod.

Referenced by mnDebugWarpKaoruSpecial4(), scShamanVillageSetUpNorthEnd(), scShamanVillageSetUpVillage() and scShamanVillageShowShamansRod().

Definition at line 328 of file flags.h.

FLAG_MOAPA_BEATEN

#define FLAG_MOAPA_BEATEN 0x9fe

Set as the party comes back from beating Moapa on the Trial Road; Shaman Village's inn and sanctum serve the party from then on.

Referenced by mnDebugWarpKaoruSpecial4(), scGetActorPlacements(), scShamanVillageFortuneTellerCallsOut(), scShamanVillageSetUpHouses(), scShamanVillageSetUpSanctum(), scShamanVillageSetUpTrialGrounds(), scShamanVillageSetUpVillage(), scShamanVillageTalkToInnkeeper() and scShamanVillageTalkToPriest().

Definition at line 331 of file flags.h.

FLAG_GAROH_ASKED_ABOUT_REVEAL

#define FLAG_GAROH_ASKED_ABOUT_REVEAL 0x91a

Set once the old werewolf of Garoh's inn has asked the party whether they learned Reveal; he then only sighs about his wasted years.

Referenced by GarohRoomsHousesMorningCues and scGarohRoomsAskAboutReveal().

Definition at line 335 of file flags.h.

FLAG_GAROH_SECRET_SHARED

#define FLAG_GAROH_SECRET_SHARED 0x91b

Set as the party wakes at Garoh's inn after the night with Maha (scGarohRoomsWakeAtInn): from then on it is day in Garoh and its people no longer hide that they are werewolves.

Referenced by GarohRoomsSanctumCues, scGarohCrossLowerTwilightLine(), scGarohCrossUpperTwilightLine(), scGarohHowlAtNight(), scGarohInitVillage(), scGarohMeetInTheCave(), scGarohMetWerewolves(), scGarohRoomsReadDisappointedTravelersMind(), scGarohRoomsReadStubbornTravelersMind(), scGarohRoomsTalkToArmorVendor(), scGarohRoomsTalkToDisappointedTraveler(), scGarohRoomsTalkToInnkeeper(), scGarohRoomsTalkToItemShopkeeper(), scGarohRoomsTalkToPriest(), scGarohRoomsTalkToStubbornTraveler(), scGarohRoomsTalkToWeaponsVendor(), scGarohRoomsWakeAtInn(), scGetActorPlacements(), scGetCues() and scInit().

Definition at line 339 of file flags.h.

FLAG_GAROH_NIGHT

#define FLAG_GAROH_NIGHT 0x310

Set while it is night in Garoh: its scenes fade the palette to night and play a howl every 1,024 ticks, and its inn shows its night layers. The party walks into the night as it climbs to the village, and the morning after the night with Maha (FLAG_GAROH_SECRET_SHARED) clears it.

Referenced by scGarohCrossLowerTwilightLine(), scGarohCrossUpperTwilightLine(), scGarohHowlAtNight(), scGarohInitEntrance(), scGarohInitPath(), scGarohInitVillage(), scGarohIsNight(), scGarohRestoreEntranceLight() and scInit().

Definition at line 345 of file flags.h.

FLAG_BRIGGS_SAILED_FROM_ALHAFRA

#define FLAG_BRIGGS_SAILED_FROM_ALHAFRA 0x97f

Set as Briggs sails from Alhafra in the boat he bought with the Ankohl jewels, leaving the party on the shore; from then on Champa is fed and talks of his return.

Referenced by ChampaCliffCavesForgeCues, ChampaCliffCavesLowerCues, ChampaCliffCavesMiddleCues, ChampaCliffCavesUpperCues, mnDebugWarpChampa2(), scChampaAskAboutAnkohlRuins(), scEasternAlhafraBriggsStealsShip(), SceneCues, scGetActorPlacements(), scGetCues(), scInit() and scPrepareMap().

Definition at line 350 of file flags.h.

FLAG_APOJII_CAVE_FOLIAGE_FIRST

#define FLAG_APOJII_CAVE_FOLIAGE_FIRST 0x8e9

The first of four flags, one for each patch of overgrowth in the Apojii Islands' cave that Whirlwind has blown away, by its placed actor id.

Definition at line 354 of file flags.h.

FLAG_APOJII_CAVE_FOLIAGE_BLOWN

#define FLAG_APOJII_CAVE_FOLIAGE_BLOWN(actor)

Referenced by ActorPlacements, scApojiiIslandsCaveScatterWeeds() and SceneCues.

Definition at line 355 of file flags.h.

FLAG_MAYOR_ARRIVED_AT_THE_SHIP

#define FLAG_MAYOR_ARRIVED_AT_THE_SHIP 0x8aa

Set as the mayor of Madra arrives on the ship at Alhafra's eastern harbour, or once the party has fought Briggs there.

Referenced by mnDebugWarpArafura2(), mnDebugWarpArafura3(), SceneCues and scInit().

Definition at line 360 of file flags.h.

FLAG_BRIGGS_CAUGHT

#define FLAG_BRIGGS_CAUGHT 0x8ab

Set as Briggs is caught on the boat he bought at Alhafra; the town then thanks the party and talks of pirates.

Referenced by GondowanCliffsActorPlacements, MadraPlacements, MadraRoomsJailPlacements, MadraRoomsPlacements, MadraRoomsSecondRoomsCues, MadraRoomsSecondRoomsPlacements, mnDebugWarpArafura2(), mnDebugWarpArafura3(), scAlhafranCaveChauchaAndEoleoVisit(), scAlhafranCaveSetUpJail(), scEasternAlhafraAskToHelpWithMast(), scEasternAlhafraGiveUpOnMastBlock(), scEasternAlhafraStepByCabinDoor(), scGetActorPlacements(), scGetCues(), scGondowanCliffsHideoutWarriorsAreFound(), scInit(), scMadraAskAboutBriggs(), scMadraCatacombsSetUpChampaTunnel(), scMadraCatacombsSetUpVillage(), scMadraMindReadBriggsFan(), scMadraRoomsPlaceBlackCrystal(), scMadraRoomsSetUpJail(), scMadraRoomsTalkToHealer(), scMadraRoomsTalkToInnkeeper(), scMadraTalkToArmorMerchant(), scMadraTalkToItemMerchant(), scMadraTalkToWeaponMerchant() and scPrepareMap().

Definition at line 363 of file flags.h.

FLAG_FAMILY_VISITED_BRIGGS

#define FLAG_FAMILY_VISITED_BRIGGS 0x8bd

Set as Chaucha and Eoleo leave the jail after visiting Briggs.

Referenced by AlhafranCaveJailCues, scAlhafranCaveChauchaAndEoleoVisit(), scAlhafranCaveSetUpJail() and scInit().

Definition at line 365 of file flags.h.

FLAG_KIBOMBO_WARRIORS_FOUND

#define FLAG_KIBOMBO_WARRIORS_FOUND 0x98f

Set as Felix comes upon the four Kibombo warriors in their hideout in the Gondowan Cliffs; back in Madra, Felix is asked "It was them, wasn't it?"

Referenced by SceneCues, scGondowanCliffsHideoutWarriorsAreFound() and scMadraStopPartyAfterRaid().

Definition at line 368 of file flags.h.

FLAG_MENARDIS_SHIP_SEEN

#define FLAG_MENARDIS_SHIP_SEEN 0x980

Set as the crew sights Menardi's ship from the Lemurian ship's deck (scLemurianShipDeckSightMenardisShip), at once there if the message of the Gabomba was carried first, or as Karst leaves Madra after coming to find the party there; the deck's sighting then runs no more.

Referenced by LemurianShipDeckMainDeckCues, scLemurianShipDeckSightMenardisShip() and scMadraMeetKarst().

Definition at line 373 of file flags.h.

FLAG_PIERS_SETTING_SAIL

#define FLAG_PIERS_SETTING_SAIL 0x981

Set as Piers tells Felix in Madra that they will sail for the Eastern Sea in his ship, or as the party reaches his ship from the Lemurian ship's deck; Kraden's farewell in Madra is shorter after it.

Referenced by LemurianShipDeckMainDeckCues, scLemurianShipDeckReachPiersShip(), scMadraRoomsAskToStayLonger() and scMadraRoomsWelcomePiersHome().

Definition at line 377 of file flags.h.

FLAG_MADRA_FAREWELL_SAID

#define FLAG_MADRA_FAREWELL_SAID 0x989

Set once the party has said its farewells in Madra and gathered to leave; Karst then comes into the town, and the deck's departure runs no more.

Referenced by LemurianShipDeckMainDeckCues, MadraRoomsCuesOnReturn, scInit(), scLemurianShipDeckReachPiersShip() and scMadraRoomsWelcomePiersHome().

Definition at line 380 of file flags.h.

FLAG_ALHAFRA_MAST_CLEARED

#define FLAG_ALHAFRA_MAST_CLEARED 0x8a7

Set once Burst has broken the last block on the Alhafran boat's mast, so the mast is ready for repairs; the town then wonders whether Briggs was a pirate at all.

Referenced by AlhafranCaveJailCues, mnDebugWarpArafura2(), mnDebugWarpArafura3(), scAlhafranCaveChauchaAndEoleoVisit(), scAlhafranCaveSetUpCave(), scAlhafranCaveSetUpJail(), scEasternAlhafraAskToHelpWithMast(), scEasternAlhafraBriggsStealsShip(), scEasternAlhafraBurstMastBlock(), scEasternAlhafraGiveUpOnMastBlock(), scEasternAlhafraPlaceClearedDebris(), scEasternAlhafraStepByCabinDoor(), scEasternAlhafraWorkersTellMayor(), SceneCues, scGetActorPlacements(), scGetCues(), scInit() and scPrepareMap().

Definition at line 384 of file flags.h.

FLAG_ALHAFRA_MET_ALEX

#define FLAG_ALHAFRA_MET_ALEX 0x8b2

Set as Alex greets the party at Alhafra's inn.

Referenced by AlhafraRoomsCues and scAlhafraRoomsMeetAlex().

Definition at line 386 of file flags.h.

FLAG_CHAMPA_MET_ALEX

#define FLAG_CHAMPA_MET_ALEX 0x971

Set as Alex meets the party again by Obaba's cliff in Champa ("I see you've caught up with me again", MsgChampaISeeYouveCaughtUp); Alhafra's inn is without him from then on ("That cute boy next door left already").

Referenced by AlhafraRoomsCuesOnceBriggsIsCaught, ChampaCues, ChampaCuesOnceBriggsSailed, scChampaMeetAlex() and scInit().

Definition at line 390 of file flags.h.

FLAG_ALHAFRA_MADRANS_ARRIVED

#define FLAG_ALHAFRA_MADRANS_ARRIVED 0x8b3

Set as the party from Madra, its mayor among them, reaches Alhafra across the Yampi Desert.

Referenced by AlhafraCues, scAlhafraMadransArrive(), scInit() and scYampiDesertSetUpSpring().

Definition at line 393 of file flags.h.

FLAG_ALHAFRA_SHIP_GONE

#define FLAG_ALHAFRA_SHIP_GONE 0x90f

Set as Alhafra's sailboat leaves its harbour, with FLAG_BRIGGS_SAILED_FROM_ALHAFRA; the town then mourns its only ship.

Referenced by scEasternAlhafraBriggsStealsShip(), SceneCues, scGetActorPlacements(), scGetCues() and scInit().

Definition at line 396 of file flags.h.

FLAG_ALHAFRA_HEARD_OF_CROSSBONE_ISLE

#define FLAG_ALHAFRA_HEARD_OF_CROSSBONE_ISLE 0x903

Set as Alhafra's inn tells that someone named Isaac picked Crossbone Isle clean, which it tells only while FLAG_ISAAC_CLEARED_CROSSBONE_ISLE is set.

Referenced by scAlhafraRoomsOverhearCrossboneIsleTale() and scInit().

Definition at line 399 of file flags.h.

FLAG_ISAAC_CLEARED_CROSSBONE_ISLE

#define FLAG_ISAAC_CLEARED_CROSSBONE_ISLE 0x823

Copied from The Broken Seal's FLAG_CROSSBONE_ISLE_DEADBEARD_DEFEATED by gmDataTransferApply: Isaac beat Deadbeard on the Pirate Ship. Alhafra's inn tells of Isaac picking Crossbone Isle clean only while it is set.

Referenced by AlhafraRoomsCuesOnceTheMastIsCleared and scInit().

Definition at line 403 of file flags.h.

FLAG_SERPENT_SLAIN

#define FLAG_SERPENT_SLAIN 0x927

Set as the Great Serpent of Mikage is slain in Gaia Rock; Izumo then celebrates and takes its tables for after.

Referenced by scGaiaRockInsideChallengeSerpent(), scGaiaRockInsideCycloneClearsTwinAltarsBushes(), scGaiaRockInsidePlaceDollOnCobwebAltar(), scGaiaRockInsidePlaceDollOnEastAltar(), scGaiaRockInsidePlaceDollOnWestAltar(), scGaiaRockSusaAsksAboutTheSerpent(), scGetActorPlacements(), scGetCues(), scInit(), scIzumoRoomsTalkToInnkeeper(), scIzumoRoomsTalkToMerchant() and scIzumoRoomsTalkToPriest().

Definition at line 407 of file flags.h.

FLAG_IZUMO_RECOGNIZED_THE_HEROES

#define FLAG_IZUMO_RECOGNIZED_THE_HEROES 0x928

Set once Izumo has recognized the party as the warriors who slew the serpent (scIzumoRoomsRecognizeTheHeroes).

Referenced by IzumoRoomsCuesOnceTheSerpentIsSlain, scInit() and scIzumoRoomsRecognizeTheHeroes().

Definition at line 410 of file flags.h.

FLAG_UZUME_HAS_THE_DOLL

#define FLAG_UZUME_HAS_THE_DOLL 0x92c

Set once the party has given Lady Uzume the dancing doll of Mt. Mikage (scIzumoRoomsGiveUzumeTheDoll).

Referenced by IzumoRoomsCuesOnceTheSerpentIsSlain, scIzumoRoomsGiveUzumeTheDoll() and scIzumoRoomsTalkToUzume().

Definition at line 413 of file flags.h.

FLAG_TAVI_RESCUED

#define FLAG_TAVI_RESCUED 0x873

Set as the party throws the boy Tavi the rope at the Shrine of the Sea God; Daila's houses then take their later tables.

Referenced by SceneExits, scGetActorPlacements(), scGetCues(), scGetExits(), scInit(), scPrepareMap(), scShrineOfTheSeaGodInitSideRoom() and scShrineOfTheSeaGodLashRope().

Definition at line 417 of file flags.h.

FLAG_GONDOWAN_CLIFFS_STUMP_IN_WATER

#define FLAG_GONDOWAN_CLIFFS_STUMP_IN_WATER 0x884

Set as Move sends the stump on the Gondowan Cliffs leaping into the stream, where it stands as a step.

Referenced by GondowanCliffsCues, scGondowanCliffsLeapStumpIntoWater() and scInit().

Definition at line 421 of file flags.h.

FLAG_GONDOWAN_CLIFFS_WEEDS_BLOWN

#define FLAG_GONDOWAN_CLIFFS_WEEDS_BLOWN 0x885

Set as Whirlwind blows away the weeds before the cave of Kibombo warriors.

Referenced by GondowanCliffsCues, scGondowanCliffsBlowAwayWeeds() and scInit().

Definition at line 423 of file flags.h.

FLAG_GONDOWAN_CLIFFS_GEYSER_DUG

#define FLAG_GONDOWAN_CLIFFS_GEYSER_DUG 0x886

Set as Scoop digs up the geyser in the yellow sand.

Referenced by GondowanCliffsCues, scGondowanCliffsScoopUpGeyser() and scInit().

Definition at line 425 of file flags.h.

FLAG_SHIP_CAN_SAIL

#define FLAG_SHIP_CAN_SAIL 0x8de

Set once the leader takes the Lemurian Ship's tiller: the ship can sail, the world map marks its mooring and the party comes back to it there.

Referenced by fdMapScreenUpdateMarkers(), fdWorldMapSetReturnForScene(), fdWorldMapSetReturnLeavingScene(), SceneCues, scGetActorPlacements(), scInit(), scLemurianShipDeckTakeTheTiller(), scSuhallaGateOpenCliffsMetatile(), scWorldMapBoardShip() and scWorldMapTakeTheTiller().

Definition at line 428 of file flags.h.

FLAG_GONDOWAN_CLIFFS_ROCK_GROUND

#define FLAG_GONDOWAN_CLIFFS_ROCK_GROUND 0x8e6

Set as Grind breaks up the rock that blocks the way south.

Referenced by GondowanCliffsActorPlacements, GondowanCliffsPassActorPlacements and scGondowanCliffsGrindTheRock().

Definition at line 430 of file flags.h.

FLAG_JUPITER_LIGHTHOUSE_GATES_PILLAR_PLACED

#define FLAG_JUPITER_LIGHTHOUSE_GATES_PILLAR_PLACED 0xa01

Set once the pillar inside Jupiter Lighthouse's main gates stands on the button beside them: the gates stay open.

Referenced by SceneCues, scInit() and scJupiterLighthouseCheckPillarOnButton().

Definition at line 434 of file flags.h.

FLAG_GABOMBA_CEREMONY_UNDER_WAY

#define FLAG_GABOMBA_CEREMONY_UNDER_WAY 0x8f2

The Gabomba ceremony at Kibombo: FLAG_GABOMBA_CEREMONY_UNDER_WAY is set as it begins (the music rules play its music while set) and cleared once the message is carried; the others are set as each step happens.

Referenced by scGabombaStatueChamberGabombaNamesWitchDoctor() and scKibomboCeremonyStarts().

Definition at line 439 of file flags.h.

FLAG_GABOMBA_RESPONDED

#define FLAG_GABOMBA_RESPONDED 0x8fb

Referenced by GabombaStatueEyesCues, scGabombaStatueInitEyes(), scGabombaStatueRedrawChannel(), scKibomboGabombaRespondsToGift(), scKibomboInitStatueGrounds(), scKibomboInitStatueGroundsByDay() and scKibomboInitStatueGroundsCeremony().

Definition at line 440 of file flags.h.

FLAG_GABOMBA_CEREMONY_ENDED

#define FLAG_GABOMBA_CEREMONY_ENDED 0x8ef

Referenced by fdWorldMapUpdateRegionTint(), scInit(), scKibomboCeremonyEnds(), scKibomboInitHouses() and WorldMapEncounterRules.

Definition at line 441 of file flags.h.

FLAG_AKAFUBU_OFFERED_HELP

#define FLAG_AKAFUBU_OFFERED_HELP 0x8fd

Referenced by KibomboCeremonyCues, scGabombaStatueChamberAkafubuOffersToHelp(), scGabombaStatueChamberInitIdol(), scGabombaStatueInitEyes(), scKibomboInitCeremony() and scKibomboInitStatueGroundsCeremony().

Definition at line 442 of file flags.h.

FLAG_GABOMBA_MESSAGE_CARRIED

#define FLAG_GABOMBA_MESSAGE_CARRIED 0x8ff

Set as Felix carries the message of the Gabomba to Akafubu after the ceremony at the Gabomba Statue; Madra, Alhafra and the Kibombo then speak of the raids and the Black Crystal.

Referenced by ActorPlacements, AlhafraCuesOnceBriggsIsCaught, GabombaStatueChamberWitchDoctorCues, MadraRoomsJailCues, MadraRoomsJailPlacements, MadraRoomsSecondRoomsCues, SceneExits, scGabombaStatueChamberGabombaNamesWitchDoctor(), scGabombaStatueChamberInitWitchDoctor(), scGetActorPlacements(), scGetCues(), scInit(), scLemurianShipDeckReachPiersShip(), scLemurianShipDeckSightMenardisShip(), scMadraRoomsSetUpJail(), scMadraRoomsTalkToHealer(), scMadraRoomsTalkToInnkeeper(), scMadraTalkToArmorMerchant(), scMadraTalkToItemMerchant(), scMadraTalkToWeaponMerchant(), scNaribweRoomsFoeAhead() and scNaribweRoomsNextPath().

Definition at line 446 of file flags.h.

FLAG_KIBOMBO_PIERS_MET

#define FLAG_KIBOMBO_PIERS_MET 0x8f3

Set as Felix's party first meets Piers in Kibombo (scKibomboMeetPiers); Jenna, Sheba and Kraden then stand at Gondowan Cliffs' hideout.

Referenced by GondowanCliffsActorPlacements, KibomboStatueGroundsCeremonyCues, scInit() and scKibomboMeetPiers().

Definition at line 449 of file flags.h.

FLAG_GABOMBA_MUSIC_SILENCED

#define FLAG_GABOMBA_MUSIC_SILENCED 0x8f7

Set as the Gabomba's charges drive the party back from the statue, cleared as Akafubu ends the ceremony; while it is set the music rules choose silence for their groups 31 and 32 (music_rules.s).

Referenced by scGabombaStatueWatchTheChargesStick() and scKibomboGabombaNotPleased().

Definition at line 453 of file flags.h.

FLAG_GABOMBA_BACK_FROM_CEREMONY

#define FLAG_GABOMBA_BACK_FROM_CEREMONY 0x8fc

Set as the ceremony sends the party back to Kibombo; the Gabomba Statue's eyes room reads it once and clears it.

Referenced by scGabombaStatueInitEyes(), scKibomboGabombaResponds(), scKibomboGabombaSeesJewel(), scKibomboGabombaStillNotPleased() and scKibomboWitchDoctorFeelsPower().

Definition at line 456 of file flags.h.

FLAG_GABOMBA_RETREAT_TO_ENTRANCE

#define FLAG_GABOMBA_RETREAT_TO_ENTRANCE 0xa27

Where Retreat takes the party from the Gabomba Statue's lower rooms: set as it comes in to the entrance from outside (FLAG_GABOMBA_RETREAT_TO_ENTRANCE) or to the idol's chamber by its third entrance (FLAG_GABOMBA_RETREAT_TO_IDOL), each clearing the other.

Referenced by scGabombaStatueChamberInitIdol(), scGabombaStatueChamberInitWitchDoctor(), scGabombaStatueInitEntrance() and scInit().

Definition at line 461 of file flags.h.

FLAG_GABOMBA_RETREAT_TO_IDOL

#define FLAG_GABOMBA_RETREAT_TO_IDOL 0xa28

Referenced by scGabombaStatueChamberInitIdol(), scGabombaStatueChamberInitWitchDoctor(), scGabombaStatueInitEntrance() and scInit().

Definition at line 462 of file flags.h.

FLAG_KIBOMBO_AT_CEREMONY

#define FLAG_KIBOMBO_AT_CEREMONY 0x86b

Set while Kibombo is shown at its ceremony night (scKibomboInitCeremony), cleared by day and once the message is carried: the houses' and the statue's exits lead to KibomboCeremony while it is set.

Referenced by SceneExits, scGabombaStatueChamberGabombaNamesWitchDoctor(), scKibomboInitCeremony() and scKibomboInitVillageByDay().

Definition at line 466 of file flags.h.

FLAG_SHIP_FLIES

#define FLAG_SHIP_FLIES 0x8df

Set as the party sets out on the ship Hamma gave wings to at Atteka Inlet: from then on the ship flies, with no encounters at sea.

Referenced by fdEncounterSelectBattleMusic(), fdPartyGetCharacterSprite(), fdUpdateHoverReady(), fdUsePsynergy(), scAttekaInletAskKradenToSetSail(), scAttekaInletKradenAsksToSetSail(), scInit(), scJupiterLighthouseCastTheJupiterStar(), scPrepareMap() and scWorldMapTakeOff().

Definition at line 470 of file flags.h.

FLAG_SHIP_TOOK_OFF

#define FLAG_SHIP_TOOK_OFF 0xa78

Set once the winged ship has first taken off from the World Map (scWorldMapTakeOff).

Referenced by SceneCues and scWorldMapTakeOff().

Definition at line 473 of file flags.h.

FLAG_JUPITER_LIGHTHOUSE_SHORTCUT_PILLAR_PLACED

#define FLAG_JUPITER_LIGHTHOUSE_SHORTCUT_PILLAR_PLACED 0xa19

Set once the pillar on the floor below Jupiter Lighthouse's aerie stands on the button by its door: the door stays open, a shortcut.

Referenced by SceneCues, scInit(), scJupiterLighthouseCheckPillarOnButton() and scPrepareMap().

Definition at line 477 of file flags.h.

FLAG_JUPITER_LIGHTHOUSE_ACTIVATED

#define FLAG_JUPITER_LIGHTHOUSE_ACTIVATED 0xa00

Set as Hover cast on the raised platform in Jupiter Lighthouse wakes the lighthouse: its hover platforms and blocks rise in every room.

Referenced by SceneCues, scInit(), scJupiterLighthouseActivateTheLighthouse(), scJupiterLighthouseLoadPalettes(), scJupiterLighthousePlacePushedBlock(), scJupiterLighthouseRaiseSocketBlock(), scJupiterLighthouseRevealThePassage() and scPrepareMap().

Definition at line 481 of file flags.h.

FLAG_JUPITER_LIGHTHOUSE_LEFT_ANGEL_SHOT

#define FLAG_JUPITER_LIGHTHOUSE_LEFT_ANGEL_SHOT 0xa0a

Set as the left tower's archer statue shoots its arrow at the left angel on Jupiter Lighthouse's aerie, which starts to lift its half of the lid.

Referenced by scJupiterLighthousePlacePathBlock(), scJupiterLighthousePlaceRaisedActors(), scJupiterLighthouseShootAtLeftAngel(), scJupiterLighthouseShootAtRightAngel() and scPrepareMap().

Definition at line 485 of file flags.h.

FLAG_JUPITER_LIGHTHOUSE_RIGHT_ANGEL_SHOT

#define FLAG_JUPITER_LIGHTHOUSE_RIGHT_ANGEL_SHOT 0xa0b

The same for the right tower's archer and the right angel.

Referenced by scJupiterLighthousePlacePathBlock(), scJupiterLighthousePlaceRaisedActors(), scJupiterLighthouseShootAtLeftAngel(), scJupiterLighthouseShootAtRightAngel() and scPrepareMap().

Definition at line 487 of file flags.h.

FLAG_JUPITER_LIGHTHOUSE_LID_LIFTED

#define FLAG_JUPITER_LIGHTHOUSE_LID_LIFTED 0xa1f

Set once both angels are shot and the lid is off the well on Jupiter Lighthouse's aerie, where Isaac's party is found.

Referenced by scInit(), scJupiterLighthouseCloseFloor(), scJupiterLighthouseOpenFloor() and scJupiterLighthousePlacePathBlock().

Definition at line 490 of file flags.h.

FLAG_JUPITER_LIGHTHOUSE_FIGHT_WATCHED

#define FLAG_JUPITER_LIGHTHOUSE_FIGHT_WATCHED 0xa24

Set as the party comes out by the aerie to watch Karst and Agatio fight Isaac and Ivan; cleared once the two have fallen.

Referenced by scInit() and scJupiterLighthouseAlexHealsTheParty().

Definition at line 493 of file flags.h.

FLAG_JUPITER_LIGHTHOUSE_ALEX_HEALED_THE_PARTY

#define FLAG_JUPITER_LIGHTHOUSE_ALEX_HEALED_THE_PARTY 0xa25

Set as Alex stops the party on its way to the fight and heals it; while set there are no encounters and Retreat is blocked.

Referenced by scJupiterLighthouseAlexHealsTheParty(), scJupiterLighthouseCastTheJupiterStar() and scSetArrivalFlags().

Definition at line 496 of file flags.h.

FLAG_ISAAC_AND_IVAN_FELL

#define FLAG_ISAAC_AND_IVAN_FELL 0xa23

Set once Isaac and Ivan have fallen to Karst and Agatio and gone up to the aerie, where the two wait for Felix.

Referenced by ActorPlacements, SceneCues, scInit(), scJupiterLighthouseAlexHealsTheParty(), scJupiterLighthouseCastTheJupiterStar() and scJupiterLighthouseKarstAndAgatioWait().

Definition at line 499 of file flags.h.

FLAG_JUPITER_BEACON_LIT

#define FLAG_JUPITER_BEACON_LIT 0xa21

Set as the Jupiter Star lights the beacon; Contigo's people speak of it.

Referenced by ActorPlacements, ContigoShopsCues, ContigoVillageCues, scContigoInitGeoglyph(), scContigoInitShops(), scContigoInitVillage(), scContigoTalkToDoubtingBoy(), scContigoTalkToHealer(), scContigoTalkToInnkeeper(), SceneCues, scGetActorPlacements(), scInit(), scJupiterLighthouseCastTheJupiterStar(), scJupiterLighthouseKarstAndAgatioWait(), scShamanVillageTellFortune() and scWorldMapRefuseToRunAway().

Definition at line 501 of file flags.h.

FLAG_MARS_BEACON_LIT

#define FLAG_MARS_BEACON_LIT 0xa3d

Set in the Mars Lighthouse's aerie as the talk after the Doom Dragon's battle ends, just before the voice asks for the Mars Star; Prox's people say "only Mars Lighthouse still needs lighting" while it is clear and thank the party for lighting the beacon once it is set.

Referenced by mnDebugWarpKaoruSpecial3(), ProxCaveHomesCues, ProxHousesCues, ProxNorthCues, ProxSanctumCues, ProxTownCues, SceneCues, scGetActorPlacements(), scInit(), scMarsLighthouseAerieUrgeOnToBeacon(), scPrepareMap(), scProxInitNorth(), scProxInitTown(), scProxScoopUpMold(), scProxSearchForParents(), scProxTalkToHealer(), scProxTalkToInnkeeper() and scProxTalkToShopkeeper().

Definition at line 506 of file flags.h.

FLAG_MARS_BEACON_BURNING

#define FLAG_MARS_BEACON_BURNING 0xa3c

Set as the party leaves the Mercury Lighthouse at the end: the beacon's fire burns at the aerie from then on.

Referenced by scMarsLighthouseAerieSetUpBeacon() and scMercuryLighthouseHearVoices().

Definition at line 509 of file flags.h.

FLAG_MARS_LIGHTHOUSE_THAWED

#define FLAG_MARS_LIGHTHOUSE_THAWED 0xa30

Set in the dragon hall once the Mars Star is set in the statue's face: the lighthouse turns to fire and its ice is gone, and battles there take the dragon hall's backdrop A in place of B.

Referenced by ActorPlacements, fdBattleBackgroundSelectForMap(), MarsLighthouseHallInscriptionsCues, scInit(), scMarsLighthouseStarRoomUseMarsStar() and scPrepareMap().

Definition at line 513 of file flags.h.

FLAG_HEARD_OF_PARENTS

#define FLAG_HEARD_OF_PARENTS 0x9c0

Set as the party, back in Prox, overhears the two warriors who could not find Felix's parents to set them free, as Puelle ordered.

Referenced by mnDebugWarpKaoruSpecial3(), ProxNorthCues, scProxInitNorth() and scProxSearchForParents().

Definition at line 516 of file flags.h.

FLAG_CLAN_SPOKE_OF_LIGHTHOUSE

#define FLAG_CLAN_SPOKE_OF_LIGHTHOUSE 0x9c1

Set once Puelle has told the clan he is going to the lighthouse and they have begged him to let them go in his stead.

Referenced by mnDebugWarpKaoruSpecial3(), ProxNorthCues, scProxDecideToGoToLighthouse() and scProxInitNorth().

Definition at line 519 of file flags.h.

FLAG_MET_PUELLE

#define FLAG_MET_PUELLE 0x9c2

Set once the party has met Puelle, the chieftain of Prox.

Referenced by mnDebugWarpKaoruSpecial3(), ProxNorthCues and scProxMeetPuelle().

Definition at line 521 of file flags.h.

FLAG_THANKED_FOR_BEACON

#define FLAG_THANKED_FOR_BEACON 0x9c5

Set after the ending, once the clan in Prox's houses has thanked the party for lighting the fires of the lighthouse beacon.

Referenced by mnDebugWarpKaoruSpecial3(), scGetActorPlacements(), scProxGiveThanksForBeacon(), scProxInitHouses() and scProxSayFarewell().

Definition at line 524 of file flags.h.

FLAG_REUNION_AT_CONTIGO

#define FLAG_REUNION_AT_CONTIGO 0x9d0

Set at the end of the reunion in Contigo, where the two parties hear what happened on Mt. Aleph; the shipwrights at Atteka Inlet then wait with the wings.

Referenced by AttekaInletHarborCues, scAttekaInletAskKradenToSetSail(), scAttekaInletHammaShowsTheWings(), scAttekaInletKradenAsksToSetSail(), scAttekaInletShipwrightsStopTheParty(), scContigoInitShops(), scContigoTheReunion(), scGetActorPlacements(), scPrepareMap() and scWorldMapRefuseToRunAway().

Definition at line 528 of file flags.h.

FLAG_IDEJIMA_FELIX_WOKE

#define FLAG_IDEJIMA_FELIX_WOKE 0x844

Set once Felix has woken on Idejima's shore.

Referenced by scIdejimaFelixWakes() and scIdejimaLayDownTheOthers().

Definition at line 531 of file flags.h.

FLAG_IDEJIMA_KRADEN_JOINED

#define FLAG_IDEJIMA_KRADEN_JOINED 0x863

Set as Kraden, Jenna and Sheba, each in turn, join Felix on Idejima.

Referenced by IdejimaCuesWake, scIdejimaCatchUpWithFelix(), scIdejimaLayDownTheOthers() and scIdejimaWakeKraden().

Definition at line 533 of file flags.h.

FLAG_IDEJIMA_JENNA_JOINED

#define FLAG_IDEJIMA_JENNA_JOINED 0x864

Referenced by IdejimaCuesWake, scIdejimaCatchUpWithFelix(), scIdejimaLayDownTheOthers() and scIdejimaWakeJenna().

Definition at line 534 of file flags.h.

FLAG_IDEJIMA_SHEBA_JOINED

#define FLAG_IDEJIMA_SHEBA_JOINED 0x865

Referenced by IdejimaCuesWake, scIdejimaCatchUpWithFelix(), scIdejimaLayDownTheOthers() and scIdejimaWakeSheba().

Definition at line 535 of file flags.h.

FLAG_IDEJIMA_ASKED_WHERE_ALEX_WENT

#define FLAG_IDEJIMA_ASKED_WHERE_ALEX_WENT 0x867

Set once the party has wondered where Alex has gone.

Referenced by IdejimaCuesWake and scIdejimaWonderWhereAlexHasGone().

Definition at line 537 of file flags.h.

FLAG_DAILA_ASKED_IF_BEEN_BEFORE

#define FLAG_DAILA_ASKED_IF_BEEN_BEFORE 0x843

Set once the villager at Daila's west edge has asked whether the party has been there before.

Referenced by scDailaTalkBeenBefore().

Definition at line 541 of file flags.h.

FLAG_DAILA_MET_ALEX

#define FLAG_DAILA_MET_ALEX 0x84b

Set as Alex leaves Daila for Madra.

Referenced by scDailaMeetAlex().

Definition at line 543 of file flags.h.

FLAG_DAILA_PSY_CRYSTAL_DUG

#define FLAG_DAILA_PSY_CRYSTAL_DUG FLAG_AREA_TEMP(0x00)

Daila's area flag: set as Scoop digs up the Psy Crystal under its puddle, and cleared once the party enters another area. That the crystal was taken is kept by its SceneItems row's flag, 0xf5e.

Referenced by DailaCues, scDailaDigUpPsyCrystal() and scInit().

Definition at line 547 of file flags.h.

FLAG_DAILA_HEALER_SENT_TO_POI

#define FLAG_DAILA_HEALER_SENT_TO_POI 0x847

Set once the healer of Daila's Sanctum has sent the party to Master Poi; after that the Sanctum serves them across its counter.

Referenced by scDailaRoomsTalkToHealer().

Definition at line 550 of file flags.h.

FLAG_SEA_GODS_TEAR_TAKEN

#define FLAG_SEA_GODS_TEAR_TAKEN 0xa20

Set once the party has taken the Sea God's Tear from Daila's sanctuary.

Referenced by DailaRoomsSanctumCuesOnceTaviIsRescued, scDailaRoomsTakeSeaGodsTear() and scInit().

Definition at line 552 of file flags.h.

FLAG_IZUMO_FIRST_ANTIDOTE

#define FLAG_IZUMO_FIRST_ANTIDOTE 0xf9f

Set once the party has taken what Cyclone uncovers in Izumo's bushes: an Antidote at each of the first two spots, a Lucky Medal at the third.

Referenced by scIzumoScatterWeedsOverFirstAntidote().

Definition at line 555 of file flags.h.

FLAG_IZUMO_SECOND_ANTIDOTE

#define FLAG_IZUMO_SECOND_ANTIDOTE 0xfa0

Referenced by scIzumoScatterWeedsOverSecondAntidote().

Definition at line 556 of file flags.h.

FLAG_IZUMO_LUCKY_MEDAL

#define FLAG_IZUMO_LUCKY_MEDAL 0xfa1

Referenced by scIzumoScatterWeedsOverLuckyMedal().

Definition at line 557 of file flags.h.

FLAG_JUPITER_LIGHTHOUSE_MINT

#define FLAG_JUPITER_LIGHTHOUSE_MINT 0xfe2

Set once the party has taken the Mint Cyclone uncovers in the grass before Jupiter Lighthouse.

Referenced by scJupiterLighthouseScatterWeedsOverMint().

Definition at line 560 of file flags.h.

FLAG_TUNDARIA_TOWER_BURST_BROOCH

#define FLAG_TUNDARIA_TOWER_BURST_BROOCH 0x949

Set once the party has taken the Burst Brooch in Tundaria Tower; after that, searching the crystal round the Center Prong opens the field menu.

Referenced by scTundariaTowerExamineCrystal().

Definition at line 563 of file flags.h.

FLAG_CENTER_PRONG_TAKEN

#define FLAG_CENTER_PRONG_TAKEN 0x945

Set once the party has taken the Center Prong from Tundaria Tower.

Referenced by scInit().

Definition at line 565 of file flags.h.

FLAG_CLOUD_BRAND_FOUND

#define FLAG_CLOUD_BRAND_FOUND 0xe41

Set once the party has found the Cloud Brand in Gaia Rock.

Definition at line 567 of file flags.h.

FLAG_DANCING_IDOL_TAKEN

#define FLAG_DANCING_IDOL_TAKEN 0xf74

Set once the party has taken the Dancing Idol from Gaia Rock's altar.

Referenced by scGaiaRockCheckAltar() and scGaiaRockRevealIdol().

Definition at line 569 of file flags.h.

FLAG_GABOMBA_CATACOMBS_MINT_TAKEN

#define FLAG_GABOMBA_CATACOMBS_MINT_TAKEN 0xf53

Set once the party has taken the Mint Cyclone uncovers in the bushes by the Gabomba Catacombs' statue.

Referenced by scGabombaCatacombsUncoverMint().

Definition at line 572 of file flags.h.

FLAG_TOMEGATHERICON_TAKEN

#define FLAG_TOMEGATHERICON_TAKEN 0xf93

Set once the party has taken the Tomegathericon from the seated idol of the Gabomba Catacombs.

Referenced by GabombaCatacombsTomegathericonCues and scInit().

Definition at line 575 of file flags.h.

FLAG_CONTIGO_BRAMBLE_SEED_TAKEN

#define FLAG_CONTIGO_BRAMBLE_SEED_TAKEN 0xfc7

Set once the party has taken the Bramble Seed in Contigo's bushes.

Referenced by scContigoScatterWeedsOverBrambleSeed().

Definition at line 577 of file flags.h.

FLAG_KALT_ISLAND_APPLE_TAKEN

#define FLAG_KALT_ISLAND_APPLE_TAKEN 0xf5d

Set once the party has caught Kalt Island's Apple.

Referenced by scSettlementsCatchApple(), scSettlementsSetUpKaltIsland() and SettlementsKaltIslandCues.

Definition at line 579 of file flags.h.

FLAG_LEMURIA_HARD_NUT_DUG

#define FLAG_LEMURIA_HARD_NUT_DUG 0xfbb

Set once the party has dug up the Hard Nut at Lemuria's fifth soft spot.

Definition at line 581 of file flags.h.

FLAG_LOHO_GOLEM_CORE_DUG

#define FLAG_LOHO_GOLEM_CORE_DUG 0xff7

Set once the party has dug up the Golem Core under Loho's rock.

Referenced by scLohoLiftBoulder().

Definition at line 583 of file flags.h.

FLAG_SHOP_ARTIFACTS_STOCKED

#define FLAG_SHOP_ARTIFACTS_STOCKED 0x400

The flag a row of the stock table adds to: that shop's artifacts are in stock, for the shop counter's Artifacts list.

Referenced by mnShopStockAddArtifacts().

Definition at line 587 of file flags.h.

FLAG_MAD_PLANT_FIRST

#define FLAG_MAD_PLANT_FIRST 0x9b5

The Mad Plants hidden in bushes, one flag each, set once it is beaten, in the order of their battles in ENCOUNTER_ZONE_MAD_PLANTS: the Gabomba Catacombs' (0), Taopo Swamp's, Gaia Rock's, Jupiter Lighthouse's and Trial Road's (4).

Definition at line 592 of file flags.h.

FLAG_MAD_PLANT

#define FLAG_MAD_PLANT(n) (FLAG_MAD_PLANT_FIRST + (n))

Referenced by scGabombaCatacombsUncoverMadPlant(), scGaiaRockInsideCycloneMadPlant(), scJupiterLighthouseUncoverMadPlant() and scTrialRoadScatterWeedsHidingMadPlant().

Definition at line 593 of file flags.h.

FLAG_SHIP_CARRIES_CANNON

#define FLAG_SHIP_CARRIES_CANNON 0x90a

Set as the World Map delivers Loho's cannon to the ship (scWorldMapDeliverLohoCannon), and by the Northern Reaches' entrance 90; Loho, Atteka Inlet and the Lemurian dock then place the cannon aboard.

Referenced by AttekaInletHarborActorPlacements, AttekaInletHarborActorPlacementsOnceSetOut, AttekaInletHarborActorPlacementsOnceWinged, AttekaInletHeightsActorPlacements, AttekaInletHeightsActorPlacementsOnceWinged, SceneCues, scInit(), scLohoMindReadMiner() and scLohoTalkAboutBreachedWall().

Definition at line 598 of file flags.h.

FLAG_LOHO_WALL_BREACHED

#define FLAG_LOHO_WALL_BREACHED 0xa5f

Set as Loho's cannon, loaded with the Magma Ball, breaches the ancient wall (scLohoFireCannon); the miners then give the party the cannon, and the next arrival on the World Map at Loho delivers it to the ship.

Referenced by LohoRoomsCues, LohoTownCues, scInit(), scLohoFireCannon(), scLohoTalkAboutCannon(), scLohoTalkAboutCommerce() and scPrepareMap().

Definition at line 602 of file flags.h.

FLAG_LEMURIA_SPRING_ECLIPSE_WON

#define FLAG_LEMURIA_SPRING_ECLIPSE_WON 0x90b

Set as the first Lucky Medal to land in the middle of Lemuria's spring wins the summon Eclipse (scLemuriaSpringGivePrize).

Referenced by scLemuriaSpringRunSpringGame().

Definition at line 605 of file flags.h.

FLAG_LEMURIA_REACHED

#define FLAG_LEMURIA_REACHED 0x907

Set as the ship reaches Lemuria's harbour (Lemuria's entrance).

Referenced by SceneExits and scInit().

Definition at line 607 of file flags.h.

FLAG_LEMURIA_OTHER_WAY_IN

#define FLAG_LEMURIA_OTHER_WAY_IN 0x960

Set while the party last came by Lemuria's other way in: leaving Lemuria's entrance by its fifth exit, or coming into Ancient Lemuria by its entrances 1, 4 or 5; Lemuria's dock then leads there.

Referenced by scGetExits(), scLemuriaEntranceLandAtHarbor(), scLemuriaEntranceLandAtSouthQuay() and scPrepareMap().

Definition at line 611 of file flags.h.

FLAG_PIERS_BACK_ON_HIS_SHIP

#define FLAG_PIERS_BACK_ON_HIS_SHIP 0x985

Set as Piers, now in the party, comes back aboard: "At last, I'm back on my ship."; the cabin door then opens.

Referenced by LemurianShipDeckMainDeckCues, scLemurianShipDeckEnterCabin() and scLemurianShipDeckReturnToShip().

Definition at line 614 of file flags.h.

FLAG_KRADEN_WENT_TO_FIND_A_SHIP

#define FLAG_KRADEN_WENT_TO_FIND_A_SHIP 0x988

Set as Kraden, tired of waiting on the deck, goes to find a ship the party can use.

Referenced by scLemurianShipDeckKradenGoesToFindShip().

Definition at line 617 of file flags.h.

FLAG_SET_OUT_WITH_WINGS

#define FLAG_SET_OUT_WITH_WINGS 0x9b2

Set as the parties, reunited at Atteka Inlet (or Contigo), set out on the winged ship.

Referenced by AttekaInletHarborCues, AttekaInletHeightsCues, ContigoGeoglyphCues, ContigoShopsCues, ContigoVillageCues, scAttekaInletAskKradenToSetSail(), scAttekaInletKradenAsksToSetSail(), scAttekaInletSetUpTheHarbor(), scAttekaInletSetUpTheHeights(), scAttekaInletShipwrightsStopTheParty(), scContigoBabyThinks(), scContigoInitGeoglyph(), scContigoInitShops(), scContigoInitVillage(), scContigoReturnToNewHome(), scContigoTalkAboutTheShip(), scContigoTalkToArmorMerchant(), scContigoTalkToDoubtingBoy(), scContigoTalkToHealer(), scContigoTalkToInnkeeper(), scContigoTalkToItemMerchant(), scContigoTalkToWeaponMerchant() and scGetActorPlacements().

Definition at line 620 of file flags.h.

FLAG_SUSA_ASKED_ABOUT_THE_SERPENT

#define FLAG_SUSA_ASKED_ABOUT_THE_SERPENT 0x9ab

Set once the Serpent is slain, as Susa by Gaia Rock's cave mouth asks whether Felix will tell Kushinada (scGaiaRockSusaAsksAboutTheSerpent), or as the party leaves Gaia Rock for the World Map; his talk then asks again and his Mind Read is "Kushinada's safe... She's safe!".

Referenced by GaiaRockEntranceCues, scGaiaRockMindReadSusa(), scGaiaRockSusaAsksAboutTheSerpent(), scGaiaRockTalkToSusa() and scInit().

Definition at line 625 of file flags.h.

FLAG_JENNA_POINTED_TO_CONTIGO

#define FLAG_JENNA_POINTED_TO_CONTIGO 0x9b3

Set as Jenna says "They're waiting for us. Let's go to Contigo." on the World Map, once the Jupiter beacon is lit.

Referenced by scWorldMapRefuseToRunAway().

Definition at line 628 of file flags.h.

FLAG_SHIP_AT_ATTEKA_INLET

#define FLAG_SHIP_AT_ATTEKA_INLET 0x9b4

Set as the ship comes into Atteka Inlet's harbour, cleared on landing at Lemuria: while it is set the Lemurian Ship blocks retreat and its first exit leads to Atteka Inlet rather than Lemuria's dock.

Referenced by scAttekaInletSetUpTheHarbor(), SceneExits and scInit().

Definition at line 632 of file flags.h.

FLAG_SEA_OF_TIME_OPENED

#define FLAG_SEA_OF_TIME_OPENED 0x940

Set as the Sea of Time calms after Poseidon is beaten (scSeaOfTimeOpen); the way to Lemuria follows it, and Naribwe's fortune teller then sees "None in the eastern world can stand against the power you possess."

Referenced by scInit(), scNaribweRoomsFoeAhead(), scNaribweRoomsNextPath(), scNaribweRoomsReadFortune(), scSeaOfTimeOpen() and SeaOfTimeNorthPartCues.

Definition at line 636 of file flags.h.

FLAG_WORKERS_TOLD_MAYOR

#define FLAG_WORKERS_TOLD_MAYOR 0x905

Set in Eastern Alhafra once its workers have told the mayor; Naribwe's fortune teller then sends the party to the village on the eastern shore.

Referenced by scEasternAlhafraWorkersTellMayor(), SceneCues, scInit() and scNaribweRoomsNextPath().

Definition at line 639 of file flags.h.

FLAG_PIERS_AT_MOTHERS_GRAVE

#define FLAG_PIERS_AT_MOTHERS_GRAVE 0x966

Set as Piers leaves the party to visit his mother's grave (scLemuriaRoomsLeavePiersToMourn); Lemuria reads it too.

Referenced by SceneCues, scInit(), scLemuriaRoomsLeavePiersToMourn(), scLemuriaRoomsMindReadPiersUncle(), scLemuriaRoomsTalkToPiersUncle() and scLemuriaTryStuckDoor().

Definition at line 642 of file flags.h.

FLAG_MET_LUNPA

#define FLAG_MET_LUNPA 0x969

Set as Lunpa comes to meet the party at the foot of his stairs (scLemuriaRoomsMeetLunpa); Lemuria reads it too.

Referenced by SceneCues, scInit(), scLemuriaRoomsMeetLunpa() and scLemuriaTryStuckDoor().

Definition at line 645 of file flags.h.

FLAG_MET_KING_HYDROS

#define FLAG_MET_KING_HYDROS 0x96a

Set as the guard takes Felix in to King Hydros and his council; Lemuria's palace door is then locked while the senate meets.

Referenced by scAncientLemuriaHeadForTheDock(), SceneCues, scInit(), scLemuriaEnterDoor() and scLemuriaPalaceMeetKingHydros().

Definition at line 648 of file flags.h.

FLAG_SHEBA_TO_ASK_PIERS_AGE

#define FLAG_SHEBA_TO_ASK_PIERS_AGE 0x96b

Set with FLAG_MET_KING_HYDROS; Lemuria's entrance clears it when Sheba asks Piers his age.

Referenced by scInit() and scLemuriaPalaceMeetKingHydros().

Definition at line 651 of file flags.h.

FLAG_YAMPI_DESERT_ENTERED_BY_ENTRANCE

#define FLAG_YAMPI_DESERT_ENTERED_BY_ENTRANCE 0xa29

Which of its three ways in from the World Map the party last took into the Yampi Desert, by the entrance, sand slides and south exit rooms (yampi_desert.c); outside the Japanese edition, Retreat from the cave below the sand slides room leads back there.

Referenced by scInit(), scYampiDesertSetUpEntrance(), scYampiDesertSetUpSandSlides() and scYampiDesertSetUpSouthExit().

Definition at line 656 of file flags.h.

FLAG_YAMPI_DESERT_ENTERED_BY_SAND_SLIDES

#define FLAG_YAMPI_DESERT_ENTERED_BY_SAND_SLIDES 0xa2a

Referenced by scInit(), scYampiDesertSetUpEntrance(), scYampiDesertSetUpSandSlides() and scYampiDesertSetUpSouthExit().

Definition at line 657 of file flags.h.

FLAG_YAMPI_DESERT_ENTERED_BY_SOUTH_EXIT

#define FLAG_YAMPI_DESERT_ENTERED_BY_SOUTH_EXIT 0xa2b

Referenced by scInit(), scYampiDesertSetUpEntrance(), scYampiDesertSetUpSandSlides() and scYampiDesertSetUpSouthExit().

Definition at line 658 of file flags.h.

FLAG_YALLAM_NUT

#define FLAG_YALLAM_NUT 0xf60

Yallam's hidden Nut, uncovered with Cyclone.

Referenced by scYallamUncoverNut().

Definition at line 660 of file flags.h.

FLAG_YALLAM_ANTIDOTE

#define FLAG_YALLAM_ANTIDOTE 0xf62

Yallam's hidden Antidote, uncovered with Cyclone.

Referenced by scYallamUncoverAntidote().

Definition at line 662 of file flags.h.

FLAG_BANDIT_ON_WORLD_MAP

#define FLAG_BANDIT_ON_WORLD_MAP 0xa76

Set in Madra as Karst comes in (scMadraMeetKarst) once FLAG_TRANSFERRED_VAULT_WARNED_OF_ESCAPED_THIEVES (or the flag after it, which nothing sets) is; the bandit and his two thieves from Vault then wait on the World Map, and their battle clears it.

Referenced by scInit(), scMadraMeetKarst(), scWorldMapFightBanditAndThieves() and WorldMapActorPlacements.

Definition at line 667 of file flags.h.

FLAG_GOLDEN_BOOTS_ON_MAP

#define FLAG_GOLDEN_BOOTS_ON_MAP 0xa77

Set while the Golden Boots are shown on the World Map (scWorldMapShowGoldenBoots), cleared as they are picked up.

Referenced by scInit(), scWorldMapPickUpGoldenBoots() and scWorldMapShowGoldenBoots().

Definition at line 670 of file flags.h.

FLAG_SPREAD_LINES

#define FLAG_SPREAD_LINES 0xc00

Unused: nothing sets it but the debug flag editor. In the Japanese release, while it is set, every line of a message but its last is spread across the window (mnTextMeasureDecoded keeps each line's character count); clear, the count is read from what the stack held.

Definition at line 675 of file flags.h.

On this page

MacrosDescriptionMacros in detailFLAG_IN_PARTYFLAG_SUMMON_TABLETFLAG_DJINN_FIRSTFLAG_DJINNIFLAG_DJINN_HIDING_FIRSTFLAG_DJINNI_HIDINGFLAG_ARRIVAL_CLEARED_LASTFLAG_CHILDHOODFLAG_ISAAC_WEARS_TUNICFLAG_REUNIONFLAG_ENEMY_DEFEATED_FIRSTFLAG_TRANSFERRED_BY_LINKFLAG_TRANSFERRED_BY_PASSWORDFLAG_DATA_TRANSFERREDFLAG_HARD_LEVELFLAG_TRANSFERRED_DJINN_FIRSTTRANSFERRED_DJINN_PER_ELEMENTFLAG_TRANSFERRED_DODONPA_LOCKED_UPFLAG_TRANSFERRED_WON_COLOSSOFLAG_TRANSFERRED_ISAAC_SAVED_ULMUCHFLAG_TRANSFERRED_VISITED_SICK_DORAFLAG_TRANSFERRED_VAULT_WARNED_OF_ESCAPED_THIEVESTRANSFERRED_FLAG_COUNTFLAG_BROKEN_SEAL_VISITED_SICK_DORAFLAG_BROKEN_SEAL_VAULT_WARNED_OF_ESCAPED_THIEVESFLAG_BROKEN_SEAL_HSU_RESCUED_WITHOUT_PARTYFLAG_BROKEN_SEAL_CROSSBONE_ISLE_DEADBEARD_DEFEATEDFLAG_BROKEN_SEAL_DODONPA_LOCKED_UPFLAG_BROKEN_SEAL_WON_COLOSSOFLAG_SYSTEM_FIRSTFLAG_SYSTEM_LASTFLAG_SKIP_SCENE_CHANGE_SOUNDFLAG_IN_BATTLEFLAG_FIELD_HANDLING_REQUESTSFLAG_MENU_OPENFLAG_MENUS_RAISE_CUEFLAG_PSYNERGY_TINTEDFLAG_KEEP_PARTY_POSITIONFLAG_FORGE_OPENFLAG_IN_VENUS_LIGHTHOUSEFLAG_IN_MERCURY_LIGHTHOUSEFLAG_IN_MARS_LIGHTHOUSEFLAG_IN_JUPITER_LIGHTHOUSEFLAG_KEEP_MUSIC_ONCEFLAG_KEEP_MUSIC_HELDFLAG_WORLD_MAP_LEFTFLAG_LEADER_OFF_MAP_SCREENFLAG_ARRIVAL_STAIRS_UPFLAG_ARRIVAL_STAIRS_DOWNFLAG_ARRIVE_FALLINGFLAG_IN_TOWNFLAG_SHOW_AREA_NAMEFLAG_SAVE_RESTARTED_AT_SANCTUMFLAG_SAVE_RECOVERED_AT_SANCTUMFLAG_PLAY_PSYNERGY_CASTFLAG_PSYNERGY_TARGETFLAG_NOTHING_HAPPENSFLAG_ITEM_USED_UPFLAG_RETREAT_BLOCKEDFLAG_PSYNERGY_FROM_ITEMFLAG_SAND_CANNOT_ENDFLAG_SHIP_HOVERINGFLAG_PSYNERGY_TINTFLAG_MENU_START_PRESSEDFLAG_INFO_WINDOW_HOLDS_MESSAGEFLAG_PALETTE_BLEND_HELDFLAG_IGNORE_ENCOUNTER_CHECKSFLAG_NO_ENCOUNTERSFLAG_NO_ENCOUNTERS_IN_AREAFLAG_DEBUG_BATTLEFLAG_DEBUG_STEPS_OFFFLAG_WEATHER_HELDFLAG_LURE_CAPFLAG_AUTO_BATTLEFLAG_CHOOSING_COMMANDSFLAG_LINK_BATTLEFLAG_DEBUG_BATTLE_KEYSFLAG_DJINN_LESSONFLAG_DJINN_LESSON_PART_AFLAG_DJINN_LESSON_PART_BFLAG_KEEP_LAYER_GRAPHICSFLAG_LINK_BATTLE_ARRANGEDFLAG_MONSTER_BATTLEFLAG_MONSTER_BATTLE_ANY_ENEMYFLAG_ALREADY_KNOWS_DJINNFLAG_SAILINGFLAG_CANNOT_SAVE_HEREFLAG_NO_PLACE_TO_SAVEFLAG_IN_BATTLE_ARENAFLAG_FAST_WALKFLAG_SCENE_TEMP_FIRSTFLAG_SCENE_TEMPFLAG_SCENE_TEMP_LASTFLAG_AREA_TEMP_FIRSTFLAG_AREA_TEMPFLAG_AREA_TEMP_LASTFLAG_LINK_BATTLE_BROKEFLAG_LINK_PARTY_COUNTFLAG_MONSTER_BATTLE_WINSFLAG_MADRA_GATE_INSPECTEDFLAG_PIERS_INTERROGATEDFLAG_OSENIA_PASSAGE_GRANTEDFLAG_MADRA_CYCLONE_CHIP_GIVENFLAG_TRIAL_ROAD_HOLDS_EQUIPMENTFLAG_TRIAL_ROAD_STAGE_ITEM_FIRSTFLAG_TRIAL_ROAD_STAGE_ITEM_LASTFLAG_SHAMAN_VILLAGE_SAND_CLEAREDFLAG_SHAMAN_VILLAGE_MOAPA_METFLAG_SHAMAN_VILLAGE_SHAMANS_ROD_SHOWNFLAG_MOAPA_BEATENFLAG_GAROH_ASKED_ABOUT_REVEALFLAG_GAROH_SECRET_SHAREDFLAG_GAROH_NIGHTFLAG_BRIGGS_SAILED_FROM_ALHAFRAFLAG_APOJII_CAVE_FOLIAGE_FIRSTFLAG_APOJII_CAVE_FOLIAGE_BLOWNFLAG_MAYOR_ARRIVED_AT_THE_SHIPFLAG_BRIGGS_CAUGHTFLAG_FAMILY_VISITED_BRIGGSFLAG_KIBOMBO_WARRIORS_FOUNDFLAG_MENARDIS_SHIP_SEENFLAG_PIERS_SETTING_SAILFLAG_MADRA_FAREWELL_SAIDFLAG_ALHAFRA_MAST_CLEAREDFLAG_ALHAFRA_MET_ALEXFLAG_CHAMPA_MET_ALEXFLAG_ALHAFRA_MADRANS_ARRIVEDFLAG_ALHAFRA_SHIP_GONEFLAG_ALHAFRA_HEARD_OF_CROSSBONE_ISLEFLAG_ISAAC_CLEARED_CROSSBONE_ISLEFLAG_SERPENT_SLAINFLAG_IZUMO_RECOGNIZED_THE_HEROESFLAG_UZUME_HAS_THE_DOLLFLAG_TAVI_RESCUEDFLAG_GONDOWAN_CLIFFS_STUMP_IN_WATERFLAG_GONDOWAN_CLIFFS_WEEDS_BLOWNFLAG_GONDOWAN_CLIFFS_GEYSER_DUGFLAG_SHIP_CAN_SAILFLAG_GONDOWAN_CLIFFS_ROCK_GROUNDFLAG_JUPITER_LIGHTHOUSE_GATES_PILLAR_PLACEDFLAG_GABOMBA_CEREMONY_UNDER_WAYFLAG_GABOMBA_RESPONDEDFLAG_GABOMBA_CEREMONY_ENDEDFLAG_AKAFUBU_OFFERED_HELPFLAG_GABOMBA_MESSAGE_CARRIEDFLAG_KIBOMBO_PIERS_METFLAG_GABOMBA_MUSIC_SILENCEDFLAG_GABOMBA_BACK_FROM_CEREMONYFLAG_GABOMBA_RETREAT_TO_ENTRANCEFLAG_GABOMBA_RETREAT_TO_IDOLFLAG_KIBOMBO_AT_CEREMONYFLAG_SHIP_FLIESFLAG_SHIP_TOOK_OFFFLAG_JUPITER_LIGHTHOUSE_SHORTCUT_PILLAR_PLACEDFLAG_JUPITER_LIGHTHOUSE_ACTIVATEDFLAG_JUPITER_LIGHTHOUSE_LEFT_ANGEL_SHOTFLAG_JUPITER_LIGHTHOUSE_RIGHT_ANGEL_SHOTFLAG_JUPITER_LIGHTHOUSE_LID_LIFTEDFLAG_JUPITER_LIGHTHOUSE_FIGHT_WATCHEDFLAG_JUPITER_LIGHTHOUSE_ALEX_HEALED_THE_PARTYFLAG_ISAAC_AND_IVAN_FELLFLAG_JUPITER_BEACON_LITFLAG_MARS_BEACON_LITFLAG_MARS_BEACON_BURNINGFLAG_MARS_LIGHTHOUSE_THAWEDFLAG_HEARD_OF_PARENTSFLAG_CLAN_SPOKE_OF_LIGHTHOUSEFLAG_MET_PUELLEFLAG_THANKED_FOR_BEACONFLAG_REUNION_AT_CONTIGOFLAG_IDEJIMA_FELIX_WOKEFLAG_IDEJIMA_KRADEN_JOINEDFLAG_IDEJIMA_JENNA_JOINEDFLAG_IDEJIMA_SHEBA_JOINEDFLAG_IDEJIMA_ASKED_WHERE_ALEX_WENTFLAG_DAILA_ASKED_IF_BEEN_BEFOREFLAG_DAILA_MET_ALEXFLAG_DAILA_PSY_CRYSTAL_DUGFLAG_DAILA_HEALER_SENT_TO_POIFLAG_SEA_GODS_TEAR_TAKENFLAG_IZUMO_FIRST_ANTIDOTEFLAG_IZUMO_SECOND_ANTIDOTEFLAG_IZUMO_LUCKY_MEDALFLAG_JUPITER_LIGHTHOUSE_MINTFLAG_TUNDARIA_TOWER_BURST_BROOCHFLAG_CENTER_PRONG_TAKENFLAG_CLOUD_BRAND_FOUNDFLAG_DANCING_IDOL_TAKENFLAG_GABOMBA_CATACOMBS_MINT_TAKENFLAG_TOMEGATHERICON_TAKENFLAG_CONTIGO_BRAMBLE_SEED_TAKENFLAG_KALT_ISLAND_APPLE_TAKENFLAG_LEMURIA_HARD_NUT_DUGFLAG_LOHO_GOLEM_CORE_DUGFLAG_SHOP_ARTIFACTS_STOCKEDFLAG_MAD_PLANT_FIRSTFLAG_MAD_PLANTFLAG_SHIP_CARRIES_CANNONFLAG_LOHO_WALL_BREACHEDFLAG_LEMURIA_SPRING_ECLIPSE_WONFLAG_LEMURIA_REACHEDFLAG_LEMURIA_OTHER_WAY_INFLAG_PIERS_BACK_ON_HIS_SHIPFLAG_KRADEN_WENT_TO_FIND_A_SHIPFLAG_SET_OUT_WITH_WINGSFLAG_SUSA_ASKED_ABOUT_THE_SERPENTFLAG_JENNA_POINTED_TO_CONTIGOFLAG_SHIP_AT_ATTEKA_INLETFLAG_SEA_OF_TIME_OPENEDFLAG_WORKERS_TOLD_MAYORFLAG_PIERS_AT_MOTHERS_GRAVEFLAG_MET_LUNPAFLAG_MET_KING_HYDROSFLAG_SHEBA_TO_ASK_PIERS_AGEFLAG_YAMPI_DESERT_ENTERED_BY_ENTRANCEFLAG_YAMPI_DESERT_ENTERED_BY_SAND_SLIDESFLAG_YAMPI_DESERT_ENTERED_BY_SOUTH_EXITFLAG_YALLAM_NUTFLAG_YALLAM_ANTIDOTEFLAG_BANDIT_ON_WORLD_MAPFLAG_GOLDEN_BOOTS_ON_MAPFLAG_SPREAD_LINES