#![allow(dead_code)]
#![allow(long_running_const_eval)]
#![allow(unused_imports)]

use crate::character::Character::{self, *};
use crate::condition::Condition::{self, *};
use crate::entity::Entity;
use crate::item::Item::{self, *};
use crate::location::Location::{self, *};
use crate::save_point::SavePoint::{self, *};
use crate::script::Token::{self, *};
use crate::script::script;
use crate::snippet::Snippet::{self, *};
use crate::sound::Sound::{self, *};
use crate::style::Style::{self, *};

#[derive(Clone, Copy, Debug, Eq, PartialEq)]
#[repr(u32)]
pub enum Label {
    Label15821A,
    Label158222,
    EstafanCowMunch,
    AshaPrays,
    PepelogooHasGrown,
    ItemObtained,
    ItemFound,
    RapadagnaCastleEntranceGuard,
    Label1583DB,
    Label1583F1,
    Label158422,
    Label15843F,
    RapadagnaCastleAccolade,
    RapadagnaCastleAccoladeSwear,
    EstafanVillageTitleCard,
    AshaCanPressSwitches,
    Label1586E3,
    IcePyramid2TitleCard,
    IcePyramid3TitleCard,
    Label15879E,
    Label1587CA,
    Label1587FE,
    Label15881F,
    Label15885A,
    Label1588A5,
    Label1588B2,
    AttentionAdventurers1,
    AttentionAdventurers2,
    Label158918,
    Label158925,
    GiantRock,
    Label158951,
    CanTurnWithShieldOut,
    Label1589AE,
    DoorLocked,
    Label1589F1,
    PromptBuyQuit,
    Label158A91,
    Label158AB0,
    Label158AFD,
    Label158B29,
    Label158B59,
    Label158B76,
    Label158BA5,
    Label158CB2,
    Label158CCC,
    PromptYesNo1,
    Label158CFC,
    Label158D28,
    Label158D45,
    Label158E27,
    Label158E3D,
    Label158E65,
    Label158EB0,
    Label158F19,
    Label158F4D,
    Label158F84,
    Label15900C,
    Label15903D,
    Label159082,
    Sphinx,
    SphinxDone,
    Label159295,
    Label159373,
    Sphinx3,
    SphinxStartQuizz,
    Label1594B7,
    Label1594F2,
    SphinxRiddle01,
    SphinxRiddle02,
    SphinxRiddle03,
    SphinxRiddle04,
    SphinxRiddle05,
    SphinxRiddle06,
    SphinxRiddle07,
    SphinxRiddle08,
    Label1596B6,
    SphinxRiddle09,
    SphinxRiddle10,
    SphinxRiddle11,
    SphinxRiddle12,
    Label159758,
    SphinxRiddle13,
    SphinxRiddle14,
    SphinxRiddle15,
    SphinxRiddle16,
    SphinxRiddle17,
    SphinxRiddle18,
    Label159838,
    SphinxRiddle19,
    SphinxRiddle20,
    Label15988C,
    Label159899,
    AttentionAdventurers3,
    AttentionAdventurers4,
    Label1598E1,
    Label1598E2,
    Label159932,
    Label15994A,
    Label159961,
    Label15998E,
    Label1599C8,
    Label1599F3,
    Label159A56,
    Label159A70,
    Label159AA4,
    Label159AE9,
    Label159B17,
    Label159B50,
    Label159B8C,
    Label159BC8,
    Label159BF6,
    Label159C10,
    Label159C3F,
    Label159C9D,
    Label159CB7,
    Label159CC4,
    Label159CC5,
    Label159CD2,
    Label159CD3,
    Label159CE0,
    Label159CE1,
    Label159CEE,
    Label159CEF,
    Label159CFC,
    Label159CFD,
    Label159D0A,
    Label159D0B,
    Label159D18,
    Label159D19,
    Label159D26,
    Label159D27,
    Label159D3A,
    Label159D4D,
    Label159D56,
    RapadagnaCityTitleCard,
    HanderaVolcanoTitleCard,
    StreamSanctuaryTitleCard,
    IcePyramid1TitleCard,
    SkyCastleTitleCard,
    PromptYesNo2,
    EarthGateUnlocked,
    MoonGateUnlocked,
    SunGateUnlocked,
    WindGateUnlocked,
    EarthGateLocked,
    MoonGateLocked,
    SunGateLocked,
    WindGateLocked,
    GateLockedAgain,
    FoundBigHeart,
    FoundHealingMedecine,
    EstafanAshaFatherCallsAsha,
    TowerOfSilenceTitleCard,
    UndergroundFortTitleCard,
    Label15A001,
    Label15A05E,
    Label15A07F,
    Label15A0D4,
    Label15A10B,
    Label15A154,
    Label15A165,
    Label15A189,
    Label15A1DE,
    Label15A21B,
    Label15A21C,
    Label15A2BE,
    Label15A35A,
    Label15A3A2,
    Label15A4C8,
    Label15A4DC,
    Label15A521,
    Label15A55A,
    Label15A5E7,
    Label15A612,
    HeardVoices1,
    HeardVoices2,
    HeardVoices3,
    HeardVoices4,
    Label15A66D,
    Label15A711,
    EstafanAshaMother1,
    EstafanAshaMother2,
    Label15A88F,
    Label15A962,
    Label15A977,
    Label15A9A8,
    Label15A9FB,
    Label15AA25,
    Label15AA8A,
    Label15AABB,
    Label15AAD2,
    Label15AAFF,
    Label15AB3E,
    Label15AB69,
    Label15AD21,
    Label15AD2B,
    Label15AD5B,
    Label15AFD3,
    Label15AFEB,
    Label15B057,
    Label15B0C9,
    Label15B11A,
    Label15B151,
    Label15B1A8,
    Label15B1B8,
    Label15B215,
    Label15B2AB,
    Label15B2F7,
    Label15B312,
    Label15B353,
    Label15B476,
    Label15B492,
    Label15B568,
    Label15B57E,
    Label15B5C7,
    Label15B5E4,
    Label15B614,
    Label15B62D,
    Label15B64F,
    ItemAshaSword,
    ItemKhanSword,
    ItemShahSword,
    ItemCyrusSword,
    ItemCaliphSword,
    ItemIshtarSword,
    ItemSwordOfBabel,
    ItemLegendarySword,
    ItemPlainShield,
    ItemFlameShield,
    ItemThunderShield,
    ItemIceShield,
    ItemSteelShield,
    ItemRainbowShield,
    ItemMagicShield,
    ItemLegendShield,
    ItemTravelerArmor,
    ItemWarriorArmor,
    ItemKnightArmor,
    ItemHeroArmor,
    ItemLegendaryArmor,
    Label15B6EB,
    ItemDebugArmor,
    Label15B701,
    Label15B719,
    Label15B787,
    Label15B7D4,
    Label15B84D,
    Label15B8D0,
    Label15B8D3,
    Label15B8E3,
    Label15B8F3,
    Label15B8FF,
    Label15B918,
    Label15B946,
    Label15B968,
    Label15B97A,
    Label15B985,
    Label15B986,
    Label15B9D0,
    Label15BAC0,
    Label15BB1D,
    Label15BBC3,
    Label15BCCC,
    Label15BCEE,
    Label15BD3B,
    Label15BD62,
    Label15BD7F,
    SavedWindSpirit,
    Label15BDDB,
    SavedMoonSpirit,
    SavedSunSpirit,
    Label15C114,
    SavedEarthSpirit,
    SaveSpiritEnd,
    Label15C38D,
    Label15C3ED,
    Label15C4FB,
    Label15C524,
    Label15C552,
    Label15C584,
    Label15C5CF,
    Label15C606,
    Label15C677,
    Label15C6D3,
    Label15C725,
    Label15C76C,
    Label15C7B5,
    Label15C7E9,
    Label15C7FF,
    Label15C87D,
    Label15C8DA,
    Label15C931,
    Label15CA69,
    Label15CA73,
    Label15CABE,
    Label15CAE7,
    Label15CAE8,
    Label15CB7C,
    Label15CB98,
    Label15CB99,
    Label15CC88,
    Label15CCA8,
    Label15CCA9,
    Label15CD19,
    Label15CD1A,
    Label15CD91,
    Label15CDB8,
    Label15CDB9,
    Label15CEE5,
    Label15CF15,
    Label15CF16,
    Label15CFB9,
    Label15CFBA,
    Label15D046,
    Label15D05F,
    Label15D093,
    Label15D0E5,
    Label15D118,
    Label15D16B,
    Label15D1DA,
    Label15D1DD,
    Label15D2AE,
    Label15D2E4,
    Label15D36B,
    Label15D3BE,
    Label15D406,
    Label15D4AB,
    Label15D4D9,
    Label15D526,
    Label15D55E,
    Label15D5B9,
    Label15D605,
    Label15D633,
    Label15D6E5,
    Label15D6FB,
    Label15D722,
    Label15D7BA,
    Label15D7DC,
    Label15D87E,
    Label15D8CC,
    Label15D97D,
    Label15DA14,
    Label15DB05,
    Label15DB2A,
    Label15DB79,
    Label15DBC8,
    Label15DBD2,
    Label15DC61,
    Label15DCA9,
    Label15DCCB,
    Label15DD02,
    Label15DDAB,
    Label15DDCB,
    Label15DE8F,
    Label15DEB6,
    Label15DFBD,
    Label15DFD5,
    Label15E016,
    Label15E052,
    Label15E079,
    Label15E0B5,
    Label15E10C,
    Label15E17E,
    Label15E1B2,
    Label15E270,
    Label15E293,
    Label15E30B,
    Label15E370,
    Label15E3CA,
    Label15E3FB,
    Label15E432,
    Label15E460,
    Label15E4A5,
    Label15E4CD,
    Label15E4E8,
    Label15E506,
    Label15E517,
    Label15E524,
    Label15E556,
    Label15E583,
    Label15E5AC,
    Label15E5C5,
    Label15E630,
    Label15E6AC,
    Label15E708,
    Label15E80E,
    Label15E83F,
    Label15E8F4,
    Label15E925,
    Label15E94A,
    Label15E9B5,
    Label15EA53,
    Label15EA7F,
    Label15EB44,
    Label15EB93,
    Label15EC65,
    Label15ECC7,
    Label15ED40,
    Label15ED68,
    Label15EE9F,
    Label15EEA8,
    Label15EF22,
    Label15EF92,
    Label15EFC9,
    Label15EFED,
    Label15F116,
    Label15F254,
    Label15F35B,
    Label15F48D,
    Label15F49E,
    Label15F51B,
    Label15F52E,
    Label15F592,
    Label15F5C7,
    Label15F5EB,
    Label15F61C,
    Label15F672,
    Label15F6A2,
    Label15F740,
    Label15F807,
    Label15F87E,
    Label15F8C3,
    Label15F8FC,
    Label15FAF1,
    Label15FB57,
    Label15FBF4,
    Label15FC20,
    Label15FC3B,
    Label15FC97,
    Label15FD95,
    Label15FE5E,
    Label15FE7E,
    Label15FEC7,
    Label15FEF1,
    Label15FF3D,
    Label15FF81,
    Label15FFB1,
    Label160085,
    Label160143,
    Label160170,
    Label16019E,
    Label1601E5,
    Label160209,
    Label160239,
    MagicMerchant,
    Label160459,
    Label160634,
    Label16068C,
    Label160698,
    Label1606C4,
    Label16070E,
    Label16075D,
    Label16082A,
    Label1608FD,
    Label16099C,
    Label1609F9,
    Label160B55,
    Label160BB2,
    Label160BE5,
    Label160CC9,
    Label160D01,
    Label160D32,
    Label160DDB,
    Label160E04,
    Label160EC9,
    Label160EE1,
    Label160EFC,
    Label160F10,
    Label160F6E,
    Label160FAB,
    Label160FF2,
    Label161002,
    Label161053,
    Label1611B2,
    Label1611CC,
    Label1611F3,
    Label161207,
    Label161325,
    Label161362,
    Label1613D4,
    Label161420,
    Label161552,
    Label16157A,
    Label1615A8,
    Label1615CD,
    Label1615F4,
    Label161609,
    Label16161E,
    Label161636,
    Label161664,
    Label161687,
    Label1616AD,
    Label16173F,
    Label161770,
    Label1617D5,
    Label1617F4,
    Label16180B,
    Label161859,
    Label1618A4,
    Label1618C0,
    Label1618EB,
    Label16190F,
    Label161945,
    Label16195E,
    Label16196C,
    Label161986,
    Label161998,
    Label1619AC,
    Label161A8B,
    Label161ADC,
    Label161C36,
    Label161CC7,
    Label161D1B,
}

use self::Label::*;

const fn find_label(script: &'static [Token<Label>], label: Label) -> usize {
    let mut i = 0;
    while i < script.len() {
        match script[i] {
            Token::Label(l) if l as u8 == label as u8 => return i,
            _ => i += 1,
        };
    }
    unreachable!();
}

pub fn dialog_for_label(index: usize) -> &'static [Token<'static, Label>] {
    &SCRIPTS[INDEXED[index]..]
}

pub fn dialog(index: usize) -> &'static [Token<'static, Label>] {
    &SCRIPTS[INDEXED[index]..]
}

