import { GAME , GameCache } from "../GAME" ; import { DryadGladeFlags } from "../loc/glade-flags" ; import { OutlawsFlags } from "./outlaws/outlaws-flags" ; export namespace GlobalScenes { export function VisitedRigardGates ( ) { return GAME ( ) . miranda . Met ( ) ; } export function RigardVisa ( ) { return GAME ( ) . rigard . Visa ( ) ; } export function VisitedOutlaws ( ) { return GAME ( ) . outlaws . flags . Met >= OutlawsFlags . Met . Met ; } export function MetJeanne ( ) { return GAME ( ) . jeanne . flags . Met !== 0 ; } export function DefeatedOrchid ( ) { return GAME ( ) . glade . flags . Visit >= DryadGladeFlags . Visit . DefeatedOrchid ; } export function PortalsOpen ( ) { return GameCache ( ) . flags . Portals !== 0 ; } export function MagicStage1 ( ) { return GameCache ( ) . flags . LearnedMagic !== 0 ; } export function MagicStage2 ( ) { return GameCache ( ) . flags . LearnedMagic >= 3 ; } export function TreeFarDesc ( ) { return "As always, you can see the immense tree at the center of Eden towering in the distance, though you are so far away that the great canopy isn't obscuring the sky above." ; } }