const SCRIPTS: &[Token<Label>] = script![

Label(Label15821A)
    "Hello." More End

Label(Label158222)
    "The sanctuary entrance" NewLine
    "lies before you." More NewLine
    "Gather your courage and" NewLine
    "leap into the water." More End

Label(EstafanCowMunch)
    "*munch* *munch*" More End

Label(AshaPrays)
    Character(Asha) " offers a" NewLine
    "prayer to the gods." Wait(30) End

Label(PepelogooHasGrown)
    ToggleCanSpeedUp "This is amazing!" Wait(30) NewLine
    Character(Pepelogoo) " has grown!" Wait(60) End

Label(ItemObtained)
    ToggleCanSpeedUp PushItem NewLine
    "obtained!" More End

Label(ItemFound)
    ToggleCanSpeedUp PushItem NewLine
    "found!" More NewLine
    "But your inventory is" NewLine
    "already full." More End

Label(RapadagnaCastleEntranceGuard)
    SeekIfFalse(AllowedInRapadagnaCastle, Label1583DB)
    "Yes?" Wait(60) " You want to meet" NewLine
    "the Queen?" NewLine
    Prompt(Condition0027) JumpIfNo(Label1583F1) SetTrue(AllowedInRapadagnaCastle)
    "Hmm..." Wait(60) NewLine
    "You've come here seeking" NewLine
    "the title of Warrior?" More NewLine
    "I see. You're very brave" NewLine
    "for a young lady." More NewLine
    "The Queen will surely be" NewLine
    "surprised, too." More NewLine

Label(Label1583DB)
    "Please, go right in." More End

Label(Label1583F1)
    "Don't wander around if" NewLine
    "you've no business here!" More End

Label(Label158422)
    SeekIfFalse(Condition03E9, Label15843F)
    "Welcome to the palace." More End

Label(Label15843F)
    "Welcome to the palace--" More NewLine
    "Aren't you tired of" NewLine
    "hearing the same thing?" More Clear
    "Ha ha ha, just kidding." More NewLine
    "You're truly welcome" NewLine
    "here, Lady " Character(Asha) "." More End

Label(RapadagnaCastleAccolade)
    AnimateAsha(0, 68, 0) Wait(30) "Welcome to " Location(Rapadagna) "," NewLine
    "the Oasis in the Desert." More NewLine
    "The people of " Location(Rapadagna) NewLine
    "bid you welcome." More NewLine
    "Now, to bestow upon you" NewLine
    "the title of Warrior." More Clear
    PauseSound AnimateAsha(0, 64, 0) Wait(30) "To become a warrior," More Clear
    "you must swear to" More Clear
    "always act bravely," More Clear
    "and fight to protect" More Clear
    "all peace-loving people" More Clear
    "at the peril of your" More Clear
    "own life." More
Label(RapadagnaCastleAccoladeSwear)
    Clear
    Wait(30) "Do you so swear?" Prompt(Condition0027) JumpIfNo(RapadagnaCastleAccoladeSwear) Clear
    "I hereby grant you" NewLine
    "the title of Warrior." PlaySound(Jingle1) Wait(120) More Clear
    "Congratulations." More NewLine
    ResumeSound AnimateAsha(0, 66, 0) Wait(30) "It was truly a pleasure" NewLine
    "to meet such a brave" More NewLine
    "young lady." More NewLine
    "I look forward to" NewLine
    "your continued success." More End

Label(EstafanVillageTitleCard)
    ScrollOut(0, 0)
    Location(Estafan) " Village" End

Label(AshaCanPressSwitches)
    Character(Asha) " can also" NewLine
    "press switches." More End

Label(Label1586E3)
    "Oh ho ho ho!" More NewLine
    "Still playing adventurer" NewLine
    "are we?" More NewLine
    "Forget about what I" NewLine
    "asked you before." More Clear
    "I don't care any more." More NewLine
    "From now on, let's just" NewLine
    "enjoy ourselves." More Clear
    "Oh ho ho ho!" More End

Label(IcePyramid2TitleCard)
    ScrollOut(0, 0)
    Location(IcePyramid) " 2" End

Label(IcePyramid3TitleCard)
    ScrollOut(0, 0)
    Location(IcePyramid) " 3" End

Label(Label15879E)
    "Warning! Don't put" NewLine
    "anything into the hole." More End

Label(Label1587CA)
    ToggleCanSpeedUp "Heh heh heh..." Wait(60) NewLine
    "Will you" NewLine
    "proceed?" ToggleCanSpeedUp Prompt(Condition0027) JumpIfNo(Label1587FE) SetTrue(Condition0000)
    End

Label(Label1587FE)
    ToggleCanSpeedUp Clear
    "Heh heh heh..." NewLine
    "What a pity." More End

Label(Label15881F)
    ToggleCanSpeedUp "Heh heh heh..." Wait(60) NewLine
    "Think you'll" NewLine
    "defeat me?" NewLine
    ToggleCanSpeedUp Prompt(Condition0027) JumpIfNo(Label1587FE) SetTrue(Condition0001)
    End

Label(Label15885A)
    ToggleCanSpeedUp "Heh heh heh..." Wait(60) NewLine
    "Such confidence." More NewLine
    "Very well, then." NewLine
    "Prove yourself!" More SetTrue(Condition0184)
    End

Label(Label1588A5)
    Snippet(IncantRedSpell) SeekIfFalse(Condition0007, Label1588B2)
    UnknownCommand18(161, 168)
Label(Label1588B2)
    End

Label(AttentionAdventurers1)
    PauseSound ToggleCanSpeedUp "Attention adventurers:" NewLine
    Speed(8) Style(RedOnBlack) "🌝 🪿 🪲 🪿 " More NewLine
    "Ａ Ｂ Ｃ Ｂ " Speed(4) More ResumeSound End

Label(AttentionAdventurers2)
    PauseSound ToggleCanSpeedUp "Attention adventu..." NewLine
    Speed(8) Style(BlueOnBlack) "🪿 🌝 🌚 ..." Speed(4) More ResumeSound End

Label(Label158918)
    Snippet(IncantBlueSpell) SeekIfFalse(Condition0007, Label158925)
    UnknownCommand18(162, 167)
Label(Label158925)
    End

Label(GiantRock)
    "A gigantic rock is" NewLine
    "blocking the entrance." More End

Label(Label158951)
    "Magic damage occurs" NewLine
    "once in five attacks." More End

Label(CanTurnWithShieldOut)
    "You can turn left/right" NewLine
    "while using your shield." More End

Label(Label1589AE)
    "Don't throw anything in" NewLine
    "without good reason." More End

Label(DoorLocked)
    "The door is locked." More End

Label(Label1589F1)
    "Oh, you came to see the" NewLine
    "Pepe Tree, too, eh?" More NewLine
    "It appears it has not" NewLine
    "yet borne Pepe Fruit." More NewLine
    "It bears only a few" NewLine
    "pieces each year." More End

Label(PromptBuyQuit)
    ScrollOut(16, 0)
    PromptStyle([WhiteOnBlue, WhiteOnBlack]) "  Buy  " ScrollOut(16, 1)
    PromptStyle([WhiteOnBlack, WhiteOnBlue]) "  Quit " End

Label(Label158A91)
    Snippet(Unknown01) ToggleCanSpeedUp "Are the Spirits sealed?" Wait(90) End

Label(Label158AB0)
    Snippet(Unknown01) ToggleCanSpeedUp "Yes, my lord." Wait(30) NewLine
    "Now monsters throughout" NewLine
    "the land will run amok." Wait(120) Clear
    Wait(60) End

Label(Label158AFD)
    Snippet(Unknown01) ToggleCanSpeedUp "Heh heh heh." Wait(40) NewLine
    "And my minions?" Wait(120) Clear
    Wait(60) End

Label(Label158B29)
    Snippet(Unknown01) ToggleCanSpeedUp "They have already" NewLine
    "slipped into the city." Wait(120) End

Label(Label158B59)
    Snippet(Unknown01) ToggleCanSpeedUp "So far, so good." Wait(120) Clear
    Wait(45) End

Label(Label158B76)
    Snippet(Unknown01) ToggleCanSpeedUp "Heh heh heh..." Wait(30) NewLine
    Speed(4) "Mwa ha ha ha ha ha ha!" End

Label(Label158BA5)
    "Ho ho ho!" Wait(30) NewLine
    SeekIfFalse(Condition0132, Label158CB2)
    SeekIfFalse(Condition012E, Label158CB2)
    SetTrue(Condition012E)
    "Great work so far!" More NewLine
    "This is the kingdom's" NewLine
    "capital, " Location(Rapadagna) "." More NewLine
    "That lamp you obtained" NewLine
    "in the Tower of Silence" More NewLine
    "will prove that you" NewLine
    "deserve to be a warrior." More NewLine
    "Now, go before the Queen" NewLine
    "with great pride." More NewLine
    "The palace is close by." NewLine
    More NewLine
    "Oh, and by the way..." More NewLine

Label(Label158CB2)
    "Want to save?" NewLine
    Prompt(Condition0027) JumpIfNo(Label158CCC) Save(SavePoint31)

Label(Label158CCC)
    Clear
    "Ho ho ho." Wait(30) End

Label(PromptYesNo1)
    ScrollOut(16, 0)
    PromptStyle([WhiteOnBlue, WhiteOnBlack]) "  Yes   " ScrollOut(16, 1)
    PromptStyle([WhiteOnBlack, WhiteOnBlue]) "  No    " End

Label(Label158CFC)
    "There is a hint behind" NewLine
    "one of the pillars." More End

Label(Label158D28)
    SeekIfFalse(Condition0165, Label158D45)
    "Give... me... water..." More End

Label(Label158D45)
    "Phew," More NewLine
    "I feel like a new man." More NewLine
    "Thank you for" NewLine
    "saving my neck." More NewLine
    "In return, I'll tell you" NewLine
    "about the secret door." More NewLine
    "Listen to me carefully." More Clear
    "Go back to the stairs," More NewLine
    "and extinguish only" NewLine
    "the 2nd and 4th flames." More Clear
    "Good luck to you." More End

Label(Label158E27)
    "Fire blocks the way." More End

Label(Label158E3D)
    "You can fill a bucket" NewLine
    "with water here." More End

Label(Label158E65)
    "Call " Character(Pepelogoo) " if" NewLine
    "you fall into the water." More NewLine
    "Hold Up underwater" NewLine
    "to slow yourself." More End

Label(Label158EB0)
    "Ho ho ho." NewLine
    "Answer me this..." More NewLine
    "That object you just" NewLine
    "threw in... Was that..." More NewLine
    "A silver bucket?" More NewLine
    Prompt(Condition0027) JumpIfNo(Label158F19) Seek(Label15900C)

Label(Label158F19)
    NewLine
    "All right, then was it" NewLine
    "a gold bucket?" More NewLine
    Prompt(Condition0027) JumpIfNo(Label158F4D) Seek(Label15900C)

Label(Label158F4D)
    NewLine
    "It wasn't the Bucket of" NewLine
    "Legend, was it?!" More NewLine
    Prompt(Condition0027) JumpIfNo(Label158F84) Seek(Label15900C)

Label(Label158F84)
    NewLine
    "Well, you seem to be" NewLine
    "pure at heart." More NewLine
    "You may be able to save" NewLine
    "the Moon Spirit." More NewLine
    "Now, prepare for battle" NewLine
    "and dive into this well." More NewLine
    PlaySound(Jungle5) SetTrue(Condition0168)
    End

Label(Label15900C)
    "Don't lie to me. Now," NewLine
    "let's try that again!" More NewLine
    NewLine
    Seek(Label158EB0)

Label(Label15903D)
    "Ho ho ho! Well done," NewLine
    "making it this far." More NewLine
    NewLine
    "Want to save?" NewLine
    Prompt(Condition0027) JumpIfNo(Label159082) Save(SavePoint0B)

Label(Label159082)
    Clear
    "Okay, but I hope you" NewLine
    "don't regret this later." More End

Label(Sphinx)
    SeekIfFalse(Condition010D, Label159373)
    SeekIfFalse(Condition01CA, Label1594B7)
    SeekIfFalse(Condition0195, Sphinx3)
    SeekIfFalse(Condition0194, Label159295)
    SeekIfFalse(Condition013F, SphinxDone)
    SetTrue(Condition013F)
    PauseSound "Hail, brave child." Wait(30) NewLine
    "I have eagerly awaited" NewLine
    "your coming." More NewLine
    "The sun is gone and snow" NewLine
    "falls upon the desert." More NewLine
    "So it has been since the" NewLine
    "spirit was locked away." More NewLine
    "Brave child, you must" Wait(30) NewLine
    "rescue the Sun Spirit." More NewLine
    "Restore the Sun unto" NewLine
    "this land." More NewLine
    "This, the 3rd door, will" More NewLine
    "be unlocked once you" NewLine
    "clear the two dungeons." More NewLine
    "And your knowledge shall" NewLine
    "be tested at that time." More NewLine
    "I unlocked the 1st door." NewLine
    More Clear
    "Visit me again after you" NewLine
    "clear the 1st dungeon." More NewLine
    SetTrue(Condition0002)
    ResumeSound End

Label(SphinxDone)
    "..." Wait(60) End

Label(Label159295)
    SeekIfFalse(Condition0140, SphinxDone)
    SetTrue(Condition0140)
    PauseSound "So, we meet again." More NewLine
    "The next dungeon is far" Wait(30) NewLine
    "more difficult." More NewLine
    "Do not rely on your eyes" NewLine
    "alone." More NewLine
    "There are things that" NewLine
    "even they cannot see." More NewLine
    Clear
    "I unlocked the 2nd door." Wait(30) More NewLine
    "Restore the Sun unto" NewLine
    "this land." More NewLine
    SetTrue(Condition0002)
    ResumeSound End

Label(Label159373)
    "My brave child..." Wait(30) NewLine
    "I give you thanks." More NewLine
    "May knowledge always be" NewLine
    "with you." More NewLine
    "Fare thee well." More End

Label(Sphinx3)
    PauseSound SeekIfFalse(Condition0005, Label1594F2)
    "So, the warrior returns." Wait(30) NewLine
    "I've been waiting." More NewLine
    "Before unlocking the 3rd" Wait(30) NewLine
    "door, I shall first test" NewLine
    "your knowledge." More NewLine
    "Now, then, let the test" NewLine
    "begin." More Clear

Label(SphinxStartQuizz)
    "Ready..." Wait(30) " here goes!" Wait(60) StartQuizz(11796644) Clear
    "Excellent!" More NewLine
    "You may pass." Wait(60) SetTrue(Condition01CA)
    UnknownCommand18(10, 204) ResumeSound End

Label(Label1594B7)
    PauseSound "May knowledge always be" NewLine
    "with you." More NewLine
    "Good luck." Wait(60) UnknownCommand18(10, 204) ResumeSound End

Label(Label1594F2)
    "Well..." Wait(30) NewLine
    "It seems you are fresh-" NewLine
    "faced and ready now." More Clear
    Seek(SphinxStartQuizz)

Label(SphinxRiddle01)
    Clear
    "Does the " NewLine
    Character(Pepelogoo) " have" NewLine
    "6 whiskers?" CorrectAnswer(0) End

Label(SphinxRiddle02)
    Clear
    "Is the " NewLine
    Character(Pepelogoo) "'s" NewLine
    "egg blue?" CorrectAnswer(1) End

Label(SphinxRiddle03)
    Clear
    "Does the " NewLine
    "sun rise in" NewLine
    "the west?" CorrectAnswer(1) End

Label(SphinxRiddle04)
    Clear
    "Does a pyramid look" NewLine
    "triangular when" NewLine
    "viewed from" NewLine
    "above?" CorrectAnswer(1) End

Label(SphinxRiddle05)
    Clear
    "Is Pepe Fruit" NewLine
    "red?" CorrectAnswer(0) End

Label(SphinxRiddle06)
    Clear
    "Does the Queen" NewLine
    "like Hoyoyo" NewLine
    "Salad?" CorrectAnswer(1) End

Label(SphinxRiddle07)
    Clear
    "Are there three" NewLine
    "save pots?" CorrectAnswer(1) End

Label(SphinxRiddle08)
    Clear
    "Have you ever" NewLine
    "bought the" NewLine
    Item(ThunderShield) "?" SeekIfOwned(ThunderShield, Label1596B6)
    CorrectAnswer(1) End

Label(Label1596B6)
    CorrectAnswer(0) End

Label(SphinxRiddle09)
    Clear
    "The opposite of" NewLine
    "front is front?" CorrectAnswer(1) End

Label(SphinxRiddle10)
    Clear
    "Was " Item(AshaSword) NewLine
    "given to you" NewLine
    "by your mother?" CorrectAnswer(1) End

Label(SphinxRiddle11)
    Clear
    "Is the" NewLine
    "Lamp Spirit" NewLine
    "a hard worker?" CorrectAnswer(1) End

Label(SphinxRiddle12)
    Clear
    "Do you have a " NewLine
    Item(GoldBar) NewLine
    "with you now?" SeekIfOwned(GoldBar, Label159758)
    CorrectAnswer(1) End

Label(Label159758)
    CorrectAnswer(0) End

Label(SphinxRiddle13)
    Clear
    "Did your mother give" NewLine
    Item(HealingMedicine) NewLine
    "to you?" CorrectAnswer(0) End

Label(SphinxRiddle14)
    Clear
    "When snow melts," NewLine
    "does it become" NewLine
    "water?" CorrectAnswer(0) End

Label(SphinxRiddle15)
    Clear
    "Is the Lamp" NewLine
    "Spirit fat?" CorrectAnswer(0) End

Label(SphinxRiddle16)
    Clear
    "Does the" NewLine
    "Sage of Save" NewLine
    "have a staff?" CorrectAnswer(0) End

Label(SphinxRiddle17)
    Clear
    "Do palace" NewLine
    "soldiers have" NewLine
    "swords?" CorrectAnswer(0) End

Label(SphinxRiddle18)
    Clear
    "Do you have" NewLine
    Item(HealingMedicine) NewLine
    "on you?" SeekIfOwned(HealingMedicine, Label159838)
    CorrectAnswer(1) End

Label(Label159838)
    CorrectAnswer(0) End

Label(SphinxRiddle19)
    Clear
    "Does the" NewLine
    "Queen wear a" NewLine
    "gold bracelet?" CorrectAnswer(1) End

Label(SphinxRiddle20)
    Clear
    "Is the" NewLine
    "Sun bigger than" NewLine
    "the Moon?" CorrectAnswer(0) End

Label(Label15988C)
    Snippet(IncantWhiteSpell) SeekIfFalse(Condition0007, Label159899)
    UnknownCommand18(164, 170)
Label(Label159899)
    End

Label(AttentionAdventurers3)
    PauseSound ToggleCanSpeedUp "Attention adventurers:" NewLine
    Speed(8) "Dark is opposite light." Speed(4) More ResumeSound End

Label(AttentionAdventurers4)
    Snippet(IncantBlackSpell) SeekIfFalse(Condition0007, Label1598E1)
    UnknownCommand18(165, 171)
Label(Label1598E1)
    End

Label(Label1598E2)
    PauseSound ToggleCanSpeedUp "Attention adventurers:" NewLine
    Speed(8) "You need four 🪲 ..." More NewLine
    "You figure out the rest." Speed(4) More ResumeSound End

Label(Label159932)
    SetTrue(Condition0004)
    SetTrue(Condition0005)
    "Watch the right!" More End

Label(Label15994A)
    SetTrue(Condition0004)
    SetTrue(Condition0005)
    "Watch the left!" More End

Label(Label159961)
    PauseSound ToggleCanSpeedUp Speed(8) "Swallow is between" NewLine
    "Witch and Owl." Speed(4) More ResumeSound End

Label(Label15998E)
    PauseSound ToggleCanSpeedUp Speed(8) "Turtle and Witch don't" NewLine
    "lie next to each other." Speed(4) More ResumeSound End

Label(Label1599C8)
    PauseSound ToggleCanSpeedUp Speed(8) "Owl is to the right of" NewLine
    "Leopard." Speed(4) More ResumeSound End

Label(Label1599F3)
    "Ho ho ho." More NewLine
    SeekIfFalse(Condition0000, Label159A56)
    SetTrue(Condition0000)
    "Have you found the" NewLine
    "invisible door?" More NewLine
    Character(Pepelogoo) " has" NewLine
    "a good nose." More NewLine
    "Oh, and by the way..." More NewLine

Label(Label159A56)
    "Want to save?" NewLine
    Prompt(Condition0027) JumpIfNo(Label159082) Save(SavePointCE)

Label(Label159A70)
    PauseSound ToggleCanSpeedUp Speed(8) "When one's end is" NewLine
    "another's beginning..." Speed(4) More ResumeSound End

Label(Label159AA4)
    "Ho ho ho! Well done," NewLine
    "making it this far." More NewLine
    NewLine
    "Want to save?" NewLine
    Prompt(Condition0027) JumpIfNo(Label159082) Save(SavePointCB)

Label(Label159AE9)
    "The three stone statues" NewLine
    "will give you hints." More End

Label(Label159B17)
    "Be careful." More NewLine
    "One of the three statues" NewLine
    "is telling a lie!" More End

Label(Label159B50)
    PauseSound ToggleCanSpeedUp Speed(8) "Leopard is rightmost." NewLine
    "Witch is second" NewLine
    "from left." Speed(4) More ResumeSound End

Label(Label159B8C)
    PauseSound ToggleCanSpeedUp Speed(8) "Swallow is leftmost." NewLine
    "Turtle is second" NewLine
    "from left." Speed(4) More ResumeSound End

Label(Label159BC8)
    PauseSound ToggleCanSpeedUp Speed(8) "Turtle is middle." NewLine
    "Owl is leftmost." Speed(4) More ResumeSound End

Label(Label159BF6)
    SetTrue(Condition0004)
    SetTrue(Condition0005)
    "Coming from above!" More End

Label(Label159C10)
    PauseSound ToggleCanSpeedUp Speed(8) "Look at the statue" NewLine
    "names carefully." Speed(4) More ResumeSound End

Label(Label159C3F)
    "Ho ho ho." More NewLine
    SeekIfFalse(Condition0001, Label159C9D)
    SetTrue(Condition0001)
    "Well done making it this" NewLine
    "far. The boss lies near." More NewLine
    NewLine
    "Oh, and by the way..." More NewLine

Label(Label159C9D)
    "Want to save?" NewLine
    Prompt(Condition0027) JumpIfNo(Label159082) Save(SavePointCF)

Label(Label159CB7)
    Snippet(IncantRedSpell) SeekIfFalse(Condition0007, Label159CC4)
    UnknownCommand18(157, 166)
Label(Label159CC4)
    End

Label(Label159CC5)
    Snippet(IncantRedSpell) SeekIfFalse(Condition0007, Label159CD2)
    UnknownCommand18(166, 157)
Label(Label159CD2)
    End

Label(Label159CD3)
    Snippet(IncantRedSpell) SeekIfFalse(Condition0007, Label159CE0)
    UnknownCommand18(168, 161)
Label(Label159CE0)
    End

Label(Label159CE1)
    Snippet(IncantBlueSpell) SeekIfFalse(Condition0007, Label159CEE)
    UnknownCommand18(169, 163)
Label(Label159CEE)
    End

Label(Label159CEF)
    Snippet(IncantBlueSpell) SeekIfFalse(Condition0007, Label159CFC)
    UnknownCommand18(163, 169)
Label(Label159CFC)
    End

Label(Label159CFD)
    Snippet(IncantBlueSpell) SeekIfFalse(Condition0007, Label159D0A)
    UnknownCommand18(167, 162)
Label(Label159D0A)
    End

Label(Label159D0B)
    Snippet(IncantWhiteSpell) SeekIfFalse(Condition0007, Label159D18)
    UnknownCommand18(170, 164)
Label(Label159D18)
    End

Label(Label159D19)
    Snippet(IncantBlackSpell) SeekIfFalse(Condition0007, Label159D26)
    UnknownCommand18(171, 165)
Label(Label159D26)
    End

Label(Label159D27)
    "Select a save pot." End

Label(Label159D3A)
    "Select a save pot." End

Label(Label159D4D)
    ScrollOut(6, 0)
    "Quit" End

Label(Label159D56)
    ScrollOut(5, 0)
    "Empty" End

Label(RapadagnaCityTitleCard)
    ScrollOut(1, 0)
    Location(Rapadagna) " City" End

Label(HanderaVolcanoTitleCard)
    ScrollOut(0, 0)
    Location(HanderaVolcano) End

Label(StreamSanctuaryTitleCard)
    ScrollOut(0, 0)
    Location(StreamSanctuary) End

Label(IcePyramid1TitleCard)
    ScrollOut(1, 0)
    Location(IcePyramid) " 1" End

Label(SkyCastleTitleCard)
    ScrollOut(3, 0)
    Location(SkyCastle) End

Label(PromptYesNo2)
    ScrollOut(16, 0)
    PromptStyle([WhiteOnBlue, WhiteOnBlack]) "  Yes   " ScrollOut(16, 1)
    PromptStyle([WhiteOnBlack, WhiteOnBlue]) "  No    " End

Label(EarthGateUnlocked)
    "Unlocked the Earth Gate." End

Label(MoonGateUnlocked)
    "Unlocked the Moon Gate." Wait(90) UnknownCommand18(210, 211) End

Label(SunGateUnlocked)
    "Unlocked the Sun Gate." Wait(90) UnknownCommand18(212, 213) End

Label(WindGateUnlocked)
    "Unlocked the Wind Gate." Wait(90) UnknownCommand18(214, 215) End

Label(EarthGateLocked)
    SeekIfFalse(Condition010B, GateLockedAgain)
    "The Earth Gate" NewLine
    "is locked." More End

Label(MoonGateLocked)
    SeekIfFalse(Condition010C, GateLockedAgain)
    "The Moon Gate" NewLine
    "is locked." More End

Label(SunGateLocked)
    SeekIfFalse(Condition010D, GateLockedAgain)
    "The Sun Gate" NewLine
    "is locked." More End

Label(WindGateLocked)
    SeekIfFalse(Condition010E, GateLockedAgain)
    "The Wind Gate" NewLine
    "is locked." More End

Label(GateLockedAgain)
    "The gate is" NewLine
    "locked again." More End

Label(FoundBigHeart)
    ToggleCanSpeedUp Item(BigHeart8) NewLine
    "found!" More NewLine
    "But Asha's Life is" NewLine
    "already full." More End

Label(FoundHealingMedecine)
    ToggleCanSpeedUp Item(HealingMedicine) NewLine
    "found!" More NewLine
    "However, you already" NewLine
    "have some." More End

Label(EstafanAshaFatherCallsAsha)
    ToggleCanSpeedUp Character(Asha) ", what're" Wait(30) NewLine
    "you doing out here?" AnimateAsha(0, 62, 0) More NewLine
    NewLine
    ScrollOut(0, 0)
    "What?" Wait(30) NewLine
    "You sense that someone" NewLine
    "needs your help?" More NewLine
    NewLine
    ScrollOut(0, 0)
    Speed(8) "Ha ha ha." Speed(4) Wait(60) NewLine
    "Already pretending to be" NewLine
    "a warrior, I see." More NewLine
    NewLine
    ScrollOut(0, 0)
    "Well, let's head back." Wait(30) NewLine
    "Everyone's waiting." More End

Label(TowerOfSilenceTitleCard)
    ScrollOut(0, 0)
    Location(TowerOfSilence) End

Label(UndergroundFortTitleCard)
    ScrollOut(0, 0)
    Location(UndergroundFort) End

Label(Label15A001)
    SeekIfFalse(Condition010B, Label15A07F)
    "Today's menu includes" NewLine
    "Lizard Saute." More NewLine
    "Have you tried" NewLine
    "it before?" Prompt(Condition0027) JumpIfNo(Label15A05E) Clear
    "Good for you." More End

Label(Label15A05E)
    Clear
    "Heh heh..." NewLine
    "It's really tasty." More End

Label(Label15A07F)
    SeekIfFalse(Condition010D, Label15A0D4)
    "Today's menu includes" NewLine
    "Hoyoyo Salad." More NewLine
    "I hear the Queen doesn't" NewLine
    "like it, though." More End

Label(Label15A0D4)
    SeekIfFalse(Condition03E9, Label15A10B)
    "Heh heh heh..." More NewLine
    "You look absolutely" NewLine
    "scrumptious." More End

Label(Label15A10B)
    "Today's menu includes" NewLine
    "Roasted Asha." More NewLine
    "Ha ha ha! Relax!" NewLine
    "It's just a joke!" More End

Label(Label15A154)
    "Pikii, pikiiii!" More End

Label(Label15A165)
    SetTrue(Condition0000)
    "This is a map of" NewLine
    "Monster World." More End

Label(Label15A189)
    Snippet(Bookshelf) Prompt(Condition0027) JumpIfNo(Label15A21B) SeekIfFalse(Condition03EB, Label15A1DE)
    Clear
    "How to Hatch a Pepelogoo" More NewLine
    "Apply holy water to" NewLine
    "make the egg hatch." More End

Label(Label15A1DE)
    Clear
    "Eleonora's Magickipedia" More NewLine
    Speed(8) "..." Wait(30) NewLine
    Speed(4) "Too difficult to read." More
Label(Label15A21B)
    End

Label(Label15A21C)
    Snippet(Bookshelf) Prompt(Condition0027) JumpIfNo(Label15A21B) SeekIfFalse(Condition03EB, Label15A2BE)
    Clear
    "Pepepedia" More NewLine
    "It was believed that" NewLine
    "they had gone extinct." More NewLine
    "But they have been" NewLine
    "rediscovered, recently." More NewLine
    "They are very tame" NewLine
    "yellow-colored animals." More End

Label(Label15A2BE)
    Clear
    "The Hero of Legend" More NewLine
    "When cataclysm befalls" NewLine
    "the land," More NewLine
    "a hero shall appear to" More NewLine
    "battle the Dark Ones" NewLine
    "and restore peace." More NewLine
    Speed(8) "..." Wait(30) NewLine
    Speed(4) "Asha almost dozed off." More End

Label(Label15A35A)
    Snippet(Bookshelf) Prompt(Condition0027) JumpIfNo(Label15A21B) SeekIfFalse(Condition03EB, Label15A3A2)
    SeekIfFalse(Condition0000, Label15A3A2)
    Clear
    "Hotta's Adventure" More NewLine
    Speed(8) "..." Wait(30) NewLine
    Speed(4) "It made Asha sad." More End

Label(Label15A3A2)
    SetTrue(Condition0001)
    Clear
    "Shion's Biography" More NewLine
    "Upon defeating the Dark" More NewLine
    "One, he asked the four" NewLine
    "spirits to watch over" More NewLine
    "the monsters evermore," More NewLine
    "so that calamity would" NewLine
    "never strike again." More NewLine
    "This goes on forever." NewLine
    "I'll just skip ahead." More NewLine
    "...And so it is the" NewLine
    "temple has four" More NewLine
    "mystical gates to where" NewLine
    "the four spirits dwell." More End

Label(Label15A4C8)
    "Get out of my way!" More End

Label(Label15A4DC)
    "According to this book," More NewLine
    "the tree behind the" NewLine
    "temple is a Pepe Tree." More End

Label(Label15A521)
    SeekIfFalse(Condition0132, Label15A55A)
    "Are you lost?" More NewLine
    "Ha ha ha! I hear that" NewLine
    "all the time!" More End

Label(Label15A55A)
    SeekIfFalse(Condition010B, Label15A612)
    SeekIfFalse(Condition0001, Label15A5E7)
    SetTrue(Condition0000)
    "You want to know where" NewLine
    "the spirits are?" More Clear
    "Well..." Wait(30) " We may have a" NewLine
    "book about them." More NewLine
    "You should check the" NewLine
    "rightmost bookshelf." More End

Label(Label15A5E7)
    "Did you learn anything" NewLine
    "about the spirits?" More End

Label(Label15A612)
    "Good day." More End

Label(HeardVoices1)
    Speed(0) Style(WhiteOnTransparent) "Someone..." End

Label(HeardVoices2)
    Speed(0) Style(WhiteOnTransparent) "Help us..." End

Label(HeardVoices3)
    Speed(0) Style(WhiteOnTransparent) "Stop disaster..." End

Label(HeardVoices4)
    Speed(0) Style(WhiteOnTransparent) "before it spreads..." End

Label(Label15A66D)
    "Ho ho ho." More NewLine
    SeekIfFalse(Condition0000, Label15A711)
    SetTrue(Condition0000)
    "How does it feel" Wait(20) " to" NewLine
    "adventure alone?" More NewLine
    "Don't worry." Wait(30) NewLine
    "Your blue " Character(Pepelogoo) NewLine
    "yet lives." More NewLine
    "So, young adventurer," NewLine
    "do not despair." More NewLine
    NewLine
    "Oh, and by the way..." More NewLine

Label(Label15A711)
    "Want to save?" NewLine
    Prompt(Condition0027) JumpIfNo(Label159082) Save(SavePointE4)

Label(EstafanAshaMother1)
    SeekIfFalse(EstafanGotAshaMotherHealingMedicine, EstafanAshaMother2)
    SeekIfFalse(Condition0001, EstafanAshaMother2)
    "*sob* *sniffle*" Wait(60) NewLine
    "I was afraid this day" NewLine
    "would come." More NewLine
    "No mother desires such a" NewLine
    "life for her daughter," More NewLine
    "for the way of the" NewLine
    "warrior is perilous." More NewLine
    "*sob* *sniffle*" Wait(30) More Clear
    "Take this medicine." More NewLine
    "Use it when your life is" NewLine
    "in danger." Wait(60) " Understand?" More Clear
    "This is all I can do for" NewLine
    "you, " Character(Asha) "." More NewLine
    "Please return to me" NewLine
    Speed(8) "safe and sound." Wait(30) NewLine
    Speed(4) SetTrue(Condition0000)

Label(EstafanAshaMother2)
    "*sob*" Wait(30) " *sob* *sniffle*" More End

Label(Label15A88F)
    SeekIfFalse(EstafanGotAshaGrannyLifeDrops, Label15A962)
    SeekIfFalse(Condition0001, Label15A962)
    Character(Asha) "," Wait(30) NewLine
    "take care of yourself." More NewLine
    "Evil monsters have" NewLine
    "been multiplying of" NewLine
    "late." More NewLine
    "I'm afraid I can't do" NewLine
    "much, but take this." More NewLine
    "This item is known as a" NewLine
    "Life drop." More NewLine
    "Collect 10 to raise your" NewLine
    "max Life by 1." More NewLine
    SetTrue(Condition0000)

Label(Label15A962)
    "Please be careful." NewLine
    More End

Label(Label15A977)
    "While jumping, you can" NewLine
    "stab upward or downward." More End

Label(Label15A9A8)
    SeekIfFalse(Condition0114, Label15AB3E)
    SeekIfFalse(Condition0001, Label15AABB)
    "The time has come." More Clear
    "Are you ready?" Prompt(Condition0027) JumpIfNo(Label15A9FB) Clear
    "Good!" Wait(30) NewLine
    "That's my girl." Seek(Label15AA25)

Label(Label15A9FB)
    Clear
    "Don't lose hope." Wait(30) NewLine
    "Believe in yourself!"
Label(Label15AA25)
    More NewLine
    "Oh, and by the way..." More Clear
    "Do you have the" NewLine
    Item(CourageCrystal) "?" Prompt(Condition0027) JumpIfNo(Label15AA8A) NewLine
    "You can't enter the" NewLine
    "tower without it." SeekIfFalse(Condition0112, Label15AAFF)
    Wait(30) End

Label(Label15AA8A)
    SeekIfFalse(Condition0112, Label15AAD2)
    NewLine
    "What?!" Wait(30) " Still a" NewLine
    "scatterbrain, I see." More NewLine
    SetTrue(Condition0001)

Label(Label15AABB)
    "Hurry up! Go get it!" NewLine
    More End

Label(Label15AAD2)
    NewLine
    "It's not nice to lie." Wait(30) NewLine
    "I know you have it."
Label(Label15AAFF)
    More Clear
    "Go now!" More NewLine
    "Test your ability" NewLine
    "in the tower." More Clear
    "Good luck." Wait(60) SetTrue(Condition0114)
    End

Label(Label15AB3E)
    "What're you waiting for?" Wait(30) NewLine
    "Hurry up. Go!" More End

Label(Label15AB69)
    "History repeats itself." NewLine
    "People perish and" NewLine
    "kingdoms fall." NewLine
    "While much is lost to" NewLine
    "the sands of time," NewLine
    "the bits of tales that" NewLine
    "endure shall become" NewLine
    "legends." NewLine
    "As I reflect upon what" NewLine
    "transpired, it was as" NewLine
    "told in ancient legend." NewLine
    "They came from the very" NewLine
    "ends of the sky to" NewLine
    "plunder this land." NewLine
    "When the spirits had" NewLine
    "lost their power and the" NewLine
    "darkness was about to" NewLine
    "consume us... I met" NewLine
    "a hero seemingly no more" NewLine
    "than a little girl." NewLine
    NewLine
    "           Praprill XIII" End

Label(Label15AD21)
    SeekIfFalse(Condition03E7, Label15B2F7)
    SeekIfFalse(Condition0006, Label15B151)

Label(Label15AD2B)
    "Bam baba bam!" Wait(30) NewLine
    "Ba" Wait(15) "Ba" Wait(15) "Ba" Wait(15) "Baba baba bam!" More NewLine

Label(Label15AD5B)
    Speed(8) "Congratu" Speed(4) "laaaaaations" Wait(30) NewLine
    "on obtaining the lamp!" More NewLine
    "By doing so," NewLine
    Speed(8) "you just acquired" NewLine
    Speed(4) "a testament to your" NewLine
    "status as a warrior!" More NewLine
    "Go to the Royal Palace" NewLine
    "of " Location(Rapadagna) " with it." More NewLine
    "Then, " Wait(45) "you will be" NewLine
    "accepted as a warrior..." More NewLine
    "and, perhaps, admired by" NewLine
    "people the world over." More NewLine
    "Also..." Wait(30) " for now at" NewLine
    "least, I will serve you," NewLine
    "my new master." More NewLine
    "I just figured" NewLine
    "I'd let you know that." More NewLine
    "You know, just in case." More NewLine
    "Call me if you want to" NewLine
    "go back to " Location(Rapadagna) NewLine
    "during your adventure." More NewLine
    "I will take you there" NewLine
    "if I'm in a good mood." More NewLine
    "That is what" NewLine
    "I can do for you." More Clear
    "That's it." NewLine
    "You got that?" Prompt(Condition0027) JumpIfNo(Label15B1B8) Clear
    "Then let's head over to" NewLine
    Location(Rapadagna) " now." More NewLine
    "Are you ready" NewLine
    "to go now?" Prompt(Condition0027) JumpIfNo(Label15AFEB)
Label(Label15AFD3)
    SetTrue(Condition03E7)
    Clear
    "OK, here we go!" Wait(30) End

Label(Label15AFEB)
    Clear
    "Already feeling" NewLine
    "homesick, eh?" More NewLine
    "Are you sure you're up" NewLine
    "to this task?" More NewLine
    "Well, c'mon," Wait(30) NewLine
    "let's go." Prompt(Condition0027) JumpIfNo(Label15B057) Seek(Label15AFD3)

Label(Label15B057)
    Clear
    "..." Animate(Entity(63), 24, 22, 4, 128) Wait(60) More NewLine
    "Such behavior" NewLine
    Speed(8) "can be likened to" NewLine
    Speed(4) "a dog in the manger." More NewLine
    "Let's go. Time's" NewLine
    "a-wastin'." Prompt(Condition0027) JumpIfNo(Label15B0C9) Seek(Label15AFD3)

Label(Label15B0C9)
    Clear
    "..." Wait(180) NewLine
    "This is the last time" NewLine
    "I'm going to ask." More Clear
    Speed(8) "Are you going?" Speed(4) Prompt(Condition0027) JumpIfNo(Label15B11A) Seek(Label15AFD3)

Label(Label15B11A)
    SetTrue(Condition0006)
    Clear
    "I don't care anymore!" Wait(60) NewLine
    "Do whatever you want." Wait(30) End

Label(Label15B151)
    "Did you finally" NewLine
    "decide to go?" Prompt(Condition0027) JumpIfNo(Label15B1A8) Clear
    "You should have been" NewLine
    "amiable to begin with." More Seek(Label15AFD3)

Label(Label15B1A8)
    Clear
    "Arggggggh!" Wait(30) End

Label(Label15B1B8)
    SeekIfFalse(Condition0005, Label15B2AB)
    Clear
    "..." SeekIfFalse(Condition0007, Label15B215)
    Animate(Entity(63), 24, 22, 4, 128) Wait(60) More Clear
    "Listen carefully." Wait(60) NewLine
    "I'll repeat what I said" NewLine
    "once again." More Clear
    SetTrue(Condition0007)
    Seek(Label15AD2B)

Label(Label15B215)
    Animate(Entity(63), 24, 22, 2, 128) Wait(60) More Clear
    "It seems that" NewLine
    "you're insulting me..." More NewLine
    "All right, then." NewLine
    "I can fight fire" NewLine
    "with fire." More NewLine
    Animate(Entity(63), 24, 22, 0, 128) "Let me repeat myself," NewLine
    "so listen carefully!" More SetTrue(Condition0005)

Label(Label15B2AB)
    Clear
    ToggleCanSpeedUp Snippet(BamBabaBam1) Snippet(BamBabaBam2) Snippet(BamBabaBam1) Snippet(BamBabaBam2) Snippet(BamBabaBam3) Snippet(BamBabaBam3) Snippet(BamBabaBam3) Snippet(BamBabaBam3) Snippet(BamBabaBam1) Snippet(BamBabaBam1) Snippet(BamBabaBam1) Snippet(BamBabaBam1) Snippet(BamBabaBam2) Snippet(BamBabaBam2) Snippet(BamBabaBam2) Snippet(BamBabaBam2) Snippet(BamBabaBam3) Snippet(BamBabaBam3) Snippet(BamBabaBam3) Snippet(BamBabaBam3) Snippet(BamBabaBam4) Snippet(BamBabaBam4) Snippet(BamBabaBam4) Snippet(BamBabaBam4) Snippet(BamBabaBam4) Snippet(BamBabaBam4) Snippet(BamBabaBam2) Snippet(BamBabaBam1) More "Phew..." More Clear
    ToggleCanSpeedUp Seek(Label15AD5B)

Label(Label15B2F7)
    SeekIfFalse(Condition010B, Label15B312)
    "Return to" NewLine
    "the city?" Seek(Label15B5C7)

Label(Label15B312)
    SeekIfFalse(Condition010C, Label15B353)
    "All right, all right." Animate(Entity(63), 24, 22, 2, 128) Wait(60) NewLine
    "Back to the" NewLine
    "city," NewLine
    " right?" Seek(Label15B5C7)

Label(Label15B353)
    SeekIfFalse(Condition010D, Label15B492)
    SeekIfUnowned(GoldBar, Label15B476)
    SeekIfFalse(Condition01BA, Label15B476)
    SetTrue(Condition01BA)
    "Oh, for the love of..." Wait(30) NewLine
    "This may be my job, but" More NewLine
    "I'm getting sick of" NewLine
    "repeating myself." More NewLine
    "Make it up to me by" NewLine
    "selling your Gold Bars." More NewLine
    "Take me out sometime!" NewLine
    Animate(Entity(63), 24, 22, 4, 128) Wait(90) NewLine
    "Somewhere really swanky!" More NewLine
    "..." Wait(60) NewLine
    "Just kidding. Still..." More NewLine
    "One needs an oasis in a" NewLine
    "hard life of adventure." More NewLine

Label(Label15B476)
    "Back to the" NewLine
    "city," NewLine
    " right?" Seek(Label15B5C7)

Label(Label15B492)
    SeekIfFalse(Condition010E, Label15B57E)
    SeekIfFalse(Condition019B, Label15B568)
    "Ah!" Wait(60) NewLine
    "I can see right through" NewLine
    "you. It's so obvious." More NewLine
    "You thought I should've" NewLine
    "appeared sooner, right?" More Clear
    "Tsk tsk!" NewLine
    "You must treat those who" More NewLine
    "take care of you with" NewLine
    "more respect." More NewLine
    "Oh, and by the way..." Wait(30) NewLine
    SetTrue(Condition019B)

Label(Label15B568)
    "Return to" NewLine
    "the city?" Seek(Label15B5C7)

Label(Label15B57E)
    "I thought you'd be" NewLine
    "summoning me soon." Animate(Entity(63), 24, 22, 2, 128) Wait(60) NewLine
    "Back to the" NewLine
    "city," NewLine
    " right?"
Label(Label15B5C7)
    Prompt(Condition0027) JumpIfNo(Label15B5E4) Clear
    "Then let's go." Wait(30) End

Label(Label15B5E4)
    Clear
    SeekIfFalse(Condition010C, Label15B614)
    "Please don't summon me" NewLine
    "for no reason." Wait(30) End

Label(Label15B614)
    SeekIfFalse(Condition010D, Label15B62D)
    "Give me a break." Wait(30) End

Label(Label15B62D)
    SeekIfFalse(Condition010E, Label15B64F)
    "Are you messing with" NewLine
    "me?!" Wait(30) End

Label(Label15B64F)
    Animate(Entity(63), 24, 22, 2, 128) "*grumble* *grumble*" Wait(60) End

Label(ItemAshaSword)
    Item(AshaSword) NewLine
    Snippet(StrengthPlus1) End

Label(ItemKhanSword)
    Item(KhanSword) NewLine
    Snippet(StrengthPlus1) End

Label(ItemShahSword)
    Item(ShahSword) NewLine
    Snippet(StrengthPlus2) End

Label(ItemCyrusSword)
    Item(CyrusSword) NewLine
    Snippet(StrengthPlus2) End

Label(ItemCaliphSword)
    Item(CaliphSword) NewLine
    Snippet(StrengthPlus4) End

Label(ItemIshtarSword)
    Item(IshtarSword) NewLine
    Snippet(StrengthPlus4) End

Label(ItemSwordOfBabel)
    Item(SwordOfBabel) NewLine
    Snippet(StrengthPlus1) End

Label(ItemLegendarySword)
    Item(LegendarySword) NewLine
    Snippet(StrengthPlus8) End

Label(ItemPlainShield)
    Item(PlainShield) NewLine
    Snippet(DefensePlus0) End

Label(ItemFlameShield)
    Item(FlameShield) NewLine
    Snippet(DefensePlus2) End

Label(ItemThunderShield)
    Item(ThunderShield) NewLine
    Snippet(DefensePlus2) End

Label(ItemIceShield)
    Item(IceShield) NewLine
    Snippet(DefensePlus2) End

Label(ItemSteelShield)
    Item(SteelShield) NewLine
    Snippet(DefensePlus2) End

Label(ItemRainbowShield)
    Item(RainbowShield) NewLine
    Snippet(DefensePlus1) End

Label(ItemMagicShield)
    Item(MagicShield) NewLine
    Snippet(DefensePlus2) End

Label(ItemLegendShield)
    Item(LegendShield) NewLine
    Snippet(DefensePlus3) End

Label(ItemTravelerArmor)
    Item(TravelerArmor) NewLine
    Snippet(EndurancePlus3) End

Label(ItemWarriorArmor)
    Item(WarriorArmor) NewLine
    Snippet(EndurancePlus5) End

Label(ItemKnightArmor)
    Item(KnightArmor) NewLine
    Snippet(EndurancePlus7) End

Label(ItemHeroArmor)
    Item(HeroArmor) NewLine
    Snippet(EndurancePlus10) End

Label(ItemLegendaryArmor)
    Item(LegendaryArmor) NewLine
    Snippet(EndurancePlus15) End

Label(Label15B6EB)
    "Don't give up." More End

Label(ItemDebugArmor)
    Item(DebugArmor3) NewLine
    Snippet(EndurancePlus15) End

Label(Label15B701)
    PlaySound(False) Clear
    "Not enough Gold." Wait(90) End

Label(Label15B719)
    "You're finally going to" NewLine
    "the " Location(TowerOfSilence) "," More Clear
    "right?" Prompt(Condition0027) JumpIfNo(Label15B787) Clear
    "Good luck, " Character(Asha) "." Wait(30) NewLine
    "If anyone could do it," NewLine
    "surely it's you!" More End

Label(Label15B787)
    Clear
    "Ha ha ha," Wait(30) NewLine
    "I know you're going." More NewLine
    "Never give up," NewLine
    "no matter what happens." More End

Label(Label15B7D4)
    "When you want to heal" NewLine
    "your wounded body," More NewLine
    "offer a prayer to" NewLine
    "the Sacred Statue." More NewLine
    "You are sure to be" NewLine
    "blessed by the gods." More End

Label(Label15B84D)
    "When you want to" NewLine
    "climb a rope quickly," More NewLine
    "tap the Up button twice" NewLine
    "in rapid succession." More NewLine
    "You can slide down by" NewLine
    "holding the B button." More End

Label(Label15B8D0)
    Item(HealingMedicine) End

Label(Label15B8D3)
    "Hang in there!" More End

Label(Label15B8E3)
    "I'll miss you." More End

Label(Label15B8F3)
    "Take care!" More End

Label(Label15B8FF)
    "Come back in one piece!" More End

Label(Label15B918)
    "We'll look after your" NewLine
    "mom while you're away." More End

Label(Label15B946)
    SeekIfFalse(Condition0000, Label15B968)
    SetTrue(Condition0000)
    "Bring me something good!" More End

Label(Label15B968)
    SetFalse(Condition0000)
    "Just kidding." More End

Label(Label15B97A)
    Prompt(Condition001E) JumpIfNo(Label15B985) UseItem
Label(Label15B985)
    End

Label(Label15B986)
    "The " Location(TowerOfSilence) NewLine
    "lies beyond the forest." More NewLine
    "I heard the wind is dead" NewLine
    "near the tower." More End

Label(Label15B9D0)
    "The Wind Medallion?!" Wait(60) NewLine
    "Oh ho ho ho!" More NewLine
    "Who cares about such" NewLine
    "things any more?!" More NewLine
    "The spirits are none of" NewLine
    "our concern!" More Clear
    "I'm Queen of this land!" More NewLine
    "From now on, I will do" NewLine
    "whatever I please!" More NewLine
    "Now," Wait(30) " to start with..." Wait(60) Clear
    "I want to see" NewLine
    "you die!" Wait(60) End

Label(Label15BAC0)
    "Oh ho ho ho!" More NewLine
    "My Pepelogoo missed its" NewLine
    "mark." More "But no matter." More Clear
    "I will deal with you" NewLine
    "myself!" Wait(60) End

Label(Label15BB1D)
    "Hmm..." Wait(30) NewLine
    "You're not half-bad." More Clear
    "I will spare you this" NewLine
    "time." More Clear
    "That was a rather fun" NewLine
    "way to kill some time." More NewLine
    "But the next time we" NewLine
    "meet, you WILL die!" More Clear
    "Oh ho ho ho!" More End

Label(Label15BBC3)
    "Oh ho ho ho! Your bark" NewLine
    "is worse than your bite." More NewLine
    "Did you really defeat" NewLine
    "the four wizards?" More NewLine
    "Are you incapable of" NewLine
    "tapping your true power" More NewLine
    "because you miss that" NewLine
    "blue Pepelogoo?" More NewLine
    "Oh ho ho ho!" NewLine
    "If so, then go ahead." More NewLine
    "Call your little blue" NewLine
    "friend." More NewLine
    "Go ahead, call him!" Wait(60) End

Label(Label15BCCC)
    "Hurry up and call him" NewLine
    "already!" Wait(60) End

Label(Label15BCEE)
    ToggleCanSpeedUp "Pepelogoo is singing" NewLine
    "a wondrous song!" Wait(60) Clear
    "It's incredibly" NewLine
    "heartwarming!" Wait(60) End

Label(Label15BD3B)
    "Ho ho ho!" Wait(30) NewLine
    "Want to save?" NewLine
    Prompt(Condition0027) JumpIfNo(Label158CCC) Save(SavePoint01)

Label(Label15BD62)
    "A spring flows here." SeekIfFalse(Condition0141, Label15BD7F)
    Wait(30) End

Label(Label15BD7F)
    PauseSound Wait(30) ToggleCanSpeedUp AnimateAsha(0, 56, 0) Wait(90) Clear
    Character(Asha) " washed her face" NewLine
    "in the clear cold water." PlaySound(Jungle5) Wait(90) AnimateAsha(0, 58, 0) Wait(60) SetTrue(Condition0001)
    SetTrue(Condition0005)
    SetFalse(Condition0141)
    ResumeSound End

Label(SavedWindSpirit)
    SeekIfUnowned(MagicCarpet, Label15BDDB)
    RemoveItem(MagicCarpet)
Label(Label15BDDB)
    SetOutline(true) Style(WhiteOnTransparent) "Thank you for saving me." More Clear
    " I am the Wind Spirit." Wait(60) Clear
    "    What a terrible" NewLine
    "  mess this has become." More Clear
    "  The Cloud Wizard has" NewLine
    "  held me prisoner here" More Clear
    " for a long, long time." More Clear
    "   It seems the Queen" Wait(60) NewLine
    " has been caught in the" NewLine
    "     wizards' web." More Clear
    "They intend to dominate" NewLine
    " the people's minds and" NewLine
    "  control them at will." More Clear
    " It cannot be tolerated!" More Clear
    "       But..." NewLine
    "   what can we do?" More Clear
    "Can the Queen and her" NewLine
    "people be saved?" More Clear
    "  Argh, I wish I knew!" More Clear
    Seek(SaveSpiritEnd)

Label(SavedMoonSpirit)
    SetOutline(true) Style(WhiteOnTransparent) "Thank you for saving me." More Clear
    "  I am the Moon Spirit." Wait(60) Clear
    "    The Water Wizard" NewLine
    "    trapped me here." More Clear
    " The people of the city" NewLine
    "    are in danger." More Clear
    "    Yes, it is so..." More Clear
    "Evil darkness is ever" NewLine
    "  closer to the city." More Clear
    "     Time is short!" More Clear
    "  The Sun Spirit is in" NewLine
    "   the desert Pyramid." More Clear
    "   Please, save him." More Clear
    " The darkness must not" NewLine
    "  spread any further." More Clear
    Seek(SaveSpiritEnd)

Label(SavedSunSpirit)
    SeekIfUnowned(Map, Label15C114)
    RemoveItem(Map)
Label(Label15C114)
    SetOutline(true) Style(WhiteOnTransparent) "   Whew..." Wait(30) " Thank you." More Clear
    " I am the Sun Spirit." Wait(60) Clear
    "    The Ice Wizard" NewLine
    "   trapped me here." More Clear
    " I did not mean to" NewLine
    "  shirk my duties." More Clear
    "   But if the Queen" NewLine
    "     finds out," More Clear
    " she'll wring my neck." More Clear
    "       What?" More Clear
    "  Something's wrong" NewLine
    "   with the Queen?" More Clear
    "They must have done evil" NewLine
    "   to her, as well!" More Clear
    "     Please..." More Clear
    "you must help the Queen" More Clear
    " before it's too late!" More Clear
    "    Do not fail us!" More Clear
    Seek(SaveSpiritEnd)

Label(SavedEarthSpirit)
    SetOutline(true) Style(WhiteOnTransparent) "Thank you for saving me." More Clear
    " I am the Earth Spirit." Wait(60) Clear
    "   The Flame Wizard" NewLine
    "   had trapped me here." More Clear
    "    I wonder why" Wait(60) Clear
    " and how he came" NewLine
    " to this world." More Clear
    " Maybe..." Wait(30) " it's time..." Wait(60) Clear
    " the legend repeats" NewLine
    "      itself." More
Label(SaveSpiritEnd)
    Style(WhiteOnBlack) SetOutline(false) End

Label(Label15C38D)
    "Wh-Who're you?!" Wait(60) NewLine
    "Move, I can't see!" More Clear
    "I said move!" More Clear
    "If you don't," NewLine
    "I'll turn you to stone!" Wait(60) End

Label(Label15C3ED)
    "Heh heh heh..." Wait(60) Clear
    "Foolish mortals." More Clear
    "You dare rise against" NewLine
    "us once more?" More Clear
    "Surrender is your only" NewLine
    "option." More Clear
    "It is because of you," NewLine
    "hero incarnate, that the" More Clear
    "legend shall repeat." More Clear
    "However..." Wait(60) " this shall" NewLine
    "be the last time." More Clear
    "Come, my minions, slay" NewLine
    "this puny mortal!" Wait(90) End

Label(Label15C4FB)
    Character(Pepelogoo) " doesn't want" NewLine
    "to enter yet, it seems." More End

Label(Label15C524)
    SeekIfFalse(Condition03EB, Label15C552)
    "Monsters have been" NewLine
    "multiplying of late." More End

Label(Label15C552)
    SeekIfFalse(Condition010B, Label15C584)
    "I heard someone has" NewLine
    "imprisoned the spirits." More End

Label(Label15C584)
    SeekIfFalse(Condition010C, Label15C5CF)
    "Those dark clouds are" NewLine
    "still spreading." More NewLine
    "Still, " Character(Pepelogoo) "s" NewLine
    "are so darn cute." More End

Label(Label15C5CF)
    SeekIfFalse(Condition010D, Label15C606)
    "Everyone in the city is" NewLine
    "on edge for some reason." More End

Label(Label15C606)
    SeekIfFalse(Condition010E, Label15C677)
    "Now that people's hearts" NewLine
    "are so troubled," More NewLine
    "the city's defenses have" NewLine
    "grown weak." More Clear
    "But I don't really care." More End

Label(Label15C677)
    SeekIfFalse(Condition03E9, Label15C6D3)
    "Who cares anymore?" More NewLine
    "I don't mind if I'm" NewLine
    "eaten by monsters." More Clear
    "Nothing matters anymore!" More End

Label(Label15C6D3)
    "It seems our minds" NewLine
    "were controlled by" NewLine
    "the black Pepelogoos." More Clear
    "It was so awful..." More End

Label(Label15C725)
    SeekIfFalse(Condition03EB, Label15C76C)
    "Don't you think" NewLine
    "Pepelogoos are so cute?" More Clear
    "They're quite popular." More End

Label(Label15C76C)
    SeekIfFalse(Condition010B, Label15C7B5)
    "How can this city be so" NewLine
    "peaceful?" More NewLine
    "Monsters are rampaging" NewLine
    "outside!" More End

Label(Label15C7B5)
    SeekIfFalse(Condition010C, Label15C7E9)
    "These days, I feel so" NewLine
    "uneasy for some reason." More End

Label(Label15C7E9)
    SeekIfFalse(Condition010D, Label15C7FF)
    "Grrr... Grrr..." More End

Label(Label15C7FF)
    SeekIfFalse(Condition010E, Label15C87D)
    "The Queen was once so" NewLine
    "pure of heart." More NewLine
    "I never thought she'd" NewLine
    "change like that." More NewLine
    "Could this spell the end" NewLine
    "of our kingdom?" More End

Label(Label15C87D)
    SeekIfFalse(Condition03E9, Label15C8DA)
    "The spirits were saved," NewLine
    "yet the sky's dark." More NewLine
    "Has the Queen fallen" NewLine
    "under an evil spell?" More End

Label(Label15C8DA)
    "You saved us," NewLine
    "didn't you?" More Clear
    "Thank you." Wait(30) NewLine
    "Our minds were nearly" NewLine
    "overcome by darkness." More End

Label(Label15C931)
    SeekIfFalse(Condition03EB, Label15CAE8)
    "How about my Pepelogoo?" Wait(30) NewLine
    "Don't you think" NewLine
    "he is the cutest?" More Clear
    "It's only natural that I" NewLine
    "own the best " Character(Pepelogoo) "," More NewLine
    "being that I'm the most" NewLine
    "gorgeous lady in town." More SeekIfUnowned(GoldBar, Label15CAE7)
    NewLine
    "Oh, and by the way..." Wait(30) NewLine
    "Let me see" NewLine
    "the " Item(GoldBar) "s you have." More NewLine
    "I'd gladly buy them from" NewLine
    "you." More NewLine
    "How about" NewLine
    Style(YellowOnBlack) "500" Style(WhiteOnBlack) "G each?" Prompt(Condition0027) JumpIfNo(Label15CA73) Clear
    "Thank you." Wait(30) SeekIfTrue(AllowedInRapadagnaCastle, Label15CA69)
    SeekIfTrue(Condition011D, Label15CA69)
    SetFalse(Condition011D)

Label(Label15CA69)
    RemoveItem(GoldBar) Price(500) Sell End

Label(Label15CA73)
    Clear
    "Then how about" NewLine
    Style(YellowOnBlack) "800" Style(WhiteOnBlack) "G each?" Prompt(Condition0027) JumpIfNo(Label15CABE) Clear
    "It's a deal, then." Wait(30) RemoveItem(GoldBar) Price(800) Sell End

Label(Label15CABE)
    Clear
    "I didn't expect you" NewLine
    "to be so greedy." Wait(30)
Label(Label15CAE7)
    End

Label(Label15CAE8)
    SeekIfFalse(Condition010B, Label15CB99)
    "What? Oh!" Wait(30) NewLine
    "A blue Pepelogoo..." More NewLine
    "Hmph!" Wait(30) NewLine
    "Don't let this go to" NewLine
    "your head!" More SeekIfUnowned(GoldBar, Label15CB98)
    Snippet(SellGoldBar) "How about" NewLine
    Style(YellowOnBlack) "1,000" Style(WhiteOnBlack) "G each?" Prompt(Condition0027) JumpIfNo(Label15CB7C) Clear
    "Thank you." Wait(30) RemoveItem(GoldBar) Price(1000) Sell End

Label(Label15CB7C)
    Clear
    "Hmph!" NewLine
    "Have it your way." Wait(30)
Label(Label15CB98)
    End

Label(Label15CB99)
    SeekIfFalse(Condition010C, Label15CD1A)
    "Look, my Pepelogoos," Wait(30) NewLine
    "      Pey," NewLine
    "      Pii," NewLine
    "      and Poo." More NewLine
    "They're so cute," NewLine
    "aren't they?" Prompt(Condition0027) JumpIfNo(Label15CCA9) Clear
    "Yes, of course." Wait(30) NewLine
    "A blue Pepelogoo is not" NewLine
    "always the best one." More SeekIfUnowned(GoldBar, Label15CCA8)
    Snippet(SellGoldBar) "How about" NewLine
    Style(YellowOnBlack) "1,500" Style(WhiteOnBlack) "G each?" Prompt(Condition0027) JumpIfNo(Label15CC88) Clear
    "Thank you." Wait(30) RemoveItem(GoldBar) Price(1500) Sell End

Label(Label15CC88)
    Clear
    "Oh, really?" NewLine
    "That's too bad." Wait(30)
Label(Label15CCA8)
    End

Label(Label15CCA9)
    Clear
    "Wh-What a dreadful" NewLine
    "little girl you are!" More Clear
    "Hmph!" Wait(30) NewLine
    "Double hmph!" More SeekIfUnowned(GoldBar, Label15CD19)
    NewLine
    "Fine, then I won't" NewLine
    "buy your Gold Bars!" Wait(30)
Label(Label15CD19)
    End

Label(Label15CD1A)
    SeekIfFalse(Condition010D, Label15CDB9)
    "I don't know why I feel" NewLine
    "so irritated lately." More NewLine
    SeekIfUnowned(GoldBar, Label15CDB8)
    Snippet(SellGoldBar) "How about" NewLine
    Style(YellowOnBlack) "2,000" Style(WhiteOnBlack) "G each?" Prompt(Condition0027) JumpIfNo(Label15CD91) Clear
    "Thank you." Wait(30) RemoveItem(GoldBar) Price(2000) Sell End

Label(Label15CD91)
    Clear
    "Aaaaargh!" NewLine
    "You're driving me crazy!" Wait(30)
Label(Label15CDB8)
    End

Label(Label15CDB9)
    SeekIfFalse(Condition010E, Label15CF16)
    "Oh ho ho!" Wait(30) NewLine
    "Everyone can drop dead." More NewLine
    "I don't want to see" NewLine
    "your face any more." More SeekIfUnowned(GoldBar, Label15CF15)
    NewLine
    "A Gold Bar?" Wait(30) NewLine
    "Who cares about such" NewLine
    "things anymore?" More NewLine
    "But if you give it to me" NewLine
    "I won't refuse." More NewLine
    "Can I have it?" Prompt(Condition0027) JumpIfNo(Label15CEE5) Clear
    "Oh ho ho!" Wait(30) NewLine
    "I didn't think you were" NewLine
    "so kindhearted." More NewLine
    "Here!" Wait(60) NewLine
    "This is for you!" Wait(30) RemoveItem(GoldBar) Price(9999) Sell End

Label(Label15CEE5)
    Clear
    "Leave right now if" NewLine
    "you've no business here!" Wait(30)
Label(Label15CF15)
    End

Label(Label15CF16)
    SeekIfFalse(Condition03E9, Label15CFBA)
    "Oh ho ho!" Wait(30) NewLine
    "Get out of here, now!" More NewLine
    "That's right!" More NewLine
    "Everyone, get lost!" More NewLine
    "Everyone can drop dead!" More SeekIfUnowned(GoldBar, Label15CFB9)
    NewLine
    "I'll give my Gold Bars" Wait(30) NewLine
    "to the evil ones!" More NewLine
    "Oh ho ho!" Wait(30)
Label(Label15CFB9)
    End

Label(Label15CFBA)
    "Hm?" Wait(60) NewLine
    "What happened to me?" NewLine
    "It's all a blur." More NewLine
    "I don't remember a" NewLine
    "thing." More SeekIfUnowned(GoldBar, Label15D05F)
    Snippet(SellGoldBar) "How about" NewLine
    Style(YellowOnBlack) "5,000" Style(WhiteOnBlack) "G each?" Prompt(Condition0027) JumpIfNo(Label15D046) Clear
    "Thank you." Wait(30) RemoveItem(GoldBar) Price(5000) Sell End

Label(Label15D046)
    Clear
    "I see." NewLine
    "That's too bad." More
Label(Label15D05F)
    NewLine
    "Wait..." Wait(30) NewLine
    "Where are my" NewLine
    "cute little Pepelogoos?" Wait(30) End

Label(Label15D093)
    SeekIfFalse(Condition03EB, Label15D16B)
    "Hello and welcome!" More NewLine
    SeekIfFalse(Condition0080, Label15D0E5)
    SetTrue(Condition0080)
    "Are you a traveler?" Wait(30) NewLine
    "A real cutie, aren't ya?" More NewLine

Label(Label15D0E5)
    "Want to check out my" NewLine
    "excellent weapons?" Wait(60) Merchant([Some(KhanSword), Some(AshaSword), Some(ShahSword)], 51, 63)
Label(Label15D118)
    NewLine
    "Oh! Sorry, but I'm" NewLine
    "out of stock right now." Wait(30) End

Label(Label15D16B)
    SeekIfFalse(Condition010B, Label15D1DD)
    "Oh, hello there!" More NewLine
    SeekIfFalse(Condition0080, Label15D1DA)
    SetTrue(Condition0080)
    "Good to see you again!" NewLine
    "How are you?" More NewLine
    "I heard you're going to" NewLine
    "save the spirits!" More NewLine

Label(Label15D1DA)
    Seek(Label15D0E5)

Label(Label15D1DD)
    SeekIfFalse(Condition010C, Label15D2E4)
    "Hey there, young lady." More NewLine
    SeekIfFalse(Condition0080, Label15D2AE)
    SetTrue(Condition0080)
    "I heard you saved" NewLine
    "the Earth Spirit!" More NewLine
    "I was really surprised," Wait(30) NewLine
    "because I didn't think" NewLine
    "you were so strong." More NewLine
    "There's more to you" NewLine
    "than meets the eye." More NewLine
    "Here to shop, are ya?" More NewLine

Label(Label15D2AE)
    "Take a look at my" NewLine
    "high-quality weapons." Wait(60) Merchant([Some(KhanSword), Some(ShahSword), Some(CyrusSword)], -406, -394) Seek(Label15D118)

Label(Label15D2E4)
    SeekIfFalse(Condition010D, Label15D36B)
    "Bah! I'm fed up with" NewLine
    "this shop!" More NewLine
    "Wanna buy something?" NewLine
    "Well, go somewhere else." More NewLine
    "I'm gonna find an easier" NewLine
    "way to the gravy train!" More End

Label(Label15D36B)
    SeekIfFalse(Condition010E, Label15D3BE)
    "Silly little girl." Wait(30) NewLine
    "I told you I have" NewLine
    "nothing to sell!" More Clear
    "Now hit the road!" More End

Label(Label15D3BE)
    SeekIfFalse(Condition03E9, Label15D406)
    "You saved the spirits?" Wait(30) NewLine
    "Well goody for you!" NewLine
    "Why should I care?!" More End

Label(Label15D406)
    "Oh, you're back." More NewLine
    SeekIfFalse(Condition0080, Label15D4AB)
    SetTrue(Condition0080)
    "I'm sorry." Wait(30) NewLine
    "I heard I'd been pretty" NewLine
    "hard on you." More NewLine
    "My wife chewed me out" NewLine
    "really good for that." More NewLine
    "I'll reduce my prices" NewLine
    "to make up for it." More NewLine

Label(Label15D4AB)
    "Well? Not a bad" NewLine
    "selection, huh?" Wait(60) Merchant([Some(CaliphSword), Some(IshtarSword), Some(SwordOfBabel)], -907, -895) Seek(Label15D118)

Label(Label15D4D9)
    SeekIfFalse(Condition03EB, Label15D5B9)
    "Welcome, welcome." More NewLine
    SeekIfFalse(Condition0081, Label15D526)
    SetTrue(Condition0081)
    "Oh, a female warrior?" Wait(30) NewLine
    "How cool are you?!" More NewLine

Label(Label15D526)
    "Do you need a shield?" NewLine
    "Well, check these out." Wait(60) Merchant([Some(FlameShield), Some(PlainShield), Some(ThunderShield)], 54, 74)
Label(Label15D55E)
    NewLine
    "But, unfortunately they" NewLine
    "are out of stock now." Wait(30) End

Label(Label15D5B9)
    SeekIfFalse(Condition010B, Label15D633)
    "Welcome, welcome!" More NewLine
    SeekIfFalse(Condition0081, Label15D605)
    SetTrue(Condition0081)
    "Never seen a blue one." NewLine
    "They're quite rare." More NewLine

Label(Label15D605)
    "Can I interest you in" NewLine
    "a shield?" Wait(60) Merchant([Some(FlameShield), Some(PlainShield), Some(ThunderShield)], -156, -136) Seek(Label15D55E)

Label(Label15D633)
    SeekIfFalse(Condition010C, Label15D722)
    "Welcome." More NewLine
    SeekIfFalse(Condition0081, Label15D6FB)
    SetTrue(Condition0081)
    "My husband is a" NewLine
    "complete fool." More NewLine
    "He got a Pepelogoo and" Wait(60) NewLine
    "he's been playing with" NewLine
    "it like a little child." More NewLine
    SeekIfFalse(Condition0000, Label15D6E5)
    "He's in the backroom." NewLine
    "Go see for yourself." More NewLine

Label(Label15D6E5)
    "Oh, and by the way..." NewLine

Label(Label15D6FB)
    "Don't you need a shield?" Wait(60) Merchant([Some(FlameShield), Some(PlainShield), Some(ThunderShield)], -395, -375) Seek(Label15D55E)

Label(Label15D722)
    SeekIfFalse(Condition010D, Label15D7DC)
    "Oh, hello." More NewLine
    SeekIfFalse(Condition0081, Label15D7BA)
    SetTrue(Condition0081)
    "Something's wrong with" NewLine
    "my husband." More NewLine
    "He used to be so serious" NewLine
    "and hard working." More Clear
    "He completely changed." More NewLine
    "Oh, and by the way..." NewLine

Label(Label15D7BA)
    "How about a shield?" Wait(60) Merchant([Some(FlameShield), Some(IceShield), Some(ThunderShield)], -581, -561) Seek(Label15D55E)

Label(Label15D7DC)
    SeekIfFalse(Condition010E, Label15D8CC)
    "Hello..." More NewLine
    SeekIfFalse(Condition0081, Label15D87E)
    SetTrue(Condition0081)
    "My husband is not the" NewLine
    "only one who's changed." More NewLine
    "The people have fallen" NewLine
    "under a dark spell." More NewLine
    "I no longer know what" NewLine
    "to do." More NewLine
    "Oh, forgive me..." NewLine

Label(Label15D87E)
    "Here to see a shield?" Wait(60) Merchant([Some(SteelShield), Some(RainbowShield), Some(MagicShield)], 7, 19) Seek(Label15D55E)

Label(Label15D8CC)
    SeekIfFalse(Condition03E9, Label15DA14)
    "Hello..." More NewLine
    SeekIfFalse(Condition0081, Label15D97D)
    SetTrue(Condition0081)
    "It's even worse now." Wait(30) NewLine
    "The Queen decreed we are" NewLine
    "to become her slaves." More NewLine
    "This whole world has" NewLine
    "gone insane." More NewLine
    "Please..." Wait(30) NewLine
    "Please! You must save" NewLine
    "the Queen!" More NewLine

Label(Label15D97D)
    "I'm afraid all I can do" NewLine
    "is sell you a shield." Wait(60) Merchant([Some(SteelShield), Some(RainbowShield), Some(MagicShield)], 7, 72) Seek(Label15D55E)

Label(Label15DA14)
    "Welcome, welcome!" More NewLine
    SeekIfFalse(Condition0081, Label15DB05)
    SetTrue(Condition0081)
    "My husband is back to" NewLine
    "his old self!" More NewLine
    "I heard a wondrous" NewLine
    "song, and..." More NewLine
    "suddenly," NewLine
    "those black Pepelogoos" NewLine
    "vanished and my husband" More NewLine
    "returned to normal!" NewLine
    "I was so relieved!" More Clear
    "Thanks for saving us." More NewLine
    "Oh, and by the way..." NewLine

Label(Label15DB05)
    "Which one do you like?" Wait(60) Merchant([Some(SteelShield), Some(RainbowShield), Some(MagicShield)], -1427, -1407) Seek(Label15D55E)

Label(Label15DB2A)
    SeekIfFalse(Condition03EB, Label15DB79)
    "What?" Wait(30) " There's no inn" NewLine
    "in this city." More NewLine
    "But the Holy Spring can" NewLine
    "heal you." More End

Label(Label15DB79)
    SeekIfFalse(Condition010B, Label15DBC8)
    "Hey there." Wait(30) " I'm gonna" NewLine
    "go treasure hunting so I" NewLine
    "can afford my own shop." More End

Label(Label15DBC8)
    SeekIfFalse(Condition010C, Label15DBD2)
    "..." More End

Label(Label15DBD2)
    SeekIfFalse(Condition010D, Label15DD02)
    "Welcome!" More NewLine
    SeekIfFalse(Condition0082, Label15DCA9)
    SetTrue(Condition0082)
    SeekIfTrue(Condition0165, Label15DC61)
    "Hey there!" Wait(30) NewLine
    "You saved my life back" NewLine
    "in that dungeon." More Clear
    "Thank you." More Clear
    "I was able to start this" NewLine
    "shop thanks to you." More NewLine

Label(Label15DC61)
    "Something's wrong with" NewLine
    "the city." More NewLine
    "But I'll keep working" NewLine
    "like a beaver." More NewLine

Label(Label15DCA9)
    "Like to buy something?" Wait(60) Merchant([Some(ShahSword), Some(CyrusSword), Some(CaliphSword)], 36, 45)
Label(Label15DCCB)
    NewLine
    "Actually," NewLine
    "I'm out of stock." Wait(30) End

Label(Label15DD02)
    SeekIfFalse(Condition010E, Label15DDCB)
    "Welcome!" More NewLine
    SeekIfFalse(Condition0082, Label15DDAB)
    SetTrue(Condition0082)
    "What in the world's" NewLine
    "happening to this city?" More NewLine
    "Everyone's so angry" NewLine
    "for some reason." More NewLine
    "They've lost their" NewLine
    "minds, haven't they?" More NewLine
    "Oh, and by the way..." NewLine

Label(Label15DDAB)
    "Need a new sword?" Wait(60) Merchant([Some(HealingMedicine), Some(CyrusSword), Some(CaliphSword)], -217, -208) Seek(Label15DCCB)

Label(Label15DDCB)
    SeekIfFalse(Condition03E9, Label15DEB6)
    "Hello!" More NewLine
    SeekIfFalse(Condition0082, Label15DE8F)
    SetTrue(Condition0082)
    "Now I'm the happiest" NewLine
    "man in this city." More NewLine
    "Ha ha ha!" Wait(30) "..." More NewLine
    "But this is no time to" NewLine
    "laugh it up." More NewLine
    "The Queen said she was" NewLine
    "going to enslave us." More NewLine
    "Can't you do something" NewLine
    "about this?" More NewLine

Label(Label15DE8F)
    "I have some fine swords." Wait(60) Merchant([Some(HealingMedicine), Some(CaliphSword), Some(SwordOfBabel)], -452, -443) Seek(Label15DCCB)

Label(Label15DEB6)
    SeekIfFalse(Condition0082, Label15DFBD)
    SetTrue(Condition0082)
    "Oh, happy day!" Wait(30) NewLine
    "I heard the Queen has" NewLine
    "snapped out of it." More NewLine
    "I knew you were" NewLine
    "a great warrior!" More NewLine
    "We can now sleep easy," NewLine
    "knowing that we're safe." More NewLine
    "What?!" Wait(30) NewLine
    "There are still many" NewLine
    "enemies afoot?!" More Clear
    "This is terrible!" More Clear
    "Give 'em a swift kick" NewLine
    "in the rear for me!" More NewLine

Label(Label15DFBD)
    "I'm counting on you!" Wait(30) End

Label(Label15DFD5)
    SeekIfFalse(Condition03EB, Label15E016)
    "My daddy's gonna open" NewLine
    "up a shop soon." More NewLine
    "Isn't that great?" Wait(30) End

Label(Label15E016)
    SeekIfFalse(Condition010B, Label15E052)
    "The Stream Sanctuary..." Wait(30) NewLine
    "My daddy's gonna go" NewLine
    "there." More End

Label(Label15E052)
    SeekIfFalse(Condition010C, Label15E079)
    "My daddy's not here" More Clear
    "right now." More End

Label(Label15E079)
    SeekIfFalse(Condition010D, Label15E0B5)
    "Look, my daddy really" NewLine
    "started a shop!" More Clear
    "It's so cool!" More End

Label(Label15E0B5)
    SeekIfFalse(Condition03E8, Label15E10C)
    "I bet that little round" NewLine
    "bird thing is to blame." More Clear
    "I wonder why no one sees" NewLine
    "that." More End

Label(Label15E10C)
    SeekIfFalse(Condition010E, Label15E17E)
    "Told you so. That" NewLine
    "creature is to blame." More NewLine
    "You know what else?" Wait(30) NewLine
    "I bet it's spying on" NewLine
    "us so we can't escape." More End

Label(Label15E17E)
    SeekIfFalse(Condition03E9, Label15E1B2)
    "Can't believe they even" NewLine
    "let it into the city." More End

Label(Label15E1B2)
    "Daddy closed shop 'cause" NewLine
    "he didn't like the work." More NewLine
    "The trouble is, he gets" NewLine
    "bored so easily." More NewLine
    "I hope he's not thinking" NewLine
    "of becoming a hero." More NewLine
    "Don't encourage him," NewLine
    "OK?" More NewLine
    "I mean it, seriously." Wait(30) End

Label(Label15E270)
    SeekIfFalse(Condition03EB, Label15E370)
    SeekIfOwned(PepelogooEgg, Label15E293)
    "I want a Pepelogoo," NewLine
    "too!" More End

Label(Label15E293)
    "Hey!" Wait(30) NewLine
    "That's a Pepelogoo egg," NewLine
    "isn't it?" More NewLine
    "Do you know how to hatch" NewLine
    "it?" More Clear
    "Well, do you?" Prompt(Condition0027) JumpIfNo(Label15E30B) Clear
    "Aw, you're no fun." Wait(30) End

Label(Label15E30B)
    Clear
    "OK, here's how..." Wait(30) NewLine
    "Put it in front of the" NewLine
    "Holy Spring statue." More NewLine
    "Tee hee! I'm so smart," NewLine
    "aren't I?" More End

Label(Label15E370)
    SeekIfFalse(Condition010B, Label15E3CA)
    "Wow!" NewLine
    "It's blue!" More Clear
    "I want one, too!" More Clear
    "It'll come to you when" NewLine
    "you press the A button." More End

Label(Label15E3CA)
    SeekIfFalse(Condition010C, Label15E3FB)
    "Hooray!" Wait(30) NewLine
    "My daddy bought me" NewLine
    "a Pepelogoo!" More End

Label(Label15E3FB)
    SeekIfFalse(Condition010D, Label15E432)
    "Argh!" Wait(30) NewLine
    "I wish my brother would" NewLine
    "just disappear!" More End

Label(Label15E432)
    SeekIfFalse(Condition010E, Label15E460)
    "I don't need anything" NewLine
    "but my Pepelogoo." More End

Label(Label15E460)
    SeekIfFalse(Condition03E9, Label15E4A5)
    "Huh?" Wait(30) NewLine
    "What happened to" NewLine
    "the blue Pepelogoo?" More Clear
    "Aw, never mind." More End

Label(Label15E4A5)
    "Hooray!" Wait(30) NewLine
    "I'm feeling" NewLine
    "so much better." More End

Label(Label15E4CD)
    SeekIfFalse(Condition03EB, Label15E506)
    SeekIfOwned(PepelogooEgg, Label15E4E8)
    "I want one, too." More End

Label(Label15E4E8)
    "My big sis sure knows" NewLine
    "a lot." More End

Label(Label15E506)
    SeekIfFalse(Condition010B, Label15E517)
    "Lucky you!" More End

Label(Label15E517)
    SeekIfFalse(Condition010C, Label15E524)
    "Goody!" More End

Label(Label15E524)
    SeekIfFalse(Condition010D, Label15E556)
    "*sob* *whimper* My big" NewLine
    "sis's picking on me." More End

Label(Label15E556)
    SeekIfFalse(Condition010E, Label15E583)
    "My big sis won't play" NewLine
    "with me anymore." More End

Label(Label15E583)
    SeekIfFalse(Condition03E9, Label15E5AC)
    "My big sis used to be" NewLine
    "a lot nicer." More End

Label(Label15E5AC)
    "My sister's nice again." More End

Label(Label15E5C5)
    SeekIfFalse(Condition03EB, Label15E630)
    "Ruin..." Wait(60) NewLine
    "The day of ruin's nigh." More Clear
    "I can hear them." More Clear
    "The spirits mourn." More Clear
    "The legend will repeat." More End

Label(Label15E630)
    SeekIfFalse(Condition010B, Label15E6AC)
    "Oh..." Wait(60) NewLine
    "A blue Pepelogoo?!" More Clear
    "A sinister omen." More Clear
    "Can't you see they are" NewLine
    "the servants of evil?" More Clear
    "The end is upon us." Wait(30) End

Label(Label15E6AC)
    SeekIfFalse(Condition010C, Label15E708)
    "The day of ruin's nigh." Wait(60) NewLine
    "Those creatures will eat" NewLine
    "us alive." More Clear
    "So long, cruel world!" More End

Label(Label15E708)
    SeekIfFalse(Condition010D, Label15E925)
    SeekIfFalse(Condition0117, Label15E8F4)
    SeekIfFalse(Condition0001, Label15E8F4)
    "The day of ruin's nigh." Wait(60) NewLine
    "The darkness has taken" NewLine
    "everyone's mind." More Clear
    "It's all due to those" NewLine
    "Pepelogoo creatures." More Clear
    "I ask you!" Wait(30) NewLine
    "Has anything good" More NewLine
    "happened since" NewLine
    "you met that" NewLine
    "creature?" Prompt(Condition0027) JumpIfNo(Label15E80E) Clear
    "You're afraid to" NewLine
    "see the truth," NewLine
    "aren't you?" Prompt(Condition0027) JumpIfNo(Label15E83F)
Label(Label15E80E)
    Clear
    "I knew the creature was" Wait(30) NewLine
    "a servant of evil." More End

Label(Label15E83F)
    Clear
    "Hmm..." Wait(30) NewLine
    "If you really mean that," NewLine
    "I'll give this to you." More NewLine
    "You can never have too" NewLine
    "much life when fighting." More NewLine
    "Oh, dear!" Wait(60) NewLine
    "I just turned into a" NewLine
    "kind old woman." More Clear
    "This won't do." More SetTrue(Condition0000)
    End

Label(Label15E8F4)
    "What I meant to say is," NewLine
    "the day of ruin's nigh!" More End

Label(Label15E925)
    SeekIfFalse(Condition010E, Label15E94A)
    "Eeeek!" Wait(30) NewLine
    "I'll be eaten alive!" More End

Label(Label15E94A)
    SeekIfFalse(Condition03E9, Label15E9B5)
    "Ruin..." Wait(60) NewLine
    "The day of ruin's nigh." More Clear
    "I can hear them." More Clear
    "The spirits mourn." More Clear
    "The legend will repeat." More End

Label(Label15E9B5)
    "Oh... Hello." Wait(60) NewLine
    "Are you a" NewLine
    "true hero?" Prompt(Condition0027) JumpIfNo(Label15EA53) Clear
    "R-Really...?!" Prompt(Condition0027) JumpIfNo(Label15EA53) Clear
    "So then," Wait(30) NewLine
    "I can take this" More NewLine
    "pot off my" NewLine
    "head?" Prompt(Condition0027) JumpIfNo(Label15EA53) Clear
    "..." Wait(60) "It's hard to believe." Wait(30) End

Label(Label15EA53)
    Clear
    Wait(60) "Ruin! Ruin!" NewLine
    "The day of ruin's nigh!" Wait(30) End

Label(Label15EA7F)
    SeekIfFalse(Condition0131, Label15EB44)
    "Oh! What a pretty" NewLine
    "warrior you are." More NewLine
    "Though I travel far and" NewLine
    "wide selling my wares," More NewLine
    "I've never seen a female" NewLine
    "warrior like you." More Clear
    "Come see me later." More NewLine
    "I'll have something good" NewLine
    "for you by then." More End

Label(Label15EB44)
    SeekIfFalse(Condition010B, Label15EC65)
    SeekIfOwned(WarriorArmor, Label15EB93)
    "Ah, I've been waiting." More NewLine
    "I found the perfect" NewLine
    "armor for you." Wait(30) Merchant([None, Some(WarriorArmor), None], 4, 50)
Label(Label15EB93)
    "I'll get armor that's" NewLine
    "even better next time." Wait(30) End

Label(Label15EC65)
    SeekIfFalse(Condition010C, Label15ECC7)
    SeekIfOwned(KnightArmor, Label15EB93)
    "I heard what you did." More NewLine
    "You're amazing!" More Clear
    "By the way," More NewLine
    "need some new armor?" Wait(30) Merchant([Some(KnightArmor), Some(WarriorArmor), None], -301, -132) Seek(Label15EB93)

Label(Label15ECC7)
    SeekIfFalse(Condition010D, Label15ED68)
    SeekIfOwned(HeroArmor, Label15EB93)
    "I heard you defeated" NewLine
    "the Water Wizard." More NewLine
    "I'm so glad you're doing" NewLine
    "so well." More Clear
    "Take a look at my wares." Wait(30) Merchant([Some(KnightArmor), Some(WarriorArmor), Some(HeroArmor)], 4, -256)
Label(Label15ED40)
    "One's armor can never" NewLine
    "be too strong." Wait(30) End

Label(Label15ED68)
    SeekIfFalse(Condition010E, Label15EE9F)
    "It seems something is" NewLine
    "happening to this city." More Clear
    "I shouldn't do business" NewLine
    "here anymore." More NewLine
    "I'm thinking of leaving" NewLine
    "for a while." More NewLine
    "You'd better buy some" NewLine
    "armor while I'm around." Wait(30) Merchant([Some(KnightArmor), Some(LegendaryArmor), Some(HeroArmor)], 4, 2) SeekIfFalse(Condition03EA, Label15ED40)
    "By the way," Wait(30) NewLine
    "a strange man came here," NewLine
    "looking for a hero." More NewLine
    "Go see him if you think" NewLine
    "you're up to snuff." More NewLine
    "Ha ha ha!" Wait(30) End

Label(Label15EE9F)
    SeekIfFalse(Condition03E9, Label15EEA8)
    "..." End

Label(Label15EEA8)
    "Hi! You're looking well," NewLine
    "as usual." More Clear
    "Look!" More NewLine
    "I've finally found it." More Clear
    "The legendary item set! " Wait(30) Merchant([Some(LegendarySword), Some(LegendShield), Some(LegendaryArmor)], 4, 2) "It's amazing!" Wait(30) End

Label(Label15EF22)
    "Heh heh heh..." Wait(30) NewLine
    "Why not buy one?" More Clear
    "Heh heh heh..." Wait(30) NewLine
    "These Pepelogoos are" NewLine
    "very cute." More Clear
    SeekIfFalse(Condition03EB, Label15EF92)
    "Heh heh heh..." Wait(60) End

Label(Label15EF92)
    "What's this?!" Wait(30) NewLine
    "A blue Pepelogoo!" More Clear
    "Where did you..." More End

Label(Label15EFC9)
    ToggleCanSpeedUp "How did he ever grow so" NewLine
    "huge?!" Wait(60) End

Label(Label15EFED)
    AnimateAsha(0, 62, 0) "Heh heh heh..." Wait(30) NewLine
    "I am the Flame Wizard!" More Clear
    "Heh heh heh..." Wait(30) NewLine
    "Meddling fool. You dare" NewLine
    "to oppose ME?" More Clear
    "Heh heh heh..." Wait(30) NewLine
    "You are but a child." More Clear
    "Yet, I'm glad" NewLine
    "you're here." More Clear
    "I was getting antsy" NewLine
    "waiting around." More Clear
    "This is your final day" NewLine
    "to play the hero." More Clear
    "Heh heh heh..." Wait(30) NewLine
    "No one crosses us!" Wait(60) End

Label(Label15F116)
    AnimateAsha(0, 62, 0) "Heh heh heh..." Wait(30) NewLine
    "I am the Water Wizard!" More Clear
    "Heh heh heh..." Wait(30) NewLine
    "It's no use saving" NewLine
    "the spirits now." More Clear
    "Heh heh heh..." Wait(30) NewLine
    "Everything is going" NewLine
    "according to our plan." More Clear
    "Heh heh heh..." Wait(30) NewLine
    "We couldn't have the" NewLine
    "spirits interfering." More Clear
    "Heh heh heh..." Wait(30) NewLine
    "So, we locked them up." More Clear
    "Now," Wait(30) " heh heh heh!" Wait(30) NewLine
    "Time to do battle!" Wait(60) End

Label(Label15F254)
    AnimateAsha(0, 62, 0) "Heh heh heh..." Wait(30) NewLine
    "I am the Ice Wizard!" More Clear
    "Heh heh heh..." Wait(30) NewLine
    "The people have been" NewLine
    "consumed by darkness." More Clear
    "Heh heh heh..." Wait(30) NewLine
    "They never knew those" NewLine
    "creatures worked for us." More NewLine
    "Heh heh heh..." Wait(30) NewLine
    "You foolish mortals" More Clear
    "welcomed the darkness" NewLine
    "of your own free will!" Wait(60) End

Label(Label15F35B)
    AnimateAsha(0, 62, 0) "Heh heh heh!" Wait(30) NewLine
    "I am the Cloud Wizard!" More Clear
    "Heh heh heh!" Wait(30) NewLine
    "You've done well making" NewLine
    "it this far." More Clear
    "Heh heh heh!" Wait(30) NewLine
    "However," NewLine
    "even if you defeat me," More Clear
    "there is no way to save" NewLine
    "the people of the city." More Clear
    "Heh heh heh!" Wait(30) NewLine
    "It's too late for that." More Clear
    "You may be a hero, but" NewLine
    "you're only a mortal!" More Clear
    "Heh heh heh!" Wait(60) End

Label(Label15F48D)
    SeekIfFalse(Condition010C, Label15F49E)
    "Harumph..." More End

Label(Label15F49E)
    SeekIfFalse(Condition0121, Label15F51B)
    "Harumph..." More NewLine
    "Actually, I'm able to" NewLine
    "speak your language." More NewLine
    "Check the foot of the" NewLine
    "leftmost tree." More NewLine
    "Something weird's there." More End

Label(Label15F51B)
    "Harumph, harumph!" More End

Label(Label15F52E)
    SeekIfFalse(Condition03EB, Label15F592)
    "Monsters have been" NewLine
    "multiplying of late" Wait(30) "..." More NewLine
    "Townspeople always say" NewLine
    "stuff like that in RPGs." More End

Label(Label15F592)
    SeekIfFalse(Condition010B, Label15F5C7)
    "Hmm..." Wait(60) NewLine
    "I forgot what I was" NewLine
    "supposed to say." More End

Label(Label15F5C7)
    SeekIfFalse(Condition010C, Label15F5EB)
    "Hmm..." Wait(60) NewLine
    "I can't remember..." More End

Label(Label15F5EB)
    SeekIfFalse(Condition010D, Label15F61C)
    "Hmm..." Wait(60) NewLine
    "I'm no good at" NewLine
    "memorizing lines." More End

Label(Label15F61C)
    SeekIfFalse(Condition010E, Label15F672)
    "Hmm..." Wait(60) NewLine
    "I just can't remember..." Wait(90) NewLine
    "Oh, wait a second!" More NewLine
    "Nope, can't remember." More End

Label(Label15F672)
    SeekIfFalse(Condition03E9, Label15F6A2)
    "Hmm..." Wait(60) NewLine
    "It's on the tip of" NewLine
    "my tongue..." More End

Label(Label15F6A2)
    "Ah!" Wait(60) NewLine
    "I remember now!" More Clear
    "This is my line!" More Clear
    "Are you ready?" Wait(30) NewLine
    "Listen carefully, now." More Clear
    "Welcome to" NewLine
    "Monster World!" More Clear
    Wait(90) "Too bad it's way too" NewLine
    "late to say that." More End

Label(Label15F740)
    "Though you bear grave" NewLine
    "wounds," More Clear
    "still you insist on" NewLine
    "defying us?" More Clear
    "You humans are truly" NewLine
    "foolish creatures." More Clear
    "Very well!" Wait(60) " If you" NewLine
    "are so eager to die," More Clear
    "I shall turn you to" NewLine
    "stone for all eternity!" Wait(90) End

Label(Label15F807)
    "Ngh..." Wait(60) Clear
    "Oomph!" Wait(90) Clear
    "This...this can't be." More Clear
    "I am defeated?" More Clear
    "By a mere mortal?" NewLine
    "A single puny human?" More Clear
    "Nooooooooo!" Wait(120) End

Label(Label15F87E)
    "No way! Noooo way!" Wait(60) NewLine
    "You're not summoning me" NewLine
    "in a place like this!" More End

Label(Label15F8C3)
    AnimateAsha(0, 62, 0) "Your Majesty," Wait(60) NewLine
    "how about asking this" NewLine
    "young lady?" More End

Label(Label15F8FC)
    AnimateAsha(0, 62, 0) "Hmmm..." Wait(60) NewLine
    "Yes, perhaps it's fate" NewLine
    "that brought her here." More NewLine
    "..." Wait(60) NewLine
    "Asha, noble warrior," NewLine
    "we need your help." More NewLine
    "I have dire news." Wait(30) NewLine
    "Something is happening" NewLine
    "to the four spirits that" More NewLine
    "have protected this land" NewLine
    "for age upon age." More NewLine
    "The dark clouds in the" NewLine
    "far sky are an ill omen." More NewLine
    "If this should continue," NewLine
    "this city will be" NewLine
    "shrouded in darkness." More Clear
    "So it is I beseech you." More Clear
    "Save the four spirits" More Clear
    "and defeat the power of" NewLine
    "darkness that has" More NewLine
    "spawned the dark clouds." More Clear
    SetTrue(Condition0132)
    PauseSound "Please say" NewLine
    "you'll help us." Prompt(Condition0027) JumpIfNo(Label15FB57)
Label(Label15FAF1)
    PlaySound(Jungle5) Clear
    "You will?!" More NewLine
    "Thank you, on behalf of" NewLine
    "all our people." More Clear
    ResumeSound SetTrue(Condition0131)
    "You must first save" NewLine
    "the Earth Spirit." More End

Label(Label15FB57)
    SetTrue(Condition0137)
    SetTrue(Condition0135)
    Clear
    Wait(120) "Oh, I see..." Wait(60) NewLine
    "What a pity." Wait(90) " No..." Wait(60) NewLine
    "It was foolish of me to" NewLine
    "ask a stranger." More Clear
    "Forgive me." More Clear
    "Don't worry, we will" NewLine
    "handle this ourselves." Wait(60) ResumeSound End

Label(Label15FBF4)
    SeekIfFalse(Condition0131, Label15FC3B)
    PauseSound "Did you change" NewLine
    "your mind?" Prompt(Condition0027) JumpIfNo(Label15FC20) Seek(Label15FAF1)

Label(Label15FC20)
    Clear
    "I expected as much." Wait(60) ResumeSound End

Label(Label15FC3B)
    SeekIfFalse(Condition03EB, Label15FC97)
    "Go to the vault" NewLine
    "here in this palace." More NewLine
    "There's an item that'll" NewLine
    "unlock the temple door." More End

Label(Label15FC97)
    SeekIfFalse(Condition010B, Label15FD95)
    "Oh, my." Wait(60) NewLine
    "What a strange Pepelogoo" NewLine
    "you have there." More NewLine
    "Really...?" Wait(30) " He was" NewLine
    "in the vault?" More NewLine
    "I didn't know that." More Clear
    "But I don't mind." More Clear
    "You may keep him." More Clear
    "As you can see," Wait(30) NewLine
    "I already" NewLine
    "have my own." More NewLine
    "Besides," More NewLine
    "the Pepelogoo is already" NewLine
    "quite fond of you." More End

Label(Label15FD95)
    "I heard you have saved" NewLine
    "the Earth Spirit." More NewLine
    "I'm so glad I asked you" NewLine
    "to help us." More Clear
    "But three yet remain." More Clear
    "Please hurry." More Clear
    "I feel something bad is" NewLine
    "going to happen." More NewLine
    "I hope my fears are" NewLine
    "unfounded, but..." More End

Label(Label15FE5E)
    "The Queen has a heart" NewLine
    "of gold." More End

Label(Label15FE7E)
    SeekIfFalse(Condition0131, Label15FEC7)
    "I would also ask you..." More NewLine
    "Please grant Her Majesty" NewLine
    "what she wishes." More End

Label(Label15FEC7)
    SeekIfFalse(Condition010B, Label15FEF1)
    "You may be the ray of" NewLine
    "hope we need." More End

Label(Label15FEF1)
    "They say there's an" NewLine
    "odd house in the city." More NewLine
    "You may find some hints" NewLine
    "there." More End

Label(Label15FF3D)
    "This is the vault." More NewLine
    "None may enter without" NewLine
    "Her Majesty's approval." More End

Label(Label15FF81)
    "Ho ho ho!" Wait(30) NewLine
    SeekIfFalse(Condition0131, Label15FFB1)
    "You should go see" NewLine
    "the Queen." More End

Label(Label15FFB1)
    "This is the temple." More NewLine
    "It has strange gates to" NewLine
    "where the spirits live." More NewLine
    "But not so fast." More NewLine
    "The area behind each" NewLine
    "gate is full of peril." More NewLine
    "So, how about wearing" NewLine
    "some better armor?" More NewLine
    "Forgive my meddling." Wait(30) NewLine
    "Ho ho ho." Wait(30) End

Label(Label160085)
    "Ho ho ho!" Wait(30) NewLine
    SeekIfFalse(Condition012C, Label160170)
    SeekIfFalse(Condition010C, Label160143)
    SeekIfFalse(Condition012B, Label160170)
    SeekIfTrue(Condition010B, Label160170)
    "That blue Pepelogoo" NewLine
    "looks quite helpful." More NewLine
    "Why don't you give him" NewLine
    "a Pepe Fruit?" More NewLine
    "It's like catnip to a" NewLine
    "cat." More NewLine
    "Give him one and you're" NewLine
    "sure to make him happy." More End

Label(Label160143)
    "Your Pepelogoo may want" NewLine
    "another Pepe Fruit." More End

Label(Label160170)
    "I am sorry you were" NewLine
    "born in such hard times." More End

Label(Label16019E)
    "A black one-eyed monster" More NewLine
    "just pierced the floor" NewLine
    "with great momentum." More End

Label(Label1601E5)
    "Use your Pepelogoo" NewLine
    "to double-jump." More End

Label(Label160209)
    "The entrance is at the" NewLine
    "top of these mountains." More End

Label(Label160239)
    ToggleCanSpeedUp "How much longer will you" NewLine
    "continue to pray?" Wait(90) Clear
    "It'll get you nowhere." NewLine
    "That blue Pepelogoo" NewLine
    "will never return." Wait(90) Clear
    "He has already gone to" NewLine
    "a faraway place." Wait(90) Clear
    "Cheer up." Wait(60) Clear
    "Don't let it get you" NewLine
    "down." Wait(90) Clear
    "You must live your life," Wait(90) NewLine
    "the life he gave to you." Clear
    "It's time for you to" NewLine
    "forget--" Wait(60) " Oh..." Wait(60) NewLine
    Animate(Entity(1), 24, 76, 2, 8) "What's this?!" Wait(60) Clear
    Animate(Entity(0), 24, 80, 2, 0) Wait(60) "It appears..." Wait(60) NewLine
    "your prayers have at" NewLine
    "long last been granted!" Wait(90) End

Label(MagicMerchant)
    "Whoa!" NewLine
    "Looks like you found me." More NewLine
    "I'm the Magic Merchant." Wait(30) NewLine
    Price(9999) Sell "I was hiding here for" NewLine
    "debugging purposes." Wait(60) Merchant([Some(LegendarySword), Some(LegendShield), Some(DebugArmor3)], 4, 2) "It's a secret to most." Wait(30) End

Label(Label160459)
    ToggleCanSpeedUp "And so" Wait(30) " our tale draws to" NewLine
    "an end." NewLine
    "Asha was victorious." Wait(90) Clear
    "Peace had returned to" NewLine
    "Monster World." Wait(90) NewLine
    "You know," Wait(30) " happily ever" NewLine
    "after and all that?" Wait(90) Clear
    "It is all thanks to your" NewLine
    "amazing gameplay." Wait(90) Clear
    "This is the end of the" NewLine
    "Monster World series." Wait(90) NewLine
    "...Or is it?" Wait(90) Clear
    "At least, my work is" NewLine
    "done for now." Wait(90) Clear
    "What?" NewLine
    "You'll miss me?" Wait(90) Clear
    "Well, if you wish hard," Wait(60) Clear
    "perhaps I'll pay you a" NewLine
    "visit in your dreams." Wait(90) Clear
    "Heh heh heh!" Wait(60) Clear
    "See you in lullaby land!" Wait(90) Clear
    "Well," Wait(30) " sayonara!" Wait(120) End

Label(Label160634)
    AnimateAsha(0, 62, 8) "Oh, this is terrible!" Wait(60) NewLine
    "A servant of darkness" NewLine
    "now visits me!" More Clear
    "Look! Over there!" More End

Label(Label16068C)
    "Gee gee..." More End

Label(Label160698)
    "The Queen is ill." More NewLine
    "You cannot see her now." More End

Label(Label1606C4)
    "It's not safe around" NewLine
    "here anymore." More NewLine
    "That's why we're on" NewLine
    "alert like this." More End

Label(Label16070E)
    "What's going on? The" NewLine
    "men shirk their duties." More NewLine
    "Palace security has" NewLine
    "grown weak." More End

Label(Label16075D)
    "Heh heh heh..." Wait(30) NewLine
    "How could the Flame" NewLine
    "Wizard have failed?" More Clear
    "Heh heh heh..." Wait(30) NewLine
    "Perhaps we under-" NewLine
    "estimated these mortals." More Clear
    "Heh heh heh..." Wait(30) NewLine
    "Oh, did I just say that" NewLine
    "out loud? Never mind." More Clear
    "Heh heh heh..." More End

Label(Label16082A)
    "Heh heh heh..." Wait(30) NewLine
    SeekIfFalse(Condition010C, Label1608FD)
    "They have spread far and" NewLine
    "wide, just as planned." More Clear
    "Heh heh heh..." Wait(30) NewLine
    "We shall accomplish our" NewLine
    "goals soon." More Clear
    "Heh heh heh..." Wait(30) NewLine
    "Oh, did I just say that" NewLine
    "out loud? Never mind." More Clear
    "Heh heh heh..." More End

Label(Label1608FD)
    "So, the Water Wizard" NewLine
    "was also defeated." More Clear
    "Heh heh heh..." Wait(30) NewLine
    "Who the heck--" More Clear
    "Heh heh heh..." Wait(30) NewLine
    "Oh, did I just say that" NewLine
    "out loud? Never mind." More Clear
    "Heh heh heh..." More End

Label(Label16099C)
    "Heh heh heh!" Wait(30) NewLine
    "I am the Cloud Wizard!" More Clear
    "Whoops!" Wait(60) NewLine
    "Forget I just said that." More Clear
    "Heh heh heh!" More End

Label(Label1609F9)
    SeekIfFalse(Condition012F, Label160B55)
    "By any chance..." Wait(60) NewLine
    "Are you the" NewLine
    "hero?" Prompt(Condition0027) JumpIfNo(Label160BB2) Clear
    "Really?" More NewLine
    "I wasn't expecting a" NewLine
    "young lady." More NewLine
    "What a big surprise!" More NewLine
    "No wonder I had a hard" NewLine
    "time finding you." More Clear
    "Oh!" Wait(30) " Do forgive me." More NewLine
    "I'm a Sky Dweller." More NewLine
    "I came here from above" NewLine
    "the clouds seeking help." More NewLine
    "We had lived with the" NewLine
    "Wind Spirit--" More NewLine
    "What?" Wait(60) NewLine
    "You've heard all this?!" More NewLine
    "Then I'll be brief." More NewLine
    SetTrue(Condition012F)

Label(Label160B55)
    "The Wind Medallion is in" NewLine
    "the hands of the Queen." More NewLine
    "You must go save her" NewLine
    "as soon as possible." More End

Label(Label160BB2)
    Clear
    "I see..." Wait(60) NewLine
    "Sorry, I thought you" NewLine
    "were the hero." More End

Label(Label160BE5)
    SeekIfFalse(Condition0130, Label160CC9)
    "I'm sorry for your loss." More Clear
    "But a warrior should not" NewLine
    "grieve so." More Clear
    "Though your Pepelogoo" NewLine
    "has transformed," More NewLine
    "he still answers when we" NewLine
    "call to him." More NewLine
    "So, it seems he yet" NewLine
    "lives." More Clear
    "All we can do is wait" NewLine
    "to see what happens." More NewLine
    SetTrue(Condition0130)
    Seek(Label160D01)

Label(Label160CC9)
    "The fate of Monster" NewLine
    "World rests with you." More Clear
    "Good luck!" More NewLine

Label(Label160D01)
    "Oh, and by the way..." More NewLine
    "Want to save?" NewLine
    Prompt(Condition0027) JumpIfNo(Label158CCC) Save(SavePointF7)

Label(Label160D32)
    SeekIfFalse(Condition0120, Label160DDB)
    "I got the medallion" NewLine
    "while you were fighting." More NewLine
    "But..." Wait(60) NewLine
    "I see you lost your" NewLine
    "precious little friend." More NewLine
    "I'm so sorry..." More Clear
    "To think the Queen had" NewLine
    "changed like that..." More NewLine

Label(Label160DDB)
    "I have no words to" NewLine
    "comfort your sorrow." More End

Label(Label160E04)
    "Monsters..." NewLine
    "Hrgh! Hrgh!" More Clear
    "Have been..." NewLine
    "Hrgh! Hrgh!" More Clear
    "Multiplying of late." NewLine
    "Hrgh! Hrgh!" More Clear
    "So, we must..." NewLine
    "Hrgh! Hrgh!" More Clear
    "Train hard..." NewLine
    "Hrgh! Hrgh!" More Clear
    "For the coming battle." NewLine
    "Hrgh! Hrgh!" More Clear
    "*huff* *puff*" More End

Label(Label160EC9)
    SeekIfFalse(Condition010B, Label160EE1)
    "Hi-yah!" NewLine
    "One, two!" More End

Label(Label160EE1)
    SeekIfFalse(Condition010C, Label160EFC)
    "Hi-yah!" NewLine
    "Three, four!" More End

Label(Label160EFC)
    "Hi-yah!" NewLine
    "Five, six!" More End

Label(Label160F10)
    "Heh heh heh!" Wait(30) NewLine
    "Is it you who defeated" NewLine
    "the Ice Wizard?!" More NewLine
    "Heh heh heh!" Wait(30) NewLine
    "No, that cannot be." More End

Label(Label160F6E)
    "The Queen seems to be in" NewLine
    "quite a sour mood." More Clear
    "I wonder why?" More End

Label(Label160FAB)
    "What a great discovery." More NewLine
    "Never knew there was a" NewLine
    "fortress underground." More End

Label(Label160FF2)
    "Pui, pui!" GainHearts(30) Wait(60) End

Label(Label161002)
    SetTrue(Condition01C2)
    "What?!" Wait(60) NewLine
    "What am I doing here?" More NewLine
    "Wh-What is that strange" NewLine
    "blue monster there?" More End

Label(Label161053)
    "Ho ho ho!" Wait(30) NewLine
    SeekIfFalse(Condition014e, Label1611B2)
    SetTrue(Condition014e)
    "I am the world-famous" NewLine
    "Sage of Save." More NewLine
    "What?" Wait(60) " Never heard of me?" Wait(30) NewLine
    "Ho ho ho!" More NewLine
    "Well, you're still" NewLine
    "green, my young warrior." More NewLine
    "We shall meet many times" NewLine
    "before this tale ends." More Clear
    "The pleasure's all mine!" More NewLine
    "By the way," Wait(60) NewLine
    "you won't find the tower" More NewLine
    "until the crystal is" NewLine
    "used in the right place." More "Keep that in mind." More NewLine
    "Oh, and by the way..." More NewLine

Label(Label1611B2)
    "Want to save?" NewLine
    Prompt(Condition0027) JumpIfNo(Label159082) Save(SavePointEA)

Label(Label1611CC)
    "Ho ho ho!" Wait(30) NewLine
    "Want to save?" NewLine
    Prompt(Condition0027) JumpIfNo(Label159082) Save(SavePointE9)

Label(Label1611F3)
    "Too faint to hear." More End

Label(Label161207)
    SeekIfFalse(Condition03E9, Label161325)
    "We returned to normal" NewLine
    "size thanks to you." More NewLine
    "It was really kind of" NewLine
    "you to help us." More Clear
    "My brother told me that" More NewLine
    "your dear friend was in" NewLine
    "critical condition." More NewLine
    "There is very little" NewLine
    "we can do about that." More NewLine
    "But we will pray for" NewLine
    "your friend..." More NewLine
    "in the hope he will be" NewLine
    "back on his feet soon." More End

Label(Label161325)
    "I'm so glad that your" NewLine
    "friend's back!" More NewLine
    "Our prayers paid off." More End

Label(Label161362)
    SeekIfFalse(Condition03E9, Label1613D4)
    "Thank you very much" NewLine
    "for saving my friends!" More NewLine
    "The Queen is even harder" NewLine
    "to deal with now." More Clear
    "Please be careful." More End

Label(Label1613D4)
    "The one who controlled" NewLine
    "the wizards yet remains." More Clear
    "You must stop this evil!" More End

Label(Label161420)
    SeekIfFalse(Condition0000, Label161552)
    SetTrue(Condition0000)
    "Are you the hero?" Wait(60) NewLine
    "Gods be praised!" Wait(30) NewLine
    "So my brother DID make" NewLine
    "it safely to the city!" More Clear
    "I am so relieved." More Clear
    "We were shrunk down, as" NewLine
    "you can plainly see." More NewLine
    "We cannot escape" NewLine
    "from here." More NewLine
    "To return to our normal" NewLine
    "size, we must enter" NewLine
    "the other magic gate." More NewLine
    "But a monster guards it." NewLine
    "We dare not go near." More NewLine

Label(Label161552)
    "Brave hero, please" NewLine
    "defeat the monster." More End

Label(Label16157A)
    "Banish darkness. Bring" NewLine
    "light unto this land." More End

Label(Label1615A8)
    "Ho ho ho!" More NewLine
    "Want to save?" NewLine
    Prompt(Condition0027) JumpIfNo(Label159082) Save(SavePointEB)

Label(Label1615CD)
    SeekIfFalse(Condition03E9, Label161636)
    "Oh, great gods" NewLine
    "of the heavens..." More End

Label(Label1615F4)
    SeekIfFalse(Condition03E9, Label161636)
    "Hocus pocus..." More End

Label(Label161609)
    SeekIfFalse(Condition03E9, Label161636)
    "Abracadabra..." More End

Label(Label16161E)
    SeekIfFalse(Condition03E9, Label161636)
    "*mumble* *mumble*" More End

Label(Label161636)
    "It's time to vanquish" NewLine
    "the power of darkness." More End

Label(Label161664)
    "Press Right or Left" NewLine
    "twice to run." More End

Label(Label161687)
    "Press Down+C to jump off" NewLine
    "a platform." More End

Label(Label1616AD)
    "Ho ho ho!" Wait(30) NewLine
    "This tower tests your" NewLine
    "strength as a warrior." More NewLine
    "Make use of the skills" NewLine
    "you've learned so far." More NewLine
    "But first..." More NewLine
    "Want to save?" NewLine
    Prompt(Condition0027) JumpIfNo(Label159082) Save(SavePointEC)

Label(Label16173F)
    SetTrue(Condition0007)
    "You found a treasure" NewLine
    "chest near a tree root!" More End

Label(Label161770)
    SeekIfFalse(Condition03EB, Label1617D5)
    "Welcome to Rapadagna!" More Clear
    "This is the Holy Spring." More NewLine
    "The town is to the east." NewLine
    "The palace is west." More End

Label(Label1617D5)
    "I've never seen a" Wait(30) NewLine
    "blue " Character(Pepelogoo) "!" More End

Label(Label1617F4)
    "Pepelogoos like heat." More End

Label(Label16180B)
    "I will punish those who" NewLine
    "try to take all." More NewLine
    "I will reward those who" NewLine
    "leave one." More End

Label(Label161859)
    SeekIfFalse(Condition01B5, Label161945)
    SeekIfFalse(Condition0004, Label161945)
    PlaySound(Jungle5) Wait(60) "I'm the Chest Spirit." More NewLine
    "I'll give you the" NewLine
    "treasure you want." More
Label(Label1618A4)
    Clear
    Item(HealingMedicine) NewLine
    "you say?" Prompt(Condition0027) JumpIfNo(Label1618C0) SetTrue(Condition0000)
    Seek(Label161986)

Label(Label1618C0)
    Clear
    "Do you desire a" NewLine
    "Life drop?" Prompt(Condition0027) JumpIfNo(Label1618EB) SetTrue(Condition0001)
    Seek(Label161986)

Label(Label1618EB)
    Clear
    "Do you desire a" NewLine
    Item(GoldBar) "?" Prompt(Condition0027) JumpIfNo(Label16190F) SetTrue(Condition0002)
    Seek(Label161986)

Label(Label16190F)
    Clear
    "What? You don't" NewLine
    "want anything?" Prompt(Condition0027) JumpIfNo(Label16196C) Clear
    "Then..." Wait(60) NewLine

Label(Label161945)
    "Want to save?" Prompt(Condition0027) JumpIfNo(Label16195E) Save(SavePointED)

Label(Label16195E)
    Clear
    "I'm bored." More End

Label(Label16196C)
    Clear
    "Hurry up and decide." More Seek(Label1618A4)

Label(Label161986)
    Clear
    SetTrue(Condition0004)
    "Here it is!" More End

Label(Label161998)
    "Please be careful." More End

Label(Label1619AC)
    SeekIfFalse(Condition01C3, Label161A8B)
    SetTrue(Condition01C3)
    "Oh, I see..." More NewLine
    "It seems I've caused you" NewLine
    "all so much trouble." More Clear
    "Please forgive me." More Clear
    "I was shocked to see" NewLine
    "they used these sweet" More NewLine
    "Pepelogoos for such" NewLine
    "evil purposes." More Clear
    "I'll never forgive them." More Clear
    "They must be defeated!" More End

Label(Label161A8B)
    "Could it be that" NewLine
    "your Pepelogoo is" More NewLine
    "one of their ancestors" NewLine
    "from long, long ago?" More End

Label(Label161ADC)
    SeekIfFalse(Condition01C4, Label161CC7)
    "It's too great of a risk" NewLine
    "to see her Majesty now." More Clear
    "I cannot let you pass." More NewLine
    "But I believe you" NewLine
    "already know that." More Clear
    "Yet, we must..." More NewLine
    "we must do something to" NewLine
    "save the Queen." More NewLine
    "Lady " Character(Asha) "..." Wait(30) NewLine
    "Do you have" NewLine
    "a plan?" Prompt(Condition0027) JumpIfNo(Label161C36) Clear
    "You'll have to do better" NewLine
    "than that to fool ME!" More NewLine
    "I cannot let you pass," NewLine
    "Lady " Character(Asha) "," More NewLine
    "knowing it would place" NewLine
    "you in great peril." More End

Label(Label161C36)
    SetTrue(Condition01C4)
    Clear
    ToggleCanSpeedUp "What's this?!" Wait(20) "!" Wait(20) "!" Wait(20) "!" Wait(60) ToggleCanSpeedUp Clear
    "You mean..." More NewLine
    "you'll save her despite" NewLine
    "such great peril?!" More NewLine
    "Hmm..." Wait(30) NewLine
    "I cannot obstruct" NewLine
    "such determination." More NewLine

Label(Label161CC7)
    CheckCanGainHearts(54) "Allow me to heal you." NewLine
    "It's all I can do now." More GainHearts(30) Wait(30) NewLine
    SetTrue(Condition0001)
    "May the gods favor you." More End

Label(Label161D1B)
    "Ho ho ho!" Wait(30) NewLine
    "I bet you're sure glad" NewLine
    "to see me!" More NewLine
    "Want to save?" NewLine
    Prompt(Condition0027) JumpIfNo(Label159082) Save(SavePointEE)
    End
    ];

pub const INDEXED: &[usize] = &[
    find_label(SCRIPTS, Label15821A),
    find_label(SCRIPTS, Label158222),
    find_label(SCRIPTS, EstafanCowMunch),
    find_label(SCRIPTS, AshaPrays),
    find_label(SCRIPTS, PepelogooHasGrown),
    find_label(SCRIPTS, ItemObtained),
    find_label(SCRIPTS, ItemFound),
    find_label(SCRIPTS, RapadagnaCastleEntranceGuard),
    find_label(SCRIPTS, Label158422),
    find_label(SCRIPTS, RapadagnaCastleAccolade),
    find_label(SCRIPTS, EstafanVillageTitleCard),
    find_label(SCRIPTS, AshaCanPressSwitches),
    find_label(SCRIPTS, Label1586E3),
    find_label(SCRIPTS, IcePyramid2TitleCard),
    find_label(SCRIPTS, IcePyramid3TitleCard),
    find_label(SCRIPTS, Label15879E),
    find_label(SCRIPTS, Label1587CA),
    find_label(SCRIPTS, Label15881F),
    find_label(SCRIPTS, Label15885A),
    find_label(SCRIPTS, Label1588A5),
    find_label(SCRIPTS, AttentionAdventurers1),
    find_label(SCRIPTS, AttentionAdventurers2),
    find_label(SCRIPTS, Label158918),
    find_label(SCRIPTS, GiantRock),
    find_label(SCRIPTS, Label158951),
    find_label(SCRIPTS, CanTurnWithShieldOut),
    find_label(SCRIPTS, Label1589AE),
    find_label(SCRIPTS, DoorLocked),
    find_label(SCRIPTS, Label1589F1),
    find_label(SCRIPTS, PromptBuyQuit),
    find_label(SCRIPTS, Label158A91),
    find_label(SCRIPTS, Label158A91),
    find_label(SCRIPTS, Label158AB0),
    find_label(SCRIPTS, Label158AFD),
    find_label(SCRIPTS, Label158B29),
    find_label(SCRIPTS, Label158B59),
    find_label(SCRIPTS, Label158B76),
    find_label(SCRIPTS, Label158BA5),
    find_label(SCRIPTS, PromptYesNo1),
    find_label(SCRIPTS, Label158CFC),
    find_label(SCRIPTS, Label158D28),
    find_label(SCRIPTS, Label158E27),
    find_label(SCRIPTS, Label158E3D),
    find_label(SCRIPTS, Label158E65),
    find_label(SCRIPTS, Label158EB0),
    find_label(SCRIPTS, Label15903D),
    find_label(SCRIPTS, Sphinx),
    find_label(SCRIPTS, SphinxRiddle01),
    find_label(SCRIPTS, SphinxRiddle02),
    find_label(SCRIPTS, SphinxRiddle03),
    find_label(SCRIPTS, SphinxRiddle04),
    find_label(SCRIPTS, SphinxRiddle05),
    find_label(SCRIPTS, SphinxRiddle06),
    find_label(SCRIPTS, SphinxRiddle07),
    find_label(SCRIPTS, SphinxRiddle08),
    find_label(SCRIPTS, SphinxRiddle09),
    find_label(SCRIPTS, SphinxRiddle10),
    find_label(SCRIPTS, SphinxRiddle11),
    find_label(SCRIPTS, SphinxRiddle12),
    find_label(SCRIPTS, SphinxRiddle13),
    find_label(SCRIPTS, SphinxRiddle14),
    find_label(SCRIPTS, SphinxRiddle15),
    find_label(SCRIPTS, SphinxRiddle16),
    find_label(SCRIPTS, SphinxRiddle17),
    find_label(SCRIPTS, SphinxRiddle18),
    find_label(SCRIPTS, SphinxRiddle19),
    find_label(SCRIPTS, SphinxRiddle20),
    find_label(SCRIPTS, Label15988C),
    find_label(SCRIPTS, AttentionAdventurers3),
    find_label(SCRIPTS, AttentionAdventurers4),
    find_label(SCRIPTS, Label1598E2),
    find_label(SCRIPTS, Label159932),
    find_label(SCRIPTS, Label15994A),
    find_label(SCRIPTS, Label159961),
    find_label(SCRIPTS, Label15998E),
    find_label(SCRIPTS, Label1599C8),
    find_label(SCRIPTS, Label1599F3),
    find_label(SCRIPTS, Label159A70),
    find_label(SCRIPTS, Label159AA4),
    find_label(SCRIPTS, Label159AE9),
    find_label(SCRIPTS, Label159B17),
    find_label(SCRIPTS, Label159B50),
    find_label(SCRIPTS, Label159B8C),
    find_label(SCRIPTS, Label159BC8),
    find_label(SCRIPTS, Label159BF6),
    find_label(SCRIPTS, Label159C10),
    find_label(SCRIPTS, Label159C3F),
    find_label(SCRIPTS, Label159CB7),
    find_label(SCRIPTS, Label159CC5),
    find_label(SCRIPTS, Label159CD3),
    find_label(SCRIPTS, Label159CE1),
    find_label(SCRIPTS, Label159CEF),
    find_label(SCRIPTS, Label159CFD),
    find_label(SCRIPTS, Label159D0B),
    find_label(SCRIPTS, Label159D19),
    find_label(SCRIPTS, Label159D27),
    find_label(SCRIPTS, Label159D3A),
    find_label(SCRIPTS, Label159D4D),
    find_label(SCRIPTS, Label159D56),
    find_label(SCRIPTS, RapadagnaCityTitleCard),
    find_label(SCRIPTS, HanderaVolcanoTitleCard),
    find_label(SCRIPTS, StreamSanctuaryTitleCard),
    find_label(SCRIPTS, IcePyramid1TitleCard),
    find_label(SCRIPTS, SkyCastleTitleCard),
    find_label(SCRIPTS, PromptYesNo2),
    find_label(SCRIPTS, EarthGateUnlocked),
    find_label(SCRIPTS, MoonGateUnlocked),
    find_label(SCRIPTS, SunGateUnlocked),
    find_label(SCRIPTS, WindGateUnlocked),
    find_label(SCRIPTS, EarthGateLocked),
    find_label(SCRIPTS, MoonGateLocked),
    find_label(SCRIPTS, SunGateLocked),
    find_label(SCRIPTS, WindGateLocked),
    find_label(SCRIPTS, FoundBigHeart),
    find_label(SCRIPTS, FoundHealingMedecine),
    find_label(SCRIPTS, EstafanAshaFatherCallsAsha),
    find_label(SCRIPTS, TowerOfSilenceTitleCard),
    find_label(SCRIPTS, UndergroundFortTitleCard),
    find_label(SCRIPTS, Label15A001),
    find_label(SCRIPTS, Label15A154),
    find_label(SCRIPTS, Label15A165),
    find_label(SCRIPTS, Label15A189),
    find_label(SCRIPTS, Label15A21C),
    find_label(SCRIPTS, Label15A35A),
    find_label(SCRIPTS, Label15A4C8),
    find_label(SCRIPTS, Label15A4DC),
    find_label(SCRIPTS, Label15A521),
    find_label(SCRIPTS, HeardVoices1),
    find_label(SCRIPTS, HeardVoices2),
    find_label(SCRIPTS, HeardVoices3),
    find_label(SCRIPTS, HeardVoices4),
    find_label(SCRIPTS, Label15A66D),
    find_label(SCRIPTS, Label15A66D),
    find_label(SCRIPTS, EstafanAshaMother1),
    find_label(SCRIPTS, Label15A88F),
    find_label(SCRIPTS, Label15A977),
    find_label(SCRIPTS, Label15A9A8),
    find_label(SCRIPTS, Label15AB69),
    find_label(SCRIPTS, Label15AD21),
    find_label(SCRIPTS, ItemAshaSword),
    find_label(SCRIPTS, ItemKhanSword),
    find_label(SCRIPTS, ItemShahSword),
    find_label(SCRIPTS, ItemCyrusSword),
    find_label(SCRIPTS, ItemCaliphSword),
    find_label(SCRIPTS, ItemIshtarSword),
    find_label(SCRIPTS, ItemSwordOfBabel),
    find_label(SCRIPTS, ItemLegendarySword),
    find_label(SCRIPTS, ItemPlainShield),
    find_label(SCRIPTS, ItemFlameShield),
    find_label(SCRIPTS, ItemThunderShield),
    find_label(SCRIPTS, ItemIceShield),
    find_label(SCRIPTS, ItemSteelShield),
    find_label(SCRIPTS, ItemRainbowShield),
    find_label(SCRIPTS, ItemMagicShield),
    find_label(SCRIPTS, ItemLegendShield),
    find_label(SCRIPTS, ItemTravelerArmor),
    find_label(SCRIPTS, ItemWarriorArmor),
    find_label(SCRIPTS, ItemKnightArmor),
    find_label(SCRIPTS, ItemHeroArmor),
    find_label(SCRIPTS, ItemLegendaryArmor),
    find_label(SCRIPTS, ItemLegendaryArmor),
    find_label(SCRIPTS, Label15B6EB),
    find_label(SCRIPTS, ItemDebugArmor),
    find_label(SCRIPTS, Label15B701),
    find_label(SCRIPTS, Label15B719),
    find_label(SCRIPTS, Label15B7D4),
    find_label(SCRIPTS, Label15B84D),
    find_label(SCRIPTS, Label15B8D0),
    find_label(SCRIPTS, Label15B8D3),
    find_label(SCRIPTS, Label15B8E3),
    find_label(SCRIPTS, Label15B8F3),
    find_label(SCRIPTS, Label15B8FF),
    find_label(SCRIPTS, Label15B918),
    find_label(SCRIPTS, Label15B946),
    find_label(SCRIPTS, Label15B97A),
    find_label(SCRIPTS, Label15B986),
    find_label(SCRIPTS, Label15B9D0),
    find_label(SCRIPTS, Label15BAC0),
    find_label(SCRIPTS, Label15BB1D),
    find_label(SCRIPTS, Label15BBC3),
    find_label(SCRIPTS, Label15BCCC),
    find_label(SCRIPTS, Label15BCEE),
    find_label(SCRIPTS, Label15BD3B),
    find_label(SCRIPTS, Label15BD62),
    find_label(SCRIPTS, SavedWindSpirit),
    find_label(SCRIPTS, SavedMoonSpirit),
    find_label(SCRIPTS, SavedSunSpirit),
    find_label(SCRIPTS, SavedEarthSpirit),
    find_label(SCRIPTS, Label15C38D),
    find_label(SCRIPTS, Label15C3ED),
    find_label(SCRIPTS, Label15C4FB),
    find_label(SCRIPTS, Label15C524),
    find_label(SCRIPTS, Label15C725),
    find_label(SCRIPTS, Label15C931),
    find_label(SCRIPTS, Label15D093),
    find_label(SCRIPTS, Label15D4D9),
    find_label(SCRIPTS, Label15DB2A),
    find_label(SCRIPTS, Label15DFD5),
    find_label(SCRIPTS, Label15E270),
    find_label(SCRIPTS, Label15E4CD),
    find_label(SCRIPTS, Label15E5C5),
    find_label(SCRIPTS, Label15EA7F),
    find_label(SCRIPTS, Label15EF22),
    find_label(SCRIPTS, Label15EFC9),
    find_label(SCRIPTS, Label15EFED),
    find_label(SCRIPTS, Label15F116),
    find_label(SCRIPTS, Label15F254),
    find_label(SCRIPTS, Label15F35B),
    find_label(SCRIPTS, Label15F48D),
    find_label(SCRIPTS, Label15F52E),
    find_label(SCRIPTS, Label15F740),
    find_label(SCRIPTS, Label15F807),
    find_label(SCRIPTS, Label15F87E),
    find_label(SCRIPTS, Label15F8C3),
    find_label(SCRIPTS, Label15F8FC),
    find_label(SCRIPTS, Label15FBF4),
    find_label(SCRIPTS, Label15FE5E),
    find_label(SCRIPTS, Label15FE7E),
    find_label(SCRIPTS, Label15FF3D),
    find_label(SCRIPTS, Label15FF81),
    find_label(SCRIPTS, Label160085),
    find_label(SCRIPTS, Label16019E),
    find_label(SCRIPTS, Label1601E5),
    find_label(SCRIPTS, Label160209),
    find_label(SCRIPTS, Label160239),
    find_label(SCRIPTS, MagicMerchant),
    find_label(SCRIPTS, Label160459),
    find_label(SCRIPTS, Label160634),
    find_label(SCRIPTS, Label16068C),
    find_label(SCRIPTS, Label160698),
    find_label(SCRIPTS, Label1606C4),
    find_label(SCRIPTS, Label16070E),
    find_label(SCRIPTS, Label16075D),
    find_label(SCRIPTS, Label16082A),
    find_label(SCRIPTS, Label16099C),
    find_label(SCRIPTS, Label1609F9),
    find_label(SCRIPTS, Label160BE5),
    find_label(SCRIPTS, Label160D32),
    find_label(SCRIPTS, Label160E04),
    find_label(SCRIPTS, Label160EC9),
    find_label(SCRIPTS, Label160F10),
    find_label(SCRIPTS, Label160F6E),
    find_label(SCRIPTS, Label160FAB),
    find_label(SCRIPTS, Label160FF2),
    find_label(SCRIPTS, Label161002),
    find_label(SCRIPTS, Label161053),
    find_label(SCRIPTS, Label1611CC),
    find_label(SCRIPTS, Label1611F3),
    find_label(SCRIPTS, Label161207),
    find_label(SCRIPTS, Label161362),
    find_label(SCRIPTS, Label161420),
    find_label(SCRIPTS, Label16157A),
    find_label(SCRIPTS, Label1615A8),
    find_label(SCRIPTS, Label1615CD),
    find_label(SCRIPTS, Label1615F4),
    find_label(SCRIPTS, Label161609),
    find_label(SCRIPTS, Label16161E),
    find_label(SCRIPTS, Label161664),
    find_label(SCRIPTS, Label161687),
    find_label(SCRIPTS, Label1616AD),
    find_label(SCRIPTS, Label16173F),
    find_label(SCRIPTS, Label161770),
    find_label(SCRIPTS, Label1617F4),
    find_label(SCRIPTS, Label16180B),
    find_label(SCRIPTS, Label161859),
    find_label(SCRIPTS, Label161998),
    find_label(SCRIPTS, Label1619AC),
    find_label(SCRIPTS, Label161ADC),
    find_label(SCRIPTS, Label161D1B),
];
