HSHamsterSpeak 3Uf 1 3U 3 700 SCRIPTS.TXT+copyherospells 32766 4 0 0 0 0 addtostat 32765 4 0 0 0 1 addspell 32764 3 0 0 0 heroisleader 32763 1 0 runonkeypress 32762 3 0 0 10 doherochange 32761 4 0 0 0 0 boxwait 32760 1 0 deletespell 32759 3 0 0 0 countheroes 32758 0 countdownup 32757 4 0 0 0 0 percent 32756 3 0 0 0 inarea 32755 4 0 0 0 0 inarea2 32754 4 0 0 0 0 chance 32753 1 100 invertcolors 32752 0 run 1 0 afterbattle 2 0 hptab 3 0 mptab 4 0 openingscene 5 0 inn 6 0 inn2 7 0 inn3 8 0 earthfiend 9 0 dieinbattle 10 0 cthulhu1 11 0 tulzcha 12 0 dagon 13 0 cthulhu 14 0 kyle 15 0 azathoth 16 0 credits 17 0 bramget 18 0 warriorget 19 0 missionaryget 20 0 shamanget 21 0 rangerget 22 0 westernpit 23 0 easternpit 24 0 southernpit 25 0 firstpit 26 0 valkyrieget 27 0 grinlow 28 0 skaldget 29 0 whalepunch 30 0 whaleland 31 0 berserkerget 32 0 randomboxpuzzle 33 0 randomboxprize 34 0 enteralfheim 35 0 jint 36 0 thule1 37 0 thule2 38 0 alfheim1 39 0 niffbox 40 0 elfshouse1 41 0 alfheim2 42 0 alfheim3 43 0 alfheim4 44 0 jotunheim1 45 0 jotunheim2 46 0 stairsup 47 0 stairsdown 48 0 gahn 49 0 jo 50 0 orlock 51 0 finalbrising 52 0 bramreturns 53 0 frumpyback 54 0 hel 55 0 vulpes 56 0 bramslow 57 0 nightsleep 58 0 olafmana 59 0 kittslash 60 0 frumpforce 61 0 styrgewere 62 0 antidote 63 0 hildaback 64 0 housemaster 65 0 frumpylingue 66 0 frumpyawake 67 0 frumpynurse 68 0 frumpylife 69 0 frumpysublime 70 0 lyngvi 71 0 freya 72 0 brising 73 0 nightthunder 74 0 grue 75 0 montereypenguin 76 0 triangletrap 77 0 garm 78 0 chainsawjack 79 0 rell 80 0 crimson 81 0 josh 82 0 walrus 83 0 surlaw 84 0 deactivated 85 0 triangle1 86 0 triangle2 87 0 fiends1 88 0 fiends2 89 0 hatifinal 90 0 zidane 91 0 ericsilence 92 0 bossintroduction 93 0 dogero 94 0 dracula 95 0 narvi 96 0 shayna 97 0 velius 98 0 delvire 99 0 sasha 100 0 siva 101 0 alex 102 0 collies1 103 0 mindscrew 104 0 ericback 105 0 misteroo 106 0 fourfiends 107 0 firesmash 108 0 icebrand 109 0 boltslash 110 0 utgard 111 0 delvirearena 112 0 arena 113 0 arenahorace 114 0 arenacomrade 115 0 slimesalad 116 0 lowteir 117 0 midteir 118 0 upperteir 119 0 highteir 120 0 quarterfinals 121 0 semifinals 122 0 tunneler 123 0 crone 124 0 teleport 125 0 tele0 126 0 tele1 127 0 tele2 128 0 tele3 129 0 tele4 130 0 tele5 131 0 tele6 132 0 tele7 133 0 tele8 134 0 tele9 135 0 tele10 136 0 skadi1 137 0 skadi2 138 0 olaf1 139 0 delvire2 140 0 fafnir 141 0 manafight 142 0 cthulhu2 143 0 collies2 144 0 eikthymir 145 0 lifemist 146 0 cthulhu3 147 0 thisisademo 148 0 delvire3 149 0 delvireboat 150 0 gisli 151 0 hatistory1 152 0 hatistory2 153 0 hatistory3 154 0 hatistory4 155 0 hatistory5 156 0 hatistory6 157 0 arenamu 158 0 hatifight1 159 0 hatifight2 160 0 god 161 0 rachel2 162 0 skadi3 163 0 narvi2 164 0 cow 165 0 hissu 166 0 slayjotun 167 0 timtim 168 0 delvirefinal 169 0 weakstrike 170 0 manslay 171 0 darkrage 172 0 itsatrap 173 0 seethegate 174 0 intohelheim 175 0 vikitron 176 0 funkout 177 0 scoreboard 178 0 funkatronbest 179 0 funkatrongreat 180 0 funkatrongood 181 0 funkatronokay 182 0 funkatronpoor 183 0 funkatronbad 184 0 funkatronawful 185 0 omegaweapon 186 0 omegaweaponfinal 187 0 enherdesert 188 0 hildavalia 189 0 linnorm 190 0 tripcut 191 0 excalibur 192 0 voidautorun 193 0 waterautorun 194 0 tetracut 195 0 reaper 196 0 silencer 197 0 panopt1 198 0 panopt2 199 0 panopt3 200 0 panopt4 201 0 panopt5 202 0 panopt6 203 0 panopt7 204 0 panopt8 205 0 panopt9 206 0 kylevoid 207 0 defender 208 0 trueboss 209 0 gingaautorun 210 0 gahn1 211 0 gahn2 212 0 gahn3 213 0 jade 214 0 finale 215 0 walkherotox 32751 2 0 0 walkherotoy 32750 2 0 0 walknpctox 32749 2 0 0 walknpctoy 32748 2 0 0 getnpcspeed 32747 1 0 setnpcspeed 32746 2 0 4 npccopynumber 32745 1 0 swapbyname 32744 2 0 0 renamehero 32743 1 0 getherolevel 32742 1 0 gainherostat 32741 4 0 0 0 0 autosave 32740 0 stringtoglobals 32739 3 0 0 0 globalstostring 32738 3 0 0 0 showstringat 32737 3 0 0 0 centerstringat 32736 3 0 -654321 -654321 hidestring 32735 1 0 stringstyle 32734 2 0 0 stringisvisible 32733 1 0 hsd:savestring 32732 1 0 hsd:restorestring 32731 2 0 0 lastascii 32730 0 inputstring 32729 6 0 -1 0 1 -654321 -654321 currentdisplaytile 32728 2 0 0 waitforsound 32727 1 0 getenemyname 32726 2 0 0 getenemystat 32725 2 0 0 setenemystat 32724 3 0 0 0 setenemyname 32723 2 0 0 getenemyappearance 32722 2 0 0 setenemyappearance 32721 3 0 0 0 setvictorymusic 32720 1 0 getvictorymusic 32719 0 getdeathscript 32718 0 getloadscript 32717 0 setloadscript 32716 1 0 hsd:prefbitindex 32715 1 0 readpreferencebit 32714 1 0 writepreferencebit 32713 2 0 1 setbattlewaitmode 32712 1 1 setcaterpillarmode 32711 1 1 setnohpleveluprestore 32710 1 1 setnompleveluprestore 32709 1 1 setinnnorevivemode 32708 1 1 sethpleveluprestore 32707 1 1 setmpleveluprestore 32706 1 1 setinnrevivemode 32705 1 1 setfullheroswapmode 32704 1 1 hidebattlereadymeter 32703 1 1 hidebattlehealthmeter 32702 1 1 showbattlereadymeter 32701 1 1 showbattlehealthmeter 32700 1 1 setdebugkeysdisable 32699 1 1 setdeadheroesgainexperience 32698 1 1 setactivebattlepauseforanimations 32697 1 1 setcappedherostat 32696 4 0 0 0 0 getdamagecap 32695 0 setdamagecap 32694 1 0 getinventorysize 32693 0 setinventorysize 32692 1 0 extendedscancodesenabled 32691 0 getlevelcap 32690 0 setlevelcap 32689 1 0 getmaptileset 32688 0 getambientmusic 32687 0 setambientmusic 32686 1 -1 allowminimap 32685 1 1 allowsaveanywhere 32684 1 1 cancelmapnamedisplay 32683 0 setmapedgemode 32682 2 0 0 getmapedgemode 32681 0 setharmtiledamage 32680 1 0 setharmtileflash 32679 1 0 getfootoffset 32678 0 setfootoffset 32677 1 0 getinsteadofbattlescript 32676 0 setinsteadofbattlescript 32675 1 0 geteachstepscript 32674 0 seteachstepscript 32673 1 0 getonkeypressscript 32672 0 setonkeypressscript 32671 1 0 drawnpcsaboveheroes 32670 1 1 readwallbit 32669 3 0 0 0 writewallbit 32668 4 0 0 0 1 daysofplay 32667 0 hoursofplay 32666 0 minutesofplay 32665 0 secondsofplay 32664 0 setdaysofplay 32663 1 0 sethoursofplay 32662 1 0 setminutesofplay 32661 1 0 setsecondsofplay 32660 1 0 firstmenuitem 32659 1 0 lastmenuitem 32658 2 0 1 waitformenu 32657 1 0 getmenuboxstyle 32656 1 0 setmenuboxstyle 32655 2 0 0 getmenutextcolor 32654 1 0 setmenutextcolor 32653 2 0 0 getmenudisabledtextcolor 32652 1 0 setmenudisabledtextcolor 32651 2 0 0 getmenumaxrows 32650 1 0 setmenumaxrows 32649 2 0 0 getmenuoffsetx 32648 1 0 setmenuoffsetx 32647 2 0 0 getmenuoffsety 32646 1 0 setmenuoffsety 32645 2 0 0 getmenuanchorx 32644 1 0 setmenuanchorx 32643 2 0 0 getmenuanchory 32642 1 0 setmenuanchory 32641 2 0 0 getmenutextalign 32640 1 0 setmenutextalign 32639 2 0 0 getmenuminchars 32638 1 0 setmenuminchars 32637 2 0 0 getmenumaxchars 32636 1 0 setmenumaxchars 32635 2 0 0 getmenuborder 32634 1 0 setmenuborder 32633 2 0 0 getmenuonclosescript 32632 1 0 setmenuonclosescript 32631 2 0 0 getmenucancelbuttonmenu 32630 1 0 setmenucancelbuttonmenu 32629 2 0 -1 getmenuitemspacing 32628 1 0 setmenuitemspacing 32627 2 0 -1 getmenubit 32626 2 0 0 setmenubit 32625 3 0 0 1 setmenuitem 32624 7 0 0 0 0 0 0 0 setmenuitemtype 32623 2 0 0 getmenuitemtype 32622 1 0 setmenuitemsubtype 32621 2 0 0 getmenuitemsubtype 32620 1 0 setmenuitemtag 32619 3 0 0 1 getmenuitemtag 32618 2 0 1 setmenuitemsettag 32617 2 0 0 getmenuitemsettag 32616 1 0 setmenuitemtogtag 32615 2 0 0 getmenuitemtogtag 32614 1 0 getmenuitembit 32613 2 0 0 setmenuitembit 32612 3 0 0 1 setmenuitemextra 32611 3 0 0 0 getmenuitemextra 32610 2 0 0 setmenuitemcolor 32609 2 0 0 getmenuitemcolor 32608 1 0 setmenuitemdisabledcolor 32607 2 0 0 getmenuitemdisabledcolor 32606 1 0 getnpcsprite 32605 1 0 getherosprite 32604 1 0 getherospritebyslot 32552 1 0 loadsprite 32603 3 0 0 -1 createsprite 32602 3 0 0 -1 replacesprite 32601 4 0 0 0 -1 loadenemysprite 32600 3 0 0 -1 replaceenemysprite 32599 4 0 0 0 -1 firstchildoftype 32598 2 0 0 nextsiblingoftype 32597 2 0 0 firstcontainerchild 32596 1 0 nextcontainersibling 32595 1 0 firstrectchild 32594 1 0 nextrectsibling 32593 1 0 firstspritechild 32592 1 0 nextspritesibling 32591 1 0 firsttextchild 32590 1 0 nexttextsibling 32589 1 0 firstellipsechild 32588 1 0 nextellipsesibling 32587 1 0 firstgridchild 32586 1 0 nextgridsibling 32585 1 0 firstscrollchild 32584 1 0 nextscrollsibling 32583 1 0 firstselectchild 32582 1 0 nextselectsibling 32581 1 0 firstpanelchild 32580 1 0 nextpanelsibling 32579 1 0 firstlinechild 32578 1 0 nextlinesibling 32577 1 0 getselectedchild 32576 1 0 setselectedchild 32575 2 0 0 freeslicechildren 32574 1 0 realignslice 32573 5 0 0 0 -1 -1 centerslice 32572 1 0 setslicescreenx 32571 2 0 0 setslicescreeny 32570 2 0 0 setslicesize 32569 3 0 0 0 putslicescreen 32568 3 0 0 0 setpadding 32567 2 0 0 reparenttonpc 32566 2 0 0 reparenttohero 32565 2 0 0 setupbifrostbeam 32534 0 bifrostanimations 32531 0 bifrostbeamwarpdissolves 32533 0 bifrostbeam 32532 1 0 initweather 32530 0 precipitation 32529 0 updatevoidparallax 32564 0 dirx 32563 1 0 diry 32562 1 0 tryingtomovedirection 32561 0 playerissuspendeda 32560 0 herowillmove 32559 0 nextleadermovedirection 32558 0 nextleaderpixelx 32557 0 nextleaderpixely 32556 0 calculatenextcamerapixelxy 32555 0 updatewaterparallax 32554 0 updategingaparallax 32553 0 rememberparty 32551 0 reinstateparty 32550 0 lavatile 32549 0 bard1 32548 0 bard2 32547 0 bard3 32546 0 surtr 32545 0 checkforsongend 32544 0 forestreturns 32543 0 forestinn 32542 0 snaketeleport 32541 0 snaketeleport2 32540 0 desertinn 32539 0 norns 32538 0 mother 32537 0 encounters 32536 0 healfullparty 32535 0 SCRIPTS.BINM, walkherotox walkherotoy walknpctox walknpctoy getnpcspeed setnpcspeed npccopynumber swapbyname renamehero getherolevel gainherostatautosavestringtoglobalsglobalstostring showstringatcenterstringat hidestring stringstylestringisvisiblehsd:savestringhsd:restorestring lastascii inputstringcurrentdisplaytile waitforsound getenemyname getenemystat setenemystat setenemynamegetenemyappearancesetenemyappearancesetvictorymusicgetvictorymusicgetdeathscript getloadscript setloadscripthsd:prefbitindexreadpreferencebitwritepreferencebitsetbattlewaitmodesetcaterpillarmodesetnohpleveluprestoresetnompleveluprestoresetinnnorevivemodesethpleveluprestoresetmpleveluprestoresetinnrevivemodesetfullheroswapmodehidebattlereadymeterhidebattlehealthmetershowbattlereadymetershowbattlehealthmetersetdebugkeysdisablesetdeadheroesgainexperience!setactivebattlepauseforanimationssetcappedherostat getdamagecap setdamagecapgetinventorysizesetinventorysizeextendedscancodesenabled getlevelcap setlevelcap getmaptilesetgetambientmusicsetambientmusic allowminimapallowsaveanywherecancelmapnamedisplaysetmapedgemodegetmapedgemodesetharmtiledamagesetharmtileflash getfootoffset setfootoffsetgetinsteadofbattlescriptsetinsteadofbattlescriptgeteachstepscriptseteachstepscriptgetonkeypressscriptsetonkeypressscriptdrawnpcsaboveheroes readwallbit writewallbit daysofplay hoursofplay minutesofplay secondsofplay setdaysofplaysethoursofplaysetminutesofplaysetsecondsofplay firstmenuitem lastmenuitem waitformenugetmenuboxstylesetmenuboxstylegetmenutextcolorsetmenutextcolorgetmenudisabledtextcolorsetmenudisabledtextcolorgetmenumaxrowssetmenumaxrowsgetmenuoffsetxsetmenuoffsetxgetmenuoffsetysetmenuoffsetygetmenuanchorxsetmenuanchorxgetmenuanchorysetmenuanchorygetmenutextalignsetmenutextalign~getmenuminchars}setmenuminchars|getmenumaxchars{setmenumaxcharsz getmenubordery setmenuborderxgetmenuonclosescriptwsetmenuonclosescriptvgetmenucancelbuttonmenuusetmenucancelbuttonmenutgetmenuitemspacingssetmenuitemspacingr getmenubitq setmenubitp setmenuitemosetmenuitemtypengetmenuitemtypemsetmenuitemsubtypelgetmenuitemsubtypeksetmenuitemtagjgetmenuitemtagisetmenuitemsettaghgetmenuitemsettaggsetmenuitemtogtagfgetmenuitemtogtagegetmenuitembitdsetmenuitembitcsetmenuitemextrabgetmenuitemextraasetmenuitemcolor`getmenuitemcolor_setmenuitemdisabledcolor^getmenuitemdisabledcolor] getnpcsprite\ getherosprite(getherospritebyslot[ loadspriteZ createspriteY replacespriteXloadenemyspriteWreplaceenemyspriteVfirstchildoftypeUnextsiblingoftypeTfirstcontainerchildSnextcontainersiblingRfirstrectchildQnextrectsiblingPfirstspritechildOnextspritesiblingNfirsttextchildMnexttextsiblingLfirstellipsechildKnextellipsesiblingJfirstgridchildInextgridsiblingHfirstscrollchildGnextscrollsiblingFfirstselectchildEnextselectsiblingDfirstpanelchildCnextpanelsiblingBfirstlinechildAnextlinesibling@getselectedchild?setselectedchild>freeslicechildren= realignslice< centerslice;setslicescreenx:setslicescreeny9 setslicesize8putslicescreen7 setpadding6 reparenttonpc5reparenttoherocopyherospells addtostataddspell heroisleader runonkeypress doherochangeboxwait deletespell countheroes countdownuppercentinareainarea2chance invertcolorssetupbifrostbeambifrostanimationsbifrostbeamwarpdissolves bifrostbeam initweather precipitationrun afterbattlehptabmptab openingsceneinninn2inn3 earthfiend dieinbattle cthulhu1 tulzcha dagoncthulhukyleazathothcreditsbramget warriorget missionaryget shamanget rangerget westernpit easternpit southernpitfirstpit valkyriegetgrinlowskaldget whalepunch whaleland berserkerget!randomboxpuzzle"randomboxprize# enteralfheim$jint%thule1&thule2'alfheim1(niffbox) elfshouse1*alfheim2+alfheim3,alfheim4- jotunheim1. jotunheim2/stairsup0 stairsdown1gahn2jo3orlock4 finalbrising5 bramreturns6 frumpyback7hel8vulpes9bramslow: nightsleep;olafmana< kittslash= frumpforce> styrgewere?antidote@ hildabackA housemasterB frumpylingueC frumpyawakeD frumpynurseE frumpylifeF frumpysublimeGlyngviHfreyaIbrisingJ nightthunderKgrueLmontereypenguinM triangletrapNgarmO chainsawjackPrellQcrimsonRjoshSwalrusTsurlawU deactivatedV triangle1W triangle2Xfiends1Yfiends2Z hatifinal[zidane\ ericsilence]bossintroduction^dogero_dracula`narviashaynabveliuscdelviredsashaesivafalexgcollies1h mindscrewiericbackjmisterook fourfiendsl firesmashmicebrandn boltslashoutgardp delvirearenaqarenar arenahoraces arenacomradet slimesaladulowteirvmidteirw upperteirxhighteiry quarterfinalsz semifinals{tunneler|crone}teleport~tele0tele1tele2tele3tele4tele5tele6tele7tele8tele9tele10skadi1skadi2olaf1delvire2fafnir manafightcthulhu2collies2 eikthymirlifemistcthulhu3 thisisademodelvire3 delvireboatgisli hatistory1 hatistory2 hatistory3 hatistory4 hatistory5 hatistory6arenamu hatifight1 hatifight2godrachel2skadi3narvi2cowhissu slayjotuntimtim delvirefinal weakstrikemanslaydarkrageitsatrap seethegate intohelheimvikitronfunkout scoreboard funkatronbestfunkatrongreat funkatrongood funkatronokay funkatronpoor funkatronbadfunkatronawful omegaweaponomegaweaponfinal enherdesert hildavalialinnormtripcut excalibur voidautorun4updatevoidparallax3dirx2diry1tryingtomovedirection0playerissuspendeda/ herowillmove.nextleadermovedirection-nextleaderpixelx,nextleaderpixely+calculatenextcamerapixelxy waterautorun*updatewaterparallaxtetracutreapersilencerpanopt1panopt2panopt3panopt4panopt5panopt6panopt7panopt8panopt9kylevoiddefendertrueboss gingaautorun)updategingaparallaxgahn1gahn2gahn3jadefinale' rememberparty&reinstateparty%lavatile$bard1#bard2"bard3!surtr checkforsongend forestreturns forestinn snaketeleportsnaketeleport2 desertinnnornsmother encounters healfullpartyCOMMANDS.BIN3 (4>I[ft~$4?R\g| 1DOcv % 4 E P ^ m {    / < K ` t  + = M ^ n ~   " 1 B X m }   & 4 B M W d r '5BO\hu$4EVft&8LYeq 1?N]m{(5DRct!1DTdu-?P`ly"2>M]p '5EQcw 1BRf}0C\t(BVm3G^t .@Qev#2CUeu -;N`x#1DTcp !2BUhv   , < R a o ~ !!/!=!Q!e!y!!!!!!!!!""/"@"R"d"z"""""""" ##,#;#J#V#c#q#########$ $2$P$p$$$$$$$%%$%4%E%V%h%%%%%%%% &&$&0&H&a&o&&&&&&&&''!'1'A'X'o''''''''( ((#(3(B(V(i(}(((((())$):)P)r))))))) *#*3*D*U*g*~********+++B+S+g+w+++++++,,&,5,E,[,q,,,,,,,--#-6-A-W-m-------- .!.5.O.h......./(/:/M/d/t/////////0'0<0I0V0h0w0000000011.1B1U1h1w11111111202J2c2222222233*3@3V3f3v333noopwait waitforall waitforhero waitfornpc suspendnpcs suspendplayer resumenpcs resumeplayer waitforkeywalkhero showtextboxchecktagsettagusedoorfightformationgetitem deleteitemleadergetmoney losemoneypaymoneyunequip forceequip setheroframe setnpcframesuspendoverlayplaysongstopsongkeyvalrankincaterpillar showbackdropshowmapdismountvehicleusenpcuseshopcamerafollowsherocamerafollowsnpc pancamera focuscamera waitforcameraheroxheroynpcxnpcysuspendobstructionresumeobstructionsuspendherowallssuspendnpcwallsresumeherowallswalknpcsetherodirectionsetnpcdirectiongetdefaultweaponsetdefaultweaponsuspendcatapillarresumecatapillarwaitfortextbox equipwhere teleporttomapsuspendrandomenemysresumerandomenemys getherostat resumeoverlayaddhero deletehero swapouthero swapinheroroominactivepartylockhero unlockherogameoversetdeathscript fadescreenout fadescreenin showvaluealternpc shownovalue currentmap setherospeed inventory setherostatsuspendboxadvanceresumeboxadvanceadvancetextboxsetheropositionsetnpcpositionswapbypositionfindherocheckequipmentresumenpcwallssetheroz readmapblock writemapblock readpassblockwritepassblock npcdirection herodirection resetpalette tweakpalette readcolor writecolor updatepalette seedrandomgreyscalepalettesetheropicturesetheropalettegetheropicturegetheropalette readglobal writeglobal heroiswalkingsuspendcaterpillarresumecaterpillar npcreference npcatspotgetnpcid npccopycount changenpcid createnpc deletenpc teachspell forgetspell readspell writespell knowsspell canlearnspell herobyslot herobyrankputheroputnpc putcamera heropixelx heropixely npcpixelx npcpixely camerapixelx camerapixely loadtilesetpickherorenameherobyslot readgeneral writegeneral statusscreen showminimap spellsmenu itemsmenu equipmenu ordermenuteammenu initmouse mousepixelx mousepixely mousebuttonputmouse mouseregion npcatpixel saveinslot lastsaveslotsuspendrandomenemiesresumerandomenemiessavemenu saveslotused importglobals exportglobals loadfromslot deletesave runscriptbyid npciswalkingreadgmap writegmapmapwidth mapheightreadnpc setherolevelgiveexperience herolevelled spellslearntgetmusicvolumesetmusicvolumesetformationsong heroframenpcframenpcextra setnpcextra playsound pausesound stopsound systemhour systemminute systemsecond currentsong getheroname setheroname getitemname getmapname getattackname showstring clearstring appendascii appendnumber copystringconcatenatestrings stringlength deletechar replacecharasciifromstringpositionstring setstringbit getstringbit stringcolorstringxstringy systemday systemmonth systemyear stringcompare readenemydatawriteenemydatatrace getsongnameloadmenu keyispressedsoundisplaying searchstring trimstringstringfromtextbox expandstringjoystickbutton joystickaxiswaitforscancode savemapstate loadmapstate resetmapstatedeletemapstate partymoneysetmoneysetstringfromtableappendstringfromtablesettileanimationoffsetgettileanimationoffsetanimationstarttilesuspendmapmusicresumemapmusic checkherowall checknpcwallsettimer stoptimer readtimergetcolorsetcolorrgb extractcolormainmenu loadpalettetotalexperienceexperiencetolevelexperiencetonextlevel setexperience millisecondsopenmenu readmenuint writemenuintreadmenuitemintwritemenuitemint createmenu closemenutopmenubringmenuforward addmenuitemdeletemenuitemgetmenuitemcaptionsetmenuitemcaption getlevelmp setlevelmp bottommenu previousmenunextmenumenuitembyslotpreviousmenuitem nextmenuitemselectedmenuitemselectmenuitem parentmenu getmenuid swapmenuitemsfindmenuitemcaption findmenuid menuisopen menuitemslotoutsidebattlecure changetileset layertilesetgetformationsongaddenemytoformationfindenemyinformationdeleteenemyfromformationformationslotenemyformationslotxformationslotysetformationbackgroundgetformationbackground lastformationrandomformationformationsetfrequencyformationprobabilitycurrenttextbox getherospeedloadherosprite freespriteputslicesetspritevisiblesetspritepalettereplaceherospritesetspriteframeloadwalkaboutspritereplacewalkaboutspriteloadweaponspritereplaceweaponspriteloadsmallenemyspritereplacesmallenemyspriteloadmediumenemyspritereplacemediumenemyspriteloadlargeenemyspritereplacelargeenemyspriteloadattackspritereplaceattackspriteloadborderspritereplaceborderspriteloadportraitspritereplaceportraitsprite clonespritegetspriteframespriteframecountslicexslicey setslicex setslicey slicewidth sliceheight sethorizalign setvertalignsethorizanchor setvertanchornumberfromstring sliceissprite spritelayer freeslice firstchild nextsiblingcreatecontainer setparentcheckparentage slicescreenx slicescreenysliceiscontainer createrect sliceisrect setslicewidthsetsliceheight getrectstyle setrectstyle getrectfgcol setrectfgcol getrectbgcol setrectbgcol getrectborder setrectborder getrecttrans setrecttransslicecollidepoint slicecollide slicecontains clampslicehorizflipspritevertflipspritespriteishorizflippedspriteisvertflipped settoppadding gettoppaddingsetleftpaddinggetleftpaddingsetbottompaddinggetbottompaddingsetrightpaddinggetrightpadding fillparentisfillingparent slicetofront slicetoback lastchild ysortchildren setsortorder sortchildrenprevioussibling getsortorder getsliceextra setsliceextra getspritetypegetspritesetnumbergetspritepalette suspendtimers resumetimerssetslicevisiblegetslicevisible sliceedgex sliceedgey createtext setslicetext gettextcolor settextcolorgetwrapsetwrap sliceistext gettextbg settextbg getoutline setoutline usemenuitem sliceatpixelfindcollidingslice parentslice childcount lookupslice resetgame sliceisvalid iteminslot setiteminslotitemcountinslotsetitemcountinslot placespriteupdateleveluplearningmoveslicebelowmovesliceabove slicechildresetheropictureresetheropalettesetsliceclippinggetsliceclipping creategrid sliceisgridsetgridcolumnsgetgridcolumns setgridrows getgridrowsshowgrid gridisshownloadslicecollection setsliceedgex setsliceedgeygetslicelookupsetslicelookuptracevalueinternalmapcurereadattackname spellslearnedallocatetimerssetnpcignoreswallsgetnpcignoreswallssetnpcobstructsgetnpcobstructs setnpcusable getnpcusable setnpcmoves getnpcmovesreadzone writezone zoneatspotzonenumberoftiles getzonename getzoneextra setzoneextrauseitem useiteminslot mouseclickloadbackdropspritereplacebackdropspritegetspritetranssetspritetranssetherobaseelementalresistherobaseelementalresistasintherototalelementalresistasintsetslicevelocityxsetslicevelocityygetslicevelocityxgetslicevelocityysetslicevelocity stopslice movesliceto movesliceby waitforslice sliceismoving createellipsesliceisellipsesetellipsebordercolsetellipsefillcolgetellipsebordercolgetellipsefillcol _checkpointmenuitembytrueslotmenuitemtrueslot getheroslice getnpcslicegetdoorxgetdoorygetdoordestinationidgetdoordestinationmap doorexistsgetattackcaptiongetrectfuzzinesssetrectfuzziness textboxline getslicetext getinputtextenableinputtextinputtextenabled setherohandx setherohandy getherohandx getherohandygetdefaultherohandxgetdefaultherohandy checkonetime setonetime microsecondsenemyelementalresistasintherozgetherostatcapsetherostatcapgetitemmaximumstacksizenpczsetnpcz dooratspot suspenddoors resumedoorsrunningondesktoprunningonmobilerunningonconsoleinputstringwithvirtualkeyboardgetitemdescriptionsetspritesetnumbergetspritedefaultpal npcisdisabled stringsprintf scripterror getscriptnamegetcallingscriptidcamerafollowsslicegetactivebattlepauseonallmenussetactivebattlepauseonallmenusdissolvespritecanceldissolvespriteisdissolvingwaitfordissolvehidevirtualgamepadshowvirtualgamepadautovirtualgamepad getvertalign gethorizalign getvertanchorgethorizanchorsetselectsliceindexgetselectsliceindex createselect sliceisselectslicechildindex createscroll sliceisscrollsetscrollbarstylegetscrollbarstylesetscrollcheckdepthgetscrollcheckdepth scrolltochildrunningonwindows runningonmacrunningonlinuxnextnpcreferenceinputstringwithmousekeyboard runningonouyashowmousecursorhidemousecursorpixelfocuscamera sendemail dumpslicetree createpanel sliceispanelgetpanelisverticalsetpanelisverticalgetpanelprimaryindexsetpanelprimaryindexgetpanelpercentasintsetpanelpercentgetpanelpixelssetpanelpixelsgetpanelpaddingsetpanelpadding debugmenumenuitematpixelrungamegetbattlecountdownsetbattlecountdowncheckwallcollisionxcheckwallcollisionymoveslicewithwallchecking textboxtextcheckgameexists pathfindnpcto npcchasesnpc cancelnpcwalkplayerissuspendednpcsaresuspendedobstructionissuspendedherowallsaresuspendednpcwallsaresuspendedcaterpillarissuspendeddoorsaresuspendedrandomenemiesaresuspendedboxadvanceissuspendedoverlayissuspendedmapmusicissuspendedtimersaresuspendedgetscreenwidthgetscreenheightsetscreenresolution mouserelease_cancelrunfast_runfastmultdivsetrectrawbordergetrectrawborder clonesliceresetformationresetformationslotsliceismaplayernpcreferencefromsliceherorankfromslice slicetype _asserteqsavescreenshot sliceisline createline getlinecolor setlinecolorforcemountvehiclecurrentvehicleidcurrentvehiclenpcpathfindheroto herochasesnpccancelherowalkmenuitemselectablemenuitemdisabledmenuitemvisiblesetlastsaveslot speakingnpckeypress newkeypressgetjoysticknamejoystickbuttoncountjoystickaxiscountjoystickhatcount findcoloroverridetickmillisecondscanceloverridetickmillisecondssuspendtextboxcontrolsresumetextboxcontrolstextboxcontrolsaresuspended menuitemcountvisiblemenuitemcountreplacesubstring decodetriggergetscancodenamegetheroslicebyslotheroslotfromslice getopacity setopacitygetblendingenabledsetblendingenabled getblendmode setblendmodegetrectopacitysetrectopacity settimerargs32751.HSZ2&B+     #    138,>#32750.HSZ2&B,     #    138,>#32749.HSZ2&B-   4 #   4138,>#32748.HSZ2&B.   4 #   4138,>#32747.HSZV 32746.HSZR N32745.HSZB+>z    $( 61:(xHDFJ U  D\W`( Uj$(uDPdow D|H32744.HSZNIZ Z   %/19Y;?*5D32743.HSZv SZ c)'+)5)469?)F/AH#Mrename hero: no hero with id %d32742.HSZb @ 32741.HSZB  =T[d  @@(&*!05:@EGMCOSYEb*i kuwywiup~!  u:Sw32740.HSZ)   $32739.HSZc  "P $))"027+<@KIO0K`s"blgn^s"s`^"CTYx@@32738.HSZc  &P (--&46;/@DQ&SrXO]ffm hofyt~DaMG!DD32737.HSZ~  32736.HSZ(HTj   !% . 75:?0D%NPRNZ^`Ne.32735.HSZJ32734.HSZR 32733.HSZV 32732.HSZ "& 32731.HSZZ i32730.HSZ"BPs!>[x &C`}+Hx8j.^$V <Rbv&:Nb{aGIEKUI W\Aceg^lp0yI {\Bcp.I \Ccp I \DcpI \Ecp!I \Fcp" I  \Gcp#'I )\Hc35.:pDI F\IcPRKWp$aI c\Jcmohtp%~I \Kcp&I \Lcp2I \Mcp1I \NcpI \OcpI \Pc"p,I .\Qc8:3?pII K\RcUWP\pfI h\ScrtmypI \TcpI \Ucp/I \VcpI \Wcp-I \Xc pI \Yc "'p,1I 3\Zc=?8DpNI P\c\ceZajnUtp~I \@ccZpI \c'3cZpI \ca4cZpI \c~5c#%Z*.4p>I @\^cJL6cUWZQ\`EfppI r\c|7cZwp I \*c8cZp I \(c9cZp I \)ccyZ $ *pI 4\~c>@`cIKZEPT9Zp dI f\_cprc{Zwkp I \+c=cZpI \{c[cZpI \}c]cZ  p'*I ,\:c68;cACZ=HL1RpI \\c fc*oZktxa~pI \<cc1ZpI \>ccZp#I \?ccZpI \|c\c')Z#.28pfBI D\INpI X\]pI h\mrp3I |\pPI \pmI \{pI \pI \%pI \WpI \pI \e pI \"p8I ,\16pUI @\EJprI T\Y^pI h\crmwp=e ZIcpp32729.HSZ  /7Jl %' "+%5% ?C=E 5CVYT[`Oei rtv{ tVi rt i%r%r%%}% i.C 0g:C <5AKMR[C ]%%gkbpi%CCw**M tz~7FV$*    %{i32728.HSZ: 0  %*2.632727.HSZv   32726.HSZ(  $32725.HSZr> 32724.HSZn> 32723.HSZj'3N  #-/1=-=?D9;1;J32722.HSZV 32721.HSZR 32720.HSZb 32719.HSZf  32718.HSZZ* 32717.HSZZ9 32716.HSZF932715.HSZZ0  /-49>eFH(BLP$V32714.HSZ : !' #) .3532713.HSZv9T   & $(-"26?( AEJ"?O32712.HSZF32711.HSZF32710.HSZF32709.HSZF32708.HSZF32707.HSZV 32706.HSZV 32705.HSZV 32704.HSZF32703.HSZF32702.HSZF32701.HSZV 32700.HSZV 32699.HSZF32698.HSZF32697.HSZF32696.HSZrIQ !  $ &02+7;> D;SO$32695.HSZJ ?32694.HSZF?32693.HSZ6U  X %'%,%132692.HSZ]    X #%U/1:<ACAHM/OT*6Y32691.HSZJ 32690.HSZJ W32689.HSZ+ W$(32688.HSZJ 32687.HSZ^ 32686.HSZ=  ")$,03932685.HSZF32684.HSZF32683.HSZF32682.HSZn 32681.HSZJ 32680.HSZF 32679.HSZF 32678.HSZJ  32677.HSZF 32676.HSZZ  32675.HSZF 32674.HSZZ 32673.HSZF32672.HSZZ 32671.HSZF32670.HSZF32669.HSZc   32668.HSZ2:c   &$+/d 832667.HSZJ 332666.HSZJ 432665.HSZJ 532664.HSZJ 632663.HSZ3 32662.HSZ'   4 $32661.HSZ'<   5 $32660.HSZ'<   6 $32659.HSZb$ 32658.HSZn1Q   #(-79$ 79@F;JN32657.HSZv.   32656.HSZV  32655.HSZR  32654.HSZV  32653.HSZR  32652.HSZV 32651.HSZR 32650.HSZV 32649.HSZR 32648.HSZV 32647.HSZR 32646.HSZV 32645.HSZR 32644.HSZV 32643.HSZR 32642.HSZV 32641.HSZR 32640.HSZV 32639.HSZR 32638.HSZV 32637.HSZR 32636.HSZV 32635.HSZR 32634.HSZV 32633.HSZR 32632.HSZf 32631.HSZR 32630.HSZr 32629.HSZn  32628.HSZr 32627.HSZn  32626.HSZ3;   &(!,0932625.HSZZFL  #(1 38=-B 32624.HSZ.#-7A   ! )+ 35 =?32623.HSZR 32622.HSZV 32621.HSZR 32620.HSZV 32619.HSZ!:   '.0)632618.HSZ"">   (/16*:32617.HSZR 32616.HSZV 32615.HSZR 32614.HSZV 32613.HSZ3;   &(!,0932612.HSZZFL  #(1 38=-B 32611.HSZ1 "$*.32610.HSZ2 "'+/32609.HSZR  32608.HSZV  32607.HSZR !32606.HSZV !32605.HSZ & Sy#32604.HSZ & Sy#32552.HSZ & Sy#32603.HSZB  M  O */Q 9>I HMK W\S fkU uzW  c5 6$(37BFQU`dos~&load sprite(%d,%d,%d): invalid type %d32602.HSZb[ 32601.HSZf6G N P &R 2J >L JT VV bX n  zc5 6 $,08<DHPT\`hltx)replace sprite(%d,%d,%d): invalid type %d32600.HSZ#=W M   )O05+9  CQJOES 32599.HSZ&A\ N # ,P39.=# GRNTIX#32598.HSZ2(9Dj   !% .24!%U2?32597.HSZ4k  "&) /32596.HSZV V32595.HSZV U32594.HSZV V32593.HSZV U32592.HSZV V32591.HSZV U32590.HSZV V32589.HSZV U32588.HSZV V32587.HSZV U32586.HSZV V32585.HSZV U32584.HSZV  V32583.HSZV  U32582.HSZV  V32581.HSZV  U32580.HSZV  V32579.HSZV  U32578.HSZV  V32577.HSZV  U32576.HSZ^H 32575.HSZ~BF  c6 %,'.KG 9= 3B8set selected slice: 2nd slice must be a child of the 1st32574.HSZ 0j ki#% *32573.HSZ2 ,Bb c d %) 2e294>)32572.HSZR=32571.HSZ.o \#'^)32570.HSZ.p ]#'_)32569.HSZf tu32568.HSZ.\ o ]p %D)32567.HSZ     32566.HSZrSy m32565.HSZrSy m32766.HSZ>C &(*!158 >32765.HSZ<@  S @!#S)!.5932764.HSZ c  %') %'94@DM/GO  TZ_D32763.HSZV ZY32762.HSZVt    #Q- /4(9>  GLQV X]Qb>Agw/4r{> m32761.HSZ7 n o n $o $&,232760.HSZJ  ;32759.HSZ ` " - 46/=AJ(DL QW\A32758.HSZ"9@0   $-'/  4>32757.HSZF M  # %)39;< BdIK9MRDW\eg\5=_k .qxK9; 9\I )9;  IK\5k  }O;%32756.HSZ2<D d %.3 *8B32755.HSZVM+ , '")35.73A<CH32754.HSZ!.9i +(&*,(35> >E@GQLSQ]X_d32753.HSZrd 32752.HSZ>9ADH?ij#  )- 5L g32534.HSZn.<JXft   %'#) 5'37 C'AEQ'OS_']am'ko{'y}' ' ' opD %32531.HSZ x Z   (*1*,3#8= *F(PR3KW= Pb(ln3gs= l~(3= (3= (3= (3= (3=H H HHH$H+H2H9H@HG1 S*U((@\x &-4;BINW`=32533.HSZ "-8CNYdoz <  <  <+<6<A<L<W<b<m<x32532.HSZN  p#%F/L75?JITn`Kfs z i *19AFKQVZbhnQVu|   n 19AFKQVbhnQVu|32530.HSZ  32529.HSZ;HQ#xuiu"$")-0 6PCE.MOZMa\c qscc&2468?AB VXhmhox}xhhxhxhhhxxvuuutuZq-""a"-1.HSZ:O-   t    Q &2 - /3Q :<5AE3 N P3TAE(HY!_EeQ oq!vEzk2.HSZf -D[r* W  Z!&* 39;5@* JPRLW* agicn* x~z* * T* Y* Z* *  * u!&*' 0 26 = 5= ?D L= c= NS z= = ]b = = lq = = { = =  0=  V**v*g*X*I*8*z ' * @=6Z%@'6+S=+661=*A6=GKS* ]@66c6S6=6niu*y6=_*3.HSZ2 4.HSZ 5.HSZr&.6>DHNRY_ekotkozkokokoo_oooooooooo"o(.4o:?FoLoPU?Z_ejot:yPU?Ze~PU?ZePoo_P_o(oooo o&o,o08o>oDoJoPoT\o`?Zyd_jpvo|ooooTZ9X44444444 4 4 4  4 44$4,444<,Q WJ cliVK rL xM ~N ?KO LQ555        ,6 6  6F  G .6H  +4&&I 2-686J DK J56684&6&6666&686&!)*0X6666X/XL 66M   4N O 6P  Q R S T $U * V 6W <X BY HZ NX[ Z )&\ t] z^ _ ` U6.HSZ6 #(-38=BGLQVZ`flpv|(38=%,039?EKPUZ(38=_dinsx}(38=_dinsx}(38=_dinsx}(38=KPUZ(38=39?ET Q +,) vQ55155QQ1QQ1W1 W W   1  1 1 111 1 11``1````1````1````1````1`` KG1x#)L 11 11 11 1``1``5515555155515115151` `1 ` ` ``1````1``  1  &QU7.HSZ:8.HSZ:9.HSZux{~ $(-(-48>BGMRW\ahlqlqx|T' 5555  WWWv   S  V T  U 24]E K5555i fj v    wU10.HSZsH    E  $K !I&*03@B D SB  OJVZ]$ @cg 6o11.HSZ*qtwz &08>CH>LHQCHQLHVCHVLH[CH[LH`fjmsw|ffT }}'. WWWv }}  5}5}k  V}}}l m n h} LI  X$}} X,.6}6,},},6,6,6,X,}}g 55}5}555}U  }   }}wU12.HSZ" #'*06<AF#MSY]`#e#`#e#lSY]rSY]vz`#e#`#e#SY]SY]SY]`#e#`#e#SY] SY]####SY]"SY]#,49?FNTYvT^vcYvc^vhYvh^vmYvm^vrx4{<`#e#`#e#SY]#T ' W  W  W  v   555v KQ WVw jx pN  4  4 4 4 4 4 4 4 y z ]* (  5555{ | }  ~   h&(&*L7J =XD L6666Xg 55U     &wU13.HSZ&  $*047<@<7<@<G*04M*047<@<7<@<S*04Y*04]<b<]<b<i*04o*04sw|*04*04*04*04*04*04<< < <<<<<ss#s).s48=BGLGLS*04W]ciosvy|T' 7WWWv   555 "( .V`` E K Q W`` g m]Cz  3)*     hLK 2X6666Xg6)!5 &555 Q    wU&14.HSZF   $'-39>C JPVZ_PVZePVZkPVZosx~PVZ    PVZPVZP9>CVZ    PVZPVZPVZsPVZ    PVZPVZPVZPVZPVZPVZ PVZPVZ $,17@FKPVFZ_VeKPVeZ_VjKPVjZ_VoKPVoZ_Vtzo},oCoC    PVZ T'H5WWWv   5551 HN TV2 ]3 c4 i]Uv5 |6 7  48     9 : ; V< =        > h "L/) 5>FX<>6<<(<(6<6<6<X<*g5&555?    wU15.HSZn"%+17;>CHOU[aej[aep[aev[ae|[ae%>CH[ae[ae[ae[ae[ae[ae[ ae[ae[!ae)[ae/[ae5[ae[9>CHO%OSOXObaeOfOi;O9>CHO>CHOqyf;;;;;;;;;;;;OaeOOaeaeOfOqf;;;;;;;;;;;;O[aeO[aeOOaeOfOqf ;;;;;;;;;;;;OaeOO)ae/aeOfOq3f ;;;;;;;;;;;;O=aeOAOKaeOfOqOf ;;;;;;;;;;;;WO]adhm[r[aex[ae"+1%HH[ae[ae[ae!]a'T_y5WWWv   *555$M SY _V h n t z 4       mL ]h[NN/          ' - 35555MhVVV `g(Fo?hwwwk ((((66 hVVV  hwww  6 hVVV hwww 46 hVVV ' -hwww ;hVVV IhwwwKwwww&w0 p v W|~W|~W|~555555     U16.HSZt-t   Q2  #Q*,%153 > @#D158IO5UQ_af5j[p17.HSZ18.HSZ  "'+'"'0'7<@<GMSW _eiou{7u7<@T)* Y  VZ 4 464[ ```5555\ E] K^ Q4_ ]` c45  6a b  5465c BK &DGUZ5'19.HSZ`cfit{{{{{{{{ #+047:='TZnYlplyylld  V ll5l5ly4ye f 4yg h  ly lyy6i j By/0Zy   !O )y&lLU&20.HSZb^adglrx|rx|rx|rx|   rx|$*/*/6rx|<rx|@F IOSV[bhnru~'Tk jp vV*Wv 55.)*l m ) )n  446o  p 4q : /M0wP Y+)`&BlUZlx|xx21.HSZ  #)-27<BHNRUZUZaHNRekotot{HNRHNR)HNRototHNR<<<<<<NRHNR72<H NRHNRHNR)#)-)3);HNRAHNRUZUZGHNRMHNRSHNRWotot_HNRcfe)lqux<{T'ZYZYZY $WWv  555r @F LVs _ t y66u  v 5w x ``y     z 555554 { | 4 44} 9~ ? E K Q4  ]/4Y0wBFQ UZF22.HSZ>ADGJS[agkrw{wrw{wagkagkagkrw{wrw{wagkagkagk'T/4MOQ Y_ eVnppnn       npp4MOpn0QBQR pUZQQO23.HSZ#)06>BIO#)TY\T 5' . '4<5 'GQ.QGU24.HSZ%+26>BIO%+TY\T 5) 0 )<5 )GQ0QGU25.HSZ$*$18>FJQW$1\adT83(5/ 6 /<D5 /OQ6QOU26.HSZJ &-18> &CHKT'5$ +5 $6Q+Q6U27.HSZ*vy| "(.48>DHMRW\afafmsw}T' 56 WWWv   555  V       & , 2 455565 k q BT 0wUZ:E28.HSZ  #&,28<AFKPUPU\bhlotot{bhlbhlbhlPUPUbhlbhlbhlbhlbhlbhlPUPUbhl!F&+0+07bhlotot=bhlA8IQU8&+0+0]bhlafafmbhlPUPUsbhlw}'T 3)WWWv   5555 Z` fV y V 55551)* 4       hL ]wW  5555 5 ; /)GO  [ k q    &wU29.HSZBcfilotzzz zzzz#z'-39?CHOSWZ]`iqy'T rx ~V WWWv   4x5555/        !4   0X FBMwUZM4cgHcoVcwbc30.HSZr{~#(.3:3:3:3:3:@CFILORUT/4 41Q85 ```(`2`<`F`P`Z` d`x``!n`,`8V3U031.HSZ> &*17&<?BEHT 1 -/53U32.HSZ  $,171<CI1Ubgm1s{< !'+151=<AFAFMSW\`Ubekow<5`!)19?T/'   V "(*((55(( A ((GZOY(QZ\YZ^Z ((kOWOwyWZwyWkwyOv OkO ZZO kOOk5O(5Z(5k()wG*6Z (O(( ZOZ(   4kO 6Z5(Z5OO5kk  %4OO4ZO ;OOO( K Q]xZ& c i)wyG4u(k }5(k5Zkk5OZ5ZZ5kZ4ZZ 4ZO 6k      OOO Z(O kkOY OBG0(w 4uZkU&(ZG$ZCk'SG/\733.HSZ 2Lfd 2Z   ')#.[ 8 : 8'C?H\ R T R']Yb] l n l'ws|^   '_   '`   'b ' 34.HSZ2I`w 4KXer  %' +/ 8 ?A:E/ O VXQ\/ f mohs/ } /  /  8f/  /  /   88/   s 8t'8")./  : AC<G/  QS+/  ^`E/ km\/ xzs/ / / / / / / ./ G/35.HSZ>ADGJU\djrx|xxxxxxxx  T'ZOYMQZ  WZ`bWO`bWp`bZv MZZ ZMZ OpZ pOZM5MO5ZZ5OO5pZ5Mp5ZO5Op5pMMZMM$  V%  MpZ ZOZ OZZ pMZwMU&36.HSZ  $*28<?EKQUZ_dksy~8888888888888888kkksy8888!',27;@EJ8O8J8O8V8888\8888bjptUZd{888888888888'T    /%W "W "W0 "v 0  005  5 5 50 i$) oq* 4|0|2  V   3 4 5    6 7    8 9 : ; < = h Lq>    0 ]y*c 0& 5 550000 ? T@ ZA `  4fhf6fB yC D E F G H I J     00w Ud 37.HSZ  "+6AFLV\bjpx~ #)-2#)-6>#)-BGKGPUPU\#)- PUPUb#)-fkpupu|#)-#)-G#)-k pupu#)-#)-G#)-G#)-#)- B GKGPUPU#)-#)-PUPU$#)-(.26:>BEILORW\`dgT/'   ZY ZY'Z0Y2Z;Y= 4J; WRTWRTWRTXhRTX0RTXvRTX;RT)RT*v4;400404v4hh4h    5556h606v6;h6h606v6;5 5L v 'VM 04J;N <55 O ZP `5 5    Q zR 56h  S    55 T U 60V  5 W X   ; ; ;   Y 4vZ [ "K   GGhGGvw U0e U& L38.HSZ" "%(+.5:>:5:>:EKQUZKQU`ekepw{::5:>:5:>:KQU::::::wwKQU5:>:5:>:KQUKQUKQU5:>:5:>:KQUpKQUKQU KQUw"KQU&,16<KQUBKQUHKQUL6RwYKQU_KQU5:>:5:>:eKQUwintKQUp5:>:5:>:zKQU~KQU,5:>:5:>:KQU::::KQUKQU15:>:5:>:KQUpKQU:::: KQU"(e.158;>AT/'13311] CI OV^ X1^11i513uW3^iW^iWu^i3v 313 u3 u3u533535u3_ 31336363u` a b c  133d  1u3e f 43u33g 631h  45115u1i :j @k F4uuI6l Wm ]n c]mlo rp x433u 434u3q r 5u31s t 53151u v 4uu515355u4uu3u1w  f 341 33 33 u13w1U039.HSZfiloruxi!'-39?DINSX]b]biouy~ouyouyouyouyouyouy]b]bouyouyouy]b]bouyNouyouy]b]b ouy i!*/37;?DILQW\couyiouyov{ouyouyouyouy\ouyLLovouyouy ouyouy$ouy (/ouy3;ouyAouyGouyMouy ?SX\_behknrLv'T/{}{ { )}v5{X}W}W}W}4{ X} X}X}ZY{ZYZYZ Y {  4445556{6{6{{{{ gm sV | ``{ ``{ { {  6 6  6{ {  K{{{)}ZYZmY&HHmG GI B{*LO6U6U a g6m6t6U    6m{6t{ h{ B$X} {6{{666X{g4{  66   "6{ -4t 9 ? E Kh Q&{0Uw{40.HSZ"(.2;ADLADVA\bfil'T  & ,V )579*5 )HJ9)RT99&`U41.HSZ  %+1616=AGKNTX\afXkXpupu|AGKTXAGKfXAGKAGKAGKAGKAGK%AGK+AGK/7AGK;@EIO1616TAGKX]`cfT/v'ZYZYZYZYWWW    ; EV 5555 z   5KYDDDGGG+ .(  4    6 4 # )4 566& L R U42.HSZ !$',28<CHNHSZ`eie`eiep28<v28<|S28<`eie`eie28<ZZ28<28<`eie`eie28<28<28<Z28<28<ZHZZ ZZ ZZ Z#(28<ZSZ`eie`eie.28<428<:28<`eie`eie@28<F28<JMS28<Y28<_cou{28<`eie`eie!S28<!28<`eie`eie28<28<`eie`eie28<28<28<uZZZ28< !#).147'T *0 6V?A?/?L5??X?^^?? n t40z^ ?z^   6060?   ??^   60z  h?Li ^ ?g ??z5?5?^4z)LX* & , 2 8 > Dz Q W]h? 4k^mk yZ?9zMXX]E?6k? ]zj ^)LXD?  4? 6k^   4kz6kz K???ZzY?D0&?G0'^U&43.HSZRhknqt{ !'-1k7<BGJM'Twyw=w5ww www  V Kwww L     X6w4w 5w5w E%E+E5%@@U44.HSZ #)/39=@EIE@EIEPT39=\39`gkgpEuEpEuE|39=`gg39=39=39=g@EIE@EIE39=39=39=39=39=kkkEEEE39=ggpEuEpEuE39=EEEE39=39=ggg 39=pEuEpEuE39=%39=EEEE+39=139=739=;AGOSg[g_39=d39=j39Sg=pg_39=v39=|39Sg=_gpEuEpEuE39=39=gg`g39=pEuEpEuE39=EEEE39=39=Sg`_OOO   OpEuEpEuE"39=(39=S,048<@FJgNQW\_af39=jmpZYZYZYZYT/' v WWW   555 4! - 7V N  Z6e6 z6   ]|     555555   5} q    #  )  /  5    MK  YL  b h n t z      WWWWX55nN X44r  s 5   &HHHHHHeHDHwt U0 dU45.HSZV  %+/28> DINU[aeh+m+h+m+t[aez[ae+~++++[ae[ae+++++[ae[ae++++[ae[ae[ae[ae[ae [aeh+m+h+m+[ae!h+m+h+m+'[aeh+m+h+m+-[aeh+m+h+m+3[ae9[aeh+m+h+m+?[aeE[aeINSXINSXI]N]S]X]IaNaSaXaI+N+S+X+glrx~'T  %W WW# v    #    5 55# SY _V  r x         !    " # # #$ % < = hL> ]~(  )  * %+ +, 1- 7. =/ C6Y#6Y6Y 6Y#u e        # U?w46.HSZ  %*/6<B6EKQW[agmW6sy~              $*    06<B6F6INSY`~djptzp6~6666 'TI   WWWv   5554):*444444444:4:6::0  V1 2 3 4 5 6 7 hL: X:6666Xg8 "9 (: .; 4< := @6644:6:> ^4444444:K?w? &U47.HSZN "*28>8DILv T  8( 0  0< U48.HSZN"(08>("(DILv T     ,.96   .  U49.HSZ $'*3?EJPEJX]a]hntx}ntxT-)-/1 9;=5999 9N=6VN-6V9@ fl rVA {4VN;V4V9;2)-1*&959=;59;w =U50.HSZ%(+.5:@:ENTY_ein_eit_eiz_ei_eiT'T41311>511.)>JL*B W] cVC lD rE xF ~)>3Lx U&151.HSZ.147>CICNSV[`d`[`d`kqw{`qw{'TS:<::G5::2:YY::G io uV 4~~G]y Y_U h:::k:YgLZo1 52.HSZ4  %*/3/*/3/:@HMT[`fn/tz////////////*/3/*/3/`//// */3/*/3/ $*04<BGLPV\dho4sG*/3/*/3/x~ M*/3/*/3/ 4"%(-4:4/B/I/OSW]aeim/quy}!',2!M7=C2JR/sR/W[`[`elpR/sR/z~R/sR/2222R/sR/R/sR/2222R/sR/R/sR/R/sR/ 222222222222    /G$ ( . 4 8 < A E A K R X ^ d j p t {              . 2. 222222222222 . ( . .   A %   ! ' - 3 9 ? E K O W [ c g n r x ~    =2        / /G! 2         4 G4 !/ M/#  ( . 2 8 < A G L Q V [ b MMf Mm q w }   [e` [e` [e` ( ( <   < A  w < A  w < A  w < A 2   [  w  2 < ! <  < !"    $  * 4%e. 6 G> D J P [V Z a g m q ex ~  Z q  x [x        x ex q       /   G   ! ) / T/'   VGvWWW    55555555H 8I >JDF5w Rx YDXdFXlF4d4l6d6l J K  L M N O  P Q 4DR S 4ddT U 4llV .KW :m@LX J4D4d4lY b6DZ mg[ v\ |!44646d6l6D46d6l6D 4] ^ _     4d4l4D&70 R Y2 8ZY>nGDDDD[DDDDGGGG[GGGG n>Zn!nZn2"nZ[nd#nZn$nZn%nZn&nZn 'n  )[2*` 5 )[;;hH@ka U666b jhH@c xhH@(2(2(2(2d e hH@f g h hH@i j hH@hH@hH@k l  ?K   - z  ' $" 4m 2 H[[4[6[n P $  V %  \ &  b '  h (  n 6)  y *   +   ,   6-   2   3   4   .   /   0   1   4N24([NN[ 444[4[65   44 )[ 444o = p C q I 4r U 4s a 6t l 4u | v  6w  X[6664    66x  y  {  66z  6{  6|  6}  ~    ` .n> DQ  ,  R  6 Q ` `;`[``S  ` 5T  k 4 {   6U          4  4(.  /  0  (41  2           V   X 2W   X   Y  " Z  ( WlX4 [  < \  B ]  H ^  N _  T 6`  _ a  e b  k 6c  v d  | e   f   g   446h   i   j   k   l   m   n   44o   p   q   B;r   |  wUZ;  M    d ' 53.HSZ!&!&-39=BFMQFM!&!&W[bglQFrx!&!&}QBTZY ZYv  555   V + 1 755 K U `` (* {6   664    /4 0} w&UHZY'54.HSZ  $)/)4:FLPW]cimrv{{v{{{{{{{{{{ {{{{$*)$*0)*6)6)<)DKRZ^bgkpuzr{{{{{{{{{{{{<<<rprr)))))))))rr) TZY ZY ZY'"*-W-"W-"(W@BDv')S"U  5@  V   @ @ @      ZY@H~ @]      @ @ @@6B6I4P@ XP6P6P@5555@ 5 5@@@@ @w%)U*&5@ @6I@6B@  @ @ @U (@ /0  U55.HSZ"  "(,39<?GMSY]YchYmrYvzGGGG"(,"(,"(,"(,GGGG"(,"(,"(,"(, "(,GGGG"(,"(,"(,""(,&+171?E"(,KOUKYG^GYG^Ge"(,KkKs"(,KwK}GG}GG"(,"(,171"(,1]YYm"(,KGGGG"(,}GG}GG"(,9Y'T  5   &V) /1*/X1 E41K1WK0 fELpEWE WW WK vK EWE WWE KWEE EKE WEE5E5W5KE   4EWE1           ]c) /~N5= CI WEWWEW cYNi q EEEEE    E  E5K5W5EE5WK   WE EEE WKE KE(WWW&wU56.HSZ!',06:CKRV[_'ehkT)* * 4VM=?A6AI P6A?)U&?57.HSZ6*-03>ELQUQLQUQ\bhlov|bhlvbhlT'Z8Y6:R:C6JJ66 Z` fV66Jt zM6J6J 6J666h666k6JgL U&58.HSZj/258CJQVZVQVZVaekot|ekoVtekoT'Z=Y;?*?H;OO;; _= iV r;O z  M;O6O6O;6;!h;;;k=;OgL U&59.HSZ8;>ALSZ_c_Z_c_jpvzpvz_Z_c_Z_c_pvzpvzT'ZFYDH9HQDXXDD hn tV6D} 5DXMDX6X 6XD}6D hDDDkDXgL U&60.HSZv[^adov $*06:?GLPSVT'ZiYgk<kt?h{{{g}ki ig5gi5g)*gigg  V Mgi6i 6ig giWgWgWgWgWgWg"Wg"Wg&g ghggg}L JU&61.HSZR  #)/59?EKQV[`gkpuzg?pQu`5%-39>3CK%N>SW]kpuzdjntzT'  vZYZYZYZYWWW    5555e5555  V        5    #?K+++ 7LhAkg Q  b h   wU62.HSZ8;>ALSX\XSX\XciosxLiosiosiosios'TZFYDHDQQDD ag mV6vQ}6vFDQ] Q LhDDDkg DH   U&63.HSZr[^adimx (/5;?EHLORU'TgvZrYptZ}Yg<WgWrggWggr grgg5gg  Vpggpp  hpppkpggtgL gggp hppp& - 3 9 gpgwpU&64.HSZ   $).39?EILQVQV]?EIafkfkr?EI$.v{v{?EI?EI33?EI?EI ?EI ?EI?EI%?EI+?EI1?EI595>5E?EIK?EI3OR3X3^djp35w?EI{?EI 'TvZY ZYZYZYWWW   555 7= CV5 [5 p  Km!=)* L 44444446  4   # ) /66 C Ig&+=VWWW6 u ~/4   H 0Uw&65.HSZ  #(-6<?EKQW[^ c ^ c jQW[ntz z[ [QW[    QW[QW[  QW[QW[ #+.4QW[8=CQW[IQW[MESE[`ehkq yQE}[SESESES`ESESESES`E`?E QW[E`QW[8QW[ +QW[QW[QW[QW[+QW[QW[ (06:@FL6RX^djpv|6Xdj|6:@FL6:R@^FpLv6RX^djpv|6Xdj|6:@FL6:R@^FpLv6RX^djpv|6Xdj|6:@FL6:R@^FpLv6 + QW[ 'T '5ZYZYZY ZYvWWW   555)24*4 IO UV h               55  66   < = h!L4> 2]; A G44 Y62/(4O w44464(444444 4  H4  K          4Y4 4& 4.Y4Y44&4.4Y4Y444&4&4.4.4Y44&4.4Y4&4..?KY0_  Uw5& O66.HSZ>ADGRY_dhd_dhdou{u{R_dhd_dhdu{u{u{dd'TZLYJNWJ]]JJ ms yV ]   hJJJk J]NgL ?K ]U&67.HSZADGJU\binr\w\r\w\~Ur\w\r\w\\\'TZOYMQZ&M`MgMMZMM  | V! ]" #  hMMMk MZQgL$ ?K ZU&68.HSZBEHKV]cjouy]~]y]~]Vy]~]y]~]]]'TZPYNR[Na)NhNsN[NN&  V' ]( )  hNNNkN[RgL* ?K [U&69.HSZvy|    &,49<DLOW\`9e,i<9<lor'TZY)6  V7 8 9 : ]; < (*(((&?K*** 2L h@BkU@g= cU&70.HSZBEHKPV\`glplglplwV\`}V\`V\`V\`V\`V\`glplglplV\`'T@ NT ZVceeccA uB {] hccckceZ egLC D E F G U&71.HSZ'.27>CHRX\bhHntzCn7n #)-28>DJP.V.[.bfkfkrv|.V.fkfk-2n)fkfkHHHHHfkfkH %+)/-25-'9fkfk?CfkfkIMSYCa>DJP)ekquq.>DJP>DJP>DJP>DJP>DJP>DJP) T>1Z!Y!#,v55!5<!5,!< )LNP5W5LNW<LNW,LN !!5 5,5 <55 ,<5!5!,55<5<<5,,P5!<5555<,!55!!R  V555!S  !,<)<5!T *W5!!W<!!W,!!U V !' 0W 6(!5<(<<<(!<<(<5<6,6!X `,5,!Y p45<4',56<6'<6'5Z [ \ ] ^ _ ` a K!!!b Lc d e f g h W5NW<W,G!50<0,0,i #%)']<H!j =k G 5<' <<' ,<'l _4<04'5P'4'<0h{}{!!5(,5<(5<<(,<<(55<!5?K 5g m n o p q r s {  )<&!w!U372.HSZb  "*27@*GOU[bhlsy}***"**"*** *"**!'"***-39?*"*E*K"***QU\b*h*ou{7"'T   VK   (Z Y .5  <>  E 4KMMK6KY  `  f6 >  q  w4K>     6 M6 Y        6Y 6M    6>      ML      4>>             %  +  1  7  =  C  I  O5 Y  Z  `6f>  m  s  y    6        4>>  1   > 3- >U73.HSZ& ",2"58<?B?K -,=&(*gL 74.HSZVJMPS^elquqlquq|lquqlquq 'TZXYVZ.ZcVjjVV zX V       hVVVkVjgL  Vj?K j&U75.HSZ 'T]U76.HSZ 'T]U77.HSZ 'T];U78.HSZ 'T]bU79.HSZ !&)'T]i U80.HSZvRUX[fkpt|pkppppf !&pppp,06<BFpJMPSV'TZ`Y^bvnn(WnxzW^xzWxz nn ^nn nn5n^5^^5^^n^  V   ] nj hk nbgL $ * nnn ^n ^nw&U81.HSZ   %+15:@  GKNVZ^NZgK^ow}^^ ^^KZ!'-5;AGKPW]agnr'zZZN^'T (  V5) 4!###> /]k8 >* EK' TLB=acemG)csu*+ , -  4. h%HXc"5g/ 0 1 h!k#2 hqN N XOXc4X+cX3c4+#43a6+633 U4 [465 l46 x7 ~u6#8 6+9 4+ : 6; < 4 43 = > &6= U82.HSZ 'T]lU83.HSZ 'T]nU84.HSZ 'T]oU85.HSZ%).2.9>C>CJPVZ]b]biPVZ>C>CoPVZ>C>C>C>C>C>C]b]buPVZ>C>C{PVZPVZ.PVZ..>C>CPVZ.PVZ]b]bPVZ>C>CPVZ]b]bPVZ>C>CPVZ % 'TZYZY:WWWv 55t7 HN TV g m s y  hkgL 55 5] hC      w&U86.HSZ !%,0,7=CGJNRW\_bT')*  V446   456   6*6 5 ; A/&H UU087.HSZ;>ADGPVahlrxhhhhhhhhhhhhhhhhhh hhhhhhhhh%+hhhh1hhhh7;AhhhhGhhhhMSWh_heWhhhhhhkqhhhhw{hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhha '/7?GOW_gowhhhh hh!%+V15:@GMSY_ekqw}Whh $(/5;AWGLSX[^a'T5)JLN*Z[YY]ffWfJpW[JpW~Jpv f~f [ff YYfY5fY5[Y~YfYY  V fY 6~6[   p?KNYNNfL  # ) / 54[f E K QKYYY ] c i o u fYfffffY   [Yf[[f[Y   ~Yf~~f~Y 6Y    ]NY(Nf  /2XYY XJL X%JLX-JLX5JLX=JLXEJLXMJLXUJLX]JLXeJLXmJLXuJL'}Yf4~]4%Y]4-f]45[]4=~]4EY]4Mf]4U[]4]~]4]Y]4ef]4eY]4m~]4m[]4uf]4u[]u f0_  hYYfYf-fg [2))5NYw/WY855Yf E K Q  W  ]  c  i  o  u  {     &Y~ff              4]f[]4]Yf6E~6M~  6Ef6Mf  4]f~4][[6][       6]~  "6E[  -(3  9 ? Ef5Y[Qf&U88.HSZ"(-39?CFK(SWZ'T O) *+ 17 =VU)I &QU89.HSZ #(0(7(0(7(0(7(>EKQUX[^ad'T&5,.5,55,< CI OVU090.HSZ"&+1+&+1+8>DHK+P+K+P+W>DH&+1+&+1+]>DHcgclc&+1+&+1+s>DHy>DH>DHg>DH>DHcc++++>DHc ++++>DH ++++$>DH * . 3+8+3+8+?>DHE>DHIN3+8+3+8+U>DHYa>DHc++++g>DH3+8+3+8+m>DH++++s>DHw|++++>DH>DH>DHY3+8+3+8+>DHw++++>DH|.c++++3+8+3+8+3+8+3+8++>.cIcc. I .I .++++ w "(,2("(,8("(c>DJP(V|.^djpcv|||c..cv|||c..c|cwc+++++++++3+8+3+8+>DH++++>DHN3+8+3+8+>DH++++>DH++++>DH3+8+3+8+>DH >DH >DH>DH>DH>DH!>DH'.5<C>DH++++I>DHO>DHcwcU>DHcc[>DH3+8+3+8+a>DH++++g>DHcks{ccc+>DH>DH>DH>DH>DH>DH>DH>DH>DH>DH >DH>DH>DH>#)-)3)9>CHMTYDHa>DHcgccn>DHrux{~'T "$$"/ 6< BV/$// U [a6"$6"/ q w }  /$?K&/Z<Y/D$DDaDDDDD/D"$4/$//$// 6// 6/$ 4/$$ " (6$$$$$/ = C6$6$ S4$$ _ e k q6/6/   $  K///X/ X$L6$/X/X$<4a/a/$4$$$4a$$a$a/4/$a4a$a4aX/<aX$aX/6$4$4$4/$4$NaX44X/( X/\X$\N/N$4//4/4$/4$4//N/N$a4$$X/<X$4$/$   4//$   ]h///k/$g       u%v,w34: A G M S Y _  en/Zoq/;ny$oq$noq /$$$$X//)*W/\5/4$$      5/               /$         44466\6(666R4a  _ e$ l0U91.HSZ "*040:='    4( (4( 092.HSZ69<?JQW]cgl]cgry]cgQQy]cgQ'TZDYBFO) U[ aV* j5Bp w`B}p`Bw`BB5BB}+  OLhwBBBkLFg, ?KU0&93.HSZ $(-_gjnwQ "V+?i9;=?j9;DI57OS13[Lg qu |3 +94.HSZ~ #'#*06<@EJOV#[#V#[#bhnru#z#u#z#hnrV#[#V#[#hnru#z#u#z#hnrV#[#V#[#hnrhnrV#[#V#[#hnrhnru#z#u#z#hnrV#[#V#[#hnr####hnrhnrhnr####hnrV#[#V#[# hnrhnr#### hnr&*0V#[#V#[#6hnr:CI0O#T#O#T#[hnrV#[#V#[#ahnrV#[#V#[#ghnrkptzEJOV#[#V#[#hnru#z#u#z#hnrhnrO#T#O#T#hnrhnr####hnrhnrhnrhnrhnr0I00I0!#I0#I0#I0#)1I0#I0#I0#I077;ADAO#T#O#T#LhnrRhnrVO#T#O#T#]hnra#f#a#f#mhnr#q#w{~##'T (WWWv   5555TT `f lV     6T6T   6T    4f 455f   ! "  $4TT# 454?A4Tff; Y< _= e]WnNTxRNT> ? A@ 4f4fA6fA B C D E F G NTh$LNTNT2g(A4T6TNT(ANT'<NT/?(A*(AH JI P6fJ [??K kKw& U0_95.HSZr  "&")/5;)/)/ADINSX"]"X"]"dhnru"z"u"z"hnrhnr""""hnrh"r""""hnr""""hnr hnr$*06hnr<FMShnrYhnr_hnrehnri"n"i"n"uhnr{hnrAAAAAAAAAAAA""hnr  'T )WWWv    *5555L b lVM N O P 2/X4444N66Q R 4S ]"(.T 4:Z@YBK Q W ] c s y((((((((?K Ww&Lhk&BgV _0U96.HSZz '  T h))+)-k:)ZBDH+gLW Y: cV0U#&/7<JOSV[_eilorux97.HSZBPSVY\gnswsnsws~ssssnswsnswsgssss 'TZaY_c_ll__Y | Vlll_Z [ \ ] h___k_lJcgL] ^  lU0&98.HSZz '  T h(***,k9*ZA-CG(gL` XA bV0U"%.6;INRUZ^dhknqtwz99.HSZ '  T h(*((,k9(ZAPCG*gLb X^ dV0U"%.6;INRUZ`fjmpsvy|100.HSZ ps'  T h**,*.k;*ZCEI,gLa Z; dV0U $'08=KPTW\`fjmpsvy|101.HSZz '  T h++-+/k<+ZDfFJ-gLc [< eVU!%(19>LQUX]agknqt0102.HSZz '  T h+---/k<-ZDH+gLd Y_ eVU!%(19>JOSV[agknqt0103.HSZ  $)-7?DIMQUY]emsv|D'T hkZYf  VDDD55g  5 h ]'h5/=ge GEEEWWc Wckv   i j k l  KwZYZYZYYUL0104.HSZb "%(+047=EMXcjqu{{7777777777777777777#7777+/77776:@/7777FL7777R7777X7777^7777dh7777m7777sEwE~77777777={{47'T.w.K;;;CZ;Y;IZRY.T Z]YC_h.r o ;C.; ;]LR Vv5;C5.C5;.5.....;s h5.; 5.t ;;;.u C.C;v  .;.. ..w  x y 5CC CC.z )5C{ 4 C;.C| DJ} P~ V \ b k q5;; .|5;;.?KA .   ;;. ;|g;U0105.HSZ   %*/47<7<CIOSX\a\ahIOSlXqX7<7<xIOS||IOS7<7<IOSIOS7<7<IOSIOSIOS\a\aIOS7<7<IOSIOS\a\aIOS7<7<IOS "%(+.49'T!WWWv(   5555* AG MVV f66 v     4     / (4     &0Uw 2106.HSZ "(.27.=CI OTY^chlhqhv.{.v.{.....v.{.v.{.....v.{.v.{.hlhhv.{.v.{.hv.{.v.{.....lqv.{.v.{.....v.{.v.{.....v.{.v.{.&....,06<B .H.KcO.U ^.dj O{.v.{.v.rv }    O{.v.{.v.            q  .26<#TY'.^h{.v.{.v......4v.{.v.{.:l>EMPTMP\MPdMPlhqhv.{.v.{.nv.{.v.{.tz~> cccc#c)c/c5c 5c/c)c#c=CGMTX^dhn^ds.x.s.x.....CIP.H.K.....s.x.s.x.PP....dns.x.s.x.dnOs.x.s.x.s.x.s.x.....s.x.s.x.h s.x.s.x.dOnhs.x.s.x. .OPM...."%HK.(+'T  WW Wv(5     555 5*f65 6555  V   455  65 45          45   $  *(5     w&SX5Z\  45  p{Z55  !  '5  /X5  4f  44f  0 545# WW W(  5  , 2 8hAAACL hAAAChAAAChAAAC l r x]2X5XX   44 4 4 4  44 42 4 X_( (   (  (  ( (  (  ( (; A K RX\4\ \4\6\\\ } ZY  5 4\   6\ 4\  \      6\ ! 4\ " # ?K   X\$ U&107.HSZ   $'5=E L $P\dj o v $z $Ej $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $  $!)/7 $;dEKQY $]=gms{ $'T hL  GXg%  Vh HX/13";5C& Jh !XXZ3#b55' th IXZ5( C) * + , - . / 0 1 2 3 4 5 6 7 8 ]9 hvNoN'X: 5hNXCNXCXX; WhqN/eN/X/< yhNNX0Uw108.HSZ #(#(/ 3; #(#(A GKG#(#(R V#(#(] aff#(#(l Gpv#(#(|  G 'T0)ZY* 2 5F   V6= - > 9? ?E6@ P6A [6B j4C zhk"ogLD 4 5E (& 0Uw&109.HSZ   &,06<BJRU]bfintx60~6  6'T)#)ZYG  VH I 6J 5K $L *4M :@ hFHkq[FgLN lO r4@@5@6P 64@& 0Uw&110.HSZ $+15;A;GLPLWL_glty};'TZY=5R  V 66 4 4S 54)) 4?55T U h[]k!jpr[gLU 4?V & 0Uw&111.HSZ  "'+'05950595@FLPSW_ek5qt5zS5555FLP05950595FLPS5555FLP'5555FLP5555FLP05950595FLPzS 05950595FLP$*0S65;565;5BFLP05950595HFLP65;565;5NFLPTFLPX5]5X5]5dFLPjpxFLPjX5]5X5]5~FLP5555FLP555'TZYZY6 6Y >D JVW[]W[]W []v(    5555 *Z 4[  \ 5 5 ] ^ _    ([` /4[ [ [ [  [a @b Fc Ld Re b h)nf vg |h    & 0Uw&112.HSZr\_behmu 'TkXqsk){}q6q5}qqq}o  V}}}p q r s  Xqk6q5}}t u &} 0Uw}113.HSZ TU114.HSZ:115.HSZ:116.HSZ:117.HSZ k   TK "W #%# X-#/6-<L/s  IO UVt  ^u  d6j<jv  u6{}w  x  y   6})6} 6}6<H 6}z  6<6<6{<{  |  %}  6j}6}6}4<}~         6  $)#/*  3  9  ?!  E"  N#  T$  Z  `f6-<  q6-}  |6-   &  } } }'17>BEKQW[`QW[fQW[ElqwQW[EQW[QW[QW[QW[QW[QW[QW[QW[ QW[qQW[QW[QW[&QW[*05QW[;QW[AQW[GKBW[PQW[VQW[\QW[KBbQW[hlsQW[7w~QW[7lQW[EEB f118.HSZb  119.HSZb  120.HSZb  121.HSZb  122.HSZ &).6;>CKS_Kjpy !&!&-16!&!&=AGM!&!&SY]ci1ou{!&!&CK', 24TKAAAI"WAOQZYYA[ Xdfh6d4$Xuwh6u& X6 % X6Lh)OhI*d44dA  V u4uA 4A     444A +6uI6A ;4d4I K Q W44 g m s y 444 4dIY4uIYd6I6IQ  dA4(&A4[ U&123.HSZ   "-8=EKQWW[agmrx|||  ||||WWWWWWWWWWWWWWWW |W|| &r,/258;W?T>v'(*(((((((&ZYZYZ'Y)Z2Y4$WACWACWAC   5y v2 Vz { 5555| ]555} ~  55 hk?g      0Uw124.HSZehknqvvvvvvvvvvvvvvvvvv vvvvv"'*-0'TtZ|Yz~ztzz | V tz     Kzzz+ztL hzzzkzt~g     tU&125.HSZ !TU126.HSZ "&+"".158?K  gL 127.HSZ "&+"".158?K  gL 128.HSZ "(-""037:?K & gL 129.HSZ "(-""037:?K & gL 130.HSZ "(-""037:?K & gL 131.HSZ "(-""037:?K & gL 132.HSZ "(-""037:?K & gL 133.HSZ "(-""037:?K & gL 134.HSZ "(-""037:?K & gL 135.HSZ "(-""037:?K  & gL 136.HSZ "(-""037:?K  & gL 137.HSZb,/258=IN=S=N=S=Z`fjo`fju`fjN=S=N=S={`fj'T;ZCYAEA;AA X^ dV m s y U&138.HSZCFILOZafjfafjfs{afjfafjff{f'TZTYRVR__RR hRRoRqk~R_ogL ~ V  hoRRRq&R_ V ?K _U&139.HSZ>  &,0595>C>CJPVZ]bgkpuzuzPVZ>C>CPVZuzuzPVZ>C>CPVZuzuzPVZPVZPVZ>C>CPVZPVZ>C>CPVZPVZ0>C>CPVZuzuzPVZ'TZYZYZY $WWWv  55 HN TV5555                0Uw&140.HSZ^   %).3:%DJRX\_djrxXX__X%%%3%.%X!'-1%6%=C1_I_OU[`Xdh%m%%mrwz}'ZY T/#m ,k6 8!)6@BB$4NPPN*6N#)h 8p4N#v%)6~B4N8# 8& P4N 8gL 88   v V5 P5   N8N      (h ,  4N#8   % +6N86N  ; A G M SQY4N8 f85 85 #0Uw &141.HSZqtw $*.8<AGNRUX[^'Z|Yz~T4zz z z zz5zhzzL  Vgzzz  hzz 5z|  hzz 5z| (hzz 6]?" E LU&142.HSZ> *09?HNU[bhouz~    '-16:?EKOTX_eOTkqTw~}~T~X~TOTTT~'TK"WZYZYZYZY X6%X6' X$&(6$  X5765& X7DF67XS(6SX`D56`)Xm&76mL()7*  V     55   SS  $$ 77 % +]a4 = C I66 ] c i o u {        4 446    6 &FU&143.HSZFqtwz}} !'/4/:@D4IPD4T[_g ouy'TK' L VB=G)*   4 h$HX!5g    h%k2! 8" >626# N6$ YhX% m& s&40=}U144.HSZ^  %)159>DJPV)5Z5^iqu|595 #)/59>9>E)5OUuYaglr595z5 &,48>B>)5H5PX^59b4jpv|94H5)OUuYaglr595z5 !%5+374;9>9>@DIN7I9>9>VZ^Zeint|9>9>9>9>^7ZIZ9>9>Z)HiD 5'TZYZYZYZY@  VA B  C D E F #KG /LH <I BJ HK NL T5&$=ceg ov(#Wxz5Wzz5%Wg5M N O 6P Q R 66S T U V W 6X Y  Z ![ '\ -] 3^ C=IKMWKMWI_5WKMW)K_x*WX _ `   5a b c d e f g h i j k l m n o  p q r s $ )*_x 24x4&hLLN=ccM)zxt hu nv tw z42?KgXez6xhLLNX46x 6y )cx)KMxW_5z { | } ~      W  1 >55  T5 cXlI_ z       5  h2Nk M   w0U  145.HSZb(+.9>CHLHCHLHSY_chY_cnY_ctY_czY_cY_c'Z3Y15T1AA11 QW ]V f l r x ~ AU&146.HSZn=@CNSZbiosvy~~y~~y~~y~~biosv'ZHYFJT hFFVFXkeFgHgLFggFF e V    hFFVFX IJ gU&147.HSZN!'-3'9=GOU]cio'sz~3''TK' L VB=G)*  6 h'HXg  % 4++ 7h ENMN% [ a g m6+ x4+6+   4+%   &57=U148.HSZ.149.HSZFdgjuz} "&*06:BFLTZ:`flqtw}'ZoYmqT/mmkm)4mm*6mo)m  V4m  6m       4mm 44m @4m4mRm4mm(&m jgLzU0&150.HSZ  #(,#2(8>  DJNSX[aglrzX    r"%('ZYT/  V  5(*&(& 6 < B HmQk& 54Xvx6$Xv6XX5 g hQL   66  4 U0&151.HSZR  $*06:=EOUX]bfb]bfbm06:qvzbbbb06:bbbb06:vbbbb06:]bfb]bfb06:]bfb]bfb06:bbbb06:qbbbb06:v06:]bfb]bfb06:vbbbb 06:06:bbb06:bbbb%06:bbb+06:bbbb106:bbb706:v]bfb]bfb=06:CKPVZX_06:e=EjnuZXz$'ZY T/" (. 4VK   C)IKM*L [[   k6I[6I"I[I  .[.   6"4[[  6 " 6 [  4I"[I 6."6 6.[  6.   6[   # ) / 5 ;h   AkN [g ]c& .[ s[}U0&152.HSZf9<?BEJPU[UPU[Ubhnrw{wwhnrhnrw{wwhnrhnrhnrJT/HNNNNY  `f lVu6Nu6NY    6NH  4NH     N XN6NNU0153.HSZ0369<AGLRLGLRLY_eint_eix~_ei_ein_ei~T/?EEEEP  W] cV l  r4EEEE    4EE5PE  #XE6EEU0154.HSZ0369@EJNSWSNSWS^djnsdjnydjndjndjndjnT5<>/H>>>><  \b hV  q  w  }6>H  4>>  >2X>U0155.HSZfilov{{{ %(+T1rtrr r/r   V    rrr!  6"  6        4   ,-XU0156.HSZUX[^gmsmx}}}} "%T acea-aqaqeeeea   V  2)c  *    )qqc5aaeaa  6ee  6ec  4e-  e )Xe&aU0157.HSZ" #)19>JOSV[aimtx{~T+ 56.   V#  $  %   &  6'  (    4)  *  !+  ' h-/k<Z2DH-gL,  Y?K___grU0158.HSZehkpx|x !'-39?EK!K'E-?39SY_YdjorTKnnnv% Wn5n#X6L")v*   V              ]       n(n(vv(nv(v((v(v(?KQQQ  ]&n hU159.HSZfy|   &,1,18<A<AH,1,1NR'TK )W*4  L;   V <  =  >  ?  @  A  $**B  6C  FD  LU160.HSZjX[^adkpvpkpvp}pppppppppppp 'TgiigtL  { V 4iiM  4iN  66iitO  6P   4iiQ  R  4giS  ]T   Z161.HSZ258;@FLPUFLP[FLPaFLPgFLPmFLPsFLPyFLPFLPTV  >D JVW  SX  YY  _Z  e[  k\  qw h}}}k}Zg]  ^  U162.HSZ&147:=HOU[_dU[_jU[_pU[_vU[_|U[_U[_U[_'TZBY@Dc  MS YVd  be  hf  ng  th  z h@@@kS@Dgi  j  U&163.HSZ-0369DKQW[`QW[fQW[lQW[rzQW[QW[QW['TZ>Y<@r  IO UVs  ^t  du  jp h<<v<xkO<@gv  w  x  U&164.HSZ>MPSVYdkqw{qw{qw{qw{qw{qw{qw{qw{qw{qw{qw{qw{qw{qw{qw{'TZ^Y\`{  io uV|  ~}  ~                   h\\\ko\`g      U&165.HSZ| %+/4:AELREV\bhntz'TZYZY   V63WWWv   5555        #  )] 2 8  ?5  J  P   `  f  l r  x~         &hrkg  Uw&166.HSZ. "%(+06;?IQY`fks|;; s;; &,2&9 Yf=BG&&NRGX^djntz~;&Gn&YGs=  &%*0&47:=@CTK...'9...  )EG. XGOO6GW XOG^6OWXEE^6Eq Xxz^6x.XxG6X6qL   V    .W(.W*(qq(.q(qW(W(Wq(q(WW6Gq6Oq6xq6q  ?Kq  */ 0W76EW6xW6W  L4q4GWWG  b h r x4xWW  ]94WW  4OWW     6.  6G.                         0 #WW.EG&.U&w.167.HSZ369<GNTZ^cTZ^iTZ^ou}uuuGTZ^'TZAY?C  LR XV  a  g ?Am?4y{my6ym??mA ??A4RAmR]$ m h???ky?m{gL  ACU&168.HSZ(+.1<CGMQVGMQ\GMQdls{GMQGMQGMQT'Z6Y48  A6 KV  T  Z h4`44bko4qygL   q,8    U&169.HSZ BEHMU]glrv|U "(. 48@FL RX ^bggmsy UMUUMUU8( MU UUTKKKKS"WKY[Z[YKcDKDpDSDzDDDD D' X6p)YS*%X6zzLppK   VpK    6S6z    4zp  ,  24pp  >  D  J  P  V  \]e  k  q  w  }            6S6p  4SS    6K    hKKKkKpScg  U0  p&Kp170.HSZ,/25@GMSW\MSW`hpu}MSWMSWMSWMSWMSW'TZ:Y8<  EK QV  Z: hd888fks8:><{dgL          U&171.HSZ /258CJPVZ_got|PVZPVZPVZPVZPVZPVZPVZ'TZ=Y;?  HN TV] hc;;;ekr;]B?zcgL              U&172.HSZ'*-0;BHNRWHNR]emrzHNRHNRHNRHNR'TZ5Y37  @F LV  U[ ha333ckp3[67xagL        U&173.HSZz $)-$)5$)=$)E$)M$)U$)])c)fkrw})$)c))c))c)  (08>FLPV\bhlqv){)h)) ))")))(.4:@F)))LRX\bhhLnLXvzq)]$])$))zqq))z)q) Xc$$().6<])BGM)$QTW'T-   hL'hhhhhhKg  ZYnDD{D'DDDDPW)'*/4'?hk 46'hh   V       26'44''04&+4.,464.4D.4.'4644DD6.'66D6.  &&  6666    66    4D  1    6666'    6       &  ,  2  8  >  D  J 46'P4.'4D4D'P4.'P  t6    4'    !  "  #  $  %  46*6 &  '  46'(  )  *  h&=n-  "4'4'P+  4,  : @W&U174.HSZ^#(,#4:@DIMPT )*&)&A  28 >V&GU175.HSZZDGJOU\cjqxOO #)/5;AGMSY_ ekqw}O/M6MS6ZS6aS6hS6oS6vS6}S 6S 6S 6S 6S 6S6M6Z6a6h6o6v6}666666MZ6ZZ6aZ6hZ6oZ6vZ6}Z6Z6Z6Z6Z6Z!'S4MZM4ZZM4aZM4hZM4oZM4vZM4}SM4SM4SM4SM4SM4SM{KMS0176.HSZ knqtw~ %+28>FMRW} &-4;BIR[dmv}T/!z||KK  LV% =b }4}44}6b446604 6D 6K6D6Kb`bdf^mq|\y bb)bb*bbKbK+bKbbbbbbbKbKbKbDbDbDbDbdDbDbDDbDbDbDbPDbYDbbDbkbtbKbKbdKbKbDKbKbKbKbPKbYKbbK8xxxO 177.HSZkM   #' 02#' ?=A K}RTV_XaMf'ys_quz _V }sV_'~ ~~_H_M_ P_ K_ z  | ;'_")/'5;' E I N XZ/'_Se' E o t ~/'y' E   ?/''  _            t  Q         *%,  618dVBDDRTD6R6RR6VRFLV\af=k'    z  #  -  7  A    U  _  i  s  }  VBRT L'    K%*  /4(  >9@2  JEL<  VQXF  b]d  inZ  xsz  Dn  x  FV'      B        T  ,  @  T  % 'h  1,3|  =8?6V6RV6VVINSDX'  d  kfm  wry  ~      "  6  J  ^  r  66R6V'         )$+  507  A<C  MHO  YT[0  e`gD  qlsX  }xl  6_6R_6V_'              &  :   N  b  #%v  /*1\af6;'  G  NIP  ZU\  fah  rmt  ~y                                 &!()   2-43   >9@=   JELG   VQXIS]b'  n  upw  |                               )$+   507   A<C$   MHO.   YT[8   e`gB   qlsL   }xISL'  %  /  9  C  M  W  a  l  u              " ' , '   8 *  ? : A 4  K F M >  W R Y H  c ^ e R  o j q \  { v } f   p   z            L '        V          '     #  % $  / * 1 `  ; 6 =   G B I N S '  ]   d _ f .  p k r j  | w ~     '     8   x   S '     B      I '        L       ' " ) N. 3 '  =   D ? F   P K R <  \ W ^ c h '  r   y t {     F    '       0 P    '        Z   f  '        (  "  $ d  . ) 0 \5 : '  D   K F M 2  W R Y n  c ^ e aj o '  y  {                            "   ,   6   @     J  !  # T  - ( / af4 9 '  E   L G N   X S Z   d _ f   p k r   | w ~                 '   1   ;   E   O   Y   \ '^  h  !r  +&-|  729  C>E  OJQ  [V]  gbi  snu  zNS'c  m  w              I'         )$+  507  A<C  MHO&  YT[0  e`gFlq'  }       +   '          !  5  ?   NIV'  '  .)0  :5<:  FAHNIMR'D  ^S  e`g]  qlsg  }xq  {                  N 'N  X  b  "$l  .)0v  :5<  FAH  RMT  ^Y`  jel  vqx  }      NVF'                *   4  >  '")H  3.5R  ?:A\  KFMf  WRYp  c^ez  ojq  {v}                  '          $&  0+2  <7>%  HCJ/  TOV9  `[bC  lgnM  xszW  a  k  u                       "''V   2|9s;4@'Z   J4L^   VQXb   b]df   nipj   zu|n   r   v   z   ~                               "$   .)0   :5<   FAH   RMT   ^Y`   jel   vqx   }                                          (#*   4/6   @;B   LGN   XSZ   d_f   pkr   |w~      "   &   *   .   2   6   :   >   B   6sRsD 'X   %\   ,'.`   83:d   D?Fh   PKRl   \W^p   hcjt   tovx   {|                                     `     (#*   4/6   @;B   LGN   XSZ   d_f   pkr   |w~                                          $&   0+2   <7>   HCJ   TOV   `[b   lgn   xsz$   (   ,   0   4   8   <   @   D   6s_sD'| *_ '6RI+_ 63V 6:#(-5<A'4VV43R63_4:R6:_PV\agl' z=   'O=*7Fk{?it^Ah2  W  7 l > s ? w!X ,DJt 178.HSZ%(+EOU[+cimqt[x{+mqc8L+RUX+[aeimO  .0 7.92>BKMMKKYYYaJ  gML7VMY!)=.B. . B.X. BW.. B..  B. .M "'1,4B.>E@HBU0MMK 179.HSZw} N    V  h')))+k&8):ZBMDH'gLL  YM  _-5<JOSV[a eO180.HSZ O   VO181.HSZ P   VO182.HSZ Q   VO183.HSZ R   VO184.HSZ T   VO185.HSZ S   VO186.HSZ !%+/2727>%+/D%+/HPYaglpu%+/{%+/%+/P%+/%+/%+/%+/%+/%+/%+/%+/%+/'Pp-49>E%+/K%+/OTTZ%+/^e%+/k%+/ov%+/|%+/%+/%+/^T%+/%+/%+/TT T"',16;@EJOTY^Hbhlrx~ p%+/TT%+/T%+/%+/%+/TlT  %+/%+/lg%+/T%+/T^To$%+/2727*%+/.4%+/8.>ETK.QVQV[af> m%+/^TTs%+/y%+/%+/%+/l%+/%+/%+/.p%+/%+/^ToT%+/%+/%+/^TT%+/ %+/llp%+/Hlh!$'*-Tp14'TZY ZYZYZY WWWv     555U   )VV  <W  BKmN>=UW)_*jLX  sY  yZ  ?hNkgj  46[  464646k  4l  m  \  ]   ^  _  K(% }W+666`  Ca  I6b  X6n  co  i6p  tc  zd  e  q  r  4s  666_6j6666 6 666+666_6j66666666+666_6j66666666+=W&WW++W+W+f  55g  5h  i  hNt  5555hNhN} v  w  )+_x    y  z  "{  (|  245XC455455}  k~  q  w  }      ]7hNC  hN,Zj            4     W+Uw&187.HSZb  #+ 05;AGMSWZ_Z_fMSWlMSWrMSWZ_Z_xMSW~MSWMSW;MSWZ_Z_MSWMSWMMSWMSWMSWMSWMSWZ_Z_MSWMSWMSW;;MSWMSWZ_Z_MSWMSWMSWMSW 'T466?h kg  hh! )]E39'?  EK QV  d  j  p  v  |        K  L              55            U&188.HSZN DGJOUZbZhoy #)/3:@FLR3ZX_cjpv3Z|Z3ZOZhTKMMMX WM^`L )^km4umwu  ` V  6uw  wwM  -MwuwuM  wM  4uww     wM   6m  6w  !  '  -6m  8  >  D  J  P6V  ]6w  h  n  t  z           w4WM&MUwMm189.HSZ  $-36;6;BHNRUZUZaHNRe6;6;lHNRrHNRv}HNRHNRHNR$UZUZHNR6;6;HNRHNRUZUZHNRHNR6;6;HNR6;6;HNR6;6;HNRHNRve$ HNR6;6;HNR 3#&*-03'TZYZY^W WWv 5[))+*  @F LV  _5  j  p5  {    5                   ]9hk,FgL      )&wU&190.HSZ"%.6:?EPYafnswz'T(*,4]:= C,ZJY*L h*U**Wk d*,ELlUgL  } V  U&191.HSZz #)-28>DJPV\bh\PnV\w'TZY#   V$   %  &  '  (  !)  '];0*  6+  <,  B-  H4N N4` `6 hsuk sgL.  /  0  1  2  ?K U&192.HSZF"%(/49?EKO9RW_fEKOlEKOv}EKO'Tm+-L7>  =C IV]gU$ [] d jZ] pt?  {U&193.HSZ.432564.HSZBKV`r,P xu#%!'^1%_1% ,38=@HQS[]!gkem!ykw}h`a+^1_14%!!32563.HSZ+   $(32562.HSZ+     $(32561.HSZ -=Tk @  0 "&* 639*MC JLEP*KZ ac\g*Pq xzs~*H  *32560.HSZ,    32559.HSZ^(<Got  1#% -# 4/8 -B8+ 3-OS, 2-\`yWd Mitv x}t832558.HSZ 8tf /1$& *.432557.HSZ:>F  . A 3%)-2 7;D32556.HSZ:>F  . A 2%)-2 7;D32555.HSZ  "6FPZh`a)+/'1)=/;AKMUW-_ ae-o/qvlxK},/vU av.03K2U a)/MK&K*/"4>W@U>JU*SOX 8E\blouyg eKelo Kl eUel Ul194.HSZ.*32554.HSZ I\lz*P xu!#%^/#_/# *16;>FQUOWcUagh`sqvas+^/_/*#195.HSZ%+/4>FKW\`ch%+/loT:  # )V2 h8:::<kI:2Z2 QU8gLw  fU196.HSZ147<BHLQBHLWBHL]BHLcBHLiBHLoBHLuBHLBHLT :@ FV O U [ a g ms hy{{{}k,{sZ@3ygL=   ( sU197.HSZ%-2@EILQU[_beT h!!!#k,0!Z80:>gLx  O8 YVU198.HSZKNQV\bhlsx~xbhlbhlbhlbhlbhlbhlbhlbhlbhlbhlbhlT T  Z` fVoqoo|5oo        |6    6o    6        U199.HSZFILOTZ`fjqv`fj`fj`fj`fj`fj`fj`fj`fj`fj`fj'T R  X^ dVmomZzYm|    66    6             U&200.HSZHKNQV\bhlsxbhlbhlbhlbhlbhlbhlbhlbhlbhlbhl'T T  Z` fVoqoZoYo|4o5o    66    6             U&201.HSZLORUZ`flpw}flpflpflpflpflpflpflpflpflpflp'T X  ^d jV ssus ZYs5su    66u    6             uU&202.HSZ #&+17=AF7=AL7=AR7=A+Z+a7=Aeh'T )  /5 ;V  D  J  P VX  _U203.HSZfHKNQVbipv|v|v|v|v|v|v|v|v|v|v|v|v|v|v|'T TZ\YZ^5Zg  nt zV                   g  U&204.HSZ,/25:FKRX^bgX^bmX^bsX^byX^bX^bX^bX^b'T 8Z@Y>B5>>  PV \V  e  k  q  w  }     U&205.HSZDGJMR^cjpvzpvzpvzpvzpvzpvzpvzpvzpvzpvzpvzpvzpvzpvz'T PZXYVZ5VV  hn tV  }                         U&206.HSZJMPSX^djnXwX~djndjndjndjndjndjndjndjndjndjn'T V  \b hVZqYqs5q|    (66|    6           |  U&207.HSZ*     & , 29 ? E K Q U\ 2b h n t z U    TC2ZY5WWWv   555 @    VA  B  C  D  $E  *60&  7'  =(  C)  I*  O60+  Z,  `-  f.  l/  r0  x1  ~2  3  4  F    wU208.HSZ. $*04'TZY5  "( .V 7 9= D F= ?J T V= _ a= Ze o q=C z |= u6  *047  *04jOU209.HSZ036;CIMPV\ciosxios~iosiosiosiiosiosiosiosiosiosiosiosiosios iosios!'+2ios6>iosBJiosNViosZ`dkiosowios}iosiosCiosiososios`osiososios iosC#-3i;iosAiosCGiosMiosSiosYios_ioseioskiosqioswios}iosiosiosiosiosiosiosiosCiosiosiosiosVT?K999AGw&GTGZ8  ag mV9  v:  |;  <  h999G!GZk Xg6GG6ZG6G=  >  ?  @  A  B  C  D  E  F  4ZGZG    4ZH  4ZZ6GI  04GZJ  <4ZZK  H4gZZL  T4Z6GM  i4TZN  u4{ZZO  4GGZP  Q  R  S  4{Z4{Z{6{GT  U  4Z6GV  W  4gZg6G4gZ6gGX  Y  4TZ4TT6TGh999G X+XZ  9[  ?\  E]  K^  Q_  W`  ]a  cb  ic  od  ue  {f  g  h  i  j  k  l  m  n  o  p  %'Z]%G! ZU210.HSZ.)32553.HSZ I\lz*P xu!#%^/#_/# *16;>FQUOWcUagh`sqvas +^/_/)#211.HSZCFILQW]afW]alW]avW]aW]aW]aW]aW]aW]aW]aW]aW]aT/  OU [V  d  j)prt5|~6~      *    5|t6|&)r&|        4|U0 212.HSZ),/27=CGPX]d=CGj=CGnu}=CG=CGnT/  5; AV)JLN5VV6;V  b  h*'X;qs  {  5V6;)Js&V4;;X;VVU0213.HSZ=@CFKQW[`QW[jtyQW[QW[QW[QW[QW[tyQW[QW[QW[T/  IO UV  ^)dfh5pr6Or  ~  *XOd      )f&p      4OhrOXOppU0214.HSZB &,09CIMQW]cfjpv|fj !'-36=FOZ_gmrw},,vmm "(.4:@DLRX-\bjosvr|T/    V ""$"6"X574?A"AWA57W$57W?57v?4"A A?A $AA ?$AA6A5A"5$"5?" XA56A"  5"$5A$5$$5?$)5*4A"A    )54AA6$  5""]7      %?K+++'Z"Y"9Z?Y$BZYAKZTY?VX""X5e6$L u  {   $"A "AA AAA ""A ?"A A"A ?AA4A"5??4?A4$AA6A6A?    6?             6"         &  ,  2  8  >4A?A  J P  VX""XA""  hA"w&"  zU0215.HSZ &,4:>CHMTY^chou{YMT^ho #c)>/5<>@M^choGMSW^djnu{WYTooo ooooo "(.4:oo@oFLRX^djpvoo9AooGoMSY_ekqw}oooo$o*06<BHNTZ`flrooxo~.t  V444444 4266666R66662 mu sv y6Rw x y z { 6| 6} ~  62 6  6 6 466   6  ! ' -63 :6 E K Q63 \ b h63 s y     6R6R K  Ll                 # %! ." 4# :$ @% F& L' R( X) ^* d+ j0o6<BHNTZ`fln o p q r s t u v w x o)p, - . / 0 1 2 3 4  5 &6 ,7 28 89 >: D; J< P= V> \? b@ hA nB t z |C D E F G H I J K oy z { | } ~        o L ?M EN KO QP WQ ]R cS iT oU uV {W   X Y Z [ \ ] ^ _ ` a b o     oc d "e (f .g 4h :i @j Fk Ll Rm Xn ^o dp jq pr vs |t u v w x y z { | Q9  32551.HSZ)6     #!%0.232550.HSZ)6   ! #'.0432549.HSZ6C+,c @   %'- 169?632548.HSZQTWZ]dq}#)/5;AGMQW]cimqtwz}T'>Q`b+`,`)imbZwY`yZYZYZY`vWimWimWim `  ` 5`5555``555   V ! ' - 3 9 ? E K ``   &``?&U32547.HSZZY\_bely  $) $/ $5 $; $A $G $M $S $Y $_ $ciou{T'>Qhj+h,h)qujZYhZYZYZhYhvWquWquWqu h  h 5h5555hh555  V ' - 3 9 ? E K Q W ] hh   &hh?&U32546.HSZZY\_bely  $) $/ $5 $; $A $G $M $S $Y $_ $ciou{T'>Qhj+h,h)qujZYhZjYZhYZYhvWquWquWqu h  h 5h5555hh555  V ' - 3 9 ? E K Q W ] hh   &hh?&U32545.HSZy|    ! ' - 3 9?CHN RXdlou|lT'>Q+,)vWWW   5555Q  VR  S T U V %W +X 1477]<F LVh^`^bL) sXz 6zz(^z(^6z6z6z2Xz*g   &?&U32544.HSZ" /SY\djdnsysssssssss9%(#*p 46 =?=A##C8LPK??? b hLlq w }        ?KUI32543.HSZZ<?BEHOW]cglpuclp{clpclpclpclpclpclpclcpcgclpT'>(?KKMK U [aL jV s y      KMMM a ?&U32542.HSZ LORUX]cimrzcimcimcimcimcimcimcimcimcim cimcimcimcim%cim+cim1cim7<7<CcimIOUcimY_cimchchocim7<7<ucimOyOcimcimcim7<7<cimchchcimOOO7<7<cimcimOrOOT'> [a gVKppp x~Lp p p 6 apa 6p 6  66a       # ) /5p5 A4pG5 Sp ]ppp m s6pp ~ 6p   4px65  Gp pp5px?&U32541.HSZ !&+&+2 6;6;BFMQ&+&+X^d6;6;jpv6;6;|6;6;&+&+6;6;T'>  V?K g!&L 5 6 0 @5 K6 V \ b h n t z     * ?&U32540.HSZ #&+17;@FNRFNX]NN`cgjmpsT'> )/ 5V>?KDDDL&> VLgLL?&U32539.HSZ (+.149?EINV^cfkokfkokv?EI|kk|kk?EIfkokfkok?EIkkkk?EIkkkk?EIfkokfkok?EIfkokfkok?EIkkkk?EI?EIkkkk ?EI?EIkkkk?EI?EI"*?EI|kk|kk0?EI4:kkkk@?EIDkIkDkIkP?EIkkkkV?EIVZ_gkpuz?EI?EIkkkk?EIkkkk?EIkkkk?EI|kk|kk?EINZT'> 7= CVKLLL TZ\L\L\\\ tzLz\  6\6L\ L\ 6\L 6\\ L\  6=6\=L=\    4L\  ( .4\ >L\ N TI]L\e6666 <     4LT6 GL\ LL\5Lx\?&U32538.HSZf TWZ]`glrlyl   $',',3 $9 $=B=BI $MRMRY $',',_ $e $  k $otot{ $ $=B=B $ $   $ $',', $ $=B=B $   $MRMR $ $ $otot $   $ $',', $MRMR $!otot( $,28>BFILORT'>1cec,cpQcw+c,c)~wZcYcZYZYZwYvW~W~W~   5cc5c55c5cc  Vc 1 7c Gc W ] c iccc y    c  c    4wwwcw 5c       555c5 &  c &cc?&U32537.HSZ dgjmpw|||    "") -29   ? EKQUZUZa g ""m sw} -2  }""     Q                    #(059#>   D HPUY]`cfiT'>$sus%sQs+s,s)ZsYsZYvWWssWss 5ss5ssss  Vs s '5s5 7 =C4IIIsI  _  e  k q4     466s   I4I6I6Is     5s  Ksss L    hqsssk&s5.g  < B , N&ss?&U32536.HSZ01   >  "?)$,32535.HSZ>C( @  S @ S $*169 ?SOURCE.LUMPED PLOTSCR.HSD# PLOTSCR.HSD # This file holds the language definition for OHRRPGCE plotscripting. # modifying this file may have undesired/disasterous effects, # but reading it can be somewhat educational. Especially the constants. # Use same capitalisation as HSpeak does, pad to length 3 plotscr version, begin "3U ", # Version number used by hspeak to test whether this file # supports necessary features, and also causes the # display of future-version warnings in Game/Custom # or can be used by Game/Custom to change behaviour. # Only very rarely necessary to increment (don't when # new commands are added; that's detected separately), # otherwise leave alone to allow forwards compatibility. "3S " # Minimum supported version of hspeak; # Custom/Game don't care about this. end include, scancode.hsi #-------------------------------------------------------------------------- # hard coded functions define function, begin 0,noop,0 # no operation 1,wait,1,1 # wait(cycles) 2,waitforall,0 # wait for script-related walking&panning to stop 3,waitforhero,1,0 # wait for hero to stop moving 4,waitfornpc,1,0 # wait for npc to stop moving 5,suspendnpcs,0 # pause normal NPC movement 6,suspendplayer,0 # stop the player from controlling stuff (except text boxes) 7,resumenpcs,0 # resume npc automation 8,resumeplayer,0 # unlock players controls 9,waitforkey,1,-1 # wait for a keypress (scancode) 10,walkhero,3,0,2,1 # walk hero(who,direction,distance) 11,showtextbox,1,1 # show a text box 12,checktag,1,0 # returns the value of a tag 13,settag,2,0,0 # set tag(#,true/false) 15,usedoor,2,0,1 # use door(#,fade screen in and out) 16,fightformation,1,0 # fight formation(#) 17,getitem,2,0,1 # get item(item,quantity) 18,deleteitem,2,0,1 # delete item(item,quantity) 19,leader,0 # returns the current leader 20,getmoney,1,0 # get money(amount) 21,losemoney,1,0 #? lose money(amount) no checking 22,paymoney,1,0 # returns false and subtracts nothing if cannot afford 23,unequip,2,0,1 # (who,where) 24,forceequip,3,0,1,0 # (who,where,item) 25,setheroframe,2,0,0 # (who,frame) frame is 0 or 1 26,setNPCframe,2,0,0 # (who,frame) frame is 0 or 1 27,suspendoverlay,0 # turns off overhead tiles 28,playsong,1,0 # play song(#) 29,stopsong,0 # stop the music 30,keyval,2,0,0 # check key/joystick/virtual scancode state bits (scancode, joystick num) 31,rankincaterpillar,1,0 # finds the heros position in the caterpillar 32,showbackdrop,1,0 # showbackdrop (#) 33,showmap,0 # cancels a showbackdrop 34,dismountvehicle,0 # dismount whatever vehicle you may be riding 35,useNPC,1,0 # trigger an NPC remotely 37,useshop,1,0 #? use shop(#) 38,camerafollowshero,1,0 # make camera follow a hero 39,camerafollowsnpc,1,0 # make camera follow an npc 40,pancamera,3,0,1,2 # pan camera(direction,distance,pixelstep) 41,focuscamera,3,0,0,2 # focus camera(x,y,pixelstep) 42,waitforcamera,0 # waits for pan or focus to finish 43,herox,1,0 # returns the hero's x coordinate 44,heroy,1,0 # returns the hero's y coordinate 45,npcx,1,0 # returns the npc's x coordinate 46,npcy,1,0 # returns the npc's y coordinate 47,suspendobstruction,0 # lets heros walk through NPCs and vice versa 48,resumeobstruction,0 # restores normal obstruction behavior 49,suspendherowalls,0 # lets heros walk through walls 50,suspendNPCwalls,0 # lets heros and npcs walk through walls 51,resumeherowalls,0 # restores normal hero wall behavior 52,walknpc,3,0,2,1 # walk npc(who,direction,distance) 53,setherodirection,2,0,2 # set hero direction(who,direction) 54,setnpcdirection,2,0,2 # set npc direction(who,direction) 55,getdefaultweapon,1,0 # (who) 56,setdefaultweapon,2,0,0 # (who,item) 57,suspendcatapillar,0 # misspelled alias for backcompat 58,resumecatapillar,0 # misspelled alias for backcompat 59,waitfortextbox,0 # waits for text box to go away 60,equipwhere,2,0,0 #? (who,item) returns the slot that an item can be equipped in, or false if the hero cant equip it 61,teleporttomap,3,0,0,0 # teleport to map (map,x,y) 62,suspendrandomenemys,0 # misspelled alias for backcompat 63,resumerandomenemys,0 # misspelled alias for backcompat 64,getherostat,3,0,0,0 # returns a hero's stat (who,stat,cur/max/base stat) 65,resumeoverlay,0 # turns overhead tiles back on 66,addhero,1,0 # adds a hero to the party 67,deletehero,1,0 # deletes a hero from the party 68,swapouthero,1,0 # move a hero out of the active party 69,swapinhero,1,0 # moves a hero into the active party (if there is room) 70,roominactiveparty,0 # returns the number of empty slots in the active party (0-3) 71,lockhero,1,0 # prevents swapping of a hero 72,unlockhero,1,0 #? reverses lockhero 73,gameover,0 # returns you to the title screen 74,setdeathscript,1,0 # changes what script is run when you die 75,fadescreenout,3,0,0,0 # fade screen out (red,green,blue) 76,fadescreenin,0 # fade back to color after fade screen out 77,showvalue,1,0 # display a number in the bottom left corner 78,alterNPC,3,0,0,0 # replaces one of an NPC's stats 79,shownovalue,0 # hide the number from showvalue 80,currentmap,0 # returns the number of the current map 81,setherospeed,2,0,4 # changes a heros walking speed 82,inventory,1,0 # returns the count of a given item 83,setherostat,4,0,0,1,0 # alters a hero's stats (who,stat,value,cur/max/base stat) 84,suspendboxadvance,0 # prevents user from advancing text boxes 85,resumeboxadvance,0 # reverses suspendboxadvance 86,advancetextbox,0 # as if the user had pressed a key 87,setheroposition,3,0,0,0 # arbitrarily set x,y 88,setNPCposition,3,0,0,0 # arbitrarily set x,y 89,swapbyposition,2,0,0 # swap two hero slots 90,findhero,1,0 # locate hero slot by hero name 91,checkequipment,2,0,1 # what is a hero equipped with? (who,where) #92,daysofplay,0 # returns the days, these opcodes remain for compatability #93,hoursofplay,0 # returns the hours #94,minutesofplay,0 # returns the minutes 95,resumeNPCwalls,0 # restores normal NPC wall behavior 96,setheroz,2,0,0 # sets the hero's vertical position 97,readmapblock,3,0,0,0 # get mapblock x,y,layer 98,writemapblock,4,0,0,0,0 # set mapblock x,y,value,layer 99,readpassblock,2,0,0 # get passblock x,y 100,writepassblock,3,0,0,0 # set passblock x,y,value 101,NPCdirection,1,0 # return an NPC's direction 102,herodirection,1,0 # return a hero's direction 103,resetpalette,0 # return the master palette to defaults 104,tweakpalette,5,0,0,0,0,255 # alter the master palette 105,readcolor,2,0,0 # return a color value 106,writecolor,3,0,0,0 # change a color value 107,updatepalette,0 # apply changes made with writecolor 108,seedrandom,1,0 #? reseed the random number generator 109,greyscalepalette,2,0,255# convert the palette to greyscale 110,setheropicture,3,0,0,1 # who,picture,type 111,setheropalette,3,0,0,1 # who,palette,type 112,getheropicture,2,0,1 # who,type 113,getheropalette,2,0,1 # who,type 114,readglobal,1,0 # index 115,writeglobal,2,0,0 # index,value 116,heroiswalking,1,0 # (who) #117,NPCiswalking,1,0 #x obsolete, backwards compatability only 118,suspendcaterpillar,0 # other heros stop following the leader, and can be manipulated separately. 119,resumecaterpillar,0 # turns catapillar party back on 120,NPCreference,3,0,0,0 # get an NPC reference by ID number (ID, copynumber, allowdisabled) 121,NPCatspot,3,0,0,0 # get nth NPC reference on tile (X,Y,n) 122,getNPCID,1,0 # get the ID number of an NPC reference 123,NPCcopycount,1,0 # find out how many copys of an NPC ID are on the map 124,changeNPCID,2,0,0 # given an NPC reference, changes its ID 125,createNPC,4,0,0,0,2 # create an NPC by ID at a location and return its reference 126,destroyNPC,1,0 # destroy the referenced NPC 126,deleteNPC,1,0 # alias 127,teachspell,2,0,0 # (who,spell) tries to teach a hero a spell 128,forgetspell,2,0,0 # (who,spell) forget a learned spell 129,readspell,3,0,0,0 # (who,list,slot) returns the number of the spell in a slot 130,writespell,4,0,0,0,0 # (who,list,slot,spell) forces a hero to learn a spell 131,knowsspell,2,0,0 # (who,spell) returns true if the hero already knows this spell 132,canlearnspell,3,0,0,0 # (who,spell,learntype) returns true if the hero can learn the spell 133,herobyslot,1,0 # returns the hero ID/name of the hero at a particular slot in the party 134,herobyrank,1,0 # returns the hero ID/name of the hero at a particular rank in the caterpillar 135,puthero,3,0,0,0 #? (who,x,y) set hero pixel-position 136,putnpc,3,0,0,0 # (who,x,y) set npc pixel position 137,putcamera,2,0,0 # (x,y) set screen pixel position 138,heropixelx,1,0 #? (who) get hero pixel x 139,heropixely,1,0 #? (who) get hero pixel y 140,npcpixelx,1,0 # (who) get npc pixel x 141,npcpixely,1,0 # (who) get npc pixel y 142,camerapixelx,0 #? get camera pixel x 143,camerapixely,0 #? get camera pixel y 144,loadtileset,2,-1,-1 # load a new tileset for a map layer [](tileset, layer), or change the default tileset [](tileset), or reset tilesets [](). 145,pickhero,2,-1,0 # lets you manually pick a hero (message string, skip if alone) 146,renameherobyslot,1,0 # lets you manually rename a hero 147,readgeneral,1,0 # directly read from the in-memory array of general game data 148,writegeneral,2,0,0 # directly write to the in-memory array of general game data. If you crash your game with this command, don't be too surprised 150,statusscreen,1,0 # display the status screen for a hero 151,showminimap,0 # display the mini-map 152,spellsmenu,1,0 # display the spell menu for a hero 153,itemsmenu,0 # display the items menu 154,equipmenu,2,-1,1 # display the equip menu for a hero #155,savemenu,0 # obsolete in favor of ID 170 157,ordermenu,0 # display the order menu 158,teammenu,0 # display the team menu 159,initmouse,0 # init mouse, return true if a mouse is installed 160,mousepixelx,0 # returns mouse x coordinate on the screen 161,mousepixely,0 # returns mouse y coordinate on the screen 162,mousebutton,1,0 # returns true if the specified button is pressed 163,putmouse,2,160,100 # places the mouse at a point on the screen 164,mouseregion,4,-1,-1,-1,-1 # define the rectangle in which the mouse can move (xmin, xmax, ymin, ymax) 165,npcatpixel,3,0,0,0 # returns NPC at pixel x,y, third arg is which npc (on -1 returns number of npcs at pixel) 166,saveinslot,1,0 # save game in slot 167,lastsaveslot,0 # returns the last save slot the game was saved in, false if unsaved 168,suspendrandomenemies,0 # keeps random enemies from attacking 169,resumerandomenemies,0 # undoes suspendrandomenemies 170,savemenu,1,-1 # display the save menu 171,saveslotused,1,1 # returns true if a saved game exists in the specified slot 172,importglobals,3,1,-1,-1 # (slot) or (slot, id) or (slot, first, last) reads a range of globals from a save slot 173,exportglobals,3,1,0,50000 # (slot) or (slot, first, last) writes a range of globals to a save slot 174,loadfromslot,-1 # loads saved game from slot (slot, args...) 175,deletesave,1,1 # delete (hide from load/save screen - data not *actaully* deleted) specified slot 176,runscriptbyid,-1 # run a script by its id number and pass any number of arguments 177,NPCiswalking,1,0 # (who) returns true if walking (for real, unlike the old implementation) 178,readgmap,1,0 # read from general map data array 179,writegmap,2,0,0 # write a gmap data item 180,mapwidth,1,-1 # returns map height in tiles (map id) 181,mapheight,1,-1 # returns map width in tiles (map id) 182,readNPC,2,0,0 # reads information about an NPC on the current map (corresponds to alterNPC) 183,setherolevel,3,0,0,1 # change a hero's level 184,giveexperience,2,-1,1 # (who, how much) gives a hero or the active party experience 185,herolevelled,1,0 # number of levels gained last battle/giveexperience command. 186,spellslearnt,2,0,0 # deprecated, use "spells learned" instead. 187,getmusicvolume,0 # music volume on a scale of 0-255 regardless of implementation 188,setmusicvolume,1,128 # set music volume on a scale of 0-255 #189,getformationsong,1,0 # returns the song associated with a given formation + 1 (obsoleted by opcode 307) 190,setformationsong,2,0,0 # sets the song associated with a given formation 191,heroframe,1,0 # get hero walkabout frame 192,npcframe,1,0 # get npc walkabout frame 193,npcextra,2,0,1 # get npc extra data (ref, 0 - 2) 194,setnpcextra,3,0,1,0 # set npc extra data (ref, 0 - 2, value) #195,loadsound,2,0,0 # loads a sound into a slot(slot, sfx) #DO NOT USE #196,freesound,1,1 # frees an sfx slot(slot) #DO NOT USE 197,playsound,3,1,0,0 # plays an sfx (num, loop?, preempt?) 198,pausesound,1,1 # pauses an sfx (num) (stop, but don't rewind) 199,stopsound,1,1 # stops an sfx (num) (stop, and rewind) 200,systemhour,0 201,systemminute,0 202,systemsecond,0 203,currentsong,0 204,getheroname,2,0,0 # (string, hero) - puts the name of hero(hero) in string(string) 205,setheroname,2,0,0 # (string, hero) - sets the name of hero(hero) to string(string) 206,getitemname,2,0,0 # (string, item) - puts the name of item(item) in string(string) 207,getmapname,2,0,0 # (string, map) - puts the name of map(map) in string(string) 208,getattackname,2,0,0 # deprecated. Use "read attack name" instead #209,getglobalstring,2,0,0 # (string, global) - puts the global string (global) in string(string) 210,showstring,1,0 #shows string on the bottom(stringID) 211,clearstring,1,0 #deletes the data from string(stringID) 212,appendascii,2,0,0 #adds ascii to string(stringID,ascii) 213,appendnumber,4,0,0,0,0 #adds number to string(stringID,number,minlength,zeropad) 214,copystring,2,0,0 #copies string from one to another(sourceID,destinationID) 215,concatenatestrings,2,0,0 #adds two strings(sourceID,destinationID) 216,stringlength,1,0 #returns the length of string(stringID) 217,deletechar,2,0,1 #deletes character from string(stringID,position) 218,replacechar,3,0,1,0 #replaces character in the specified string(stringID,position,ascii) 219,asciifromstring,2,0,1 #returns the ascii in the string(ascii number)(stringID,position) 220,positionstring,3,0,0,0 #move a string to a position on the screen(stringID,x,y) 221,setstringbit,3,0,0,0 #set a string bit, such as: visibility, style(stringID,bit,value) 222,getstringbit,2,0,0 #return a string bit, such as: visibility, style(stringID,bit) 223,stringcolor,3,0,-1,0 #set a string's foreground and background color(stringID,fColor,bColor) 224,stringx,1,0 #return a string's X position(stringID) 225,stringy,1,0 #return a string's Y position(stringID) 226,systemday,0 #returns system day 227,systemmonth,0 #returns system month 228,systemyear,0 #returns system year 229,stringequal,2,0,0 #returns whether two strings are the same(stringID1, stringID2) 229,stringcompare,2,0,0 #returns whether two strings are the same(stringID1, stringID2) 230,readenemydata,2,0,0 #reads enemy data(enemy,dataposition) 231,writeenemydata,3,0,0,0 #writes enemy data(enemy,dataposition,value) 232,trace,1,0 #writes the provided string to G_DEBUG.txt 233,getsongname,2,0,0 #get song name and store in string (string id, song) 234,loadmenu,2,1,1 #show loadmenu (really load/quit?, show new game) 235,keyispressed,2,0,0 #check key is down, returns true/false (scancode, joystick num) 236,soundisplaying,1,0 #checks to see if a sound is playing (soundID) #237,soundslots,0 #returns the number of slots available 238,searchstring,3,0,0,1 #Search string, (ID1,ID2,start) 239,trimstring,3,0,-1,1 #Trims the specified string, (ID, start,length) 240,stringfromtextbox,4,0,0,0,0 #(obsolete) get a line from a textbox (string, box, line, ignored) 241,expandstring,2,0,0 #expand ${Hxx}, etc in a string(ID) 242,joystickbutton,2,0,0 #returns whether a given button is pressed (button, joystick) 243,joystickaxis,3,0,100,0 #returns the axis position (axis,multiplier,joystick) 244,waitforscancode,1,0 #waits for a specific scancode (identical to waitforkey!) 245,savemapstate,2,255,255 #save map data to a temp file (savebits, customid) 246,loadmapstate,2,255,255 #load map data from a temp file (loadbits, customid) 247,resetmapstate,1,255 #reload original map data (loadbits) 248,deletemapstate,1,255 #delete temp map state files (deletebits) 249,partymoney,0 #retrieves amount of gold 250,setmoney,1,0 #sets amount of gold 251,setstringfromtable,2,0,0 #string support function 252,appendstringfromtable,2,0,0 #string support function 253,settileanimationoffset,3,0,0,0 #set offset from starting tile (animation pattern 0/1, offset, layer) 254,gettileanimationoffset,2,0,0 #get offset from starting tile (animation pattern 0/1, layer) 255,animationstarttile,2,0,0 #tile number which this tile starts its animation pattern off as (id of a tile, layer) 256,suspendmapmusic,0 #prevent ambient music from playing on entering a map 257,resumemapmusic,0 #reverse above 258,checkherowall,2,0,0 #check passability in a direction relative to a hero 259,checknpcwall,2,0,0 #check passability in a direction relative to an NPC 260,settimer,6,0,-1,-1,-1,-1,-1#start (or modify) a timer(id, count, speed, trigger, string, flags) 261,stoptimer,1,0 #convenience for settimer(id,-1,0) 262,readtimer,1,0 #returns the count of a timer(id) 263,getcolor,1,0 #returns a 32-bit color from the master palette(index) 264,setcolor,2,0,0 #writes a 32-bit color to the master palette(index,val) 265,rgb,3,0,0,0 #mixes red, green and blue into a 32-bit color(r, g, b) 266,extractcolor,2,0,0 #extracts an RGB component from a 32-bit color(color, component) 267,mainmenu,0 #opens the main menu 268,loadpalette,1,0 #load master palette 269,totalexperience,1,0 #experience gained by a hero 270,experiencetolevel,2,0,-1 #total experience to reach a level (level,hero) 271,experiencetonextlevel,1,0 #experience to level up 272,setexperience,3,0,0,1 #set total experience (who,amount,allow spell forgetting) 273,milliseconds,0 #timer in milliseconds 274,openmenu,2,0,0 #openmenu(menuID, allow duplicate) 275,readmenuint,2,0,0 #read menu int(menuhandle,intid) 276,writemenuint,3,0,0,0 #write menu int(menuhandle,intid,n) 277,readmenuitemint,2,0,0 #read menu item int(menuitemhandle,intid) 278,writemenuitemint,3,0,0,0 #write menu item int(menuitemhandle,intid,n) 279,createmenu,0 #create a blank menu 280,closemenu,2,0,0 #close menu(handle, run close script) 281,topmenu,0 #return a handle to the topmost menu 282,bringmenuforward,1,0 #bring menu forward(menu handle) 283,addmenuitem,1,0 #add menu item(menuhandle) appends, returns menuitemhandle 284,deletemenuitem,1,0 #delete menu item(menuitemhandle) 285,getmenuitemcaption,2,0,0 #get menu item caption(menuitemhandle, string ID) 286,setmenuitemcaption,2,0,0 #set menu item caption(menuitemhandle, string ID) 287,getlevelmp,3,0,0,0 #get level mp(hero party slot, mp level, currentstat|maximumstat) 288,setlevelmp,3,0,0,0 #set level mp(hero party slot, mp level, new value) 289,bottommenu,0 #return a handle to the bottommost menu 290,previousmenu,1,0 #given a menu handle, return a handle to the menu beneath it 291,nextmenu,1,0 #given a menu handle, return a handle to the menu on top of it 292,menuitembyslot,3,0,0,true #menu item by slot(menu handle, slotnum, visible only) returns menuitemhandle 293,previousmenuitem,2,0,true #given a menuitemhandle return handle to the menu item before it 294,nextmenuitem,2,0,true #given a menuitemhandle return handle to the menu item after it 295,selectedmenuitem,1,-1 #selected menu item(menu handle) returns menuitemhandle 296,selectmenuitem,1,0 #select menu item(menu item handle) moves the cursor 297,parentmenu,1,0 #parent menu(menu item handle) returns menu handle 298,getmenuid,1,0 #menu ID(menu handle) returns the ID of the menu 299,swapmenuitems,2,0,0 #swap menu items(handle1, handle2) 300,findmenuitemcaption,4,0,0,0,1 #find menu item caption(menu handle, string ID, search after handle=false, visible only=true) 301,findmenuid,1,0 #find menu(menu ID) search open menus for menu ID and return menu handle 302,menuisopen,1,0 #menu is open(menu handle) # return true as long as the handle is still valid 303,menuitemslot,1,0 #menu item slot(menu item handle) returns a menu slot number 304,outsidebattlecure,3,0,0,-1 #backcompat only, should prefer "map cure" 305,changetileset,2,-1,-1 #similar to loadtileset. load a new tileset for a map layer [](tileset, layer), or change the default tileset [](tileset), or reset tilesets [](). 306,layertileset,1,0 #layer tileset(layer) returns tileset number in use 307,getformationsong,1,0 #returns the song associated with a given formation 308,addenemytoformation,5,0,0,85,95,-1 #add enemy to formation(formation, enemy id, x, y, slot = -1) returns slot or -1 309,findenemyinformation,3,0,0,0 #find enemy in formation(formation, enemy id, number) returns slot or -1 310,deleteenemyfromformation,2,0,0 #delete enemy from formation(formation, slot) 311,formationslotenemy,2,0,0 #formation slot enemy (formation, slot) returns enemy in slot 312,formationslotx,2,0,0 #formation slot x(formation, slot) returns x of enemy in slot 313,formationsloty,2,0,0 #formation slot y(formation, slot) returns y of enemy in slot 314,setformationbackground,4,0,0,1,0 #set formation background(formation, background, animation frames, animation ticks) 315,getformationbackground,1,0 #get formation background(formation) returns background number 316,lastformation,0 #last formation fought 317,randomformation,1,0 #pick a formation from a formation set 318,formationsetfrequency,1,0 #returns set frequency 319,formationprobability,2,0,0 #returns (as percentage) formation being picked from formation set probability 320,currenttextbox,0 #currently displayed textbox or -1 321,getherospeed,1,0 #hero walk speed (hero) 322,loadherosprite,2,0,-1 #load hero sprite (number, palette) 323,freesprite,1,0 #frees a sprite (id) 324,putslice,3,0,0,0 #change the position of a slice 325,setspritevisible,2,0,0 #alias for set slice visible 326,setspritepalette,2,0,0 #set sprite palette(id, pal) 327,replaceherosprite,3,0,0,-1 #replaces the sprite with a hero sprite (id, num, pal) 328,setspriteframe,2,0,0 #what it says on the tin(id, num) 329,loadwalkaboutsprite,2,0,-1 #load walkabout sprite (number, palette) 330,replacewalkaboutsprite,3,0,0,-1 #replaces the sprite with a walkabout sprite (id, num, pal) 331,loadweaponsprite,2,0,-1 #load weapon sprite (number, palette) 332,replaceweaponsprite,3,0,0,-1 #replaces the sprite with a weapon sprite (id, num, pal) 333,loadsmallenemysprite,2,0,-1 #load enemy sprite (number, palette) 334,replacesmallenemysprite,3,0,0,-1 #replaces the sprite with an enemy sprite (id, num, pal) 335,loadmediumenemysprite,2,0,-1 #load enemy sprite (number, palette) 336,replacemediumenemysprite,3,0,0,-1 #replaces the sprite with an enemy sprite (id, num, pal) 337,loadlargeenemysprite,2,0,-1 #load enemy sprite (number, palette) 338,replacelargeenemysprite,3,0,0,-1 #replaces the sprite with an enemy sprite (id, num, pal) 339,loadattacksprite,2,0,-1 #load attack sprite (number, palette) 340,replaceattacksprite,3,0,0,-1 #replaces the sprite with an attack sprite (id, num, pal) 341,loadbordersprite,2,0,-1 #load a textbox border (number, palette) 342,replacebordersprite,3,0,0,-1 #replaces the sprite with a textbox border (id, num, pal) 343,loadportraitsprite,2,0,-1 #load a character portrait (number, palette) 344,replaceportraitsprite,3,0,0,-1 #replaces the sprite with a character portrait (id, num, pal) 345,clonesprite,2,0, 0 #returns a copy of the given sprite(ID, pal) 346,getspriteframe,1,0 #returns the current frame number of a sprite 347,spriteframecount,1,0 #returns the number of frames a sprite has 348,slicex,1,0 #returns the x position of a slice relative to its parent 349,slicey,1,0 #returns the y position of a slice relative to its parent 350,setslicex,2,0,0 #set the x position of a slice relative to its parent 351,setslicey,2,0,0 #set the y position of a slice relative to its parent 352,slicewidth,1,0 #returns the width of a slice 353,sliceheight,1,0 #returns the height of a slice 354,sethorizalign,2,0,0 #changes the horizontal alignment of a slice to its parent 355,setvertalign,2,0,0 #changes the vertical alignment of a slice to its parent 356,sethorizanchor,2,0,0 #changes the horizontal anchor of a slice 357,setvertanchor,2,0,0 #changes the vertical anchor of a slice 358,numberfromstring,2,0,0 #look in a string for a number and return it 359,sliceissprite,1,0 #return true if the provided slice handle points to a sprite 360,spritelayer,0 #return a handle to the plotsprite layer 361,freeslice,1,0 #free a slice and all its children 362,firstchild,1,0 #return the first child of a slice or 0 if none 363,nextsibling,1,0 #return the next sibling of a slice or 0 if none 364,createcontainer,2,0,0 #create a container slice (width, height) 365,setparent,2,0,0 #move a slice to a new parent 366,checkparentage,2,0,0 #check to see if a slice is a child (or grandchild) of another 367,slicescreenx,1,0 #return a slice's x position relative to the screen 368,slicescreeny,1,0 #return a slice's y position relative to the screen 369,sliceiscontainer,1,0 #return true if a slice is a container 370,createrect,3,0,0,0 #create a rect slice (width, height, style) 371,sliceisrect,1,0 #return true if a slice is a rect 372,setslicewidth,2,0,0 #change the width of a resizeable slice 373,setsliceheight,2,0,0 #change the height of a resizeable slice 374,getrectstyle,1,0 #return the style of a rect slice 375,setrectstyle,2,0,0 #change the style of a rect slice 376,getrectfgcol,1,0 #return the fgcol of a rect slice 377,setrectfgcol,2,0,0 #change the fgcol of a rect slice 378,getrectbgcol,1,0 #return the bgcol of a rect slice 379,setrectbgcol,2,0,0 #change the bgcol of a rect slice 380,getrectborder,1,0 #return the border of a rect slice 381,setrectborder,2,0,0 #change the border of a rect slice 382,getrecttrans,1,0 #return the translucency of a rect slice 383,setrecttrans,2,0,0 #change the translucency of a rect slice 384,slicecollidepoint,3,0,0,0 #check a point for collision with a slice 385,slicecollide,2,0,0 #check a pair of slices for collision 386,slicecontains,2,0,0 #check if slice2 is completely inside slice1 387,clampslice,2,0,0 #move slice1 so that it is inside slice2 388,horizflipsprite,2,0,1 #flip a sprite horizontally 389,vertflipsprite,2,0,1 #flip a sprite vertically 390,spriteishorizflipped,1,0 #return true if a sprite is flipped horiz. 391,spriteisvertflipped,1,0 #return true if a sprite is flipped vert. 392,settoppadding,2,0,0 #change a slice's top-padding 393,gettoppadding,1,0 #return a slice's top-padding 394,setleftpadding,2,0,0 #change a slice's left-padding 395,getleftpadding,1,0 #return a slice's left-padding 396,setbottompadding,2,0,0 #change a slice's bottom-padding 397,getbottompadding,1,0 #return a slice's bottom-padding 398,setrightpadding,2,0,0 #change a slice's right-padding 399,getrightpadding,1,0 #return a slice's right-padding 400,fillparent,2,0,1 #make a slice fill its parent 401,isfillingparent,1,0 #returns true if a slice is set to fill 402,slicetofront,1,0 #move a slice in front of its siblings 403,slicetoback,1,0 #move a slice behind its siblings 404,lastchild,1,0 #find the last child of a parent slice 405,ysortchildren,1,0 #sort the children of a slice by Y value 406,setsortorder,2,0,0 #set sort value on a slice for sortchildren 407,sortchildren,2,0,1 #sort siblings by their setsortorder value 408,previoussibling,1,0 #return the previous sibling of a slice or 0 if none 409,getsortorder,1,0 #get sort value for sortchildren for a slice 410,getsliceextra,2,0,0 #get slice extra (0-2) data (slice, extra) 411,setsliceextra,3,0,0,0 #set slice extra (0-2) data (slice, extra, value) 412,getspritetype,1,0 #get type of a sprite slice or -1 if not 413,getspritesetnumber,1,0 #get record number of a sprite slice 414,getspritepalette,1,0 #get palette number of a sprite slice 415,suspendtimers,0 #stop all timers without resetting them 416,resumetimers,0 #makes timers paused with "suspend timers" continue 417,setslicevisible,2,0,0 #change sprite visibilty(id, vis) 418,getslicevisible,1,0 #return a slice's visibility bit 419,sliceedgex,2,0,0 #return the x pos of a given edge of a slice 420,sliceedgey,2,0,0 #return the y pos of a given edge of a slice 421,createtext,0 #create a new text slice 422,setslicetext,2,0,0 #copy a string into a text slice 423,gettextcolor,1,0 #return a text strings color 424,settextcolor,2,0,0 #change a text strings color 425,getwrap,1,0 #return true if a text slice wraps 426,setwrap,2,0,1 #change the wrapping state of a text slice 427,sliceistext,1,0 #return true if the given slice handle is a text slice 428,gettextbg,1,0 #return text background color 429,settextbg,2,0,0 #change text background color 430,getoutline,1,0 #return true if text uses outline 431,setoutline,2,0,1 #change text's outline mode 432,usemenuitem,1,0 #given a menu item handle, activate it 433,sliceatpixel,6,0,0,0,0,1,0 #find descendant or child slices containing a screen position 434,findcollidingslice,5,0,0,0,1,0 #find descendant or child slices colliding with a slice 435,parentslice,1,0 #return a slice's parent 435,sliceparent,1,0 #alias 436,childcount,1,0 #return number of children of a slice 437,lookupslice,2,0,0 #find a slice using a lookup code constant 438,resetgame,-1 #reset the game (newgame args) 439,sliceisvalid,1,0 #checks for a real, non-deleted slice handle 440,iteminslot,1,0 #read inventory by position 441,setiteminslot,2,0,0 #write inventory by position 442,itemcountinslot,1,0 #read item count by position 443,setitemcountinslot,2,0,0 #write item count by position 444,putsprite,3,0,0,0 #change a sprite's position (handle, x, y) 444,placesprite,3,0,0,0 #change a sprite's position (handle, x, y) 445,updateleveluplearning,2,0,1 #refresh spells learned from level ups 446,moveslicebelow,2,0,0 #make a slice the previous sibling of another slice 447,movesliceabove,2,0,0 #make a slice the next sibling of another slice 448,slicechild,2,0,0 #the nth child of a slice, counting from 0 449,resetheropicture,2,0,1 #reset a hero's picture to their default 450,resetheropalette,2,0,1 #reset a hero's palette to their default 451,setsliceclipping,2,0,1 #set whether a slice will crop its children 452,getsliceclipping,1,0 #return whether a slice will crop its children 453,creategrid,4,0,0,1,1 #create a grid slice of a specified size 454,sliceisgrid,1,0 #true if the slice is a grid 455,setgridcolumns,2,0,1 #change grid horizontal count 456,getgridcolumns,1,0 #return the number of horizontal cells 457,setgridrows,2,0,1 #change grid vertical count 458,getgridrows,1,0 #return the number of vertical cells 459,showgrid,2,0,1 #make a grid visible 460,gridisshown,1,0 #return true if grid is visible 461,loadslicecollection,1,0 #load a collection of slices 462,setsliceedgex,3,0,0,0 #set a slice's position by an arbitrary edge 463,setsliceedgey,3,0,0,0 #set a slice's position by an arbitrary edge 464,getslicelookup,1,0 #get a slice's lookup code 465,setslicelookup,2,0,0 #change a slice's lookup code 466,tracevalueinternal,-1 #tracevalue is translated to this 467,mapcure,3,0,0,-1 #uses a cure attack on a hero 468,readattackname,2,0,0 #puts an attack name in a string (string id, attack id+1 / attack .hsi constant) 469,spellslearned,2,0,0 #number spells and spell ids hero learnt at last battle/giveexperience command. 470,allocatetimers,1,16 #change the number of timers #471,unusedtimer,0 #find a timer id that's not in use, or allocate more 472,setnpcignoreswalls,2,0,1 #set whether an npc can pass walls (npcref, bool) 473,getnpcignoreswalls,1,0 #get whether an npc can pass walls (npcref) 474,setnpcobstructs,2,0,1 #set whether an npc obstructs (npcref, bool) 475,getnpcobstructs,1,0 #get whether an npc obstructs (npcref) 476,setnpcusable,2,0,1 #set whether an npc can be used (npcref, bool) 477,getnpcusable,1,0 #get whether an npc can be used (npcref) 478,setnpcmoves,2,0,1 #set whether an npc's movetype used (npcref, bool) 479,getnpcmoves,1,0 #get whether an npc's movetype used (npcref) 480,readzone,3,0,0,0 #test whether a tile is in a zone (zone id, x, y) 481,writezone,4,0,0,0,1 #set whether a tile is in a zone (zone id, x, y, true/false) 482,zoneatspot,3,0,0,0 #get the nth zone set at a tile (x, y, n) 483,zonenumberoftiles,1,0 #get the number of tiles in this zone (zone id) #484,drawwithzone,3,0,0,0 #write to map layer (zone id, layer num, tile) (unimplemented) #485,zonenexttilex,3,0,-1,-1 #x coordinate of next tile in zone (zone id, current x, current y) (unimplemented) #486,zonenexttiley,3,0,-1,-1 #y coordinate of next tile in zone (zone id, current x, current y) (unimplemented) # 487,getzonename,2,0,0 #read zone name (string, zone id) 488,getzoneextra,2,0,0 #get zone extra data (zone id, extra field) 489,setzoneextra,3,0,0,0 #set zone extra data (zone id, extra field, value) 490,useitem,1,0 # use an item as if you had used it from the item menu 491,useiteminslot,1,0 # use item in a given inventory slot 492,mouseclick,1,0 # returns true if the specified button is pressed (button) 493,loadbackdropsprite,1,0 # load backdrop sprite (number) 494,replacebackdropsprite,2,0,-1 # replaces the sprite with a backdrop sprite (handle, number) 495,getspritetrans,1,0 # whether the sprite is drawn transparently (handle) 496,setspritetrans,2,0,1 # set whether the sprite is drawn transparently (handle, bool) 497,setherobaseelementalresist,3,-1,0,100 # set percentage damage taken from an element (hero, element, percent) 498,herobaseelementalresistasint,2,-1,0 # percentage damage taken from an element rounded to an int (hero, element) 499,herototalelementalresistasint,2,-1,0 # percentage damage taken from an element rounded to an int (hero, element) 500,setslicevelocityx,3,0,0,-1 #set slice velocity x(sl, pixels per tick, ticks) # negative left, positive right 501,setslicevelocityy,3,0,0,-1 #set slice velocity y(sl, pixels per tick, ticks) # negative up, positive down 502,getslicevelocityx,1,0 #return x velocity in pixels per tick 503,getslicevelocityy,1,0 #return y velocity in pixels per tick 504,setslicevelocity,4,0,0,0,-1 #set both x and y velocity simultaneously (sl, x vel, y vel, ticks) 505,stopslice,1,0 #cancel all of a slice's movement 506,movesliceto,4,0,0,0,0 #move a slice until it has the new desired x and y (sl, x, y, ticks) 507,movesliceby,4,0,0,0,0 #move a slice until it has the new desired relative x and y (sl, rel x, rel y, ticks) 508,waitforslice,1,0 #wait for a slice to stop moving 509,sliceismoving,1,0 #return true if the slice has velocity or target 510,createellipse,4,0,0,-1,-1 #width, height, border color, fill color 511,sliceisellipse,1,0 #return true if the slice is an ellipse 512,setellipsebordercol,2,0,0 #change border color 513,setellipsefillcol,2,0,0 #change fill color 514,getellipsebordercol,1,0 #change border color 515,getellipsefillcol,1,0 #change fill color 516,_checkpoint,0 #dumps checkpoint screenshot for automated testing. Only works when run with the -autotest command line argument 517,menuitembytrueslot,2,0,0 #return a menu item handle, based on the order in Custom (menu handle, slot no.) 518,menuitemtrueslot,1,0 #slot no. of a menu item as it appears in Custom (menu item handle) 519,getheroslice,1,0 #get the slice representing a hero walkabout 520,getNPCslice,1,0 #get the slice representing an NPC walkabout 521,getdoorx,2,0,-1 #x coordinate of given door 522,getdoory,2,0,-1 #y coordinate of given door 523,getdoordestinationid,2,0,-1 #door id of given door's exit 524,getdoordestinationmap,2,0,-1 #map number of given door's exit 525,doorexists,2,0,-1 #returns true if the given door exists 526,getattackcaption,2,0,0 #puts an attack's caption in a string (string id, attack id+1 / attack .hsi constant) 527,getrectfuzziness,1,0 #get rect fuzz or opacity percentage 528,setrectfuzziness,2,0,50 #set rect fuzz percentange 529,textboxline,5,0,0,-1,1,0 #get a line of text from a textbox (string, box, line, expand, strip) 530,getslicetext,2,0,0 #get the contents of a text slice (string, slice) 531,getinputtext,1,0 #get user textual input since last tick (string) 532,enableinputtext,1,1 #whether to enable getinputtext (enable?) 533,inputtextenabled,0 #(undocumented) whether getinputtext is enabled 534,setherohandx,3,0,0,0 #Change hand position for battle weapons (who, frame, new x) 535,setherohandy,3,0,0,0 #Change hand position for battle weapons (who, frame, new y) 536,getherohandx,2,0,0 #Read hero hand position for battle weapons (who, frame) 537,getherohandy,2,0,0 #Read hero hand position for battle weapons (who, frame) 538,getdefaultherohandx,2,0,0 #Read default hero hand position for battle weapons (who, frame) 539,getdefaultherohandy,2,0,0 #Read default hero hand position for battle weapons (who, frame) 540,checkonetime,1,0 #returns the value of a onetime npc tag 541,setonetime,2,0,0 #set onetime npc tag(#,true/false) 542,microseconds,0 #microsecond timer 543,enemyelementalresistasint,2,0,0 #get percentage elemental damage for an enemy (id, element) 544,heroz,1,0 #a hero's Z coordinate (party slot) 545,getherostatcap,1,0 #get the cap for a stat; 0 if none (stat) 546,setherostatcap,2,0,0 #set the cap for a stat (stat, value or 0) 547,getitemmaximumstacksize,1,0 #get the maximum size of a stack of a certain item (item id) 548,npcz,1,0 #npc's Z value, in pixels (npcref) 549,setnpcz,2,0,0 #set npc's Z value, in pixels (npcref, z) 550,dooratspot,2,0,0 #get door ID on tile, or -1 (x, y) 551,suspenddoors,1,0 #doors don't trigger when stepped on 552,resumedoors,1,0 #undoes suspend doors 553,runningondesktop,0 #returns true if the device is Windows/Mac/Linux 554,runningonmobile,0 #returns true if the device is Android 555,runningonconsole,0 #returns true if the device is console (OUYA, Gamestick, FireTV, Mojo) 556,inputstringwithvirtualkeyboard,3,0,-1,-1 # (string id, max length, only player) 557,getitemdescription,2,0,0 #(string, item) - puts the description of item(item) in string(string) 558,setspritesetnumber,2,0,0 #(sprite slice handle, set num) 559,getspritedefaultpal,1,0 #(sprite slice handle) - returns default palette number 560,npcisdisabled,1,0 #(npc reference) returns true if the npc exists, but is disabled by tags or one-time use #561,unused (Don't use: should increment maxScriptCmdID when new commands added) #562,unused #563,unused #564,unused 565,stringsprintf,-1 #(dest string id, format string id, args...) Format a string, like sprintf 566,scripterror,2,-1,0 #(string id, hide frame) Show a script error 567,getscriptname,2,0,0 #(string id, script id) Get name of a script 568,getcallingscriptid,1,1 #(depth) Get ID number of a parent or ancestor script 569,camerafollowsslice,1,0 #(slice) Center camera on slice 570,getactivebattlepauseonallmenus,0 # returns true or false based on the global bitset 571,setactivebattlepauseonallmenus,1,0, #(true/false) change the global bitset (not saved) 572,dissolvesprite,6,0,0,-1,0,0,1 #(slice handle, dissolve:type, ticks, start tick, backwards, auto animate) 573,canceldissolve,1,0 #(slice handle) stop/reset dissolve 574,spriteisdissolving,1,0 #(slice handle) return true if sprite is in the middle of a dissolve state 575,waitfordissolve,1,0 #(slice handle) wait for an "dissolve sprite" command to finish (only if auto animate) 576,hidevirtualgamepad,0 # force-hide virtual gamepad on platforms that support it 577,showvirtualgamepad,0 # force-show virtual gamepad on platforms that support it 578,autovirtualgamepad,0 # automatic show/hide virtual gamepad on platforms that support it (default) 579,getvertalign,1,0 # return a slice's alignment. Compare with edge: constants 580,gethorizalign,1,0 # return a slice's alignment. Compare with edge: constants 581,getvertanchor,1,0 # return a slice's anchor. Compare with edge: constants 582,gethorizanchor,1,0 # return a slice's anchor. Compare with edge: constants 583,setselectsliceindex,2,0,0 # change the currently selected child of a select slice by index 584,getselectsliceindex,1,0 # return the index of the currently selected child of a select slice 585,createselect,2,0,0 # create a select slice of a specified size 586,sliceisselect,1,0 # true if the slice is a select 587,slicechildindex,1,0 # Return the current integer index of this slice relative to its siblings 588,createscroll,2,0,0 # create a scroll slice of a specified size 589,sliceisscroll,1,0 # true if the slice is a scroll 590,setscrollbarstyle,2,0,0 # change scroll slice scrollbar style 591,getscrollbarstyle,1,0 # return current scroll slice scrollbar style 592,setscrollcheckdepth,2,0,0 # change a scroll's child-check-depth 593,getscrollcheckdepth,1,0 # return a scroll's current child-check-depth 594,scrolltochild,3,0,0,0 # cause all the children of a Scroll Slice to move until a specific child is in view (parent, descendent, apply_padding) 594,scrolltoslice,3,0,0,0 # alias 595,runningonwindows,0 # returns true if the device is Windows 596,runningonmac,0 # returns true if the device is Mac 597,runningonlinux,0 # returns true if the device is Linux 598,nextnpcreference,1,0 # Iterating over NPCs: reference to next NPC 599,input string with mouse keyboard,2,0,-1 # pop up a virtual keyboard that responds to mouse clicks 600,runningonouya,0 # returns true if the device is OUYA (see also "running on console") 601,unhidemousecursor,0 # unhides the OS mouse cursor 601,showmousecursor,0 602,hidemousecursor,0 # hides the OS mouse cursor 603,pixelfocuscamera,3,0,0,2 # pixel focus camera(x,y,pixelstep) 604,sendemail,3,0,-1,-1 # send an email, possibly with attached saved (save slot, subject string, body string) 605,dumpslicetree,1,0 # Dump slice tree to g_debug.txt, like ctrl+F8 debug key (root slice handle) 606,createpanel,2,0,0 #x create a panel slice of a specified size 607,sliceispanel,1,0 #x return if the slice is a panel 608,getpanelisvertical,1,0 #x return true for a vertical panel slice, false for a horizontal panel slice 609,setpanelisvertical,2,0,1 #x change the vertical/horizontal orientation of a panel slice 610,getpanelprimaryindex,1,0 #x return the index (0 or 1) of the panel primary child 611,setpanelprimaryindex,2,0,0 #x change the panel primary child. must be 0 or 1 612,getpanelpercentasint,1,0 #x return slice panel primary child percentage as an integer 613,setpanelpercent,2,0,0 #x change slice panel primary child percentage 614,getpanelpixels,1,0 #x return slice panel primary child pixel size 615,setpanelpixels,2,0,0 #x change slice panel primary child pixel size 616,getpanelpadding,1,0 #x return slice panel padding 617,setpanelpadding,2,0,0 #x change slice panel padding 618,debugmenu,0 # Opens the debug menu 619,menuitematpixel,2,0,0 # The menu item at a screen position 620,rungame,1,0 # Run another game (string id) 621,getbattlecountdown,0 # Get random battle counter 622,setbattlecountdown,1,100 # Set random battle counter 623,checkwallcollisionx,7,0,0,0,0,20,20,100 # Check for wall collision (pixel x, pixel y, width, height, xgo, ygo, friction) 624,checkwallcollisiony,7,0,0,0,0,20,20,100 # Check for wall collision (pixel x, pixel y, width, height, xgo, ygo, friction) 625,moveslicewithwallchecking,4,0,0,0,100 # Move a slice by xgo,ygo or until it hits a wall (sl, xgo, ygo, friction) 626,textboxtext,4,0,0,1,0 # Get whole text from a textbox (string, box, expand, strip) 627,checkgameexists,1,-1 # Check an .rpg/.rpgdir exists (string id) 628,pathfindnpcto,4,0,0,0,0 # Make an NPC pathfind to a specific position (npc, tile x, tile y, stop after stuckticks) 629,npcchasesnpc,4,0,0,0,0 # Make an NPC chase another NPC (npc, target npc, stop when reached, stop after stuckticks) 630,cancelnpcwalk,1,0 # Cancel walknpc, pathfindnpcto, or npcchasesnpc command (npc) 631,playerissuspended,0 # return true if "suspend player" is active 632,npcsaresuspended,0 # return true if "suspend NPCs" is active 633,obstructionissuspended,0 # return true if "suspend obstruction" is active 634,herowallsaresuspended,0 # return true if "suspend hero walls" is active 635,npcwallsaresuspended,0 # return true if "suspend NPC walls" is active 636,caterpillarissuspended,0 # return true if "suspend caterpillar" is active 637,doorsaresuspended,0 # return true if "suspend doors" is active 638,randomenemiesaresuspended,0 # return true if "suspend random enemies" is active 639,boxadvanceissuspended,0 # return true if "suspend box advance" is active 640,overlayissuspended,0 # return true if "suspend overlay" is active 641,mapmusicissuspended,0 # return true if "suspend map music" is active 642,timersaresuspended,0 # return true if "suspend timers" is active 643,getscreenwidth,0 # return the x resolution of the screen 644,getscreenheight,0 # return the y resolution of the screen 645,setscreenresolution,2,0,0 # change the x,y resolution of the screen 646,mouserelease,1,0 # returns true if the specified button is was just released (button) 647,_cancelrunfast,0 # cancels the -runfast command-line option, if it is active. 648,_runfast,0 # speeds up as if the -runfast command-line option is active. 649,multdiv,3,0,0,0 # calculate int(float(a)*b/c), with rounding and clamping 650,setrectrawborder,2,0,-1 # set a rectangle slice to use a specific border sprite instead of the border for its style 651,getrectrawborder,1,0 # set a rectangle slice to use a specific border sprite instead of the border for its style 652,cloneslice,2,0,1 # Copy a slice (handle, recurse) 653,resetformation,1,0 # resets any scripted modifications to a battle formation 654,resetformationslot,2,0,0 # resets scripted modifications to a specific slot in a battle formation 655,sliceismaplayer,1,0 # Check slice type 656,npcreferencefromslice,1,0 # Return the NPC reference for an NPC slice, or else 0 657,herorankfromslice,1,0 # Return the hero rank for a hero slice, or else -1 658,slicetype,1,0 # Returns a slicetype:* constant 659,_asserteq,4,0,0,0,0 # Used in the macro expansion of assert(x==y) 660,savescreenshot,0 # Save a screenshot 661,sliceisline,1,0 # Check slice type 662,createline,3,0,0,0 # Create line slice (w, h, color) 663,getlinecolor,1,0 # Line slice color 664,setlinecolor,2,0,0 # Set line slice color 665,forcemountvehicle,1,0 # Mount a vehicle without checking mounting permissions first 666,currentvehicleid,0 # return vehicle id, or -1 if not riding 667,currentvehiclenpc,0 # return npc reference to vehicle, or 0 if not riding 668,pathfindheroto,4,0,0,0,0 # Make a hero pathfind to a specific position (hero, tile x, tile y, stop after stuckticks) 669,herochasesnpc,4,0,0,0,0 # Make a hero chase an NPC (hero, target npc, stop when reached, stop after stuckticks) 670,cancelherowalk,1,0 # Cancel walkhero, pathfindheroto, or herochasesnpc command (hero) 671,menuitemselectable,1,0 # Whether selectable and not hidden 672,menuitemdisabled,1,0 # Whether disabled 673,menuitemvisible,1,0 # Isn't hidden 674,setlastsaveslot,1,-1 # Set return value of lastsaveslot (0-1000) 675,speakingnpc,0 # NPC reference for the NPC which is currently talking 676,keypress,2,0,0 # check for new or keyrepeat key-press event, returns bool (scancode, joystick num) 677,newkeypress,2,0,0 # check for new key-press event, returns bool (scancode, joystick num) 678,getjoystickname,2,0,0 # Joystick name (string, joynum) 679,joystickbuttoncount,1,0 # Number of buttons a joystick has (might be 0 if not known) (joynum) 680,joystickaxiscount,1,0 # Number of axes a joystick has (joynum) 681,joystickhatcount,1,0 # Number of hats (eg dpads) a joystick has (joynum) 682,findcolor,4,0,0,0,0 # Index of nearest match in palette (r, g, b, searchstart) 683,overridetickmilliseconds,1,0 # change game tick speed 684,canceloverridetickmilliseconds,0 # revert tick speed back to the game default 685,suspendtextboxcontrols,0 # Prevents player from using choiceboxes 686,resumetextboxcontrols,0 # Reverses suspendtextboxcontrols 687,textboxcontrolsaresuspended,0 # Return true if "suspend textbox control" is active 688,menuitemcount,1,0 # Number of menu items in a menu, including invisible ones 689,visiblemenuitemcount,1,0 # Number of visible menu items in a menu 690,replacesubstring,5,-1,-1,-1,-1,0 # Replace text in a string (in string ID, replace what ID, with what ID, max replacements, case insensitive) 691,decodetrigger,1,0 # (Undocumented) Decode a script trigger to a script ID. Script IDs and 0 passed through. Missing scripts return 0. 692,getscancodename,3,0,0,1 # Get the name of a scancode in a string (string id, scancode, long name) 693,getheroslicebyslot,1,0 # Get the slice representing a hero walkabout 694,heroslotfromslice,1,0 # Return the hero party slot for a hero slice, or else -1 695,getopacity,1,0 # Return opacity percentage, 0-100 (slice) 696,setopacity,2,0,100 # Set slice opacity 0-100 (blendable slice, percent) 697,getblendingenabled,1,0 # True or false (slice) 698,setblendingenabled,2,0,1 # Blending (blendable slice, true/false) 699,getblendmode,1,0 # Get slice blend mode: blend:normal/blend:add/blend:multiply (slice) 700,setblendmode,2,0,0 # Set blend mode (blendable slice, blendmode) 701,getrectopacity,1,0 # Alias to "get rect fuzziness" (slice) 702,setrectopacity,2,0,50 # Set rect bg to transparent and set its opacity (slice, opacity) 703,settimerargs,-1 # Set the arguments a timer will pass to its triggered script (id, args...) # Don't forget to update maxScriptCmdID in const.bi when adding new commands end #-------------------------------------------------------------------------- # soft coded functions script,walkherotoX,hsd:who,hsd:n,begin if (hsd:n<>heroX(hsd:who)) then(walk hero(hsd:who,east,hsd:n--heroX(hsd:who))) end script,walkherotoY,hsd:who,hsd:n,begin if (hsd:n<>heroY(hsd:who)) then(walk hero(hsd:who,south,hsd:n--heroY(hsd:who))) end script,walkNPCtoX,hsd:who,hsd:n,begin if (hsd:n<>NPCX(hsd:who)) then(walk NPC(hsd:who,east,hsd:n--NPCX(hsd:who))) end script,walkNPCtoY,hsd:who,hsd:n,begin if (hsd:n<>NPCY(hsd:who)) then(walk NPC(hsd:who,south,hsd:n--NPCY(hsd:who))) end script,getNPCspeed,hsd:who,begin return(readNPC(hsd:who,NPCstat:movespeed)) end script,setNPCspeed,hsd:who,hsd:newspeed=4,begin alterNPC(hsd:who,NPCstat:movespeed,hsd:newspeed) end script, npc copy number, hsd:npc, begin variable(hsd:id, hsd:copy, hsd:ref) hsd:id := get NPC ID(hsd:npc) if (hsd:id < 0) then (exit returning (-1)) # No such NPC if (hsd:npc >= 0) then (exit returning (0)) # It's an NPC ID, not an NPC reference! ID refers to copy 0 # This works too, but kind of risky #while(npc reference(hsd:id, hsd:copy, true) <> hsd:npc) do (hsd:copy += 1) while(true) do ( hsd:ref := npc reference(hsd:id, hsd:copy, true) if (hsd:ref == hsd:npc) then (break) if (hsd:ref == 0) then (exit returning (-1)) hsd:copy += 1 ) return (hsd:copy) end script,swapbyname,hsd:hero1,hsd:hero2,begin hsd:hero1:=findhero(hsd:hero1) hsd:hero2:=findhero(hsd:hero2) if (hsd:hero1==-1,or,hsd:hero2==-1) then (return(false)) else (return(true),swapbyposition(hsd:hero1,hsd:hero2)) end script,renamehero,hsd:who=0,begin variable(hsd:slot, hsd:tmp) hsd:slot:=findhero(hsd:who) if(hsd:slot>=0) then(return(renameherobyslot(hsd:slot))) else( hsd:tmp := hsd:save string(99) script error(string sprintf(99, $99="rename hero: no hero with id %d", hsd:who), true) hsd:restore string(99, hsd:tmp) ) end # this exploits an undocumented feature of getherostat. Don't use the # same method to set the hero level (use setherolevel instead) script,getherolevel,hsd:who=0,begin return(getherostat(hsd:who,12,currentstat)) end script, gainherostat, hsd:who, hsd:stat, hsd:change, hsd:resetcurrent=false, begin variable(hsd:oldcur, hsd:oldmax, hsd:newcur, hsd:newmax, hsd:newbase, hsd:cap) if (hsd:resetcurrent == false) then ( hsd:oldcur := getherostat(hsd:who, hsd:stat, currentstat) hsd:oldmax := getherostat(hsd:who, hsd:stat, maximumstat) ) hsd:newbase := getherostat(hsd:who, hsd:stat, basestat) + hsd:change setherostat(hsd:who, hsd:stat, hsd:newbase, basestat) hsd:newmax := getherostat(hsd:who, hsd:stat, maximumstat) if (hsd:resetcurrent || hsd:oldmax <= 0) then ( # Set current to new max hsd:newcur := hsd:newmax ) else ( # Increase current proportional to change in max # Have to be careful about integer overflow. Each stat can be any int32 #hsd:newcur := hsd:oldcur * hsd:newmax / hsd:oldmax hsd:newcur := multdiv(hsd:oldcur, hsd:newmax, hsd:oldmax) ) # Enforce stat caps on current. No need to do this for base/max, as base isn't # capped, and max is autocapped when base is modified. hsd:cap := get hero stat cap(hsd:stat) if (hsd:cap && hsd:newcur > hsd:cap) then (hsd:newcur := hsd:cap) setherostat(hsd:who, hsd:stat, hsd:newcur, currentstat) return(hsd:newmax) end script,autosave,begin if (lastsaveslot==0) then(return(savemenu)) else(saveinslot(lastsaveslot),return(lastsaveslot)) end script,stringtoglobals,hsd:stringID,hsd:start,hsd:length,begin variable(hsd:temp,hsd:padding) if (hsd:stringID>=0,and,hsd:stringID<=maximum string id) then( if (hsd:length>=1) then( if (hsd:length+hsd:start>maximum global id) then(hsd:length:=maximum global id--hsd:start) hsd:padding:=hsd:length--stringlength(hsd:stringID) hsd:length:=stringlength(hsd:stringID) for (hsd:temp,1,hsd:length) do( writeglobal(hsd:start,asciifromstring(hsd:stringID,hsd:temp)) hsd:start+=1 ) for (hsd:temp,hsd:start,hsd:start+hsd:padding--1) do( writeglobal(hsd:temp,256) ) ) ) end script,globalstostring,hsd:stringID,hsd:start,hsd:length,begin variable(hsd:temp) variable(hsd:temp2) if (hsd:stringID>=0,and,hsd:stringID<=maximum string id) then( clearstring(hsd:stringID) if (hsd:length>=1) then( if (hsd:length+hsd:start>maximum global id) then(hsd:length:=maximum global id--hsd:start) for (hsd:temp,1,hsd:length) do( hsd:temp2:=readglobal(hsd:start+(hsd:temp--1)) if (hsd:temp2>=0,and,hsd:temp2<=255) then(appendascii(hsd:stringID,hsd:temp2)) ) ) ) end script,showstringat,hsd:stringID,hsd:x=0,hsd:y=0,begin setstringbit(hsd:stringID,0,1) positionstring(hsd:stringID,hsd:x,hsd:y) end script,centerstringat,hsd:stringID,hsd:x=-654321,hsd:y=-654321,begin if(hsd:x == -654321) then(hsd:x := get screen width / 2) if(hsd:y == -654321) then(hsd:y := get screen height / 2) setstringbit(hsd:stringID,0,1) positionstring(hsd:stringID,hsd:x--(stringlength(hsd:stringID)*4),hsd:y) end script,hidestring,hsd:stringID,begin setstringbit(hsd:stringID,0,0) end script,stringstyle,hsd:stringID,hsd:style=0,begin setstringbit(hsd:stringID,1,hsd:style) end script,stringisvisible,hsd:stringID,begin return(getstringbit(hsd:stringID,0)) end # Internal functions, do not use # To get around the 100 string limitation... script, hsd:save string, hsd:id, begin variable (hsd:sl) hsd:sl := create text set slice visible(hsd:sl, false) set slice text(hsd:sl, hsd:id) clear string(hsd:id) return (hsd:sl) end script, hsd:restore string, hsd:id, hsd:saved, begin get slice text(hsd:id, hsd:saved) free slice(hsd:saved) end # Improvement (but which requires enableinputtext) # script, last ascii, begin # variable (hsd:saved) # hsd:saved := hsd:savestring(0) # get input text(0) # if (string length(0)) then ( # return (ascii from string(0, 1)) # ) # hsd:restore string(0, hsd:saved) # end script, last ascii, begin variable(hsd:code, hsd:shift) hsd:shift := keyispressed(key:shift) if(keyval(30) >> 1) then (hsd:code := 65) #A... if(keyval(48) >> 1) then (hsd:code := 66) if(keyval(46) >> 1) then (hsd:code := 67) if(keyval(32) >> 1) then (hsd:code := 68) if(keyval(18) >> 1) then (hsd:code := 69) if(keyval(33) >> 1) then (hsd:code := 70) if(keyval(34) >> 1) then (hsd:code := 71) if(keyval(35) >> 1) then (hsd:code := 72) if(keyval(23) >> 1) then (hsd:code := 73) if(keyval(36) >> 1) then (hsd:code := 74) if(keyval(37) >> 1) then (hsd:code := 75) if(keyval(38) >> 1) then (hsd:code := 76) if(keyval(50) >> 1) then (hsd:code := 77) if(keyval(49) >> 1) then (hsd:code := 78) if(keyval(24) >> 1) then (hsd:code := 79) if(keyval(25) >> 1) then (hsd:code := 80) if(keyval(16) >> 1) then (hsd:code := 81) if(keyval(19) >> 1) then (hsd:code := 82) if(keyval(31) >> 1) then (hsd:code := 83) if(keyval(20) >> 1) then (hsd:code := 84) if(keyval(22) >> 1) then (hsd:code := 85) if(keyval(47) >> 1) then (hsd:code := 86) if(keyval(17) >> 1) then (hsd:code := 87) if(keyval(45) >> 1) then (hsd:code := 88) if(keyval(21) >> 1) then (hsd:code := 89) if(keyval(44) >> 1) then (hsd:code := 90)#...Z if(keyval(2) >> 1) then (if(hsd:shift) then (hsd:code :=33) else (hsd:code :=49)) # 1... if(keyval(3) >> 1) then (if(hsd:shift) then (hsd:code :=64) else (hsd:code :=50)) if(keyval(4) >> 1) then (if(hsd:shift) then (hsd:code :=35) else (hsd:code :=51)) if(keyval(5) >> 1) then (if(hsd:shift) then (hsd:code :=36) else (hsd:code :=52)) if(keyval(6) >> 1) then (if(hsd:shift) then (hsd:code :=37) else (hsd:code :=53)) if(keyval(7) >> 1) then (if(hsd:shift) then (hsd:code :=94) else (hsd:code :=54)) if(keyval(8) >> 1) then (if(hsd:shift) then (hsd:code :=38) else (hsd:code :=55)) if(keyval(9) >> 1) then (if(hsd:shift) then (hsd:code :=42) else (hsd:code :=56)) if(keyval(10) >> 1) then (if(hsd:shift) then (hsd:code :=40) else (hsd:code :=57)) if(keyval(11) >> 1) then (if(hsd:shift) then (hsd:code :=41) else (hsd:code :=48)) # ...0 if(keyval(41) >> 1) then (if(hsd:shift) then (hsd:code :=126) else (hsd:code :=96)) # ` ~ if(keyval(12) >> 1) then (if(hsd:shift) then (hsd:code :=95) else (hsd:code :=45)) # - _ if(keyval(13) >> 1) then (if(hsd:shift) then (hsd:code := 43) else (hsd:code := 61)) # = + if(keyval(26) >> 1) then (if(hsd:shift) then (hsd:code := 123) else (hsd:code := 91)) # [ { if(keyval(27) >> 1) then (if(hsd:shift) then (hsd:code := 125) else (hsd:code := 93)) # ] } if(keyval(39) >> 1) then (if(hsd:shift) then (hsd:code := 58) else (hsd:code := 59)) # ; : if(keyval(40) >> 1) then (if(hsd:shift) then (hsd:code := 34) else (hsd:code := 39)) # ' " if(keyval(51) >> 1) then (if(hsd:shift) then (hsd:code := 60) else (hsd:code := 44)) # , < if(keyval(52) >> 1) then (if(hsd:shift) then (hsd:code := 62) else (hsd:code := 46)) # . > if(keyval(53) >> 1) then (if(hsd:shift) then (hsd:code := 63) else (hsd:code := 47)) # / ? if(keyval(43) >> 1) then (if(hsd:shift) then (hsd:code := 124) else (hsd:code := 92)) # \ | if(keyval(102) >> 1) then (hsd:code := 47) # Num / if(keyval(55) >> 1) then (hsd:code := 42) # Num * if(keyval(71) >> 1) then (hsd:code := 55) # Num 7 if(keyval(72) >> 1) then (hsd:code := 56) # Num 8 if(keyval(73) >> 1) then (hsd:code := 57) # Num 9 if(keyval(74) >> 1) then (hsd:code := 45) # Num - if(keyval(75) >> 1) then (hsd:code := 52) # Num 4 if(keyval(76) >> 1) then (hsd:code := 53) # Num 5 if(keyval(77) >> 1) then (hsd:code := 54) # Num 6 if(keyval(78) >> 1) then (hsd:code := 43) # Num + if(keyval(79) >> 1) then (hsd:code := 49) # Num 1 if(keyval(80) >> 1) then (hsd:code := 50) # Num 2 if(keyval(81) >> 1) then (hsd:code := 51) # Num 3 if(keyval(82) >> 1) then (hsd:code := 48) # Num 0 if(keyval(83) >> 1) then (hsd:code := 46) # Num . if(keyval(57) >> 1) then (hsd:code := 32) #Space if(hsd:code <= 90 && hsd:code >= 65) then, begin if(hsd:shift == false) then (hsd:code += 32) end return (hsd:code) end script, input string, hsd:str, hsd:max len=-1, hsd:useexist=0, hsd:center=1, hsd:positionx=-654321, hsd:positiony=-654321, begin variable(hsd:done, hsd:key, hsd:show, hsd:tmp str, hsd:saved, hsd:enable input) hsd:enable input := input text enabled enable input text (true) if(hsd:useexist) else(clear string(hsd:str)) trim string(hsd:str,1,hsd:maxlen) hsd:show:=(string is visible(hsd:str) == false) if(hsd:max len < 0) then (hsd:max len := get screen width / 8) if(hsd:positiony <> -654321 || hsd:show) then( if(hsd:positionx == -654321) then(hsd:positionx := get screen width / 2) if(hsd:positiony == -654321) then(hsd:positiony := get screen height / 2 + 10) if(hsd:center) then( center string at(hsd:str,hsd:positionx,hsd:positiony) )else( show string at(hsd:str,hsd:positionx,hsd:positiony) ) )else( hsd:positionx := string x(hsd:str) hsd:positiony := string y(hsd:str) ) hsd:tmp str := hsd:str,xor,1 # A string ID different to hsd:str hsd:saved := hsd:save string(hsd:tmp str) while(not(hsd:done)) do, begin if(hsd:center) then(center string at(hsd:str,hsd:positionx,hsd:positiony)) wait if(keyval(key:Enter)>1 || keyval(key:Numpad Enter)>1) then(hsd:done:=true, return(true)) else( if(keyval(key:Backspace)>1) then(delete char(hsd:str,string length(hsd:str))) get input text(hsd:tmp str) concatenate strings(hsd:str, hsd:tmp str) trim string(hsd:str, 1, hsd:max len) while(key is pressed(key:Esc)) do, begin # Wait for the player to let go of Esc before finishing hsd:done:=true return(false) if(player is suspended) then(wait) # Esc will be ignored else(suspendplayer, wait, resumeplayer) # Ignore the Esc, don't bring up the menu end ) end enable input text (hsd:enable input) hsd:restore string(hsd:tmp str,hsd:saved) if(hsd:show) then(hide string(hsd:str)) end script,currentdisplaytile,hsd:tile,hsd:layernumber=0,begin if(hsd:tile>=160) then( return(animationstarttile(hsd:tile,hsd:layernumber)+gettileanimationoffset((hsd:tile--160)/48,hsd:layernumber)) ) else(return(hsd:tile)) end script, wait for sound, hsd:soundid, begin while(sound is playing(hsd:soundid)) do(wait(1)) end #-------------------------------------------------------------------------- #read/write enemy wrappers script,getenemyname,hsd:enemyID,hsd:stringID,begin variable(hsd:t) clearstring(hsd:stringID) for (hsd:t,1,readenemydata(hsd:enemyID,0)) do( appendascii(hsd:stringID,readenemydata(hsd:enemyID,hsd:t)) end end script,getenemystat,hsd:enemyID,hsd:stat,begin return(readenemydata(hsd:enemyID,hsd:stat+62)) end script,setenemystat,hsd:enemyID,hsd:stat,hsd:value,begin writeenemydata(hsd:enemyID,hsd:stat+62,hsd:value) end script,setenemyname,hsd:enemyID,hsd:stringID,begin variable(hsd:t,hsd:t2) if(stringlength(hsd:stringID)>=16) then (hsd:t2:=16) else (hsd:t2:=stringlength(hsd:stringID)) writeenemydata(hsd:enemyID,0,hsd:t2) for(hsd:t,1,hsd:t2) do ( writeenemydata(hsd:enemyID,hsd:t,asciifromstring(hsd:stringID,hsd:t)) ) end #get/set enemy appearance are now simply wrappers. too much confusion to remove them now script,getenemyappearance,hsd:enemyID,hsd:appearance,begin return(readenemydata(hsd:enemyID,hsd:appearance)) end script,setenemyappearance,hsd:enemyID,hsd:appearance,hsd:value,begin writeenemydata(hsd:enemyID,hsd:appearance,hsd:value) end #-------------------------------------------------------------------------- # read/write general wrappers script,set victory music,hsd:song,begin write general(3,hsd:song+1) end script,get victory music,begin return(read general(3)--1) end script,get death script,begin return(decode trigger(read general(42))) end script,get load script,begin return(decode trigger(read general(57))) end script,set load script,hsd:ID=0,begin write general(57,hsd:ID) end script,hsd:pref bit index,hsd:bitnum, begin if (hsd:bitnum >= 48) then ( return(222 + (hsd:bitnum--48)/16) # genBits3 ) else if (hsd:bitnum >= 16) then ( return(177 + (hsd:bitnum--16)/16) # genBits2 ) else ( return(101) # genBits ) end # See https://rpg.hamsterrepublic.com/ohrrpgce/GEN#General_bitsets for bitnum script,read preference bit,hsd:bitnum,begin variable(hsd:index) hsd:index := hsd:pref bit index(hsd:bitnum) hsd:bitnum := hsd:bitnum,mod,16 return((read general(hsd:index),and,2^hsd:bitnum)<>0) end script,write preference bit,hsd:bitnum,hsd:value=1,begin variable(hsd:index) hsd:index := hsd:pref bit index(hsd:bitnum) hsd:bitnum := hsd:bitnum,mod,16 if(hsd:value) then (hsd:value := 2^hsd:bitnum) write general(hsd:index, (read general(hsd:index),and,(-1--2^hsd:bitnum))+hsd:value) end script,set battle wait mode,hsd:bit=1,begin write preference bit(0, hsd:bit) end script,set caterpillar mode,hsd:bit=1,begin write preference bit(1, hsd:bit) end #@obsolete(set HP level up restore) script,set no HP level up restore,hsd:bit=1,begin write preference bit(2, hsd:bit) end #@obsolete(set MP level up restore) script,set no MP level up restore,hsd:bit=1,begin write preference bit(3, hsd:bit) end #@obsolete(set inn revive mode) script,set inn no revive mode,hsd:bit=1,begin write preference bit(4, hsd:bit) end script,set HP level up restore,hsd:bit=1,begin write preference bit(2, not(hsd:bit)) end script,set MP level up restore,hsd:bit=1,begin write preference bit(3, not(hsd:bit)) end script,set inn revive mode,hsd:bit=1,begin write preference bit(4, not(hsd:bit)) end script,set full hero swap mode,hsd:bit=1,begin write preference bit(5, hsd:bit) end #@obsolete(show battle ready meter) script,hide battle ready meter,hsd:bit=1,begin write preference bit(6, hsd:bit) end #@obsolete(show battle health meter) script,hide battle health meter,hsd:bit=1,begin write preference bit(7, hsd:bit) end script,show battle ready meter,hsd:bit=1,begin write preference bit(6, not(hsd:bit)) end script,show battle health meter,hsd:bit=1,begin write preference bit(7, not(hsd:bit)) end script,set debug keys disable,hsd:bit=1,begin write preference bit(8, hsd:bit) end script,set dead heroes gain experience,hsd:bit=1,begin write preference bit(19, hsd:bit) end script,set active battle pause for animations,hsd:bit=1,begin write preference bit(23, hsd:bit) end script,set capped hero stat,hsd:who,hsd:stat,hsd:value,hsd:stat type=current stat,begin variable(hsd:cap) if (hsd:stat type <> base stat) then ( hsd:cap := get hero stat cap(hsd:stat) if(hsd:cap>>0, and, hsd:cap<> 600) then(write general(85, 0)) else(write general(85, (hsd:newsize + 2) / 3 * 3 -- 1)) end script, extended scancodes enabled, begin return(read preference bit(24)) end script, get level cap, begin return(readgeneral(87)) end script, set level cap, hsd:cap, begin if(hsd:cap >= 0 && hsd:cap <= readgeneral(191)) then(writegeneral(87, hsd:cap)) end #-------------------------------------------------------------------------- # read/write gmap wrappers script,get map tileset,begin return(read gmap(0)) end script, get ambient music, begin return (read gmap(1) -- 1) end script, set ambient music, hsd:song=-1, begin write gmap(1,hsd:song + 1) if (hsd:song >= 0) then (play song (hsd:song)) else (if (hsd:song == -1) then (stop song)) end script,allow minimap,hsd:setting=1,begin write gmap(2,hsd:setting) end script,allow save anywhere,hsd:setting=1,begin write gmap(3,hsd:setting) end script,cancel map name display,begin write gmap(4,0) end script,set map edge mode,mode=0,hsd:tile=0,begin write gmap(5,mode) write gmap(6,hsd:tile) end script,get map edge mode,begin return(read gmap(5)) end script,set harm tile damage,hsd:damage=0,begin write gmap(9,hsd:damage) end script,set harm tile flash,hsd:colour=0,begin write gmap(10,hsd:colour) end script,get footoffset,begin return(read gmap(11)) end script,set footoffset,hsd:offset=0,begin write gmap(11,hsd:offset) end script,get instead of battle script,begin return (decode trigger(read gmap(13))) end script,set instead of battle script,hsd:ID=0,begin write gmap(13,hsd:ID) end script,get each step script,begin return (decode trigger(read gmap(14))) end script,set each step script,hsd:ID=0,begin write gmap(14,hsd:ID) end script,get on keypress script,begin return (decode trigger(read gmap(15))) end script,set on keypress script,hsd:ID=0,begin write gmap(15,hsd:ID) end script,draw npcs above heroes,hsd:setting=1,begin write gmap(16,hsd:setting) end #-------------------------------------------------------------------------- # read/write pass block wrappers script, read wall bit, hsd:x, hsd:y, hsd:bit, begin return ((read pass block(hsd:x, hsd:y), and, hsd:bit) <> 0) end script, write wall bit, hsd:x, hsd:y, hsd:bit, hsd:new value = true, begin variable (hsd:val) hsd:val := read pass block (hsd:x, hsd:y), and, (-1 -- hsd:bit) if (hsd:new value) then (hsd:val += hsd:bit) write pass block (hsd:x, hsd:y, hsd:val) end #-------------------------------------------------------------------------- # new wrappers/re-inventing of the wheel commands script, days of play, begin return(read general(51)) end script, hours of play, begin return(read general(52)) end script, minutes of play, begin return(read general(53)) end script, seconds of play, begin return(read general(54)) end script,set days of play,hsd:d, begin if(hsd:d >= 0) then (write general(51,hsd:d)) end script,set hours of play,hsd:h, begin if(hsd:h >= 0, and, hsd:h << 24) then (write general(52,hsd:h)) end script,set minutes of play,hsd:m, begin if(hsd:m >= 0, and, hsd:m << 60) then (write general(53,hsd:m)) end script,set seconds of play,hsd:s, begin if(hsd:s >= 0, and, hsd:s << 60) then (write general(54,hsd:s)) end #-------------------------------------------------------------------------- # menu wrappers script, first menu item, hsd:menuhandle, begin exit returning(menu item by slot(hsd:menuhandle, 0)) end script, last menu item, hsd:menuhandle, hsd:visible only=true, begin variable(hsd:idx) if (hsd:visible only) then ( hsd:idx := visible menu item count(hsd:menuhandle) -- 1 ) else ( hsd:idx := menu item count(hsd:menuhandle) -- 1 ) if (hsd:idx >= 0) then ( exit returning(menu item by slot(hsd:menuhandle, hsd:idx, false)) ) end script, wait for menu, hsd:menuhandle, begin while(menu is open(hsd:menuhandle)) do(wait(1)) end #-------------------------------------------------------------------------- # menu data wrappers script, get menu boxstyle, hsd:menuhandle, begin exit returning(read menu int(hsd:menuhandle, 12)) end script, set menu boxstyle, hsd:menuhandle, hsd:n=0, begin write menu int(hsd:menuhandle, 12, hsd:n) end script, get menu textcolor, hsd:menuhandle, begin exit returning(read menu int(hsd:menuhandle, 13)) end script, set menu textcolor, hsd:menuhandle, hsd:n=0, begin write menu int(hsd:menuhandle, 13, hsd:n) end script, get menu disabled textcolor, hsd:menuhandle, begin exit returning(read menu int(hsd:menuhandle, 28)) end script, set menu disabled textcolor, hsd:menuhandle, hsd:n=0, begin write menu int(hsd:menuhandle, 28, hsd:n) end script, get menu max rows, hsd:menuhandle, begin exit returning(read menu int(hsd:menuhandle, 14)) end script, set menu max rows, hsd:menuhandle, hsd:n=0, begin write menu int(hsd:menuhandle, 14, hsd:n) end script, get menu offset x, hsd:menuhandle, begin exit returning(read menu int(hsd:menuhandle, 16)) end script, set menu offset x, hsd:menuhandle, hsd:n=0, begin write menu int(hsd:menuhandle, 16, hsd:n) end script, get menu offset y, hsd:menuhandle, begin exit returning(read menu int(hsd:menuhandle, 17)) end script, set menu offset y, hsd:menuhandle, hsd:n=0, begin write menu int(hsd:menuhandle, 17, hsd:n) end script, get menu anchor x, hsd:menuhandle, begin exit returning(read menu int(hsd:menuhandle, 18)) end script, set menu anchor x, hsd:menuhandle, hsd:n=0, begin write menu int(hsd:menuhandle, 18, hsd:n) end script, get menu anchor y, hsd:menuhandle, begin exit returning(read menu int(hsd:menuhandle, 19)) end script, set menu anchor y, hsd:menuhandle, hsd:n=0, begin write menu int(hsd:menuhandle, 19, hsd:n) end script, get menu text align, hsd:menuhandle, begin exit returning(read menu int(hsd:menuhandle, 20)) end script, set menu text align, hsd:menuhandle, hsd:n=0, begin write menu int(hsd:menuhandle, 20, hsd:n) end script, get menu min chars, hsd:menuhandle, begin exit returning(read menu int(hsd:menuhandle, 21)) end script, set menu min chars, hsd:menuhandle, hsd:n=0, begin write menu int(hsd:menuhandle, 21, hsd:n) end script, get menu max chars, hsd:menuhandle, begin exit returning(read menu int(hsd:menuhandle, 22)) end script, set menu max chars, hsd:menuhandle, hsd:n=0, begin write menu int(hsd:menuhandle, 22, hsd:n) end script, get menu border, hsd:menuhandle, begin exit returning(read menu int(hsd:menuhandle, 23)) end script, set menu border, hsd:menuhandle, hsd:n=0, begin write menu int(hsd:menuhandle, 23, hsd:n) end script, get menu on close script, hsd:menuhandle, begin exit returning(decode trigger(read menu int(hsd:menuhandle, 24))) end script, set menu on close script, hsd:menuhandle, hsd:n=0, begin write menu int(hsd:menuhandle, 24, hsd:n) end script, get menu cancel button menu, hsd:menuhandle, begin exit returning(read menu int(hsd:menuhandle, 25) -- 1) end script, set menu cancel button menu, hsd:menuhandle, hsd:n=-1, begin write menu int(hsd:menuhandle, 25, hsd:n + 1) end script, get menu item spacing, hsd:menuhandle, begin exit returning(read menu int(hsd:menuhandle, 27) -- 1) end script, set menu item spacing, hsd:menuhandle, hsd:n=-1, begin write menu int(hsd:menuhandle, 27, hsd:n + 1) end script, get menu bit, hsd:handle, hsd:bit, begin variable(hsd:n) hsd:n := read menu int(hsd:handle, 15) if(hsd:n,and,2^hsd:bit) then(exit returning(true)) exit returning(false) end script, set menu bit, hsd:handle, hsd:bit, hsd:value=1, begin variable(hsd:n) hsd:n := read menu int(hsd:handle, 15) if(hsd:value) then(hsd:n := hsd:n, or, 2^hsd:bit) else(hsd:n := hsd:n, and, (-1, xor, 2^hsd:bit)) write menu int(hsd:handle, 15, hsd:n) end #-------------------------------------------------------------------------- # menu item data wrappers script, set menu item, hsd:handle, hsd:type=0, hsd:subtype=0, hsd:tag1=0, hsd:tag2=0, hsd:stag=0, hsd:togtag=0, begin write menu item int(hsd:handle, 22, hsd:type) write menu item int(hsd:handle, 23, hsd:subtype) write menu item int(hsd:handle, 24, hsd:tag1) write menu item int(hsd:handle, 25, hsd:tag2) write menu item int(hsd:handle, 26, hsd:stag) write menu item int(hsd:handle, 27, hsd:togtag) end script, set menu item type, hsd:handle, hsd:n=0, begin write menu item int(hsd:handle, 22, hsd:n) end script, get menu item type, hsd:handle, begin exit returning(read menu item int(hsd:handle, 22)) end script, set menu item subtype, hsd:handle, hsd:n=0, begin write menu item int(hsd:handle, 23, hsd:n) end script, get menu item subtype, hsd:handle, begin exit returning(read menu item int(hsd:handle, 23)) end script, set menu item tag, hsd:handle, hsd:n=0, hsd:whichtag=1, begin if(hsd:whichtag == 1) then(write menu item int(hsd:handle, 24, hsd:n)) if(hsd:whichtag == 2) then(write menu item int(hsd:handle, 25, hsd:n)) end script, get menu item tag, hsd:handle, hsd:whichtag=1, begin if(hsd:whichtag == 1) then(exit returning(read menu item int(hsd:handle, 24))) if(hsd:whichtag == 2) then(exit returning(read menu item int(hsd:handle, 25))) end script, set menu item settag, hsd:handle, hsd:n=0, begin write menu item int(hsd:handle, 26, hsd:n) end script, get menu item settag, hsd:handle, begin exit returning(read menu item int(hsd:handle, 26)) end script, set menu item togtag, hsd:handle, hsd:n=0, begin write menu item int(hsd:handle, 27, hsd:n) end script, get menu item togtag, hsd:handle, begin exit returning(read menu item int(hsd:handle, 27)) end script, get menu item bit, hsd:handle, hsd:bit, begin variable(hsd:n) hsd:n := read menu item int(hsd:handle, 28) if(hsd:n,and,2^hsd:bit) then(exit returning(true)) exit returning(false) end script, set menu item bit, hsd:handle, hsd:bit, hsd:value=1, begin variable(hsd:n) hsd:n := read menu item int(hsd:handle, 28) if(hsd:value) then(hsd:n := hsd:n, or, 2^hsd:bit) else(hsd:n := hsd:n, and, (-1, xor, 2^hsd:bit)) write menu item int(hsd:handle, 28, hsd:n) end script, set menu item extra, hsd:handle, hsd:extra=0, hsd:n=0, begin if(hsd:extra >= 0 && hsd:extra <= 2) then, begin write menu item int(hsd:handle, 29+hsd:extra, hsd:n) end end script, get menu item extra, hsd:handle, hsd:extra=0, begin if(hsd:extra >= 0 && hsd:extra <= 2) then, begin exit returning(read menu item int(hsd:handle, 29+hsd:extra)) end end script, set menu item color, hsd:handle, hsd:n=0, begin write menu item int(hsd:handle, 32, hsd:n) end script, get menu item color, hsd:handle, begin exit returning(read menu item int(hsd:handle, 32)) end script, set menu item disabled color, hsd:handle, hsd:n=0, begin write menu item int(hsd:handle, 33, hsd:n) end script, get menu item disabled color, hsd:handle, begin exit returning(read menu item int(hsd:handle, 33)) end #-------------------------------------------------------------------------- # slice commands script, get npc sprite, hsd:npc, begin variable (hsd:sl, hsd:tmp) hsd:sl := get npc slice(hsd:npc) # If the NPC is tag-disabled it has no slice and we return 0; not an error. if (hsd:sl) then (return (lookup slice(sl:walkabout sprite component, hsd:sl))) end script, get hero sprite, hsd:rank, begin variable (hsd:sl) hsd:sl := get hero slice(hsd:rank) # If the caterpillar rank is empty we return 0; not an error. if (hsd:sl) then (return (lookup slice(sl:walkabout sprite component, hsd:sl))) end script, get hero sprite by slot, hsd:who, begin variable (hsd:sl) hsd:sl := get hero slice by slot(hsd:who) # If the slot is empty we return 0; not an error. if (hsd:sl) then (return (lookup slice(sl:walkabout sprite component, hsd:sl))) end script, load sprite, hsd:type, hsd:number, hsd:pal = -1, begin switch (hsd:type) do ( case(spritetype:hero) return(load hero sprite (hsd:number, hsd:pal)) case(spritetype:smallenemy) return(load small enemy sprite (hsd:number, hsd:pal)) case(spritetype:mediumenemy) return(load medium enemy sprite (hsd:number, hsd:pal)) case(spritetype:largeenemy) return(load large enemy sprite (hsd:number, hsd:pal)) case(spritetype:walkabout) return(load walkabout sprite (hsd:number, hsd:pal)) case(spritetype:weapon) return(load weapon sprite (hsd:number, hsd:pal)) case(spritetype:attack) return(load attack sprite (hsd:number, hsd:pal)) case(spritetype:border) return(load border sprite (hsd:number, hsd:pal)) case(spritetype:portrait) return(load portrait sprite (hsd:number, hsd:pal)) case(spritetype:backdrop) return(load backdrop sprite (hsd:number)) else ( variable(hsd:tmp) hsd:tmp := hsd:save string(99) script error(string sprintf(99, $99="load sprite(%d,%d,%d): invalid type %d", hsd:type, hsd:number, hsd:pal, hsd:type), true) hsd:restore string(99, hsd:tmp) ) ) end script, create sprite, hsd:type, hsd:number, hsd:pal = -1, begin return(load sprite(hsd:type, hsd:number, hsd:pal)) end script, replace sprite, hsd:sl, hsd:type, hsd:number, hsd:pal = -1, begin switch (hsd:type) do ( case(spritetype:hero) replace hero sprite (hsd:sl, hsd:number, hsd:pal) case(spritetype:smallenemy) replace small enemy sprite (hsd:sl, hsd:number, hsd:pal) case(spritetype:mediumenemy) replace medium enemy sprite (hsd:sl, hsd:number, hsd:pal) case(spritetype:largeenemy) replace large enemy sprite (hsd:sl, hsd:number, hsd:pal) case(spritetype:walkabout) replace walkabout sprite (hsd:sl, hsd:number, hsd:pal) case(spritetype:weapon) replace weapon sprite (hsd:sl, hsd:number, hsd:pal) case(spritetype:attack) replace attack sprite (hsd:sl, hsd:number, hsd:pal) case(spritetype:border) replace border sprite (hsd:sl, hsd:number, hsd:pal) case(spritetype:portrait) replace portrait sprite (hsd:sl, hsd:number, hsd:pal) case(spritetype:backdrop) replace backdrop sprite (hsd:sl, hsd:number) else ( variable(hsd:tmp) hsd:tmp := hsd:save string(99) script error(string sprintf(99, $99="replace sprite(%d,%d,%d): invalid type %d", hsd:type, hsd:number, hsd:pal, hsd:type), true) hsd:restore string(99, hsd:tmp) ) ) end script, load enemy sprite, hsd:size, hsd:number, hsd:pal = -1, begin if(hsd:size == EnemySize:small) then(return(load small enemy sprite(hsd:number, hsd:pal))) if(hsd:size == EnemySize:medium) then(return(load medium enemy sprite(hsd:number, hsd:pal))) if(hsd:size == EnemySize:large) then(return(load large enemy sprite(hsd:number, hsd:pal))) end script, replace enemy sprite, hsd:ID, hsd:size, hsd:number, hsd:pal = -1, begin if(hsd:size == EnemySize:small) then(return(replace small enemy sprite(hsd:ID, hsd:number, hsd:pal))) if(hsd:size == EnemySize:medium) then(return(replace medium enemy sprite(hsd:ID, hsd:number, hsd:pal))) if(hsd:size == EnemySize:large) then(return(replace large enemy sprite(hsd:ID, hsd:number, hsd:pal))) end #### first child/next sibling wrappers script, first child of type, hsd:parent, hsd:type, begin variable(hsd:sl) hsd:sl := first child(hsd:parent) if(hsd:sl==0) then(exit returning(hsd:sl)) if(slice type(hsd:sl) == hsd:type) then(exit returning(hsd:sl)) exit returning(next sibling of type(hsd:sl, hsd:type)) end script, next sibling of type, hsd:sl, hsd:type, begin hsd:sl := next sibling(hsd:sl) while(hsd:sl) do ( if(slice type(hsd:sl) == hsd:type) then(exit returning(hsd:sl)) hsd:sl := next sibling(hsd:sl) ) exit returning(hsd:sl) end script, first container child, hsd:parent, begin return(first child of type(hsd:parent, slicetype:container)) end script, next container sibling, hsd:sib, begin return(next sibling of type(hsd:sib, slicetype:container)) end script, first rect child, hsd:parent, begin return(first child of type(hsd:parent, slicetype:rect)) end script, next rect sibling, hsd:sib, begin return(next sibling of type(hsd:sib, slicetype:rect)) end script, first sprite child, hsd:parent, begin return(first child of type(hsd:parent, slicetype:sprite)) end script, next sprite sibling, hsd:sib, begin return(next sibling of type(hsd:sib, slicetype:sprite)) end script, first text child, hsd:parent, begin return(first child of type(hsd:parent, slicetype:text)) end script, next text sibling, hsd:sib, begin return(next sibling of type(hsd:sib, slicetype:text)) end script, first ellipse child, hsd:parent, begin return(first child of type(hsd:parent, slicetype:ellipse)) end script, next ellipse sibling, hsd:sib, begin return(next sibling of type(hsd:sib, slicetype:ellipse)) end script, first grid child, hsd:parent, begin return(first child of type(hsd:parent, slicetype:grid)) end script, next grid sibling, hsd:sib, begin return(next sibling of type(hsd:sib, slicetype:grid)) end script, first scroll child, hsd:parent, begin return(first child of type(hsd:parent, slicetype:scroll)) end script, next scroll sibling, hsd:sib, begin return(next sibling of type(hsd:sib, slicetype:scroll)) end script, first select child, hsd:parent, begin return(first child of type(hsd:parent, slicetype:select)) end script, next select sibling, hsd:sib, begin return(next sibling of type(hsd:sib, slicetype:select)) end script, first panel child, hsd:parent, begin return(first child of type(hsd:parent, slicetype:panel)) end script, next panel sibling, hsd:sib, begin return(next sibling of type(hsd:sib, slicetype:panel)) end script, first line child, hsd:parent, begin return(first child of type(hsd:parent, slicetype:line)) end script, next line sibling, hsd:sib, begin return(next sibling of type(hsd:sib, slicetype:line)) end #### More slice commands script, get selected child, hsd:parent, begin return(slice child(hsd:parent, get select slice index(hsd:parent))) end script, set selected child, hsd:parent, hsd:child, begin if (parent slice(hsd:child) <> hsd:parent) then ( variable(hsd:tmp) hsd:tmp := hsd:save string(99) script error($99="set selected slice: 2nd slice must be a child of the 1st", true) hsd:restore string(99, hsd:tmp) ) else ( set select slice index(hsd:parent, slice child index(hsd:child)) ) end script, free slice children, hsd:parent, begin variable(hsd:sl, hsd:next) hsd:sl := first child(hsd:parent) while(hsd:sl) do( hsd:next := next sibling(hsd:sl) free slice(hsd:sl) hsd:sl := hsd:next ) end script, realign slice, hsd:sl, hsd:halign, hsd:valign, hsd:hanchor=-1, hsd:vanchor=-1, begin set horiz align(hsd:sl, hsd:halign) set vert align(hsd:sl, hsd:valign) if(hsd:hanchor <> -1) then(set horiz anchor(hsd:sl, hsd:hanchor)) if(hsd:vanchor <> -1) then(set vert anchor(hsd:sl, hsd:vanchor)) end script, center slice, hsd:sl, begin realign slice(hsd:sl, 1, 1, 1, 1) end script, set slice screen x, hsd:sl, hsd:newx, begin variable(hsd:oldx, hsd:diff) hsd:oldx := slice screen x(hsd:sl) hsd:diff := hsd:newx -- hsd:oldx set slice x(hsd:sl, slice x(hsd:sl) + hsd:diff) end script, set slice screen y, hsd:sl, hsd:newy, begin variable(hsd:oldy, hsd:diff) hsd:oldy := slice screen y(hsd:sl) hsd:diff := hsd:newy -- hsd:oldy set slice y(hsd:sl, slice y(hsd:sl) + hsd:diff) end script, set slice size, hsd:sl, hsd:width, hsd:height, begin set slice width(hsd:sl, hsd:width) set slice height(hsd:sl, hsd:height) end script, put slice screen, hsd:sl, hsd:newx, hsd:newy, begin put slice(hsd:sl, slice x(hsd:sl) + hsd:newx -- slice screen x(hsd:sl), slice y(hsd:sl) + hsd:newy -- slice screen y(hsd:sl)) end script, set padding, hsd:sl, hsd:newpadding, begin set left padding (hsd:sl, hsd:newpadding) set right padding (hsd:sl, hsd:newpadding) set top padding (hsd:sl, hsd:newpadding) set bottom padding(hsd:sl, hsd:newpadding) end script, reparent to npc, hsd:sl, hsd:npc, begin set parent(hsd:sl, lookup slice(sl:walkabout sprite component, get npc slice(hsd:npc))) end script, reparent to hero, hsd:sl, hsd:hero rank, begin set parent(hsd:sl, lookup slice(sl:walkabout sprite component, get hero slice(hsd:hero rank))) end #-------------------------------------------------------------------------- # script triggers define trigger,begin 0, script 1, plotscript end #-------------------------------------------------------------------------- # betweenable operators define operator,begin 20 ^ exponent 30,mod,modulus 30 / divide 30 * multiply 40 -- subtract 40 + add 50 == equal 50 <> notequal 50 << lessthan 50 >> greaterthan 50 < lessthan 50 > greaterthan 50 <= lessthanorequalto 50 >= greaterthanorequalto 60,xor,xor 60,and,and 60,or, or 65 && logand 70 || logor 70 ^^ logxor 80 := setvariable 80 += increment 80 -= decrement 80 $+ concatenatestrings 80 $= copystring end #-------------------------------------------------------------------------- # global constants define constant, begin 0,zero 1,one 2,two 3,three 4,four 5,five 6,six 7,seven 8,eight 9,nine 10,ten 0,false 1,true 0,off 1,on 0,north 1,east 2,south 3,west 0,up 2,down 3,left 1,right # plotscr version >= "3U " has new *key constants -1,anykey -2,upkey -3,downkey -4,leftkey -5,rightkey -6,usekey -7,cancelkey -7,menukey -8,runkey 0,me 0,none -1,autonumber 0,currentstat 1,maximumstat 2,basestat 0b1,northwall 0b10,eastwall 0b100,southwall 0b1000,westwall 0b10000,vehicleA 0b100000,vehicleB 0b1000000,harmtile 0b10000000,overheadtile # Special constants used only by 'move slice with wallchecking' # Each is euqal to the wall bits for two directions, shifted 24 bits left 0b0011 00000000 00000000 00000000,northeast corner 0b1001 00000000 00000000 00000000,northwest corner 0b0110 00000000 00000000 00000000,southeast corner 0b1100 00000000 00000000 00000000,southwest corner # Special zones 10000,zone:OneWayExit 0,inside battle 1,outside battle 2,hero portrait 0,NPCstat:picture 1,NPCstat:palette 2,NPCstat:movetype 0,NPCmovetype:standstill 1,NPCmovetype:wander 2,NPCmovetype:pace 3,NPCmovetype:rightturns 4,NPCmovetype:leftturns 5,NPCmovetype:randomturns 6,NPCmovetype:chaseyou 6,NPCmovetype:chaseyoumeandering 7,NPCmovetype:avoidyou 7,NPCmovetype:avoidyoumeandering 8,NPCmovetype:walkinplace 9,NPCmovetype:chaseyoudirect 10,NPCmovetype:avoidyoudirect 11,NPCmovetype:followwallsright 12,NPCmovetype:followwallsleft 13,NPCmovetype:followwallsrightstopsforothers 14,NPCmovetype:followwallsleftstopsforothers 15,NPCmovetype:chaseyoupathfinding 3,NPCstat:movespeed 4,NPCstat:displaytext 5,NPCstat:whenactivated 0,NPCwhenactivated:changedirection 1,NPCwhenactivated:faceplayer 2,NPCwhenactivated:donotfaceplayer 6,NPCstat:giveitem # Note: item num + 1 7,NPCstat:pushability 0,NPCpush:off 1,NPCpush:full 2,NPCpush:horizontal 3,NPCpush:vertical 4,NPCpush:uponly 5,NPCpush:rightonly 6,NPCpush:downonly 7,NPCpush:leftonly 8,NPCstat:activation 0,NPCactivation:use 1,NPCactivation:touch 2,NPCactivation:stepon 9,NPCstat:tag1 10,NPCstat:tag2 11,NPCstat:onetimeusetag 11,NPCstat:onetimeuseflag 12,NPCstat:script 13,NPCstat:scriptargument 14,NPCstat:vehicle 15,NPCstat:defaultmovementzone 16,NPCstat:defaultavoidancezone 17,NPCstat:ignorepassmap 18,NPCstat:pathfindingrule # Values for NPCstat:pathfindingrule 0,pathfinding:default 1,pathfinding:npcs obstruct 2,pathfinding:npcs ignored 0,color:red 1,color:green 2,color:blue 0,leftbutton 1,rightbutton 2,middlebutton -1,getcount 0,string:outline 1,string:flat 53,Enemy:Picture 54,Enemy:Palette 55,Enemy:PictureSize 0, EnemySize:small 1, EnemySize:medium 2, EnemySize:large 56,Enemy:Gold 57,Enemy:Experience 58,Enemy:Item 59,Enemy:ItemPercent 60,Enemy:RareItem 61,Enemy:RareItemPercent 17,Stealability -1, IsNotStealable 0, StealableOnce 1, StealableInfinity 18, StealableItem 19, StealableItemChance 20, StealableRareItem 21, StealableRareItemchance 0, Crop 1, Wrap 2, Defaulttile -1,party 0, extra 0 1, extra 1 2, extra 2 0, x axis 1, y axis 0b1,mapstate:mapsettings 0b10,mapstate:npclocations 0b100,mapstate:npcdefinitions 0b1000,mapstate:tilemap 0b10000,mapstate:passmap 0b100000,mapstate:zonemap #0b1000000,mapstate:foemap 0b110,mapstate:npcs 0b111000,mapstate:tiles 0b11111111,mapstate:all 0,timer:stop #use in speed -1,timer:default #use in any -2,timer:gameover#use in trigger 0b1,timerflag:critical 0b10,timerflag:battle 0b100,timerflag:menu 0,menutype:label 0,menutype:caption 1,menutype:special 2,menutype:menu 3,menutype:textbox 4,menutype:script 0,menulabel:selectable 1,menulabel:disabled 2,menulabel:unselectable 2,menulabel:cant be selected 0,menuspecial:items 1,menuspecial:spells 2,menuspecial:status 3,menuspecial:equip 4,menuspecial:order 5,menuspecial:team 6,menuspecial:orderteam 7,menuspecial:map 8,menuspecial:save 9,menuspecial:load 10,menuspecial:quit 11,menuspecial:volume 12,menuspecial:mapalways 13,menuspecial:savealways 14,menuspecial:margins 15,menuspecial:purchases 16,menuspecial:windowed 17,menuspecial:fullscreen 18,menuspecial:musicvolume 19,menuspecial:soundvolume 0,menuitembit:hide when disabled #Renamed 0,menuitembit:hide if disabled 1,menuitembit:close menu when selected #Renamed 1,menuitembit:close menu when activated 2,menuitembit:skip close script 0,menubit:translucent box 1,menubit:never show scrollbar 2,menubit:allow gameplay 3,menubit:suspend player even if gameplay allowed 4,menubit:no box 5,menubit:no close 6,menubit:no controls 7,menubit:prevent main menu 8,menubit:advance text box when menu closes 9,menubit:highlight selection background 10,menubit:remember selection ### The align: constants are for menu alignment, NOT for slices! 0,align:center -1,align:left 1,align:right -1,align:top 1,align:bottom -1,tileset:default -1,song:silence -2,song:same as map -2,song:same as last map -1,any enemy 0,inv:max ### The edge: constants are for slice alignment, NOT for menus! 0,edge:left 1,edge:center 2,edge:right 0,edge:top 1,edge:middle 2,edge:bottom 1,slicetype:Special 2,slicetype:Container 3,slicetype:Rectangle 3,slicetype:Rect 4,slicetype:Sprite 5,slicetype:Text 6,slicetype:Map 7,slicetype:Grid 8,slicetype:Ellipse 9,slicetype:Scroll 10,slicetype:Select 11,slicetype:Panel 12,slicetype:Layout 13,slicetype:Line 0,spritetype:hero 1,spritetype:smallenemy 2,spritetype:mediumenemy 3,spritetype:largeenemy 4,spritetype:walkabout 5,spritetype:weapon 6,spritetype:attack 7,spritetype:border 8,spritetype:portrait 9,spritetype:backdrop -1,border:line -2,border:none -99,border:raw 0,trans:solid 1,trans:fuzzy 2,trans:hollow 3,trans:blend 0,blend:normal 1,blend:add 1,blend:additive 2,blend:multiply 0,hand:Attack A 1,hand:Attack B 0,dissolve:random scatter 1,dissolve:crossfade 2,dissolve:diagonal vanish 3,dissolve:sink into ground 4,dissolve:squash 5,dissolve:melt 6,dissolve:vapourise 7,dissolve:phase out 8,dissolve:squeeze 9,dissolve:shrink 10,dissolve:flicker 11,dissolve:shrink to center 12,dissolve:fade 13,dissolve:ghostly fade 14,dissolve:fade to white 15,dissolve:puff 16,dissolve:fade up 17,dissolve:blip -1,dissolvetime:default 50000,maximum global id 99,maximum string id end # define constant, begin -100000, sl:root -100001, sl:textbox text -100002, sl:textbox portrait -100003, sl:textbox choice0 -100004, sl:textbox choice1 -100016, sl:textbox box -100017, sl:textbox portrait box -100018, sl:textbox choice box -100019, sl:textbox root -100005, sl:script layer -100006, sl:textbox layer -100007, sl:string layer -100021, sl:reserve -100008, sl:maproot -100009, sl:obsolete overhead -100020, sl:map overlay -100010, sl:walkabout layer -100011, sl:hero layer -100012, sl:npc layer -100013, sl:walkabout sprite -100013, sl:walkabout sprite component -100014, sl:walkabout shadow -100014, sl:walkabout shadow component -100015, sl:backdrop -101000, sl:map layer0 -101001, sl:map layer1 -101002, sl:map layer2 -101003, sl:map layer3 -101004, sl:map layer4 -101005, sl:map layer5 -101006, sl:map layer6 -101007, sl:map layer7 -101008, sl:map layer8 -101009, sl:map layer9 -101010, sl:map layer10 -101011, sl:map layer11 -101012, sl:map layer12 -101013, sl:map layer13 -101014, sl:map layer14 -101015, sl:map layer15 -102100, sl:pathfind dest display end # SCANCODE.HSIY# this include file defines a whole mess of key: constants for use with # the "key is pressed" command. This is more complete than it needs to be :) define constant,begin # anykey, upkey, downkey, leftkey, rightkey, usekey, menukey, cancelkey, runkey # are also valid virtual scancodes, but they're defined in plotscr.hsd. 01,key:Esc 02,key:1 02,key:Exclamation 03,key:2 03,key:At Sign 04,key:3 04,key:Hash 05,key:4 05,key:Dollar Sign 06,key:5 06,key:Percent 07,key:6 07,key:Circumflex 08,key:7 08,key:Ampersand 09,key:8 09,key:Asterix 09,key:Asterisk 10,key:9 10,key:Left Parenthesis 11,key:0 11,key:Right Parenthesis 12,key:Minus 12,key:Underscore 13,key:Equals 13,key:Plus 14,key:Backspace 15,key:Tab 16,key:Q 17,key:W 18,key:E 19,key:R 20,key:T 21,key:Y 22,key:U 23,key:I 24,key:O 25,key:P 26,key:Left Bracket 26,key:Left Brace 27,key:Right Bracket 27,key:Right Brace 28,key:Enter 29,key:Ctrl 30,key:A 31,key:S 32,key:D 33,key:F 34,key:G 35,key:H 36,key:J 37,key:K 38,key:L 39,key:Semicolon 39,key:Colon 40,key:Quote 40,key:Doublequote 40,key:Apostrophe 41,key:Backquote 41,key:Tilde 42,key:Left Shift 43,key:Backslash 43,key:Pipe 44,key:Z 45,key:X 46,key:C 47,key:V 48,key:B 49,key:N 50,key:M 51,key:Comma 51,key:Left Caret 52,key:Period 52,key:Right Caret 53,key:Slash 53,key:Question Mark 54,key:Right Shift 55,key:Numpad Asterix 55,key:Numpad Asterisk 56,key:Alt 57,key:Space 58,key:Capslock 59,key:F1 60,key:F2 61,key:F3 62,key:F4 63,key:F5 64,key:F6 65,key:F7 66,key:F8 67,key:F9 68,key:F10 69,key:Numlock # On Macs this is the Clear numpad key instead 70,key:Scroll Lock 71,key:Home 72,key:Up 73,key:Page Up 74,key:Numpad Minus 75,key:Left 77,key:Right 78,key:Numpad Plus 79,key:End 80,key:Down 81,key:Page Down 82,key:Insert 83,key:Delete 87,key:F11 88,key:F12 91,key:Left Win Logo 91,key:Left Command #Macintosh 91,key:Left Meta 92,key:Right Win Logo 92,key:Right Command #Macintosh 92,key:Right Meta 93,key:Context 94,key:F13 95,key:F14 96,key:F15 97,key:Shift 98,key:Left Alt 99,key:Right Alt 100,key:Left Ctrl 101,key:Right Ctrl 102,key:Numpad Slash # previously key:Slash 103,key:Numpad Enter # previously key:Enter 104,key:Numpad 7 # previously key:Home 105,key:Numpad 8 # previously key:Up 106,key:Numpad 9 # previously key:Page Up 108,key:Numpad 4 # previously key:Left 109,key:Numpad 5 110,key:Numpad 6 # previously key:Right 112,key:Numpad 1 # previously key:End 113,key:Numpad 2 # previously key:Down 114,key:Numpad 3 # previously key:Page Down 115,key:Numpad 0 # previously key:Insert 116,key:Numpad Period # previously key:Delete 117,key:Print Screen 118,key:Pause # previously key:Numlock 119,key:Filtered Alt # Same as key:Alt, but try to filter out keypresses which are part of window manager combinations 120,key:Any Enter # either key:Enter or key:Numpad Enter 121,key:Meta # either key:Left Meta or key:Right Meta 121,key:Win Logo 121,key:Command #keys >= 128 are NOT scan codes, per se, but for other devices (mouse, joystick) 128,joy:button 1 129,joy:button 2 130,joy:button 3 131,joy:button 4 132,joy:button 5 133,joy:button 6 134,joy:button 7 135,joy:button 8 136,joy:button 9 137,joy:button 10 138,joy:button 11 139,joy:button 12 140,joy:button 13 141,joy:button 14 142,joy:button 15 143,joy:button 16 # Warning: gap in scancode numbers! 148,joy:button 17 149,joy:button 18 150,joy:button 19 151,joy:button 20 152,joy:button 21 153,joy:button 22 154,joy:button 23 155,joy:button 24 156,joy:button 25 157,joy:button 26 158,joy:button 27 159,joy:button 28 160,joy:button 29 161,joy:button 30 162,joy:button 31 163,joy:button 32 144,joy:x left 144,joy:left 145,joy:x right 145,joy:right 146,joy:y up 146,joy:up 147,joy:y down 147,joy:down # These are only returned by waitforkey(anykey)! You can't use them elsewhere! # Don't confuse these with "left button", etc, which are used for "mouse click", etc. #180,mouse:left #181,mouse:right #182,mouse:middle end VIKING.HSI܀# HamsterSpeak constant definitions for Viking.rpg define constant, begin 2,tag:YesNo 3,tag:Talked to once 4,tag:Talked to twice 5,tag:Selected the hero 6,tag:Ironwood Forest 7,tag:Warrior 8,tag:Ranger 9,tag:Valkyrie 10,tag:Berserker 11,tag:Brigand 12,tag:Skald 13,tag:Shaman 14,tag:Missionary 15,tag:Forest Revives 16,tag:ShubNiggurath 17,tag:Tulzcha 18,tag:Bena sings 19,tag:Fire Stone 20,tag:Have Mithril 21,tag:Spoke to sheep Ranch 22,tag:Got Mi'La 23,tag:Sheep Ranch Finish 24,tag:Ice Box 25,tag:Water Box 26,tag:Trapbox 27,tag:Fight Dagon 28,tag:Ice stone 29,tag:OdinJotun 30,tag:odinsouth 31,tag:Odinnorth 32,tag:Painting1 33,tag:Painting2 34,tag:Painting3 35,tag:Painting4 36,tag:Painting5 37,tag:Fenpicture 38,tag:Talk to Freki 39,tag:Proof for Loki 40,tag:Loki aquitted 41,tag:defeat Cthulhu 42,tag:last gemstone get 43,tag:Agree to follo MGarm 44,tag:Meteor 45,tag:Speak with Freya 46,tag:Fight Hel 47,tag:Annoy Midgardsorm 48,tag:Beat Snake 49,tag:NOENCOUNTERS 50,tag:SPRINT 51,tag:DASH 52,tag:WARRIORLEAD 53,tag:VALKYRIELEAD 54,tag:RANGERLEAD 55,tag:BERSERKERLEAD 56,tag:BRIGANDLEAD 57,tag:SKALDLEAD 58,tag:SHAMANLEAD 59,tag:MISSIONARYLEAD 60,tag:HERODEAD 61,tag:Beat Niddhogg 62,tag:Beat Surt 63,tag:Beat Airship 64,tag:Beat Lunaris 65,tag:Beat Managarm 66,tag:Beat Sericyon 67,tag:DARKMATTER 68,tag:learn of Sericyon 69,tag:Odin's Last Scene 70,tag:Kyle dies 71,tag:Azathoth appears 72,tag:DO NOT DIE 73,tag:CTHULHU1 74,tag:CTHULHU2 75,tag:CTHULHU3 76,tag:CTHULHU4 77,tag:HATI 78,tag:Odinspeech 79,tag:Warriorget 80,tag:Missionaryget 81,tag:Shamanget 82,tag:Rangerget 83,tag:Return Crystal 84,tag:Valkyrieget 85,tag:Talk to Loki 86,tag:dogero1 87,tag:dogero2 88,tag:Skaldget 89,tag:berserkerget 97,tag:stole the apple 98,tag:Box prize 99,tag:Jint 100,tag:FrekiiceCavern 101,tag:Thule1 102,tag:Thule2 103,tag:Have icestone 104,tag:BeforeAlfheim 105,tag:HATI2 106,tag:TRIANGLE 107,tag:Hench1 108,tag:Hench2 109,tag:Hench3 110,tag:Hench4 111,tag:Hench5 112,tag:Hench6 113,tag:AlfheimFinish 114,tag:TriangleDies 115,tag:BurnOver 116,tag:HeroesRegained 117,tag:Jotun1 118,tag:stairs 119,tag:gahn 120,tag:jo 121,tag:orlock 122,tag:WORLDOFRUIN 123,tag:GATE1 124,tag:AddFox 125,tag:Bramreturns 126,tag:Frumpyreturns 127,tag:Photoheal1 128,tag:Siphon1 129,tag:Lifedrain1 130,tag:Crush1 131,tag:Maim1 132,tag:Dissolve1 133,tag:Greenfire1 134,tag:Purplhaze1 135,tag:Icewave1 136,tag:Explode1 137,tag:Barrier1 138,tag:Supernova1 139,tag:RenardinParty 140,tag:Frumpyover 141,tag:HelAlive 142,tag:DefeatHel 143,tag:FrekiLead 144,tag:Frekiinparty 145,tag:ROACHES 146,tag:FORCE 147,tag:WERERED 148,tag:WarriorInParty 149,tag:MUSH 150,tag:ValkyrieInParty 151,tag:BerserkerInParty 152,tag:Got antidotes 153,tag:SkaldInParty 154,tag:ShamanInParty 155,tag:MissionaryInParty 156,tag:Hildabackstory 157,tag:Hildareturns 158,tag:Housemaster 159,tag:Gnipaover 160,tag:Frumling 161,tag:Frumawak 162,tag:Frumnurs 163,tag:Frumlife 164,tag:sublime 165,tag:FENRIRBREAK 166,tag:HaveBrising 167,tag:Meet God 168,tag:ThorLake1 169,tag:FindDrownDwarf 170,tag:ThorLake2 171,tag:deactivated 172,tag:styrgerejoins 173,tag:Guiltdefeated 174,tag:Ericsilen 175,tag:Condensation 176,tag:Dogeroend 177,tag:Dracula 178,tag:Cure2 179,tag:Shayna 180,tag:Fire2 181,tag:Flee 182,tag:Heal2 183,tag:Bandage 184,tag:Rush 185,tag:Beastmasterlead 186,tag:NecromancerLead 187,tag:Riftfix 188,tag:jerkstore 189,tag:clock1 190,tag:suck1 191,tag:suck2 192,tag:suck3 193,tag:Ericback 194,tag:Billybeat 195,tag:firesmash 196,tag:icebrand 197,tag:stickman 198,tag:boltslash 199,tag:Utgard 200,tag:DelvireBrag 201,tag:LOWTEIR 202,tag:MIDTEIR 203,tag:UPPERTEIR 204,tag:HIGHTEIR 205,tag:QUARTERFINALS 206,tag:SEMIFINALS 207,tag:Rellfavor 208,tag:Crone 209,tag:RELLFIGHT 210,tag:Skadi1 211,tag:Skadi2 212,tag:DelvirePromise 213,tag:Delvire2 214,tag:Managarm defeated 215,tag:IrregularDefeated 216,tag:Thule3 217,tag:Thule4 218,tag:IcyStone 219,tag:BuckText 220,tag:Thule5 221,tag:Collietime 222,tag:Thulequestsover 223,tag:Delvireironwood 224,tag:Delvireboatscene 225,tag:Gisli 226,tag:wargsfight 227,tag:nightback 228,tag:believe 229,tag:cure4 230,tag:nurse3 231,tag:raise 232,tag:cowfight 233,tag:jotunslain 234,tag:timtim1 235,tag:Beastmaster 236,tag:Necromancer 237,tag:Have Antler 238,tag:Have Adamant Hammer 239,tag:Have Manslayer 240,tag:Learn Weaksmash 241,tag:Learn Man Slayer 242,tag:Learn Dark Rage 243,tag:FinalDelvire 244,tag:trapped 245,tag:gatedown 246,tag:SeenHilda 247,tag:RagnaROCK 248,tag:defeatsery 249,tag:OMEGA 250,tag:Sky'sQuest 251,tag:Deam'sSpeech 252,tag:EINSAND 253,tag:LINNORM 254,tag:Threecut 255,tag:Braveblade 256,tag:EXCALIBUR 257,tag:FrekiBack 258,tag:SeryTalk1 259,tag:FenrisShop 260,tag:Collielele 261,tag:FLOATER 262,tag:Brisinghint 263,tag:COMRADEBOMB 264,tag:SLIMESALAD 265,tag:HORACE 266,tag:DR MU 267,tag:FrekiDadwolf 268,tag:JADE 269,tag:PANOPT1 270,tag:PANOPT2 271,tag:PANOPT3 272,tag:PANOPT4 273,tag:PANOPT5 274,tag:PANOPT6 275,tag:PANOPT7 276,tag:PANOPT8 277,tag:PANOPT9 278,tag:LastDelvire 279,tag:HAVEJADE 280,tag:ERUSAIZU 281,tag:LIGHTCRYSTAL 282,tag:DEFENDER 283,tag:DO NOT DIE 2 284,tag:Geri 285,tag:STARTARENA 286,tag:GAHN1 287,tag:BATH 288,tag:FART 289,tag:CTHULHUFINAL 290,tag:Fafnir1 291,tag:GAMBANTEINN 292,tag:Excal 293,tag:Wedding 294,tag:Slither 295,tag:FOXSWORD 296,tag:DEATHREAPER 297,tag:KYLEDIES 2 298,tag:SNAKETIME 299,tag:NightRain 300,tag:MOTHER 301,tag:ROPE1 302,tag:ROPE2 303,tag:IceBoxPuzzle 304,tag:Memory 305,tag:NOTURNINGBACK 1,song:Asgard 2,song:Second Star to the Right 3,song:Mannheim 4,song:Caliginous 5,song:Life Returns 6,song:Ocean of Fire 7,song:Settling Waves of Dust 8,song:Cold Hearts 9,song:Melting Away 10,song:Against Insurmountable Odds 11,song:Elements Animus 12,song:In Soft Reflection 13,song:Celestial 14,song:The Winding Road 15,song:Gods of Spite 16,song:Vikings of Midgard 17,song:Rising Courage 18,song:Hidden Away 19,song:Castle of Filth 20,song:So Near 21,song:Helheim's Ruin 22,song:Grim Determination 23,song:Ragnarok 24,song:The CHAMBER 25,song:From the Molten Core 26,song:An Unfortunate End 27,song:Your Flames My Steel 28,song:Desperate Gamble 29,song:Vile 31,song:All Seeing Eye 33,song:Greener Grass 34,song:Witch's Womb 35,song:Spirit of the Einherjar 36,song:Nameless Sorcerer 37,song:Hail the Conquering Heroes 41,song:Last Refuge 46,song:Sleeping Buddha 50,song:Humoresque 51,song:Shores of Midgardsom 55,song:PerfectVileness 56,song:SabreDance 57,song:The Grand Reveal 1,sfx:Cancel8Bit 2,sfx:ChargedLightningAttack8Bit 3,sfx:ChargedSonicBoomAttack8Bit 4,sfx:Collision8Bit 5,sfx:Confirm8Bit 6,sfx:Crush8Bit 7,sfx:Heal8Bit 8,sfx:MediumExplosion8Bit 9,sfx:Menu8Bit 10,sfx:Metal_Hit 11,sfx:Select8Bit 12,sfx:Slash8Bit 13,sfx:SmallExplosion8Bit 14,sfx:Soft_Airy_Swish 15,sfx:Ice Crash 16,sfx:Beam Attack 17,sfx:Blizzard Loop 18,sfx:Electricity 19,sfx:Growl 20,sfx:laser gun 21,sfx:Nuclear 22,sfx:Roar 23,sfx:wind 24,sfx:baa 25,sfx:bubbles 26,sfx:lightning 27,sfx:WARNING 28,sfx:earthquake 29,sfx:BigWave 30,sfx:DrainMagic 31,sfx:StormMagic 32,sfx:TornadoMagic 33,sfx:ThunderMagic 34,sfx:FlameMagic 35,sfx:FreezeMagic 36,sfx:KirbyStyleLaser 37,sfx:RobotNoise 38,sfx:EnemyDeath 39,sfx:BossDeath 40,sfx:BigBossDeath 41,sfx:Delvire 42,sfx:Wilhelm 43,sfx:Mistress 44,sfx:Death 45,sfx:Fart 46,sfx:ExtralongWarp 47,sfx:wolfhowl 48,sfx:Mer 49,sfx:Plip 50,sfx:ITHURTSTOLIVE 51,sfx:CreepyNoise 52,sfx:FunkyZap 53,sfx:Oddbounce 54,sfx:Pingdadingdingding 55,sfx:Powerup 56,sfx:UpStairs 57,sfx:DownStairs 58,sfx:Thip 59,sfx:Bloop 60,sfx:gimmeyourmoney 61,sfx:lemunayd 62,sfx:amyhate 63,sfx:burnyourselves 64,sfx:jozhere 65,sfx:woogyhatesyou 66,sfx:pikapikapi 67,sfx:Owowowow 68,sfx:Textbox 69,sfx:Game over 70,sfx:BLASTER BEAM 71,sfx:sleep 72,sfx:Cthulhu 73,sfx:Breakdown 74,sfx:Banish 75,sfx:Noise roar 76,sfx:Noisy teleport 77,sfx:YAP 0,hero:Freki 1,hero:Kitt 2,hero:Styrge 3,hero:Hilda 4,hero:Olaf 5,hero:Bram 6,hero:Eric 7,hero:Night 8,hero:Frumpy 9,hero:Renard 10,hero:Xephes 11,hero:Dragon 12,hero:Kyle 13,hero:Triangle Man 14,hero:Daguerro 15,hero:Master H 1,item:Mead 2,item:Herbs 3,item:Honey 4,item:Bifrost 5,item:Mithril 6,item:Dagger 7,item:Gladius 8,item:Ulfsang 9,item:Dragon 10,item:Serpent 11,item:Woodman 12,item:Flame 13,item:Frosty 14,item:Cursed 15,item:Antler 16,item:Hammer 17,item:Hamster 18,item:Adamant 19,item:Thunder 20,item:Thrymm 21,item:Spear 22,item:Valkyre 23,item:Dragon 2 24,item:Zeus 25,item:Gunge 26,item:Wooden 27,item:Priest 28,item:Mithril 2 29,item:Mage 30,item:Cleric 31,item:Winter 32,item:Diamond 33,item:Warlock 34,item:Lunar 35,item:Levatin 36,item:Wooden 2 37,item:Rapier 38,item:Scimtar 39,item:Flame 2 40,item:Jtun 41,item:IBrand 42,item:Gram 43,item:Katana 44,item:Blood 45,item:Holy 46,item:Ragnrk 47,item:Dawn 48,item:Defend 49,item:Zetsabr 50,item:Leather 51,item:Wooden 3 52,item:Hood 53,item:Red Cap 54,item:Mithril 3 55,item:Surtr 56,item:Wizard 57,item:UlfHood 58,item:Knight 59,item:Thrymm 2 60,item:Ribbon 61,item:Asatru 62,item:Crystal 63,item:Leather 2 64,item:RJacket 65,item:Rogue 66,item:Wooden 4 67,item:Mithril 4 68,item:Surtr 2 69,item:Knight 2 70,item:Paladin 71,item:Cloth 72,item:Chain 73,item:Silk 74,item:Gypsy 75,item:Crystal 2 76,item:Power 77,item:FurCoat 78,item:Iron 79,item:Gold 80,item:Proring 81,item:Crystal 3 82,item:Wooden 5 83,item:Mithril 5 84,item:Viking 85,item:Crystal 4 86,item:Mantle 87,item:Cloak 88,item:FurCape 89,item:Alfar 90,item:Circlet 91,item:Chain 2 92,item:Thor 93,item:Tyr 94,item:Frigga 95,item:Heimdal 96,item:Freya 97,item:Odin 98,item:Lute 99,item:Eitr 100,item:Glass 101,item:Heart 102,item:Hati 103,item:Ultra 104,item:Berserk 105,item:Skald 106,item:Brigand 107,item:Valkyre 2 108,item:Warrior 109,item:Cleric 2 110,item:Summon 111,item:Ranger 112,item:DMatter 113,item:Panacea 114,item:VICTORY 115,item:Idun 116,item:Seidr 117,item:Dash 118,item:Paradox 119,item:Bravery 120,item:Gungnir 121,item:Star 122,item:Power 2 123,item:Dexter 124,item:Magic 125,item:Evade 126,item:Magic 2 127,item:Idun 2 128,item:Red Sun 129,item:Loki 130,item:Restbag 131,item:Vigor 132,item:Claws 133,item:NoDachi 134,item:TyrFang 135,item:Masmune 136,item:Rune 137,item:Durandl 138,item:ClmSols 139,item:Sickle 140,item:Dark 141,item:Hel 142,item:Reaper 143,item:Gambant 144,item:Jade 145,item:IceRock 146,item:Cider 147,item:Forseti 148,item:Sumar 149,item:Flame 3 150,item:Frost 151,item:Thunder 2 152,item:Aegis 153,item:Mask 154,item:Love 155,item:Wizard 2 156,item:Sorcery 157,item:Andvari 158,item:Eidhrim 159,item:Mush 160,item:Bone 161,item:Fur 162,item:Scale 163,item:Powder 164,item:Iron 2 165,item:Brising 166,item:Wood 167,item:Silver 168,item:Gold 2 169,item:Ruby 170,item:Saphire 171,item:Topaz 172,item:Diamond 2 173,item:Adamant 2 174,item:Ruby 2 175,item:Saphire 2 176,item:Topaz 2 177,item:Diamond 3 178,item:Adamant 3 179,item:Crystal 5 180,item:Ninja 181,item:Runic 182,item:Elven 183,item:3Cut 184,item:Slashal 185,item:Weak 186,item:Unvenom 187,item:JtunD 188,item:Manslay 189,item:MechBa 190,item:WereB 191,item:Bandage 192,item:Lapis 193,item:Nibel 194,item:Svalinn 195,item:Njord 196,item:Manslay 2 197,item:Knife 198,item:Sword 199,item:Staff 200,item:Wand 201,item:Axe 202,item:Maul 203,item:Epee 204,item:Lance 205,item:Hat 206,item:Helm 207,item:Robe 208,item:Vest 209,item:Mail 210,item:Buckler 211,item:Cape 212,item:Ring 213,item:Jade 2 214,item:FurVest 215,item:Spoon 216,item:Mjlnir 217,item:Emerald 218,item:Emerald 2 219,item:Crush 220,item:Siphon 221,item:Drain 222,item:Maim 223,item:Photo 224,item:Disolve 225,item:Explode 226,item:Barrier 227,item:Troika 228,item:Caduces 229,item:Mace 230,item:Ice Age 231,item:Conjure 232,item:Beret 233,item:Coronet 234,item:Seidr 2 235,item:BlkHood 236,item:Paladin 2 237,item:Elven 2 238,item:Viking 2 239,item:Dragon 3 240,item:Valkyre 3 241,item:Mask 2 242,item:BlkBelt 243,item:Elven 3 244,item:Black 245,item:Dragon 4 246,item:Thrymm 3 247,item:Neglige 248,item:White 249,item:Black 2 250,item:Lumina 251,item:Sol 252,item:Zephyr 253,item:Hero 254,item:Viking 3 255,item:WTanga 256,item:MRage 257,item:DRage 258,item:Rush 259,item:Mesmer 260,item:Beam 261,item:Silence 262,item:RagROCK 263,item:Slumber 264,item:Hinder 265,item:Sunder 266,item:Thunder 3 267,item:Sublime 268,item:Nurse 269,item:Life 270,item:Antidot 271,item:Care 272,item:Awake 273,item:SunSton 274,item:Floater 275,item:Crystal 6 276,item:Venomer 277,item:GFire 278,item:PHaze 279,item:IceWave 280,item:Nova 281,item:Freyr 282,item:Norn 283,item:Hel 2 284,item:Saint 285,item:Runic 2 286,item:Blade 0,stat:HP 1,stat:MP 2,stat:Attack 3,stat:Accuracy 4,stat:Defense 5,stat:Evasion 6,stat:Magic 7,stat:Wisdom 8,stat:Speed 9,stat:Vigor 10,stat:Soul 11,stat:Attacks 0,element:Fire 1,element:Ice 2,element:Lightning 3,element:Death 4,element:Poison 5,element:PROVOKE 6,element:Earth 7,element:Holy 8,element:Giantkiller 9,element:Humanoidkil 10,element:Undeadkille 11,element:Dragonkille 12,element:Golemkiller 13,element:Beastkiller 14,element:Herokiller 15,element:PlantKiller 16,element:Water 17,element:Wind 18,element:Stun 19,element:Darkness 20,element:Slow 21,element:Silence 22,element:Break 23,element:Element24 24,element:Element25 25,element:Element26 26,element:Element27 27,element:Element28 28,element:Element29 29,element:Element30 30,element:Element31 31,element:Element32 1,slot:Weapon 1,slot:Weapon 2 2,slot:Head 3,slot:Body 4,slot:Hand 5,slot:Extra 0,map:Mannheim 1,map:Valhalla 2,map:OHR DEPOT 3,map:Mannheim Interiors 4,map:Ironwood Forest 5,map:Ironwood Forest Restored 6,map:Muspel Desert 7,map:Surtr's Temple 8,map:Niflheim Glacier 9,map:Helheim's True Gate 10,map:Caves 11,map:Ice cavern 12,map:Ice cavern Melt 13,map:Helheim 14,map:R'lyeh 15,map:Mt Jtun 16,map:R'lyeh Castle 17,map:Thule Interiors 18,map:Gate of Nastrond 19,map:Ruins of Mannheim 20,map:Gate of Nastrond 2 21,map:Shore of the Midgarsorm 22,map:Tower of Glass Exterior 23,map:Helheim Interiors 24,map:Lyngvi Island 25,map:The Tower of Glass 26,map:Ginnungagap 27,map:Valhalla Renewed 28,map:Opening Scene 29,map:Credits 30,map:Thule 31,map:Ulfherjar Home 32,map:Surtr's Temple Caves 33,map:Nidavellir Field 34,map:Svartalfheim 35,map:Box Challenge 36,map:Party at the Inn 37,map:Funkatron 38,map:Alfheim 39,map:Alfheim Interiors 40,map:Hamstervania 41,map:Chasing the Guinea Pig 42,map:Inside the Tent 43,map:Gnipahellir Cave 44,map:Angled Space 45,map:Bifrost Tesseract 46,map:Lake Aegir 47,map:The Blue Marble 48,map:Arfenhouse 49,map:Vlad's Throne 50,map:Everwinter 51,map:Jade Fields 52,map:Mannheim Outskirts 53,map:The Jerkstore 54,map:Vanaheim 55,map:Vanaheim Interiors 56,map:Ironwood Forest Ragnarok 57,map:Sea of Njord 58,map:Niflheim Glacier Ragnarok 59,map:A Heart to Heart 60,map:Surt's Temple Sanctum 61,map:Niflheim Glacier Melt 62,map:Creation of Night 63,map:Nidavellir Field Ragnarok 64,map:Yggdrasil's Decay 65,map:Muspel Desert Ragnarok 66,map:Alfheim Ragnarok 1,atk:Attack 2,atk:Recover 3,atk:Mana 4,atk:Lifepotion 5,atk:Sword 6,atk:Lance 7,atk:Maul 8,atk:Scratch 9,atk:Cover 10,atk:Coverhurt 11,atk:Eagle Eye 12,atk:Jump 13,atk:Land 14,atk:Buildup 15,atk:Refresh 16,atk:Blessing 17,atk:Steal 18,atk:Focus 19,atk:Care 20,atk:Care 2 21,atk:Care 3 22,atk:Life 23,atk:Raise 24,atk:Force 25,atk:Force 2 26,atk:Secure 27,atk:Nurse 28,atk:Nurse 2 29,atk:Sublime 30,atk:Antidote 31,atk:Lingue 32,atk:Ease 33,atk:edef 34,atk:eslow 35,atk:epoison 36,atk:emute 37,atk:eblind 38,atk:Smite 39,atk:Ember 40,atk:Shocker 41,atk:Chiller 42,atk:Slumber 43,atk:Venomer 44,atk:Hinder 45,atk:Sunder 46,atk:Thunder 47,atk:Winter 48,atk:Silencer 49,atk:Drainer 50,atk:Hater 51,atk:Reaper 52,atk:Flare 53,atk:Meteor 54,atk:Dark Rage 55,atk:Sacrifice 56,atk:sac2 57,atk:Mana Rage 58,atk:mana2 59,atk:Pillage 60,atk:Slash All 61,atk:HP Strike 62,atk:Weaksmash 63,atk:Spinslash 64,atk:Owl Eye 65,atk:GiantDoom 66,atk:ManSlayer 67,atk:Mechbane 68,atk:Were Bust 69,atk:Drakedoom 70,atk:Valiant 71,atk:valdie 72,atk:Flood 73,atk:Life Mist 74,atk:Ice Age 75,atk:Inspire 76,atk:Silence 77,atk:RagnaROCK 78,atk:Pilfer 79,atk:Backstab 80,atk:Flee 81,atk:Red Shift 82,atk:Mesmerize 83,atk:Flux Time 84,atk:GreenFire 85,atk:too cold 87,atk:Tattack 88,atk:Triangleup 89,atk:PurplHaze 90,atk:Ice Wave 91,atk:Meteo1 92,atk:Meteo2 93,atk:Meteo3 94,atk:Meteo4 95,atk:yogrid1 96,atk:yogrid2 97,atk:yogrid3 98,atk:yogrid4 99,atk:yogrid5 100,atk:yogrid6 101,atk:yogrid7 102,atk:Bandage 103,atk:Unvenom 104,atk:Rockslide 105,atk:Attack 2 106,atk:Attack 3 107,atk:Defender 108,atk:Defender 2 109,atk:Kyledefstr 110,atk:kyledefup 111,atk:Firesmash 112,atk:Boltslash 113,atk:Icebrand 114,atk:Panacea 115,atk:pana2 116,atk:Beam 117,atk:SuperNova 118,atk:Ultima2 119,atk:Azascratch 120,atk:azascrat2 121,atk:Attack 4 122,atk:Attack 5 123,atk:yogrid8 124,atk:Shield 125,atk:Iron Will 126,atk:ironwill2 127,atk:Rally 128,atk:Idun Poem 129,atk:Defender 3 130,atk:Attack 6 131,atk:Attack 7 132,atk:Dart 133,atk:Kunai 134,atk:Shuriken 135,atk:Flame 136,atk:Raijin 137,atk:Tsunami 138,atk:Smoke 139,atk:Assassin 140,atk:Sunrise 141,atk:Provoke 142,atk:WildSheep 143,atk:Surlaw 144,atk:Bob 145,atk:sheeprush1 146,atk:Sheeprush2 147,atk:Vigorup 148,atk:SHADOWS 149,atk:Hasten 150,atk:Time Stop 151,atk:Nurse 3 152,atk:Awake 153,atk:Believe 154,atk:believe2 155,atk:believe3 156,atk:believe4 157,atk:believe5 158,atk:believe6 159,atk:Care 4 160,atk:AllRaise 161,atk:Miracle 162,atk:Charge 163,atk:Rush 164,atk:Rush2 165,atk:Mugen2 166,atk:infinity2 167,atk:Giga Fist 168,atk:Crush 169,atk:Siphon 170,atk:Siphon2 171,atk:Lifedrain 172,atk:Drain2 173,atk:Maim 174,atk:Photoheal 175,atk:Dissolve 176,atk:Explode 177,atk:Explode2 178,atk:Explode3 179,atk:ExplodeLas 180,atk:Barrier 181,atk:Helspeek 182,atk:helspe2 183,atk:Helspe3 184,atk:Helspe4 185,atk:Helspe5 186,atk:Helspe6 187,atk:Helspe7 188,atk:Hel attack 189,atk:helSummon 190,atk:AttackLead 191,atk:Assist me 192,atk:enemyloss1 193,atk:assistflee 194,atk:assistheal 195,atk:Cider 196,atk:MISSILES 197,atk:Penance1 198,atk:Penance2 199,atk:LearnPhoto 200,atk:LearnSipho 201,atk:LearnDrain 202,atk:learnCrush 203,atk:LearnMaim 204,atk:learnDisso 205,atk:LearnGreen 206,atk:LearnPurp 207,atk:Learnicewa 208,atk:LearnExplo 209,atk:LearnBarri 210,atk:LearnSuper 211,atk:Njord 212,atk:Jtun 213,atk:Manslayer 2 214,atk:HP LEFT 215,atk:5 216,atk:4 217,atk:3 218,atk:2 219,atk:1 220,atk:Megaflare 221,atk:Megaflprep 222,atk:Wait 223,atk:Thanks 224,atk:Thanks2 225,atk:Terrible 226,atk:ThankVeliu 227,atk:Myshinies 228,atk:Stop that 229,atk:Geez jerks 230,atk:Laterz 231,atk:Hmmm 232,atk:Detect 233,atk:merstu? 234,atk:Isthatreal 235,atk:EnNurse 236,atk:Fighton 237,atk:1minute de 238,atk:Siva1 239,atk:Siva2 240,atk:Siva3 241,atk:Jump1 242,atk:Land1 243,atk:Jump2 244,atk:Land2 245,atk:jump3 246,atk:Spearstorm 247,atk:Land3 248,atk:Sivaend 249,atk:bandages? 250,atk:Alex1 251,atk:Alex2 252,atk:Alex3 253,atk:Alex4 254,atk:Alex5 255,atk:Alex6 256,atk:Alex7 257,atk:Alex8 258,atk:Alex9 259,atk:Alexfinal 260,atk:Cora1 261,atk:Cora2 262,atk:Cora3 263,atk:Cora4 264,atk:Cora5 265,atk:cora6 266,atk:Cora7 267,atk:Cora8 268,atk:Cora9 269,atk:Cora10 270,atk:Cora11 271,atk:Cora12 272,atk:Cora13 273,atk:Cora14 274,atk:Cora15 275,atk:Cora16 276,atk:Cora17 277,atk:Velly1 278,atk:Velly2 279,atk:Velly3 280,atk:Velly4 281,atk:Velly5 282,atk:Velly6 283,atk:Velly7 284,atk:Strup 285,atk:Accup 286,atk:evaup 287,atk:Magup 288,atk:Merge 289,atk:Muaha 290,atk:Jarate 291,atk:Excalipoor 292,atk:JadeSlash 293,atk:Trianglesw 294,atk:carrot att 295,atk:Whalebard 296,atk:Inara1 297,atk:Inara2 298,atk:Inara3 299,atk:InaraAttac 300,atk:Inarakick 301,atk:Inaraheal 302,atk:inaraamaze 303,atk:holy fist 304,atk:Timetoendd 305,atk:Lifemist2 306,atk:DrMu1 307,atk:DrMu2 308,atk:DrMu3 309,atk:DrMu4 310,atk:dr1 311,atk:dr2 312,atk:dr3 313,atk:dr4 314,atk:dr5 315,atk:dr6 316,atk:Dagger 317,atk:Gladius 318,atk:Ulfsang 319,atk:Dragon 320,atk:Serpent 321,atk:serpPoison 322,atk:Woodman 323,atk:Flame 2 324,atk:Frosty 325,atk:Cursed 326,atk:CurseAttak 327,atk:Antler 328,atk:Forseti 329,atk:HolyEnd 330,atk:Hammer 331,atk:Hamster 332,atk:Adamant 333,atk:Thunder 2 334,atk:Thrymm 335,atk:Spear 336,atk:Valkyre 337,atk:Dragon 2 338,atk:Zeus 339,atk:Gungnir 340,atk:Wooden 341,atk:Priest 342,atk:Mithril 343,atk:Mage 344,atk:Cleric 345,atk:Clericheal 346,atk:Winter 2 347,atk:Diamond 348,atk:Warlock 349,atk:Lunar 350,atk:CometChain 351,atk:Laevetain 352,atk:LaeveteinF 353,atk:Wooden 2 354,atk:Rapier 355,atk:Scimitar 356,atk:Flame 3 357,atk:Jtun 2 358,atk:Icebrand 2 359,atk:Gram 360,atk:Katana 361,atk:Blood 362,atk:Holy 363,atk:Ragnark 364,atk:Defup 365,atk:Dawn 366,atk:Troll 367,atk:FlameGiant 368,atk:FrostGiant 369,atk:Privateer 370,atk:Vagabond 371,atk:Mage 2 372,atk:Trianglefi 373,atk:Hoarfrost 374,atk:Tindalos 375,atk:Hel 376,atk:Hel2 377,atk:Hel3 378,atk:Hel4 379,atk:HelCounter 380,atk:zombie 381,atk:wight 382,atk:shade 383,atk:drgnknight 384,atk:shdwreap 385,atk:thopter 386,atk:Gullinburs 387,atk:Skidbladni 388,atk:Naglfar 389,atk:airship210 390,atk:airship211 391,atk:drake 392,atk:reddragon 393,atk:snowdragon 394,atk:jabberwock 395,atk:Midgardso1 396,atk:Midgardso2 397,atk:Garm1 398,atk:Garm2 399,atk:Garm3 400,atk:Skoll1 401,atk:Skoll2 402,atk:skoll1b 403,atk:Silenced 404,atk:Hati1 405,atk:Hati2 406,atk:Hati2b 407,atk:Sleeped 408,atk:Manag1 409,atk:Manag2 410,atk:Manag3 411,atk:Manag4 412,atk:Fenrir1 413,atk:Fenrir2 414,atk:Fenrir2b 415,atk:Fenrir2c 416,atk:Fenrir2d 417,atk:Fenrir3 418,atk:Warlock 2 419,atk:Brigand 420,atk:Devout 421,atk:Dragoon 422,atk:Barbarian 423,atk:Dark Strik 424,atk:Mushroom 425,atk:Ogre 426,atk:Kirpa 427,atk:Ettin 428,atk:sonja1 429,atk:Sonja2 430,atk:hamster1 431,atk:hamster2 432,atk:hamster3 433,atk:hamster4 434,atk:Tulzcha1 435,atk:Tulzcha2 436,atk:Tulzcha3 437,atk:Tulzcha4 438,atk:Shub1 439,atk:Shub2 440,atk:Shub3 441,atk:shub4 442,atk:Dagon1 443,atk:Dagon2 444,atk:Dagon3 445,atk:Dagonstun 446,atk:dagon4 447,atk:Vrykrull 448,atk:Vederfolni 449,atk:Dogero1 450,atk:Dogero2 451,atk:dogero3 452,atk:Dogero4 453,atk:dogero4b 454,atk:dogero4c 455,atk:mila1 456,atk:mila2 457,atk:mila3 458,atk:mila4 459,atk:johan1 460,atk:johan2 461,atk:johan3 462,atk:johan4 463,atk:pyrus1 464,atk:pyrus2 465,atk:pyrus3 466,atk:pyrus4 467,atk:Patroler 468,atk:Enforcer 469,atk:Sapient 470,atk:sapient2 471,atk:Kyle1 472,atk:Kyle2 473,atk:Kyle3 474,atk:Kyle4 475,atk:surlawheal 476,atk:Walrustusk 477,atk:bob1 478,atk:bob2 479,atk:bob3 480,atk:Josh1 481,atk:Josh2 482,atk:Redmav1 483,atk:Redmav2 484,atk:Rell1 485,atk:Rell2 486,atk:Rell3 487,atk:chainsaw 488,atk:Sheep 489,atk:Grinlow 490,atk:Charbile 491,atk:Berserker 492,atk:Plip 493,atk:OdinGungnr 494,atk:ThorWind 495,atk:Lokasenna 496,atk:LEMUNAYD 497,atk:GIMEYRMUNY 498,atk:Jint 499,atk:Jellysolve 500,atk:Bloodless 501,atk:OMNOMNOM 502,atk:TrianglD1 503,atk:TriangleD2 504,atk:TriangleD3 505,atk:TriangDCou 506,atk:TriangleUL 507,atk:TriIceres 508,atk:TriLiHeal 509,atk:TriLiAttac 510,atk:TriICE 511,atk:TriBOLT 512,atk:TriWIND 513,atk:TriFIRE 514,atk:BURNYRSELV 515,atk:LYTNING 516,atk:Sesawgunsw 517,atk:IronSlice 518,atk:TripleCut 519,atk:Triple2 520,atk:Triple3 521,atk:TetraCut 522,atk:Tetcut2 523,atk:OctaSlash 524,atk:Oct1 525,atk:Oct2 526,atk:Oct3 527,atk:Oct4 528,atk:Oct5 529,atk:Oct6 530,atk:Oct7 531,atk:Oct8 532,atk:Requiem 533,atk:Hastesong 534,atk:CureLight 535,atk:Dischord 536,atk:Chlorkill 537,atk:Alfarshot 538,atk:Elf Shot 2 539,atk:Windstorm 540,atk:CTHULHU 541,atk:Zero p 1 542,atk:Zero p 2 543,atk:Jadestorm 544,atk:Gahn Two 545,atk:Frum heal 546,atk:Gunge 547,atk:Zetsaber 548,atk:Paradox 549,atk:Bravery 550,atk:NoDachi 551,atk:Tyr'sFang 552,atk:Masamune 553,atk:Rune 554,atk:Durandal 555,atk:ClamhSols 556,atk:Sickle 557,atk:Dark 558,atk:Hel 5 559,atk:Reaper 2 560,atk:Gambatein 561,atk:True Jade 562,atk:Sumar 563,atk:Love 564,atk:Manslayer 3 565,atk:Jade 566,atk:Spoon 567,atk:Mjlnir 568,atk:Troika 569,atk:Caduceus 570,atk:Mace 571,atk:defboost 572,atk:Defattack 573,atk:defdeflate 574,atk:Push me 575,atk:Whoopsy 576,atk:DarkWave1 577,atk:rand poiso 578,atk:rand mute 579,atk:rand stun 580,atk:DarkWave2 581,atk:rand pois2 582,atk:rand mute2 583,atk:rand stun2 584,atk:CthulhuX1 585,atk:CthulhuX2 586,atk:CthulhuX3 587,atk:CthulhuX4 588,atk:CthulhuX5 589,atk:Windscar 590,atk:CthulhuX6 591,atk:Earthbrea 592,atk:Water Cut 593,atk:Doomblade 595,atk:Niflheim 596,atk:Muspelhei 597,atk:Jotunheim 598,atk:Svartalfh 599,atk:Midgard 600,atk:Alfheim 601,atk:Helheim 602,atk:Asgard 603,atk:CthulhuX7 604,atk:CthulhuX8 605,atk:CthulhuX9 606,atk:CthulhuX10 607,atk:CthulhuX11 608,atk:CthulhuX12 609,atk:CthulhuX13 610,atk:CthulhuX14 611,atk:CthulhuX15 612,atk:CthulhuX16 613,atk:CthulhuX17 614,atk:CthulhuX18 615,atk:CthulhuX19 616,atk:CthulhuX20 617,atk:CthulhuX21 618,atk:CthulhuX22 619,atk:CthulhuX23 620,atk:CthulhuX24 621,atk:CthulhuX25 622,atk:ERASE 623,atk:DEATH 624,atk:HildJump 625,atk:PowerupHil 626,atk:LandHild 627,atk:Jumphild2 628,atk:Powerdown 629,atk:Exploder 630,atk:Blaster 631,atk:Freezer 632,atk:Tetcut3 633,atk:Tetcut4 634,atk:Knife 635,atk:ZA WARUDO 636,atk:TOTHEVOID 637,atk:KyleFinal 638,atk:KyleFinal2 639,atk:KyleFinal3 640,atk:KyleFinal4 641,atk:KyleFinal5 642,atk:ERASEkyle 643,atk:edef 2 644,atk:eslow 2 645,atk:epoison 2 646,atk:emute 2 647,atk:eblind 2 648,atk:Star 649,atk:Magic 650,atk:Red Sun 651,atk:Pilfer20 652,atk:Pilfer30 653,atk:Pilfer40 654,atk:Pilfer50 655,atk:Pilfer60 656,atk:Pilfer70 657,atk:Pilfer80 658,atk:Pilfer90 659,atk:Pilfer100 660,atk:Poison 661,atk:Knockout 662,atk:Mug 663,atk:DrgnFear 664,atk:AntiMagic 665,atk:CRITphys 666,atk:CRITfire 667,atk:CRITIce 668,atk:CRITBolt 669,atk:CRITWind 670,atk:CRITWater 671,atk:CRITEarth 672,atk:CRITDark 673,atk:CRITHoly 674,atk:Blade 675,atk:Knife 2 676,atk:Axe 677,atk:Wand 678,atk:Staff 679,atk:Epee 680,atk:FrekiJoin1 681,atk:FrekiJoin2 682,atk:FrekiAttac 683,atk:FrekiAtta2 684,atk:TriangCTR 1,shop:Mannheim Weapon 2,shop:Mannheim Tools 3,shop:Mannheim Armor 4,shop:Guild 5,shop:Caravan Goods 6,shop:Thule Weapons 7,shop:Niflheim Armor 8,shop:R'lyeh Arms 9,shop:Sell 10,shop:Thule Inn 11,shop:Mannheim Inn 12,shop:Panopticon Inn 13,shop:Crystal Abyss 14,shop:Helheim Arms 15,shop:Alfheim Inn 16,shop:Alfheim Weapons 17,shop:Alfheim Armor 18,shop:Alfheim Tools 19,shop:Free Inn 20,shop:Azerith's Cider 21,shop:Skirmish Tools 22,shop:Totem Shop 23,shop:Herbalist 24,shop:Nidavellir Shop 25,shop:Before Combat 26,shop:Augment Potions 27,shop:The Jerkstore 28,shop:Vanaheim Tools 29,shop:Vanaheim Weapon 30,shop:Crone's things 31,shop:Frigga's Jewels 32,shop:Ingrediants 33,shop:Cleric's Staves 34,shop:Vanaheim Armor 35,shop:OHR Depot 36,shop:Ivaldi's Anvil 37,shop:Ivaldi Armor 38,shop:Ivaldi Cloth 39,shop:OHR Depot Magic 40,shop:OHR Depot Items 41,shop:Thule Tools 42,shop:Helheim Inn 43,shop:Dwarf Inn 44,shop:Vanaheim Inn 45,shop:Thule Armor 46,shop:Thule's Armor 47,shop:Thule Weapons 2 1,menu:UTGARD ARENA 2,menu:Boundless Ocean 3,menu:Griefer's Spells 4,menu:Hero information 5,menu:Data 6,menu:Important Persons 7,menu:Information 8,menu:Places 1,enemy:Legion 2,enemy:Troll 3,enemy:Fire Jotun 4,enemy:Frost Jotun 5,enemy:Privateer 6,enemy:Svartalfar 7,enemy:Runecaster 8,enemy:Triangle Fighter 9,enemy:Winter Hag 10,enemy:Tindalos 11,enemy:Hel 12,enemy:Draugr 13,enemy:Wight 14,enemy:Revenant 15,enemy:Dread Valkyrie 16,enemy:Shadow Reaper 17,enemy:Thopter 18,enemy:Gullinbursti 19,enemy:Skidbladnir 20,enemy:Naglfar 21,enemy:NEOSkidbladnir 22,enemy:Wyvern 23,enemy:Magma Linnorm 24,enemy:Tundra Linnorm 25,enemy:Midgardsorm 26,enemy:Nihggr Spawn 27,enemy:Garmr 28,enemy:Skll Sunchaser 29,enemy:Hati Mooneater 30,enemy:Managarm 31,enemy:Fenrisulf 32,enemy:Knives 33,enemy:Midgar2 34,enemy:Nagl1 35,enemy:Nagl2 36,enemy:Airsh1 37,enemy:Airsh2 38,enemy:Freki1 39,enemy:Freki2 40,enemy:Warlock 41,enemy:Dunkman Xtreme 42,enemy:Devout 43,enemy:Dragoon 44,enemy:Barbarian 45,enemy:Death Warden 46,enemy:Mushroomer 47,enemy:Ogre 48,enemy:Rattatoskr 49,enemy:Jotun Summoner 50,enemy:Chaos Disciple 51,enemy:Fighting Machine 52,enemy:Shu1 53,enemy:Shu2 54,enemy:ShubNiggurath 55,enemy:Tulzcha 56,enemy:cold 57,enemy:Cthulhu 58,enemy:Dagtail 59,enemy:Dagon 60,enemy:Dagon 2 61,enemy:Azathoth 66,enemy:Sericyon 71,enemy:Vrykrull 72,enemy:Verflnir 73,enemy:YogSothoth 74,enemy:YogSothoth 2 75,enemy:YogSothoth 3 76,enemy:YogSothoth 4 77,enemy:YogSothoth 5 78,enemy:YogSothoth 6 79,enemy:YogSothoth 7 80,enemy:Daguerro 81,enemy:Mi'Ra 82,enemy:Johawn 83,enemy:Pylus 84,enemy:Yoghint 85,enemy:Patroller 86,enemy:Enforcer 87,enemy:Sapient 88,enemy:Feed Me 89,enemy:Defender 90,enemy:Flametongue 91,enemy:Icebrand 92,enemy:Thundersaber 93,enemy:Kyle 94,enemy:Kyle 2 95,enemy:KyleAI 96,enemy:Azahelp 97,enemy:High Minion 98,enemy:Walthrosian Fish 99,enemy:Super Walrus 100,enemy:Chewie 101,enemy:Bob the Hamster 102,enemy:Josh of the Dead 103,enemy:Irregular Red 104,enemy:Rell 105,enemy:Chainsaw Jack 106,enemy:You Pushed It 107,enemy:Left Paw 108,enemy:Right Paw 109,enemy:Joseph 110,enemy:Slither 111,enemy:Button 112,enemy:Neke 113,enemy:Gahn 114,enemy:Seraph 115,enemy:Wild Sheep 116,enemy:Grinlow 117,enemy:Jade 118,enemy:Grin1 119,enemy:Grin2 120,enemy:Charbile 121,enemy:Berserker 122,enemy:Plip 123,enemy:Odin Allfather 124,enemy:Thor Odinson 125,enemy:Loki Laufreyson 126,enemy:Master H 127,enemy:Jotun of Mahbt 128,enemy:jint1 129,enemy:jint2 131,enemy:Jotun Ooze 132,enemy:Bloodless 133,enemy:Langolier 134,enemy:Invisible Man 135,enemy:Grotesque 136,enemy:Josh the ReDead 137,enemy:Skeleton 138,enemy:Cora 139,enemy:Hellhound 140,enemy:Cinder Fiend 141,enemy:Thellos 142,enemy:Zidane 143,enemy:Vellan 144,enemy:Cthulhu 2 145,enemy:Reaper 146,enemy:Frankenstein 147,enemy:Mummy 148,enemy:Warg 149,enemy:Werewolf 150,enemy:Succubus 151,enemy:Monterey Penguin 152,enemy:Unspeakable Durr 153,enemy:Flying Polyp 154,enemy:Triangle Man 155,enemy:Cultist 156,enemy:Utgard Cat 157,enemy:Vlad the Hamster 158,enemy:Count Orlock 159,enemy:Death Goddess 160,enemy:Death goddess su 161,enemy:Yuk 162,enemy:Gelatin 163,enemy:Tabasco Slime 164,enemy:Frozen Yogurt 165,enemy:Red Hood 166,enemy:Mad Cacti 167,enemy:Alfar 168,enemy:Wolfling 169,enemy:Mushman 170,enemy:Sirius 171,enemy:Berserker 2 172,enemy:Missionary 173,enemy:Cleric 174,enemy:Priest 175,enemy:Bishop 176,enemy:Priestess 177,enemy:Rachel 178,enemy:Prophet 179,enemy:Photoheal 180,enemy:Siphon 181,enemy:Lifedrain 182,enemy:Crush 183,enemy:Maim 184,enemy:Dissolve 185,enemy:Greenfire 186,enemy:Purplehaze 187,enemy:Ice Wave 188,enemy:Explode 189,enemy:Barrier 190,enemy:Supernova 191,enemy:Marilith 192,enemy:No Eat 193,enemy:SnowQueen Shayna 194,enemy:Gibbering 195,enemy:Corpse Eater 196,enemy:Push Me 197,enemy:Miniature Kraken 198,enemy:Lake Troll 199,enemy:Grue 200,enemy:Beelzebub 201,enemy:Deactivated 202,enemy:Square Boy 203,enemy:Rectangle Girl 204,enemy:Circle Woman 205,enemy:Grandpa Diamond 206,enemy:Shape Stealer 207,enemy:Elements Animus 208,enemy:Elements Animus 2 209,enemy:Elements Animus 3 210,enemy:Elements Animus 4 211,enemy:Hati 212,enemy:Gnoll 213,enemy:Mad Bomber 214,enemy:Rifleman 215,enemy:Jotun Tyrant 216,enemy:Iron Eagle 217,enemy:Iron Chariot 218,enemy:Comrade Bomb 219,enemy:Narvi 220,enemy:Sasha 221,enemy:Velius 222,enemy:Delvire 223,enemy:Siva 224,enemy:Alex 225,enemy:Master Disaster 226,enemy:Blackwyvern 227,enemy:Gold Pile 228,enemy:Time Death 229,enemy:Legi 233,enemy:Dr Mtsognir 234,enemy:Shape Stealer 2 235,enemy:Squiggler 236,enemy:Aimee 237,enemy:Woogy 238,enemy:Master Disaster 2 239,enemy:Bjilli 240,enemy:Anon 241,enemy:Gitleh 242,enemy:Fedora 243,enemy:Shoda 244,enemy:Nix 245,enemy:Horace 246,enemy:Microsaurus 247,enemy:Supersaurus 248,enemy:Gigantosaurus 249,enemy:Tatzlwyrm 250,enemy:Huldra 251,enemy:Spirit Wolf 252,enemy:Ayatollah 253,enemy:Guerilla 254,enemy:Son of Sung 255,enemy:Commodant 256,enemy:Delvire 2 257,enemy:Inara 258,enemy:Rock Worm 259,enemy:Surtr 260,enemy:Fafnir 261,enemy:PersistentKiller 262,enemy:Yo Ghost 263,enemy:Captain Texas 264,enemy:Mimic 265,enemy:Slime1 266,enemy:Slime2 267,enemy:Slime Sovereign 268,enemy:Muscleman 269,enemy:Scissors 270,enemy:Shocker 271,enemy:Pyro 272,enemy:Icer 273,enemy:Bomber 274,enemy:Hyrrokkin 275,enemy:Void Orb 276,enemy:Mr Pepper 277,enemy:Vaettir 278,enemy:Suicide Tree 279,enemy:Laerador 280,enemy:Mimameith 281,enemy:Audhumbla 284,enemy:Ettin 285,enemy:Duck 286,enemy:Dracolich 287,enemy:Dread Slime 288,enemy:unrunnable 289,enemy:Unbound Eidolon 290,enemy:Sericyon 2 291,enemy:Dark Triangle 292,enemy:Cosmic Triangle 293,enemy:Master Horror 294,enemy:Ivory 295,enemy:Ivory's Scythe 296,enemy:The Damned 297,enemy:Frost Worm 298,enemy:Enigma Swordsman 299,enemy:Wings 300,enemy:Beasts 301,enemy:Serpent 302,enemy:Fthagn 303,enemy:Dr Mtsognir 2 304,enemy:Cth1 305,enemy:Cth2 306,enemy:God Cthulhu 308,enemy:Windcutter 309,enemy:Earthbreaker 310,enemy:Water Render 311,enemy:DoomBlade 312,enemy:Degenerator 313,enemy:God Cthulhu 2 314,enemy:God Cthulhu 3 315,enemy:God Cthulhu 4 1,sli:Bifrost 1 2,sli:Bifrost 2 3,sli:Bifrost 3 4,sli:Bifrost 4 5,sli:Bifrost 5 6,sli:Bifrost 6 7,sli:Bifrost 7 8,sli:Bifrost 8 9,sli:Bifrost 9 10,sli:Bifrost 10 end VIKING.TXT L# This is the script file for Vikings of Midgard. I've tried to document it as thouroughly as # I can, but that's not always possible! Whenever you see comments like these that start every # line with a (pound key) sign, they indicate that that line will not be read by the # script itself. So we can write whatever we want here! # These used to go at the front of every script file way way WAY back when! # They're dummied out for historical purposes. #include, plotscr.hsd # include, viking.hsi #include, scancode.hsi include, utility.lib include, rmzbifrost.hss include, weather.hss # Just because your scripts compile, doesn't mean that they will work! # It's sort of like running a story through a spell check. # Just because you didn't catch any spelling errors, # Doesn't mean that what you wrote is grammatically correct! # Because I'm an old fart, I use the "old way" of defining scripts # This is mostly because of habit, but also because of the primary rule of coding # Specifically "if it ain't broke, don't f*ck with it!" define script (1,run,none) define script (2,afterbattle,none) define script (3,HPtab,none) define script (4,MPtab,none) define script (5,opening scene,none) define script (6,inn,none) define script (7,inn2,none) define script (8,inn3,none) define script (9,earthfiend,none) define script (10,die in battle,none) define script (11,cthulhu1,none) define script (12,tulzcha,none) define script (13,dagon,none) define script (14,cthulhu,none) define script (15,kyle,none) define script (16,azathoth,none) define script (17,credits,none) define script (18,Bramget,none) define script (19,warriorget,none) define script (20,missionaryget,none) define script (21,shamanget,none) define script (22,rangerget,none) define script (23,westernpit,none) define script (24,easternpit,none) define script (25,southernpit,none) define script (26,firstpit,none) define script (27,valkyrieget,none) define script (28,grinlow,none) define script (29,skaldget,none) define script (30,whalepunch,none) define script (31,whaleland,none) define script (32,berserkerget,none) define script (33,randomboxpuzzle,none) define script (34,randomboxprize,none) define script (35,enteralfheim,none) define script (36,jint,none) define script (37,thule1,none) define script (38,thule2,none) define script (39,alfheim1,none) define script (40,niffbox,none) define script (41,elfshouse1,none) define script (42,alfheim2,none) define script (43,alfheim3,none) define script (44,alfheim4,none) define script (45,jotunheim1,none) define script (46,jotunheim2,none) define script (47,stairsup,none) define script (48,stairsdown,none) define script (49,Gahn,none) define script (50,JO,none) define script (51,orlock,none) define script (52,finalbrising,none) define script (53,BramReturns,none) define script (54,Frumpyback,none) define script (55,Hel,none) define script (56,vulpes,none) define script (57,BramSLOW,none) define script (58,NightSLEEP,none) define script (59,OlafMANA,none) define script (60,KittSLASH,none) define script (61,FrumpForce,none) define script (62,StyrgeWERE,none) define script (63,antidote,none) define script (64,Hildaback,none) define script (65,housemaster,none) define script (66,FrumpyLINGUE,none) define script (67,FrumpyAWAKE,none) define script (68,FrumpyNURSE,none) define script (69,FrumpyLIFE,none) define script (70,FrumpySUBLIME,none) define script (71,Lyngvi,none) define script (72,Freya,none) define script (73,brising,none) define script (74,NIGHTTHUNDER,none) define script (75,Grue,none) define script (76,MontereyPenguin,none) define script (77,Triangletrap,none) define script (78,Garm,none) define script (79,Chainsaw Jack,none) define script (80,Rell,none) define script (81,Crimson,none) define script (82,Josh,none) define script (83,Walrus,none) define script (84,Surlaw,none) define script (85,Deactivated,none) define script (86,triangle1,none) define script (87,triangle2,none) define script (88,fiends1,none) define script (89,fiends2,none) define script (90,Hatifinal,none) define script (91,zidane,none) define script (92,EricSILENCE,none) define script (93,BossIntroduction,none) define script (94,Dogero,none) define script (95,Dracula,none) define script (96,Narvi,none) define script (97,Shayna,none) define script (98,Velius,none) define script (99,Delvire,none) define script (100,Sasha,none) define script (101,Siva,none) define script (102,Alex,none) define script (103,Collies1,none) define script (104,mindscrew,none) define script (105,Ericback,none) define script (106,misteroo,none) define script (107,fourfiends,none) define script (108,firesmash,none) define script (109,icebrand,none) define script (110,boltslash,none) define script (111,utgard,none) define script (112,delvirearena,none) define script (113,arena,none) define script (114,arenaHorace,none) define script (115,arenacomrade,none) define script (116,slimesalad,none) define script (117,lowteir,none) define script (118,midteir,none) define script (119,upperteir,none) define script (120,highteir,none) define script (121,quarterfinals,none) define script (122,semifinals,none) define script (123,tunneler,none) define script (124,crone,none) define script (125,TELEPORT,none) define script (126,tele0,none) define script (127,tele1,none) define script (128,tele2,none) define script (129,tele3,none) define script (130,tele4,none) define script (131,tele5,none) define script (132,tele6,none) define script (133,tele7,none) define script (134,tele8,none) define script (135,tele9,none) define script (136,tele10,none) define script (137,skadi1,none) define script (138,skadi2,none) define script (139,olaf1,none) define script (140,Delvire2,none) define script (141,fafnir,none) define script (142,Manafight,none) define script (143,Cthulhu2,none) define script (144,Collies2,none) define script (145,Eikthymir,none) define script (146,lifemist,none) define script (147,Cthulhu3,none) define script (148,thisisademo,none) define script (149,Delvire3,none) define script (150,DelvireBoat,none) define script (151,Gisli,none) define script (152,hatistory1,none) define script (153,hatistory2,none) define script (154,hatistory3,none) define script (155,hatistory4,none) define script (156,hatistory5,none) define script (157,hatistory6,none) define script (158,arenamu,none) define script (159,hatifight1,none) define script (160,hatifight2,none) define script (161,god,none) define script (162,Rachel2,none) define script (163,skadi3,none) define script (164,narvi2,none) define script (165,cow,none) define script (166,hissu,none) define script (167,slayjotun,none) define script (168,timtim,none) define script (169,delvirefinal,none) define script (170,weakstrike,none) define script (171,manslay,none) define script (172,darkrage,none) define script (173,itsatrap,none) define script (174,seethegate,none) define script (175,intohelheim,none) define script (176,vikitron,none) define script (177,funkout,none) define script (178,scoreboard,none) define script (179,funkatronbest,none) define script (180,funkatrongreat,none) define script (181,funkatrongood,none) define script (182,funkatronokay,none) define script (183,funkatronpoor,none) define script (184,funkatronbad,none) define script (185,funkatronawful,none) define script (186,OmegaWEAPON,none) define script (187,OmegaWEAPONfinal,none) define script (188,Enherdesert,none) define script (189,HildaValia,none) define script (190,Linnorm,none) define script (191,TripCut,none) define script (192,excalibur,none) define script (193,void autorun,none) define script (194,water autorun,none) define script (195,tetracut,none) define script (196,reaper,none) define script (197,silencer,none) define script (198,panopt1,none) define script (199,panopt2,none) define script (200,panopt3,none) define script (201,panopt4,none) define script (202,panopt5,none) define script (203,panopt6,none) define script (204,panopt7,none) define script (205,panopt8,none) define script (206,panopt9,none) define script (207,kylevoid,none) define script (208,defender,none) define script (209,trueboss,none) define script (210,ginga autorun,none) define script (211,gahn1,none) define script (212,gahn2,none) define script (213,gahn3,none) define script (214,jade,none) define script (215,FINALE,none) #That's a lot of scripts! But in truth there are actually MORE hidden in this file # This is technically a script of sorts too, but it defines some very VERY # important variables that may get called up in the future! global variable, begin 1,timer 2,steve 3,tyron 4,boosh 5,score 6,keytimer 7, next camera pixel x 8, next camera pixel y 10,highscore 11,spot0 12,spot1 13,spot2 14,spot3 end global variable(57, song start ms) define constant(1, timer:song) # This next script has to do with whatever happens when the "x" key is held down script,run,begin show no value if,begin key is pressed (key:x),or,key is pressed(joy:button3) # change this to choose your own key. By default, holding "x" when walking will make you run end then,begin if (hero is walking (me)==false) then,begin set hero speed (me,10) # This basically states that if "x" is held down, you'll move a little faster if (checktag(tag:SPRINT)==on) then (set hero speed (me,20)) # This line shows that if the stated tag is on, you'll dash faster. This particular tag is set to the # Brigand's "Is Leader" bitset, so when the brigand is in charge, you'll run quite fast. if (checktag(tag:DASH)==on) then (set hero speed (me,20)) # This line is like the above lines in that if the tag is on, you'll run at a blazing 20 pixels per tick. # That's one tile per tick! end end else,begin # This line states that if the player isn't holding "x", then the hero will only walk normally. if (hero is walking (me)==false) then,begin set hero speed (me,4) end end end # That seemed complicated, but when you break it down, it's not too hard! # This next script has to do with what happens AFTER battles! # Namely, it's checking to see if certain spell related tags are on, # and if they are, it'll teach a particular hero some spells! script,afterbattle,begin # First a variable. It'll come up later on. variable(i) if (checktag(tag:Photoheal1)) then (teach spell ((find hero(hero:Renard)),atk:Photoheal)) if (checktag(tag:Siphon1)) then (teach spell ((find hero(hero:Renard)),atk:Siphon)) if (checktag(tag:Lifedrain1)) then (teach spell ((find hero(hero:Renard)),atk:Lifedrain)) if (checktag(tag:Crush1)) then (teach spell ((find hero(hero:Renard)),atk:Crush)) if (checktag(tag:Maim1)) then (teach spell ((find hero(hero:Renard)),atk:Maim)) if (checktag(tag:Dissolve1)) then (teach spell ((find hero(hero:Renard)),atk:Dissolve)) if (checktag(tag:Greenfire1)) then (teach spell ((find hero(hero:Renard)),atk:Greenfire)) if (checktag(tag:Purplhaze1)) then (teach spell ((find hero(hero:Renard)),atk:Purplhaze)) if (checktag(tag:Icewave1)) then (teach spell ((find hero(hero:Renard)),atk:Icewave)) if (checktag(tag:Explode1)) then (teach spell ((find hero(hero:Renard)),atk:Explode)) if (checktag(tag:Barrier1)) then (teach spell ((find hero(hero:Renard)),atk:Barrier)) if (checktag(tag:Supernova1)) then (teach spell ((find hero(hero:Renard)),atk:Supernova)) # That's quite a few spells, BUT we're not done. # If Renard has learned all his spells, we're going to give him # A VERY special weapon as a reward for tracking them all down! # This next tag check only goes through the others if it's off. if (checktag(tag:FOXSWORD)==off) then ( # And now here's the next tags. We're going to look through them in pairs to save space if ((checktag(tag:Photoheal1)==on) and (checktag(tag:Siphon1)==on)) then ( if ((checktag(tag:Lifedrain1)==on) and (checktag(tag:Crush1)==on)) then ( if ((checktag(tag:Maim1)==on) and (checktag(tag:Dissolve1)==on)) then ( if ((checktag(tag:Greenfire1)==on) and (checktag(tag:Purplhaze1)==on)) then ( if ((checktag(tag:Icewave1)==on) and (checktag(tag:Explode1)==on)) then ( if ((checktag(tag:Barrier1)==on) and (checktag(tag:Supernova1)==on)) then ( # That's a big list of checks isn't it? set tag (tag:FOXSWORD,on) show textbox (3977), wait (7), wait for key (usekey), advance textbox ) ) ) ) ) ) ) # This next line specifically looks for a certain tag, and alters the damage cap # This is mostly for backwards compatability, but also to help playtesters # Who decide to skip to the second half of the game. if (checktag(tag:WORLDOFRUIN)) then ( set damage cap (9999)) # Now we want to check and see if Eric's in the active group. Otherwise this does nothing. if (checktag(tag:SkaldInParty)) then ( # Here we're essentially looking at all hero positions 0,1,2 and 3. for(i,0,3) do,begin # If their current MP is less than or equal to Eric's Vigor.. if (get hero stat(i,stat:MP,current stat) <= (get hero stat (find hero (hero:Eric), stat:Vigor)) ) # Then the script will set their MP to whatever Eric's Vigor is. then (set hero stat(i,stat:MP,(get hero stat (find hero (hero:Eric), stat:Vigor)))) end end # Now we want to check and see if Frumpy's in the active group. Otherwise this does nothing. if (checktag(tag:MissionaryInParty)) then ( # Here we're essentially looking at all hero positions 0,1,2 and 3. for(i,0,3) do,begin # If their current HP is less than or equal to 0.. if (get hero stat(i,stat:HP,current stat) <= 0) # Then the script will set their HP to 1. then (set hero stat(i,stat:HP,1)) end end end script,HPtab,begin # This script is short, and to the point. # It will bring up a pickbox to choose the hero, then add 50 points to that hero's HP! # Just be sure to link it to a textbox, and have an item call that textbox when used in the field. gain hero stat ((pickhero), stat:HP, 50, true) items menu end script,MPtab,begin # This script is short, and to the point. # It will bring up a pickbox to choose the hero, then add 25 points to that hero's MP! # Just be sure to link it to a textbox, and have an item call that textbox when used in the field. Add To Stat ((pickhero),stat:MP,25) items menu end # That's a lot of utility scripts down, time for some actual storyline scripts! script,opening scene,begin # These lines stop all player control, but also stop the music suspend player, suspend box advance, stop song, init weather # These next lines force the first hero, Freki, to have some very powerful starting equipment. # Note that you CAN go into your inventory afterwards and remove her gear to sell or # Equip it on another hero! force equip ((find hero (hero:Freki)),2,57) force equip ((find hero (hero:Freki)),3,214) force equip ((find hero (hero:Freki)),4,88) force equip ((find hero (hero:Freki)),5,255) # Taking off Freki's clothes is not only acceptable, it's optimal for speedrunning. # This next part moves around some NPCs, so that the "POWERED BY OHRRPGCE" thing shows up # Once they've moved into position, it plays a sound effect too! wait (30) walk NPC (1,up,1), walk NPC (2,up,1), walk NPC (3,up,1) walk NPC (4,up,1), walk NPC (5,up,1), walk NPC (6,up,1) walk NPC (7,up,1), walk NPC (8,up,1), walk NPC (9,up,1), walk NPC (10,down,1) walk NPC (11,down,1), walk NPC (12,down,1), walk NPC (13,down,1), walk NPC (14,down,1), walk NPC (15,down,1), walk NPC (16,down,1), walk NPC (17,down,1) wait for NPC (1),play sound (sfx:Menu8Bit,false,true) # A bit after the logo, the music starts up and we pan the camera down by secretly # Moving the hero south 20 tiles. Once there, we show some textboxes. wait (30),play song (song:GodsOfSpite) set hero speed (me,2) ,walk hero (me,down,20),wait for hero (me) show textbox (586), wait (108), advance text box show textbox (587), wait (108), advance text box show textbox (588), wait (108), advance text box show textbox (589), wait (108), advance text box show textbox (590), wait (108), advance textbox # Next up we're going to fade the screen to white. The RGB color values by default are # A little WEIRD, but 63,63,63 translates to a pure white, so it's what we'll use. # After the screen has faded out, we want to wait a bit for the game to catch up # So that we can show the Title Screen for Vikings of Midgard wait (10),fade screen out (63,63,63),wait (5) show textbox (591), wait (5), fade screen in wait (140),fade screen out (63,63,63), wait (5), advance textbox # Then we fade the screen back out to white and wait a bit. # Next we're going to use a door (0) which has been set in the game to take # Us to a particular point in the story. use door (0), wait (2), fade screen in set hero speed (me,4) set hero direction (me,left),wait (5) set hero direction (me,up), wait (5) set hero direction (me,right), wait (5) set hero direction (me,up),wait (5) #The hero looks around a little, to take in their surroundings before walking north. walk hero (me,up,4), wait for hero (me), wait (10) # Though there's no real reason why we can't just walk north 10 tiles, # There's a door in the way which will lead to a scene transition, and the brief pause # Here is to give the player a little time to take everything in. walk hero (me,up,6), wait (10) # This particular ordering of textbox showing will be one of the most prominent lines # In the code, with small alterations to the textbox number or wait time. # The wait time of 7 ticks isn't quite half a second, but is there so that # The player doesn't accidentally hold down the spacebar/enter key and advances # through the text so fast that they miss important information. show textbox (1), wait (7), wait for key (usekey), advance textbox show textbox (2), wait (7), wait for key (usekey), advance textbox show textbox (3), wait (7), wait for key (usekey), advance textbox show textbox (4), wait (7), wait for key (usekey), advance textbox show textbox (5), wait (7), wait for key (usekey), advance textbox # In general, I like to leave a 5 tick wait between the end of a textbox, # When an character on the screen moves, and the start of a new textbox. # It isn't a hard rule, but it does tend to make the action flow a bit # Smoother, and provides a visual cue that someone is talking. There will # Be other ways to show how that works later on, but for now we're relying # On this simple gimmick. wait (5), set NPC direction (44,left), wait (5) show textbox (6), wait (7), wait for key (usekey), advance textbox wait (5), set NPC direction (9,right), wait (5) show textbox (7), wait (7), wait for key (usekey), advance textbox show textbox (8), wait (7), wait for key (usekey), advance textbox wait (5), set NPC direction (9,down), wait (5) show textbox (3654), wait (7), wait for key (usekey), advance textbox show textbox (3655), wait (7), wait for key (usekey), advance textbox wait (5), set NPC direction (46,up), wait (5) show textbox (3656), wait (7), wait for key (usekey), advance textbox wait (5), walk NPC (43,down,1), wait for NPC (43) show textbox (3657), wait (7), wait for key (usekey), advance textbox wait (5), set NPC direction (45,up), set hero direction (me,left) set NPC direction (46,left), wait (5) show textbox (3658), wait (7), wait for key (usekey), advance textbox wait (10), stop song # Now the music stops, and we know something's up. The NPCs on the screen also # Jank around and face different directions to show they're looking for the # Source of the disturbance too. show textbox (3659), wait (7), wait for key (usekey), advance textbox wait (5), set NPC direction (9,down), set hero direction (me,down), set NPC direction (44,down) set NPC direction (46,left), set NPC direction (45,right), walk NPC (43,up,1),set NPC direction (43,down) wait (5), set NPC direction (9,left), set hero direction (me,right), set NPC direction (44,right) set NPC direction (46,down), set NPC direction (45,up) , set NPC direction (43,right) wait (5), set NPC direction (9,down), set hero direction (me,down), set NPC direction (44,down) set NPC direction (46,left), set NPC direction (45,right) , set NPC direction (43,down) wait (5), set NPC direction (9,right), set hero direction (me,left), set NPC direction (44,left) set NPC direction (46,up), set NPC direction (45,down) , set NPC direction (43,left) wait (5), set NPC direction (9,down), set hero direction (me,down), set NPC direction (44,down) set NPC direction (46,left), set NPC direction (45,right) , set NPC direction (43,down) # At this point we need the camera itself to move. Earlier we relied on the hero themself # Acting as the focus point, but right now we're going to move it by itself. # Usually you'll also want to wait for the camera to catch up to where it's supposed to go # Before resuming the action - though there are exceptions! # This isn't one of those times! wait (10), focus camera (33,7,2), wait for camera, wait (5) set hero direction (me,down) # An Explosion! We want to move an NPC into a particular spot, play a sound effect, # And then rotate that NPC through its individual frames to create an animation. set NPC position (48,33,7), play sound (sfx:MediumExplosion8Bit,false,true) set NPC direction (48,up), set NPC frame (48,0), wait (2) set NPC direction (48,up), set NPC frame (48,0), wait (2) set NPC direction (48,right), set NPC frame (48,1), wait (2) set NPC direction (48,right), set NPC frame (48,1), wait (2) set NPC direction (48,down), set NPC frame (48,0), wait (2) set NPC direction (48,down), set NPC frame (48,1), wait (2) set NPC direction (48,left), set NPC frame (48,0), wait (2) set NPC direction (48,left), set NPC frame (48,1), wait (2) set NPC position (48,0,0) # Cthulhu appears to crash the party! Note that the NPC ID's have swapped, so # That Cthulhu now occupies the same location that the explosion did, while the # Explosion sprite has been whisked off some some far off corner of the map. # Out of sight, out of mind. set NPC position (47,33,7) play song (song:Vile) show textbox (3660), wait (7), wait for key (usekey), advance textbox # I like to make my NPCs "turn" in the direction they're going to face, as if by # Following stage directions. Though it's not a hard rule, when turning an NPC # From left and right directions, they'll face down briefly as if to keep their face to # The camera before facing their intended direction. Again, you don't NEED to do this, # It's just a bit cleaner looking than simply making the character face into the direction # That you want them to immediately. Also, more wait commands. wait (5), set NPC direction (47,left), wait (5), set NPC direction (47,up), wait (5) show textbox (3661), wait (7), wait for key (usekey), advance textbox walk hero (me,left,1), wait for hero (me) walk hero (me,up,1), set hero direction (me,down), walk NPC (9,down,1),wait for hero (me) show textbox (3662), wait (7), wait for key (usekey), advance textbox walk NPC (43,down,1) show textbox (3663), wait (7), wait for key (usekey), advance textbox wait (5), set NPC direction (47,left), wait (5) set NPC direction (47,down), wait (5) show textbox (3664), wait (7), wait for key (usekey), advance textbox show textbox (3665), wait (7), wait for key (usekey), advance textbox show textbox (3666), wait (7), wait for key (usekey), advance textbox wait (5), set NPC direction (47,left), wait (5), set NPC direction (47,up), wait (5) show textbox (3667), wait (7), wait for key (usekey), advance textbox show textbox (3668), wait (7), wait for key (usekey), advance textbox show textbox (3669), wait (7), wait for key (usekey), advance textbox # You'll usually want to put in a wait command when moving a hero or NPC # Unless they're in a hurry! walk hero (me,down,1) show textbox (3670), wait (7), wait for key (usekey), advance textbox show textbox (3671), wait (7), wait for key (usekey), advance textbox show textbox (3672), wait (7), wait for key (usekey), advance textbox show textbox (3673), wait (7), wait for key (usekey), advance textbox wait (5), set NPC direction (47,left), wait (5),set NPC direction (47,down), wait (5) show textbox (3674), wait (7), wait for key (usekey), advance textbox stop song # The explosion happens again, and we swap Cthulhu's sprite to the corner. # Once the explosion's over, we can simply dump it back in the corner again and # Forget about it. If for whatever reason you can put the player in a spot where they can # Ever see that corner, you may want to make the tiles there overhead tiles. set NPC position (47,0,0) set NPC position (48,33,7), play sound (sfx:MediumExplosion8Bit,false,true) set NPC direction (48,up), set NPC frame (48,0), wait (2) set NPC direction (48,up), set NPC frame (48,0), wait (2) set NPC direction (48,right), set NPC frame (48,1), wait (2) set NPC direction (48,right), set NPC frame (48,1), wait (2) set NPC direction (48,down), set NPC frame (48,0), wait (2) set NPC direction (48,down), set NPC frame (48,1), wait (2) set NPC direction (48,left), set NPC frame (48,0), wait (2) set NPC direction (48,left), set NPC frame (48,1), wait (2) set NPC position (48,0,0) # More textboxes and NPC movement. As I said, this is the bulk of the game's scripts. show textbox (3675), wait (7), wait for key (usekey), advance textbox wait (5), walk NPC (9,up,1), set NPC direction (9,down), wait for NPC (9), wait (5) wait (5), set NPC direction (9,down), set hero direction (me,right), set NPC direction (44,left), set NPC direction (46,left), set NPC direction (45,right) , set NPC direction (43,right) walk hero (me,right,1), wait for hero (me), set hero direction (me,up) # At this point we want the camera to focus back on the hero and then stick to them. # Figure out where your hero position is, focus to that spot and wait for it to # Catch up, then have it follow the hero again, like by default. focus camera (33,5,2), wait for camera, wait (5), camera follows hero (me) show textbox (3676), wait (7), wait for key (usekey), advance textbox show textbox (3677), wait (7), wait for key (usekey), advance textbox show textbox (3678), wait (7), wait for key (usekey), advance textbox show textbox (3679), wait (7), wait for key (usekey), advance textbox show textbox (3680), wait (7), wait for key (usekey), advance textbox # All we're doing here is cleanup. We now need to return control back to the player! resume player,resume box advance end # Now for an inn script. In Vikings of Midgard, every innkeeper is exactly the # Same distance from the beds. We want the hero to run (speed 10) to those beds # Before the real magic begins! script,inn,begin suspend player, suspend box advance set hero speed (me,10), walk hero (me,left,7), wait for hero (me) focus camera ((hero x (me)),(hero y (me)),4) wait for hero (me), suspend caterpillar # At this point we're going to do something you might've seen before in a few # Final Fantasy games, where the party "comes out of" the hero who's on point. # For this, we're going to make the game briefly make the other heroes follow # The leader, and then turn off their ability to follow them. By default the # Game is actually tracking their movement behind the scenes, so if we just # Turned it on, they would appear shadowing the player's steps. wait (2), set hero speed (2),set hero direction (me,down),wait (3) set hero direction (1,down), set hero direction (2,down), set hero direction (3,down) set hero speed (0,2), set hero speed (1,2), set hero speed (2,2), set hero speed (3,2), wait (2) set caterpillar mode (on) # Now we want them to appear in the stored x and y values that our "leader" # Is standing at. It's quicker to do it this way, but you could actually # Make the other heroes "appear" wherever you want. set hero position (1, (hero x (me)), (hero y (me))) set hero position (2, (hero x (me)), (hero y (me))) set hero position (3, (hero x (me)), (hero y (me))) # The individual heroes in your party lineup also have their own values. # By default the leader is "0", and everyone else in the active party # Is numbered 1, 2, and 3 respectively. You can also refer to the leader as "me". wait (4), walk hero (0,up,2), walk hero (1,up,2), walk hero (2,down,2), walk hero (3,down,2),wait (1) walk hero (0,left,1), walk hero (1,right,1), walk hero (2,left,1), walk hero (3,right,1) wait for hero (me) walk hero (0,left,1), walk hero (1,right,1), walk hero (2,left,1), walk hero (3,right,1) # You'll note that we're not waiting for a hero YET now. That's because they're moving "up" # On the beds. You can fool around with their Z axis, which is how high "above" the tile they're # Standing on. We also want to do this gradually enough, so a simple wait command at the end # Of each step here will suffice for now. set hero z (0, 2), set hero z (1, 2), set hero z (2, 2), set hero z (3, 2), wait (2) set hero z (0, 4), set hero z (1, 4), set hero z (2, 4), set hero z (3, 4), wait (2) set hero z (0, 6), set hero z (1, 6), set hero z (2, 6), set hero z (3, 6), wait (2) set hero z (0, 8), set hero z (1, 8), set hero z (2, 8), set hero z (3, 8), wait (2) set hero z (0, 10), set hero z (1, 10), set hero z (2, 10), set hero z (3, 10), wait (2) set hero direction (0,down), set hero direction (1,down), set hero direction (2,down), set hero direction (3,down) # If you don't specify some RGB color logic after a screen fade, then fading out defaults # To black. Since this is a "sleep" script, allowing it to fade default to black is ok. # We're also going to play a short sound effect - which in this case is a simple # Musical theme that lasts a few seconds. Remember that seconds AREN'T ticks, and that # There's a bit of wiggle room in between how long a tick lasts on different computers! wait (5), fade screen out, stop song,wait (5) play sound (sfx:sleep,false,true), wait (120) # When the screen comes back, we want the game to play the music for the area. # Because each area is different, we want the "default" ambient music. play song (get ambient music), fade screen in,wait (5) # Now the heroes get out of bed.. walk hero (0,right,1), walk hero (1,left,1), walk hero (2,right,1), walk hero (3,left,1) set hero z (0, 8), set hero z (1, 8), set hero z (2, 8), set hero z (3, 8), wait (2) set hero z (0, 6), set hero z (1, 6), set hero z (2, 6), set hero z (3, 6), wait (2) set hero z (0, 4), set hero z (1, 4), set hero z (2, 4), set hero z (3, 4), wait (2) set hero z (0, 2), set hero z (1, 2), set hero z (2, 2), set hero z (3, 2), wait (2) set hero z (0, 0), set hero z (1, 0), set hero z (2, 0), set hero z (3, 0), wait (2) wait (5) # ..And do some morning excercises by spinning around.. set hero direction (0,down), set hero direction (1,down), set hero direction (2,down), set hero direction (3,down),wait (1) set hero direction (0,left), set hero direction (1,left), set hero direction (2,left), set hero direction (3,left), wait (1) set hero direction (0,up), set hero direction (1,up), set hero direction (2,up), set hero direction (3,up), wait (1) set hero direction (0,right), set hero direction (1,right), set hero direction (2,right), set hero direction (3,right), wait (1) set hero direction (0,down), set hero direction (1,down), set hero direction (2,down), set hero direction (3,down), wait (1) set hero direction (0,left), set hero direction (1,left), set hero direction (2,left), set hero direction (3,left), wait (1) set hero direction (0,up), set hero direction (1,up), set hero direction (2,up), set hero direction (3,up), wait (1) set hero direction (0,right), set hero direction (1,right), set hero direction (2,right), set hero direction (3,right), wait (1) set hero direction (0,down), set hero direction (1,down), set hero direction (2,down), set hero direction (3,down),wait (1) set hero direction (0,left), set hero direction (1,left), set hero direction (2,left), set hero direction (3,left), wait (1) set hero direction (0,up), set hero direction (1,up), set hero direction (2,up), set hero direction (3,up), wait (1) set hero direction (0,right), set hero direction (1,right), set hero direction (2,right), set hero direction (3,right), wait (1) set hero direction (0,down), set hero direction (1,down), set hero direction (2,down), set hero direction (3,down), wait (5) # ..And then "jumping" in place to start the day. set hero z (0, 5), set hero z (1, 5), set hero z (2, 5), set hero z (3, 5),wait (1) set hero z (0, 10), set hero z (1, 10), set hero z (2, 10), set hero z (3, 10), wait (1) set hero z (0, 15), set hero z (1, 15), set hero z (2, 15), set hero z (3, 15), wait (1) set hero z (0, 20), set hero z (1, 20), set hero z (2, 20), set hero z (3, 20), wait (1) set hero z (0, 15), set hero z (1, 15), set hero z (2, 15), set hero z (3, 15), wait(1) set hero z (0, 10), set hero z (1, 10), set hero z (2, 10), set hero z (3, 10), wait (1) set hero z (0, 5), set hero z (1, 5), set hero z (2, 5), set hero z (3, 5), wait (1) set hero z (0, 0), set hero z (1, 0), set hero z (2, 0), set hero z (3, 0), wait (5) # Now they reverse their direction and walk to the center point where they split off from. set hero direction (0,down), set hero direction (1,down), set hero direction (2,down), set hero direction (3,down), wait (2) walk hero (0,right,1), walk hero (1,left,1), walk hero (2,right,1), walk hero (3,left,1), wait (1) walk hero (0,down,2), walk hero (1,down,2), walk hero (2,up,2), walk hero (3,up,2), wait for hero (me) # Then we revert everything back to what it was. Our leader takes point again, # The camera follows them, and control is returned back to the player. set caterpillar mode (off), wait (1), camera follows hero (me), set hero speed (me,4) resume player, resume box advance, heal full party end # These next scripts are basically the same thing, but are essentially dummied out. # At one point they were used for Alfheim and Thule, but since the one script now does it all.. # Remember - "if it ain't broke, don't f*ck with it!" script,inn2,begin wait (1) end script,inn3,begin wait (1) end #Finally! Now time for some more scripts! script,earthfiend,begin suspend player, suspend box advance, suspend random enemies,remember party # We don't want to run into any extra encounters, do we? walk hero (me,left,4), wait for hero (me) , wait (1) # These set the heroes to face up, and look up at the boss set hero direction (0,up), set hero direction (1,up), set hero direction (2,up), set hero direction (3,up), wait (1) # This sets the other party members to appear at the leader's position set caterpillar mode (on), set hero position (1, 12, 9), set hero position (2, 12, 9), set hero position (3, 12, 9) wait (1), suspend caterpillar # These actions then cause the party to move a bit, so they can all be seen at once. walk hero (me,up,1), walk hero (1,left,1), walk hero (2, right,1), wait for hero (me) # Now, beacuse they've moved, we set the heroes on the side to all face the same direction. set hero direction (1,up),set hero direction (2,up) # Now it's time for some introductory dialogue. Though its not shown here, Text box 83 has the # party leader say something. set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) # The previous set of commands makes the given hero "twitch" in place. It's one way of showing # that they're speaking. It's not always needed, but here it's a good idea. show textbox (83) wait (7) # I've found that the delay between just skipping through boxes is *ABOUT* 7-10 ticks. # So, since we don't want the game to be too sensitive between when you press a key to # advance a text box, we've a delay of 7 ticks before you can advance it. wait for key (usekey) advance text box wait (5),walk hero (1,up,1), wait for hero (1) # The next textbox has hero (1) saying something, so its only reasonable to indicate that # by having whoever's in that slot move to indicate they're doing something. set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) show textbox (84), wait (7), wait for key (usekey), advance text box wait (5),walk hero (2,up,1),wait for hero (2) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) # Again, another textbox, this one having hero (2) say something, and move in some way to indicate it. # It's not alway needed to have each hero move, or twich or whatever before they speak, but # it does give the player the sense that what's being said on screen isn't just text, but # being spoken by a character. Many well known professional games do this too. show textbox (85), wait (7), wait for key (usekey), advance text box # Now that talking is done, it's time for the enemy to attack! wait (5), walk NPC (1,down,2) # So he moves down to face the party first wait for NPC (1), wait (5) # ..Except he's kinda slow, so we want to wait a bit for him. # This next script part was originally done by Mad Cacti. # Truthfully, I have very little idea how it works, but it inverts all the colors on the # Screen at once. It's very spiffy work! Luckily instead of copying the same code, # We can store it in its own script, and call it for later like so.. BossIntroduction #Shub-Niggurath, the first major boss, can be found in-game at formation 22, so we call that right now. fight formation (22) # Since the boss is defeated, we have to make it vanish! Set a tag to the NPC so it'll # Vanish once the player beats it! set tag (tag:ShubNiggurath, on) wait (5) walk hero (me,up,1), wait for hero (me) # Now the party's going to face eachother to talk amoungst themselves. set hero direction (me,right) wait (5) set hero direction (me,down),set hero direction (1,right), set hero direction (2,left) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (105), wait (7), wait for key (usekey), advance text box set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) show textbox (106), wait (7), wait for key (usekey), advance text box # And then shove all the heroes back into the leader again. walk hero (me,down,1), walk hero (1,right,1), walk hero (2,left,1), walk hero (3,up,1) wait for hero (me), set caterpillar mode (off), resume caterpillar, wait (1) # And cleanup again resume player, resume random enemies, resume box advance, encounters end # Let's do the "dying in battle" script. script,die in battle,begin # First a variable. It'll come up later on. variable(i) # We're checking to see if a tag is off, known as "DO NOT DIE" # If it's off, that means the player can lose in a battle. if(check tag(tag:DO NOT DIE)==OFF) then,begin # The music stops, it shows a background and plays a sad sound effect. # It will wait for player imput to accept their loss, before fading out, # clearing up some loose ends before returning the player back to the Title Screen. stop song, show backdrop (22),play sound (sfx:Gameover,false,true),wait for key (anykey),fade screen out (0,0,0),show map, gameover,end # Otherwise, it'll do some weird stuff. else,begin # Here we're essentially looking at all hero positions 0,1,2 and 3. for(i,0,3) do,begin # If their current HP is less than or equal to 0.. if (get hero stat(i,stat:HP,current stat) <= 0) # Then the script will set their HP to 1. then (set hero stat(i,stat:HP,1)) end end end script,cthulhu1,begin suspend player, suspend box advance, suspend random enemies walk hero (me,down,2),wait for hero (me),remember party set caterpillar mode (on) ,set hero position (1, 46, 13) ,set hero position (2, 46, 13),set hero position (3, 46, 13), wait (1) suspend caterpillar, walk hero (me,up,1), walk hero (1,left,1), walk hero (2, right,1), wait for hero (me) # Now, beacuse they've moved, we set the heroes on the side to all face the same direction. set hero direction (1,up), set hero direction (2,up),wait (5) show textbox (107), wait (7), wait for key (usekey), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (108), wait (7), wait for key (usekey), advance text box show textbox (109), wait (7), wait for key (usekey), advance text box show textbox (110), wait (7), wait for key (usekey), advance text box wait (1), tweak palette (20,-20,20),fade screen in,wait (4) set tag (tag:CTHULHU1, on),set NPC position (12,0,0) set NPC position (28,46,10), play sound (sfx:MediumExplosion8Bit,false,true) set NPC direction (28,up), set NPC frame (28,0), wait (2) set NPC direction (28,up), set NPC frame (28,1), wait (2) set NPC direction (28,right), set NPC frame (28,0), wait (2) set NPC direction (28,right), set NPC frame (28,1), wait (2) set NPC direction (28,down), set NPC frame (28,0), wait (2) set NPC direction (28,down), set NPC frame (28,1), wait (2) set NPC direction (28,left), set NPC frame (28,0), wait (2) set NPC direction (28,left), set NPC frame (28,1), wait (2) set NPC position (28,0,0) wait (3), reset palette, fade screen in walk hero (3,down,1),wait for hero (3),set hero direction (3,left), set hero direction (me,right) wait (3), set hero direction (me,down), set hero direction (1,right), set hero direction (2,left), set hero direction (3,up) wait (3), set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (597), wait (7), wait for key (usekey), advance text box walk hero (me,down,1), walk hero (1,right,1), walk hero (2,left,1), walk hero (3,up,1), wait for hero (me) set caterpillar mode (off), resume caterpillar, wait (1) resume player, resume random enemies, resume box advance, encounters end script,Tulzcha,begin suspend player, suspend box advance, suspend random enemies walk hero (me,up,3), wait for hero (me),remember party set caterpillar mode (on), set hero position (1, 21, 10), set hero position (2, 21, 10), set hero position (3, 21, 10) wait (1), suspend caterpillar, walk hero (me,up,1), walk hero (1,left,1), walk hero (2, right,1), wait for hero (me) # Now, beacuse they've moved, we set the heroes on the side to all face the same direction. set hero direction (1,up), set hero direction (2,up), set hero direction (3,up), wait (1) show textbox (118), wait (7), wait for key (usekey), advance text box set hero frame (me,1) ,wait (1) ,set hero frame (me,0) ,wait (1) set hero frame (me,1), wait (1) ,set hero frame (me,0),wait (1) show textbox (119), wait (7), wait for key (usekey), advance text box show textbox (120), wait (7), wait for key (usekey), advance text box # The boss now has to freak out. Since this character talks REALLY hyper, it should move fast # Therefore its speed as an NPC is set to 4, but will get faster and faster. # Also, we should have it move around a lot. In this case, it circles around a bunch # Before attacking the party. wait (2), Alter NPC (10,NPCstat:move speed, 10) walk NPC (10,up,1), wait for NPC (10),walk NPC (10,left,1), wait for NPC (10) walk NPC (10,down,2), wait for NPC (10), walk NPC (10,right,2), wait for NPC (10) walk NPC (10,up,2), wait for NPC (10), walk NPC (10,left,2), wait for NPC (10) walk NPC (10,down,1), wait for NPC (10), walk NPC (10,right,2), wait for NPC (10) walk NPC (10,up,1), wait for NPC (10), walk NPC (10,left,1), wait for NPC (10) walk NPC (10,down,2), wait for NPC (10), walk NPC (10,right,1), wait for NPC (10) walk NPC (10,up,1), wait for NPC (10), walk NPC (10,left,2), wait for NPC (10) walk NPC (10,down,1), wait for NPC (10), walk NPC (10,right,1), wait for NPC (10) walk NPC (10,up,2), wait for NPC (10), walk NPC (10,left,1), wait for NPC (10) walk NPC (10,down,1), wait for NPC (10), walk NPC (10,right,2), wait for NPC (10) walk NPC (10,up,1), wait for NPC (10), walk NPC (10,left,1), wait for NPC (10) walk NPC (10,down,2), wait for NPC (10), walk NPC (10,right,1), wait for NPC (10) walk NPC (10,up,2), wait for NPC (10), walk NPC (10,left,2), wait for NPC (10) walk NPC (10,down,2), wait for NPC (10), walk NPC (10,right,1), wait for NPC (10) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (121), wait (7), wait for key (usekey), advance text box show textbox (122), wait (7), wait for key (usekey), advance text box wait (3), BossIntroduction #After the nifty color inverting takes place, we've got a battle to fight! fight formation (42) #Tulzcha, the second boss, can be found in-game at formation 42, so we call that right now. set tag (tag:Tulzcha, on) #Since the boss isn't there, we have to make it vanish! Set a tag to the NPC so it'll #Vanish once the player beats it! wait (3),pan camera (down,1) walk hero (1,down,1), wait for hero (1), walk hero (1,right,1) set hero direction (me,right), set hero direction (1,right), set hero direction (2,right), set hero direction (3,right) show textbox (123), wait (7), wait for key (usekey), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (124), wait (7), wait for key (usekey), advance text box show textbox (125), wait (7), wait for key (usekey), advance text box set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) show textbox (126), wait (7), wait for key (usekey), advance text box show textbox (127), wait (7), wait for key (usekey), advance text box #And then Cthulhu Explodes away again wait (1), tweak palette (20,-20,20), fade screen in, wait (4), set tag (tag:CTHULHU2, on) set NPC position (17,24,10), play sound (sfx:MediumExplosion8Bit,false,true) set NPC direction (17,up), set NPC frame (17,0), wait (2) set NPC direction (17,up), set NPC frame (17,1), wait (2) set NPC direction (17,right), set NPC frame (17,0), wait (2) set NPC direction (17,right), set NPC frame (17,1), wait (2) set NPC direction (17,down), set NPC frame (17,0), wait (2) set NPC direction (17,down), set NPC frame (17,1), wait (2) set NPC direction (17,left), set NPC frame (17,0), wait (2) set NPC direction (17,left), set NPC frame (17,1), wait (2) set NPC position (17,0,0), wait (3), reset palette, fade screen in, wait (3) walk hero (3,left,1), wait for hero (3) , wait (3) set hero direction (me,down), set hero direction (3,right), set hero direction (2,left), set hero direction (1,up), wait (3) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (597), wait (7), wait for key (usekey), advance text box walk hero (me,down,1), walk hero (3,right,1), walk hero (2,left,1), walk hero (1,up,1) wait for hero (me), camera follows hero (me), set caterpillar mode (off), resume caterpillar wait (1), resume player, resume random enemies, resume box advance, encounters end script,dagon,begin suspend player, suspend box advance, suspend random enemies, remember party walk hero (me,up,3), wait for hero (me), set caterpillar mode (on) set hero position (1, 5, 55), set hero position (2, 5, 55), set hero position (3, 5, 55) wait (1), suspend caterpillar walk hero (me,up,1), walk hero (1,left,1), walk hero (2, right,1), wait for hero (me) # Now, beacuse they've moved, we set the heroes on the side to all face the same direction. set hero direction (1,up), set hero direction (2,up), set hero direction (3,up), wait (1) show textbox (186), wait (7), wait for key (usekey), advance text box # Instead of shuffling around, the hero will bounce a bit here to show who's talking. set hero z (0, 5), wait (2), set hero z (0, 0), wait (2) set hero z (0, 5), wait (2), set hero z (0, 0), wait (2) show textbox (187), wait (7), wait for key (usekey), advance text box show textbox (188), wait (7), wait for key (usekey), advance text box set hero z (0, 5), wait (2), set hero z (0, 0), wait (2) set hero z (0, 5), wait (2), set hero z (0, 0), wait (2) show textbox (189), wait (7), wait for key (usekey), advance text box show textbox (190), wait (7), wait for key (usekey), advance text box set hero z (1, 5), wait (2), set hero z (1, 0), wait (2) set hero z (1, 5), wait (2), set hero z (1, 0), wait (2) show textbox (191), wait (7), wait for key (usekey), advance text box show textbox (192), wait (7), wait for key (usekey), advance text box, wait (3) # Now we fight Dagon, the fiend of water.. or is it ice? BossIntroduction , fight formation (67) # Dagon, the third boss, can be found in-game at formation 67, so we call that right now. set tag (tag:Fight Dagon, on) # Since the boss isn't there, we have to make it vanish! Set a tag to the NPC so it'll # Vanish once the player beats it! set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) show textbox (193), wait (7), wait for key (usekey), advance text box # Of course, Cthulhu shows up after a boss is defeated, so we have to pan the camera focus camera (5,51,4), wait for camera show textbox (194), wait (7), wait for key (usekey), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (195), wait (7), wait for key (usekey), advance text box show textbox (196), wait (7), wait for key (usekey), advance text box show textbox (197), wait (7), wait for key (usekey), advance text box show textbox (198), wait (7), wait for key (usekey), advance text box wait (1), tweak palette (20,-20,20), fade screen in, wait (4), set tag (tag:CTHULHU3, on) set NPC position (22,5,50), play sound (sfx:MediumExplosion8Bit,false,true) set NPC direction (22,up), set NPC frame (22,0), wait (2) set NPC direction (22,up), set NPC frame (22,1), wait (2) set NPC direction (22,right), set NPC frame (22,0), wait (2) set NPC direction (22,right), set NPC frame (22,1), wait (2) set NPC direction (22,down), set NPC frame (22,0), wait (2) set NPC direction (22,down), set NPC frame (22,1), wait (2) set NPC direction (22,left), set NPC frame (22,0), wait (2) set NPC direction (22,left), set NPC frame (22,1), wait (2) set NPC position (22,0,1) wait (3), reset palette, fade screen in, wait (3) focus camera (5,54,4), wait for camera, wait (3), set hero direction (me,right) walk hero (3,down,1), set hero direction (3,up), wait (3), camera follows hero (me) set hero direction (me,down), set hero direction (1,right), set hero direction (2,left), set hero direction (3,up) set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) show textbox (199), wait (7), wait for key (usekey), advance text box walk hero (me,down,1), walk hero (1,right,1), walk hero (2,left,1), walk hero (3,up,1), wait for hero (me) set caterpillar mode (off), resume caterpillar, wait (1) resume player, resume random enemies, resume box advance, reinstate party, encounters end script,cthulhu,begin suspend player, suspend box advance, suspend random enemies,remember party walk hero to y (me,72), wait for hero (me) walk hero to x (me,8), wait for hero (me) set hero direction (me,up) set caterpillar mode (on), set hero position (1, 8, 72), set hero position (2, 8, 72), set hero position (3, 8, 72) wait (1),suspend caterpillar walk hero (me,up,1), walk hero (1,left,1), walk hero (2, right,1), wait for hero (me) # Now, beacuse they've moved, we set the heroes on the side to all face the same direction. set hero direction (1,up), set hero direction (2,up), set hero direction (3,up), wait (1) show textbox (305), wait (7), wait for key (usekey), advance text box show textbox (306), wait (7), wait for key (usekey), advance text box show textbox (307), wait (7), wait for key (usekey), advance text box show textbox (308), wait (7), wait for key (usekey), advance text box, wait (3) BossIntroduction # After the nifty color inverting takes place, we've got a battle to fight! fight formation (85) # We start off facing off against Yog-Sothoth, the fiend of.. all the elements? show textbox (309), wait (7), wait for key (usekey), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (310), wait (7), wait for key (usekey), advance text box show textbox (311), wait (7), wait for key (usekey), advance text box # Cthulhu threatens the party by approaching them walk npc (11,down,1), show textbox (312), wait (7) walk hero (me,down,1), walk hero (1,down,1), walk hero (2,down,1), walk hero (3,down,1) set hero direction (me,up), set hero direction (1,up), set hero direction (2,up), set hero direction (3,up) wait for hero (me), wait for key (usekey), advance text box set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) show textbox (313), wait (7), wait for key (usekey), advance text box show textbox (314), wait (7), wait for key (usekey), advance text box show textbox (315), wait (7), wait for key (usekey), advance text box BossIntroduction # This is it, the fight against Cthulhu. And we're only halfway through? fight formation (86) show textbox (316), wait (7), wait for key (usekey), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (317), wait (7), wait for key (usekey), advance text box show textbox (3978), wait (7), wait for key (usekey), advance text box show textbox (3979), wait (7), wait for key (usekey), advance text box show textbox (3980), wait (7), wait for key (usekey), advance text box show textbox (3981), wait (7), wait for key (usekey), advance text box show textbox (3982), wait (7), wait for key (usekey), advance text box show textbox (3983), wait (7), wait for key (usekey), advance text box show textbox (318), wait (7), wait for key (usekey), advance text box wait (1), play sound (sfx:Nuclear,false,true) tweak palette (20,-20,20), fade screen in, wait (4), set tag (tag:defeat Cthulhu, on) set NPC position (62,8,70) set NPC direction (62,up), set NPC frame (62,0), pan camera (up,1,20), wait (2) set NPC direction (62,up), set NPC frame (62,1), pan camera (down,1,20), wait (2) set NPC direction (62,right), set NPC frame (62,0), pan camera (up,1,20), wait (2) set NPC direction (62,right), set NPC frame (62,1), pan camera (down,1,20), wait (2) set NPC direction (62,down), set NPC frame (62,0), pan camera (up,1,20), wait (2) set NPC direction (62,down), set NPC frame (62,1), pan camera (down,1,20), wait (2) set NPC direction (62,left), set NPC frame (62,0), pan camera (up,1,20), wait (2) set NPC direction (62,left), set NPC frame (62,1), pan camera (down,1,20), wait (2) set NPC position (62,0,0), wait for camera wait (3), reset palette, fade screen in, wait (3) set hero direction (me,right), walk hero (3,down,1), set hero direction (3,up), wait (3) camera follows hero (me) set hero direction (me,down), set hero direction (1,right), set hero direction (2,left), set hero direction (3,up) set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) show textbox (319), wait (7), wait for key (usekey), advance text box walk hero (me,down,1), walk hero (1,right,1), walk hero (2,left,1), walk hero (3,up,1) wait for hero (me), set caterpillar mode (off), resume caterpillar, wait (1) resume player, resume random enemies, resume box advance,encounters end # This is for the showdown with the Einherjar Leader, Kyle. script,kyle,begin remember party, suspend player, suspend box advance, suspend random enemies, resume NPC walls walk hero to x (me,31), walk hero to y (me,121), wait for hero (me), set hero direction (me,up) set caterpillar mode (on), set hero position (1, 31, 121), set hero position (2, 31, 121), set hero position (3, 31, 121) wait (1), suspend caterpillar, walk hero (3,down,1), walk hero (1,left,1), walk hero (2, right,1) wait for hero (3), wait for camera # Now, beacuse they've moved, we set the heroes on the side to all face the same direction. set hero direction (1,up), set hero direction (2,up), set hero direction (3,up), wait (1) play song (song: Nameless Sorcerer ) show textbox (494), wait (7), wait for key (usekey), advance text box show textbox (495), wait (7), wait for key (usekey), advance text box show textbox (496), wait (7), wait for key (usekey), advance text box show textbox (497), wait (7), wait for key (usekey), advance text box show textbox (498), wait (7), wait for key (usekey), advance text box,wait (4) walk NPC (9,down,1), walk hero (me,down,1), walk hero (1,down,1), walk hero (2,down,1), walk hero (3,down,1) set hero direction (me,up), set hero direction (1,up), set hero direction (2,up), set hero direction (3,up) wait for hero (me), wait (3) show textbox (499), wait (7), wait for key (usekey), advance text box show textbox (500), wait (7), wait for key (usekey), advance text box show textbox (501), wait (7), wait for key (usekey), advance text box show textbox (502), wait (7), wait for key (usekey), advance text box wait (4), greyscale palette, fade screen in, wait (10) # The new boss fight effect! BossIntroduction # After the nifty color inverting takes place, we've got a battle to fight! fight formation (104) play song (song: An Unfortunate End ) alter NPC (9,NPCstat:Picture, 347), alter NPC (9,NPCmovetype:walkinplace) resume NPCs, suspend obstruction show textbox (505), wait (7), wait for key (usekey), advance text box show textbox (506), wait (7), walk hero (me,up,1), wait for key (usekey), advance text box show textbox (507), wait (7), walk hero (1,up,1), wait for key (usekey), advance text box show textbox (508), wait (7), walk hero (2,up,1), wait for key (usekey), advance text box show textbox (509), wait (7), walk hero (3,up,1), wait for key (usekey), advance text box show textbox (510), wait (7), wait for key (usekey), advance text box show textbox (511), wait (7), wait for key (usekey), advance text box show textbox (512), wait (7), wait for key (usekey), advance text box wait (7) set hero direction (me,left), set hero direction (1,left), set hero direction (2,right), set hero direction (3,right) wait (5) walk NPC (9,down,1), walk hero (me,down,1), walk hero (1,down,1), walk hero (2,down,1), walk hero (3,down,1) wait for hero (me), wait (5), stop song, wait (5) tweak palette (-10,-10,-10), fade screen in, wait (5) show text box (1763), wait (10), wait for key (use key), advance text box wait (5), reset palette, fade screen in, wait (5) pan camera (up,1), wait for camera,wait (5) set hero direction (me,left), set hero direction (1,left), set hero direction (2,right), set hero direction (3,right) wait (5), set hero direction (me,up), set hero direction (1,up), set hero direction (2,up), set hero direction (3,up), wait (5) # The menace of the Nameless Sorcerer comes forth. play sound (sfx:BLASTER BEAM,false,true) tweak palette (63,63,63),update palette, wait (2), reset palette, update palette set tag (tag:suck1,on) pancamera(up,1,20),waitforcamera, pancamera(down,2,20),waitforcamera pancamera(up,2,20),waitforcamera, pancamera(down,1,20),waitforcamera pancamera(up,1,20),waitforcamera, pancamera(down,2,20),waitforcamera pancamera(up,2,20),waitforcamera, pancamera(down,1,20),waitforcamera pancamera(up,1,20),waitforcamera, pancamera(down,2,20),waitforcamera pancamera(up,2,20),waitforcamera, pancamera(down,1,20),waitforcamera wait (5), set NPC direction (9,left), wait (3), set NPC direction (9,up), wait (3) show text box (1764), wait (10), wait for key (use key), advance text box wait (5), tweak palette (-10,-10,-10), fade screen in, wait (5) show text box (1765), wait (10), wait for key (use key), advance text box show text box (1766), wait (10), wait for key (use key), advance text box wait (5), reset palette, fade screen in, wait (5),play sound (sfx:BLASTER BEAM,false,true) tweak palette (63,63,63),update palette, wait (2), reset palette, update palette set tag (tag:suck2,on) pancamera(up,1,20),waitforcamera, pancamera(down,2,20),waitforcamera pancamera(up,2,20),waitforcamera, pancamera(down,1,20),waitforcamera pancamera(up,1,20),waitforcamera, pancamera(down,2,20),waitforcamera pancamera(up,2,20),waitforcamera, pancamera(down,1,20),waitforcamera pancamera(up,1,20),waitforcamera, pancamera(down,2,20),waitforcamera pancamera(up,2,20),waitforcamera, pancamera(down,1,20),waitforcamera , wait (5) show text box (1767), wait (7), wait for key (use key), advance text box set NPC direction (9,left), wait (3), set NPC direction (9,down), wait (5) show text box (1768), wait (7), wait for key (use key), advance text box wait (5), tweak palette (-10,-10,-10), fade screen in, wait (5) show text box (1769), wait (10), wait for key (use key), advance text box wait (5), reset palette, fade screen in, wait (5),play sound (sfx:BLASTER BEAM,false,true) tweak palette (63,63,63),update palette, wait (2), reset palette, update palette set tag (tag:suck3,on) , walk NPC (9,up,1), set NPC direction (9,right) pancamera(up,1,20),waitforcamera, pancamera(down,2,20),waitforcamera pancamera(up,2,20),waitforcamera, pancamera(down,1,20),waitforcamera pancamera(up,1,20),waitforcamera, pancamera(down,2,20),waitforcamera pancamera(up,2,20),waitforcamera, pancamera(down,1,20),waitforcamera pancamera(up,1,20),waitforcamera, pancamera(down,2,20),waitforcamera pancamera(up,2,20),waitforcamera, pancamera(down,1,20),waitforcamera , wait (5) wait for NPC (9) show text box (1770), wait (10), wait for key (use key), advance text box wait (5), tweak palette (-10,-10,-10), fade screen in, wait (5) show text box (1771), wait (10), wait for key (use key), advance text box show text box (1772), wait (10), wait for key (use key), advance text box wait (5), reset palette, fade screen in, wait (5), play sound (sfx:BLASTER BEAM,false,true) tweak palette (63,63,63),update palette, wait (2), reset palette, update palette walk NPC (9,up,1), set NPC direction (9,right) pancamera(up,1,20),waitforcamera, pancamera(down,2,20),waitforcamera pancamera(up,2,20),waitforcamera, pancamera(down,1,20),waitforcamera pancamera(up,1,20),waitforcamera, pancamera(down,2,20),waitforcamera pancamera(up,2,20),waitforcamera, pancamera(down,1,20),waitforcamera pancamera(up,1,20),waitforcamera, pancamera(down,2,20),waitforcamera pancamera(up,2,20),waitforcamera, pancamera(down,1,20),waitforcamera , wait (5) show text box (1773), wait (10), wait for key (use key), advance text box wait (5), tweak palette (-10,-10,-10), fade screen in, wait (5) show text box (1774), wait (10), wait for key (use key), advance text box wait (5), reset palette, fade screen in, wait (5) play sound (sfx:BLASTER BEAM,false,true) tweak palette (63,63,63),update palette, wait (2), reset palette, update palette walk NPC (9,up,1), set NPC direction (9,right) pancamera(up,1,20),waitforcamera, pancamera(down,2,20),waitforcamera pancamera(up,2,20),waitforcamera, pancamera(down,1,20),waitforcamera pancamera(up,1,20),waitforcamera, pancamera(down,2,20),waitforcamera pancamera(up,2,20),waitforcamera, pancamera(down,1,20),waitforcamera pancamera(up,1,20),waitforcamera, pancamera(down,2,20),waitforcamera pancamera(up,2,20),waitforcamera, pancamera(down,1,20),waitforcamera fade screen out (63,63,63), wait (5) set caterpillar mode (off), resume caterpillar, camera follows hero (me), wait (1) use door (63), resume obstruction, wait (7), fade screen in show textbox (513), wait (7), wait for key (usekey), advance text box show textbox (514), wait (7), wait for key (usekey), advance text box wait for hero (me), set caterpillar mode (on) set hero position (1, 12, 14), set hero position (2, 12, 14), set hero position (3, 12, 14), wait (1) suspend caterpillar walk hero (me,up,1), walk hero (1,left,1), walk hero (2,right,1), walk hero (3,down,1), wait for hero (me) wait (3), set hero direction (me,right), set hero direction (1,down), set hero direction (2,down), set hero direction (3,right) wait (3), set hero direction (me,down), set hero direction (1,right), set hero direction (2,left), set hero direction (3,up) wait (3) show textbox (515), wait (7), wait for key (usekey), advance text box show textbox (516), wait (7), wait for key (usekey), advance text box show textbox (517), wait (7), wait for key (usekey), advance text box walk hero (me,down,1), walk hero (1,right,1), walk hero (2,left,1), walk hero (3,up,1) wait for hero (me), set caterpillar mode (off), resume caterpillar, wait (1) resume player, resume random enemies, resume box advance end # This USED to be the final boss... now it's just a script that runs in the final dungeon - because every tile # Saps your HP, and we don't want a visual indicator that it does. script,azathoth,begin if,begin key is pressed (key:x) # change this to choose your own key. By default, holding "x" when walking will make you run end then,begin if (hero is walking (me)==false) then,begin set hero speed (me,10) # This basically states that if "x" is held down, you'll move a little faster if (checktag(tag:SPRINT)==on) then (set hero speed (me,20)) # This line shows that if the stated tag is on, you'll dash faster. This particular tag is set to the # Brigand's "Is Leader" bitset, so when the brigand is in charge, you'll run quite fast. if (checktag(tag:DASH)==on) then (set hero speed (me,20)) # This line is like the above lines in that if the tag is on, you'll run at a blazing 20 pixels per tick. # That's one tile per tick! end end else,begin # This line states that if the player isn't holding "x", then the hero will only walk normally. if (hero is walking (me)==false) then,begin set hero speed (me,4) end end end script,credits,begin # This script was originally for the end credits that play after the epilogue. # It was found to be slightly defective for some reason, so its contents # Were moved into the epilogue script, where they now work fine. # Sometimes scripting be like that. end script,Bramget,begin suspend player, suspend box advance focus camera (8,7,4), wait for camera walk hero (me,down,2), wait for hero (me) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (601), wait (7), wait for key (usekey), advance text box show textbox (602), wait (7), wait for key (usekey), advance text box walk NPC (5,down,2), wait for NPC (5), wait (10) walk NPC (5,right,2), set NPC direction (5,down), wait for NPC (5) wait (10), walk NPC (5,right,2), set NPC direction (5,down) wait for NPC (5), wait (10), walk NPC (5,down,1) # Like Oolong, we wish for the most comfortable panties, and are rewarded! show textbox (603), play sound (sfx:Soft_Airy_Swish,false,true) wait (7), wait for key (usekey), advance text box set hero z (me,5), wait (2),set hero z (me,10), wait (2) set hero z (me,5), wait (2),set hero z (me,0), wait (2) set hero direction (me,left), wait (3) set hero direction (me,up), wait (3) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (604), wait (7), wait for key (usekey), advance text box show textbox (605), wait (7), wait for key (usekey), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (606), wait (7), wait for key (usekey), advance text box walk NPC (5,up,1), set NPC direction (5,down) show textbox (607), wait (7), wait for key (usekey), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (608), wait (7), wait for key (usekey), advance text box walk NPC (5,left,1), walk hero (me,right,1), wait for hero (me) walk NPC (5,down,1), walk hero (me,up,1), wait for hero (me) set NPC direction (5,right), set hero direction (me,left) show textbox (609), wait (7), wait for key (usekey), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (610), wait (7), wait for key (usekey), advance text box walk hero (me,left,1), wait for hero (me), walk hero (me,up,1), wait for hero (me) walk NPC (5,right,1), wait for NPC (5), set NPC direction (5,up) set hero direction (me,left), wait (4), set hero direction (me,down), wait (4) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (611), wait (7), wait for key (usekey), advance text box add hero (hero:Bram), wait (4), fade screen out wait (1), set tag(5,on), wait (3), set hero direction (me,up) camera follows hero, swap out hero (hero:Freki), lock hero (hero:Freki) wait (1), use door (0) resume player, resume box advance # Let's equip Bram with her initial gear! She has.. well rags mostly. force equip ((find hero (hero:Bram)),2,205) force equip ((find hero (hero:Bram)),3,208) force equip ((find hero (hero:Bram)),4,211) remember party end script,warriorget,begin # Time to get Kitt. remember party, suspend player, suspend box advance swap by position (0,find hero (hero:Bram)) set hero frame (me,1),wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (612), wait (7), wait for key (usekey), advance text box walk hero (me,left,2), wait for hero (me) set hero direction (me,down), wait (3), set hero direction (me,right), wait (3) walk NPC (17,left,1) show textbox (613), wait (7), wait for key (usekey), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (614), wait (7), wait for key (usekey), advance text box walk NPC (17,down,1) show textbox (615), wait (7), wait for key (usekey), advance text box set hero direction (me,down) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (616), wait (7), wait for key (usekey), advance text box walk hero (me,down,1), wait for hero walk hero (me,right,1), wait for hero set NPC direction (17,left) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (617), wait (7), wait for key (usekey), advance text box show textbox (618), wait (7), wait for key (usekey), advance text box add hero (hero:Kitt), suspend obstruction walk NPC (17,left,1), wait (4), resume obstruction # Kitt doesn't start with anything special. force equip ((find hero (hero:Kitt)),2,206) force equip ((find hero (hero:Kitt)),3,209) force equip ((find hero (hero:Kitt)),4,210) wait (1), set tag(79,on), wait (3), set hero direction (me,down) camera follows hero, wait (1) fade screen in, resume player, resume box advance, reinstate party end script,missionaryget,begin #Frumpy joins now. He's an expy of the Missionary from Eric the Viking. remember party, suspend player, suspend box advance show textbox (619), wait (7), wait for key (usekey), advance text box walk hero to x (me,42), wait for hero (me) walk hero to y (me,28), wait for hero (me) set caterpillar mode (on), set hero position (1, 42, 28) wait (1), suspend caterpillar walk hero (1,down,1), wait for hero (1) set hero direction (me,right), set hero direction (1,right) wait (2), focus camera (46,28,4), wait for camera show textbox (620), wait (7), wait for key (usekey), advance text box show textbox (621), wait (7), wait for key (usekey), advance text box focus camera (20,28,20), wait for camera , wait (10) focus camera (46,28,20), wait for camera set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) show textbox (622), walk hero (1,right,1), wait (7), wait for key (usekey), advance text box walk NPC (18,down,1), wait for NPC (18) walk NPC (18,left,2), set NPC direction (19,down), wait for NPC (18) show textbox (623), wait (7), wait for key (usekey), advance text box walk hero (me,right,1), set hero frame (me,1), wait (1) set hero frame (me,0), wait (1), set hero frame (me,1), wait (1) set hero frame (me,0), wait (1) show textbox (624), wait (7), wait for key (usekey), advance text box show textbox (625), wait (7), wait for key (usekey), advance text box walk hero (1,up,1), suspend obstruction walk NPC (18,left,2), wait for NPC (18) set caterpillar mode (off), wait (5) resume obstruction, resume caterpillar wait (1), set tag(80,on), focus camera (43,28,4) wait for camera, camera follows hero (me) add hero (hero:Frumpy), wait (1) resume player, resume box advance # Frumpy comes with rags too. We haven't met anyone who has something special - yet force equip ((find hero (hero:Frumpy)),2,205) force equip ((find hero (hero:Frumpy)),3,207) force equip ((find hero (hero:Frumpy)),4,212) end script,shamanget,begin # We're getting Night next - the game's traditional elemental mage. suspend player, suspend box advance, remember party swap by position (0,find hero (hero:Bram)) swap by position (1,find hero (hero:Kitt)) swap by position (2,find hero (hero:Frumpy)) set caterpillar mode (on), set hero position (1, 10, 36), set hero position (2, 10, 36) wait (1), suspend caterpillar, walk hero (1,down,1), walk hero (2,up,1), wait for hero (1) set hero direction (me,right), set hero direction (1,right), set hero direction (2,right), wait (2) show textbox (626), wait (7), wait for key (usekey), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (627), wait (7), wait for key (usekey), advance text box walk hero (2,right,1), wait for hero (2) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) show textbox (628), wait (7), wait for key (usekey), advance text box set NPC direction (20, down), wait (5), set NPC direction (20,left), wait (5) show textbox (629), wait (7), wait for key (usekey), advance text box walk hero (1,right), wait for hero (1) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) show textbox (630), wait (7), wait for key (usekey), advance text box set hero direction (2,down) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) show textbox (631), wait (7), wait for key (usekey), advance text box show textbox (632), set hero z (me,5), wait (2) set hero z (me,0), wait (2), set hero z (me,5), wait (2) set hero z (me,0), wait (2), set hero z (me,5), wait (2) set hero z (me,0), wait (2), wait for key (usekey), advance text box show textbox (633), wait (7), wait for key (usekey), advance text box walk hero (0,right,2), walk hero (1,left,1), wait for hero (0), walk hero (1,up,1) walk hero (2,down,1), set NPC direction (20, down), wait (5) set hero direction (2,right), set NPC direction (20,left), wait (5) set hero direction (1,right), wait (2), show textbox (634), wait (7) set hero direction (0,down), set hero direction (1,down) set hero direction (2,down), set NPC direction (20,down) wait (5), set hero direction (0,left), set hero direction (1,left), set hero direction (2,left) set NPC direction (20,left), walk NPC (19,right,8), wait for key (usekey), advance text box show textbox (635), wait (7), wait for key (usekey), advance text box walk hero (1,down,1) show textbox (636), wait (7), wait for key (usekey), advance text box walk NPC (20,down,2), wait for hero (1), walk hero (1,right,3), wait for NPC (20) walk NPC (20,left,3), wait for NPC (20), walk hero (1,up,1), walk NPC (20,up,2) wait for NPC (20), set hero direction (1,left), set NPC direction (20,left) show textbox (637), wait (7), wait for key (usekey), advance text box show textbox (638), wait (7), wait for key (usekey), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (639), wait (7), wait for key (usekey), advance text box show textbox (640), wait (7), wait for key (usekey), advance text box show textbox (641), wait (7), wait for key (usekey), advance text box walk NPC (19,left,8), set hero frame (2,1), wait (1) set hero frame (2,0), wait (1), set hero frame (2,1), wait (1) set hero frame (2,0), wait (1) show textbox (642), wait (7), wait for key (usekey), advance text box suspend obstruction, wait (1), walk NPC (20,right,2), walk hero (1,left,1) walk hero (2,right,1), wait for NPC (20) swap by position (0,find hero (hero:Kitt)), set caterpillar mode (off) wait (5), resume obstruction, resume caterpillar wait (2), add hero (hero:Night), set tag (81,on) resume player, resume box advance # Night doesn't have anything noteworthy. force equip ((find hero (hero:Night)),2,205) force equip ((find hero (hero:Night)),3,207) force equip ((find hero (hero:Night)),4,212), encounters end # Time to pick up Styrge. She joins just after defeating the first real boss. # She's kind of a hybrid between a fighter, rogue, and mage, # Who specializes in outright slaying many enemy types. script,rangerget,begin # We're going to start seeing this particular line a LOT from here on. remember party, suspend player, suspend box advance, suspend obstruction walk NPC (23,left,2) show textbox (643), wait (7), wait for key (usekey), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (644), wait (7), wait for key (usekey), advance text box show textbox (645), wait (7), wait for key (usekey), advance text box show textbox (646), wait (7), wait for key (usekey), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (647), wait (7), wait for key (usekey), advance text box show textbox (648), wait (7), wait for key (usekey), advance text box show textbox (649), wait (7), wait for key (usekey), advance text box walk hero (me,right,1), walk NPC (23,left,1), wait for hero (me) resume obstruction, wait (2), add hero (hero:Styrge) set tag (82,on), resume player, resume box advance # Styrge comes with some useful equipment but nothing noteworthy. force equip ((find hero (hero:Styrge)),2,206) force equip ((find hero (hero:Styrge)),3,208) force equip ((find hero (hero:Styrge)),4,211), encounters end #This script is for falling into pits in Surtr's Temple that are to the west of you. script,westernpit,begin suspend player, suspend box advance walk hero (me,left,3), wait for hero (me) set hero direction (me,down), wait (10) walk hero (me,down,1), wait (5) set hero direction (me,up), walk hero (me,down,4) set hero speed (me,10), wait for hero (me) set hero direction (me,down), set hero speed (me,4) resume player, resume box advance end #This script is for falling into pits in Surtr's Temple that are to the east of you. script,easternpit,begin suspend player, suspend box advance walk hero (me,right,3), wait for hero (me) set hero direction (me,down), wait (10) walk hero (me,down,1), wait (5) set hero direction (me,up), walk hero (me,down,4) set hero speed (me,10), wait for hero (me) set hero direction (me,down), set hero speed (me,4) resume player, resume box advance end # This script is for the southernmost pit in Surtr's Temple. script,southernpit,begin suspend player, suspend box advance walk hero to y (me,56), wait for hero (me) walk hero to x (me,51), wait for hero (me) set hero direction (me,down), wait (10) walk hero (me,down,1), wait (5) set hero direction (me,up), walk hero (me,down,4) set hero speed (me,10), wait for hero (me) set hero direction (me,down), set hero speed (me,4) resume player, resume box advance end # Final Pit script. This one's for the one on the first floor # In the dead center of the temple. script,firstpit,begin suspend player, suspend box advance walk hero to x (me,39), wait for hero (me) set hero direction (me,down), wait (10) set hero direction (me,up), walk hero (me,down,4) set hero speed (me,10), wait for hero (me) set hero direction (me,down), set hero speed (me,4) resume player, resume box advance end # We're getting Hilda now. Hilda's a frontline fighter with buffs and way later, # A healing spell that lets her compete with Frumpy as a competant medic. # Functionally she's like a cross between FF4's Cecil AND Kain. script,valkyrieget,begin suspend player, suspend box advance, suspend random enemies,remember party walk hero (me,down,1), wait for hero (me) set hero direction (me,up), set caterpillar mode (on) set NPC direction (5,down), set hero position (1, 21, 11), set hero position (2, 21, 11), set hero position (3, 21, 11) wait (1), suspend caterpillar walk hero (me,up,1), walk hero (1,left,1), walk hero (2, right,1), wait for hero (me) # Now, beacuse they've moved, we set the heroes on the side to all face the same direction. set hero direction (1,up), set hero direction (2,up), set hero direction (3,up), wait (1) show textbox (651), wait (7), wait for key (usekey), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (652), wait (7), wait for key (usekey), advance text box show textbox (653), wait (7), wait for key (usekey), advance text box set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) show textbox (654), wait (7), wait for key (usekey), advance text box show textbox (655), wait (7), wait for key (usekey), advance text box set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) show textbox (656), wait (7), wait for key (usekey), advance text box show textbox (657), wait (7), wait for key (usekey), advance text box show textbox (658), wait (7), wait for key (usekey), advance text box walk hero (1,right,1), walk hero (me,down,1), walk NPC (5,down,2), wait for NPC (5) set hero direction (me,right), set hero direction (1,right) set hero direction (3,right), set NPC direction (5,right), set hero direction (2,left) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) show textbox (659), wait (7), wait for key (usekey), advance text box show textbox (660), wait (7), wait for key (usekey), advance text box walk hero (2,left,1), add hero (hero:Hilda), set tag (84,on) wait (2), resume obstruction, set caterpillar mode (off) resume caterpillar, resume player, resume box advance, resume random enemies # Hilda comes with some decent starting gear already. force equip ((find hero (hero:Hilda)),1,21) force equip ((find hero (hero:Hilda)),2,58) force equip ((find hero (hero:Hilda)),3,69) force equip ((find hero (hero:Hilda)),4,149), encounters end script,grinlow,begin remember party, suspend player, suspend box advance, suspend random enemies walk hero (me,down,1), wait for hero (me), walk hero to x (me,51) focus camera (51,51,4), wait for hero (me), set caterpillar mode (on) set hero position (1, 51, 51), set hero position (2, 51, 51), set hero position (3, 51, 51) wait (1), suspend caterpillar, walk hero (1,left,1), walk hero (2,up,1) walk hero (3,right,1), wait for hero (3) set hero direction (me,down), set hero direction (1,down), set hero direction (2,down), set hero direction (3,down) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (679), wait (7), wait for key (usekey), advance text box set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) show textbox (680), wait (7), wait for key (usekey), advance text box show textbox (681), wait (7), wait for key (usekey), advance text box set tag (86,on), wait (5), set hero direction (me,up) set hero direction (1,up), set hero direction (2,up), set hero direction (3,up) focus camera (51,49,4), wait for camera, wait (5) walk NPC (11,down,1), wait for NPC (11) show textbox (682), wait (7), wait for key (usekey), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (683), wait (7), wait for key (usekey), advance text box show textbox (684), wait (7), wait for key (usekey), advance text box show textbox (685), wait (7), wait for key (usekey), advance text box show textbox (686), wait (7), wait for key (usekey), advance text box wait (5), stop song, wait (5) show textbox (687), wait (7), wait for key (usekey), advance text box show textbox (688), wait (7), wait for key (usekey), advance text box wait (5), tweak palette (-20,-20,-20), fade screen in, wait (4) focus camera (51,51,4), wait for camera set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (689), wait (7), wait for key (usekey), advance text box BossIntroduction, fight formation (119), set tag (87,on) walk hero (me,down), wait for hero (me), set hero direction (me,left), set hero direction (2,left) wait (3), set hero direction (me,up), set hero direction (1,right) set hero direction (2,down), set hero direction (3,left), wait (5) set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) show textbox (690), wait (7), wait for key (usekey), advance text box set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) show textbox (691), wait (7), wait for key (usekey), advance text box set hero direction (3,up), wait (5), walk hero (3,up,1) wait for hero (3), focus camera (51,47,4), wait for camera wait (15), focus camera (51,51,4), wait for camera walk hero (3,down,1), wait for hero (3), set hero direction (3,left) set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) show textbox (692), wait (7), wait for key (usekey), advance text box set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) show textbox (693), wait (7), wait for key (usekey), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (694), wait (7), wait for key (usekey), advance text box walk hero (me,up,1), walk hero (1,right,1), walk hero (2,down,1) walk hero (3,left,1), wait for hero (me), camera follows hero (me) set caterpillar mode (off), resume caterpillar, wait (1) resume player, resume random enemies, resume box advance, encounters end script,skaldget,begin # Time to get Eric. He's a bard - his specialties are buffing the party, # But he makes for a competant fighter in a pinch. suspend player,remember party, suspend box advance, suspend random enemies show textbox (695), wait (7), wait for key (usekey), advance text box walk hero to y (me,9), wait for hero (me) walk hero to x (me,17), wait for hero (me) set caterpillar mode (on), set hero position (1, 17, 9) set hero position (2, 17, 9), set hero position (3, 17, 9) wait (1), suspend caterpillar walk hero (1,left,1), walk hero (2,down,1), walk hero (3,right,1), walk NPC (4,down,7) wait for hero (3), set hero direction (me,up) set hero direction (1,up), set hero direction (2,up), set hero direction (3,up), suspend obstruction show textbox (696), wait (7), wait for key (usekey), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (697), wait (7), wait for key (usekey), advance text box show textbox (698), wait (7), wait for key (usekey), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (699), wait (7), wait for key (usekey), advance text box show textbox (700), wait (7), wait for key (usekey), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (701), wait (7), wait for key (usekey), advance text box show textbox (702), wait (7), wait for key (usekey), advance text box walk NPC (4,down,2), walk hero (1,right,1), walk hero (2,up,1) walk hero (3,left,1), wait for NPC (4), resume obstruction set tag (88,on), add hero (hero:Eric) set caterpillar mode (off), resume caterpillar, wait (1) resume player, resume random enemies, resume box advance # Eric comes equipped with Mithril type gear already equipped, so he's # Ready to go from the start. He also starts out with a Lute in his relic slot # Which lets him resist silence, so he's pretty handy! force equip ((find hero (hero:Eric)),2,52) force equip ((find hero (hero:Eric)),3,72) force equip ((find hero (hero:Eric)),4,86) force equip ((find hero (hero:Eric)),5,98), encounters end script,whalepunch,begin # Ke ke ke ke ke ke suspend player, suspend box advance, suspend random enemies, suspend NPCs, suspend obstruction walk NPC (6,left,2), wait for NPC (6), wait (10) set NPC speed (6,20), walk NPC (6,right,2), wait for NPC (6) play sound (sfx:Crush8Bit,false,true), suspend hero walls set hero speed (me,20), walk hero to x (me,56), set hero direction (me,left) show textbox (711), wait (1), set hero z (me,10), wait (1) set hero z (me,20), wait (1), set hero z (me,30), wait (1) set hero z (me,40), wait (1), set hero z (me,50), wait (1) set hero z (me,60), wait (1), set hero z (me,70), wait (1) set hero z (me,80), wait (1), set hero z (me,90), wait (1) set hero z (me,100), wait (1), set hero z (me,120), wait (1) set hero z (me,130), wait for hero (me), wait (1), set hero z (me,120) wait (1), set hero z (me,110), wait (1), set hero z (me,100) wait (1), set hero z (me,90), wait (1), set hero z (me,80) wait (1), set hero z (me,70), wait (1), set hero z (me,60) wait (1), set hero z (me,50), wait (1), set hero z (me,40) wait (1), set hero z (me,30), wait (1), set hero z (me,20) wait (1), set hero z (me,10), wait (1), set hero z (me,0) play sound (sfx:Collision8Bit,false,true) wait (1), set hero z (me,10), wait (1), set hero z (me,20) wait (1), set hero z (me,30), wait (1), set hero z (me,40) wait (1), set hero z (me,30), wait (1), set hero z (me,20) wait (1), set hero z (me,10), wait (1), set hero z (me,0) play sound (sfx:Collision8Bit,false,true) wait (1), set hero z (me,10), wait (1), set hero z (me,20) wait (1), set hero z (me,30), wait (1), set hero z (me,20) wait (1), set hero z (me,10), wait (1), set hero z (me,0) play sound (sfx:Collision8Bit,false,true) wait (1), set hero z (me,10), wait (1), set hero z (me,20) wait (1), set hero z (me,10), wait (1), set hero z (me,0) play sound (sfx:Collision8Bit,false,true) wait (1), set hero z (me,10), wait (1), set hero z (me,0) play sound (sfx:Collision8Bit,false,true) wait (1), advance textbox, resume hero walls, wait (1) resume player, resume random enemies, resume box advance, resume NPCs, resume obstruction, encounters end script,whaleland,begin suspend player, suspend box advance, suspend random enemies walk hero (me,left,1), wait for hero (me), suspend hero walls walk hero (me,down,5), set hero direction (me,up), wait for hero (me) resume hero walls, resume player, resume box advance, resume random enemies, encounters end script,berserkerget,begin # Time to get Olaf in the group! He's a raw physical fighter, who can output # Damage in far greater amounts than anyone else from start to finish. suspend player, suspend box advance, suspend random enemies, suspend obstruction, remember party show textbox (712), wait (7), wait for key (usekey), advance text box show textbox (713), wait (7), wait for key (usekey), advance text box walk hero to y (me,28), wait for hero (me), walk hero to x (me,29), wait for hero (me) set hero direction (me,up), wait (10), walk hero (me,up,4), wait for hero (me) swap by position (0,find hero (hero:Kitt)), swap by position (2,find hero (hero:Frumpy)) wait (2), walk hero (me,up,3), wait for hero (me), set caterpillar mode (on) set hero position (1, 23, 27), set hero position (2, 23, 27), set hero position (3, 23, 27), wait (1) suspend caterpillar, walk hero (1,left,1), walk hero (2,down,1), walk hero (3,right,1) wait for hero (3), set hero direction (me,up), set hero direction (1,up), set hero direction (2,up) set hero direction (3,up), wait (5), focus camera (23,26,4), wait for camera, set NPC direction (17,down) show textbox (714), wait (7), wait for key (usekey), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (715), wait (7), wait for key (usekey), advance text box set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) show textbox (716), wait (7), wait for key (usekey), advance text box show textbox (717), walk NPC (12,left,1), wait (7), wait for key (usekey), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (718), wait (7), wait for key (usekey), advance text box set NPC direction (12,down), set hero direction (me,down), set hero direction (1,right) set hero direction (2,up), set hero direction (3,left) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) show textbox (719), wait (7), wait for key (usekey), advance text box show textbox (720), wait (7), wait for key (usekey), advance text box walk NPC (12,right,1), wait for NPC (12), walk NPC (12,down,1), wait for NPC (12) show textbox (721), wait (7), wait for key (usekey), advance text box set hero direction (me,up), set hero direction (1,up), set hero direction (2,up), set hero direction (3,up) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) show textbox (722), wait (7), wait for key (usekey), advance text box show textbox (723), wait (7), wait for key (usekey), advance text box BossIntroduction, fight formation (120), reinstate party swap by position (0,find hero (hero:Kitt)), swap by position (2,find hero (hero:Frumpy)) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (724), wait (7), wait for key (usekey), advance text box show textbox (725), wait (7), wait for key (usekey), advance text box focus camera (23,27,4), walk NPC (20,up,3) show textbox (726), wait (7), wait for key (usekey), set hero direction (me,left), set hero direction (1,right) set hero direction (2,left), set hero direction (3,left), advance text box, wait (3) set hero direction (me,down), set hero direction (1,down) set hero direction (2,down), set hero direction (3,down), walk NPC (12,down,2) show textbox (727), wait (7), wait for key (usekey), advance text box walk NPC (17,down,1), show textbox (728), wait (7), wait for key (usekey), advance text box set NPC direction (12,left), set hero direction (me,left), set hero direction (1,right) set hero direction (2,left), set hero direction (3,left), wait (3) set hero direction (me,up), set hero direction (1,up), set hero direction (2,up), set hero direction (3,up) show textbox (729), wait (7), wait for key (usekey), advance text box show textbox (730), wait (7), wait for key (usekey), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (731), wait (7), wait for key (usekey), advance text box show textbox (732), wait (7), wait for key (usekey), advance text box show textbox (733), wait (7), wait for key (usekey), advance text box walk hero (1,right,1), walk hero (2,up,1), walk hero (3,left,1), walk NPC (12,down) set tag (89,on), add hero (hero:Olaf), resume obstruction, set caterpillar mode (off) resume caterpillar, wait (1), set hero direction (me,left), wait (5) set hero direction (me,down), wait (5) show textbox (734), wait (7), wait for key (usekey), advance text box walk NPC (20,down,3), resume player, resume box advance resume random enemies, camera follows hero (me), reinstate party # Olaf actually comes equipped with a sword as a hat! # Though silly, it means he starts off doing a LOT more damage than anyone else. force equip ((find hero (hero:Olaf)),2,36) force equip ((find hero (hero:Olaf)),3,67) force equip ((find hero (hero:Olaf)),4,83) force equip ((find hero (hero:Olaf)),5,92), encounters end script,randomboxpuzzle,begin if (random(1,100) >= 50) then (set tag(90,on)) else (set tag(90,off)) if (random(1,100) >= 50) then (set tag(91,on)) else (set tag(91,off)) if (random(1,100) >= 50) then (set tag(92,on)) else (set tag(92,off)) if (random(1,100) >= 50) then (set tag(93,on)) else (set tag(93,off)) if (random(1,100) >= 50) then (set tag(94,on)) else (set tag(94,off)) if (random(1,100) >= 50) then (set tag(95,on)) else (set tag(95,off)) if (random(1,100) >= 50) then (set tag(96,on)) else (set tag(96,off)) set tag (98,off),use door (8) end script,randomboxprize,begin #Happens at Midnight, you get an apple! if (system hour == 0) then (show text box (747)) #At 1 AM, you get 100 Gold if (system hour == 1) then (show text box (748)) #At 2 AM, you get a jar of Honey! if (system hour == 2) then (show text box (749)) #At 3 AM, you get a Soma Drop! if (system hour == 3) then (show text box (750)) #At 4 AM, you get a Panacea! if (system hour == 4) then (show text box (751)) #At 5 AM, you find a Throwing Dart! if (system hour == 5) then (show text box (752)) #At 6 AM, you find 3 Meads! if (system hour == 6) then (show text box (753), get item (1,3)) #At 7 AM, you get a sleeping bag! if (system hour == 7) then (show text box (754)) #At 8 AM, you get 500 Gold! if (system hour == 8) then (show text box (755)) #At 9 AM, you get 100 Gold and 1 Mead! if (system hour == 9) then (show text box (756), get item (1,1)) #At 10 AM, you get 1 Apple and 1 Soma! if (system hour == 10) then (show text box (757), get item (115,1), get item (116,1)) #at 11 AM, you get either a potion of vigor, or 100 gold! if (system hour == 11) then (show text box (758)) #Happens at Midday, you get an apple! if (system hour == 12) then (show text box (747)) #At 1 PM, you get 100 Gold if (system hour == 13) then (show text box (748)) #At 2 PM, you get a jar of Honey! if (system hour == 14) then (show text box (749)) #At 3 PM, you get a Soma Drop! if (system hour == 15) then (show text box (750)) #At 4 PM, you get a Panacea! if (system hour == 16) then (show text box (751)) #At 5 PM, you find a Throwing Dart! if (system hour == 17) then (show text box (752)) #At 6 PM, you find 3 Meads! if (system hour == 18) then (show text box (753), get item (1,3)) #At 7 PM, you get a sleeping bag! if (system hour == 19) then (show text box (754)) #At 8 PM, you get 500 Gold! if (system hour == 20) then (show text box (755)) #At 9 PM, you get 100 Gold and 1 Mead! if (system hour == 21) then (show text box (756), get item (1,1)) #At 10 PM, you get 1 Apple and 1 Soma! if (system hour == 22) then (show text box (757), get item (115,1), get item (116,1)) #at 11 PM, you get either a potion of vigor, or 100 gold! if (system hour == 23) then (show text box (758)) end script,enteralfheim,begin suspend player, suspend box advance, suspend random enemies,remember party swap by position (0,find hero (hero:Styrge)), set caterpillar mode (on) set hero position (1, 10, 13), set hero position (2, 10, 13), set hero position (3, 10, 13) wait (1), suspend caterpillar, walk hero (me,right,1) walk hero (1,up,1), walk hero (2,left,1), walk hero (3,down,1) wait for hero (me), set hero direction (me,down), set hero direction (1,right) set hero direction (2,down), set hero direction (3,right), wait (5) set hero direction (me,left), set hero direction (1,down), set hero direction (2,left) set hero direction (3,up), wait (5) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (804), wait (7), wait for key (usekey), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (805), wait (7), wait for key (usekey), advance text box walk hero (me,left,1), walk hero (1,down,1), walk hero (2,right,1) walk hero (3,up,1), wait for hero (me), resume caterpillar set caterpillar mode (off), resume player resume box advance, resume random enemies,reinstate party, encounters end script, jint, begin # And now we summon the jint of mah butt remember party, suspend player, suspend box advance, suspend random enemies walk hero (me,up,2), wait for hero (me), set caterpillar mode (on) set hero position (1, 47, 37), set hero position (2, 47, 37), set hero position (3, 47, 37) wait (1), suspend caterpillar walk hero (1,left,1), walk hero (2,down,1), walk hero (3,right,1), wait for hero (3) set hero direction (me,up), set hero direction (1,up), set hero direction (2,up), set hero direction (3,up) wait (5), focus camera (47,36,4), wait for camera, walk NPC (11,down,3), wait for NPC (11) show textbox (818), wait (7), wait for key (usekey), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (819), wait (7), wait for key (usekey), advance text box show textbox (820), wait (7), wait for key (usekey), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (821), wait (7), wait for key (usekey), advance text box walk hero (1,up,1) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) show textbox (822), wait (7), wait for key (usekey), advance text box show textbox (823), wait (7), wait for key (usekey), advance text box walk hero (me,up,1), set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (824), wait (7), wait for key (usekey), advance text box show textbox (825), wait (7), wait for key (usekey), advance text box show textbox (826), wait (7), wait for key (usekey), advance text box show textbox (827), wait (7), wait for key (usekey), advance text box wait (5), stop song, wait (5) show textbox (828), wait (7), wait for key (usekey), advance text box show textbox (829), wait (7), wait for key (usekey), advance text box wait (5), tweak palette (-20,-20,-20), fade screen in, wait (4) focus camera (47,36,4), wait for camera, set hero frame (me,1), wait (1) set hero frame (me,0), wait (1), set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (830), wait (7), wait for key (usekey), advance text box walk hero (2,up,1), walk hero (3,up,1) BossIntroduction, fight formation (121), set tag (99,on) camera follows hero (me), walk hero (me,up,1) set hero direction (me,down), set hero direction (1,right), set hero direction (3,left) set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) show textbox (831), wait (7), wait for key (usekey), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (832), wait (7), wait for key (usekey), advance text box set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) show textbox (833), wait (7), wait for key (usekey), advance text box walk NPC (13,right,9), wait for NPC (13), set NPC direction (13,down) set hero direction (me,up), set hero direction (1,up), set hero direction (3,up) show textbox (834), wait (7), wait for key (usekey), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (835), wait (7), wait for key (usekey), advance text box show textbox (836), wait (7), wait for key (usekey), advance text box show textbox (837), wait (7), wait for key (usekey), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (838), wait (7), wait for key (usekey), advance text box show textbox (839), wait (7), wait for key (usekey), advance text box show textbox (840), wait (7), wait for key (usekey), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (841), wait (7), wait for key (usekey), advance text box show textbox (842), wait (7), wait for key (usekey), advance text box walk hero (me,down,1), walk hero (1,right,1), walk hero (2,up,1), walk hero (3,left,1) wait for hero (me), resume caterpillar, set caterpillar mode (off) resume player, resume box advance, resume random enemies, use door (1), set tag (100,on), encounters end script,thule1,begin # Party enters Thule to free the town from.. eh. suspend player, suspend box advance, suspend random enemies, suspend obstruction, remember party walk hero (me,down,1), wait for hero (me), swap by position (0,find hero (hero:Hilda)) swap by position (1,find hero (hero:Styrge)), swap by position (2,find hero (hero:Eric)) swap by position (3,find hero (hero:Frumpy)), set caterpillar mode (on) walk NPC (9,left,8), set hero position (1, 13, 27), set hero position (2, 13, 27), set hero position (3, 13, 27) set NPC position (5,13,27), set NPC position (6,13,27), set NPC position (7,13,27), set NPC position (8,13,27) focus camera (13,27,4), wait for camera, wait (1), suspend caterpillar walk NPC (8,left,1), walk NPC (6,down,1), wait for NPC (6), walk NPC (8,left,1) walk NPC (6,left,1), walk NPC (7,left,1), walk NPC (5,down,1), wait for NPC (5) walk NPC (8,left,1), walk NPC (6,left,1), walk NPC (7,left,1), walk NPC (5,left,1) walk hero (1,up,1), walk hero (2,left,1), walk hero (3,down,1), wait for hero (3) set hero direction (1,right), set hero direction (2,down), set hero direction (3,right) set NPC direction (5,down), set NPC direction (6,down), set NPC direction (7,down) set NPC direction (8,down), wait (5), set NPC direction (5,right) set NPC direction (6,right), set NPC direction (7,right), set NPC direction (8,right) set hero direction (me,right), set hero direction (2,right), wait (5) # everyone should be in position now to do their talking? show textbox (844), wait (7), wait for key (usekey), advance text box show textbox (845), wait (7), wait for key (usekey), advance text box walk NPC (9,right,8), set NPC direction (7,down) show textbox (846), wait (7), wait for key (usekey), advance text box set hero direction (3,down), wait (3), set hero direction (3,left), wait (3) set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) show textbox (847), wait (7), wait for key (usekey), advance text box set NPC direction (7,right), set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) show textbox (848), wait (7), wait for key (usekey), advance text box set hero direction (0,down), set hero direction (3,up) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (849), wait (7), wait for key (usekey), advance text box set NPC direction (5,down) show textbox (850), wait (7), wait for key (usekey), advance text box set hero direction (1,down), set NPC direction (5,right), wait (3), set NPC direction (5,up) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) show textbox (851), wait (7), wait for key (usekey), advance text box walk hero (me,right,1), walk hero (1,right,1), wait for hero (me) set hero direction (1,left), set hero direction (me,left), set hero direction (2,right) set hero direction (3,up), set NPC direction (5,right), set NPC direction (6,right) set NPC direction (7,right), set NPC direction (8,right) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (852), wait (7), wait for key (usekey), advance text box show textbox (853), wait (7), wait for key (usekey), advance text box set NPC direction (6,down), wait (3), set NPC direction (6,left) show textbox (854), wait (7), wait for key (usekey), advance text box walk hero (2,right,1), wait for hero (2), set hero direction (2,down), wait (3) set hero direction (2,left), set hero frame (1,1), wait (1) set hero frame (1,0), wait (1), set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) show textbox (855), wait (7), wait for key (usekey), advance text box show textbox (856), wait (7), wait for key (usekey), advance text box walk hero (me,right,8), walk hero (1,right,8), walk hero (2,right,8), walk hero (3,right,2) wait for hero (3), wait (10), set hero direction (3,down), set NPC direction (5,right) set NPC direction (6,right), set NPC direction (7,right), set NPC direction (8,right) wait (3), set hero direction (3,left), wait (3) set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) show textbox (857), wait (7), wait for key (usekey), advance text box walk NPC (7,right,2), wait (5) show textbox (858), wait (7), wait for key (usekey), advance text box set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) show textbox (859), wait (7), wait for key (usekey), advance text box fade screen out, lock hero (hero:Kitt), lock hero (hero:Bram) lock hero (hero:Olaf), lock hero (hero:Night), wait (2) resume caterpillar, set caterpillar mode (off), resume player resume box advance, resume random enemies, resume obstruction, set tag (101,on) wait (1), camera follows hero (me), wait (4), fade screen in, encounters end script,thule2,begin suspend player, suspend box advance, suspend random enemies, suspend obstruction, remember party set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (861), wait (7), wait for key (usekey), advance text box show textbox (862), wait (7), wait for key (usekey), advance text box # walk to doggy walk hero to X (me,16), wait for hero (me), walk hero to Y (me,19), wait for hero (me) set hero direction (me,right), wait (3), set hero position (1, 16, 19) set hero position (2, 16, 19), set hero position (3, 16, 19), wait (1) set caterpillar mode (on), suspend caterpillar, wait (1) walk hero (1,up,1), walk hero (2,left,1), walk hero (3,down,1), wait for hero (3) set hero direction (1,right), set hero direction (2,right), set hero direction (3,right) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (863), wait (7), wait for key (usekey), advance text box # dogero jumps and turns set NPC frame (1,0), wait (1), set NPC frame (1,1), wait (1) set NPC frame (1,0), wait (1), set NPC frame (1,1), wait (1) set NPC frame (1,0), wait (1), set NPC frame (1,1), wait (1) set NPC direction (1,down), wait (3), set NPC direction (1,left), wait (3) show textbox (864), wait (7), wait for key (usekey), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (865), wait (7), wait for key (usekey), advance text box show textbox (866), wait (7), wait for key (usekey), advance text box show textbox (867), wait (7), wait for key (usekey), advance text box, walk hero (me,right,1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (868), wait (7), wait for key (usekey), advance text box walk hero (me,left,1), set hero direction (me,right) show textbox (869), wait (7), wait for key (usekey), advance text box show textbox (870), wait (7), wait for key (usekey), advance text box walk NPC (1,left,1), wait for NPC (1) show textbox (871), wait (7), wait for key (usekey), advance text box set NPC direction (1,up), wait (3) show textbox (872), wait (7), wait for key (usekey), advance text box # walk bob down to fight too! walk NPC (2,down,2), set hero direction (me,up), set hero direction (3,up), wait for NPC (2) show textbox (873), wait (7), wait for key (usekey), advance text box show textbox (874), wait (7), wait for key (usekey), advance text box show textbox (875), wait (7), wait for key (usekey), advance text box # walk chewie left to fight! walk NPC (3,left,7), wait for NPC (2), set NPC direction (2,down), wait (3) show textbox (876), wait (7), wait for key (usekey), advance text box show textbox (877), wait (7), wait for key (usekey), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (878), wait (7), wait for key (usekey), advance text box # fight with bobn chewie wait (3), BossIntroduction, fight formation (109) show textbox (879), wait (7), wait for key (usekey), advance text box set NPC direction (1,left), set hero direction (me,right), set hero direction (3,right) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (880), wait (7), wait for key (usekey), advance text box walk NPC (1, right,3), wait for NPC (1), walk NPC (1, down,10), walk NPC (3,down,1), wait for NPC (10) show textbox (881), wait (7), wait for key (usekey), advance text box, set hero direction (me,up) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (882), wait (7), wait for key (usekey), advance text box set hero direction (2,left), set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) show textbox (883), wait (7), wait for key (usekey), advance text box show textbox (884), wait (7), wait for key (usekey), advance text box set hero direction (1,up), set hero direction (2,up), set hero direction (3,up), wait (5) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (885), wait (7), wait for key (usekey), advance text box walk NPC (3,down,1), set hero direction (0,right), set hero direction (1,right) set hero direction (2,right), set hero direction (3,right) show textbox (886), wait (7), wait for key (usekey), advance text box walk NPC (3,down,4), wait for NPC (3), set hero direction (0,down), set hero direction (1,down) set hero direction (2,down), set hero direction (3,down), walk NPC (3,down,10), wait for NPC (3) set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) show textbox (887), wait (7), wait for key (usekey), advance text box set tag (tag:Thule2,on), walk NPC (2,up,2), walk hero (1,down,1), walk hero (2,right,1) walk hero (3,up,1), wait for hero (me), resume caterpillar set caterpillar mode (off), resume player, resume box advance resume obstruction, resume random enemies, encounters end script,alfheim1,begin remember party, suspend random enemies, suspend player, suspend box advance, suspend NPCs, suspend obstruction walk hero to X (me,26), wait for hero (me), walk hero to Y (me,10), focus camera (26,11,4) suspend caterpillar, wait (2), set hero direction (me,down), wait (2) set caterpillar mode (on), set NPC position (11,26,18), set hero position (1, 26, 10) set hero position (2, 26, 10), set hero position (3, 26, 10), walk NPC (11,up,6) wait for NPC (11), set NPC position (12,26,12), set NPC position (13,26,12) set NPC position (14,26,12), wait (1),remember party swap by position (0,find hero (hero:Styrge)), swap by position (1,find hero (hero:Hilda)) swap by position (2,find hero (hero:Eric)), swap by position (3,find hero (hero:Frumpy)) wait (3), walk hero (1,up,1), walk hero (2,left,1), walk hero (3,right,1) walk NPC (12,left,1), walk NPC (13,down,1), walk NPC (14,right,1), wait (3) set hero direction (1,down), set hero direction (2,down), set hero direction (3,down) set NPC direction (12,up), set NPC direction (13,up), set NPC direction (14,up), wait (1) wait for hero (me), set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (895), wait (7), wait for key (usekey), advance text box show textbox (896), wait (7), wait for key (usekey), advance text box show textbox (897), wait (7), wait for key (usekey), advance text box set hero Z (2,5), wait (1), set hero Z (2,0), wait (1), set hero Z (2,5), wait (1) set hero Z (2,0), wait (1), set hero Z (2,5), wait (1), set hero Z (2,0), wait (1) show textbox (898), wait (7), wait for key (usekey), advance text box set hero Z (3,5), wait (1), set hero Z (3,0), wait (1), set hero Z (3,5), wait (1) set hero Z (3,0), wait (1), set hero Z (3,5), wait (1), set hero Z (3,0), wait (1) show textbox (899), wait (7), wait for key (usekey), advance text box set NPC frame (12,0), wait (1), set NPC frame (12,1), wait (1) set NPC frame (12,0), wait (1), set NPC frame (12,1), wait (1) set NPC frame (12,0), wait (1), set NPC frame (12,1), wait (1) show textbox (900), wait (7), wait for key (usekey), advance text box set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) show textbox (901), wait (7), wait for key (usekey), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (902), wait (7), wait for key (usekey), advance text box set NPC direction (11,left), wait (2) show textbox (903), wait (7), wait for key (usekey), advance text box set NPC direction (12,right), wait (2) show textbox (904), wait (7), wait for key (usekey), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (905), wait (7), wait for key (usekey), advance text box set NPC direction (11,up), set NPC direction (12,up) show textbox (906), wait (7), wait for key (usekey), advance text box set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) show textbox (907), wait (7), wait for key (usekey), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (908), wait (7), wait for key (usekey), advance text box fade screen out, focus camera (26,22,20),remember party swap by position (0,find hero (hero:Styrge)), swap by position (1,find hero (hero:Olaf)) swap by position (2,find hero (hero:Eric)), swap by position (3,find hero (hero:Night)) wait (1), unlock hero (hero:Olaf), unlock hero (hero:Night) lock hero (hero:Frumpy), lock hero (hero:Hilda), wait (2), stop song set tag (tag:CTHULHU1, off), wait for camera, fade screen in, wait (1), play song (song:Vile) set NPC direction (19,left), wait (3), set NPC direction (19,down), wait (3) show textbox (909), wait (7), wait for key (usekey), advance text box show textbox (910), wait (7), wait for key (usekey), advance text box set NPC direction (16,right), set NPC direction (17,right), set NPC direction (19,right), wait (2) show textbox (911), wait (7), wait for key (usekey), advance text box show textbox (912), wait (7), wait for key (usekey), advance text box show textbox (913), wait (7), wait for key (usekey), advance text box show textbox (914), wait (7), wait for key (usekey), advance text box set NPC direction (16,up), set NPC direction (17,up), set NPC direction (19,down), wait (1) show textbox (915), wait (7), wait for key (usekey), advance text box wait (2), tweak palette (20,-20,20), fade screen in, wait (4), set tag (tag:CTHULHU1, on) set NPC position (36,26,20), play sound (sfx:MediumExplosion8Bit,false,true) set NPC direction (36,up), set NPC frame (36,0), wait (2) set NPC direction (36,up), set NPC frame (36,1), wait (2) set NPC direction (36,right), set NPC frame (36,0), wait (2) set NPC direction (36,right), set NPC frame (36,1), wait (2) set NPC direction (36,down), set NPC frame (36,0), wait (2) set NPC direction (36,down), set NPC frame (36,1), wait (2) set NPC direction (36,left), set NPC frame (36,0), wait (2) set NPC direction (36,left), set NPC frame (36,1), wait (2) set NPC position (36,0,1), wait (3), reset palette, fade screen in walk NPC (18,up,2), wait for NPC (18), play song (song:Nameless Sorcerer) set NPC direction (16,right), set NPC direction (17,right) show textbox (916), wait (7), wait for key (usekey), advance text box show textbox (917), wait (7), wait for key (usekey), advance text box set NPC direction (18,left), wait (3), set NPC direction (18,down), wait (3) show textbox (918), wait (7), wait for key (usekey), advance text box show textbox (919), wait (7), wait for key (usekey), advance text box show textbox (920), wait (7), wait for key (usekey), advance text box set NPC direction (18,left), wait (3), set NPC direction (18,up), wait (3) show textbox (921), wait (7), wait for key (usekey), advance text box, walk NPC (17,left,1) show textbox (922), wait (7), wait for key (usekey), advance text box show textbox (923), wait (7), wait for key (usekey), advance text box show textbox (924), wait (7), wait for key (usekey), advance text box show textbox (925), wait (7), wait for key (usekey), advance text box fade screen out , wait (3), stop song, wait (2), set tag (104,on), wait (2) camera follows hero (me), resume random enemies, resume player resume obstruction, resume NPCs, resume box advance, resume caterpillar set caterpillar mode (off), wait (4), play song (song:Life Returns), fade screen in, encounters end script,niffbox,begin remember party, suspend player, suspend box advance show textbox (932), wait (7), wait for key (usekey), advance text box focus camera (10,18,5), wait for camera, wait (10) focus camera (12,28,5), wait for camera, wait (10) focus camera (22,24,5), wait for camera, wait (5) camera follows hero (me), resume box advance, resume player, encounters end script,elfshouse1,begin suspend player, suspend box advance walk hero to x (me,47), wait for hero (me), walk hero to y (me,7), wait for hero (me) suspend caterpillar,remember party swap by position (0,find hero (hero:Styrge)), swap by position (1,find hero (hero:Olaf)) swap by position (2,find hero (hero:Eric)) ,swap by position (3,find hero (hero:Night)) wait (1), set caterpillar mode (on), set hero position (1, 47, 7) set hero position (2, 47, 7), set hero position (3, 47, 7), wait (2) walk hero (me,up,1), walk hero (1,left,1), walk hero (2,right,1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (929), wait (7), wait for key (use key), advance text box walk hero (3,down,1), wait for hero (3), wait (3) set hero direction (me,left), set hero direction (1,down), set hero direction (2,down) wait (3), set hero direction (me,down), wait (3) set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) show text box (930), wait (7), wait for key (use key), advance text box walk hero (3,down,4), wait for hero (3), wait (3), walk hero (2,down,1) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) show text box (931), wait (7), wait for key (use key), advance text box set hero direction (2,left), wait (5), set hero direction (2,down), wait (5) fade screen out, wait (1), swap by position (0,find hero (hero:Night)) swap out hero (hero:Styrge), swap out hero (hero:Olaf), swap out hero (hero:Eric), wait (1) lock hero (hero:Styrge), lock hero (hero:Olaf), lock hero (hero:Eric), set caterpillar mode (off) set tag (tag:NightRain,on), remember party, wait (3), use door (15) # This is the part where Night has her first heart to heart with Hati play song (song:Sleeping Buddha), pan camera (up,3), wait (10) show text box (4292), wait (7), wait for key (use key), advance text box wait (10), walk NPC (27,right,1), wait for NPC (27), wait (10) show text box (4293), wait (7), wait for key (use key), advance text box wait (10), walk NPC (27,right,1), wait for NPC (27), wait (10) show text box (4294), wait (7), wait for key (use key), advance text box show text box (4295), wait (7), wait for key (use key), advance text box wait (10), set NPC direction (27,down), wait (10) show text box (4296), wait (7), wait for key (use key), advance text box wait (10), walk NPC (27,down,1), wait for NPC (27), wait (10) show text box (4297), wait (7), wait for key (use key), advance text box show text box (4298), wait (7), wait for key (use key), advance text box wait (10), walk NPC (27,right,2), wait for NPC (27), wait (10) show text box (4299), wait (7), wait for key (use key), advance text box wait (10), set NPC direction (27,up), wait (10) wait (10), set NPC direction (27,left), wait (10) wait (10), fade screen out, wait (10), camera follows hero (me), wait (5) wait (5), walk hero (me,down,1), wait (5), fade screen in, wait (5) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (959), wait (7), wait for key (use key), advance text box set tag (tag:NightRain,off), resume box advance, resume player, resume NPCs, encounters end script,alfheim2,begin remember party, suspend box advance, suspend player show text box (960), wait (7), wait for key (use key), advance text box, walk hero to y (me,21) wait for hero (me), walk hero to x (me,47), wait for hero (me), set hero direction (me,up), wait (4) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (961), wait (7), wait for key (use key), advance text box show text box (962), wait (7), wait for key (use key), advance text box walk NPC (7,down,1), walk hero (me,down,1), set hero direction (me,up), wait for NPC (11) show text box (963), wait (7), wait for key (use key), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (964), wait (7), wait for key (use key), advance text box set NPC direction (7,left), wait (4), set NPC direction (7,up), wait (4) show text box (965), wait (7), wait for key (use key), advance text box show text box (966), wait (7), wait for key (use key), advance text box, walk hero (me,up,1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (967), wait (7), wait for key (use key), advance text box, set NPC direction (7,left) show text box (968), wait (7), wait for key (use key), advance text box show text box (969), wait (7), wait for key (use key), advance text box set NPC direction (7,down), wait (4) show text box (970), wait (7), wait for key (use key), advance text box show text box (971), wait (7), wait for key (use key), advance text box tweak palette (-20,20,20), fade screen in, wait (4) set tag (tag:HATI2, on), wait (3), set tag (tag:HATI2, off), wait (3) set tag (tag:HATI2, on), wait (3), set tag (tag:HATI2, off), wait (3) set tag (tag:HATI2, on), wait (3), set tag (tag:HATI2, off), wait (3) set tag (tag:HATI2, on), wait (3), reset palette, fade screen in walk hero (me,up,2), wait for hero (me), wait (4) set hero direction (me,left), wait (4), set hero direction (me,right), wait (4) set hero direction (me,left), wait (4), set hero direction (me,right), wait (4) set hero direction (me,left), wait (4), set hero direction (me,right), wait (4) walk NPC (6,down,6), wait for NPC (6), focus camera (47,17,4), wait for camera show text box (972), wait (7), wait for key (use key), advance text box set hero direction (me,left), wait (4), set hero direction (me,up), wait (4) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (973), wait (7), wait for key (use key), advance text box show text box (974), wait (7), wait for key (use key), advance text box show text box (975), wait (7), wait for key (use key), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (976), wait (7), wait for key (use key), advance text box show text box (977), wait (7), wait for key (use key), advance text box stop song, wait (2) show text box (978), wait (7), wait for key (use key), advance text box show text box (979), wait (7), wait for key (use key), advance text box wait (5), tweak palette (-20,-20,-20), fade screen in, walk NPC (8,right,10), wait for NPC (8) show text box (980), wait (7), wait for key (use key), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) remember party # This just makes sure that Freki has some equipment in case you were sneaky and sold it earlier force equip ((find hero (hero:Freki)),2,57) force equip ((find hero (hero:Freki)),3,77) force equip ((find hero (hero:Freki)),4,88) force equip ((find hero (hero:Freki)),5,255) swap in hero (hero:Freki), set hero direction (me,up), set NPC direction (8,up) show text box (981), wait (7), wait for key (use key), advance text box remember party, wait (3), BossIntroduction fight formation (122), set tag (tag:TRIANGLE, on), focus camera (47,19,4), swap out hero (hero:Freki) show text box (984), wait (7), wait for key (use key), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (985), wait (7), wait for key (use key), advance text box, walk NPC (6,up,6) show text box (986), wait (7), wait for key (use key), advance text box set hero direction (me,left), set NPC direction (8,right) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (987), wait (7), wait for key (use key), advance text box show text box (988), wait (7), wait for key (use key), advance text box show text box (989), wait (7), wait for key (use key), advance text box walk NPC (8,left,2), wait for NPC (8), wait (4), set NPC direction (8,down) wait (4), set NPC direction (8,right), wait (4) show text box (990), wait (7), wait for key (use key), advance text box fade screen out, swap by position (0,find hero (hero:Styrge)), swap out hero (hero:Night),remember party camera follows hero (me), lock hero (hero:Night), use door (14), resume box advance resume player, reinstate party, encounters end script,alfheim3,begin remember party, suspend player, suspend box advance, stop song walk hero to Y (me,22), wait for hero (me), walk hero to X (me,61), wait for hero (me) set hero direction (me,up), wait (5), play song (song:In Soft Reflection) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (1000), wait (7), wait for key (usekey), advance textbox show textbox (1001), wait (7), wait for key (usekey), advance textbox wait (5), fade screen out, wait (3), show textbox (1002), wait (2) fade screen in, wait (7), wait for key (usekey), advance textbox show textbox (1003), wait (7), wait for key (usekey), advance textbox show textbox (1004), wait (7), wait for key (usekey), advance textbox show textbox (1005), wait (7), wait for key (usekey), fade screen out wait (3), advance textbox, wait (2), fade screen in set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (1006), wait (7), wait for key (usekey), advance textbox set NPC position (10,61,24), set NPC direction (10,up), wait (3), walk NPC (10,up,1) show textbox (1007), wait (7), wait for key (usekey), advance textbox wait (5), set hero direction (me,left), wait (5), set hero direction (me,down), wait (3) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (1008), wait (7), wait for key (usekey), advance textbox fade screen out, wait (2), swap in hero (hero:Olaf), swap in hero (hero:Eric) swap in hero (hero:Night),remember party, wait (3), use door (14) wait (1), set ambient music (song:Caliginous), wait (1) save map state, resume player, resume box advance, encounters end script,alfheim4,begin # This is the final fight with Mr Triangle swap by position (0,find hero (hero:Styrge)), swap by position (1,find hero (hero:Olaf)) swap by position (2,find hero (hero:Night)), swap by position (3,find hero (hero:Eric)) suspend player, suspend box advance, suspend obstruction,remember party walk hero (me,up,2), wait for hero (me), suspend caterpillar, set caterpillar mode (on) set hero position (1, 14, 13), set hero position (2, 14, 13), set hero position (3, 14, 13), wait (2) walk hero (me,left,1), walk hero (1,up,1), walk hero (2,down,1) set hero direction (1,left), set hero direction (2,left), set hero direction (3,left) wait for hero (me), walk NPC (14,right,11), wait for NPC (14) show textbox (1017), wait (7), wait for key (usekey), advance textbox set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) show textbox (1018), walk hero (1,left,1), wait (7), wait for key (usekey), advance textbox show textbox (1019), wait (7), wait for key (usekey) set NPC direction (14,down), wait (5), set NPC direction (14,left), wait (5) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (1020), wait (7), wait for key (usekey), advance textbox set NPC direction (14,down), wait (5), set NPC direction (14,right), wait (5) show textbox (1021), wait (7), wait for key (usekey), advance textbox stop song, wait (2) show text box (978), wait (7), wait for key (use key), advance text box show text box (979), wait (7), wait for key (use key), advance text box wait (5), BossIntroduction, fight formation (124) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) show text box (1022), wait (7), wait for key (use key), advance text box show text box (1023), wait (7), wait for key (use key), advance text box show text box (1024), wait (7), wait for key (use key), advance text box stop song, wait (2), walk hero (2,left,1) show text box (978), wait (7), wait for key (use key), advance text box show text box (979), wait (7), wait for key (use key), advance text box wait (15), set NPC direction (14,left), wait (3), set NPC direction (14,right) wait (3), set NPC direction (14,left), wait (3), set NPC direction (14,right) wait (3), set NPC direction (14,left), wait (3) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) show text box (1025), wait (7), wait for key (use key), advance text box set hero direction (1,down), set hero direction (2,up), set hero direction (me,down), wait (5) set hero direction (me,right), set hero direction (1,right), set hero direction (2,right), wait (5) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1026), wait (7), wait for key (use key), advance text box set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) show text box (1027), set NPC direction (14,right), wait (7), wait for key (use key), advance text box show text box (1028), wait (7), wait for key (use key), advance text box wait (5), set hero direction (1,down), set hero direction (2,up), set hero direction (me,down) wait (5), set hero direction (me,left), set hero direction (1,left), set hero direction (2,left) wait (5), BossIntroduction, fight formation (125), set tag (tag:AlfheimFinish,on) show text box (1030), wait (7), wait for key (use key), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1031), wait (7), wait for key (use key), advance text box show text box (1032), wait (7), wait for key (use key), advance text box set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) show text box (1033), wait (7), wait for key (use key), advance text box show text box (1034), wait (7), wait for key (use key), advance text box show text box (1035), wait (7), wait for key (use key), advance text box walk hero (me,left,1), walk hero (1,left,2), walk hero (2,left,2) walk hero (3,left,1), wait for hero (me), set hero direction (1,down) set hero direction (2,up), wait (10), fade screen out, wait (5) show text box (1036), wait (5), fade screen in, wait (7), wait for key (use key), advance text box show text box (1037), wait (7), wait for key (use key), advance text box show text box (1038), wait (7), wait for key (use key), fade screen out, wait (5), advance text box show text box (1039), wait (5), fade screen in, wait (7), wait for key (use key), advance text box show text box (1040), wait (7), wait for key (use key), advance text box show text box (1041), wait (7), wait for key (use key), fade screen out, wait (5) advance text box, wait (2), fade screen in, wait (5) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1042), wait (7), wait for key (use key), advance text box show text box (1043), wait (7), wait for key (use key), advance text box wait (5), stop song, wait (5), set NPC direction (14,down), wait (5) show text box (1044), wait (7), wait for key (use key), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1045), wait (7), wait for key (use key), advance text box set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) show text box (1046), wait (7), wait for key (use key), advance text box show text box (1047), wait (7), wait for key (use key), advance text box fade screen out, wait (5), set hero position (0, 23, 26), set hero position (1, 22, 26) set hero position (2, 24, 26), set hero position (3, 23, 25), set NPC position (14, 23, 28) set NPC direction (14,down), wait (2), set hero direction (me,down) set hero direction (1,down), set hero direction (2,down), set hero direction (3,down) alter NPC (14, NPCstat:picture,366) wait (2), fade screen in, wait (10), walk hero (me,down,1), wait for hero (me) wait (10), set NPC position (19, 23, 28), wait (10) walk NPC (14,down,3), walk NPC (19,down,3), wait for NPC (19), set tag (tag:TriangleDies, off), wait (3) set tag (tag:TriangleDies, on), wait (3), set tag (tag:TriangleDies, off), wait (3) set tag (tag:TriangleDies, on), wait (3), set tag (tag:TriangleDies, off), wait (3) set tag (tag:TriangleDies, on), wait (10), set tag (tag:BurnOver, on), wait (3) set hero direction (me,left), wait (3), set hero direction (me,up) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1048), wait (7), wait for key (use key), advance text box show text box (1049), wait (7), wait for key (use key), advance text box fade screen out, unlock hero (hero:Kitt), unlock hero (hero:Hilda), unlock hero (hero:Olaf) unlock hero (hero:Styrge), unlock hero (hero:Eric), unlock hero (hero:Bram) unlock hero (hero:Frumpy), unlock hero (hero:Night), wait (5) resume caterpillar, set caterpillar mode (off), set tag (tag:HeroesRegained,on), use door (0) fade screen in, resume obstruction show text box (1050), wait (7), wait for key (use key), advance text box resume box advance, resume player, encounters end script,jotunheim1,begin # This one's the showdown with Housemaster on top of Mt. Jotun. remember party, suspend player, suspend box advance, suspend random enemies walk hero (me,down,2), wait for hero (me), set caterpillar mode (on) set hero position (1, 37, 26), set hero position (2, 37, 26), set hero position (3, 37, 26) wait (1), suspend caterpillar, walk hero (me,up,1) walk hero (1,left,1), walk hero (2, right,1), wait for hero (me) # Now, beacuse they've moved, we set the heroes on the side to all face the same direction. set hero direction (1,up), set hero direction (2,up), set hero direction (3,up) show text box (1053), wait (7), wait for key (use key), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1054), wait (7), wait for key (use key), advance text box show text box (1055), wait (7), wait for key (use key), advance text box wait (1), walk hero (1,up,1), wait for hero (1) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) show text box (1056), wait (7), wait for key (use key), advance text box show text box (1057), wait (7), wait for key (use key), advance text box wait (1), walk hero (2,up,1), wait for hero (2) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) show text box (1058), wait (7), wait for key (use key), advance text box show text box (1059), wait (7), wait for key (use key), advance text box set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) show text box (1060), wait (7), wait for key (use key), advance text box show text box (1061), wait (7), wait for key (use key), advance text box wait (5), stop song, wait (5) show textbox (828), wait (7), wait for key (usekey), advance text box show textbox (829), wait (7), wait for key (usekey), advance text box tweak palette (-20,-20,-20), fade screen in, wait (4) show textbox (830), wait (7), wait for key (usekey), advance text box # Housemaster throws Good Kitty at the party now. wait (5), BossIntroduction, fight formation (126), stop song show textbox (1064), wait (7), wait for key (usekey), advance textbox set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (1065), wait (7), wait for key (usekey), advance textbox wait (10), play song (song:GodsOfSpite), wait (5) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (1066), wait (7), wait for key (usekey), advance textbox set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (1067), wait (7), wait for key (usekey), advance textbox set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (1068), wait (7), wait for key (usekey), advance textbox show textbox (1069), wait (7), wait for key (usekey), advance textbox set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (1070), wait (7), wait for key (usekey), advance textbox show textbox (1071), wait (7), wait for key (usekey), advance textbox set NPC direction (7,left), wait (5), set NPC direction (7,up), wait (5) set NPC direction (7,right), wait (5), set NPC direction (7,down), wait (5) set NPC direction (7,left), wait (4), set NPC direction (7,up), wait (4) set NPC direction (7,right), wait (4), set NPC direction (7,down), wait (4) set NPC direction (7,left), wait (3), set NPC direction (7,up), wait (3) set NPC direction (7,right), wait (3), set NPC direction (7,down), wait (3) set NPC direction (7,left), wait (2), set NPC direction (7,up), wait (2) set NPC direction (7,right), wait (2), set NPC direction (7,down), wait (2) set NPC direction (7,left), wait (1), set NPC direction (7,up), wait (1) set NPC direction (7,right), wait (1), set NPC direction (7,down), wait (1) set tag (tag:Jotun1,on), walk hero (me,down), walk hero (1,right), walk hero (2,left) resume player, resume box advance, resume random enemys, set caterpillar mode (off), resume caterpillar, encounters end script,jotunheim2,begin # Pretty sure this is the standoff with Cthulhu at the front of his keep remember party, suspend player, suspend box advance, suspend random enemies set tag (tag:CTHULHU1, off), walk hero (me,down,2), wait for hero (me) set caterpillar mode (on), set hero position (1, 6, 9), set hero position (2, 6, 9) set hero position (3, 6, 9), wait (1), suspend caterpillar walk hero (me,up,1), walk hero (1,left,1), walk hero (2, right,1), wait for hero (me) # Now, beacuse they've moved, we set the heroes on the side to all face the same direction. set hero direction (1,up), set hero direction (2,up), set hero direction (3,up) wait (5), focus camera (6,6,4), wait for camera, wait (5) walk NPC (5,right,1), walk NPC (6,left,1), walk NPC (3,down,1) wait for NPC (3), walk NPC (6,down,2), walk NPC (5,down,2), walk NPC (3,down,2),walk NPC (4,down,3) wait for NPC (3), wait (5), walk NPC (4,left,1), set NPC direction (4,down), wait for NPC (4) show textbox (1072), wait (7), wait for key (usekey), advance textbox set hero frame (0, 0), wait (1), set hero frame (0, 1), wait (1) set hero frame (0, 0), wait (1), set hero frame (0, 1), wait (1) show textbox (1073), wait (7), wait for key (usekey), advance textbox show textbox (1074), wait (7), wait for key (usekey), advance textbox set hero frame (0, 0), wait (1), set hero frame (0, 1), wait (1) set hero frame (0, 0), wait (1), set hero frame (0, 1), wait (1) show textbox (1075), wait (7), wait for key (usekey), advance textbox show textbox (1076), wait (7), wait for key (usekey), advance textbox set hero frame (0, 0), wait (1), set hero frame (0, 1), wait (1) set hero frame (0, 0), wait (1), set hero frame (0, 1), wait (1) show textbox (1077), wait (7), wait for key (usekey), advance textbox show textbox (1078), wait (7), wait for key (usekey), advance textbox show textbox (1079), wait (7), wait for key (usekey), advance textbox wait (2), tweak palette (20,-20,20), fade screen in, wait (4), set tag (tag:CTHULHU1, on) set NPC position (9,6,4), play sound (sfx:MediumExplosion8Bit,false,true) set NPC direction (9,up), set NPC frame (9,0), wait (2) set NPC direction (9,up), set NPC frame (9,1), wait (2) set NPC direction (9,right), set NPC frame (9,0), wait (2) set NPC direction (9,right), set NPC frame (9,1), wait (2) set NPC direction (9,down), set NPC frame (9,0), wait (2) set NPC direction (9,down), set NPC frame (9,1), wait (2) set NPC direction (9,left), set NPC frame (9,0), wait (2) set NPC direction (9,left), set NPC frame (9,1), wait (2) set NPC position (9,0,0), wait (3), reset palette, fade screen in show textbox (1080), wait (7), wait for key (usekey), advance textbox show textbox (1081), wait (7), wait for key (usekey), advance textbox set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (1082), wait (7), wait for key (usekey), advance textbox show textbox (1083), wait (7), wait for key (usekey), advance textbox show textbox (1084), wait (7), wait for key (usekey), advance textbox show textbox (1085), wait (7), wait for key (usekey), advance textbox wait (5), stop song, wait (5), set NPC direction (6,right) set NPC direction (5,left), walk NPC (4,right,1), set NPC direction (4,up) show textbox (1086), wait (7), wait for key (usekey), advance textbox wait for NPC (4), walk NPC (5,up,2), walk NPC (6,up,2), wait for NPC (6) walk NPC (5,left,1), walk NPC (6,right,1), wait for NPC (6), wait (5) walk NPC (4,up,2), wait for NPC (4), wait (5), fade screen out wait (5), resume random enemys, resume caterpillar, set caterpillar mode (off), wait (5) show text box (1087), wait (5), fade screen in, wait (20), fade screen out wait (2), camera follows hero (me), advance textbox, wait (1) fade screen in, play song (song:The Winding Road), resume box advance, resume player, encounters end script,stairsup,begin set tag (tag:stairs,on), suspend player, suspend box advance, walk hero (me,up,5) play sound (sfx:UpStairs,false,true) walk hero (me,left,5), wait for hero (me), walk hero (me,left,2), wait for hero (me) set tag (tag:stairs,off), resume player, resume box advance end script,stairsdown,begin set tag (tag:stairs,on), suspend player, suspend box advance, walk hero (me,right,1) wait for hero (me), walk hero (me,down,5),play sound (sfx:DownStairs,false,true) walk hero (me,right,5), wait for hero (me), walk hero (me,right,1), wait for hero (me) set tag (tag:stairs,off), resume player, resume box advance end script,Gahn,begin suspend player, suspend box advance, focus camera (5,45,4) walk hero (me,down,1), set hero direction (me,up) wait for hero (me), walk hero (me,left,1), set hero direction (me,up), wait for hero (me) set NPC direction (26,left), wait (5), set NPC direction (26,up), wait (5) show textbox (1088), wait (7), wait for key (usekey), advance textbox show textbox (1089), wait (7), wait for key (usekey), advance textbox walk NPC (26,left,2), wait for NPC (26), walk NPC (26,up,2), wait for NPC (26) focus camera (5,50,4), wait for camera, camera follows hero (me) set hero direction (me,right), wait (2), set hero direction (me,down), wait (2) set tag (tag:gahn,on), resume player, resume box advance, encounters end script,JO,begin remember party, suspend player, suspend box advance walk hero to Y (me,52), wait for hero (me), walk hero to X (me,30), wait for hero (me) set hero direction (me,up), focus camera (30,46,4), wait for camera show textbox (1090), wait (7), wait for key (usekey), advance textbox show textbox (1091), wait (7), wait for key (usekey), advance textbox show textbox (1092), wait (7), wait for key (usekey), advance textbox show textbox (1093), wait (7), wait for key (usekey), advance textbox show textbox (1094), wait (7), wait for key (usekey), advance textbox focus camera (30,52,4), wait for camera, set tag (tag:jo,on) resume box advance, resume player, camera follows hero (me), encounters end script,orlock,begin remember party, suspend player, suspend box advance walk hero to x (me,83), wait for hero (me), walk hero to y (me,4), wait for hero (me) set hero direction (me,up), suspend NPCs, suspend NPC walls set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (1095), wait (7), wait for key (usekey), advance textbox walk NPC (32,down,3), wait for NPC (32), wait (4), BossIntroduction fight formation (127), set tag (tag:orlock,on), resume NPC walls resume box advance, wait (1), tweak palette (10,0,0), update palette play sound (sfx:Wind,false,true), wait (10), reset palette, fade screen in teach spell ((find hero(hero:Night)),atk:Drainer) show textbox (1249), wait (7), wait for key (usekey), advance textbox resume NPCs, resume player, resume box advance, encounters end script,finalbrising,begin suspend player, suspend box advance, suspend NPCs, suspend obstruction, remember party show text box (2731), wait (7), wait for key (use key), advance text box walk hero to y (me,71), wait for hero (me), walk hero to x (me,8), wait for hero (me) wait (2), suspend caterpillar, set caterpillar mode (on) set hero position (1, 8, 71), set hero position (2, 8, 71), set hero position (3, 8, 71) wait (2), walk hero (me,down,1), walk hero (1,left,1), walk hero (2,right,1), walk hero (3,up,1) wait for hero (me), set hero direction (me,left), set hero direction (1,down), set hero direction (2,down), set hero direction (3,left) wait (4), set hero direction (me,up), set hero direction (1,right), set hero direction (2,left), set hero direction (3,down) wait (4), set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1096), wait (7), wait for key (usekey), advance textbox show text box (1097), wait (7), wait for key (usekey), advance textbox, walk NPC to y (30,74) set hero direction (me,left), set hero direction (1,down), set hero direction (2,down), wait (4) set hero direction (me,down), wait (4), set tag (tag:gahn,off), set tag (tag:jo,off) wait for NPC (30), wait (2), set NPC position (26, 8, 74), set NPC position (27, 8, 74), wait (1) walk NPC (26,left,1), walk NPC (27,right,1), wait (5), set NPC direction (26,up), set NPC direction (27,up) wait (5), walk hero (2,down,1), wait for hero (2) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) show text box (1098), wait (7), wait for key (usekey), advance textbox show text box (1099), wait (7), wait for key (usekey), advance textbox walk hero (1,down,1), wait for hero (1) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) show text box (1100), wait (7), wait for key (usekey), advance textbox show text box (1101), wait (7), wait for key (usekey), advance textbox show text box (1102), wait (7), wait for key (usekey), advance textbox show text box (1103), wait (7), wait for key (usekey), advance textbox walk hero (3,down,1), wait for hero (3) set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) show text box (1104), wait (7), wait for key (usekey), advance textbox set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1105), wait (7), wait for key (usekey), advance textbox walk NPC (30,up,1), wait for NPC (30) show text box (1106), wait (7), wait for key (usekey), advance textbox set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) show text box (1107), wait (7), wait for key (usekey), advance textbox walk NPC (26,up,1), wait for NPC (26) show text box (1108), wait (7), wait for key (usekey), advance textbox set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1109), wait (7), wait for key (usekey), advance textbox walk NPC (27,up,1), wait for NPC (27) show text box (1110), wait (7), wait for key (usekey), advance textbox wait (4), fade screen out, wait (2) show text box (1111), wait (2), greyscale palette, wait (2), fade screen in wait (7), wait for key (usekey), advance textbox show text box (1112), wait (7), wait for key (usekey), advance textbox walk NPC (30,down), walk NPC (26,down), walk NPC (27,down) show text box (1113), wait (7), set NPC direction (30,up), set NPC direction (26,up) set NPC direction (27,up), wait for key (usekey), advance textbox show text box (1114), wait (7), wait for key (usekey), fade screen out wait (2), advance textbox, wait (2), reset palette wait (2), fade screen in, wait (2) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1115), wait (7), wait for key (usekey), advance textbox show text box (1116), wait (7), wait for key (usekey), advance textbox walk NPC (33,up,1), wait for NPC (33), walk NPC (33,right,3), wait for NPC (33) set NPC direction (33,up), play sound (sfx:Soft_Airy_Swish,false,true) # Yoink! wait (3), walk NPC (33,left,2), wait for NPC (33) set hero direction (me,left), set hero direction (2,left), set NPC direction (26,left) set NPC direction (27,left), set NPC direction (30,left), walk NPC (33,down,2) wait for NPC (33), set hero direction (me,down), set hero direction (2,down) set NPC direction (26,down), set NPC direction (27,down), set NPC direction (30,down), walk NPC (33,down,10) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1117), walk hero (me,down,1), wait (7), wait for key (usekey), advance textbox show text box (1118), wait (7), wait for key (usekey), advance textbox show text box (1119), wait (7), wait for key (usekey), advance textbox walk hero (me,down,5), walk hero (1,down,5), walk hero (2,down,5), walk hero (3,down,5) walk NPC (26,down,5), walk NPC (27,down,5), walk NPC (30,down,5), wait (10) fade screen out, wait for hero (me), camera follows hero (me) use door (55), resume NPCs, resume obstruction, set tag (tag:gahn,on), set tag (tag:jo,on) wait (20), wait for key (anykey), wait (2), fade screen out, wait (1) # Making Preparations for the midgame now. swap by position (0,find hero (hero:Freki)), wait (1), set hero picture (0,17,insidebattle) wait (1), swap out hero (hero:Kitt), swap out hero (hero:Styrge), swap out hero (hero:Bram) swap out hero (hero:Eric), swap out hero (hero:Hilda), swap out hero (hero:Olaf) swap out hero (hero:Night), swap out hero (hero:Frumpy), wait (1) lock hero (hero:Kitt), lock hero (hero:Styrge), lock hero (hero:Bram), lock hero (hero:Eric) lock hero (hero:Hilda), lock hero (hero:Olaf), lock hero (hero:Night), lock hero (hero:Frumpy) set hero picture (find hero (hero:Freki),288,outsidebattle),set hero picture (find hero (hero:Kitt),18,insidebattle) set hero picture (find hero (hero:Kitt),289,outsidebattle),set hero picture (find hero (hero:Styrge),20,insidebattle) set hero picture (find hero (hero:Styrge),290,outsidebattle),set hero picture (find hero (hero:Eric),26,insidebattle) set hero picture (find hero (hero:Eric),291,outsidebattle),set hero picture (find hero (hero:Bram),24,insidebattle) set hero picture (find hero (hero:Bram),292,outsidebattle),set hero picture (find hero (hero:Hilda),19,insidebattle) set hero picture (find hero (hero:Hilda),293,outsidebattle),set hero picture (find hero (hero:Olaf),25,insidebattle) set hero picture (find hero (hero:Olaf),294,outsidebattle),set hero picture (find hero (hero:Frumpy),22,insidebattle) set hero picture (find hero (hero:Frumpy),295,outsidebattle) walk hero (me,up,1), wait for hero (me), use door (1), wait (5), focus camera (6,20,4) wait for camera , wait (2), walk hero (me,up,1), set hero direction (me,down) show text box (1120), wait (7), wait for key (usekey), advance textbox focus camera (6,9,4), walk NPC to y (1,9), wait for camera tweak palette (-30,5,5), update palette, wait (1), reset palette, update palette, wait (1) show text box (1121), wait (7), wait for key (usekey), advance textbox, set NPC direction (1,left), wait (2) set NPC direction (1,right), wait (2), set NPC direction (1,left), wait (2) set NPC direction (1,right), wait (2), set NPC direction (1,up), wait (2) show text box (1122), wait (7), wait for key (usekey), advance textbox tweak palette (-30,5,5), update palette, wait (1), reset palette, update palette, wait (1) show text box (1123), wait (7), wait for key (usekey), advance textbox tweak palette (-30,5,5), update palette, wait (1), reset palette, update palette wait (1), pancamera(up,1,20),waitforcamera, pancamera(down,2,20),waitforcamera pancamera(up,2,20),waitforcamera, pancamera(down,1,20),waitforcamera show text box (1124), wait (7), wait for key (usekey), advance textbox show text box (1125), wait (7), wait for key (usekey), advance textbox tweak palette (-30,5,5), update palette, wait (1), reset palette, update palette, wait (1) show text box (1126), wait (7), wait for key (use key), advance text box show text box (1127), wait (7), wait for key (use key), advance text box show text box (1128), wait (7), wait for key (use key), advance text box tweak palette (-30,5,5), update palette, wait (1) reset palette, update palette, wait (1) pancamera(up,1,20),waitforcamera, pancamera(down,2,20),waitforcamera pancamera(up,2,20),waitforcamera, pancamera(down,1,20),waitforcamera show text box (1129), wait (7), wait for key (use key), advance text box show text box (1130), wait (7), wait for key (use key), advance text box tweak palette (-30,5,5), update palette, wait (1) reset palette, update palette, wait (1), tweak palette (-30,5,5) update palette, wait (1), reset palette, update palette wait (1), tweak palette (-30,5,5), update palette wait (1), reset palette, update palette, wait (1) show text box (1131), wait (7), wait for key (use key), advance text box stop song, play sound (sfx:Nuclear,false,true), show text box (1132) wait (7), pancamera(up,1,20),waitforcamera, pancamera(down,2,20),waitforcamera pancamera(up,2,20),waitforcamera, pancamera(down,1,20),waitforcamera pancamera(up,1,20),waitforcamera, pancamera(down,2,20),waitforcamera pancamera(up,2,20),waitforcamera, pancamera(down,1,20),waitforcamera pancamera(up,1,20),waitforcamera, pancamera(down,2,20),waitforcamera pancamera(up,2,20),waitforcamera, pancamera(down,1,20),waitforcamera fade screen out (63,63,63), wait (45), advance text box # On this day, the world was changed forever. Hati and the rest of the Helborne # Escape from their prison to ravage the world. set tag (tag:WORLDOFRUIN,on), set damage cap (9999), wait (1), fade screen in play song (song:Nameless Sorcerer), wait (5), walk NPC (3,down,1), wait for NPC (3) show text box (1133), wait (7), unlock hero (hero:Freki), wait for key (use key), advance text box walk NPC to y (6,10), wait for NPC (6), walk NPC (6,right,1), wait for NPC (6), set NPC direction (6,up) show text box (1134), wait (7), wait for key (use key), advance text box show text box (3364), wait (7), wait for key (use key), advance text box show text box (3365), wait (7), wait for key (use key), advance text box show text box (3366), wait (7), wait for key (use key), advance text box show text box (3367), wait (7), wait for key (use key), advance text box show text box (3368), wait (7), wait for key (use key), advance text box wait (5), set NPC direction (3,left), wait (5) show text box (3369), wait (7), wait for key (use key), advance text box show text box (3370), wait (7), wait for key (use key), advance text box show text box (3371), wait (7), wait for key (use key), advance text box show text box (3372), wait (7), wait for key (use key), advance text box wait (5), set NPC direction (3,down), wait (5) show text box (3373), wait (7), wait for key (use key), advance text box show text box (3378), wait (7), wait for key (use key), advance text box show text box (3379), wait (7), wait for key (use key), advance text box show text box (3380), wait (7), wait for key (use key), advance text box show text box (3374), wait (7), wait for key (use key), advance text box show text box (3375), wait (7), wait for key (use key), advance text box show text box (3376), wait (7), wait for key (use key), advance text box show text box (3377), wait (7), wait for key (use key), advance text box suspend obstruction, walk NPC (3, up, 2), set NPC direction (3,down), wait for NPC (3) Alter NPC (3,NPCstat:move speed, 20), walk NPC (3, down, 4), pancamera(down,2,4),waitforcamera wait for NPC (3), play sound (sfx:Crush8Bit,false,true) pancamera(up,1,20),waitforcamera, pancamera(down,2,20),waitforcamera pancamera(up,2,20),waitforcamera, pancamera(down,1,20),waitforcamera pancamera(up,1,20),waitforcamera, pancamera(down,2,20),waitforcamera pancamera(up,2,20),waitforcamera, pancamera(down,1,20),waitforcamera pancamera(up,1,20),waitforcamera, pancamera(down,2,20),waitforcamera pancamera(up,2,20),waitforcamera, pancamera(down,1,20),waitforcamera wait (2), Alter NPC (3,NPCstat:move speed, 4), Alter NPC (6,NPCstat:picture,122) walk NPC (3,up,1), set NPC direction (3,down), wait for NPC (3), wait (2) walk NPC (3,down,1), wait for NPC (3), walk NPC (3,down,2) walk NPC (6,down,2), wait for NPC (3), walk NPC (6,right,2) set NPC direction (3,right), wait for NPC (6), set NPC direction (3,down), resume obstruction show text box (3381), wait (7), wait for key (use key), advance text box walk NPC (2,down,3), walk NPC (4,down,3), focus camera (6,12,4) walk NPC (5,up,8), walk NPC (7,up,8), walk NPC (8,up,8), wait for NPC (5) show text box (1135), wait (7), wait for key (use key), advance text box show text box (1136), wait (7), wait for key (use key), advance text box show text box (1137), wait (7), wait for key (use key), advance text box, walk NPC (4,down,1) show text box (1138), wait (7), wait for key (use key), walk NPC (2,down,1), advance text box show text box (1139), wait (7), wait for key (use key), advance text box set NPC direction (5,left), wait (3) show text box (1140), wait (7), wait for key (use key), advance text box walk NPC (8,up,1), wait for NPC (8) show text box (1141), wait (7), wait for key (use key), advance text box show text box (1142), wait (7), wait for key (use key), advance text box, set NPC direction (5,up) show text box (1143), wait (7), wait for key (use key), advance text box wait (2), play sound (sfx:Soft_Airy_Swish,false,true), set NPC position (5,6,7) focus camera (6,9,4), wait for camera, set NPC direction (2,up), set NPC direction (3,up) set NPC direction (4,up), wait (5), walk NPC (7,up,1) show text box (1161), wait (7), wait for key (use key), advance text box show text box (1162), wait (7), wait for key (use key), advance text box set NPC direction (5,right), wait (4), set NPC direction (5,down), wait (4) show text box (1144), wait (7), wait for key (use key), advance text box show text box (1145), wait (7), wait for key (use key), advance text box wait (5), fade screen out (63,63,63), wait (1), set tag (tag:GATE1,on) wait (1), fade screen in, wait (5) , focus camera (6,12,4), wait for camera set NPC direction (2,down), set NPC direction (3,down), set NPC direction (4,down), wait (5) show text box (1146), wait (7), wait for key (use key), advance text box, set NPC direction (4,left) show text box (1147), wait (7), wait for key (use key), advance text box, set NPC direction (2,right) show text box (1148), wait (7), wait for key (use key), advance text box, wait (3) set NPC direction (4,down), wait (3), set NPC direction (4,right), wait (3) show text box (1149), wait (7), wait for key (use key), advance text box wait (3), set NPC direction (3,right), wait (3) show text box (1150), wait (7), wait for key (use key), advance text box wait (5), fade screen out, wait (2) show text box (1151), wait (2), fade screen in, wait (10) wait for key (use key), fade screen out, wait (2), advance text box # Freki now finds herself naked in bed - with bandages. set hero z (0, 15), walk hero (me,up,1), wait for hero (me), camera follows hero (me), wait (1) # Freki's back finally, and should still be equipped with whatever she had in the "final battle". # While substandard at this point, it should be enough to get by with for a while. set hero picture (find hero (hero:Freki),302,outsidebattle), set hero direction (me,down) wait (1), use door (4), set hero z (0, 15), stop song, wait (30) show text box (3409), wait (7), wait for key (use key), advance text box, wait (15) show text box (3410), wait (7), wait for key (use key), advance text box set hero speed (me,1) ,walk hero (me,right,1), wait (2), set hero z (0, 12), wait (2), set hero z (0,9), wait (2) set hero z (0, 6), wait (2), set hero z (0,3), wait (2), set hero z (0, 0), wait (2) , wait for hero (me) show text box (3411), wait (7), wait for key (use key), advance text box wait (5), set hero direction (me,down), wait (5) wait (5), set hero direction (me,left), wait (5) wait (5), set hero direction (me,down), wait (5) wait (5), set hero direction (me,right), wait (5) wait (5), set hero direction (me,down), wait (5) show text box (3412), wait (7), wait for key (use key), advance text box walk NPC (1,up,3)wait for NPC (1) show text box (1152), wait (7), wait for key (use key), advance text box, wait (10) show text box (3856), wait (7), wait for key (use key), advance text box , wait (10) wait (2), set NPC direction (1,down), wait (2), set NPC direction (1,left) wait (2), set NPC direction (1,up), wait (2), set NPC direction (1,right) wait (2), set NPC direction (1,down), wait (2), set NPC direction (1,left) wait (2), set NPC direction (1,up), wait (2), set NPC direction (1,right) wait (2), set NPC direction (1,down), wait (2), set NPC direction (1,left) wait (2), set NPC direction (1,up), wait (2), set NPC direction (1,right) wait (2), set NPC direction (1,down) show text box (3413), wait (7), wait for key (use key), advance text box , wait (30) show text box (1153), wait (7), wait for key (use key), advance text box wait (30), set hero speed (me,1),walk hero (me,down,2), wait for hero (me) show text box (1154), wait (7), wait for key (use key), advance text box show text box (1155), wait (7), wait for key (use key), advance text box set hero speed (me,1), walk hero (me,right,1), wait for hero (me), walk NPC (1,up,1), wait for NPC (1) show text box (1156), wait (7), wait for key (use key), advance text box set hero speed (me,1), walk hero (me,right,1), wait for hero (me), walk NPC (1,right,1), wait for NPC (1) set hero speed (me,1), walk hero (me,right,1), wait for hero (me), walk NPC (1,right,1), wait for NPC (1) pan camera (right,1,1), set hero speed (me,1), walk hero (me,right,1), wait for hero (me) , wait for camera show text box (4398), wait (7), wait for key (use key), advance text box show text box (4399), wait (7), wait for key (use key), advance text box wait (5), set NPC direction (1,down) wait (5), set NPC direction (1,left), wait (5) show text box (4400), wait (7), wait for key (use key), advance text box pan camera (left,3,2), walk NPC (1,left,1), wait for NPC (1) show text box (4401), wait (7), wait for key (use key), advance text box show text box (4402), wait (7), wait for key (use key), advance text box, wait for camera show text box (1157), wait (7), wait for key (use key), advance text box set hero speed (me,1), walk hero (me,up,1), wait for hero (me) show text box (1158), wait (7), wait for key (use key), advance text box set hero speed (me,1), walk hero (me,right,2) show text box (1159), wait (7), wait for key (use key), advance text box ,wait for hero (me) show text box (1160), wait (7), wait for key (use key), advance text box set hero speed (me,1), walk hero (me,up,1), wait for hero (me),resume NPCs show text box (3414), wait (7), wait for key (use key), advance text box wait (10), set NPC position (12,10,20), wait (10) show text box (3415), wait (7), wait for key (use key), advance text box wait (10), set hero direction (me,left) show text box (3416), wait (7), wait for key (use key), advance text box , wait (10) show text box (3417), wait (7), wait for key (use key), advance text box wait (10), set NPC direction (1,down), wait (10) show text box (3418), wait (7), wait for key (use key), advance text box # Now we get some actual clothes. fade screen out, set hero picture (find hero (hero:Freki),288,outsidebattle), camera follows hero (me) resume obstruction,set NPC direction (1,up), set hero direction (me,up) wait (10), set hero position (me,27,5), set NPC position (1,28,5), wait (5), fade screen in show text box (3419), wait (7), wait for key (use key), advance text box show text box (3420), wait (7), wait for key (use key), advance text box show text box (3421), wait (7), wait for key (use key), advance text box show text box (3422), wait (7), wait for key (use key), advance text box set NPC direction (1,left) show text box (3423), wait (7), wait for key (use key), advance text box set NPC direction (8,left) show text box (3424), wait (7), wait for key (use key), advance text box show text box (3425), wait (7), wait for key (use key), advance text box show text box (3426), wait (7), wait for key (use key), advance text box set NPC direction (8,down), set NPC direction (1,up) show text box (3427), wait (7), wait for key (use key), advance text box show text box (3428), wait (7), wait for key (use key), advance text box show text box (3429), wait (7), wait for key (use key), advance text box set NPC direction (8,left) show text box (3430), wait (7), wait for key (use key), advance text box set NPC direction (8,down) show text box (3431), wait (7), wait for key (use key), advance text box walk NPC (8,left,2), wait for NPC (8), walk NPC (8,down,2) set NPC direction (1,left), set hero direction (me,left), wait for NPC (8) set NPC direction (8,right) show text box (3432), wait (7), wait for key (use key), advance text box show text box (3433), wait (7), wait for key (use key), advance text box show text box (3434), wait (7), wait for key (use key), advance text box show text box (3435), wait (7), wait for key (use key), advance text box resume player show text box (3436), wait (7), wait for key (use key), advance text box suspend player show text box (3437), wait (7), wait for key (use key), advance text box show text box (3438), wait (7), wait for key (use key), advance text box walk NPC (8,up,2), wait for NPC (8), walk NPC (8,right,2) set NPC direction (1,up), set hero direction (me,up), wait for NPC (8) set NPC direction (8,down) show text box (3439), wait (7), wait for key (use key), advance text box show text box (3440), wait (7), wait for key (use key), advance text box show text box (3441), wait (7), wait for key (use key), advance text box wait (5), add hero (hero:Renard), wait (5) show text box (3442), wait (7), wait for key (use key), advance text box fade screen out (63,63,63), wait (7), set tag (tag:AddFox,on), wait (3) wait (1), resume caterpillar, set caterpillar mode (off) resume box advance,fade screen in, resume player # Renard finally joins up, and his equipment selection is a bit odd. He's the only # One of the mages who can equip helmets instead of hats, so he's slightly tankier # And he can also use runic broadswords. He comes with some gear that resists # A few elemental attacks, and a relic that resists both stun and slow effects. force equip ((find hero (hero:Renard)),2,237) force equip ((find hero (hero:Renard)),3,77) force equip ((find hero (hero:Renard)),4,157) force equip ((find hero (hero:Renard)),5,100) remember party, encounters end script,BramReturns,begin suspend player, suspend box advance, swap by position (0,find hero (hero:Freki)), swap by position (1,find hero (hero:Renard)) set caterpillar mode (on), suspend caterpillar, walk hero (me,left,1), walk hero (1,down,1) wait for hero (me), set hero direction (me,down), wait (5) set hero direction (1,left), set hero direction (me,right), wait (5) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1169), wait (7), wait for key (use key), advance text box set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) show text box (1165), wait (7), wait for key (use key), advance text box show text box (1166), wait (7), wait for key (use key), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1167), wait (7), wait for key (use key), advance text box wait (5), set hero direction (1,down), wait (3), set hero direction (1,right) wait (10), walk hero (1,down,1), wait for hero (1) set hero direction (1,right), wait (10) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) show text box (1168), wait (7), wait for key (use key), advance text box walk hero to y (me,5), walk hero to x (1,12), wait for hero (me) walk hero to x (me,12), wait for hero (me), wait (5) # Party enters the otehr room to find Bram there wait (5), walk hero (1,up,1), wait for hero (1), set hero direction (1,right) pan camera (right,1,2), wait for camera, wait (5) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) show text box (1170), wait (7), wait for key (use key), advance text box, set NPC direction (2,left) show text box (1171), wait (7), wait for key (use key), advance text box walk hero (me,right,1), wait for hero (me), set hero frame (me,1), wait (1) set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1172), wait (7), wait for key (use key), advance text box set NPC direction (2,down), wait (5), set NPC direction (2,right), wait (5) walk NPC (2,right,1), wait for NPC (2), wait (5) show text box (1173), wait (7), wait for key (use key), advance text box wait (5), set NPC direction (2,down), wait (5), set NPC direction (2,left), wait (5) show text box (1174), wait (7), wait for key (use key), advance text box show text box (1175), wait (7), wait for key (use key), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1176), wait (7), wait for key (use key), advance text box suspend obstruction, walk NPC (2,left,2), walk hero (1,down,1) wait for hero (1), walk hero (1,right,1), wait for NPC (2) resume obstruction, wait (3), set tag (tag:Bramreturns,on), set caterpillar mode (off) resume caterpillar, camera follows hero (me), resume box advance, resume player unlock hero (hero:Bram), swap by position (2,find hero (hero:Bram)), remember party, encounters end script,Frumpyback,begin suspend player, suspend box advance, swap by position (0,find hero (hero:Freki)) swap by position (1,find hero (hero:Renard)), swap by position (2,find hero (hero:Bram)),remember party walk hero to Y (me,28), wait for hero (me), walk hero to X (me,42), wait for hero (me) set hero position (1, 42, 28), set hero position (2, 42, 28), set hero position (3, 40, 29) set caterpillar mode (on), suspend caterpillar, focus camera (39,28,4) walk hero (1,down,1), walk hero (2,down,2), wait for hero (1), set hero direction (1,left), wait (5) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) show text box (1181), wait (7), wait for key (use key), advance text box show text box (1182), wait (7), wait for key (use key), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1183), wait (7), wait for key (use key), advance text box walk hero (me,left,1), walk hero (1,left,1), walk hero (2,left,1) show text box (1184), wait (7), wait for key (use key), advance text box show text box (1185), wait (7), wait for key (use key), advance text box show text box (1186), wait (7), wait for key (use key), advance text box show text box (1187), wait (7), wait for key (use key), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1188), wait (7), wait for key (use key), advance text box show text box (1189), wait (7), wait for key (use key), advance text box swap by position (3,find hero (hero:Frumpy)), unlock hero (hero:Frumpy) set tag (tag:Frumpyreturns,on), wait (3),remember party # Now we fight Odin, Thor, and Loki... but... BossIntroduction , fight formation (128) show text box (1190), wait (7), wait for key (use key), advance text box set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) show text box (1191), wait (7), wait for key (use key), advance text box walk hero (me,up,1), walk hero (1,up,1), walk hero (2,up,1), wait for hero (me) walk hero (me,left,1), walk hero (1,up,1), walk hero (2,up,1), walk hero (3,right,1) wait for hero (me), walk hero (me,left,1), walk hero (1,left,1), walk hero (2,up,1), walk hero (3,up,1) wait for hero (me), walk hero (me,left,1), walk hero (1,left,1), walk hero (2,left,1) walk hero (3,up,1), wait for hero (me), walk hero (me,left,1), walk hero (1,left,1) walk hero (2,left,1), walk hero (3,left,1), wait for hero (me), set NPC direction (23,up) set NPC direction (24,up), walk NPC (22,right,3), show text box (1192), wait (7), wait for NPC (22) set NPC direction (22,down), wait (2), set NPC direction (22,left), wait for key (use key), advance text box set hero direction (me,down), set hero direction (1,down), set hero direction (2,down), set hero direction (3,down), wait (5) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1193), wait (7), wait for key (use key), advance text box, set hero direction (me,right) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1194), wait (7), wait for key (use key), advance text box, set hero direction (3,left) set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) show text box (1195), wait (7), wait for key (use key), advance text box walk hero (1,left,1), walk hero (2,left,1), walk hero (3,left,1), wait for hero (3) walk hero (2,left,1), walk hero (3,left,1), wait for hero (3), walk hero (3,left,1) wait for hero (3), set caterpillar mode (off), resume caterpillar, focus camera (37,27,4) wait for camera, camera follows hero (me), wait (5) set hero direction (me,down), wait (5), set hero direction (me,left), wait (5) walk hero (me,left,2), wait for hero (me), set NPC direction (24,left), set NPC direction (23,left) walk hero (me,down,1), wait for hero (me), walk hero (me,left,7), wait for hero (me) walk hero (me,up,3), wait for hero (me), walk hero (me,left,4), wait for hero (me) walk hero (me,up,6), wait for hero (me), walk hero (me,left,7), wait for hero (me) walk hero (me,up,3), wait for hero (me), walk hero (me,left,2), wait for hero (me) wait (5), pan camera (left,1), wait for camera, wait (5) show text box (1196), wait (7), wait for key (use key), advance text box suspend obstruction, walk hero (me,left,1), wait for hero (me), resume obstruction set tag (tag:Frumpyover,on), camera follows hero, resume box advance, resume player, encounters end script,Hel,begin remember party, suspend player, suspend box advance walk hero to y (me,24), wait for hero (me) walk hero to x (me,12), wait for hero (me) set hero direction (me,up), stop song show text box (1197), wait (7), wait for key (use key), advance text box focus camera (12,22,4), wait for camera, suspend obstruction set NPC position (4,12,24), wait (1), walk NPC (4,up,3), wait for NPC (4) wait (2), fade screen out, wait (2), resume obstruction set tag (tag:HelAlive,on), wait (2), fade screen in, play song (song:Vile) wait (2), set caterpillar mode (on) set hero position (1,12,24), set hero position (2,12,24), set hero position (3,12,24) suspend caterpillar, wait (3) walk hero (1,down,1), walk hero (2,down,1), walk hero (3,down,1), wait for hero (1) walk hero (1,left,1), walk hero (2,right,1), wait for hero (1) set hero direction (1,up), set hero direction (2,up), set hero direction (3,up), wait (3) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1198), wait (7), wait for key (use key), advance text box show text box (1199), wait (7), wait for key (use key), advance text box show text box (1200), wait (7), wait for key (use key), advance text box walk NPC (1,down,1), wait (4) show text box (1201), wait (7), wait for key (use key), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1202), wait (7), wait for key (use key), advance text box show text box (1203), wait (7), wait for key (use key), advance text box show text box (1204), wait (7), wait for key (use key), advance text box show text box (1205), wait (7), wait for key (use key), advance text box show text box (1206), wait (7), wait for key (use key), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1207), wait (7), wait for key (use key), advance text box show text box (1208), wait (7), wait for key (use key), advance text box show text box (1209), wait (7), wait for key (use key), advance text box show text box (1210), wait (7), wait for key (use key), advance text box #baddle BossIntroduction, fight formation (99), stop song, wait (10) Alter NPC (0,NPCstat:picture,126), wait (10), play song (song:An Unfortunate End) show text box (1211), wait (7), wait for key (use key), advance text box wait (5), walk hero (2,up,1), wait for hero (2), wait (5) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) show text box (1212), wait (7), wait for key (use key), advance text box wait (5), Alter NPC (0,NPCstat:picture,89), wait (5) show text box (1213), wait (7), wait for key (use key), advance text box wait (5), walk hero (1,up,1), wait for hero (1), wait (5) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) show text box (1214), wait (7), wait for key (use key), advance text box wait (15) show text box (1215), wait (7), wait for key (use key), advance text box wait (10), Alter NPC (0,NPCstat:picture,126), wait (10) show text box (1216), wait (7), wait for key (use key), advance text box wait (10), fade screen out, wait (2), set tag (tag:DefeatHel,on) wait (2), fade screen in show text box (1217), wait (7), wait for key (use key), advance text box wait (5), walk hero (me,up,1), wait for hero (me) set hero direction (me,left), wait (3), set hero direction (me,down) set hero direction (1,right), set hero direction (2,left) , wait (3) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1218), wait (7), wait for key (use key), advance text box set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) show text box (1219), wait (7), wait for key (use key), advance text box walk hero (me,down,1), walk hero (1,right,1), walk hero (2,left,1) walk hero (3,up,1), pan camera (down,2), wait for camera camera follows hero (me), wait (2) set caterpillar mode (off), resume caterpillar, resume player, resume box advance, encounters end script,vulpes,begin suspend player, suspend box advance, focus camera (7,3,4), wait for camera show text box (1222), wait (7), wait for key (use key), advance text box play sound (sfx:YAP,false,true), set NPC direction (1,down), wait (10) set NPC direction (1,up), wait (3), focus camera (7,7,4), wait for camera resume box advance, resume player, camera follows hero (me) end script,bramSLOW,begin suspend player, suspend box advance,remember party swap by position (0,find hero (hero:Bram)), teach spell ((find hero(hero:Bram)),82) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1223), wait (7), wait for key (use key), advance text box set NPC direction (0,right), wait (3) show text box (1224), wait (7), wait for key (use key), advance text box play sound (sfx:YAP,false,true), set NPC direction (1,down), wait (10) set NPC direction (1,up), wait (3), set NPC direction (0,down) tweak palette (10,0,0), update palette, play sound (sfx:bubbles,false,true), wait (10) reset palette, fade screen in show text box (1225), wait (7), wait for key (use key), advance text box resume box advance, resume player,reinstate party end script,NightSLEEP,begin suspend player, suspend box advance,remember party swap by position (0, find hero (hero:Night)), teach spell ((find hero(hero:Night)),atk:Slumber) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1226), wait (7), wait for key (use key), advance text box play sound (sfx:Select8Bit,false,true), show backdrop (30), wait (10) show text box (1227), wait (7), wait for key (use key), advance text box play sound (sfx:YAP,false,true), set NPC direction (1,down), wait (10) set NPC direction (1,up), wait (3), set NPC direction (0,down), wait (1) play sound (sfx:Select8Bit,false,true), show map, wait (3) tweak palette (10,0,0), update palette, play sound (sfx:Heal8bit,false,true) wait (10), reset palette, fade screen in show text box (1228), wait (7), wait for key (use key), advance text box resume player, resume box advance,reinstate party end script,OlafMANA,begin suspend player, suspend box advance,remember party swap by position (0, find hero (hero:Olaf)), teach spell ((find hero(hero:Olaf)),atk:Mana Rage) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1229), wait (7), wait for key (use key), advance text box, set NPC direction (0,left) show text box (1230), wait (7), wait for key (use key), advance text box set hero direction (me,right), play sound (sfx:YAP,false,true), set NPC direction (1,down), wait (10) set NPC direction (1,up), wait (3), set NPC direction (0,down), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1231), wait (7), wait for key (use key), advance text box wait (3), tweak palette (0,10,0), update palette, play sound (sfx:Metal_Hit,false,true) wait (10), reset palette, fade screen in show text box (1232), wait (7), wait for key (use key), advance text box resume box advance, resume player, reinstate party end script,KittSLASH,begin suspend player, suspend box advance,remember party swap by position (0, find hero (hero:Kitt)), teach spell ((find hero(hero:Kitt)),atk:Slash All) tweak palette (63,63,63), update palette, wait (1), set tag (tag:ROACHES,on), reset palette update palette, wait (1), set hero direction (me,right), wait (3) set hero direction (me,down), wait (3), focus camera (7,5,4), wait for camera set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1235), wait (7), wait for key (use key), advance text box show text box (1236), wait (7), wait for key (use key), advance text box play sound (sfx:YAP,false,true), set NPC direction (1,down), wait (10) set NPC direction (1,up), wait (3) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1237), wait (7), wait for key (use key), advance text box play sound (sfx:Soft_Airy_Swish,false,true), set hero position (me,4,7), wait (3) play sound (sfx:Soft_Airy_Swish,false,true), set hero position (me,8,5), wait (3) play sound (sfx:Soft_Airy_Swish,false,true), set hero position (me,4,5), wait (3) play sound (sfx:Soft_Airy_Swish,false,true), set hero position (me,10,4), wait (3) play sound (sfx:Soft_Airy_Swish,false,true), set hero position (me,8,7), wait (3) play sound (sfx:Soft_Airy_Swish,false,true), set hero position (me,6,4), wait (3) play sound (sfx:Soft_Airy_Swish,false,true), set hero position (me,10,6), wait (3) play sound (sfx:Soft_Airy_Swish,false,true), set hero position (me,7,5), wait (3) camera follows hero (me), wait (1), set tag (tag:ROACHES,off), tweak palette (10,0,0) update palette, play sound (sfx:Soft_Airy_Swish,false,true), wait (10), reset palette, fade screen in show text box (1238), wait (7), wait for key (use key), advance text box resume player, resume box advance,reinstate party end script,FrumpForce,begin suspend player, suspend box advance,remember party walk hero to x (me,9), walk hero to y (me,13) wait for hero (me), set caterpillar mode (on), suspend caterpillar swap by position (0, find hero (hero:Kitt)), swap by position (1, find hero (hero:Bram)) swap by position (2, find hero (hero:Frumpy)), swap by position (3, find hero (hero:Night)) teach spell ((find hero(hero:Frumpy)),atk:Force) set hero position (1,9,13), set hero position (2,9,13), set hero position (3,9,13) wait (2), walk hero (me,up,1), walk hero (1,left,1) walk hero (2,right,1), walk hero (3,down,1), wait for hero (me) set hero direction (me,left), set hero direction (1,down) set hero direction (2,down), set hero direction (3,left) wait (4), set hero direction (me,down), set hero direction (1,right) set hero direction (2,left), set hero direction (3,up), wait (4) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (1239), wait (7), wait for key (use key), advance text box set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) show textbox (1240), wait (7), wait for key (use key), advance text box walk hero to x (1,3), wait for hero (1), walk hero to y (1,10), wait for hero (1) walk hero (1,left,1), wait for hero (1), wait (10), walk hero (1,right,1) wait for hero (1), walk hero (1,up,5), wait for hero (1) set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) show textbox (1241), wait (7), wait for key (use key), advance text box set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) show textbox (1242), wait (7), wait for key (use key), advance text box walk hero to y (1,13), wait for hero (1), set hero direction (1,right) set hero direction (me,left), set hero direction (2,left) set hero direction (3,left), set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) show textbox (1243), wait (7), wait for key (use key), advance text box walk NPC to y (6,11), wait for NPC (6), set hero direction (1,up), wait (2) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) show textbox (1244), wait (7), wait for key (use key), advance text box walk hero (2,left,2), wait for hero (2) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) show textbox (1245), wait (7), wait for key (use key), advance text box play sound (sfx:Wind,false,true), fade screen out (63,63,63), wait (5) set tag (tag:FORCE,on), wait (10), fade screen in, wait (5) tweak palette (10,0,0), update palette, play sound (sfx:Wind,false,true) wait (10), reset palette, fade screen in show text box (1246), wait (7), wait for key (use key), advance text box walk hero (2,right,2), walk hero to x (1,8), wait for hero (1) set hero direction (me,down), set hero direction (1,right) set hero direction (2,left), set hero direction (3,up) set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) show textbox (1247), wait (7), wait for key (use key), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (1248), wait (7), wait for key (use key), advance text box walk hero (me,down,1), walk hero (1,right,1), walk hero (2,left,1), walk hero (3,up,1) wait for hero (me), resume caterpillar, set caterpillar mode (off) resume box advance, resume player, encounters end script,StyrgeWERE,begin remember party, suspend player, suspend box advance, swap by position (0, find hero (hero:Styrge)) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show textbox (1250), wait (7), wait for key (use key), advance text box set NPC direction (22,right), wait (5), set NPC direction (22,down), wait (5) play sound (sfx:Growl,false,true), wait (15) # baddle BossIntroduction, fight formation (146), swap by position (0, find hero (hero:Styrge)) set tag (tag:WERERED,on), wait (10), fade screen in, wait (5) tweak palette (10,0,0), update palette, play sound (sfx:Growl,false,true), wait (10) reset palette, fade screen in show text box (1251), wait (7), wait for key (use key), advance text box teach spell ((find hero(hero:Styrge)),atk:Were Bust) show text box (1252), wait (7), wait for key (use key), advance text box show text box (1253), wait (7), wait for key (use key), advance text box show text box (1254), wait (7), wait for key (use key), advance text box resume player, resume box advance,reinstate party, encounters end script,antidote,begin remember party, suspend player, suspend box advance, set caterpillar mode (on) suspend caterpillar, swap by position (0, find hero (hero:Styrge)) swap by position (1, find hero (hero:Frumpy)), set hero position (1,60,21), set hero position (2,1,1) set hero position (3,1,1), wait (2), walk hero (1,down,1), wait for hero (1), set hero direction (1,right), wait (2) show text box (1259), wait (7), wait for key (use key), advance text box, wait (5) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1260), wait (7), wait for key (use key), advance text box # Teach styrge Unvenom tweak palette (0,0,10), update palette, play sound (sfx:Heal8 Bit,false,true) teach spell ((find hero(hero:Styrge)),atk:Unvenom), wait (10), reset palette, fade screen in show text box (1261), wait (7), wait for key (use key), advance text box set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) show text box (1262), wait (7), wait for key (use key), advance text box # Teach Frumpy Antidote tweak palette (0,0,10), update palette, play sound (sfx:Heal8 Bit,false,true) teach spell ((find hero(hero:Frumpy)),atk:Antidote) wait (10), reset palette, fade screen in show text box (1263), wait (7), wait for key (use key), advance text box show text box (1264), wait (7), wait for key (use key), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1265), wait (7), wait for key (use key), advance text box walk hero (1,up), wait for hero (1), wait (1), resume caterpillar set caterpillar mode (off), resume box advance, resume player, reinstate party, encounters end script,Hildaback,begin remember party, suspend player, suspend box advance, suspend caterpillar swap by position (0, find hero (hero:Freki)), swap by position (1, find hero (hero:Renard)) swap by position (2, find hero (hero:Bram)), swap by position (3, find hero (hero:Frumpy)) wait (1), set hero position(1, 3, 25), set hero position(2, 3, 25), set hero position(3, 3, 25) wait (1), set caterpillar mode (on), wait (1), walk hero (1,left,1) walk hero (2,down,1), walk hero (3,right,1), wait for hero (1), set hero direction (1,up) set hero direction (2,up), set hero direction (3,up), wait (2) show text box (1267), wait (7), wait for key (use key), advance text box set hero direction (1,right) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) show text box (1268), wait (7), wait for key (use key), advance text box set hero direction (3,left) set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) show text box (1269), wait (7), wait for key (use key), advance text box set hero direction (1,up), set hero direction (3,up) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) suspend map music show text box (1270), wait (7), wait for key (use key), advance text box show text box (1271), wait (7), wait for key (use key), advance text box # Off to Valhalla for a cut scene fade screen out, wait (2), greyscale palette, teleport to map (1, 33, 1) wait (2), focus camera (33,6,4), wait for camera play song (song:In Soft Reflection), fade screen in show text box (1272), wait (7), wait for key (use key), advance text box walk NPC (23,down,4), wait for NPC (23), wait (20), walk NPC (23,up,4) walk NPC (24,up,4), walk NPC (25,up,4), walk NPC (26,up,4), walk NPC (27,up,4) wait for NPC (23), walk NPC (23,right,2), set NPC direction (23,left) show text box (1273), wait (7), wait for key (use key), advance text box show text box (1274), wait (7), wait for key (use key), advance text box walk NPC (25,up,1), wait for NPC (25) show text box (3995), wait (7), wait for key (use key), advance text box show text box (3996), wait (7), wait for key (use key), advance text box show text box (3997), wait (7), wait for key (use key), advance text box show text box (3998), wait (7), wait for key (use key), advance text box show text box (1275), wait (7), wait for key (use key), advance text box wait (5), set NPC direction (25,left) wait (5), set NPC direction (25,down), wait (5) show text box (3999), wait (7), wait for key (use key), advance text box show text box (4000), wait (7), wait for key (use key), advance text box # The action returns to Gnipahellir fade screen out, wait (2), reset palette, camera follows hero (me) wait (2), teleport to map (43, 3, 25), wait (2) set hero position (1,2,25), set hero position (2,3,26), set hero position (3,4,25) set NPC direction (0,down), wait (2), fade screen in, wait (5) show text box (1276), wait (7), wait for key (use key), advance text box resume map music show text box (1277), wait (7), suspend obstruction, wait for key (use key) advance text box, walk NPC (0,down,1), walk hero (1,right,1) walk hero (2,up,1), walk hero (3,left,1), wait for hero (1) unlock hero (hero:Hilda), set tag (tag:Hildareturns,on), resume obstruction resume player, resume box advance, resume caterpillar set caterpillar mode (off),reinstate party, encounters end script,housemaster,begin remember party, suspend player, suspend box advance walk hero to y (me,11), wait for hero (me) walk hero to x (me,39), wait for hero (me) set hero direction (me,up), swap by position (0, find hero (hero:Hilda)) swap by position (1, find hero (hero:Freki)), swap by position (2, find hero (hero:Bram)) swap by position (3, find hero (hero:Renard)),remember party, set caterpillar mode (on) suspend caterpillar, set hero position (1,39,11), set hero position (2,39,11) set hero position (3,39,11), wait (1), walk hero (1,left,1) walk hero (2,right,1), walk hero (3,down,1), wait for hero (3) set hero direction (1,up), set hero direction (2,up), set hero direction (3,up) focus camera (39,8,4), wait for camera , walk NPC (1,down,1), wait for NPC (1) show text box (1278), wait (7), wait for key (use key), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1279), wait (7), wait for key (use key), advance text box walk hero (1,left,2), walk hero (2,right,2), walk hero (me,left,1) walk hero (3,up,1), walk hero (3,right,1), wait for hero (1) show text box (1280), walk hero (1,up,2), walk hero (2,up,2) walk hero (me,left,2), walk hero (3,right,2), wait for hero (1) walk hero (1,left,1), walk hero (2,right,1), walk hero (me,up,2) walk hero (3,up,2), wait for hero (me), walk hero (1,up,2) walk hero (2,up,2), walk hero (me,left,1), walk hero (3,right,1) wait for hero (1), advance textbox show textbox (1281), walk hero (1,left,1), walk hero (2,right,1) walk hero (me,up,2), walk hero (3,up,2), wait for hero (1) walk hero (1,up,3), walk hero (2,up,3), wait for hero (1) set hero direction (me,right), set hero direction (3,left) walk hero (1,right,1), walk hero (2,left,1), wait for hero (1) advance textbox, set NPC direction (1,left), wait (3) set NPC direction (1,right), wait (3), set NPC direction (1,left), wait (3) set NPC direction (1,right), wait (3), set NPC direction (1,left) show text box (1282), wait (7), wait for key (use key), advance text box set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) show text box (1283), wait (7), wait for key (use key), advance text box show text box (1284), wait (7), wait for key (use key), advance text box wait (5), stop song, wait (5) show textbox (828), wait (7), wait for key (usekey), advance text box show textbox (829), wait (7), wait for key (usekey), advance text box wait (5), tweak palette (-20,-20,-20), fade screen in, wait (4) show textbox (830), wait (7), wait for key (usekey), advance text box # The new boss fight effect! BossIntroduction ,fight formation (156), stop song show text box (1285), wait (7), wait for key (use key), advance text box show text box (1286), wait (7), wait for key (use key), advance text box walk NPC (1,left,1), wait for NPC (1), walk NPC (1,up,1) wait for NPC (1), set NPC direction (1,left), wait (3) set NPC speed (1,10), set NPC direction (1,down), wait (3) suspend NPC walls, suspend obstruction, pan camera (down,2) walk NPC (1,down,7), wait (5) show text box (1287), wait (7), wait for NPC (1), walk NPC (4,up,2) advance text box, wait for NPC (4), play sound (sfx:Crush8Bit,false,true) set NPC speed (1,20), walk NPC (1,up,1), set NPC direction (1,left) wait for NPC (1), walk NPC (1,up,1), set NPC direction (1,up) wait for NPC (1), walk NPC (1,up,1), set NPC direction (1,right) wait for NPC (1), walk NPC (1,up,1), set NPC direction (1,down) wait for NPC (1), walk NPC (1,up,1), set NPC direction (1,left) wait for NPC (1), walk NPC (1,up,1), set NPC direction (1,up) wait for NPC (1), walk NPC (1,up,1), set NPC direction (1,right) wait for NPC (1), walk NPC (1,up,1), set NPC direction (1,down) wait for NPC (1), set NPC direction (1,left), wait (3) set NPC direction (1,up), wait (3), set NPC direction (1,right), wait (3) set NPC direction (1,down), wait (3), walk NPC (1,down,1), wait for NPC (1) wait (1), set NPC speed (1,4), pan camera (up,2), walk NPC (5,right,1), walk NPC (4,left,1) wait for NPC (5), walk NPC (5, up, 3), walk NPC (4,up,1), wait for NPC (5), wait for NPC (4) show text box (1288), wait (7), wait for key (use key), advance text box walk NPC (1,right,1), wait for NPC (1), set NPC direction (1,down) show text box (1289), wait (7), wait for key (use key), advance text box BossIntroduction, fight formation (157), unlock hero (hero:Olaf) show text box (1290), wait (7), wait for key (use key), advance text box wait (5), fade screen out, wait (3) show text box (1293), wait (3), fade screen in, wait (7) wait for key (use key), advance text box show text box (1294), wait (7), wait for key (use key), advance text box show text box (1295), wait (7), wait for key (use key), advance text box show text box (1296), wait (7), wait for key (use key), fade screen out wait (2), advance text box, wait (3), fade screen in, wait (2) show text box (1291), wait (7), wait for key (use key), advance text box show text box (1292), wait (7), wait for key (use key), advance text box play sound (sfx:Electricity,false,true), walk NPC (10,down,3), walk NPC (11,down,3) walk NPC (12,down,3), walk NPC (13,down,3), wait for NPC (10) walk NPC (10,left,1), walk NPC (11,up,1), walk NPC (12,right,1), walk NPC (13,down,1), wait for NPC (10) # the dance of electricity! play sound (sfx:Electricity,false,true), walk NPC (10,up,1), walk NPC (10,right,1) walk NPC (11,right,1), walk NPC (11,down,1), walk NPC (12,left,1), walk NPC (12,down,1) walk NPC (13,left,1), walk NPC (13,up,1), wait for NPC (10), walk NPC (10,right,1) walk NPC (10,down,1), walk NPC (11,left,1), walk NPC (11,down,1), walk NPC (12,left,1) walk NPC (12,up,1), walk NPC (13,up,1), walk NPC (13,right,1), wait for NPC (10) walk NPC (10,left,1), walk NPC (10,down,1), walk NPC (11,left,1), walk NPC (11,up,1) walk NPC (12,up,1), walk NPC (12,right,1), walk NPC (13,right,1), walk NPC (13,down,1) wait for NPC (10), walk NPC (10,left,1), walk NPC (10,up,1), walk NPC (11,up,1) walk NPC (11,right,1), walk NPC (12,right,1), walk NPC (12,down,1), walk NPC (13,down,1) walk NPC (13,left,1), wait for NPC (10), play sound (sfx:Electricity,false,true) walk NPC (10,up,1), walk NPC (10,right,1), walk NPC (11,right,1), walk NPC (11,down,1) walk NPC (12,left,1), walk NPC (12,down,1), walk NPC (13,left,1), walk NPC (13,up,1) wait for NPC (10), walk NPC (10,right,1), walk NPC (10,down,1), walk NPC (11,left,1) walk NPC (11,down,1), walk NPC (12,left,1), walk NPC (12,up,1), walk NPC (13,up,1) walk NPC (13,right,1), wait for NPC (10), walk NPC (10,left,1), walk NPC (10,down,1) walk NPC (11,left,1), walk NPC (11,up,1), walk NPC (12,up,1), walk NPC (12,right,1) walk NPC (13,right,1), walk NPC (13,down,1), wait for NPC (10), walk NPC (10,left,1) walk NPC (10,up,1), walk NPC (11,up,1), walk NPC (11,right,1), walk NPC (12,right,1) walk NPC (12,down,1), walk NPC (13,down,1), walk NPC (13,left,1), wait for NPC (10) play sound (sfx:Electricity,false,true), walk NPC (10,up,1), walk NPC (10,right,1) walk NPC (11,right,1), walk NPC (11,down,1), walk NPC (12,left,1), walk NPC (12,down,1) walk NPC (13,left,1), walk NPC (13,up,1), wait for NPC (10), walk NPC (10,right,1) walk NPC (10,down,1), walk NPC (11,left,1), walk NPC (11,down,1), walk NPC (12,left,1) walk NPC (12,up,1), walk NPC (13,up,1), walk NPC (13,right,1), wait for NPC (10) walk NPC (10,left,1), walk NPC (10,down,1), walk NPC (11,left,1), walk NPC (11,up,1) walk NPC (12,up,1), walk NPC (12,right,1), walk NPC (13,right,1), walk NPC (13,down,1) wait for NPC (10), walk NPC (10,left,1), walk NPC (10,up,1), walk NPC (11,up,1) walk NPC (11,right,1), walk NPC (12,right,1), walk NPC (12,down,1), walk NPC (13,down,1) walk NPC (13,left,1), wait for NPC (10), play sound (sfx:lightning,false,true) walk NPC (10,right,3), walk NPC (11,down,3), walk NPC (12,left,3), walk NPC (13,up,3) wait for NPC (13), fade screen out (63,63,63), wait (10) resume obstruction, resume NPC walls, set tag (tag:Housemaster,on) wait (10), fade screen in, wait (5) show textbox (1297), wait (7), wait for key (usekey), advance textbox wait (3), fade screen out, wait (1) resume box advance, resume caterpillar, set hero direction (me,down) set caterpillar mode (off), camera follows hero, set tag (tag:Gnipaover,on) use door (7), resume player, encounters end script,FrumpyLINGUE,begin remember party, suspend player, suspend box advance swap by position (0, find hero (hero:Frumpy)), wait (3) set hero frame (me,1), wait (1) set hero frame (me,0), wait (1) set hero frame (me,1), wait (1) set hero frame (me,0), wait (1) show text box (1306), wait (7), wait for key (use key), advance text box show text box (1307), wait (7), wait for key (use key), advance text box BossIntroduction, fight formation (158), swap by position (0, find hero (hero:Frumpy)) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1308), wait (7), wait for key (use key), advance text box show text box (1309), wait (7), wait for key (use key), advance text box tweak palette (0,0,10), update palette, play sound (sfx:Menu8Bit,false,true) teach spell ((find hero(hero:Frumpy)),atk:Lingue), wait (10), reset palette, fade screen in show text box (1310), wait (7), wait for key (use key), advance text box fade screen out (63,63,63), wait (1), set tag (tag:Frumling,on), wait (1) resume box advance, wait (2), fade screen in, wait (2), resume player,reinstate party, encounters end script,FrumpyAWAKE,begin remember party, suspend player, suspend box advance swap by position (0, find hero (hero:Frumpy)), wait (1) walk hero to x (me,38), walk hero to y (me,16), wait for hero (me) set hero frame (me,1), wait (1) set hero frame (me,0), wait (1) set hero frame (me,1), wait (1) set hero frame (me,0), wait (1) show text box (1312), wait (7), wait for key (use key), advance text box show text box (1313), wait (7), wait for key (use key), advance text box BossIntroduction, fight formation (159), swap by position (0, find hero (hero:Frumpy)) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1314), wait (7), wait for key (use key), advance text box show text box (1315), wait (7), wait for key (use key), advance text box tweak palette (0,0,10), update palette, play sound (sfx:Menu8Bit,false,true) teach spell ((find hero(hero:Frumpy)),atk:Awake), wait (10), reset palette, fade screen in show text box (1316), wait (7), wait for key (use key), advance text box fade screen out (63,63,63), wait (1), set tag (tag:Frumawak,on), wait (1) resume box advance, wait (2), fade screen in wait (2), resume player,reinstate party, encounters end script,FrumpyNURSE,begin remember party, suspend player, suspend box advance swap by position (0, find hero (hero:Frumpy)), wait (1) walk hero to x (me,24), walk hero to y (me,41), wait for hero (me), wait (3) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1318), wait (7), wait for key (use key), advance text box show text box (1319), wait (7), wait for key (use key), advance text box BossIntroduction, fight formation (160), swap by position (0, find hero (hero:Frumpy)) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1320), wait (7), wait for key (use key), advance text box show text box (1321), wait (7), wait for key (use key), advance text box tweak palette (0,0,10), update palette, play sound (sfx:Heal8Bit,false,true) teach spell ((find hero(hero:Frumpy)),atk:Nurse), wait (10), reset palette, fade screen in show text box (1322), wait (7), wait for key (use key), advance text box fade screen out (63,63,63), wait (1), set tag (tag:Frumnurs,on) wait (1), resume box advance, wait (2) fade screen in, wait (2), resume player,reinstate party, encounters end script,FrumpyLIFE,begin remember party, suspend player, suspend box advance swap by position (0, find hero (hero:Frumpy)), wait (1) walk hero to x (me,17), walk hero to y (me,41), wait for hero (me), wait (3) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1334), wait (7), wait for key (use key), advance text box show text box (1335), wait (7), wait for key (use key), advance text box play song (song:Vile) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1336), wait (7), wait for key (use key), advance text box show text box (1337), wait (7), wait for key (use key), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1338), wait (7), wait for key (use key), advance text box BossIntroduction, fight formation (161) swap by position (0, find hero (hero:Frumpy)) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1339), wait (7), wait for key (use key), advance text box show text box (1340), wait (7), wait for key (use key), advance text box wait (1), play sound (sfx:lightning,false,true) pancamera(up,1,20),waitforcamera, pancamera(down,2,20),waitforcamera pancamera(up,2,20),waitforcamera, pancamera(down,1,20),waitforcamera pancamera(up,1,20),waitforcamera, pancamera(down,2,20),waitforcamera pancamera(up,2,20),waitforcamera, pancamera(down,1,20),waitforcamera camera follows hero (me), fade screen out (63,63,63), wait (1) set tag (tag:Frumlife,on), wait (1), fade screen in, wait (2) tweak palette (0,0,10), update palette, play sound (sfx:Heal8Bit,false,true) teach spell ((find hero(hero:Frumpy)),atk:Life), wait (10), reset palette, fade screen in show text box (1341), wait (7), wait for key (use key), advance text box fade screen out (63,63,63), wait (1), resume box advance wait (2), fade screen in, wait (2), resume player,reinstate party, encounters end script,FrumpySUBLIME,begin remember party, suspend player, suspend box advance show text box (1344), wait (7), wait for key (use key), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1345), wait (7), wait for key (use key), advance text box show text box (1346), wait (7), wait for key (use key), advance text box BossIntroduction, fight formation (162), wait (2) tweak palette (0,10,0), update palette, play sound (sfx:Metal_Hit,false,true) teach spell ((find hero(hero:Frumpy)),atk:Sublime), set tag (tag:sublime,on) wait (10), reset palette, fade screen in show text box (1347), wait (7), wait for key (use key), advance text box show text box (1348), wait (7), wait for key (use key), advance text box show text box (1349), wait (7), wait for key (use key), advance text box show text box (1350), wait (7), wait for key (use key), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1351), wait (7), wait for key (use key), advance text box resume box advance, resume player,reinstate party, encounters end # script of scripts, it's time to fight Fenrir script, Lyngvi, begin #NPC 3 is Fenrir, 5 and 6 are Skoll and Hati respectively suspend player, suspend box advance, suspend random enemys, suspend hero walls swap by position (0, find hero (hero:Freki)), wait (3) suspend caterpillar, set hero direction (1,up), set hero direction (2,up) set hero direction (3,up), wait (2), focus camera (16,13,4) set caterpillar mode (on), set hero position (1, 16, 13), set hero position (2, 16, 13) set hero position (3, 16, 13), wait (2), walk hero (me,up,1), walk hero (1,left,1) walk hero (2,right,1), walk hero (3,down,1), wait for hero (me) set hero direction (me,left), set hero direction (1,down), set hero direction (2,down) set hero direction (3,left), wait (4), set hero direction (me,down) set hero direction (1,right), set hero direction (2,left), set hero direction (3,up) wait (4), set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1362), wait (7), wait for key (use key), advance text box set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) show text box (1363), wait (7), wait for key (use key), advance text box walk hero (me,up,1), wait for hero (me), set hero direction (1,up) walk hero (me,left,2), wait for hero (me), walk hero (me,up,1) wait for hero (me), focus camera (14,8,2) set NPC frame (6,1), wait (1), set NPC frame (6,0), wait (1) set NPC frame (6,1), wait (1), set NPC frame (6,0), wait (1) show text box (1364),wait for camera, set hero position (1, 0, 0), set hero position (2, 0, 0) set hero position (3, 0, 0), wait (7), wait for key (use key), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1365), wait (7), wait for key (use key), advance text box set NPC frame (6,1), wait (1), set NPC frame (6,0), wait (1) set NPC frame (6,1), wait (1), set NPC frame (6,0), wait (1) show text box (1366), wait (7), wait for key (use key), advance text box wait (5), stop song, wait (10) show text box (1367), pancamera(up,1,20),waitforcamera pancamera(down,2,20),waitforcamera, pancamera(up,2,20),waitforcamera pancamera(down,1,20),waitforcamera , wait (7), wait for key (use key), advance text box wait (3), set NPC direction (6,left), wait (3) set NPC direction (6,up), wait (3) set NPC frame (6,1), wait (1), set NPC frame (6,0), wait (1) set NPC frame (6,1), wait (1), set NPC frame (6,0), wait (1) show text box (1368), wait (7), wait for key (use key), advance text box set NPC frame (3,1), wait (1), set NPC frame (3,0), wait (1) set NPC frame (3,1), wait (1), set NPC frame (3,0), wait (1) show text box (1369), wait (7), wait for key (use key), advance text box walk NPC (6,right,2),walk NPC (5,left,1), wait for NPC (6), set NPC direction (6,down) set NPC direction (5,down), wait (3), set NPC direction (6,left), set NPC direction (5,right), wait (3) set NPC frame (6,1), wait (1), set NPC frame (6,0), wait (1) set NPC frame (6,1), wait (1), set NPC frame (6,0), wait (1) show text box (1370), wait (7), wait for key (use key), advance text box set NPC frame (3,1), wait (1), set NPC frame (3,0), wait (1) set NPC frame (3,1), wait (1), set NPC frame (3,0), wait (1) show text box (1371), wait (7), wait for key (use key), advance text box stop song, wait (10), walk hero (me,up,1), wait for hero (me), wait (5) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1372), wait (7), wait for key (use key), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1373), wait (7), wait for key (use key), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1374), wait (7), wait for key (use key), advance text box set NPC frame (6,1), wait (1), set NPC frame (6,0), wait (1) set NPC frame (6,1), wait (1), set NPC frame (6,0), wait (1) show text box (1375), wait (7), wait for key (use key), advance text box set NPC frame (3,1), wait (1), set NPC frame (3,0), wait (1) set NPC frame (3,1), wait (1), set NPC frame (3,0), wait (1) show text box (1376), wait (7), wait for key (use key), advance text box show text box (1377), wait (7), wait for key (use key), advance text box fade screen out, wait (2), show text box (1378), wait (2) fade screen in, wait (7), wait for key (usekey), advance textbox show text box (1379), wait (7), wait for key (use key), advance text box show text box (1380), wait (7), wait for key (use key), advance text box show text box (1381), wait (7), wait for key (use key), fade screen out wait (2) ,advance text box, wait (2), fade screen in, wait (2) set NPC frame (3,1), wait (1), set NPC frame (3,0), wait (1) set NPC frame (3,1), wait (1), set NPC frame (3,0), wait (1) show text box (1382), wait (7), wait for key (use key), advance text box show text box (1383), wait (7), wait for key (use key), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1384), wait (7), wait for key (use key), advance text box set hero position (1, 13, 14), set hero position (2, 15, 14), set hero position (3, 14, 15) wait (2), lock hero (hero:Freki), walk hero to y (1,10), walk hero to y (2,10) walk hero to y (3,10), wait for hero (3) show text box (1385), wait (7), wait for key (use key), advance text box use shop (shop:Before Combat), wait (5),remember party stop song, BossIntroduction , fight formation (2), stop song swap by position (0, find hero (hero:Freki)), unlock hero (hero:Freki) set NPC frame (3,1), wait (1), set NPC frame (3,0), wait (1) set NPC frame (3,1), wait (1), set NPC frame (3,0), wait (1) show text box (1386), wait (7), wait for key (use key), advance text box wait (15), set NPC frame (3,1), wait (1), set NPC frame (3,0), wait (1) set NPC frame (3,1), wait (1), set NPC frame (3,0), wait (1) show text box (1387), wait (7), wait for key (use key), advance text box walk hero (1,down,5), walk hero (2,down,5), walk hero (3,down,5), wait (15) show text box (1388), pancamera(up,1,20),waitforcamera pancamera(down,2,20),waitforcamera, pancamera(up,2,20),waitforcamera pancamera(down,1,20),waitforcamera , wait (7), wait for key (use key), advance text box wait (5), walk NPC (6,down,10), walk NPC (5,right,4), wait for NPC (5), walk NPC (5,down,10), wait for NPC (5) tweak palette (-10,-20,-10), fade screen in, wait (3) play sound (sfx:earthquake,false,true) , pancamera(up,1,20),waitforcamera pancamera(down,2,20),waitforcamera, pancamera(up,2,20),waitforcamera pancamera(down,1,20),waitforcamera , pancamera(left,1,20),waitforcamera pancamera(right,2,20),waitforcamera, pancamera(left,2,20),waitforcamera pancamera(right,1,20),waitforcamera pan camera (up,1,20), pan camera (right,1,20), wait for camera pan camera (down,2,20), pan camera (left,2,20), wait for camera pan camera (up,2,20), pan camera (right,2,20), wait for camera pan camera (down,1,20), pan camera (left,1,20), wait for camera play sound (sfx:earthquake,false,true) , pancamera(up,1,20),waitforcamera pancamera(down,2,20),waitforcamera, pancamera(up,2,20),waitforcamera pancamera(down,1,20),waitforcamera , pancamera(left,1,20),waitforcamera pancamera(right,2,20),waitforcamera, pancamera(left,2,20),waitforcamera pancamera(right,1,20),waitforcamera pan camera (up,1,20), pan camera (right,1,20), wait for camera pan camera (down,2,20), pan camera (left,2,20), wait for camera pan camera (up,2,20), pan camera (right,2,20), wait for camera pan camera (down,1,20), pan camera (left,1,20), wait for camera play sound (sfx:nuclear,false,true) , pancamera(up,1,20),waitforcamera pancamera(down,2,20),waitforcamera, pancamera(up,2,20),waitforcamera pancamera(down,1,20),waitforcamera , pancamera(left,1,20),waitforcamera pancamera(right,2,20),waitforcamera, pancamera(left,2,20),waitforcamera pancamera(right,1,20),waitforcamera pan camera (up,1,20), pan camera (right,1,20), wait for camera pan camera (down,2,20), pan camera (left,2,20), wait for camera pan camera (up,2,20), pan camera (right,2,20), wait for camera pan camera (down,1,20), pan camera (left,1,20), wait for camera fade screen out (63,63,63), wait (1), set tag (tag:FENRIRBREAK,on) wait for sound (sfx:nuclear), wait (4), reset palette, fade screen in, wait (4) set ambient music (song:In Soft Reflection), save map state (mapstate:all) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1389), wait (7), wait for key (use key), advance text box show text box (1390), wait (7), wait for key (use key), advance text box show text box (1391), wait (7), wait for key (use key), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1392), wait (7), wait for key (use key), advance text box show text box (1393), wait (7), wait for key (use key), advance text box show text box (1394), wait (7), wait for key (use key), advance text box show text box (1395), wait (7), wait for key (use key), advance text box show text box (1403), wait (7), wait for key (use key), advance text box wait (5), focus camera (14,9,2), wait for camera camera follows hero (me), resume caterpillar, set caterpillar mode (off) resume box advance, resume player, resume hero walls, encounters end script,Freya,begin remember party,suspend player,suspend box advance show text box (383), wait (7), wait for key (use key), advance text box fade screen out, wait (5) swap by position (0,find hero (hero:Freki)), set hero direction (me,up) use door (18), wait (5) show text box (3293), wait (7), wait for key (use key), advance text box walk NPC (13,down,2), wait for NPC (13), set NPC direction (13,left) show text box (3294), wait (7), wait for key (use key), advance text box show text box (3295), wait (7), wait for key (use key), advance text box set NPC direction (0,right) show text box (3296), wait (7), wait for key (use key), advance text box show text box (3297), wait (7), wait for key (use key), advance text box walk NPC (13,right,7), wait (10) show text box (3298), wait (7), wait for key (use key), advance text box show text box (3299), wait (7), wait for key (use key), advance text box set NPC direction (0,down), wait (5), set NPC direction (0,left), wait (5) show text box (3300), wait (7), wait for key (use key), advance text box set NPC direction (0,down) show text box (3301), wait (7), wait for key (use key), advance text box show text box (3302), wait (7), wait for key (use key), advance text box show text box (3303), wait (7), wait for key (use key), advance text box set NPC direction (0,left), set NPC direction (14,left), set NPC direction (11,down) show text box (3304), wait (7), wait for key (use key), advance text box show text box (3305), wait (7), wait for key (use key), advance text box set NPC direction (0,down), set NPC direction (11,right) show text box (3306), wait (7), wait for key (use key), advance text box show text box (3307), wait (7), wait for key (use key), advance text box wait (5), fade screen out, wait (5) show text box (3308), wait (2), fade screen in, wait (5) wait for key (use key), advance text box show text box (3309), wait (7), wait for key (use key), advance text box show text box (3310), wait (7), wait for key (use key), advance text box show text box (3311), wait (7), wait for key (use key), fade screen out wait (5), advance text box, wait (5), fade screen in, wait (5) walk NPC (11,right,1) show text box (3312), wait (7), wait for key (use key), advance text box show text box (3313), wait (7), wait for key (use key), advance text box show text box (3314), wait (7), wait for key (use key), advance text box wait (5), fade screen out, wait (5) show text box (3315), wait (2),fade screen in, wait (5) wait for key (use key), advance text box show text box (3316), wait (7), wait for key (use key), advance text box show text box (3317), wait (7), wait for key (use key), fade screen out wait (5), advance text box, wait (5), fade screen in, wait (5) show text box (3318), wait (7), wait for key (use key), advance text box show text box (3319), wait (7), wait for key (use key), advance text box show text box (3320), wait (7), wait for key (use key), advance text box show text box (3321), wait (7), wait for key (use key), advance text box wait (5), fade screen out, wait (5) show text box (3322), wait (2),fade screen in, wait (5) wait for key (use key), advance text box show text box (3323), wait (7), wait for key (use key), fade screen out wait (5), advance text box, wait (5), fade screen in, wait (5) show text box (3324), wait (7), wait for key (use key), advance text box set NPC direction (11,down), set hero direction (me,left), set NPC direction (14,left) show text box (3325), wait (7), wait for key (use key), advance text box show text box (3326), wait (7), wait for key (use key), advance text box wait (5), set NPC direction (15,right), wait (5) show text box (3327), wait (7), wait for key (use key), advance text box show text box (3328), wait (7), wait for key (use key), advance text box show text box (3329), wait (7), wait for key (use key), advance text box show text box (3330), wait (7), wait for key (use key), advance text box show text box (3331), wait (7), wait for key (use key), advance text box set hero direction (me,up), set NPC direction (11,right), set NPC direction (14,up) show text box (3332), wait (7), wait for key (use key), advance text box show text box (3333), wait (7), wait for key (use key), advance text box show text box (3334), wait (7), wait for key (use key), advance text box walk NPC (12,right,1), wait for NPC (12) show text box (3335), wait (7), wait for key (use key), advance text box suspend hero walls fade screen out, wait (2),walk hero (me,up,1), wait for hero (me), resume hero walls set tag (tag:Speak with Freya, on), encounters wait (10), fade screen in,resume box advance, resume player end script,brising,begin suspend player, bifrostbeam (0) fade screen out (63,63,63), wait (1), teleport to map (map:Bifrost Tesseract,26,44), reset palette wait (1), fade screen in, bifrostbeam (1) resume player, encounters, resume npcs end script,NIGHTTHUNDER,begin suspend player,remember party, suspend box advance swap by position (0, find hero (hero:Night)), teach spell ((find hero(hero:Night)),atk:Thunder) set hero frame (me,1), wait (1) set hero frame (me,0), wait (1) set hero frame (me,1), wait (1) set hero frame (me,0), wait (1) show text box (1440), wait (7), wait for key (use key), advance text box show text box (1441), wait (7), wait for key (use key), advance text box show text box (1442), wait (7), wait for key (use key), advance text box show text box (1443), wait (7), wait for key (use key), advance text box show text box (1444), wait (7), wait for key (use key), advance text box set hero frame (me,1), wait (1) set hero frame (me,0), wait (1) set hero frame (me,1), wait (1) set hero frame (me,0), wait (1) show text box (1445), wait (7), wait for key (use key), advance text box show text box (1446), wait (7), wait for key (use key), advance text box wait (3), tweak palette (10,0,0), update palette play sound (sfx:ChargedLightningAttack8Bit,false,true), wait (10) reset palette, fade screen in show text box (1447), wait (7), wait for key (use key), advance text box show text box (1448), wait (7), wait for key (use key), advance text box play sound (sfx:lightning,false,true), fade screen out (63,63,63), wait (20) set tag (tag:ThorLake2,on), wait (2), fade screen in reinstate party, resume box advance, resume player, encounters end script,Grue,begin remember party, suspend player, suspend box advance BossIntroduction, fight formation (173) resume player, resume box advance end script,MontereyPenguin,begin remember party, suspend player, suspend box advance BossIntroduction , fight formation (169) resume player, resume box advance end script,Triangletrap,begin remember party, suspend player, suspend box advance BossIntroduction, fight formation (59) resume player, resume box advance end script,Garm,begin remember party, suspend player,suspend box advance BossIntroduction, fight formation (98) resume player, resume box advance end script,Chainsaw Jack,begin remember party, suspend player, suspend box advance BossIntroduction, fight formation (105) set tag (tag:stickman,on), resume player, resume box advance end script,Rell,begin remember party, suspend player, suspend box advance swap by position (2, find hero (hero:Eric)), suspend caterpillar wait (1), set caterpillar mode (on), set hero position (1, 40, 17) set hero position (2, 40, 17), set hero position (3, 40, 17) wait (1), suspend caterpillar , walk hero (1,left), walk hero (2,right) walk hero (3,up), wait for hero (1) set hero direction (1,down), set hero direction (2,down), set hero direction (3,down) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) show text box (1940), wait (7), wait for key (use key), advance text box show text box (1941), wait (7), wait for key (use key), advance text box show text box (1942), wait (7), wait for key (use key), advance text box show text box (1943), wait (7), wait for key (use key), advance text box BossIntroduction, set tag (tag:RELLFIGHT,on), fight formation (106) swap by position (2, find hero (hero:Eric)), wait (3), tweak palette (0,10,0) update palette, play sound (sfx:DrainMagic,false,true) teach spell ((find hero(hero:Eric)),atk:Rally), wait (10), reset palette, fade screen in show text box (1944), wait (7), wait for key (use key), advance text box set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) show text box (1945), wait (7), wait for key (use key), advance text box walk hero (1,right,1), walk hero (2,left,1), walk hero (3,down,1) wait for hero (3), set caterpillar mode (off), wait (1) resume player, resume caterpillar,reinstate party , resume box advance, encounters end script,Crimson,begin remember party, suspend player, suspend box advance walk hero (me,down,1), wait for hero (me) show text box (2088), wait (7), wait for key (use key), advance text box set hero direction (me,right) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (2089), wait (7), wait for key (use key), advance text box walk NPC (15,left,3), wait for NPC (3) show text box (574), wait (7), wait for key (use key), advance text box BossIntroduction , fight formation (107), set tag (tag:IrregularDefeated,on) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (2090), wait (7), wait for key (use key), advance text box stop song, fade screen out, wait (1) show text box (2087), wait (2), fade screen in wait (7), wait for key (use key), fade screen out wait (1), advance text box, wait (2) teleport to map (16,8,66), stop song, wait (1), fade screen in play song (song:Vile), focus camera (8,71,4), wait for camera show text box (2091), wait (7), wait for key (use key), advance text box show text box (2092), wait (7), wait for key (use key), advance text box show text box (2093), wait (7), wait for key (use key), advance text box walk NPC (11,down,1), wait for NPC (11) show text box (2094), wait (7), wait for key (use key), advance text box tweak palette (-5,-10,-10), fade screen in, wait (5) set NPC position (37,8,72), play sound (sfx:FlameMagic,false,true), wait (5) set hero direction (me,down), reset palette, fade screen in, wait (5) show text box (2095), wait (7), wait for key (use key), advance text box show text box (2096), wait (7), wait for key (use key), advance text box show text box (2097), wait (7), wait for key (use key), advance text box tweak palette (15,0,0), update palette, wait (3), reset palette, update palette, wait (1) show text box (2098), wait (7), wait for key (use key), advance text box tweak palette (-5,-10,-10), play sound (sfx:FlameMagic,false,true), Alter NPC (37,NPCstat:picture,113) Alter NPC (37,NPCstat:palette,10), fade screen in, wait (5), set NPC position (37,1,1) wait (3), reset palette, fade screen in, wait (3), stop song wait (2), set NPC position (30,8,79), walk NPC (30,up,7), wait for NPC (30) set NPC position (26,8,72) #Dogero set NPC position (27,8,72) #Housemaster walk NPC (26,left), walk NPC (27,right), wait for NPC (16) set NPC direction (26,up), set NPC direction (27,up) show text box (2099), wait (7), wait for key (use key), advance text box show text box (2100), wait (7), wait for key (use key), advance text box walk NPC (11,up,1), set NPC direction (11,down) show text box (2101), wait (7), wait for key (use key), advance text box walk NPC (30,up,1), wait for NPC (30) show text box (2102), wait (7), wait for key (use key), advance text box show text box (2103), wait (7), wait for key (use key), advance text box wait (4), set NPC direction (30,left), wait (4) show text box (2104), wait (7), wait for key (use key), advance text box set NPC direction (26,right) show text box (2105), wait (7), wait for key (use key), advance text box walk NPC (26,down,10), wait (4), walk NPC (11,down,1), wait for NPC (11) show text box (2106), wait (7), wait for key (use key), advance text box set NPC direction (30,left), wait (2), set NPC direction (30,down), wait (2) show text box (2107), wait (7), wait for key (use key), advance text box show text box (2108), wait (7), wait for key (use key), advance text box wait (5), walk NPC (30,down,10), walk NPC (27,down,10) wait (5), walk NPC (11,down,1), wait for NPC (11) show text box (2109), wait (7), wait for key (use key), advance text box show text box (2110), wait (7), wait for key (use key), advance text box fade screen out, wait (1), camera follows hero (me), wait (1) teleport to map (6,10,54), wait (1), fade screen in resume player, resume box advance, encounters end script,Josh,begin remember party, suspend player, suspend box advance BossIntroduction , fight formation (108) resume player, resume box advance end script,Walrus,begin remember party, suspend player, suspend box advance BossIntroduction, fight formation (110) resume player, resume box advance end script,Surlaw,begin remember party, suspend player, suspend box advance BossIntroduction, fight formation (111) resume player, resume box advance end script,Deactivated,begin remember party, suspend player, suspend box advance, wait (1) swap by position (0, find hero (hero:Bram)), swap by position (1, find hero (hero:Styrge)) set caterpillar mode (on), set hero position (1, 58, 30) set hero position (2, 2, 2), set hero position (3, 3, 3) wait (1), suspend caterpillar , walk hero (1,left,1), wait for hero (1) set hero direction (1,down), wait (3), set hero direction (1,right), wait (3) teach spell ((find hero(hero:Bram)),atk:Beam) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1449), wait (7), wait for key (use key), advance text box set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) show text box (1450), wait (7), wait for key (use key), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1451), wait (7), wait for key (use key), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) show text box (1452), wait (7), wait for key (use key), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1453), wait (7), wait for key (use key), advance text box play sound (sfx:Soft_Airy_Swish,false,true) show text box (1454), wait (7), wait for key (use key), advance text box wait (3), tweak palette (10,0,0), update palette play sound (sfx:Beam Attack,false,true), wait (10), reset palette, fade screen in show text box (1455), wait (7), wait for key (use key), advance text box set hero direction (me,down), wait (3), set hero direction (me,left), wait (3) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1456), wait (7), wait for key (use key), advance text box play sound (sfx:Beam Attack,false,true), wait (10) set hero direction (me,down), wait (2), set hero direction (me,right), wait (2) BossIntroduction, fight formation (177) swap by position (0, find hero (hero:Bram)), swap by position (1, find hero (hero:Styrge)) set tag (tag:deactivated,on), wait (3), tweak palette (10,0,0) update palette, play sound (sfx:Beam Attack,false,true) teach spell ((find hero(hero:Styrge)),atk:Mechbane), wait (10), reset palette, fade screen in show text box (1460), wait (7), wait for key (use key), advance text box set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) show text box (1457), wait (7), wait for key (use key), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1458), wait (7), wait for key (use key), advance text box set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) show text box (1459), wait (7), wait for key (use key), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1461), wait (7), wait for key (use key), advance text box walk hero (1,right,1), wait for hero (1), set caterpillar mode (off) resume caterpillar,reinstate party, resume player, resume box advance, encounters end script,triangle1,begin suspend player, suspend box advance,remember party focus camera (8,14,4), wait for camera, wait (3) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1469), wait (7), wait for key (use key), advance text box walk NPC (0,down,7), wait (3), walk NPC (2,left,1), wait for NPC (2) wait (3), set NPC direction (2,up) set NPC frame (2,1), wait (1), set NPC frame (2,0), wait (1) set NPC frame (2,1), wait (1), set NPC frame (2,0), wait (1) show text box (1470), wait (7), wait for key (use key), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1471), wait (7), wait for key (use key), advance text box walk hero (me,down,2), walk NPC (2,up,2), wait for hero (me) set hero direction (me,right), set NPC direction (2,left) set NPC frame (2,1), wait (1), set NPC frame (2,0), wait (1) set NPC frame (2,1), wait (1), set NPC frame (2,0), wait (1) show text box (1472), wait (7), wait for key (use key), advance text box show text box (1473), wait (7), wait for key (use key), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1474), wait (7), wait for key (use key), advance text box set NPC direction (2,down), wait (5), set NPC direction (2,right), wait (5) set NPC frame (2,1), wait (1), set NPC frame (2,0), wait (1) set NPC frame (2,1), wait (1), set NPC frame (2,0), wait (1) show text box (1475), wait (7), wait for key (use key), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1476), wait (7), wait for key (use key), advance text box set NPC frame (2,1), wait (1), set NPC frame (2,0), wait (1) set NPC frame (2,1), wait (1), set NPC frame (2,0), wait (1) show text box (1477), wait (7), wait for key (use key), advance text box suspend obstruction, wait (1), walk NPC (2,left,1) wait for NPC (2), camera follows hero (me), unlock hero (hero:Styrge), encounters set tag (tag:Styrgerejoins,on), resume box advance, resume player, resume obstruction end script,triangle2,begin remember party, suspend player, suspend box advance suspend NPCs, focus camera (53,26,4), wait for camera swap by position (0, find hero (hero:Styrge)), wait (1) set caterpillar mode (on), set hero position (1, 53, 29) set hero position (2, 53, 29), set hero position (3, 53, 29) wait (1), suspend caterpillar , walk hero (1,left,1) walk hero (2,right,1), walk hero (me,up,1), wait for hero (me) set hero direction (1,up), set hero direction (2,up), wait (3) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1478), wait (7), wait for key (use key), advance text box set NPC frame (9,1), wait (1), set NPC frame (9,0), wait (1) set NPC frame (9,1), wait (1), set NPC frame (9,0), wait (1) show text box (1479), wait (7), wait for key (use key), advance text box wait (5), set NPC direction (9,left), wait (5), set NPC direction (9,down) show text box (1480), wait (7), wait for key (use key), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1481), wait (7), wait for key (use key), advance text box set NPC frame (9,1), wait (1), set NPC frame (9,0), wait (1) set NPC frame (9,1), wait (1), set NPC frame (9,0), wait (1) show text box (1482), wait (7), wait for key (use key), advance text box play song (song:Vile), fade screen out (63,63,63), wait (1) Alter NPC (9,NPCstat:picture,4), Alter NPC (9,NPCstat:palette,147), wait (1) fade screen in, wait (5) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1483), wait (7), wait for key (use key), advance text box set NPC frame (9,1), wait (1), set NPC frame (9,0), wait (1) set NPC frame (9,1), wait (1), set NPC frame (9,0), wait (1) show text box (1484), wait (7), wait for key (use key), advance text box show text box (1485), wait (7), wait for key (use key), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1486), wait (7), wait for key (use key), advance text box set NPC frame (9,1), wait (1), set NPC frame (9,0), wait (1) set NPC frame (9,1), wait (1), set NPC frame (9,0), wait (1) show text box (1487), wait (7), wait for key (use key), advance text box walk NPC (9,down,1), wait for NPC (9) set NPC frame (9,1), wait (1), set NPC frame (9,0), wait (1) set NPC frame (9,1), wait (1), set NPC frame (9,0), wait (1) show text box (1488), wait (7), wait for key (use key), advance text box walk hero (me,up,1), wait for hero (me) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1489), wait (7), wait for key (use key), advance text box show text box (1490), wait (7), wait for key (use key), advance text box fade screen out, wait (1) show text box (1491), wait (1), fade screen in, wait (7), wait for key (usekey) show text box (1492), wait (7), wait for key (use key), fade screen out wait (1), advance text box, wait (1), fade screen in, wait (3) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1493), wait (7), wait for key (use key), advance text box show text box (1494), wait (7), wait for key (use key), advance text box set NPC frame (9,1), wait (1), set NPC frame (9,0), wait (1) set NPC frame (9,1), wait (1), set NPC frame (9,0), wait (1) show text box (1495), wait (7), wait for key (use key), advance text box walk hero (1,up,1), wait for hero (1), set hero frame (1,1), wait (1) set hero frame (1,0), wait (1), set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) show text box (1496), wait (7), wait for key (use key), advance text box set NPC frame (9,1), wait (1), set NPC frame (9,0), wait (1) set NPC frame (9,1), wait (1), set NPC frame (9,0), wait (1) show text box (1497), wait (7), wait for key (use key), advance text box walk hero (2,up,1), wait for hero (2) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) show text box (1498), wait (7), wait for key (use key), advance text box set NPC frame (9,1), wait (1), set NPC frame (9,0), wait (1) set NPC frame (9,1), wait (1), set NPC frame (9,0), wait (1) show text box (1499), wait (7), wait for key (use key), advance text box walk hero (3,up,1), wait for hero (3) set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) show text box (1500), wait (7), wait for key (use key), advance text box set NPC direction (9,left), wait (5), set NPC direction (9,up), wait (5) set NPC frame (9,1), wait (1), set NPC frame (9,0), wait (1) set NPC frame (9,1), wait (1), set NPC frame (9,0), wait (1) show text box (1501), wait (7), wait for key (use key), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1502), wait (7), wait for key (use key), advance text box set NPC frame (9,1), wait (1), set NPC frame (9,0), wait (1) set NPC frame (9,1), wait (1), set NPC frame (9,0), wait (1) show text box (1503), wait (7), wait for key (use key), advance text box set NPC direction (9,left), wait (3), set NPC direction (9,down), wait (3) show text box (1504), wait (7), wait for key (use key), advance text box BossIntroduction, fight formation (193), swap by position (0, find hero (hero:Styrge)) Alter NPC (9,NPCstat:picture,253), Alter NPC (9,NPCstat:palette,296) show text box (3857), wait (7), wait for key (use key), advance text box suspend obstruction, suspend NPC walls,set npc position (9,0,0) set npc position (12,53,26),set npc position (13,53,26),set npc position (14,53,26),set npc position (15,53,26), set npc position (16,53,26),set npc position (17,53,26),set npc position (18,53,26),set npc position (19,53,26), set npc position (20,53,26),set npc position (21,53,26),set npc position (22,53,26),set npc position (23,53,26), play sound (sfx:BossDeath,false,true) walk NPC (12,left,20), walk NPC (13,up,20), walk NPC (14,right,20), walk NPC (15,down,20) walk NPC (16,left,20), walk NPC (17,up,20), walk NPC (18,right,20), walk NPC (19,down,20) walk NPC (20,left,20), walk NPC (20,up,20), walk NPC (21,right,20), walk NPC (21,up,20) walk NPC (22,left,20), walk NPC (22,down,20), walk NPC (23,right,20), walk NPC (23,down,20) wait for NPC (23), set tag (tag:Guiltdefeated,on) resume NPCs, resume obstruction, resume NPC walls set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1505), wait (7), wait for key (use key), advance text box tweak palette (10,10,10), play sound (sfx:Heal8Bit,false,true) force equip (0,slot:weapon,item:Forseti), wait (1), delete item (item:Cursed,1) wait (1), reset palette, fade screen in show text box (1506), wait (7), wait for key (use key), advance text box wait (5), fade screen out (63,63,63), wait (2) focus camera (50,15,4), wait for camera, set caterpillar mode (off), resume caterpillar set hero position (me, 47, 15), set hero direction (me,right), fade screen in show text box (1507), wait (7), wait for key (use key), advance text box show text box (1508), wait (7), wait for key (use key), advance text box show text box (1509), wait (7), wait for key (use key), advance text box show text box (3522), wait (7), wait for key (use key), advance text box show text box (3523), wait (7), wait for key (use key), advance text box show text box (3524), wait (7), wait for key (use key), advance text box show text box (3525), wait (7), wait for key (use key), advance text box show text box (3526), wait (7), wait for key (use key), advance text box show text box (3527), wait (7), wait for key (use key), advance text box show text box (3528), wait (7), wait for key (use key), advance text box show text box (3529), wait (7), wait for key (use key), advance text box show text box (3530), wait (7), wait for key (use key), advance text box show text box (1510), wait (7), wait for key (use key), advance text box wait (5), fade screen out, wait (1) camera follows hero (me), wait (1), use door (3),play song (song:Asgard) show text box (3531), wait (7), wait for key (use key), advance text box show text box (3532), wait (7), wait for key (use key), advance text box show text box (3533), wait (7), wait for key (use key), advance text box show text box (3534), wait (7), wait for key (use key), advance text box show text box (3535), wait (7), wait for key (use key), advance text box show text box (3536), wait (7), wait for key (use key), advance text box show text box (3537), wait (7), wait for key (use key), advance text box walk NPC (20,right,2), wait for NPC (20), walk NPC (20,up,1), wait for NPC (20) walk NPC (20,right,2), wait for NPC (20), walk NPC (20,up,1), wait for NPC (20) set NPC direction (17,left), set NPC direction (18,left) show text box (3538), wait (7), wait for key (use key), advance text box wait (5),set NPC direction (17,right), set NPC direction (18,right), wait (5) show text box (3539), wait (7), wait for key (use key), advance text box walk NPC (20,right,3), wait for NPC (20), walk NPC (20,up,1), wait for NPC (20) walk NPC (20,right,3), wait for NPC (20), walk NPC (20,down,2), wait for NPC (20) walk NPC (20,right,2), wait for NPC (20), set NPC direction (20,down) show text box (3540), wait (7), wait for key (use key), advance text box show text box (3541), wait (7), wait for key (use key), advance text box show text box (3542), wait (7), wait for key (use key), advance text box wait (5), set NPC direction (20,left), wait (5) show text box (3543), wait (7), wait for key (use key), advance text box wait (5), set NPC direction (17,down), wait (5) show text box (3544), wait (7), wait for key (use key), advance text box wait (40), show text box (3545), wait (7), wait for key (any key), advance text box fade screen out, wait (5), set tag (tag:BATH,on) walk hero (me,up,1), set hero direction (me,down) wait (5), use door (24), fade screen in reinstate party, resume box advance, resume NPCs, resume player, encounters end script,fiends1,begin remember party, suspend player, suspend box advance, focus camera (9,79,4) wait for camera, wait (5) show text box (1511), wait (7), wait for key (use key), advance text box, encounters focus camera (9,85,4), wait for camera, camera follows hero (me), resume box advance, resume player end script,fiends2,begin remember party, suspend player, suspend box advance, wait (5) set hero direction (me,left), wait (5) set hero direction (me,right), wait (5), set hero direction (me,left), wait (5) set hero direction (me,right), wait (5), set hero direction (me,left), wait (5) set hero direction (me,right), wait (5), set hero direction (me,down) show text box (1512), wait (7), wait for key (use key), advance text box resume box advance, resume player, resume random enemies, resume obstruction, encounters end script,Hatifinal,begin remember party, suspend player, suspend NPCs, suspend box advance set NPC frame (9,1), wait (1), set NPC frame (9,0), wait (1) set NPC frame (9,1), wait (1), set NPC frame (9,0), wait (1) show text box (1513), wait (7), wait for key (use key), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1514), wait (7), wait for key (use key), advance text box set NPC frame (9,1), wait (1), set NPC frame (9,0), wait (1) set NPC frame (9,1), wait (1), set NPC frame (9,0), wait (1) show text box (1515), wait (7), wait for key (use key), advance text box wait (5), set NPC direction (9,right) wait (5), set NPC direction (9,up), wait (5) set NPC frame (9,1), wait (1), set NPC frame (9,0), wait (1) set NPC frame (9,1), wait (1), set NPC frame (9,0), wait (1) show text box (1516), wait (7), wait for key (use key), advance text box show text box (1517), wait (7), wait for key (use key), advance text box show text box (1518), wait (7), wait for key (use key), advance text box set NPC direction (9,right) show text box (1519), wait (7), wait for key (use key), advance text box show text box (1520), wait (7), wait for key (use key), advance text box # hati goes to the moon now play sound (sfx:wind,false,true), fade screen out (63,63,63), wait (15) camera follows hero (me), swap by position (0, find hero (hero:Night)) swap out hero (hero:Kitt), swap out hero (hero:Styrge), swap out hero (hero:Bram) swap out hero (hero:Eric), swap out hero (hero:Hilda), swap out hero (hero:Olaf) swap out hero (hero:Frumpy), swap out hero (hero:Freki), swap out hero (hero:Renard) remember party, wait (5),remember party, use door (6) wait (3), walk NPC (0,right,3), wait for NPC (0), wait (5) set NPC frame (0,1), wait (1), set NPC frame (0,0), wait (1) set NPC frame (0,1), wait (1), set NPC frame (0,0), wait (1) show text box (1521), wait (7), wait for key (use key), advance text box wait (5), set NPC direction (0,up), wait (10) set NPC direction (0,right), wait (3) set NPC frame (0,1), wait (1), set NPC frame (0,0), wait (1) set NPC frame (0,1), wait (1), set NPC frame (0,0), wait (1) show text box (1522), wait (7), wait for key (use key), advance text box wait (10), stop song, walk NPC (0,right,1), wait for NPC (0), wait (3) set NPC frame (0,1), wait (1), set NPC frame (0,0), wait (1) set NPC frame (0,1), wait (1), set NPC frame (0,0), wait (1) show text box (1523), wait (7), wait for key (use key), advance text box wait (10), play song (song:In Soft Reflection), wait (10) set NPC direction (1,right), wait (10) set NPC frame (1,1), wait (1), set NPC frame (1,0), wait (1) set NPC frame (1,1), wait (1), set NPC frame (1,0), wait (1) show text box (1524), wait (7), wait for key (use key), advance text box show text box (1525), wait (7), wait for key (use key), advance text box set NPC direction (1,down), wait (3), set NPC direction (1,left), wait (3) set NPC frame (1,1), wait (1), set NPC frame (1,0), wait (1) set NPC frame (1,1), wait (1), set NPC frame (1,0), wait (1) show text box (1526), wait (7), wait for key (use key), advance text box walk NPC (1,left,1) show text box (1527), wait (7), wait for key (use key), advance text box wait (5), walk NPC (0,right,1), wait for NPC (0), wait (3) set NPC frame (0,1), wait (1), set NPC frame (0,0), wait (1) set NPC frame (0,1), wait (1), set NPC frame (0,0), wait (1) show text box (1528), wait (7), wait for key (use key), advance text box set NPC frame (1,1), wait (1), set NPC frame (1,0), wait (1) set NPC frame (1,1), wait (1), set NPC frame (1,0), wait (1) show text box (1529), wait (7), wait for key (use key), advance text box set NPC frame (0,1), wait (1), set NPC frame (0,0), wait (1) set NPC frame (0,1), wait (1), set NPC frame (0,0), wait (1) show text box (1530), wait (7), wait for key (use key), advance text box set NPC direction (0,down), wait (3), set NPC direction (0,left), wait (3) set NPC frame (0,1), wait (1), set NPC frame (0,0), wait (1) set NPC frame (0,1), wait (1), set NPC frame (0,0), wait (1) show text box (1531), wait (7), wait for key (use key), advance text box show text box (1532), wait (7), wait for key (use key), advance text box show text box (1533), wait (7), wait for key (use key), advance text box walk NPC (1,left,1), wait for NPC (1) set NPC frame (1,1), wait (1), set NPC frame (1,0), wait (1) set NPC frame (1,1), wait (1), set NPC frame (1,0), wait (1) show text box (1534), wait (7), wait for key (use key), advance text box set NPC direction (0,down), wait (3), set NPC direction (0,right), wait (3) set NPC frame (0,1), wait (1), set NPC frame (0,0), wait (1) set NPC frame (0,1), wait (1), set NPC frame (0,0), wait (1) show text box (1535), wait (7), wait for key (use key), advance text box fade screen out, wait (2), set NPC position (0, 14, 6), set NPC position (1, 13, 6) set NPC direction (0,left), set NPC direction (1,right), wait (2) fade screen in, wait (5), set NPC frame (0,1), wait (1) set NPC frame (0,0), wait (1), set NPC frame (0,1), wait (1) set NPC frame (0,0), wait (1), set NPC frame (1,1), wait (1) set NPC frame (1,0), wait (1), set NPC frame (1,1), wait (1) set NPC frame (1,0), wait (1), set NPC frame (1,1), wait (1) set NPC frame (1,0), wait (1), set NPC frame (1,1), wait (1) set NPC frame (1,0), wait (1), set NPC frame (0,1), wait (1) set NPC direction (1,up), wait (7), set NPC direction (1,right), wait (5) fade screen out, wait (2), set NPC position (0, 2, 8) set NPC position (1, 2, 7), set NPC direction (0,up), set NPC direction (1,down) wait (2), fade screen in, wait (5), walk NPC (5,up,4), wait (5) set NPC direction (0,right), set NPC direction (1,right) wait for NPC (5), play sound (sfx:Beam Attack,false,true), wait (10) set NPC direction (0,up), set NPC direction (1,down), wait (10) set NPC direction (0,right), set NPC direction (1,right), wait (3) walk NPC (0,right,1), walk NPC (1,right,1), wait for NPC (0) walk NPC (5,right,1), wait for NPC (5), wait (3) set NPC direction (0,up), set NPC direction (1,down), wait (10) set NPC direction (0,right), set NPC direction (1,right), wait (3) set NPC frame (5,1), wait (1), set NPC frame (5,0), wait (1) set NPC frame (5,1), wait (1), set NPC frame (5,0), wait (1) play sound (sfx:Beam Attack,false,true), wait (10) walk NPC (0,right,5), walk NPC (1,right,1), walk NPC (5,right,5) wait for NPC (5), walk NPC (5,down,4), wait (3) set NPC direction (0,down), wait for NPC (5), wait (3) fade screen out, wait (2), set NPC position (0, 7, 5), set NPC position (1, 8, 5) set NPC direction (0,up), set NPC direction (1,up) set NPC position (3, 0, 2), set NPC direction (3,right) wait (2), fade screen in, wait (2), walk NPC (3,right,3), wait for NPC (3) walk NPC (3,right,2), walk NPC (3,up,1), wait for NPC (3), walk NPC (3,right,3) wait for NPC (3), walk NPC (3,right,2), walk NPC (3,down,1), wait for NPC (3) walk NPC (3,right,3), wait for NPC (3), wait (5), Alter NPC (3,NPCstat:move speed,5) set NPC position (4, 15, 2), wait (3), walk NPC (3,left,10), walk NPC (4,left,10) wait for NPC (3), fade screen out, wait (2), set NPC position (0, 12, 4) set NPC position (1, 8, 5), set NPC direction (0,left), set NPC direction (1,right) wait (2), set NPC position (3, 0, 11), set NPC position (4, 1, 11), wait (2) fade screen in, Alter NPC (0,NPCstat:move speed,2), Alter NPC (1,NPCstat:move speed,2) wait (5), walk NPC (0,up,2), set NPC direction (0,left) wait for NPC (0), wait (2), walk NPC (0,down,2) set NPC direction (0,left), wait for NPC (0), wait (5) walk NPC (1,up,2), set NPC direction (1,right), wait for NPC (1) wait (2), walk NPC (1,down,2), set NPC direction (1,right) wait for NPC (1), wait (5), walk NPC (0,up,2) set NPC direction (0,left), wait for NPC (0), wait (2) walk NPC (0,down,2), set NPC direction (0,left), wait for NPC (0) wait (5), walk NPC (1,up,2), set NPC direction (1,right) wait for NPC (1), wait (2), walk NPC (1,down,2) set NPC direction (1,right), wait for NPC (1), wait (5), walk NPC (0,up,4) set NPC direction (0,left), wait for NPC (0), wait (5) set NPC direction (0,down), wait (2), Alter NPC (0,NPCstat:move speed,4) Alter NPC (1,NPCstat:move speed,5), walk NPC (1,right,4), wait for NPC (1) set NPC direction (1,up), wait (5) set NPC frame (0,1), wait (1), set NPC frame (0,0), wait (1) set NPC frame (0,1), wait (1), set NPC frame (0,0), wait (1) walk NPC (1,up,2), wait for NPC (1), wait (1) walk NPC (1,down,2), set NPC direction (1,up), wait for NPC (1) wait (1) , walk NPC (1,up,2), wait for NPC (1) wait (1), walk NPC (1,down,2), set NPC direction (1,up) wait for NPC (1), wait (1) , walk NPC (1,up,2) wait for NPC (1), wait (1), walk NPC (1,down,2) set NPC direction (1,up), wait for NPC (1), fade screen out wait (2), set NPC position (0, 7, 6), set NPC position (1, 8, 6) set NPC direction (0,up), set NPC direction (1,up), wait (2) fade screen in, wait (2), walk NPC (1,up,1), wait for NPC (1) set NPC frame (1,1), wait (1), set NPC frame (1,0), wait (1) set NPC frame (1,1), wait (1), set NPC frame (1,0), wait (1) show text box (1536), wait (7), wait for key (use key), advance text box set NPC frame (0,1), wait (1), set NPC frame (0,0), wait (1) set NPC frame (0,1), wait (1), set NPC frame (0,0), wait (1) show text box (1537), wait (7), wait for key (use key), advance text box wait (3), set NPC direction (1,left), wait (3) set NPC frame (1,1), wait (1), set NPC frame (1,0), wait (1) set NPC frame (1,1), wait (1), set NPC frame (1,0), wait (1) show text box (1538), wait (7), wait for key (use key), advance text box walk NPC (0,up,1), wait for NPC (0), set NPC direction (0,right) set NPC frame (0,1), wait (1), set NPC frame (0,0), wait (1) set NPC frame (0,1), wait (1), set NPC frame (0,0), wait (1) show text box (1539), wait (7), wait for key (use key), advance text box set NPC frame (0,1), wait (1), set NPC frame (0,0), wait (1) set NPC frame (0,1), wait (1), set NPC frame (0,0), wait (1) show text box (1540), wait (7), wait for key (use key), advance text box set NPC frame (1,1), wait (1), set NPC frame (1,0), wait (1) set NPC frame (1,1), wait (1), set NPC frame (1,0), wait (1) show text box (1541), wait (7), wait for key (use key), advance text box # It's time to fight Hati one more time, and regain Night for good! BossIntroduction, fight formation (195) # Congrats! You did it! wait (3), tweak palette (10,0,0), update palette play sound (sfx:ChargedSonicBoomAttack8Bit,false,true) wait (10), reset palette, fade screen in show text box (3976), wait (7), wait for key (use key), advance text box #You gon get a lotta magic now # Specifically, Fire3, Ice3, Bolt3, and Flare show text box (3973), wait (7), wait for key (use key), advance text box show text box (3974), wait (7), wait for key (use key), advance text box show text box (3975), wait (7), wait for key (use key), advance text box show text box (1542), wait (7), wait for key (use key), advance text box # also you're going to get the Laevetain, Night's best rod show text box (3764), wait (7), wait for key (use key), advance text box teach spell ((find hero(hero:Night)),atk:Exploder) teach spell ((find hero(hero:Night)),atk:Blaster) teach spell ((find hero(hero:Night)),atk:Freezer) teach spell ((find hero(hero:Night)),atk:Flare) show text box (3765), wait (7), wait for key (use key), advance text box set NPC frame (0,1), wait (1), set NPC frame (0,0), wait (1) set NPC frame (0,1), wait (1), set NPC frame (0,0), wait (1) show text box (3766), wait (7), wait for key (use key), advance text box show text box (3767), wait (7), wait for key (use key), advance text box wait (5), set NPC direction (0,down), wait (5) show text box (3768), wait (7), wait for key (use key), advance text box wait (5), set NPC direction (0,right), wait (5) show text box (1543), wait (7), wait for key (use key), advance text box set NPC frame (1,1), wait (1), set NPC frame (1,0), wait (1) set NPC frame (1,1), wait (1), set NPC frame (1,0), wait (1) show text box (1544), wait (7), wait for key (use key), advance text box set NPC frame (0,1), wait (1), set NPC frame (0,0), wait (1) set NPC frame (0,1), wait (1), set NPC frame (0,0), wait (1) show text box (1545), wait (7), wait for key (use key), advance text box wait (5), fade screen out (63,63,63), wait (15) set hero picture (find hero (hero:Night),23,insidebattle),set hero palette (find hero (hero:Night),346,insidebattle) set hero picture (find hero (hero:Night),315,outsidebattle),set hero palette (find hero (hero:Night),346,outsidebattle) set hero picture (find hero (hero:Night),163,hero portrait),set hero palette (find hero (hero:Night),346,hero portrait) wait (5), walk hero (me,right,1), wait (5), use door (1), wait (2) set NPC position (15,0,0), focus camera (27,13, 10), wait for camera set hero position (me,29,11), set hero direction (me,left), wait (5) fade screen in, wait (1), walk NPC (10,right,1) show text box (3551), wait (7), wait for key (use key), advance text box show text box (3552), wait (7), wait for key (use key), advance text box show text box (3553), wait (7), wait for key (use key), advance text box set hero direction ( me, down) show text box (3554), wait (7), wait for key (use key), advance text box show text box (3555), wait (7), wait for key (use key), advance text box set hero direction ( me, left) show text box (3556), wait (7), wait for key (use key), advance text box show text box (3557), wait (7), wait for key (use key), advance text box show text box (3558), wait (7), wait for key (use key), advance text box show text box (3559), wait (7), wait for key (use key), advance text box show text box (3560), wait (7), wait for key (use key), advance text box walk hero (me,left,1) show text box (3561), wait (7), wait for key (use key), advance text box show text box (3562), wait (7), wait for key (use key), advance text box show text box (3563), wait (7), wait for key (use key), advance text box show text box (3564), wait (7), walk NPC (16,left,2), wait for NPC (16) walk NPC (16,down,2), wait for NPC (16) walk NPC (16,left,3), wait for NPC (16) set hero direction (me,down), set NPC direction (10,down), set NPC direction (11,down) set NPC direction (12,down), set NPC direction (13,down) set NPC direction (14,down), set NPC direction (17,down) walk NPC (16,down, 5) wait for key (use key), advance text box show text box (3565), wait (7), wait for key (use key), advance text box fade screen out, wait (5), set tag (tag:nightback,on), camera follows hero (me), wait (5), fade screen in, wait (5) show text box (1050), wait (7), wait for key (use key), advance text box resume random enemies, resume obstruction,resume player,resume box advance, encounters, resume NPCs end script,zidane,begin remember party, show textbox (1547), wait (16), walk hero (me,down,3) walk NPC (25,down,3), wait for NPC (25), walk NPC (25,up,3) wait for NPC (25), resume random enemies, resume obstruction end script,EricSILENCE,begin remember party, suspend player, suspend box advance swap by position (0, find hero (hero:Eric)), wait (1) show text box (1577), wait (7), wait for key (usekey), advance text box show text box (1578), wait (7), wait for key (usekey), advance text box set hero direction (me,down), wait (10) set hero z (me,5), wait (2),set hero z (me,10), wait (2) set hero z (me,5), wait (2), set hero z (me,0), wait (2) set hero direction (me,up), wait (5) show text box (1579), wait (7), wait for key (usekey), advance text box wait (1), set tag (tag:EricSilen,on), wait (1) fade screen in, wait (2), tweak palette (10,0,0), update palette teach spell ((find hero(hero:Eric)),atk:Silence), wait (10), reset palette, fade screen in show text box (1580), wait (7), wait for key (use key), advance text box fade screen out (63,63,63), wait (1), resume box advance, wait (2) fade screen in, wait (2), resume player resume random enemies, resume obstruction,reinstate party end # Note that this will NOW also swap the party around to whoever you previously had! script, BossIntroduction,begin #The new boss fight effect! show text box (1361) play sound (sfx:WARNING,false,true) wait (20) advance textbox Variable (var1) Variable (var2) #This next script part was originally done by Mad Cacti. #Truthfully, I have no idea what's going on here. #Seriously. But you should always try to indicate to the player that something BIG is coming. wait (3) For (var1,0,2,1) Do(for(var2,0,255,1) Do(Write color (var2,var1,63--read color (var2,var1)))) Fade screen in wait (1) reset palette #After the nifty color inverting takes place, we've got a battle to fight! swap by name (hero by slot(0),spot0) swap by name (hero by slot(1),spot1) swap by name (hero by slot(2),spot2) swap by name (hero by slot(3),spot3) end script,Dogero,begin remember party, suspend player, suspend box advance walk hero to y (me,22), wait for hero (me) walk hero to x (me,12) , wait for hero (me) wait (3), pan camera (down,1), set caterpillar mode (on) set hero position (1, 12, 22), set hero position (2, 12, 22) set hero position (3, 12, 22), wait (1), suspend caterpillar wait (1), walk hero (1,left,1), walk hero (2,right,1) walk hero (3,down,1), wait for hero (1), set hero direction (0,up) set hero direction (1,up), set hero direction (2,up), set hero direction (3,up) set NPC frame (6,1), wait (1), set NPC frame (6,0), wait (1) set NPC frame (6,1), wait (1), set NPC frame (6,0), wait (1) show text box (1554), wait (7), wait for key (use key), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1555), wait (7), wait for key (use key), advance text box set NPC frame (6,1), wait (1), set NPC frame (6,0), wait (1) set NPC frame (6,1), wait (1), set NPC frame (6,0), wait (1) show text box (1556), wait (7), wait for key (use key), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1557), wait (7), wait for key (use key), advance text box set NPC frame (6,1), wait (1), set NPC frame (6,0), wait (1) set NPC frame (6,1), wait (1), set NPC frame (6,0), wait (1) show text box (1558), wait (7), wait for key (use key), advance text box show text box (1559), wait (7), wait for key (use key), advance text box set NPC direction (6,left), wait (5), set NPC direction (6,up), wait (5) set NPC frame (6,1), wait (1), set NPC frame (6,0), wait (1) set NPC frame (6,1), wait (1), set NPC frame (6,0), wait (1) show text box (1560), wait (7), wait for key (use key), advance text box show text box (1561), wait (7), wait for key (use key), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1562), wait (7), wait for key (use key), advance text box set NPC direction (6,left), wait (5), set NPC direction (6,down), wait (5) set NPC frame (6,1), wait (1), set NPC frame (6,0), wait (1) set NPC frame (6,1), wait (1), set NPC frame (6,0), wait (1) show text box (1563), wait (7), wait for key (use key), advance text box set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) show text box (1564), wait (7), wait for key (use key), advance text box show text box (1565), wait (7), wait for key (use key), advance text box # Mila joins in on the fun! walk NPC (7,up,9) show text box (1566), wait (7), wait for key (use key), advance text box walk NPC (9,left,3), set hero direction (2,right) set hero direction (3,down), wait for NPC (7) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) show text box (1567), wait (7), wait for key (use key), advance text box set NPC frame (6,1), wait (1), set NPC frame (6,0), wait (1) set NPC frame (6,1), wait (1), set NPC frame (6,0), wait (1) show text box (1568), wait (7), wait for key (use key), advance text box show text box (1569), wait (7), wait for key (use key), advance text box set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) show text box (1570), wait (7), wait for key (use key), advance text box wait (10), set NPC direction (6,left), wait (5) walk NPC (6,left,1), wait for NPC (6) set NPC frame (6,1), wait (1), set NPC frame (6,0), wait (1) set NPC frame (6,1), wait (1), set NPC frame (6,0), wait (1) show text box (1571), wait (7), wait for key (use key), advance text box set hero direction (1,left), walk NPC (8,right,4) walk NPC (6,right,1), wait for NPC (6), set NPC direction (6,down) set NPC frame (7,1), wait (1), set NPC frame (7,0), wait (1) set NPC frame (7,1), wait (1), set NPC frame (7,0), wait (1) show text box (1595), wait (7), wait for key (use key), advance text box set NPC frame (6,1), wait (1), set NPC frame (6,0), wait (1) set NPC frame (6,1), wait (1), set NPC frame (6,0), wait (1) show text box (1596), wait (7), wait for key (use key), advance text box set NPC frame (6,1), wait (1), set NPC frame (6,0), wait (1) set NPC frame (6,1), wait (1), set NPC frame (6,0), wait (1) show text box (1597), wait (7), wait for key (use key), advance text box BossIntroduction, fight formation (87), play song (song:In Soft Reflection) wait (5), Alter NPC (6,NPCstat:picture,156), Alter NPC (6,NPCstat:palette,82) set hero direction (1,up), set hero direction (2,up), set hero direction (3,up) set NPC frame (6,1), wait (1), set NPC frame (6,0), wait (1) set NPC frame (6,1), wait (1), set NPC frame (6,0), wait (1) show text box (1598), wait (7), wait for key (use key), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (1599), wait (7), wait for key (use key), advance text box wait (4), set NPC direction (6,up), wait (4) show text box (1600), wait (7), wait for key (use key), advance text box walk NPC (7, left,2), wait for NPC (7), walk NPC (7,up,4) wait for NPC (7), set NPC direction (7,right) set NPC frame (7,1), wait (1), set NPC frame (7,0), wait (1) set NPC frame (7,1), wait (1), set NPC frame (7,0), wait (1) show text box (1601), wait (7), wait for key (use key), advance text box show text box (1602), wait (7), wait for key (use key), advance text box set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) show text box (1603), wait (7), wait for key (use key), advance text box wait (4), set NPC direction (6,down), wait (4) show text box (1604), wait (7), wait for key (use key), advance text box show text box (1605), wait (7), wait for key (use key), advance text box show text box (1606), wait (7), wait for key (use key), advance text box wait (4), set NPC direction (6,up), wait (4) show text box (1607), wait (7), wait for key (use key), advance text box wait (4), Alter NPC (6,NPCstat:move speed,2), tweak palette (0,0,10) play sound (sfx:wind,false,true), fade screen in, Alter NPC (6,NPCstat:picture,145) Alter NPC (6,NPCstat:palette,3), suspend NPC walls, wait (3) reset palette, pan camera (up,4), walk NPC (6,up,1) set NPC direction (6,down), wait for NPC (6), walk NPC (6,up,1) walk NPC (6,right,1), set NPC direction (6,left), wait for NPC (6) walk NPC (6,up,1), set NPC direction (6,up), wait for NPC (6) walk NPC (6,up,1), walk NPC (6,right,1) set NPC direction (6,right), wait for NPC (6) Alter NPC (6,NPCstat:picture,157), Alter NPC (6,NPCstat:palette,3) set NPC direction (6,down), pan camera (right,4), wait (1) walk NPC (6,right,1), set NPC direction (6,left), wait for NPC (6) wait (1), walk NPC (6,right,1), set NPC direction (6,up) wait for NPC (6), wait (1), walk NPC (6,right,1) set NPC direction (6,right), wait for NPC (6), wait (1) Alter NPC (6,NPCstat:picture,29), Alter NPC (6,NPCstat:palette,60) walk NPC (6,right,1), set NPC direction (6,down), wait for NPC (6) wait (1), walk NPC (6,right,1), set NPC direction (6,left) wait for NPC (6), wait (1), walk NPC (6,right,1) set NPC direction (6,right), wait for NPC (6), wait (1) walk NPC (6,right,1), set NPC direction (6,up), wait for NPC (6) wait (8), fade screen in, wait (8), pan camera (down,4) wait for camera, pan camera (left,4), wait for camera set NPC frame (7,1), wait (1), set NPC frame (7,0), wait (1) set NPC frame (7,1), wait (1), set NPC frame (7,0), wait (1) show text box (1608), wait (7), wait for key (use key), advance text box show text box (1609), wait (7), wait for key (use key), advance text box set NPC direction (7,down), set NPC frame (7,1), wait (1), set NPC frame (7,0), wait (1) set NPC frame (7,1), wait (1), set NPC frame (7,0), wait (1) show text box (1610), wait (7), wait for key (use key), advance text box set NPC frame (8,1), wait (1), set NPC frame (8,0), wait (1) set NPC frame (8,1), wait (1), set NPC frame (8,0), wait (1) show text box (1611), wait (7), wait for key (use key), advance text box wait (1), fade screen out, wait (1), set caterpillar mode (off), resume caterpillar camera follows hero (me), set tag (tag:Dogeroend,on), wait (1), fade screen in, resume player resume box advance, resume random enemies, resume obstruction, resume NPC walls, wait (1), encounters end # This script is for fighting Vlad the Hamster script,Dracula,begin remember party, suspend player, suspend box advance walk hero to y (me,10), wait for hero (me), walk hero to x (me,10), wait for hero (me) focus camera (10,7,2), set caterpillar mode (on), set hero position (1, 10, 10) set hero position (2, 10, 10), set hero position (3, 10, 10) wait (1), suspend caterpillar , wait (1), walk hero (me,left,1) walk hero (3,right,1), wait for hero (me), walk hero (1,left,1) walk hero (2,right,1), walk hero (me,left,1), walk hero (3,right,1) wait for hero (me), walk hero (me,left,1), walk hero (3,right,1) wait for hero (me), wait for camera, set hero direction (0,up) set hero direction (1,up), set hero direction (2,up), set hero direction (3,up) set NPC frame (2,1), wait (1), set NPC frame (2,0), wait (1) set NPC frame (2,1), wait (1), set NPC frame (2,0), wait (1) show text box (1612), wait (7), wait for key (use key), advance text box set NPC frame (1,1), wait (1), set NPC frame (1,0), wait (1) set NPC frame (1,1), wait (1), set NPC frame (1,0), wait (1) show text box (1613), wait (7), wait for key (use key), advance text box show text box (1614), wait (7), wait for key (use key), advance text box set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) show text box (1615), wait (7), wait for key (use key), advance text box wait (7), show text box (1616) # WHAT IS A MAN?! suspend NPC walls, suspend obstruction, wait (2) set NPC position (3, 10, 5), wait (1), walk NPC (3,up,1), walk NPC (3,right,1) wait for NPC (3), walk NPC (3,down,1), walk NPC (3,right,1), wait for NPC (3) walk NPC (3,down,2), advance text box, play sound (sfx:Ice Crash,false,true) Alter NPC (2,NPCstat:picture,159), set NPC direction (2,up) walk NPC (3,down,1), set NPC direction (3,left), wait for NPC (3) set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) show text box (1617), wait (7), wait for key (use key), advance text box set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) show text box (1618), wait (7), wait for key (use key), advance text box walk NPC (1,down,1), wait for NPC (1) show text box (1619), wait (7), wait for key (use key), advance text box BossIntroduction, fight formation (203), fight formation (204) fight formation (205), fight formation (206) show text box (1620), wait (7), wait for key (use key), advance text box BossIntroduction, fight formation (208),remember party swap by position (0, find hero (hero:Frumpy)), play song (song:An Unfortunate End) show text box (3770), wait (7), wait for key (use key), advance text box show text box (3771), wait (7), wait for key (use key), advance text box show text box (3772), wait (7), wait for key (use key), advance text box show text box (3773), wait (7), wait for key (use key), advance text box set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (3774), wait (7), wait for key (use key), advance text box show text box (3775), wait (7), wait for key (use key), advance text box play sound (sfx:earthquake,false,true) , pancamera(up,1,20),waitforcamera pancamera(down,2,20),waitforcamera, pancamera(up,2,20),waitforcamera pancamera(down,1,20),waitforcamera , pancamera(left,1,20),waitforcamera pancamera(right,2,20),waitforcamera, pancamera(left,2,20),waitforcamera pancamera(right,1,20),waitforcamera pan camera (up,1,20), pan camera (right,1,20), wait for camera pan camera (down,2,20), pan camera (left,2,20), wait for camera pan camera (up,2,20), pan camera (right,2,20), wait for camera pan camera (down,1,20), pan camera (left,1,20), wait for camera fade screen out (63,63,63), wait (1) set tag (tag:Dracula,on), wait (1), set hero position (me, 10, 10) resume caterpillar, set caterpillar mode (off), camera follows hero (me) wait (4), fade screen in, wait (4) tweak palette (10,0,0), update palette, play sound (sfx:Heal8Bit,false,true) teach spell ((find hero(hero:Frumpy)),atk:Smite), wait (10), reset palette, fade screen in show text box (1622), wait (7), wait for key (use key), advance text box resume NPC walls, resume obstruction, resume player resume box advance, encounters end script,Narvi,begin remember party, fight formation (198), wait (1) if (checktag(tag:Cure2)) then ( wait (4), suspend player, suspend box advance tweak palette (0,0,10),update palette play sound (sfx:Heal8Bit,false,true) teach spell ((find hero(hero:Frumpy)),atk:Care2) wait (10), reset palette, fade screen in show text box (1623),wait (7), wait for key (use key), advance text box resume player, resume random enemies, resume obstruction, resume box advance ) else (wait (1)), encounters end script,Shayna,begin remember party, suspend player, suspend box advance suspend NPCs, swap by position (0, find hero (hero:Hilda)) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (1625), wait (7), wait for key (use key), advance text box set NPC frame (1,1), wait (1), set NPC frame (1,0), wait (1) set NPC frame (1,1), wait (1), set NPC frame (1,0), wait (1) show text box (1626), wait (7), wait for key (use key), advance text box set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (1627), wait (7), wait for key (use key), advance text box show text box (1628), wait (7), wait for key (use key), advance text box BossIntroduction, fight formation (164), wait (4) swap by position (0, find hero (hero:Hilda)), tweak palette (10,0,0), update palette play sound (sfx:Ice Crash,false,true), teach spell ((find hero(hero:Hilda)),atk:Ice Age) wait (10), reset palette, fade screen in show text box (1629), wait (7), wait for key (use key), advance text box set NPC frame (1,1), wait (1), set NPC frame (1,0), wait (1) set NPC frame (1,1), wait (1), set NPC frame (1,0), wait (1) show text box (1630), wait (7), wait for key (use key), advance text box set tag (tag:Shayna,on), resume player, resume box advance resume NPCs, resume random enemies, resume obstruction reinstate party, encounters end script,Velius,begin remember party, fight formation (209), wait (1) if (checktag(tag:Fire2)) then ( wait (4), suspend player, suspend box advance tweak palette (10,0,0), update palette play sound (sfx:MediumExplosion8Bit,false,true) teach spell ((find hero(hero:Night)),atk:Sunder) wait (10), reset palette, fade screen in show text box (1632), wait (7), wait for key (use key), advance text box resume player, resume random enemies resume obstruction, resume box advance, encounters ) else (wait (1)) end script,Delvire,begin remember party,fight formation (210),wait (1) if (checktag(tag:Flee)) then ( wait (4), suspend player, suspend box advance tweak palette (0,10,0), update palette play sound (sfx:Soft_Airy_Swish,false,true) teach spell ((find hero(hero:Bram)),atk:Flee) wait (10), reset palette, fade screen in show text box (1634), wait (7), wait for key (use key), advance text box resume player, resume random enemies resume obstruction, resume box advance, encounters ) else (wait (1)) end script,Sasha,begin remember party,fight formation (211),wait (1) if (checktag(tag:Heal2)) then ( wait (4) , suspend player,suspend box advance tweak palette (0,0,10), update palette play sound (sfx:Heal8Bit,false,true) teach spell ((find hero(hero:Frumpy)),atk:Nurse2) wait (10), reset palette, fade screen in show text box (1633), wait (7), wait for key (use key), advance text box resume player, resume random enemies resume obstruction, resume box advance, encounters ) else (wait (1)) resume random enemies, resume obstruction end script,Siva,begin remember party fight formation (212) wait (1) if (checktag(tag:Bandage)) then ( wait (4), suspend player, suspend box advance tweak palette (0,0,10), update palette play sound (sfx:Heal8Bit,false,true) teach spell ((find hero(hero:Styrge)),atk:Bandage) wait (10), reset palette, fade screen in show text box (1635), wait (7), wait for key (use key), advance text box resume player, resume box advance ) else (wait (1)) resume random enemies, resume obstruction, encounters end script,Alex,begin remember party fight formation (213) wait (1) if (checktag(tag:Rush)) then ( wait (4), suspend player, suspend box advance tweak palette (10,0,0), update palette play sound (sfx:MediumExplosion8Bit,false,true) teach spell ((find hero(hero:Olaf)),atk:Rush) wait (10), reset palette, fade screen in show text box (1636), wait (7), wait for key (use key), advance text box resume player, resume box advance ) else (wait (1)) resume random enemies, resume obstruction, encounters end script,Collies1,begin remember party, suspend player, suspend box advance tweak palette (10,0,10), update palette, swap by position (0, find hero (hero:Night)) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (1638), wait (7), wait for key (use key), advance text box swap out hero (hero:Styrge), swap out hero (hero:Olaf), swap out hero (hero:Eric) wait (5),remember party set hero direction (me,left), wait (3), set hero direction (me,right), wait (3) set hero direction (me,left), wait (3), set hero direction (me,right), wait (3) show text box (1639), wait (7), wait for key (use key), advance text box wait (5), set hero direction (me,down), wait (3) walk hero (me,left,2), wait for hero (me), wait (5) set hero direction (me,down), wait (5) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (1640), wait (7), wait for key (use key), advance text box BossIntroduction, fight formation (214), tweak palette (10,0,0), update palette play sound (sfx:Ice Crash,false,true), teach spell ((find hero(hero:Night)),atk:Winter) wait (3), reset palette, update palette show text box (1637), wait (7), wait for key (use key), advance text box wait (1), swap in hero (hero:Styrge), swap in hero (hero:Olaf) swap in hero (hero:Eric), set caterpillar mode (on) set hero position (1, 7, 10), set hero position (2, 8, 10) set hero position (3, 8, 9), wait (1), suspend caterpillar wait (1), walk hero (1,right,4), walk hero (2,right,4) walk hero (3,right,4), wait for hero (3) show text box (1641), wait (7), wait for key (use key), advance text box wait (2), set hero direction (me,left), wait (2) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (1642), wait (7), wait for key (use key), advance text box set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) show text box (1643), wait (7), wait for key (use key), advance text box set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (1644), wait (7), wait for key (use key), advance text box show text box (4300), wait (7), wait for key (use key), advance text box wait (5), fade screen out, wait (2), resume caterpillar reset palette, set caterpillar mode (off), wait (1) swap by position (0, find hero (hero:Olaf)), swap by position (1, find hero (hero:Styrge)) swap by position (2, find hero (hero:Eric)), swap by position (3, find hero (hero:Night)) remember party, resume box advance, wait (2), fade screen in wait (2), resume player, resume random enemies, resume obstruction, encounters end script,mindscrew,begin remember party, suspend player, suspend box advance set caterpillar mode (on), resume caterpillar, wait (1), fade screen out, wait (2) swap by position (0, find hero (hero:Freki)), swap by position (1, find hero (hero:Bram)) swap by position (2, find hero (hero:Renard)), use door (7), show textbox (1650) walk hero (me,down,1), wait for hero (me), walk hero (me,left,9) fade screen in, wait for hero (me), wait (5), wait for key (usekey), advance textbox suspend caterpillar, set hero direction (me,down), set hero direction (1,down) wait (3), set hero direction (me,right), set hero direction (1,right), wait (3) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) show text box (1651), wait (7), wait for key (use key), advance text box wait (5), set hero direction (1,up), wait (10) set hero direction (1,left), wait (5), set hero direction (1,right), wait (5) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) show text box (1652), wait (7), wait for key (use key), advance text box set hero frame (0,0), wait (1), set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (1653), wait (7), wait for key (use key), advance text box set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) show text box (1654), wait (7), wait for key (use key), advance text box walk hero (1,up,1), wait for hero (1), walk hero (1,left,1), wait for hero (1) wait (3), set hero direction (1,down), wait (3) set hero direction (me,right), set hero direction (1,right), wait (3) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) show text box (1655), wait (7), wait for key (use key), advance text box show text box (1656), wait (7), wait for key (use key), advance text box show text box (1657), wait (7), wait for key (use key), advance text box wait (3), set hero direction (2,down), wait (5), walk hero (2,down,1) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) show text box (1658), wait (7), wait for key (use key), advance text box wait (3), set hero direction (2,left), wait (3) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) show text box (1659), wait (7), wait for key (use key), advance text box walk hero (2,up,1), wait for hero (2), set hero direction (2,left) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) show text box (1660), wait (7), wait for key (use key), advance text box wait (15), set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) show text box (1661), wait (7), wait for key (use key), advance text box set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (1662), wait (7), wait for key (use key), advance text box set hero direction (1,down), set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) show text box (1663), wait (7), wait for key (use key), advance text box set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) show text box (1664), wait (7), wait for key (use key), advance text box wait (5), items menu, wait (5) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) show text box (1665), wait (7), wait for key (use key), advance text box set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (1666), wait (7), wait for key (use key), advance text box set hero direction (1,down), wait (2), set hero direction (0,up) set hero direction (1,left), wait (2), walk hero (1,left,4) set hero direction (0,left), wait for hero (1), wait (5) # the laws of the universe mean nothing! play sound (sfx:Blizzard Loop,false,true), fade screen out (63,63,63),wait (65) set tag (tag:Riftfix,on), wait (5), fade screen in wait (5), set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) show text box (1667), wait (7), wait for key (use key), advance text box set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (1668), wait (7), wait for key (use key), advance text box wait (5), fade screen out, walk hero (me,up,1) wait for hero (me), walk hero (me,left,4), wait for hero (me) resume caterpillar, reset palette, set caterpillar mode (off) wait (1), resume box advance, fade screen in resume player, resume random enemies, resume obstruction, encounters end script,Ericback,begin remember party, suspend player, suspend box advance, suspend random enemies set caterpillar mode (on), set hero position (1, 24, 33), set hero position (2, 24, 33) set hero position (3, 24, 33), wait (1), suspend caterpillar pan camera (left,3,4), wait (1), walk hero (me,left,1) walk hero (1,down,1), walk hero (2,up,1), wait for hero (me) set hero direction (me,left), set hero direction (1,left), set hero direction (2,left) set hero direction (3,left) , wait for camera set NPC frame (2,1), wait (1), set NPC frame (2,0), wait (1) set NPC frame (2,1), wait (1), set NPC frame (2,0), wait (1) show text box (1775), wait (7), wait for key (use key), advance text box, wait (5) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (1776), wait (7), wait for key (use key), advance text box set NPC direction (2,down), wait (5), set NPC direction (2,right), wait (5) set NPC frame (2,1), wait (1), set NPC frame (2,0), wait (1) set NPC frame (2,1), wait (1), set NPC frame (2,0), wait (1) show text box (1777), wait (7), wait for key (use key), advance text box set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) show text box (1778), wait (7), wait for key (use key), advance text box set NPC frame (2,1), wait (1), set NPC frame (2,0), wait (1) set NPC frame (2,1), wait (1), set NPC frame (2,0), wait (1) show text box (1779), wait (7), wait for key (use key), advance text box set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) show text box (1780), wait (7), wait for key (use key), advance text box set NPC frame (2,1), wait (1), set NPC frame (2,0), wait (1) set NPC frame (2,1), wait (1), set NPC frame (2,0), wait (1) show text box (1781), wait (7), wait for key (use key), advance text box set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) show text box (1782), wait (7), wait for key (use key), advance text box walk NPC (2,right,1), wait (4) show text box (1783), wait (7), wait for key (use key), advance text box set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (1784), wait (7), wait for key (use key), advance text box set NPC frame (2,1), wait (1), set NPC frame (2,0), wait (1) set NPC frame (2,1), wait (1), set NPC frame (2,0), wait (1) show text box (1785), wait (7), wait for key (use key), advance text box show text box (1786), wait (7), wait for key (use key), advance text box set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (1787), wait (7), wait for key (use key), advance text box,suspend obstruction set NPC frame (2,1), wait (1), set NPC frame (2,0), wait (1) set NPC frame (2,1), wait (1), set NPC frame (2,0), wait (1) show text box (1788), wait (7), wait for key (use key), advance text box pan camera (right,2,4), walk NPC (2,right,3), walk hero (3,left,1) walk hero (1,up,1), wait for hero (1), walk hero (1,left,1) walk hero (2,down,1), wait for hero (2), walk hero (2,left,1), wait for hero (2) camera follows hero (me), resume random enemies, resume obstruction resume box advance, resume player, resume caterpillar, wait (1) set caterpillar mode (off), set tag (tag:Ericback,on), wait (1), encounters end # Now we fight Misteroo # I mean Billy script,misteroo,begin remember party, suspend player, suspend box advance suspend random enemies, walk hero (me,left,3), wait for hero (me) set caterpillar mode (on), set hero position (1, 13, 6), set hero position (2, 13, 6) set hero position (3, 13, 6), wait (1), suspend caterpillar pan camera (left,3,4), wait (1), walk hero (me,left,1) walk hero (1,down,1), walk hero (2,up,1), wait for hero (me) set hero direction (me,left), set hero direction (1,left) set hero direction (2,left), set hero direction (3,left) wait for camera, wait (5), set NPC direction (4,down), wait (5) set NPC direction (4,right), wait (5) set NPC frame (4,1), wait (1), set NPC frame (4,0), wait (1) set NPC frame (4,1), wait (1), set NPC frame (4,0), wait (1) show text box (1789), wait (7), wait for key (use key), advance text box set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (1790), wait (7), wait for key (use key), advance text box set NPC frame (4,1), wait (1), set NPC frame (4,0), wait (1) set NPC frame (4,1), wait (1), set NPC frame (4,0), wait (1) show text box (1791), wait (7), wait for key (use key), advance text box set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) show text box (1792), wait (7), wait for key (use key), advance text box walk NPC (4,right,1), wait for NPC (4) set NPC frame (4,1), wait (1), set NPC frame (4,0), wait (1) set NPC frame (4,1), wait (1), set NPC frame (4,0), wait (1) show text box (1793), wait (7), wait for key (use key), advance text box show text box (1794), wait (7), wait for key (use key), advance text box wait (5), set NPC direction (4,down), wait (5) set NPC direction (4,left), wait (5) set NPC frame (4,1), wait (1), set NPC frame (4,0), wait (1) set NPC frame (4,1), wait (1), set NPC frame (4,0), wait (1) show text box (1795), wait (7), wait for key (use key), advance text box walk NPC (4,left,1), wait for NPC (4), wait (5) set NPC frame (4,1), wait (1), set NPC frame (4,0), wait (1) set NPC frame (4,1), wait (1), set NPC frame (4,0), wait (1) show text box (1796), wait (7), wait for key (use key), advance text box set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) show text box (1797), wait (7), wait for key (use key), advance text box set NPC direction (4,down), wait (3), set NPC direction (4,right), wait (3) set NPC frame (4,1), wait (1), set NPC frame (4,0), wait (1) set NPC frame (4,1), wait (1), set NPC frame (4,0), wait (1) show text box (1798), wait (7), wait for key (use key), advance text box set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) show text box (1799), wait (7), wait for key (use key), advance text box set NPC frame (4,1), wait (1), set NPC frame (4,0), wait (1) set NPC frame (4,1), wait (1), set NPC frame (4,0), wait (1) show text box (1800), wait (7), wait for key (use key), advance text box set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (1801), wait (7), wait for key (use key), advance text box walk NPC (4,right,2), wait for NPC (4) set NPC frame (4,1), wait (1), set NPC frame (4,0), wait (1) set NPC frame (4,1), wait (1), set NPC frame (4,0), wait (1) show text box (1802), wait (7), wait for key (use key), advance text box set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) show text box (1803), wait (7), wait for key (use key), advance text box pan camera (right,3,4), walk hero (1,up,1), walk hero (2,down,1) walk hero (me,right,1), wait for hero (me), wait (1) resume caterpillar, wait (1), set caterpillar mode (off), wait for camera camera follows hero (me), wait (1), walk hero to x (me,22), wait for hero (me) set NPC position (4,14,15), wait (1), walk hero (me,down,7) walk NPC (4,right,7), wait for hero (me), set hero direction (me,left) set NPC frame (4,0), wait (1), set NPC frame (4,1), wait (1) set NPC frame (4,0), wait (1), set NPC frame (4,1), wait (1) show text box (1804), wait (7), wait for key (use key), advance text box walk hero to y (me,6), wait for hero (me), walk hero to x (me,30), wait for hero (me) walk hero to y (me,14), wait for hero (me), walk hero (me,left,3), wait for hero (me) walk hero to y (me,23), walk NPC to y (4,23), wait for NPC (4), walk NPC to x (4,24) wait for hero (me), set hero direction (me,left) set NPC frame (4,0), wait (1), set NPC frame (4,1), wait (1) set NPC frame (4,0), wait (1), set NPC frame (4,1), wait (1) show text box (1805), wait (7), wait for key (use key), advance text box walk hero to x (me,33), wait for hero (me), walk hero (me,up,2) wait for hero (me), walk hero to x (me,39), wait for hero (me) set hero direction (me,down) show text box (1806), wait (7), wait for key (use key), advance text box suspend obstruction, set NPC position (4,29,33), play sound (sfx:earthquake,false,true) walk hero (me,down,1), walk NPC (5,down,1) wait for hero (me), walk hero (me,down,1) walk NPC (5,down,1) , wait for hero (me) walk hero (me,down,1), walk NPC (5,down,1), wait for hero (me) walk hero (me,down,1), walk NPC (5,down,1), wait for hero (me) walk hero (me,down,1), walk NPC (5,down,1), wait for hero (me) walk hero (me,down,1), walk NPC (5,down,1), wait for hero (me) walk hero (me,down,1), walk NPC (5,down,1), wait for hero (me) walk hero (me,down,1), walk NPC (5,down,1), walk NPC (12,right,1), wait for hero (me) walk NPC (5,right,1), walk hero (me,down,3), wait for hero (me) resume obstruction, walk NPC (4,right,2), wait for NPC (4) walk hero (me,left,4), walk NPC (4,up,1), set NPC direction (4,right) walk NPC (4,right,2), wait for hero (me), set caterpillar mode (on) set hero position (1, 35, 32), set hero position (2, 35, 32), set hero position (3, 35, 32) wait (1), suspend caterpillar , pan camera (left,1,2) walk hero (1,up,1), walk hero (2,down,1), walk hero (3,right,1) wait for hero (1), set hero direction (1,left) set hero direction (2,left), set hero direction (3,down), wait (1) set hero direction (3,left), wait (5) set NPC frame (4,0), wait (1), set NPC frame (4,1), wait (1) set NPC frame (4,0), wait (1), set NPC frame (4,1), wait (1) show text box (1807), wait (7), wait for key (use key), advance text box set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (1808), wait (7), wait for key (use key), advance text box set NPC frame (4,1), wait (1), set NPC frame (4,0), wait (1) set NPC frame (4,1), wait (1), set NPC frame (4,0), wait (1) show text box (1809), wait (7), wait for key (use key), advance text box set NPC direction (4,down), wait (3), set NPC direction (4,left), wait (3) stop song, tweak palette (-2,-2,-2), fade screen in, wait (2) tweak palette (-2,-2,-2), fade screen in, wait (2) tweak palette (-2,-2,-2), fade screen in, wait (2) tweak palette (-2,-2,-2), fade screen in, wait (2) set NPC direction (4,down), wait (5), set NPC direction (4,right), wait (5) set NPC frame (4,1), wait (1), set NPC frame (4,0), wait (1) set NPC frame (4,1), wait (1), set NPC frame (4,0), wait (1) show text box (1810), wait (7), wait for key (use key), advance text box set NPC frame (4,1), wait (1), set NPC frame (4,0), wait (1) set NPC frame (4,1), wait (1), set NPC frame (4,0), wait (1) show text box (1811), wait (7), wait for key (use key), advance text box show text box (1812), wait (7), wait for key (use key), advance text box BossIntroduction, fight formation (224), play song (Song:Humoresque) set NPC position (4,0,0),set NPC position (7,33,32),set NPC position (6,31,24) show text box (3786), wait (7), wait for key (use key), advance text box show text box (3787), wait (7), wait for key (use key), advance text box show text box (3788), wait (7) walk NPC (7,up,1), wait for NPC (7), walk NPC (7,left,2), wait for NPC(7) walk NPC (7,down,1), wait for NPC (7), walk NPC (7,right,2), wait for NPC(7) walk NPC (7,up,1), wait for NPC (7), walk NPC (7,left,2), wait for NPC(7) walk NPC (7,down,2), wait for NPC (7), walk NPC (7,right,1), wait for NPC(7) walk NPC (7,up,2), wait for NPC (7), walk NPC (7,left,1), wait for NPC(7) walk NPC (7,down,1), wait for NPC (7), walk NPC (7,right,2), wait for NPC(7) walk NPC (7,up,1), wait for NPC (7), walk NPC (7,left,2), wait for NPC(7) walk NPC (7,down,2), wait for NPC (7), walk NPC (7,right,1), wait for NPC(7) walk NPC (7,up,2), wait for NPC (7), walk NPC (7,left,1), wait for NPC(7) advance text box, suspend NPCs suspend NPC walls,suspend obstruction, show text box (3789), wait (7) walk NPC (6,down,7), wait for NPC (6), set NPC position (7,0,0),resume NPC walls, resume obstruction play sound (sfx:earthquake,false,true) , advance textbox, stop song, resume NPCs pancamera(up,1,20),waitforcamera, pancamera(down,2,20),waitforcamera pancamera(up,2,20),waitforcamera, pancamera(down,1,20),waitforcamera pancamera(left,1,20),waitforcamera, pancamera(right,2,20),waitforcamera pancamera(left,2,20),waitforcamera, pancamera(right,1,20),waitforcamera pan camera (up,1,20), pan camera (right,1,20), wait for camera pan camera (down,2,20), pan camera (left,2,20), wait for camera pan camera (up,2,20), pan camera (right,2,20), wait for camera pan camera (down,1,20), pan camera (left,1,20), wait for camera #arfenhouse! wait (40) show text box (3790), wait (7), wait for key (use key), advance text box play song (Song:In Soft Reflection), set tag (tag:Billybeat,on) show text box (1813), set NPC position (15,29,33), walk NPC (15,right,2) wait for NPC (15), walk NPC (15,up,1), set NPC direction (15,right) walk NPC (15,right,2), wait for NPC (15) set NPC frame (15,1), wait (1), set NPC frame (15,0), wait (1) set NPC frame (15,1), wait (1), set NPC frame (15,0), wait (1) wait for key (use key), advance text box set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (1814), wait (7), wait for key (use key), advance text box walk hero (1,down,1), walk hero (2,up,1), walk hero (3,left,1) wait (2), wait (1), resume caterpillar, wait (1) set caterpillar mode (off), wait (1) swap by position (0, find hero (hero:Eric)) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (1815), wait (7), wait for key (use key), advance text box set NPC frame (15,1), wait (1), set NPC frame (15,0), wait (1) set NPC frame (15,1), wait (1), set NPC frame (15,0), wait (1) show text box (1816), wait (7), wait for key (use key), advance text box set hero direction (me,down), wait (2) set hero direction (me,right), wait (2) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (1817), wait (7), wait for key (use key), advance text box set hero direction (me,down), walk NPC (15,down,2), wait for NPC (15), wait (10) set NPC direction (15,right), wait (3), set NPC direction (15,up), wait (3) set NPC frame (15,1), wait (1), set NPC frame (15,0), wait (1) set NPC frame (15,1), wait (1), set NPC frame (15,0), wait (1) show text box (1818), wait (7), wait for key (use key), advance text box walk NPC (15,up,2), wait for NPC (15), set NPC direction (15,right), set hero direction (me,left) set NPC frame (15,1), wait (1), set NPC frame (15,0), wait (1) set NPC frame (15,1), wait (1), set NPC frame (15,0), wait (1) show text box (1819), wait (7), wait for key (use key), advance text box wait (15), set NPC frame (15,1), wait (1), set NPC frame (15,0), wait (1) set NPC frame (15,1), wait (1), set NPC frame (15,0), wait (1) show text box (1820), wait (7), wait for key (use key), advance text box set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (1821), wait (7), wait for key (use key), advance text box set NPC frame (15,1), wait (1), set NPC frame (15,0), wait (1) set NPC frame (15,1), wait (1), set NPC frame (15,0), wait (1) show text box (1822), wait (7), wait for key (use key), advance text box show text box (1823), wait (7), wait for key (use key), advance text box set hero direction (me,down), wait (5), walk hero (me,down,1), wait for hero (me) show text box (1824), wait (7), wait for key (use key), advance text box set NPC direction (15,down), set NPC frame (15,1), wait (1), set NPC frame (15,0), wait (1) set NPC frame (15,1), wait (1), set NPC frame (15,0), wait (1) show text box (1825), wait (7), wait for key (use key), advance text box walk NPC (15,down,1), wait for NPC (15), set hero direction (me,left) set NPC direction (15,right), wait (5) set NPC frame (15,1), wait (1), set NPC frame (15,0), wait (1) set NPC frame (15,1), wait (1), set NPC frame (15,0), wait (1) show text box (1826), wait (7), wait for key (use key), advance text box show text box (1827), wait (7), wait for key (use key), advance text box fade screen out (63,63,63), wait (1), camera follows hero (me) set NPC position (15,0,0), wait (2), fade screen in, wait (3) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (1828), wait (7), wait for key (use key), advance text box resume random enemies, resume obstruction, resume box advance resume player, resume caterpillar, set caterpillar mode (off) wait (1),reinstate party, encounters end script,fourfiends,begin remember party, suspend player, suspend box advance walk hero (me,up,2), wait for hero (me), tweak palette (-5,-10,-5) fade screen in, wait (5) , set NPC position (10,32,71) play sound (sfx:TornadoMagic,false,true), wait (2) reset palette, fade screen in, wait (5) show text box (1829), wait (7), wait for key (use key), advance text box tweak palette (-5,-10,-10), fade screen in, set NPC position (12,31,72) play sound (sfx:FlameMagic,false,true), set hero direction (me,left), wait (2) reset palette, fade screen in, wait (5) show text box (1830), wait (7), wait for key (use key), advance text box tweak palette (-10,-10,-5), fade screen in, set NPC position (13,33,72) play sound (sfx:FreezeMagic,false,true), set hero direction (me,up), wait (2) set hero direction (me,right), wait (2), reset palette, fade screen in, wait (5) show text box (1831), wait (7), wait for key (use key), advance text box tweak palette (-10,-5,-10), fade screen in, wait (5) set NPC position (11,32,73), play sound (sfx:ThunderMagic,false,true), wait (5) set hero direction (me,down), reset palette, fade screen in, wait (5) show text box (1832), wait (7), wait for key (use key), advance text box set hero direction (me,left), wait (3), set hero direction (me,up) show text box (1833), wait (7), wait for key (use key), advance text box show text box (1834), wait (7), wait for key (use key), advance text box show text box (1835), wait (7), wait for key (use key), advance text box show text box (1836), wait (7), wait for key (use key), advance text box show text box (1837), wait (7), wait for key (use key), advance text box show text box (1838), wait (7), wait for key (use key), advance text box show text box (1839), wait (7), wait for key (use key), advance text box show text box (1840), wait (7), wait for key (use key), advance text box show text box (1841), wait (7), wait for key (use key), advance text box show text box (1842), wait (7), wait for key (use key), advance text box show text box (1843), wait (7), wait for key (use key), advance text box show text box (1844), wait (7), wait for key (use key), advance text box show text box (1845), wait (7), wait for key (use key), advance text box show text box (1846), wait (7), wait for key (use key), advance text box wait (10) show text box (1847), wait (7), wait for key (use key), advance text box show text box (1848), wait (7), wait for key (use key), advance text box BossIntroduction, fight formation (194) #The four fiends are defeated, and vanish away forever! stop song, wait (3) show text box (1849), wait for key (use key), advance text box tweak palette (-10,-5,-10), play sound (sfx:ThunderMagic,false,true) Alter NPC (11,NPCstat:picture,118), Alter NPC (11,NPCstat:palette,111) fade screen in, wait (5), set NPC position (11,1,1), wait (3) reset palette, fade screen in, wait (5) show text box (1850), wait (7), wait for key (use key), advance text box tweak palette (-10,-10,-5), play sound (sfx:FreezeMagic,false,true) Alter NPC (13,NPCstat:picture,145), Alter NPC (13,NPCstat:palette,3) fade screen in, wait (5), set NPC position (13,1,1) wait (3), reset palette, fade screen in show text box (1851), wait (7), wait for key (use key), advance text box tweak palette (-5,-10,-10), play sound (sfx:FlameMagic,false,true) Alter NPC (12,NPCstat:picture,113), Alter NPC (12,NPCstat:palette,10) fade screen in, wait (5), set NPC position (12,1,1) wait (3), reset palette, fade screen in show text box (1852), wait (7), wait for key (use key), advance text box tweak palette (-5,-10,-5) , play sound (sfx:TornadoMagic,false,true) Alter NPC (10,NPCstat:picture,138), Alter NPC (10,NPCstat:palette,8) fade screen in, wait (5) , set NPC position (10,1,1) wait (5), reset palette, fade screen in, wait (5) play song (Song:Grim Determination), resume random enemies resume obstruction, resume box advance, resume player resume caterpillar, set caterpillar mode (off), wait (1), encounters end script,firesmash,begin remember party, suspend player, suspend box advance suspend random enemies, focus camera (23,48,4) swap by position (0,find hero (hero:Kitt)) wait for camera, wait (10), walk hero to y (me,50), wait for hero (me) walk hero to x (me,22), wait for hero (me) walk hero (me,up,2), wait for hero (me), set hero direction (me,right) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (1862), wait (7), wait for key (use key), advance text box set NPC direction (15,left), set NPC frame (15,1), wait (1), set NPC frame (15,0), wait (1) set NPC frame (15,1), wait (1), set NPC frame (15,0), wait (1) show text box (1853), wait (7), wait for key (use key), advance text box walk hero (me,left,1), set hero direction (me,right) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (1854), wait (7), wait for key (use key), advance text box set NPC frame (15,1), wait (1), set NPC frame (15,0), wait (1) set NPC frame (15,1), wait (1), set NPC frame (15,0), wait (1) show text box (1855), wait (7), wait for key (use key), advance text box wait (5), set NPC direction (15,up), wait (5) set NPC frame (15,1), wait (1), set NPC frame (15,0), wait (1) set NPC frame (15,1), wait (1), set NPC frame (15,0), wait (1) show text box (1856), wait (7), wait for key (use key), advance text box set NPC direction (15,right) set NPC frame (15,1), wait (1), set NPC frame (15,0), wait (1) set NPC frame (15,1), wait (1), set NPC frame (15,0), wait (1) show text box (1857), wait (7), wait for key (use key), advance text box set NPC direction (15,down), wait (3), set NPC direction (15,left), wait (3) set NPC frame (15,1), wait (1), set NPC frame (15,0), wait (1) set NPC frame (15,1), wait (1), set NPC frame (15,0), wait (1) show text box (1858), wait (7), wait for key (use key), advance text box wait (5), walk NPC (15,left,1), wait for NPC (15) set NPC frame (15,1), wait (1), set NPC frame (15,0), wait (1) set NPC frame (15,1), wait (1), set NPC frame (15,0), wait (1) show text box (1859), wait (7), wait for key (use key), advance text box wait (2), tweak palette (10,0,0), update palette play sound (sfx:FlameMagic,false,true), teach spell ((find hero(hero:Kitt)),atk:Firesmash) wait (10), reset palette, fade screen in show text box (1860), wait (7), wait for key (use key), advance text box walk NPC (15,down,8), wait (5), walk hero (me,right,1), wait for hero (me) set hero direction (me,down) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (1861), wait (7), wait for key (use key), pan camera (left,1) wait for camera, advance text box, camera follows hero (me), set tag (tag:firesmash,on) resume random enemies, resume obstruction, resume box advance resume player, resume caterpillar, set caterpillar mode (off) wait (1),reinstate party, encounters end script,icebrand,begin remember party, suspend player, suspend box advance suspend random enemies, focus camera (41,35,4) swap by position (0,find hero (hero:Kitt)) walk hero to x (me,41), wait for hero (me), walk hero to y (me,35), wait for hero (me) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (1863), wait (7), wait for key (use key), advance text box set NPC frame (24,1), wait (1), set NPC frame (24,0), wait (1) set NPC frame (24,1), wait (1), set NPC frame (24,0), wait (1) show text box (1864), wait (7), wait for key (use key), advance text box set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (1865), wait (7), wait for key (use key), advance text box wait (3), set NPC direction (24,right), wait (3) set NPC frame (24,1), wait (1), set NPC frame (24,0), wait (1) set NPC frame (24,1), wait (1), set NPC frame (24,0), wait (1) show text box (1866), wait (7), wait for key (use key), advance text box set hero direction (me,left), set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (1867), wait (7), wait for key (use key), advance text box wait (15), set NPC frame (24,1), wait (1), set NPC frame (24,0), wait (1) set NPC frame (24,1), wait (1), set NPC frame (24,0), wait (1) show text box (1868), wait (7), wait for key (use key), advance text box walk NPC (24,right,1), wait for NPC (24) show text box (1869), wait (7), wait for key (use key), advance text box wait (2), tweak palette (10,0,0), update palette play sound (sfx:FreezeMagic,false,true) teach spell ((find hero(hero:Kitt)),atk:Icebrand) wait (10), reset palette, fade screen in show text box (1870), wait (7), wait for key (use key), advance text box set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (1871), wait (7), wait for key (use key), advance text box walk NPC (24,down,2), wait for NPC (24), walk NPC (24,right,1) set hero direction (me,down), wait for NPC (24), wait (3) set NPC direction (24,up), set NPC frame (24,1) wait (1), set NPC frame (24,0), wait (1) set NPC frame (24,1), wait (1), set NPC frame (24,0), wait (1) show text box (1872), wait (7), wait for key (use key), advance text box set NPC direction (24,left), wait (3), walk NPC (24,down,6) wait for NPC (24), camera follows hero (me), set tag (tag:icebrand,on) resume random enemies, resume obstruction, resume box advance resume player, resume caterpillar, set caterpillar mode (off) wait (1),reinstate party, encounters end script,boltslash,begin remember party, suspend player, suspend box advance suspend random enemies, swap by position (0,find hero (hero:Kitt)) walk hero to y (me,3), wait for hero (me), walk hero to x (me,61), wait for hero (me) set hero direction (me,up), wait (3) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (1874), wait (7), wait for key (use key), advance text box set NPC direction (9,left), wait (5), set NPC direction (9,down), wait (5) walk hero (me,left,1), walk NPC (9,left,1) set hero direction (me,up), set NPC direction (9,down) wait for hero (me), wait (3), walk hero (me,right,1) walk NPC (9,right,1), set hero direction (me,up), set NPC direction (9,down) wait for hero (me), wait (3), walk hero (me,left,1) walk NPC (9,left,1), set hero direction (me,up), set NPC direction (9,down) wait for hero (me), wait (3), walk hero (me,right,1) walk NPC (9,right,1), set hero direction (me,up), set NPC direction (9,down) wait for hero (me), wait (3), walk hero (me,left,1) walk NPC (9,left,1), set hero direction (me,up), set NPC direction (9,down) wait for hero (me), wait (3), walk hero (me,right,1) walk NPC (9,right,1), set hero direction (me,up), set NPC direction (9,down) wait for hero (me), wait (3) set NPC frame (9,1), wait (1), set NPC frame (9,0), wait (1) set NPC frame (9,1), wait (1), set NPC frame (9,0), wait (1) show text box (1875), wait (7), wait for key (use key), advance text box walk hero (me,left,1), set hero direction (me,right) wait for hero (me), walk NPC (9,down,8), wait (8) walk hero (me,right,1), wait for hero (me) walk hero (me, up,1), wait for hero (me) wait for NPC (9), wait (1), walk NPC (9,up,6), wait for NPC (9) set hero direction (me,left), wait (2), set hero direction (me,down), wait (2) set NPC frame (9,1), wait (1), set NPC frame (9,0), wait (1) set NPC frame (9,1), wait (1), set NPC frame (9,0), wait (1) show text box (1876), wait (7), wait for key (use key), advance text box wait (2), tweak palette (10,0,0), update palette play sound (sfx:ThunderMagic,false,true) teach spell ((find hero(hero:Kitt)),atk:Boltslash) wait (10), reset palette, fade screen in show text box (1877), wait (7), wait for key (use key), advance text box walk NPC (9,down,6), wait for NPC (9), wait (5) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (1878), wait (7), wait for key (use key), advance text box camera follows hero (me), set tag (tag:boltslash,on), resume random enemies resume obstruction, resume box advance, resume player resume caterpillar, set caterpillar mode (off), wait (1) reinstate party, encounters end script,utgard,begin remember party, suspend player, suspend box advance swap by position (1,find hero (hero:Olaf)) swap by position (2,find hero (hero:Bram)) set NPC direction (0,left), wait (2) set NPC direction (0,down), wait (2) set NPC frame (0,1), wait (1), set NPC frame (0,0), wait (1) set NPC frame (0,1), wait (1), set NPC frame (0,0), wait (1) show text box (1881), wait (7), wait for key (use key), advance text box wait for hero (me), set caterpillar mode (on), set hero position (1, 8, 17) set hero position (2, 8, 17), set hero position (3, 8, 17), wait (1) suspend caterpillar , pan camera (up,2,4), wait (1) walk hero (me,up,1), walk hero (1,left,1), walk hero (2,right,1) wait for hero (me), set hero direction (me,up), set hero direction (1,up) set hero direction (2,up), set hero direction (3,up) , wait for camera, wait (5) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (1882), wait (7), wait for key (use key), advance text box walk NPC (0,down,1), wait for NPC (0) set NPC frame (0,1), wait (1), set NPC frame (0,0), wait (1) set NPC frame (0,1), wait (1), set NPC frame (0,0), wait (1) show text box (1883), wait (7), wait for key (use key), advance text box walk hero (1,up,1), wait for hero (me) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) show text box (1884), wait (7), wait for key (use key), advance text box wait (2), set hero direction (me,left) , set hero direction (2,left) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (1885), wait (7), wait for key (use key), advance text box set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) show text box (1886), wait (7), wait for key (use key), advance text box set NPC frame (0,1), wait (1), set NPC frame (0,0), wait (1) set NPC frame (0,1), wait (1), set NPC frame (0,0), wait (1) show text box (1887), wait (7), wait for key (use key), advance text box walk hero (2,up,1), wait for hero (2), walk hero (me,up,1) walk hero (1,up,1), walk hero (2,up,1), walk hero (3,up,1) wait for hero (me), pan camera (up,8,4), wait for camera set NPC frame (0,1), wait (1), set NPC frame (0,0), wait (1) set NPC frame (0,1), wait (1), set NPC frame (0,0), wait (1) show text box (1888), wait (7), suspend obstruction, wait for key (use key), advance text box walk NPC (0,up,8), walk hero (me,up,8), walk hero (1,up,8) walk hero (2,up,8), walk hero (3,up,8), wait for hero (me) set NPC frame (2,1), wait (1), set NPC frame (2,0), wait (1) set NPC frame (2,1), wait (1), set NPC frame (2,0), wait (1) show text box (1889), wait (7), wait for key (use key), advance text box set NPC frame (0,1), wait (1), set NPC frame (0,0), wait (1) set NPC frame (0,1), wait (1), set NPC frame (0,0), wait (1) show text box (1890), wait (7), wait for key (use key), advance text box set NPC frame (2,1), wait (1), set NPC frame (2,0), wait (1) set NPC frame (2,1), wait (1), set NPC frame (2,0), wait (1) show text box (1891), wait (7), wait for key (use key), advance text box show text box (1892), wait (7), wait for key (use key), advance text box set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) show text box (1893), wait (7), wait for key (use key), advance text box wait (10), play sound (sfx:Delvire,false,true) show text box (1894), wait (7), wait for key (use key), advance text box wait (10), set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) show text box (1895), wait (7), wait for key (use key), advance text box set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (1896), wait (7), wait for key (use key), advance text box wait (1), walk hero (1,right,1), walk hero (2,left,1) walk hero (3,up,1), walk NPC (0,down,1), wait for NPC (0), wait (1) camera follows hero (me), set tag (tag:utgard,on), resume random enemies resume obstruction, resume box advance, resume player resume caterpillar, set caterpillar mode (off), wait (1) reinstate party, encounters end script,delvirearena,begin remember party, suspend player, suspend box advance stop song, wait (5), set NPC position (3,6,5) play sound (sfx:Delvire,false,true) , wait (3) set NPC direction (3,right), set hero direction (me,left) set NPC frame (3,1), wait (1), set NPC frame (3,0), wait (1) set NPC frame (3,1), wait (1), set NPC frame (3,0), wait (1) show text box (1903), wait (7), wait for key (use key), advance text box set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (1904), wait (7), wait for key (use key), advance text box set NPC frame (3,1), wait (1), set NPC frame (3,0), wait (1) set NPC frame (3,1), wait (1), set NPC frame (3,0), wait (1) show text box (1905), wait (7), wait for key (use key), advance text box show text box (1906), wait (7), wait for key (use key), advance text box set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (1907), wait (7), wait for key (use key), advance text box set NPC position (3,10,5), play sound (sfx:Delvire,false,true) , wait (3) set NPC direction (3,down), set hero direction (me,up) set NPC frame (3,1), wait (1), set NPC frame (3,0), wait (1) set NPC frame (3,1), wait (1), set NPC frame (3,0), wait (1) show text box (1908), wait (7), wait for key (use key), advance text box show text box (1909), wait (7), wait for key (use key), advance text box camera follows hero (me), set tag (tag:DelvireBrag,on), resume random enemies resume obstruction, resume box advance, resume player resume caterpillar, set caterpillar mode (off), wait (1) end script,arena,begin suspend player, suspend box advance open menu (menu:UTGARD ARENA) wait (1), resume player, resume box advance end script,arenaHorace,begin fight formation (230) end script,arenacomrade,begin fight formation (225) end script,slimesalad,begin fight formation (227) end script,lowteir,begin if (checktag(tag:STARTARENA) == off) then ( suspend player suspend box advance, fade screen out, wait (2) set hero position (me,34,5), wait (2), set NPC position (35,34,10), set NPC direction (35,down) wait (3), fade screen in, wait (10) show text box (3443), wait (7), wait for key (use key), advance text box show text box (3444), wait (7), wait for key (use key), advance text box show text box (3445), wait (7), wait for key (use key), advance text box wait (10), set NPC direction (20,left), wait (20) show text box (3446), wait (7), wait for key (use key), advance text box wait (10),set NPC direction (17,right) show text box (3447), wait (7), wait for key (use key), advance text box show text box (3448), wait (7), wait for key (use key), advance text box show text box (3449), wait (7), wait for key (use key), advance text box set NPC direction (13,right), set NPC direction (41,right), set NPC direction (12,right) set NPC direction (22,left) show text box (328), wait (7), wait for key (use key), advance text box set NPC direction (21,right) show text box (3450), wait (7), wait for key (use key), advance text box set NPC direction (14,left), set NPC direction (16,left), set NPC direction (17,left) show text box (3451), wait (7), wait for key (use key), advance text box show text box (3452), wait (7), wait for key (use key), advance text box wait (5),set NPC direction (41,right), wait (5) show text box (3453), wait (7), wait for key (use key), advance text box set NPC direction (17,right),set NPC direction (20,right), set NPC direction (13,right) set NPC direction (14,right),set NPC direction (16,right), set NPC direction (12,right) wait (5), walk NPC (22,left,1), wait for NPC (22) show text box (3454), wait (7), wait for key (use key), advance text box, wait (20) show text box (3455), wait (7), wait for key (use key), advance text box show text box (3456), wait (7), wait for key (use key), advance text box show text box (3457), wait (7), wait for key (use key), advance text box set NPC direction (12,down) show text box (3458), wait (7), wait for key (use key), advance text box focus camera (34,10,2), wait for camera show text box (3459), wait (7), wait for key (use key), advance text box show text box (3460), wait (7), wait for key (use key), advance text box show text box (3461), wait (7), wait for key (use key), advance text box fade screen out, show text box (2593), stop song wait (5), fade screen in, wait(5),wait for key (use key), advance text box show text box (2594), wait (7), wait for key (use key), advance text box show text box (2595), wait (7), wait for key (use key), advance text box show text box (2596), wait (7), wait for key (use key), fade screen out wait (5),advance text box,stop song, wait (5), fade screen in show text box (3462), wait (7), wait for key (use key), advance text box wait (15), set NPC direction (35,left), wait (5) show text box (3463), wait (7), wait for key (use key), advance text box wait (5), set NPC direction (35,down), wait (5) set NPC direction (35,right), wait (5) show text box (3464), wait (7), wait for key (use key), advance text box wait (5), set NPC direction (35,down), wait (5) set NPC direction (35,left), wait (5) set NPC direction (35,up), wait (5) show text box (3465), wait (7), wait for key (use key), advance text box fade screen out, wait (10), fight formation (231) wait (10), camera follows hero (me), use door (9) fade screen in, set tag (tag:STARTARENA,on), set tag (tag:LOWTEIR,on) ) else ( fight formation (231), set tag (tag:LOWTEIR,on) ) end script,midteir,begin fight formation (232) set tag (tag:MIDTEIR,on) end script,upperteir,begin fight formation (233) set tag (tag:UPPERTEIR,on) end script,highteir,begin fight formation (234) set tag (tag:HIGHTEIR,on) end script,quarterfinals,begin fight formation (235) set tag (tag:QUARTERFINALS,on) end script,semifinals,begin remember party, fight formation (236), set tag (tag:SEMIFINALS,on) suspend player, suspend box advance, fade screen out wait (2), set hero position (me,34,5) swap by position (0,find hero (hero:Olaf)), wait (2) # Thor set NPC position (21,31,10), set NPC direction (21,right) # Olaf set NPC position (16,36,10),set NPC direction (16,left) # Frumpy set NPC position (20,38,9), set NPC direction (20,left) # Freki set NPC position (12,37,11), set NPC direction (12,left) wait (3), fade screen in, wait (10) focus camera (34,10,2), wait for camera set NPC frame (21,1), wait (1), set NPC frame (21,0), wait (1) set NPC frame (21,1), wait (1), set NPC frame (21,0), wait (1) show text box (1974), wait (7), wait for key (use key), advance text box show text box (1975), wait (7), wait for key (use key), advance text box set NPC frame (16,1), wait (1), set NPC frame (16,0), wait (1) set NPC frame (16,1), wait (1), set NPC frame (16,0), wait (1) show text box (1976), wait (7), wait for key (use key), advance text box set NPC frame (20,1), wait (1), set NPC frame (20,0), wait (1) set NPC frame (20,1), wait (1), set NPC frame (20,0), wait (1) show text box (1977), wait (7), wait for key (use key), advance text box set NPC frame (21,1), wait (1), set NPC frame (21,0), wait (1) set NPC frame (21,1), wait (1), set NPC frame (21,0), wait (1) show text box (1978), wait (7), wait for key (use key), advance text box set NPC frame (16,1), wait (1), set NPC frame (16,0), wait (1) set NPC frame (16,1), wait (1), set NPC frame (16,0), wait (1) show text box (1979), wait (7), wait for key (use key), advance text box set NPC frame (21,1), wait (1), set NPC frame (21,0), wait (1) set NPC frame (21,1), wait (1), set NPC frame (21,0), wait (1) show text box (1980), wait (7), wait for key (use key), advance text box walk NPC (12,left,1), wait for NPC (12), set NPC frame (12,1), wait (1) set NPC frame (12,0), wait (1), set NPC frame (12,1), wait (1), set NPC frame (12,0), wait (1) show text box (1981), wait (7), wait for key (use key), advance text box set NPC direction (16,down), set NPC direction (12,up) set NPC frame (12,1), wait (1), set NPC frame (12,0), wait (1) set NPC frame (12,1), wait (1), set NPC frame (12,0), wait (1) show text box (1982), wait (7), wait for key (use key), advance text box walk NPC (21,right,2), wait for NPC (11) set NPC frame (21,1), wait (1), set NPC frame (21,0), wait (1) set NPC frame (21,1), wait (1), set NPC frame (21,0), wait (1) show text box (1983), wait (7), wait for key (use key), advance text box set NPC direction (12,left), set NPC direction (16,left) set NPC frame (12,1), wait (1), set NPC frame (12,0), wait (1) set NPC frame (12,1), wait (1), set NPC frame (12,0), wait (1) show text box (1984), wait (7), wait for key (use key), advance text box set NPC frame (16,1), wait (1), set NPC frame (16,0), wait (1) set NPC frame (16,1), wait (1), set NPC frame (16,0), wait (1) show text box (1985), wait (7), wait for key (use key), advance text box walk NPC (20,left,1), wait for NPC (20) set NPC frame (20,1), wait (1), set NPC frame (20,0), wait (1) set NPC frame (20,1), wait (1), set NPC frame (20,0), wait (1) show text box (1986), wait (7), wait for key (use key), advance text box set NPC direction (16,down), set NPC frame (16,1), wait (1) set NPC frame (16,0), wait (1),set NPC frame (16,1) wait (1), set NPC frame (16,0), wait (1) show text box (1987), wait (7), wait for key (use key), advance text box set NPC frame (21,1), wait (1), set NPC frame (21,0), wait (1) set NPC frame (21,1), wait (1), set NPC frame (21,0), wait (1) show text box (1988), wait (7), wait for key (use key), advance text box set NPC direction (16,left), set NPC frame (16,1) wait (1), set NPC frame (16,0), wait (1) set NPC frame (16,1), wait (1), set NPC frame (16,0), wait (1) show text box (1989), wait (7), wait for key (use key), advance text box set NPC frame (21,1), wait (1), set NPC frame (21,0), wait (1) set NPC frame (21,1), wait (1), set NPC frame (21,0), wait (1) show text box (1990), wait (7), wait for key (use key), advance text box walk NPC (12,right,1), set NPC direction (12,left), wait for NPC (12) set NPC frame (21,1), wait (1), set NPC frame (21,0), wait (1) set NPC frame (21,1), wait (1), set NPC frame (21,0), wait (1) show text box (1991), wait (7), wait for key (use key), advance text box walk NPC (21,down,4), walk NPC (16,down,4), wait for NPC (21) set NPC direction (12,down), set NPC direction (20,down) walk NPC (21,down,4), walk NPC (16,down,4), wait for NPC (21), wait (5) set NPC frame (12,1), wait (1), set NPC frame (12,0), wait (1) set NPC frame (12,1), wait (1), set NPC frame (12,0), wait (1) show text box (1992), wait (7), wait for key (use key), advance text box set NPC frame (20,1), wait (1), set NPC frame (20,0), wait (1) set NPC frame (20,1), wait (1), set NPC frame (20,0), wait (1) show text box (1993), wait (7), wait for key (use key), advance text box fade screen out, wait (2), play sound (sfx:nuclear,false,true) wait (40), camera follows hero (me), use door (9), fade screen in teach spell ((find hero(hero:Olaf)),atk:GigaFist) show text box (1994), wait (7), wait for key (use key), advance text box resume box advance, resume player,reinstate party end script,tunneler,begin suspend player, suspend box advance, suspend random enemys, suspend caterpillar remember party, play sound (sfx:earthquake,false,true) pancamera(up,1,20),waitforcamera, pancamera(down,2,20),waitforcamera pancamera(up,2,20),waitforcamera, pancamera(down,1,20),waitforcamera pancamera(left,1,20),waitforcamera, pancamera(right,2,20),waitforcamera pancamera(left,2,20),waitforcamera, pancamera(right,1,20),waitforcamera pan camera (up,1,20), pan camera (right,1,20), wait for camera pan camera (down,2,20), pan camera (left,2,20), wait for camera pan camera (up,2,20), pan camera (right,2,20), wait for camera pan camera (down,1,20), pan camera (left,1,20), wait for camera camera follows hero, swap by position (0,find hero (hero:Kitt)) swap by position (1,find hero (hero:Bram)), swap by position (2,find hero (hero:Frumpy)) swap by position (3,find hero (hero:Night)),remember party set caterpillar mode (on), set hero position (1, 36, 16), set hero position (2, 36, 16) set hero position (3, 36, 16), wait (1), suspend caterpillar , wait (1) walk hero (me,up,1), walk hero (1,left,1), walk hero (2,right,1) set hero direction (3,down), wait for hero (me) show text box (1913), wait (7), wait for key (use key), advance text box show text box (1914), wait (7), wait for key (use key), advance text box show text box (1915), wait (7), wait for key (use key), advance text box play sound (sfx:earthquake,false,true) , pancamera(up,1,20),waitforcamera pancamera(down,2,20),waitforcamera, pancamera(up,2,20),waitforcamera pancamera(down,1,20),waitforcamera , pancamera(left,1,20),waitforcamera pancamera(right,2,20),waitforcamera, pancamera(left,2,20),waitforcamera pancamera(right,1,20),waitforcamera pan camera (up,1,20), pan camera (right,1,20), wait for camera pan camera (down,2,20), pan camera (left,2,20), wait for camera pan camera (up,2,20), pan camera (right,2,20), wait for camera pan camera (down,1,20), pan camera (left,1,20), wait for camera set hero direction (me,up), set hero direction (1,up), set hero direction (2,up) set hero direction (3,up) , camera follows hero (me) show text box (1916), wait (7), wait for key (use key), advance text box BossIntroduction, fight formation (237) set hero direction (me,down), set hero direction (1,right) set hero direction (2,left), set hero direction (3,up) show text box (1917), wait (7), wait for key (use key), advance text box show text box (1918), wait (7), wait for key (use key), advance text box show text box (1919), wait (7), wait for key (use key), advance text box play sound (sfx:StormMagic,false,true), set hero direction (me,right), wait (1) set hero direction (me,up), wait (1) set hero direction (me,left), wait (1), set hero direction (me,down), wait (1) set hero direction (me,right), wait (1), set hero direction (me,up), wait (1) set hero direction (me,left), wait (1), set hero direction (me,down), wait (1) set hero direction (me,right), wait (1), set hero direction (me,up), wait (1) set hero direction (me,left), wait (1), set hero direction (me,down), wait (1) set hero direction (me,right), wait (1), set hero direction (me,up), wait (1) set hero direction (me,left), wait (1), set hero direction (me,down), wait (1) tweak palette (10,0,0), update palette teach spell ((find hero(hero:Kitt)),atk:Spinslash), wait (3) reset palette, update palette show text box (1920), wait (7), wait for key (use key), advance text box, wait (1) show text box (1921), wait (7), wait for key (use key), advance text box show text box (1922), wait (7), wait for key (use key), advance text box walk hero (me,down,1), walk hero (1,right,1), walk hero (2,left,1) wait for hero (me), resume random enemies, resume obstruction, resume box advance resume player, resume caterpillar, set caterpillar mode (off), wait (1), encounters end # A script that teaches Night how to cast a poison spell. script,crone,begin remember party, suspend player, suspend box advance, suspend NPCs, wait (1) swap by position (0,find hero (hero:Night)) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (1928), wait (7), wait for key (use key), advance text box set NPC frame (12,1), wait (1), set NPC frame (12,0), wait (1) set NPC frame (12,1), wait (1), set NPC frame (12,0), wait (1) show text box (1929), wait (7), wait for key (use key), advance text box show text box (1930), wait (7), wait for key (use key), advance text box show text box (1931), wait (7), wait for key (use key), advance text box set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (1932), wait (7), wait for key (use key), advance text box set NPC frame (12,1), wait (1), set NPC frame (12,0), wait (1) set NPC frame (12,1), wait (1), set NPC frame (12,0), wait (1) show text box (1933), wait (7), wait for key (use key), advance text box fade screen out, wait (5), play sound (sfx:Mistress,false,true) wait (30), fade screen in, wait (1), tweak palette (10,0,0), update palette play sound (sfx:DrainMagic,false,true) teach spell ((find hero(hero:Night)),atk:Venomer) wait (3), reset palette, update palette show text box (1934), wait (7), wait for key (use key), advance text box show text box (1935), wait (7), wait for key (use key), advance text box, wait (1) set NPC frame (12,1), wait (1), set NPC frame (12,0), wait (1) set NPC frame (12,1), wait (1), set NPC frame (12,0), wait (1) show text box (1936), wait (7), wait for key (use key), advance text box set tag (tag:Crone,on), resume player, resume box advance, resume NPCs reinstate party end script,TELEPORT,begin suspend player ,suspend box advance open menu (menu:Boundless Ocean) wait (1) ,resume player,resume box advance end script,Tele0,begin suspend player, bifrostbeam(0) fade screen out (63,63,63), wait (1), use door (0), reset palette, wait (1) wait (1), fade screen in, bifrostbeam (1) resume player, encounters end script,Tele1,begin suspend player, bifrostbeam(0) fade screen out (63,63,63), wait (1), use door (1), reset palette, wait (1) wait (1), fade screen in, bifrostbeam (1) resume player, encounters end script,Tele2,begin suspend player, bifrostbeam(0) fade screen out (63,63,63), wait (1), use door (2), reset palette, wait (1) wait (1), fade screen in, bifrostbeam (1) resume player, encounters end script,Tele3,begin suspend player, bifrostbeam(0) fade screen out (63,63,63), wait (1), use door (3), reset palette, wait (1) wait (1), fade screen in, bifrostbeam (1) resume player, encounters end script,Tele4,begin suspend player, bifrostbeam(0) fade screen out (63,63,63), wait (1), use door (4), reset palette, wait (1) wait (1), fade screen in, bifrostbeam (1) resume player, encounters end script,Tele5,begin suspend player, bifrostbeam(0) fade screen out (63,63,63), wait (1), use door (5), reset palette, wait (1) wait (1), fade screen in, bifrostbeam (1) resume player, encounters end script,Tele6,begin suspend player, bifrostbeam(0) fade screen out (63,63,63), wait (1), use door (6), reset palette, wait (1) wait (1), fade screen in, bifrostbeam (1) resume player, encounters end script,Tele7,begin suspend player, bifrostbeam(0) fade screen out (63,63,63), wait (1), use door (7), reset palette, wait (1) wait (1), fade screen in, bifrostbeam (1) resume player, encounters end script,Tele8,begin suspend player, bifrostbeam(0) fade screen out (63,63,63), wait (1), use door (8), reset palette, wait (1) wait (1), fade screen in, bifrostbeam (1) resume player, encounters end script,Tele9,begin suspend player, bifrostbeam(0) fade screen out (63,63,63), wait (1), use door (9), reset palette, wait (1) wait (1), fade screen in, bifrostbeam (1) resume player, encounters end script,Tele10,begin suspend player, bifrostbeam(0) fade screen out (63,63,63), wait (1), use door (10), reset palette, wait (1) wait (1), fade screen in, bifrostbeam (1) resume player, encounters end script,Skadi1,begin remember party suspend player, suspend box advance, suspend NPCs, wait (1) swap by position (0,find hero (hero:Frumpy)) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (1948), wait (7), wait for key (use key), advance text box show text box (1949), wait (7), wait for key (use key), advance text box show text box (1950), wait (7), wait for key (use key), advance text box set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (1951), wait (7), wait for key (use key), advance text box show text box (1952), resume player, resume box advance, resume NPCs reinstate party, encounters end # After rescuing Skadi's sister, you'll earn Harm 2.. er, Force 2. script,Skadi2,begin remember party suspend player, suspend box advance, suspend NPCs swap by position (0,find hero (hero:Frumpy)) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) tweak palette (0,0,10), update palette, play sound (sfx:Heal8Bit,false,true) wait (10), reset palette, fade screen in show text box (1955), wait (7), wait for key (use key), advance text box set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (1956), wait (7), wait for key (use key), advance text box show text box (1957), wait (7), wait for key (use key), advance text box wait (1), tweak palette (10,0,0), update palette play sound (sfx:EnemyDeath,false,true) wait (10), reset palette, fade screen in show text box (1959), wait (7), wait for key (use key), advance text box teach spell ((find hero(hero:Frumpy)),atk:Force2) show text box (1958), wait (7), wait for key (use key), advance text box wait (4), fade screen out (63,63,63), wait (5) set tag (tag:Skadi2,on), wait (3), fade screen in, wait (1) resume player, resume box advance, resume NPCs reinstate party, encounters end script,olaf1,begin remember party, suspend player, suspend box advance swap by position (0,find hero (hero:Olaf)), swap by position (1,find hero (hero:Kitt)) swap by position (2,find hero (hero:Frumpy)), wait (1) set caterpillar mode (on), set hero position (1, 32, 36), set hero position (2, 32, 36), set hero position (3, 1, 1) wait (1), suspend caterpillar, wait (1), walk hero (1,left,1) walk hero (2,right,1), wait for hero (2) set hero direction (2,down), wait (2), set hero direction (2,left), wait (2) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) show text box (1960), wait (7), wait for key (use key), advance text box set hero direction (1,down), set hero direction (me,down), wait (3) set hero direction (1,right), set hero direction (me,right) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (1961), wait (7), wait for key (use key), advance text box # Olaf is wearing a sword for a helmet! How can this be?! equip menu (find hero(hero:Olaf)) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) show text box (1962), wait (7), wait for key (use key), advance text box set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (1963), wait (7), wait for key (use key), advance text box, wait (10) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) show text box (1964), wait (7), wait for key (use key), advance text box set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (1965), wait (7), wait for key (use key), advance text box set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) show text box (1966), wait (7), wait for key (use key), advance text box show text box (1967), wait (7), wait for key (use key), advance text box, wait (10) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) show text box (1968), wait (7), wait for key (use key), advance text box set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) show text box (1969), wait (7), wait for key (use key), advance text box set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) show text box (1970), wait (7), wait for key (use key), advance text box set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) show text box (1971), wait (7), wait for key (use key), advance text box wait (10), set hero direction (2,down), wait (10) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) show text box (1972), wait (7), wait for key (use key), advance text box set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (1973), wait (7), wait for key (use key), advance text box walk hero (1,right,1), walk hero (2,left,1), wait for hero (1) resume random enemies, resume obstruction, resume box advance resume player, resume caterpillar, set caterpillar mode (off) wait (1),reinstate party, encounters end script,Delvire2,begin suspend player,remember party, swap by position (0,find hero (hero:Bram)) suspend box advance, suspend NPCs, suspend obstruction wait (2), stop song, greyscale palette update palette, play sound (sfx:Ice Crash,false,true), wait (2) focus camera (15,33,4), wait (4), walk NPC (36,left,3) wait for NPC (36), wait for camera, set NPC direction (36,down) wait (5), play sound (sfx:Delvire,false,true), wait (20) walk NPC (36,down,7), focus camera (15,37,4), wait for NPC (36) walk NPC (36,right,2), wait for NPC (36), set NPC direction (36,down) play sound (sfx:Soft_Airy_Swish,false,true), camera follows hero (me) wait (3), walk NPC (36,up,1), set NPC direction (36,down) wait for NPC (36), reset palette, wait (2), fade screen in, wait (2) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (1995), wait (7), wait for key (use key), advance text box set hero direction (me,left), wait (2), set hero direction (me,up) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (1996), wait (7), wait for key (use key), advance text box set NPC frame (36,1), wait (1), set NPC frame (36,0), wait (1) set NPC frame (36,1), wait (1), set NPC frame (36,0), wait (1) show text box (1997), wait (7), wait for key (use key), advance text box set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (1998), wait (7), wait for key (use key), advance text box set NPC frame (36,1), wait (1), set NPC frame (36,0), wait (1) set NPC frame (36,1), wait (1), set NPC frame (36,0), wait (1) show text box (1999), wait (7), wait for key (use key), advance text box set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (2000), wait (7), wait for key (use key), advance text box set NPC frame (36,1), wait (1), set NPC frame (36,0), wait (1) set NPC frame (36,1), wait (1), set NPC frame (36,0), wait (1) show text box (2001), wait (7), wait for key (use key), advance text box tweak palette (40,-10,-10), update palette, wait (2) reset palette, greyscale palette, fade screen in, wait (2) set NPC frame (36,1), wait (1), set NPC frame (36,0), wait (1) set NPC frame (36,1), wait (1), set NPC frame (36,0), wait (1) show text box (2002), wait (7), wait for key (use key), advance text box walk NPC (36,down,1), wait for NPC (36), wait (10) set NPC frame (36,1), wait (1), set NPC frame (36,0), wait (1) set NPC frame (36,1), wait (1), set NPC frame (36,0), wait (1) show text box (2003), wait (7), wait for key (use key), advance text box show text box (2004), wait (7), wait for key (use key), advance text box set NPC frame (36,1), wait (1), set NPC frame (36,0), wait (1) set NPC frame (36,1), wait (1), set NPC frame (36,0), wait (1) show text box (2005), wait (7), wait for key (use key), advance text box set NPC direction (36,right), wait (2), set NPC direction (36,up), wait (2) show text box (2006), wait (7), wait for key (use key), advance text box show text box (2007), wait (7), wait for key (use key), advance text box set NPC direction (36,right), wait (3), set NPC direction (36,down) set NPC frame (36,1), wait (1), set NPC frame (36,0), wait (1) set NPC frame (36,1), wait (1), set NPC frame (36,0), wait (1) show text box (2008), wait (7), wait for key (use key), advance text box walk NPC (36,up,1), set NPC direction (36,down) set NPC frame (36,1), wait (1), set NPC frame (36,0), wait (1) set NPC frame (36,1), wait (1), set NPC frame (36,0), wait (1) show text box (2009), wait (7), wait for key (use key), advance text box, wait (10) set NPC frame (36,1), wait (1), set NPC frame (36,0), wait (1) set NPC frame (36,1), wait (1), set NPC frame (36,0), wait (1) show text box (2010), wait (7), wait for key (use key), advance text box teach spell ((find hero(hero:Bram)),atk:Red Shift) walk NPC (36,right,10), wait for NPC (36), reset palette fade screen in, wait (5), set tag (tag:Delvire2,on) set hero direction (me,left), wait (10), set hero direction (me,up), wait (2) set hero direction (me,right), wait (10), set hero direction (me,up), wait (2) set hero direction (me,left), wait (10), set hero direction (me,up), wait (2) set hero direction (me,right), wait (10), set hero direction (me,down), resume random enemies resume obstruction, resume box advance, resume NPCs resume player, resume caterpillar, set caterpillar mode (off) wait (1),reinstate party, encounters end script,fafnir,begin remember party suspend player swap by position (0,find hero (hero:Hilda)) suspend box advance suspend random enemies stop song walk hero to x (me,52) wait for hero (me) walk hero to y (me, 9) wait for hero (me) walk hero (me,right,1) wait for hero (me) walk hero (me,up,1) wait for hero (me) set hero direction (me,right) tweak palette (0,-5,-5) fade screen in show text box (2011) wait (7) wait for key (use key) advance text box reset palette fade screen in set hero frame (0,1) wait (1) set hero frame (0,0) wait (1) set hero frame (0,1) wait (1) set hero frame (0,0) wait (1) show text box (2012) wait (7) wait for key (use key) advance text box show text box (2013) wait (7) wait for key (use key) advance text box tweak palette (0,-5,-5) fade screen in show text box (2014) wait (7) wait for key (use key) advance text box reset palette fade screen in set hero direction (me,left) set hero frame (0,1) wait (1) set hero frame (0,0) wait (1) set hero frame (0,1) wait (1) set hero frame (0,0) wait (1) show text box (2015) wait (7) wait for key (use key) advance text box tweak palette (0,-5,-5) fade screen in show text box (2016) wait (7) wait for key (use key) advance text box reset palette fade screen in set hero direction (me,down) wait (3) set hero direction (me,right) set hero frame (0,1) wait (1) set hero frame (0,0) wait (1) set hero frame (0,1) wait (1) set hero frame (0,0) wait (1) show text box (2017) wait (7) wait for key (use key) advance text box tweak palette (0,-5,-5) fade screen in show text box (2018) wait (7) wait for key (use key) advance text box reset palette fade screen in set hero direction (me,down) boss introduction fight formation (238) swap by position (0,find hero (hero:Hilda)) set tag (tag:Fafnir1,on) set hero frame (0,1) wait (1) set hero frame (0,0) wait (1) set hero frame (0,1) wait (1) set hero frame (0,0) wait (1) show text box (2019) wait (7) wait for key (use key) advance text box resume box advance resume random enemies resume player reinstate party, encounters end script,Manafight,begin remember party suspend player suspend box advance fade screen out wait (2) set hero position (me,34,5) swap by position (0,find hero (hero:Olaf)) swap by position (1,find hero (hero:Hilda)) swap by position (2,find hero (hero:Freki)) swap by position (3,find hero (hero:Kitt)) wait (2) #Managarm set NPC position (22,31,11) set NPC direction (22,right) #Olaf set NPC position (16,37,11) set NPC direction (16,left) #Frumpy set NPC position (20,39,10) set NPC direction (20,left) #Kitt set NPC position (13,37,12) set NPC direction (13,left) #Freki set NPC position (12,38,9) set NPC direction (12,left) #Hilda set NPC position (14,37,10) set NPC direction (14,left) #Bram set NPC position (17,38,13) set NPC direction (17,left) #Renard set NPC position (41,39,12) set NPC direction (41,left) wait (3) fade screen in wait (10) focus camera (34,12,2) wait for camera set NPC frame (22,1) wait (1) set NPC frame (22,0) wait (1) set NPC frame (22,1) wait (1) set NPC frame (22,0) wait (1) show text box (2020) wait (7) wait for key (use key) advance text box set NPC frame (16,1) wait (1) set NPC frame (16,0) wait (1) set NPC frame (16,1) wait (1) set NPC frame (16,0) wait (1) show text box (2021) wait (7) wait for key (use key) advance text box set NPC frame (22,1) wait (1) set NPC frame (22,0) wait (1) set NPC frame (22,1) wait (1) set NPC frame (22,0) wait (1) show text box (2022) wait (7) wait for key (use key) advance text box set NPC frame (16,1) wait (1) set NPC frame (16,0) wait (1) set NPC frame (16,1) wait (1) set NPC frame (16,0) wait (1) show text box (2023) wait (7) wait for key (use key) advance text box set NPC frame (22,1) wait (1) set NPC frame (22,0) wait (1) set NPC frame (22,1) wait (1) set NPC frame (22,0) wait (1) show text box (2024) wait (7) wait for key (use key) advance text box set NPC frame (16,1) wait (1) set NPC frame (16,0) wait (1) set NPC frame (16,1) wait (1) set NPC frame (16,0) wait (1) show text box (2025) wait (7) wait for key (use key) advance text box set NPC frame (13,1) wait (1) set NPC frame (13,0) wait (1) set NPC frame (13,1) wait (1) set NPC frame (13,0) wait (1) show text box (2026) wait (7) wait for key (use key) advance text box show text box (2027) wait (7) wait for key (use key) advance text box show text box (2028) wait (7) wait for key (use key) advance text box set NPC frame (14,1) wait (1) set NPC frame (14,0) wait (1) set NPC frame (14,1) wait (1) set NPC frame (14,0) wait (1) show text box (2029) wait (7) wait for key (use key) advance text box show text box (2030) wait (7) wait for key (use key) advance text box set NPC frame (20,1) wait (1) set NPC frame (20,0) wait (1) set NPC frame (20,1) wait (1) set NPC frame (20,0) wait (1) show text box (2031) wait (7) wait for key (use key) advance text box set NPC frame (12,1) wait (1) set NPC frame (12,0) wait (1) set NPC frame (12,1) wait (1) set NPC frame (12,0) wait (1) show text box (2032) wait (7) wait for key (use key) advance text box set NPC frame (22,1) wait (1) set NPC frame (22,0) wait (1) set NPC frame (22,1) wait (1) set NPC frame (22,0) wait (1) show text box (2033) wait (7) wait for key (use key) advance text box # Time to fight Managarm, keeper of Thor's Hammer Mjolnir! boss introduction fight formation (97) swap by position (0,find hero (hero:Olaf)) swap by position (1,find hero (hero:Hilda)) swap by position (2,find hero (hero:Freki)) swap by position (3,find hero (hero:Kitt)) #Managarm is defeated at last stop song set NPC frame (16,1) wait (1) set NPC frame (16,0) wait (1) set NPC frame (16,1) wait (1) set NPC frame (16,0) wait (1) show text box (2034) wait (7) wait for key (use key) advance text box set NPC frame (22,1) wait (1) set NPC frame (22,0) wait (1) set NPC frame (22,1) wait (1) set NPC frame (22,0) wait (1) show text box (2035) wait (7) wait for key (use key) advance text box show text box (2036) wait (7) wait for key (use key) advance text box set NPC direction (22,down) wait (5) set NPC direction (22,left) wait (10) set NPC frame (22,1) wait (1) set NPC frame (22,0) wait (1) set NPC frame (22,1) wait (1) set NPC frame (22,0) wait (1) show text box (2037) wait (7) wait for key (use key) advance text box wait (10) set NPC frame (22,1) wait (1) set NPC frame (22,0) wait (1) set NPC frame (22,1) wait (1) set NPC frame (22,0) wait (1) show text box (2038) wait (7) wait for key (use key) set NPC direction (22,down) wait (5) set NPC direction (22,right) set NPC frame (22,1) wait (1) set NPC frame (22,0) wait (1) set NPC frame (22,1) wait (1) set NPC frame (22,0) wait (1) show text box (2039) wait (7) wait for key (use key) advance text box show text box (2040) wait (7) wait for key (use key) advance text box wait (5) fade screen out wait (1) show text box (2041) wait (2) fade screen in wait (7) wait for key (use key) advance text box show text box (2042) wait (7) wait for key (use key) fade screen out wait (1) advance text box wait (2) fade screen in set NPC frame (22,1) wait (1) set NPC frame (22,0) wait (1) set NPC frame (22,1) wait (1) set NPC frame (22,0) wait (1) show text box (2043) wait (7) wait for key (use key) advance text box show text box (2044) wait (7) wait for key (use key) advance text box wait (5) fade screen out wait (1) show text box (2045) wait (2) fade screen in wait (7) wait for key (use key) advance text box show text box (2046) wait (7) wait for key (use key) advance text box show text box (2047) wait (7) wait for key (use key) advance text box show text box (2048) wait (7) set NPC direction (22,left) wait for key (use key) fade screen out wait (1) advance text box wait (2) fade screen in wait (5) set NPC frame (22,1) wait (1) set NPC frame (22,0) wait (1) set NPC frame (22,1) wait (1) set NPC frame (22,0) wait (1) show text box (2049) wait (7) wait for key (use key) advance text box set NPC direction (22,down) wait (5) set NPC direction (22,right) set NPC frame (22,1) wait (1) set NPC frame (22,0) wait (1) set NPC frame (22,1) wait (1) set NPC frame (22,0) wait (1) show text box (2050) wait (7) wait for key (use key) advance text box walk NPC (22,right,4) wait for NPC (22) set NPC frame (22,1) wait (1) set NPC frame (22,0) wait (1) set NPC frame (22,1) wait (1) set NPC frame (22,0) wait (1) show text box (2051) wait (7) wait for key (use key) advance text box wait (2) walk NPC (16,left,2) wait for NPC (16) wait (10) walk NPC (22,down,2) set NPC direction (16,down) set NPC frame (16,1) wait (1) set NPC frame (16,0) wait (1) set NPC frame (16,1) wait (1) set NPC frame (16,0) wait (1) show text box (2052) wait (7) wait for key (use key) advance text box set NPC frame (22,1) wait (1) set NPC frame (22,0) wait (1) set NPC frame (22,1) wait (1) set NPC frame (22,0) wait (1) show text box (2053) wait (7) wait for key (use key) advance text box set NPC direction (22,right) set NPC frame (22,1) wait (1) set NPC frame (22,0) wait (1) set NPC frame (22,1) wait (1) set NPC frame (22,0) wait (1) show text box (2054) wait (7) wait for key (use key) advance text box set NPC frame (16,1) wait (1) set NPC frame (16,0) wait (1) set NPC frame (16,1) wait (1) set NPC frame (16,0) wait (1) show text box (2055) wait (7) wait for key (use key) advance text box wait (5) set NPC direction (22,up) wait (5) set NPC frame (22,1) wait (1) set NPC frame (22,0) wait (1) set NPC frame (22,1) wait (1) set NPC frame (22,0) wait (1) show text box (2056) wait (7) wait for key (use key) advance text box fade screen out wait (1) camera follows hero (me) use door (9) advance text box resume box advance resume player fade screen in reinstate party end script,Cthulhu2,begin remember party, suspend player, suspend box advance stop song, fade screen out, wait (1) show text box (2087), wait (2), fade screen in, wait (7) wait for key (use key), fade screen out, wait (1), advance text box wait (2), teleport to map (16,8,66), stop song, wait (1), fade screen in play song (song:Vile), focus camera (8,71,4), wait for camera show text box (2075), wait (7), wait for key (use key), advance text box show text box (2076), wait (7), wait for key (use key), advance text box walk NPC (11,down,1) show text box (2077), wait (7), wait for key (use key), advance text box tweak palette (-10,-5,-10), fade screen in, wait (5) set NPC position (36,8,72), play sound (sfx:ThunderMagic,false,true) wait (5), set hero direction (me,down), reset palette fade screen in, wait (5) show text box (2078), wait (7), wait for key (use key), advance text box show text box (2079), wait (7), wait for key (use key), advance text box show text box (2080), wait (7), wait for key (use key), advance text box tweak palette (0,15,0), update palette, wait (3) reset palette, update palette, wait (1) show text box (2081), wait (7), wait for key (use key), advance text box show text box (2082), wait (7), wait for key (use key), advance text box set NPC direction (11,left), wait (3), set NPC direction (11,up) show text box (2083), wait (7), wait for key (use key), advance text box set NPC direction (11,left), wait (3), set NPC direction (11,down) show text box (2084), wait (7), wait for key (use key), advance text box tweak palette (-10,-5,-10), fade screen in, wait (5) set NPC position (36,1,1), play sound (sfx:ThunderMagic,false,true) wait (5), set hero direction (me,down), reset palette, fade screen in wait (5), walk NPC (11,down,1) show text box (2085), wait (7), wait for key (use key), advance text box show text box (2086), wait (7), wait for key (use key), advance text box fade screen out, wait (1), camera follows hero (me) wait (1), teleport to map (4,52,48), wait (1) fade screen in, resume player, resume box advance end Script,Collies2,begin remember party, suspend player, suspend box advance, suspend NPCs swap by position (0,find hero (hero:Styrge)), swap by position (1,find hero (hero:Hilda)) swap by position (2,find hero (hero:Eric)), swap by position (3,find hero (hero:Frumpy)) show text box (2112), wait (7), wait for key (use key), advance text box set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (2113), wait (7), wait for key (use key), advance text box set NPC frame (23,1), wait (1), set NPC frame (23,0), wait (1) set NPC frame (23,1), wait (1), set NPC frame (23,0), wait (1) show text box (2114), wait (7), wait for key (use key), advance text box show text box (2115), wait (7), wait for key (use key), advance text box set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (2116), wait (7), wait for key (use key), advance text box set NPC frame (23,1), wait (1), set NPC frame (23,0), wait (1) set NPC frame (23,1), wait (1), set NPC frame (23,0), wait (1) show text box (2117), wait (7), wait for key (use key), advance text box show text box (2118), wait (7), wait for key (use key), advance text box fade screen out, wait (1) show text box (2119) , wait (2), fade screen in, wait (7), wait for key (usekey), advance textbox show text box (2120), wait (7), wait for key (use key), advance text box show text box (2121), wait (7), wait for key (use key), advance text box show text box (2122), wait (7), wait for key (use key), advance text box show text box (2123), wait (7), wait for key (use key), advance text box show text box (2124), wait (7), wait for key (use key), fade screen out wait (2), set caterpillar mode (on), advance text box, wait (2) set hero direction (me,up), teleport to map (30,38,36) play song (song:Melting Away), suspend caterpillar, wait (1) set hero position (1, 40, 35), set hero direction (1,left) set hero position (2, 35, 35), set hero direction (2,right) set hero position (3, 36, 37), set hero direction (3,up) wait (2), fade screen in, wait (2) set NPC frame (23,1), wait (1), set NPC frame (23,0), wait (1) set NPC frame (23,1), wait (1), set NPC frame (23,0), wait (1) show text box (2125), wait (7), wait for key (use key), advance text box show text box (2126), wait (7), wait for key (use key), advance text box set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) show text box (2127), wait (7), wait for key (use key), advance text box set NPC direction (23,right) set NPC frame (23,1), wait (1), set NPC frame (23,0), wait (1) set NPC frame (23,1), wait (1), set NPC frame (23,0), wait (1) show text box (2128), wait (7), wait for key (use key), advance text box show text box (2129), wait (7), wait for key (use key), advance text box set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) show text box (2130), wait (7), wait for key (use key), advance text box set NPC direction (23,down), wait (5) set NPC direction (23,left), set NPC frame (23,1) wait (1), set NPC frame (23,0) wait (1), set NPC frame (23,1), wait (1), set NPC frame (23,0), wait (1) show text box (2131), wait (7), wait for key (use key), advance text box set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) show text box (2132), wait (7), wait for key (use key), advance text box set NPC frame (23,1), wait (1), set NPC frame (23,0), wait (1) set NPC frame (23,1), wait (1), set NPC frame (23,0), wait (1) show text box (2133), wait (7), wait for key (use key), advance text box show text box (2134), wait (7), wait for key (use key), advance text box, wait (5) show text box (2135), wait (7), wait for key (use key), advance text box wait (5), set NPC direction (23,up) set NPC frame (23,1), wait (1), set NPC frame (23,0), wait (1) set NPC frame (23,1), wait (1), set NPC frame (23,0), wait (1) show text box (2136), wait (7), wait for key (use key), advance text box show text box (2137), wait (7), wait for key (use key), advance text box walk hero (2,right,1) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) show text box (2138), wait (7), wait for key (use key), advance text box set NPC direction (23,left) set NPC frame (23,1), wait (1), set NPC frame (23,0), wait (1) set NPC frame (23,1), wait (1), set NPC frame (23,0), wait (1) show text box (2139), wait (7), wait for key (use key), advance text box set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) show text box (2140), wait (7), wait for key (use key), advance text box set NPC direction (23,down), wait (5), set NPC direction (23,right) set NPC frame (23,1), wait (1), set NPC frame (23,0), wait (1) set NPC frame (23,1), wait (1), set NPC frame (23,0), wait (1) show text box (2141), wait (7), wait for key (use key), advance text box set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) show text box (2142), wait (7), wait for key (use key), advance text box fade screen out, wait (2), teleport to map (17,16,21) play song (song:Asgard), wait (1), suspend caterpillar wait (1), set hero position (1, 16, 21), set hero direction (1,left) set hero position (2, 17, 28), set hero direction (2,left) set hero position (3, 16, 21), set hero position (3,up) wait (2), fade screen in, wait (2), focus camera (16,28,4) wait for camera, wait (2), set hero position (me, 8, 27) set NPC position (23,7,27), set NPC direction (23,right) walk hero (me,right,6), wait for hero (me) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (2143), wait (7), wait for key (use key), advance text box set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) show text box (2144), wait (7), wait for key (use key), advance text box walk hero (me,right,1), wait for hero (me), walk hero (me,down,1), wait for hero (me) set hero direction (me,right), wait (5) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (2145), wait (7), wait for key (use key), advance text box set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) show text box (2146), wait (7), wait for key (use key), advance text box show text box (2147), wait (7), wait for key (use key), advance text box show text box (2148), wait (7), wait for key (use key), advance text box set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (2149), wait (7), wait for key (use key), advance text box set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) show text box (2150), wait (7), wait for key (use key), advance text box show text box (2151), wait (7), wait for key (use key), advance text box set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (2152), wait (7), wait for key (use key), advance text box set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) show text box (2153), wait (7), wait for key (use key), advance text box show text box (2154), wait (7), wait for key (use key), advance text box set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (2155), wait (7), wait for key (use key), advance text box show text box (2156), wait (7), wait for key (use key), advance text box set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) show text box (2157), wait (7), wait for key (use key), advance text box set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (2158), wait (7), wait for key (use key), advance text box set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) show text box (2159), wait (7), wait for key (use key), advance text box set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (2160), wait (7), wait for key (use key), advance text box set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) show text box (2161), wait (7), wait for key (use key), advance text box show text box (2162), wait (7), wait for key (use key), advance text box show text box (2163), wait (7), wait for key (use key), advance text box focus camera (11,28,4), wait (10), wait for camera walk NPC (23,right,4), wait for NPC (23), walk NPC (23,down,5) wait for NPC (23), fade screen out, wait (2) camera follows hero (me), wait (2), tweak palette (-5,-5,0) teleport to map (30,37,30), play song (song:Helheim's Ruin), wait (2) fade screen in, focus camera (37,35,4), wait (10) set NPC frame (23,1), wait (1), set NPC frame (23,0), wait (1) set NPC frame (23,1), wait (1), set NPC frame (23,0), wait (1) show text box (2164), wait (7), wait for key (use key), advance text box set NPC frame (23,1), wait (1), set NPC frame (23,0), wait (1) set NPC frame (23,1), wait (1), set NPC frame (23,0), wait (1) show text box (2165), wait (7), wait for key (use key), advance text box set NPC frame (23,1), wait (1), set NPC frame (23,0), wait (1) set NPC frame (23,1), wait (1), set NPC frame (23,0), wait (1) show text box (2166), wait (7), wait for key (use key), advance text box wait (5), set NPC direction (23,left), wait (5) set NPC frame (23,1), wait (1), set NPC frame (23,0), wait (1) set NPC frame (23,1), wait (1), set NPC frame (23,0), wait (1) show text box (2167), wait (7), wait for key (use key), advance text box walk NPC (23,left,10), wait (20), fade screen out (63,63,63) wait (1), reset palette, wait (1), set NPC position (24,38,35) set NPC direction (7,down), wait (4), tweak palette (-5,-5,0) set NPC position (23,1,2), wait (1), fade screen in wait (10), walk NPC (24,down,1), wait for NPC (24) set NPC direction (24,left), wait (5) set NPC frame (23,1), wait (1), set NPC frame (23,0), wait (1) set NPC frame (23,1), wait (1), set NPC frame (23,0), wait (1) show text box (2168), wait (7), wait for key (use key), advance text box wait (5), set NPC direction (24,down), wait (5) set NPC frame (23,1), wait (1), set NPC frame (23,0), wait (1) set NPC frame (23,1), wait (1), set NPC frame (23,0), wait (1) show text box (2169), wait (7), wait for key (use key), advance text box focus camera (37,30,4), wait for camera, wait (1) camera follows hero (me), wait (2), fade screen out, reset palette teleport to map (17,16,21), play song (song:Asgard), suspend caterpillar focus camera (16,21,4), wait for camera, wait (1) set hero position (0, 15, 28), set hero direction (1,right) set hero position (1, 16, 21), set hero direction (1,left) set hero position (2, 17, 28), set hero direction (2,left) set hero position (3, 16, 21), set hero position (3,up) wait (2), fade screen in, wait (2), focus camera (16,28,4) wait for camera, wait (2), set NPC direction (23,right) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (2170), wait (7), wait for key (use key), advance text box set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) show text box (2171), wait (7), wait for key (use key), advance text box show text box (2172), wait (7), wait for key (use key), advance text box show text box (2173), wait (7), wait for key (use key), advance text box set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (2174), wait (7), wait for key (use key), advance text box show text box (2175), wait (7), wait for key (use key), advance text box set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) show text box (2176), wait (7), wait for key (use key), advance text box set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (2177), wait (7), wait for key (use key), advance text box show text box (2178), wait (7), wait for key (use key), advance text box set hero position (3, 8, 27), wait (2), walk hero (3,right,7) show text box (2179), wait (7), wait for key (use key), wait for hero (3), advance text box wait (10), stop song set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) show text box (2180), wait (7), wait for key (use key), advance text box set hero direction (me,down), set hero direction (3,down), wait (5) walk hero (3,right,1), wait for hero (3), set hero direction (3,down), wait (5) set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) show text box (2181), wait (7), wait for key (use key), advance text box wait (3), set hero direction (2,down), wait (3) play song (song:In Soft Reflection), resume NPCs wait (1), set NPC position (26,17,28), put hero (2,0,1) wait (5), set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (2182), wait (7), wait for key (use key), advance text box set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) show text box (2183), wait (7), wait for key (use key), advance text box show text box (2184), wait (7), wait for key (use key), advance text box show text box (2185), wait (7), wait for key (use key), advance text box wait (5), set hero direction (me,right), wait (5) show text box (2186), wait (7), wait for key (use key), advance text box set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (2187), wait (7), wait for key (use key), advance text box set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) show text box (2188), wait (7), wait for key (use key), advance text box walk hero (3,left,3), set hero direction (me,up), wait for hero (3) wait (3), set hero direction (3,down), wait (3), set hero direction (3,right) set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) show text box (2189), wait (7), wait for key (use key), advance text box show text box (2190), wait (7), wait for key (use key), advance text box tweak palette (0,0,10), update palette play sound (sfx:Heal8Bit,false,true) teach spell ((find hero(hero:Frumpy)),atk:Ease) teach spell ((find hero(hero:Frumpy)),atk:Care3) teach spell ((find hero(hero:Eric)),atk:Idun Poem) wait (3), reset palette, update palette show text box (2191), wait (7), wait for key (use key), advance text box show text box (2192), wait (7), wait for key (use key), advance text box show text box (2193), wait (7), wait for key (use key), advance text box fade screen out, camera follows hero (me), resume caterpillar resume NPCs, set hero direction (me,down), resume random enemies resume obstruction, resume box advance, resume player resume caterpillar, set caterpillar mode (off), use door (5) wait (1), set tag (tag:Thule3,on), wait (2), encounters end script,Eikthymir,begin remember party, suspend player, swap by position (0,find hero (hero:Hilda)), suspend box advance set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (2200), wait (7), wait for key (usekey), advance text box show text box (2201), wait (7), wait for key (usekey), advance text box show text box (2202), wait (7), wait for key (usekey), advance text box show text box (2203), wait (7), wait for key (usekey), advance text box show text box (2204), wait (7), wait for key (usekey), advance text box show text box (2205), wait (7), wait for key (usekey), advance text box set tag (tag:BuckText,on), resume box advance, resume player,reinstate party end script,lifemist,begin remember party, suspend player, swap by position (0,find hero (hero:Hilda)) suspend box advance, tweak palette (0,0,10), update palette play sound (sfx:Heal8Bit,false,true), wait (3), reset palette, fade screen in set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (2210), wait (7), wait for key (usekey), advance text box show text box (2211), wait (7), wait for key (usekey), advance text box show text box (2212), wait (7), wait for key (usekey), advance text box set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (2213), wait (7), wait for key (usekey), advance text box show text box (2214), wait (7), wait for key (usekey), advance text box tweak palette (0,0,10), update palette, play sound (sfx:Heal8Bit,false,true) wait (3), reset palette, fade screen in show text box (2215), wait (7), wait for key (usekey), advance text box teach spell ((find hero(hero:Hilda)),atk:Life Mist), set tag (tag:Thule5,on) resume box advance, resume player,reinstate party end script,Cthulhu3,begin remember party, suspend player, suspend box advance stop song, fade screen out, wait (1) show text box (2087), wait (2), fade screen in, wait (7) wait for key (use key), fade screen out, wait (1), advance text box wait (2), teleport to map (16,8,66), stop song, wait (1) fade screen in, play song (song:Vile), focus camera (8,71,4), wait for camera show text box (2226), wait (7), wait for key (usekey), advance text box, set NPC direction (9,up) show text box (2227), wait (7), wait for key (usekey), advance text box tweak palette (-10,-10,-10), fade screen in, wait (5) set NPC position (39,8,72), play sound (sfx:StormMagic,false,true) wait (5), reset palette, fade screen in, wait (5) show text box (2228), wait (7), wait for key (use key), advance text box show text box (2229), wait (7), wait for key (usekey), advance text box wait (3), walk NPC (11,down,2), wait for NPC (11), wait (3) show text box (2230), wait (7), wait for key (usekey), advance text box tweak palette (-10,-10,-10), fade screen in, wait (5) play sound (sfx:TornadoMagic,false,true), Alter NPC (39,NPCstat:picture,157) Alter NPC (39,NPCstat:palette,3), wait (5), reset palette, fade screen in, wait (5) show text box (2231), wait (7), wait for key (usekey), advance text box show text box (2232), wait (7), wait for key (usekey), advance text box show text box (2233), wait (7), wait for key (usekey), advance text box show text box (2234), wait (7), wait for key (usekey), advance text box wait (3), set NPC direction (11,right), wait (10) walk NPC (11,right,1), wait (5), set NPC direction (11,down), wait (1) show text box (2235), wait (7), wait for key (usekey), advance text box show text box (2236), wait (7), wait for key (usekey), advance text box show text box (2237), wait (7), wait for key (usekey), advance text box walk NPC (11,left,1), wait for NPC (11), set NPC direction (11,down) show text box (2238), wait (7), wait for key (usekey), advance text box show text box (2239), wait (7), wait for key (usekey), advance text box show text box (2240), wait (7), wait for key (usekey), advance text box fade screen out, wait (1), advance text box, wait (2) stop song, fade screen out, wait (5) camera follows hero (me), set hero direction (me,up) wait (3), teleport to map (8,30,55), wait (1) fade screen in, wait (1), resume player, resume box advance, encounters end # This script has been dummied out. Long ago it used to explain that # This game was a demo, but that's no longer the case in the full release! script,thisisademo,begin stop song end script,Delvire3,begin remember party, suspend player, swap by position (0,find hero (hero:Bram)) suspend box advance, suspend NPCs, suspend obstruction wait (2), stop song, greyscale palette, update palette play sound (sfx:Ice Crash,false,true), wait (2), focus camera (31,22,4) wait (4), walk NPC (0,right,2) , wait for NPC (0) wait for camera, set NPC direction (0,down), wait (5), play sound (sfx:Delvire,false,true) show text box (2248), wait (7), wait for key (usekey), advance text box wait (20), walk NPC (0,down,1) show text box (2249), wait (7), wait for key (usekey), advance text box show text box (2250), wait (7), wait for key (usekey), advance text box wait (5), set NPC direction (0,left), wait (5) show text box (2251), wait (7), wait for key (usekey), advance text box wait (5), set NPC direction (0,down), wait (5) show text box (2252), wait (7), wait for key (usekey), advance text box, wait (10) show text box (2253), wait (7), wait for key (usekey), advance text box show text box (2254), wait (7), wait for key (usekey), advance text box show text box (2255), wait (7), wait for key (usekey), advance text box set NPC direction (0,left), wait (3), walk NPC (0,up,1), wait (15) show text box (2256), wait (7), wait for key (usekey), advance text box, walk NPC (0,left,10) show text box (2257), wait (7), wait for key (usekey), advance text box wait for NPC (0), wait (5), walk NPC (0,right,10), wait for NPC (0) walk NPC (0,down,2), wait for NPC (0), wait (2) play sound (sfx:Soft_Airy_Swish,false,true) , wait (2) walk NPC (0,up,2), wait for NPC (0), walk NPC (0,left,10) wait for NPC (0), pan camera (down,3,4), wait for camera camera follows hero (me), set tag (tag:Delvireironwood,on), reset palette fade screen in, resume player, play song (get ambient music) resume box advance, resume NPCs, resume obstruction, wait (2),reinstate party end script,DelvireBoat,begin remember party, suspend player, swap by position (0,find hero (hero:Bram)) suspend box advance, suspend NPCs, suspend obstruction, wait (2) show text box (2265), wait (7), wait for key (usekey), advance text box set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (2266), wait (7), wait for key (usekey), advance text box set NPC frame (2,1), wait (1), set NPC frame (2,0), wait (1) set NPC frame (2,1), wait (1), set NPC frame (2,0), wait (1) show text box (2267), wait (7), wait for key (usekey), advance text box set hero direction (me,down), pan camera (down,3), wait for camera wait (15), pan camera (up,3) wait for camera, camera follows hero (me), wait (15) show text box (2268), wait (7), wait for key (usekey), advance text box set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (2269), wait (7), wait for key (usekey), advance text box set NPC frame (2,1), wait (1), set NPC frame (2,0), wait (1) set NPC frame (2,1), wait (1), set NPC frame (2,0), wait (1) show text box (2270), wait (7), wait for key (usekey), advance text box show text box (2271), wait (7), wait for key (usekey), advance text box wait (2), stop song, greyscale palette, update palette play sound (sfx:Ice Crash,false,true), wait (2) walk hero (me,down,1), set hero direction (me,up), walk NPC (2,down,1) wait for NPC (2), set NPC position (2,27,22), set NPC direction (2,right) play sound (sfx:KirbyStyleLaser,false,true), wait (4) set NPC position (2,27,24), set NPC direction (2,down) play sound (sfx:KirbyStyleLaser,false,true), wait (4) set NPC direction (2,right), set NPC position (2,29,24) play sound (sfx:KirbyStyleLaser,false,true), wait (4) set NPC position (2,31,24), play sound (sfx:KirbyStyleLaser,false,true) wait (4), set hero direction (me,right) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (2272), wait (7), wait for key (usekey), advance text box reset palette, tweak palette (0,10,0), update palette play sound (sfx:Heal8Bit,false,true), wait (3), reset palette, fade screen in show text box (2275), wait (7), wait for key (usekey), advance text box teach spell ((find hero(hero:Bram)),atk:Hasten), set NPC frame (2,1) wait (1), set NPC frame (2,0), wait (1) set NPC frame (2,1), wait (1), set NPC frame (2,0), wait (1) show text box (2273), wait (7), wait for key (usekey), advance text box set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (2274), wait (7), wait for key (usekey), advance text box set NPC direction (2,up), wait (4), set NPC direction (2,left), set NPC frame (2,1), wait (1), set NPC frame (2,0) wait (1), set NPC frame (2,1), wait (1), set NPC frame (2,0), wait (1) show text box (2276), wait (7), wait for key (usekey), advance text box show text box (2277), wait (7), wait for key (usekey), advance text box set NPC direction (2,down), wait (5), walk NPC (2, right,4) wait for NPC (2), set tag (tag:Delvireboatscene,on), reset palette fade screen in, resume player, play song (get ambient music) resume box advance, resume NPCs, resume obstruction, wait (2),reinstate party end script,Gisli,begin remember party, suspend player, swap by position (0,find hero (hero:Olaf)) suspend box advance, suspend NPCs, suspend obstruction, wait (2) show text box (2281), wait (7), wait for key (usekey), advance text box fade screen out, wait (5), focus camera (8,29,20), wait for camera, fade screen in set NPC frame (0,1), wait (1), set NPC frame (0,0), wait (1) set NPC frame (0,1), wait (1), set NPC frame (0,0), wait (1) show text box (2284), wait (7), wait for key (usekey), advance text box set NPC direction (8,right), wait (4), set NPC direction (8,down) set NPC frame (8,1), wait (1), set NPC frame (8,0), wait (1) set NPC frame (8,1), wait (1), set NPC frame (8,0), wait (1) show text box (2285), wait (7), wait for key (usekey), advance text box set NPC frame (7,1), wait (1), set NPC frame (7,0), wait (1) set NPC frame (7,1), wait (1), set NPC frame (7,0), wait (1) show text box (2286), wait (7), wait for key (usekey), advance text box set NPC direction (9,down), wait (4), walk NPC (9,left,1) set NPC frame (9,1), wait (1), set NPC frame (9,0), wait (1) set NPC frame (9,1), wait (1), set NPC frame (9,0), wait (1) show text box (2287), wait (7), wait for key (usekey), advance text box set NPC direction (0,down) set NPC frame (0,1), wait (1), set NPC frame (0,0), wait (1) set NPC frame (0,1), wait (1), set NPC frame (0,0), wait (1) show text box (2288), wait (7), wait for key (usekey), advance text box set NPC direction (0,right) set NPC frame (0,1), wait (1), set NPC frame (0,0), wait (1) set NPC frame (0,1), wait (1), set NPC frame (0,0), wait (1) show text box (2289), wait (7), wait for key (usekey), advance text box set NPC frame (7,1), wait (1), set NPC frame (7,0), wait (1) set NPC frame (7,1), wait (1), set NPC frame (7,0), wait (1) show text box (2290), wait (7), wait for key (usekey), advance text box walk NPC (8,down,1), wait for NPC (8), set NPC direction (8,right) set NPC frame (8,1), wait (1), set NPC frame (8,0), wait (1) set NPC frame (8,1), wait (1), set NPC frame (8,0), wait (1) show text box (2291), wait (7), wait for key (usekey), advance text box set NPC direction (7,down), set NPC direction (0,down), wait (4) set NPC direction (0,left), set NPC direction (7,right) show text box (2292), wait (7), wait for key (usekey), advance text box set NPC direction (0,right), set NPC frame (0,1), wait (1), set NPC frame (0,0), wait (1) set NPC frame (0,1), wait (1), set NPC frame (0,0), wait (1) show text box (2293), wait (7), wait for key (usekey), advance text box set NPC direction (7,down), wait (4) set NPC direction (7,left), set NPC frame (7,1), wait (1), set NPC frame (7,0), wait (1) set NPC frame (7,1), wait (1), set NPC frame (7,0), wait (1) show text box (2294), wait (7), wait for key (usekey), advance text box, set NPC direction (10,right) show text box (2295), wait (7), wait for key (usekey), advance text box, set NPC frame (7,0), wait (1) set NPC frame (7,1), wait (1), set NPC frame (7,0), wait (1) show text box (2296), wait (7), wait for key (usekey), advance text box set NPC frame (9,1), wait (1), set NPC frame (9,0), wait (1) set NPC frame (9,1), wait (1), set NPC frame (9,0), wait (1) show text box (2297), wait (7), wait for key (usekey), advance text box, set NPC frame (7,0), wait (1) set NPC frame (7,1), wait (1), set NPC frame (7,0), wait (1) show text box (2298), wait (7), wait for key (usekey), advance text box set NPC frame (8,1), wait (1), set NPC frame (8,0), wait (1) set NPC frame (8,1), wait (1), set NPC frame (8,0), wait (1) show text box (2299), wait (7), wait for key (usekey), advance text box set NPC frame (7,0), wait (1), set NPC frame (7,1), wait (1), set NPC frame (7,0), wait (1) show text box (2300), wait (7), wait for key (usekey), advance text box set NPC direction (0,down), wait (4), set NPC direction (0,right) set NPC frame (0,1), wait (1), set NPC frame (0,0), wait (1) set NPC frame (0,1), wait (1), set NPC frame (0,0), wait (1) show text box (2302), wait (7), wait for key (usekey), advance text box tweak palette (10,0,0), update palette, play sound (sfx:Crush8Bit,false,true) wait (3), reset palette, fade screen in show text box (2301), wait (7), wait for key (usekey), advance text box teach spell ((find hero(hero:Olaf)),atk:Charge), fade screen out wait (5), camera follows hero (me), use door (7) set tag (tag:Gisli,on), reset palette, fade screen in resume player, play song (get ambient music), resume box advance, resume NPCs resume obstruction, wait (2),reinstate party end script,hatistory1,begin suspend player, suspend box advance, suspend NPCs, suspend obstruction, wait (2) set NPC frame (1,1), wait (1), set NPC frame (1,0), wait (1) set NPC frame (1,1), wait (1), set NPC frame (1,0), wait (1) show text box (2304), wait (7), wait for key (usekey), advance text box wait (3), set NPC direction (1,left), wait (3), set NPC direction (1,up), wait (3) show text box (2305), wait (7), wait for key (usekey), advance text box show text box (2306), wait (7), wait for key (usekey), advance text box wait (3), set NPC direction (1,left), wait (3), set NPC direction (1,down), wait (3) show text box (2307), wait (7), wait for key (usekey), advance text box walk NPC (1,down,6), wait (10) show text box (2333), wait (7), wait for key (usekey), advance text box show text box (2334), wait (7), wait for key (usekey), advance text box wait (2), wait for NPC (1), set NPC position (1,9,27) set NPC direction (1,right), resume player resume box advance, resume NPCs, resume obstruction end script,hatistory2,begin suspend player, suspend box advance, suspend NPCs, suspend obstruction, wait (2) set NPC frame (1,1), wait (1), set NPC frame (1,0), wait (1) set NPC frame (1,1), wait (1), set NPC frame (1,0), wait (1) show text box (2308), wait (7), wait for key (usekey), advance text box, wait (10) show text box (2309), wait (7), wait for key (usekey), advance text box walk NPC (1,right,1), wait for NPC (1), wait (5) show text box (2310), wait (7), wait for key (usekey), advance text box show text box (2311), wait (7), wait for key (usekey), advance text box walk NPC (1,right,8), wait (10), set hero direction (me,right), wait (5) show text box (2335), wait (7), wait for key (usekey), advance text box wait for NPC (1), set NPC position (1,35,15) set NPC direction (1,right), resume player resume box advance, resume NPCs, resume obstruction end script,hatistory3,begin suspend player, suspend box advance, suspend NPCs set hero direction (me,right), suspend obstruction, wait (2) set NPC frame (1,1), wait (1), set NPC frame (1,0), wait (1) set NPC frame (1,1), wait (1), set NPC frame (1,0), wait (1) show text box (2336), wait (7), wait for key (usekey), advance text box show text box (2312), wait (7), wait for key (usekey), advance text box show text box (2313), wait (7), wait for key (usekey), advance text box show text box (2314), wait (7), wait for key (usekey), advance text box set NPC direction (1,down) show text box (2315), wait (7), wait for key (usekey), advance text box walk NPC (1,right,8), wait (4) show text box (2331), wait (7), wait for key (usekey), advance text box wait for NPC (1), set NPC position (1,50,29), set NPC direction (1,down) resume player, resume box advance, resume NPCs, resume obstruction end script,hatistory4,begin suspend player, suspend box advance, suspend NPCs walk hero to X (me,49) , wait for hero (me) walk hero to y (me,28), wait for hero (me) walk hero (me,down,1), wait for hero (me), suspend obstruction, wait (2) set NPC frame (1,1), wait (1), set NPC frame (1,0), wait (1) set NPC frame (1,1), wait (1), set NPC frame (1,0), wait (1) show text box (2316), wait (7), wait for key (usekey), advance text box show text box (2317), wait (7), wait for key (usekey), advance text box show text box (2318), wait (7), wait for key (usekey), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (2337), wait (7), wait for key (usekey), advance text box set NPC direction (1,left) set NPC frame (1,1), wait (1), set NPC frame (1,0), wait (1) set NPC frame (1,1), wait (1), set NPC frame (1,0), wait (1) show text box (2338), wait (7), wait for key (usekey), advance text box set NPC direction (1,down) set NPC frame (1,1), wait (1), set NPC frame (1,0), wait (1) set NPC frame (1,1), wait (1), set NPC frame (1,0), wait (1) show text box (2327), wait (7), wait for key (usekey), advance text box show text box (2328), wait (7), wait for key (usekey), advance text box show text box (2329), wait (7), wait for key (usekey), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (2330), wait (7), wait for key (usekey), advance text box walk NPC (1,down,8), wait (10) show text box (2331), wait (7), wait for key (usekey), advance text box wait for NPC (1), resume player, set NPC position (1,44,45) set NPC direction (1,down), resume box advance resume NPCs, resume obstruction end script,hatistory5,begin suspend player, suspend box advance, suspend NPCs, walk hero (me,down,1), wait for hero (me) walk hero to x (me,45), wait for hero (me), walk hero to y (me,45) set NPC frame (1,1), wait (1), set NPC frame (1,0), wait (1) set NPC frame (1,1), wait (1), set NPC frame (1,0), wait (1) show text box (2319), wait (7), wait for key (usekey), advance text box show text box (2320), wait (7), wait for key (usekey), advance text box focus camera (50,50,2) show text box (2321), wait (7), wait for key (usekey), advance text box wait for camera show text box (2322), wait (7), wait for key (usekey), advance text box show text box (2323), wait (7), wait for key (usekey), advance text box focus camera (45,45,2), wait for camera, set hero direction (me,left) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (2324), wait (7), wait for key (usekey), advance text box set NPC direction (1,right) set NPC frame (1,1), wait (1), set NPC frame (1,0), wait (1) set NPC frame (1,1), wait (1), set NPC frame (1,0), wait (1) show text box (2325), wait (7), wait for key (usekey), advance text box set npc direction (1,down) show text box (2326), wait (7), wait for key (usekey), advance text box walk NPC (1,left,8), wait (5) show text box (2349), wait (7), wait for key (usekey), advance text box wait for NPC (1), set NPC position (1,12,41), set NPC direction (1,down), camera follows hero (me) resume player, resume box advance, resume NPCs, resume obstruction end script,hatistory6,begin suspend player, suspend box advance, suspend NPCs walk hero to y (me,43), wait for hero (me) walk hero to x (me,12), wait for hero (me) set hero direction (me,up), set NPC direction (1,down) set NPC frame (1,1), wait (1), set NPC frame (1,0), wait (1) set NPC frame (1,1), wait (1), set NPC frame (1,0), wait (1) show text box (2350), wait (7), wait for key (usekey), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (2339), wait (7), wait for key (usekey), advance text box set NPC frame (1,1), wait (1), set NPC frame (1,0), wait (1) set NPC frame (1,1), wait (1), set NPC frame (1,0), wait (1) show text box (2340), wait (7), wait for key (usekey), advance text box show text box (2341), wait (7), wait for key (usekey), advance text box walk hero (me,up,1), wait for hero (me) show text box (2342), wait (7), wait for key (usekey), advance text box wait (5), set NPC direction (1,right), wait (5) show text box (2343), wait (7), wait for key (usekey), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (2344), wait (7), wait for key (usekey), advance text box walk hero (me,down,1), set hero direction (me,up), walk NPC (1,down,1) set NPC frame (1,1), wait (1), set NPC frame (1,0), wait (1) set NPC frame (1,1), wait (1), set NPC frame (1,0), wait (1) show text box (2345), wait (7), wait for key (usekey), advance text box show text box (2346), wait (7), wait for key (usekey), advance text box wait (5), set NPC frame (1,1), wait (1), set NPC frame (1,0), wait (1) set NPC frame (1,1), wait (1), set NPC frame (1,0), wait (1) show text box (2347), wait (7), wait for key (usekey), advance text box wait (1), tweak palette (10,0,0), update palette play sound (sfx:StormMagic,false,true) teach spell ((find hero(hero:Night)),atk:Hater) wait (10), reset palette, fade screen in show text box (2348), wait (7), wait for key (use key), advance text box wait (5), fade screen out (63,63,63), wait (4) use door (2), play song (song:Vile), resume player resume box advance, resume NPCs, resume obstruction end script,arenamu,begin suspend player, suspend box advance fade screen out, wait (2), stop song, set hero position (me,37,10) # Dr Mu, the villain of Walthros, finally comes to challenge the party. set hero direction (me,left), set NPC position (35,31,10), set NPC direction (35,right) wait (3), fade screen in, wait (2), play song (song:Vile) wait (10), focus camera (34,10,2), wait for camera show text box (3336), wait (7), wait for key (usekey), advance text box show text box (3337), wait (7), wait for key (usekey), advance text box show text box (3338), wait (7), wait for key (usekey), advance text box show text box (3339), wait (7), wait for key (usekey), advance text box show text box (3340), wait (7), wait for key (usekey), advance text box show text box (3341), wait (7), wait for key (usekey), advance text box show text box (3342), wait (7), wait for key (usekey), advance text box show text box (3343), wait (7), wait for key (usekey), advance text box bossintroduction fight formation (287) show text box (3344), wait (7), wait for key (usekey), advance text box show text box (3345), wait (7), wait for key (usekey), advance text box show text box (3346), wait (7), wait for key (usekey) play sound (sfx:earthquake,false,true) pancamera(up,1,20),waitforcamera, pancamera(down,2,20),waitforcamera pancamera(up,2,20),waitforcamera, pancamera(down,1,20),waitforcamera pancamera(left,1,20),waitforcamera, pancamera(right,2,20),waitforcamera pancamera(left,2,20),waitforcamera, pancamera(right,1,20),waitforcamera pan camera (up,1,20), pan camera (right,1,20), wait for camera, pan camera (down,2,20), pan camera (left,2,20), wait for camera pan camera (up,2,20), pan camera (right,2,20), wait for camera pan camera (down,1,20), pan camera (left,1,20), wait for camera fade screen out (63,63,63), wait (1),set tag (tag:DR MU,on), advance text box wait (1), camera follows hero (me), use door (9) advance text box , resume box advance, resume player, fade screen in end script,hatifight1,begin remember party, suspend player, suspend box advance suspend NPCs, fade screen out, stop song, focus camera (27,13,20) set hero position (me,2,2), wait for camera , wait (2), update void parallax walk hero (me,up,1), set tag (tag:wargsfight,on), wait (2), fade screen in, wait (5) set NPC frame (15,1), wait (1), set NPC frame (15,0), wait (1) set NPC frame (15,1), wait (1), set NPC frame (15,0), wait (1) show text box (2363), wait (7), wait for key (usekey), advance text box set NPC frame (10,1), wait (1), set NPC frame (10,0), wait (1) set NPC frame (10,1), wait (1), set NPC frame (10,0), wait (1) show text box (2364), wait (7), wait for key (usekey), advance text box set NPC frame (15,1), wait (1), set NPC frame (15,0), wait (1) set NPC frame (15,1), wait (1), set NPC frame (15,0), wait (1) show text box (2365), wait (7), wait for key (usekey), advance text box set NPC frame (14,1), wait (1), set NPC frame (14,0), wait (1) set NPC frame (14,1), wait (1), set NPC frame (14,0), wait (1) show text box (2366), wait (7), wait for key (usekey), advance text box set NPC frame (15,1), wait (1), set NPC frame (15,0), wait (1) set NPC frame (15,1), wait (1), set NPC frame (15,0), wait (1) show text box (2367), wait (7), wait for key (usekey), advance text box show text box (2368), wait (7), wait for key (usekey), advance text box show text box (2369), wait (7), wait for key (usekey), advance text box set NPC frame (16,1), wait (1), set NPC frame (16,0), wait (1) set NPC frame (16,1), wait (1), set NPC frame (16,0), wait (1) show text box (2370), wait (7), wait for key (usekey), advance text box set NPC frame (13,1), wait (1), set NPC frame (13,0), wait (1) set NPC frame (13,1), wait (1), set NPC frame (13,0), wait (1) show text box (2371), wait (7), wait for key (usekey), advance text box set NPC frame (16,1), wait (1), set NPC frame (16,0), wait (1) set NPC frame (16,1), wait (1), set NPC frame (16,0), wait (1) show text box (2372), wait (7), wait for key (usekey), advance text box resume box advance end script,hatifight2,begin remember party, suspend player, suspend box advance, suspend NPCs set NPC frame (16,1), wait (1), set NPC frame (16,0), wait (1) set NPC frame (16,1), wait (1), set NPC frame (16,0), wait (1) show text box (2380), wait (7), wait for key (usekey), advance text box, walk NPC (10,right,1) show text box (2381), wait (7), wait for key (usekey), advance text box, walk NPC (15,left,1) show text box (2382), wait (7), wait for key (usekey), advance text box wait (10), set NPC direction (15,down), wait (3), set NPC direction (15,right), wait (10) set NPC frame (15,1), wait (1), set NPC frame (15,0), wait (1) set NPC frame (15,1), wait (1), set NPC frame (15,0), wait (1) show text box (2383), wait (7), wait for key (usekey), advance text box set NPC direction (15,down), wait (2), set NPC direction (15,left) set NPC frame (15,1), wait (1), set NPC frame (15,0), wait (1) set NPC frame (15,1), wait (1), set NPC frame (15,0), wait (1) show text box (2384), wait (7), wait for key (usekey), advance text box walk NPC (11,right,1) show text box (2385), wait (7), wait for key (usekey), advance text box set NPC frame (15,1), wait (1), set NPC frame (15,0), wait (1) set NPC frame (15,1), wait (1), set NPC frame (15,0), wait (1) show text box (2386), wait (7), wait for key (usekey), advance text box walk NPC (16,left,1) show text box (2387), wait (7), wait for key (usekey), advance text box bossintroduction, fight formation (6) show text box (2388), wait (7), wait for key (usekey), advance text box hatifinal, encounters end script,god,begin suspend player, suspend box advance, suspend NPCs show text box (2390), wait (7), wait for key (usekey), advance text box show text box (2391), wait (7), wait for key (usekey), advance text box show text box (2392), wait (7), wait for key (usekey), advance text box show text box (2393), wait (7), wait for key (usekey), advance text box show text box (2394), wait (7), wait for key (usekey), advance text box show text box (2395), wait (7), wait for key (usekey), advance text box show text box (2396), wait (7), wait for key (usekey), advance text box wait (2), tweak palette (0,0,10), update palette, play sound (sfx:Beam Attack,false,true) teach spell ((find hero(hero:Frumpy)),atk:Believe), wait (3), reset palette, update palette show text box (2397), wait (7), wait for key (usekey), advance text box show text box (2398), wait (7), wait for key (usekey), advance text box resume player, resume box advance, resume NPCs end script,Rachel2,begin remember party, suspend player, suspend box advance suspend NPCs, swap by position (0,find hero (hero:Frumpy)) show text box (2403), wait (7), wait for key (usekey), advance text box show text box (2404), wait (7), wait for key (usekey), advance text box show text box (2405), wait (7), wait for key (usekey), advance text box show text box (2406), wait (7), wait for key (usekey), advance text box show text box (2407), wait (7), wait for key (usekey), advance text box show text box (2408), wait (7), wait for key (usekey), advance text box wait (2), tweak palette (0,0,10), update palette play sound (sfx:Heal8Bit,false,true) teach spell ((find hero(hero:Frumpy)),atk:Care4) wait (3), reset palette, update palette show text box (2409), wait (7), wait for key (usekey), advance text box show text box (2410), wait (7), wait for key (usekey), advance text box resume player, resume box advance, resume NPCs,reinstate party end script,skadi3,begin remember party, suspend player, suspend box advance suspend NPCs, swap by position (0,find hero (hero:Frumpy)) show text box (2418), wait (7), wait for key (usekey), advance text box show text box (2419), wait (7), wait for key (usekey), advance text box show text box (2420), wait (7), wait for key (usekey), advance text box show text box (2421), wait (7), wait for key (usekey), advance text box wait (2), tweak palette (0,0,10), update palette play sound (sfx:Heal8Bit,false,true) teach spell ((find hero(hero:Frumpy)),atk:Nurse3) wait (3), reset palette, update palette show text box (2422), wait (7), wait for key (usekey), advance text box show text box (2423), wait (7), wait for key (usekey), advance text box show text box (2424), wait (7), wait for key (usekey), advance text box resume player, resume box advance, resume NPCs,reinstate party end script,narvi2,begin remember party, suspend player, suspend box advance, suspend NPCs swap by position (0,find hero (hero:Frumpy)) show text box (2427), wait (7), wait for key (usekey), advance text box show text box (2428), wait (7), wait for key (usekey), advance text box show text box (2429), wait (7), wait for key (usekey), advance text box show text box (2430), wait (7), wait for key (usekey), advance text box show text box (2431), wait (7), wait for key (usekey), advance text box show text box (2432), wait (7), wait for key (usekey), advance text box show text box (2433), wait (7), wait for key (usekey), advance text box show text box (2434), wait (7), wait for key (usekey), advance text box show text box (2435), wait (7), wait for key (usekey), advance text box show text box (2436), wait (7), wait for key (usekey), advance text box show text box (2437), wait (7), wait for key (usekey), advance text box show text box (2438), wait (7), wait for key (usekey), advance text box wait (2), tweak palette (0,0,10), update palette, play sound (sfx:Heal8Bit,false,true) teach spell ((find hero(hero:Frumpy)),atk:Raise), wait (3), reset palette, update palette show text box (2439), wait (7), wait for key (usekey), advance text box show text box (2440), wait (7), wait for key (usekey), advance text box show text box (2441), wait (7), wait for key (usekey), advance text box resume player, resume box advance, resume NPCs,reinstate party end script,cow,begin remember party, suspend player, suspend box advance, suspend NPCs swap by position (0,find hero (hero:Hilda)), swap by position (1,find hero (hero:Olaf)) show text box (2443), wait (7), wait for key (usekey), advance text box walk hero to x (me,54), wait for hero (me) walk hero to y (me,51), wait for hero (me) set caterpillar mode (on), set hero position (1, 54, 51) set hero position (2, 54, 51), set hero position (3, 54, 51) wait (1), suspend caterpillar , wait (1) walk hero (me,left,1), walk hero (1,up,1) walk hero (2,down,1), wait for hero (me) set hero direction (me,left), set hero direction (1,left) set hero direction (2,left), set hero direction (3,left) show text box (2444), wait (7), wait for key (usekey), advance text box show text box (2445), wait (7), wait for key (usekey), advance text box show text box (2446), wait (7), wait for key (usekey), advance text box show text box (2447), wait (7), wait for key (usekey), advance text box show text box (2448), wait (7), wait for key (usekey), advance text box BossIntroduction, fight formation (288), swap by position (0,find hero (hero:Hilda)) swap by position (1,find hero (hero:Olaf)), set tag (tag:cowfight,on) show text box (2449), wait (7), wait for key (usekey), advance text box, set hero direction (me,right) show text box (2450), wait (7), wait for key (usekey), advance text box show text box (2451), wait (7), wait for key (usekey), advance text box walk hero (me,left), set hero direction (me,right), walk hero (1,left,1), wait for hero (1) show text box (2452), wait (7), wait for key (usekey), advance text box show text box (2453),wait (7), wait for key (usekey), advance text box show text box (2454), wait (7), wait for key (usekey), advance text box, wait (10) show text box (2455), wait (7), wait for key (usekey), advance text box, wait(20) show text box (2456), wait (7), wait for key (usekey), advance text box show text box (2457), wait (7), wait for key (usekey), advance text box walk hero (2,left,1), wait for hero (2) walk hero (me,right,1), walk hero (1,down,1), walk hero (2,up,1), walk hero (3,left,1) wait for hero (me), camera follows hero (me), wait (1), tweak palette (10,0,0), update palette play sound (sfx:StormMagic,false,true), wait (5), reset palette, update palette show text box (2458), wait (7), wait for key (use key), advance text box wait (5), resume NPCs, resume player, resume box advance resume caterpillar, set caterpillar mode (off),reinstate party, encounters end script,hissu,begin suspend player, suspend box advance, suspend NPCs, fade screen out, remember party wait (5), put hero (me,0,0), focus camera (12,10,0) set NPC position (10,11,11), set NPC direction (10,right) set NPC position (11,10,9), set NPC direction (11,right) set NPC position (12,12,9), set NPC direction (12,down) set NPC position (13,8,9), set NPC direction (13,up) set NPC position (14,13,10), set NPC direction (14,left) set NPC position (15,14,7), set NPC direction (15,down), wait (5), fade screen in show text box (2459), wait (7), wait for key (use key), advance text box show text box (2460), wait (7), wait for key (use key), advance text box show text box (2461), wait (7), wait for key (use key), advance text box play sound (sfx:earthquake,false,true) , pancamera(up,1,20),waitforcamera pancamera(down,2,20),waitforcamera, pancamera(up,2,20),waitforcamera pancamera(down,1,20),waitforcamera , pancamera(left,1,20),waitforcamera pancamera(right,2,20),waitforcamera, pancamera(left,2,20),waitforcamera pancamera(right,1,20),waitforcamera , pan camera (up,1,20), pan camera (right,1,20) wait for camera, pan camera (down,2,20), pan camera (left,2,20), wait for camera pan camera (up,2,20), pan camera (right,2,20), wait for camera pan camera (down,1,20), pan camera (left,1,20), wait for camera, wait (5) set NPC direction (10,down), set NPC direction (11,down), set NPC direction (12,down) set NPC direction (13,down), set NPC direction (14,down), wait (5) show text box (2462), wait (7), wait for key (use key), advance text box play sound (sfx:earthquake,false,true) , pancamera(up,1,20),waitforcamera pancamera(down,2,20),waitforcamera, pancamera(up,2,20),waitforcamera pancamera(down,1,20),waitforcamera , pancamera(left,1,20),waitforcamera pancamera(right,2,20),waitforcamera, pancamera(left,2,20),waitforcamera pancamera(right,1,20),waitforcamera , pan camera (up,1,20), pan camera (right,1,20) wait for camera, pan camera (down,2,20), pan camera (left,2,20), wait for camera pan camera (up,2,20), pan camera (right,2,20), wait for camera pan camera (down,1,20), pan camera (left,1,20), wait for camera wait (5), fade screen out (63,63,63), wait (2) show text box (2463), set tag (tag:Annoy Midgardsorm,on), wait (2) fade screen in, wait (30), fade screen out (63,63,63) set NPC direction (10,right), set NPC direction (11,right) set NPC direction (12,right), set NPC direction (13,right) set NPC direction (14,right), wait (2), advance text box, wait (2), fade screen in show text box (2464), walk NPC (14,left,2), set NPC direction (14,right), wait (7) wait for key (use key), advance text box, walk NPC (10,right,1), wait for NPC (10) show text box (2465), wait (7), wait for key (use key), advance text box show text box (401), wait (7), wait for key (use key), advance text box, wait (3) show text box (402), wait (7), wait for key (use key), advance text box show text box (403), wait (7), wait for key (use key), advance text box, walk NPC (13,right,1) show text box (404), wait (7), wait for key (use key), advance text box play sound (sfx:earthquake,false,true) , pancamera(up,1,20),waitforcamera pancamera(down,2,20),waitforcamera, pancamera(up,2,20),waitforcamera pancamera(down,1,20),waitforcamera , pancamera(left,1,20),waitforcamera pancamera(right,2,20),waitforcamera, pancamera(left,2,20),waitforcamera pancamera(right,1,20),waitforcamera , pan camera (up,1,20), pan camera (right,1,20) wait for camera, pan camera (down,2,20), pan camera (left,2,20), wait for camera pan camera (up,2,20), pan camera (right,2,20), wait for camera pan camera (down,1,20), pan camera (left,1,20), wait for camera, wait (5) show text box (405), wait (7), wait for key (use key), advance text box bossintroduction, fight formation (5),walk NPC (14,right,1) show text box (407), wait (7), wait for key (use key), advance text box show text box (408), wait (7), wait for key (use key), advance text box walk NPC (11,right,1) show text box (409), wait (7), wait for key (use key), advance text box show text box (410), wait (7), wait for key (use key), advance text box show text box (411), wait (7), wait for key (use key), advance text box show text box (3347), wait (7), wait for key (use key), advance text box set NPC direction (14,up) show text box (3348), wait (7), wait for key (use key), advance text box set NPC direction (10,up) show text box (3349), wait (2),set NPC direction (14,right), wait (3) set NPC direction (14,down), wait (2), wait for key (use key), advance text box show text box (3350), wait (7), wait for key (use key), advance text box set NPC direction (10,right), set NPC direction (14,right) show text box (3351), wait (7), wait for key (use key), advance text box set NPC direction (12,down) show text box (3352), wait (7), wait for key (use key), advance text box wait (15) show text box (3360), wait (7), wait for key (use key), advance text box show text box (3353), wait (7), wait for key (use key), advance text box set NPC direction (12,right) show text box (3354), wait (7), wait for key (use key), advance text box show text box (3355), wait (7), wait for key (use key), advance text box show text box (3356), wait (7), wait for key (use key), advance text box show text box (3357), wait (7), wait for key (use key), advance text box show text box (3358), wait (7), wait for key (use key), advance text box set NPC direction (10,up) show text box (3359), wait (7), wait for key (use key), advance text box fade screen out (63,63,63), wait (2), set tag (tag:beatsnake,on) set hero position (me,12,10), camera follows hero (me), wait (2), fade screen in resume NPCs, resume player, resume box advance,reinstate party resume caterpillar, set caterpillar mode (off) end script,slayjotun,begin remember party, suspend player, suspend box advance swap by position (0, find hero (hero:Styrge)) show text box (2469), wait (7), wait for key (use key), advance text box show text box (2470), wait (7), wait for key (use key), advance text box show text box (2471), wait (7), wait for key (use key), advance text box walk hero (me,down,1), wait for hero (me), walk NPC (6,left,1) wait for NPC (6), set NPC direction (6,right) walk hero to x (me,26), wait for hero (me), walk hero to y (me,1), wait for hero (me) wait (2), walk hero (me,up,2), wait for hero (me), wait (5) walk NPC (7,down,1), wait for NPC (7), wait (2) boss introduction, fight formation (292) swap by position (0, find hero (hero:Styrge)), set tag (tag:jotunslain,on) tweak palette (10,0,0), update palette, play sound (sfx:Crush8Bit,false,true) wait (3), reset palette, fade screen in show text box (2472), wait (7), wait for key (usekey), advance text box teach spell ((find hero(hero:Styrge)),atk:GiantDoom), wait (5) resume box advance, resume player,reinstate party end # Tim-Tim the mighty Gnome can teach Night a spell that reduces enemy magic power script,timtim,begin suspend player, suspend box advance,remember party swap by position (0, find hero (hero:Night)) show text box (2474), wait (7), wait for key (usekey), advance text box show text box (2475), wait (7), wait for key (usekey), advance text box show text box (2476), wait (7), wait for key (usekey), advance text box tweak palette (0,10,0), update palette, play sound (sfx:Crush8Bit,false,true), wait (3), reset palette, fade screen in show text box (2477), wait (7), wait for key (usekey), set tag (tag:timtim1,on), advance text box teach spell ((find hero(hero:Night)),atk:Hinder), wait (5) show text box (2478), wait (7), wait for key (usekey), advance text box show text box (2479), wait (7), wait for key (usekey), advance text box resume player, resume box advance, reinstate party end script,delvirefinal,begin suspend player, suspend box advance, fade screen out, wait (2) set hero position (me,34,5), swap by position (0,find hero (hero:Bram)) swap out hero (hero:Freki), swap out hero (hero:Kitt), swap out hero (hero:Styrge) swap out hero (hero:Hilda), swap out hero (hero:Olaf), swap out hero (hero:Eric) swap out hero (hero:Frumpy), swap out hero (hero:Night), swap out hero (hero:Renard) wait (2),remember party # Delvire set NPC position (23,31,10), set NPC direction (23,right), focus camera (34,10,2), wait for camera #Bram set NPC position (17,37,10), set NPC direction (17,left), wait (3) fade screen in, wait (10) set NPC frame (17,1), wait (1), set NPC frame (17,0), wait (1) set NPC frame (17,1), wait (1), set NPC frame (17,0), wait (1) show text box (2484), wait (7), wait for key (use key), advance text box set NPC frame (23,1), wait (1), set NPC frame (23,0), wait (1) set NPC frame (23,1), wait (1), set NPC frame (23,0), wait (1) show text box (2485), wait (7), wait for key (use key), advance text box set NPC frame (17,1), wait (1), set NPC frame (17,0), wait (1) set NPC frame (17,1), wait (1), set NPC frame (17,0), wait (1) show text box (2486), wait (7), wait for key (use key), advance text box set NPC direction (23,down), wait (3), set NPC direction (23,left) set NPC frame (23,1), wait (1), set NPC frame (23,0), wait (1) set NPC frame (23,1), wait (1), set NPC frame (23,0), wait (1) show text box (2487), wait (7), wait for key (use key), advance text box show text box (2488), wait (7), wait for key (use key), advance text box walk NPC (17,left,1), wait for NPC (17) set NPC frame (17,1), wait (1), set NPC frame (17,0), wait (1) set NPC frame (17,1), wait (1), set NPC frame (17,0), wait (1) show text box (2489), wait (7), wait for key (use key), advance text box set NPC direction (23,down), wait (3), set NPC direction (23,right) show text box (2490), wait (7), wait for key (use key), advance text box, walk NPC (23,right,1) show text box (2491), wait (7), wait for key (use key), advance text box show text box (2492), wait (7), wait for key (use key), advance text box set NPC frame (17,1), wait (1), set NPC frame (17,0), wait (1) set NPC frame (17,1), wait (1), set NPC frame (17,0), wait (1) show text box (2493), wait (7), wait for key (use key), advance text box set NPC direction (23,down), wait (3), set NPC direction (23,left) set NPC frame (23,1), wait (1), set NPC frame (23,0), wait (1) set NPC frame (23,1), wait (1), set NPC frame (23,0), wait (1) show text box (2494), wait (7), wait for key (use key), advance text box set NPC frame (17,1), wait (1), set NPC frame (17,0), wait (1) set NPC frame (17,1), wait (1), set NPC frame (17,0), wait (1) show text box (2495), wait (7), wait for key (use key), advance text box set NPC direction (23,down), wait (3), set NPC direction (23,right) show text box (2496), wait (7), wait for key (use key), advance text box remember party, BossIntroduction , fight formation (261) swap by position (0,find hero (hero:Bram)) set NPC frame (23,1), wait (1), set NPC frame (23,0), wait (1) set NPC frame (23,1), wait (1), set NPC frame (23,0), wait (1) show text box (2497), wait (7), wait for key (use key), advance text box, wait (7) set NPC frame (23,1), wait (1), set NPC frame (23,0), wait (1) set NPC frame (23,1), wait (1), set NPC frame (23,0), wait (1) show text box (2498), wait (7), wait for key (use key), advance text box set NPC frame (17,1), wait (1), set NPC frame (17,0), wait (1) set NPC frame (17,1), wait (1), set NPC frame (17,0), wait (1) show text box (2499), wait (7), wait for key (use key), advance text box set NPC direction (23,down), wait (2), set NPC direction (23,left) set NPC frame (23,1), wait (1), set NPC frame (23,0), wait (1) set NPC frame (23,1), wait (1), set NPC frame (23,0), wait (1) show text box (2500), wait (7), wait for key (use key), advance text box fade screen out, wait (2) show text box (2501), wait (2), fade screen in wait (7), wait for key (use key), advance text box show text box (2502), wait (7), wait for key (use key), advance text box show text box (2503), wait (7), wait for key (use key), fade screen out wait (2), advance text box, wait (2), set NPC direction (23,right), fade screen in set NPC frame (17,1), wait (1), set NPC frame (17,0), wait (1) set NPC frame (17,1), wait (1), set NPC frame (17,0), wait (1) show text box (2504), wait (7), wait for key (use key), advance text box, walk NPC (23,right,1) show text box (2505), wait (7), wait for key (use key), advance text box show text box (2506), wait (7), wait for key (use key), advance text box set NPC direction (17,down), wait (3), set NPC direction (17,right), wait (10), stop song show text box (2507), wait (7), wait for key (use key), advance text box wait (10), set NPC direction (17,down), walk NPC (17,down,2) wait for NPC (17), set NPC direction (23,down) show text box (2508), wait (7), wait for key (use key), advance text box, wait (10) show text box (2509), wait (7), wait for key (use key), advance text box set NPC direction (17,left), wait (3), set NPC direction (17,up), wait (3) show text box (2510), wait (7), wait for key (use key), advance text box set NPC frame (23,1), wait (1), set NPC frame (23,0), wait (1) set NPC frame (23,1), wait (1), set NPC frame (23,0), wait (1) show text box (2511), wait (7), wait for key (use key), advance text box wait (1), tweak palette (0,10,0), update palette play sound (sfx:Heal8bit,false,true), teach spell ((find hero(hero:Bram)),atk:Flux Time) wait (10), reset palette, fade screen in show text box (2512), wait (7), wait for key (use key), advance text box fade screen out, wait (2), resume box advance, resume NPCs resume obstruction,set tag (tag:LastDelvire,on), camera follows hero (me) wait (2), use door (9), wait (2), fade screen in, resume player end # Kitt gains WeakStrike - which gets stronger the fewer HP he has. # You'll need an Adamant Hammer, which can be bought in Alfheim. script,weakstrike,begin remember party, suspend player, suspend box advance swap by position (0,find hero (hero:Kitt)) show text box (2535), wait (7), wait for key (use key), advance text box show text box (2536), wait (7), wait for key (use key), advance text box wait (1), tweak palette (10,0,0), update palette play sound (sfx:StormMagic,false,true), teach spell ((find hero(hero:Kitt)),atk:Weaksmash) wait (10), reset palette, fade screen in show text box (2537), wait (7), wait for key (use key), advance text box show text box (2538), wait (7), wait for key (use key), advance text box show text box (2539), wait (7), wait for key (use key), advance text box show text box (2540), wait (7), wait for key (use key), advance text box show text box (2541), wait (7), wait for key (use key), advance text box wait (5), resume player, resume box advance, reinstate party end # Styrge can gain Manslayer - which deals extra damage to human characters. # You'll need a Manslayer sword, which can be bought in Alfheim. script,manslay,begin remember party, suspend player, suspend box advance, swap by position (0,find hero (hero:Styrge)) show text box (2542), wait (7), wait for key (use key), advance text box wait (1), tweak palette (10,0,0), update palette, play sound (sfx:StormMagic,false,true) teach spell ((find hero(hero:Styrge)),atk:ManSlayer), wait (10) reset palette, fade screen in show text box (2543), wait (7), wait for key (use key), advance text box show text box (2544), wait (7), wait for key (use key), advance text box show text box (2545), wait (7), wait for key (use key), advance text box show text box (2546), wait (7), wait for key (use key), advance text box show text box (2547), wait (7), wait for key (use key), advance text box show text box (2548), wait (7), wait for key (use key), advance text box show text box (2549), wait (7), wait for key (use key), advance text box resume player, resume box advance, reinstate party end # Olaf can gain Dark Rage, an attack that deals dark damage in exchange for some HP loss. # You'll need an Antler, of all things - which can be bought in (you guessed it) Alfheim. script,darkrage,begin remember party, suspend player, suspend box advance, swap by position (0,find hero (hero:Olaf)) show text box (2550), wait (7), wait for key (use key), advance text box show text box (2551), wait (7), wait for key (use key), advance text box wait (1), tweak palette (10,0,0), update palette, play sound (sfx:Roar,false,true) teach spell ((find hero(hero:Olaf)),atk:Dark Rage), wait (10), reset palette, fade screen in show text box (2552), wait (7), wait for key (use key), advance text box show text box (2553), wait (7), wait for key (use key), advance text box show text box (2554), wait (7), wait for key (use key), advance text box show text box (2555), wait (7), wait for key (use key), advance text box resume box advance, resume player, reinstate party end script,itsatrap,begin remember party, suspend player, suspend box advance stop song, play sound (sfx:Fart,false,true), set tag (tag:FART,on), wait (20) tweak palette (-5,5,-5), fade screen in, wait (2) tweak palette (-5,5,-5), fade screen in, wait (2) tweak palette (-5,5,-5), fade screen in, wait (2) tweak palette (-5,5,-5), fade screen in, wait (2) tweak palette (-5,5,-5), fade screen in, wait (2) tweak palette (-5,5,-5), fade screen in, wait (2) tweak palette (-5,5,-5), fade screen in, wait (2) fade screen out, wait (2), reset palette, wait (2), set tag (tag:FART,off) suspend npcs, swap by position (0, find hero (hero:Kitt)) swap out hero (hero:Bram), swap out hero (hero:Frumpy), swap out hero (hero:Styrge) swap out hero (hero:Hilda), swap out hero (hero:Olaf), swap out hero (hero:Night) swap out hero (hero:Eric), set hero position (me,80,17) wait (2), fade screen in, wait (2), focus camera (80,24,2), wait for camera walk NPC (47,down,1), wait for NPC (47) tweak palette (63,63,63), update palette, play sound (sfx:Metal_Hit,false,true) wait (1), reset palette, update palette, wait (2) walk NPC (47,up,1), set NPC direction (47,down), wait for NPC (47) wait (2), walk NPC (47,down,1), wait for NPC (47) tweak palette (63,63,63), update palette, play sound (sfx:Metal_Hit,false,true), wait (1) reset palette, update palette, wait (2) walk NPC (47,up,1), set NPC direction (47,down), wait for NPC (47), wait (2) walk NPC (47,down,1), wait for NPC (47), tweak palette (63,63,63) update palette, play sound (sfx:Metal_Hit,false,true), wait (1) reset palette, update palette, wait (2) show text box (2564), wait (7), wait for key (use key), advance text box show text box (2565), wait (7), wait for key (use key), advance text box show text box (2566), wait (7), wait for key (use key), advance text box show text box (2567), wait (7), wait for key (use key), advance text box set NPC direction (50,down) walk NPC (52,down,2), walk NPC (48,right,1), walk NPC (43,up,6) walk NPC (44,up,6), walk NPC (45,up,6), walk NPC (46,up,6) wait for NPC (43), walk NPC (43,left,2), walk NPC (44,up,1), walk NPC (45,right,1), walk NPC (46,left,1), wait for NPC (46) set NPC direction (43,down), set NPC direction (45,up), set NPC direction (46,up) wait (2), set NPC direction (43,right), wait (2) show text box (2568), wait (7), wait for key (use key), advance text box set NPC frame (48,1), wait (1), set NPC frame (48,0), wait (1) set NPC frame (48,1), wait (1), set NPC frame (48,0), wait (1) show text box (2569), wait (7), wait for key (use key), advance text box set NPC direction (44,left) set NPC frame (44,1), wait (1), set NPC frame (44,0), wait (1) set NPC frame (44,1), wait (1), set NPC frame (44,0), wait (1) show text box (2570), wait (7), wait for key (use key), advance text box set NPC frame (47,1), wait (1), set NPC frame (47,0), wait (1) set NPC frame (47,1), wait (1), set NPC frame (47,0), wait (1) show text box (2571), wait (7), wait for key (use key), advance text box wait (5), set NPC direction (44,up), wait (3) show text box (2572), wait (7), wait for key (use key), advance text box set NPC frame (47,1), wait (1), set NPC frame (47,0), wait (1) set NPC frame (47,1), wait (1), set NPC frame (47,0), wait (1) show text box (2573), wait (7), wait for key (use key), advance text box wait (5), walk NPC (46,up,1), wait for NPC (46), wait (5) show text box (2574), wait (7), wait for key (use key), advance text box set NPC frame (49,1), wait (1), set NPC frame (49,0), wait (1) set NPC frame (49,1), wait (1), set NPC frame (49,0), wait (1) show text box (2575), wait (7), wait for key (use key), advance text box set NPC frame (44,1), wait (1), set NPC frame (44,0), wait (1) set NPC frame (44,1), wait (1), set NPC frame (44,0), wait (1) show text box (2576), wait (7), wait for key (use key), advance text box set NPC direction (44,right), wait (2), set NPC direction (44,down), wait (2) set NPC frame (44,1), wait (1), set NPC frame (44,0), wait (1) set NPC frame (44,1), wait (1), set NPC frame (44,0), wait (1) show text box (2577), wait (7), wait for key (use key), advance text box show text box (2578), wait (7), wait for key (use key), advance text box set NPC frame (54,1), wait (1), set NPC frame (54,0), wait (1) set NPC frame (54,1), wait (1), set NPC frame (54,0), wait (1) show text box (2579), wait (7), wait for key (use key), advance text box wait (2), set NPC direction (44,right), wait (2) show text box (2580), wait (7), wait for key (use key), advance text box wait (2), set NPC direction (44,left), wait (2), set NPC direction (44,up), wait (2) set NPC frame (44,1), wait (1), set NPC frame (44,0), wait (1) set NPC frame (44,1), wait (1), set NPC frame (44,0), wait (1) show text box (2581), wait (7), wait for key (use key), advance text box show text box (2582), wait (7), wait for key (use key), advance text box set NPC frame (44,1), wait (1), set NPC frame (44,0), wait (1) set NPC frame (44,1), wait (1), set NPC frame (44,0), wait (1) show text box (2583), wait (7), wait for key (use key), advance text box show text box (2584), wait (7), wait for key (use key), advance text box, wait (5) show text box (2585), wait (7), wait for key (use key), advance text box, wait (5) show text box (2586), wait (7), wait for key (use key), advance text box wait (2), set nPC direction (44,left), wait (2), set NPC direction (44,down), wait (2) show text box (2587), wait (7), wait for key (use key), advance text box walk NPC (44,down,11), wait (10), walk NPC (43,right,2), walk NPC (46, right,1), wait for NPC (46) walk NPC (46,down,11), wait for NPC (43), walk NPC (43,down,11), wait for NPC (43) stop song, wait (10) show text box (2588), wait (7), wait for key (use key), advance text box wait (5), set NPC direction (45,left), wait (5) show text box (2589), wait (7), wait for key (use key), advance text box set NPC frame (47,1), wait (1), set NPC frame (47,0), wait (1) set NPC frame (47,1), wait (1), set NPC frame (47,0), wait (1) show text box (2590), wait (7), wait for key (use key), advance text box wait (5), set NPC direction (45,up), wait (2), walk NPC (45,up,2), wait for NPC (45), wait (5) set NPC frame (44,1), wait (1), set NPC frame (44,0), wait (1) set NPC frame (44,1), wait (1), set NPC frame (44,0), wait (1) show text box (2591), wait (7), wait for key (use key), advance text box set NPC frame (47,1), wait (1), set NPC frame (47,0), wait (1) set NPC frame (47,1), wait (1), set NPC frame (47,0), wait (1) show text box (2592), wait (7), wait for key (use key), advance text box fade screen out, wait (1), show text box (2593), wait (1), fade screen in wait (7), wait for key (use key), advance text box show text box (2594), wait (7), wait for key (use key), advance text box show text box (2595), wait (7), wait for key (use key), advance text box show text box (2596), wait (7), wait for key (use key), fade screen out wait (1), advance text box, wait (2), fade screen in, wait (2) set NPC frame (47,1), wait (1), set NPC frame (47,0), wait (1) set NPC frame (47,1), wait (1), set NPC frame (47,0), wait (1) show text box (2597), wait (7), wait for key (use key), advance text box walk NPC (45,up,3), wait for NPC (45), set NPC direction (45,right), wait (2) set NPC frame (45,1), wait (1), set NPC frame (45,0), wait (1) set NPC frame (45,1), wait (1), set NPC frame (45,0), wait (1) set NPC direction (42,left), set NPC direction (45,left) wait (1), set NPC direction (45,up), wait (1), set NPC direction (45,right) wait (1), set tag (tag:gatedown,on), wait (5) , set NPC direction (45,up) show text box (2598), wait (7), wait for key (use key), advance text box show text box (2599), wait (7), wait for key (use key), advance text box wait (2), walk NPC (45,left,1), wait for NPC (45), set NPC direction (45,down), wait (2) show text box (2600), wait (7), wait for key (use key), advance text box set NPC direction (45,left), wait (2), set NPC direction (45,up), wait (2) show text box (2601), wait (7), wait for key (use key), advance text box show text box (2602), wait (7), wait for key (use key), advance text box tweak palette (10,0,0), update palette, play sound (sfx:EnemyDeath,false,true) teach spell ((find hero(hero:Kitt)),atk:HPstrike), wait (10), reset palette, fade screen in show text box (2605), wait (7), wait for key (use key), advance text box wait (5), walk NPC (45,down,1), set NPC direction (45), wait for NPC (45) set NPC direction (45), wait (2), walk NPC (45,down,11), wait for NPC (45) show text box (2603), wait (7), wait for key (use key), advance text box show text box (2604), wait (7), wait for key (use key), advance text box fade screen out, wait (2), set tag (tag:trapped,on), set hero position (me,80,24) camera follows hero (me), wait (2), fade screen in resume box advance, resume player, resume NPCs end # This is the script for the first time you see the gate to Helheim script,seethegate,begin suspend player, suspend box advance focus camera (14,9,4), wait for camera, wait (25) focus camera (14,25,4), wait for camera show text box (2625), wait (7), wait for key (use key), advance text box camera follows hero (me), resume player, resume box advance end # This script runs each time you open Helheim's door. It lights up, and then moves to open. script,intohelheim,begin suspend player, suspend obstruction, wait (2) set NPC direction (2,right), set NPC direction (3,right), set NPC direction (4,right) set NPC direction (5,right), set NPC direction (6,right), set NPC direction (7,right) set NPC direction (8,right), set NPC direction (9,right), set NPC direction (10,right) set NPC direction (11,right), set NPC direction (12,right), set NPC direction (13,right) wait (2) set NPC direction (2,up), set NPC direction (3,up), set NPC direction (4,up) set NPC direction (5,up), set NPC direction (6,up), set NPC direction (7,up) set NPC direction (8,up), set NPC direction (9,up), set NPC direction (10,up) set NPC direction (11,up), set NPC direction (12,up), set NPC direction (13,up) wait (2) set NPC direction (2,left), set NPC direction (3,left), set NPC direction (4,left) set NPC direction (5,left), set NPC direction (6,left), set NPC direction (7,left) set NPC direction (8,left), set NPC direction (9,left), set NPC direction (10,left) set NPC direction (11,left), set NPC direction (12,left), set NPC direction (13,left) wait (15), play sound (sfx:earthquake,false,true) walk NPC (2,left,2), walk NPC (3,left,2), walk NPC (4,left,2) walk NPC (5,left,2), walk NPC (6,left,2), walk NPC (7,left,2) walk NPC (8,right,2), set NPC direction (8,left), walk NPC (9,right,2), set NPC direction (9,left) walk NPC (10,right,2), set NPC direction (10,left), walk NPC (11,right,2), set NPC direction (11,left) walk NPC (12,right,2), set NPC direction (12,left), walk NPC (13,right,2), set NPC direction (13,left) wait for NPC (13), wait (20), fade screen out, wait (2) use door (2), resume obstruction, resume player end # We're in for a FUN script now. Welcome to Vikings of Midgard's biggest Minigame. # In actuality, it's Spoonweaver's Spaceship Funkatron, reskinned. plotscript, vikitron, begin suspend player, suspend box advance,resume NPCs suspend obstruction,import globals (33), fade screen out, wait (1) showtextbox (2635), fade screen in, wait (20), fade screen out, advance textbox wait (1),teleport to map (37,11,0), wait (1) timer:=0 score:=0 keytimer:=0 fade screen in,wait (16) write map block (11,2,14),play sound (sfx:Soft_Airy_Swish,false,true) wait(10),create npc (3,11,2),wait(5),walk npc (3,south,3),wait(15) create npc (1,11,2),wait(5),walk npc (1,south,3),walk npc (3,west,2) wait(20),create npc (2,11,2),set NPC direction (3, south),wait(5) write map block (11,2,7), play sound (sfx:Soft_Airy_Swish,false,true) walk npc (2,south,1), wait(15), walk npc (2,east,2) wait(15),set NPC direction (2, north), play sound (sfx:Pingdadingdingding,false,true) wait(15),play sound (0,false,false),wait(10),walk npc (2,south,2) wait (5), set NPC direction (13, left), set NPC direction (12, right), wait (15) wait (5), set NPC direction (13, down), set NPC direction (12, down), wait (15) variable(tilex,tiley) for (tilex,0,22,1) do,begin for (tiley,0,2,1) do, begin write map block (tilex,tiley,8) end end write map block (10,0,9,2),write map block (10,1,25,2),write map block (10,2,41,2) write map block (11,0,10,2),write map block (11,2,42,2) write map block (12,0,11,2),write map block (12,1,27,2),write map block (12,2,43,2) write map block (10,0,0,0),write map block (10,1,0,0),write map block (10,2,0,0) write map block (11,0,0,0),write map block (11,1,0,0),write map block (11,2,0,0) write map block (12,0,0,0),write map block (12,1,0,0),write map block (12,2,0,0) write map block (4,1,13,0),write map block (5,1,13,0),write map block (6,1,13,0) write map block (7,1,13,0),write map block (8,1,13,0),write map block (9,1,13,0) write map block (13,1,13,0),write map block (14,1,13,0),write map block (15,1,13,0) write map block (16,1,13,0),write map block (17,1,13,0),write map block (18,1,13,0) write map block (19,1,13,0),write map block (4,1,29,2),write map block (5,1,30,2) write map block (6,1,12,2),write map block (7,1,12,2),write map block (8,1,12,2) write map block (9,1,12,2),write map block (13,1,12,2),write map block (14,1,12,2) write map block (15,1,12,2),write map block (16,1,12,2),write map block (17,1,12,2) write map block (18,1,12,2),write map block (19,1,12,2),play song (56) tyron:=NPC reference (1,0) boosh:=NPC reference (2,0) steve:=NPC reference (3,0) funkout suspend timers show no value exit script end #------------------------------------------------------------------------- #game loop #------------------------------------------------------------------------- plotscript, funkout, begin variable(keyz,rand,kill) while (1==1) do,begin show value (score) if (timer<<2550) then (keytimer:=1+keytimer) if (timer<<2550>>1300) then (keytimer:=1+keytimer) rand:=random(6,9) if (keytimer>>20) then (create npc (rand,22,1,west),keytimer:=0) kill:=npc at spot (4,1) if (get NPC ID (kill)>>0) then (score:=score--3,create npc (10,4,1,west), play sound (sfx:Cancel8Bit,false,true),wait (1) ) destroy npc (kill) DESTROY NPC (11) DESTROY NPC (10) keyz:=npc at pixel (220,30) if (key is pressed (key:up),and,not (key is pressed (key:right)),and,not (key is pressed (key:down)),and,not (key is pressed (key:left))) then , begin if (get NPC ID (keyz)==6) then (score:=score+10,change npc id(keyz,11), play sound (sfx:Bloop,false,true) ) end if (key is pressed (key:right),and,not (key is pressed (key:up)),and,not (key is pressed (key:down)),and,not (key is pressed (key:left))) then , begin if (get NPC ID (keyz)==7) then (score:=score+10,change npc id(keyz,11), play sound (sfx:Bloop,false,true) ) end if (key is pressed (key:down),and,not (key is pressed (key:up)),and,not (key is pressed (key:right)),and,not (key is pressed (key:left))) then , begin if (get NPC ID (keyz)==8) then (score:=score+10,change npc id(keyz,11), play sound (sfx:Bloop,false,true) ) end if (key is pressed (key:left),and,not (key is pressed (key:up)),and,not (key is pressed (key:right)),and,not (key is pressed (key:down))) then , begin if (get NPC ID (keyz)==9) then (score:=score+10,change npc id(keyz,11), play sound (sfx:Bloop,false,true) ) end if (timer==0,or,timer==130,or,timer==390,or,timer==640,or,timer==785,or,timer==1725,or,timer==925,or,timer==1140,or,timer==2385,or,timer==1460,or,timer==2005,or,timer==2274) then , begin put npc (3,180,100),put npc (1,220,100),put npc (2,260,100) set NPC direction (1, south),set NPC direction (2, south),set NPC direction (3, south) end if (timer==5,or,timer==15,or,timer==25,or,timer==35,or,timer==45,or,timer==55,or,timer==65,or,timer==75,or,timer==85,or,timer==95,or,timer==105,or,timer==115,or,timer==125) then , begin put npc (3,180,95),put npc (1,220,100),put npc (2,260,95) end if (timer==10,or,timer==20,or,timer==30,or,timer==40,or,timer==50,or,timer==60,or,timer==70,or,timer==80,or,timer==90,or,timer==100,or,timer==110,or,timer==120) then , begin put npc (3,180,100),put npc (1,220,95),put npc (2,260,100) end if (timer==140,or,timer==160,or,timer==180,or,timer==200,or,timer==220,or,timer==240,or,timer==260,or,timer==280,or,timer==300,or,timer==320,or,timer==340,or,timer==360,or,timer==380) then , begin set NPC direction (1, west),set NPC direction (2, west),set NPC direction (3, west) end if (timer==150,or,timer==170,or,timer==190,or,timer==210,or,timer==230,or,timer==250,or,timer==270,or,timer==290,or,timer==310,or,timer==330,or,timer==350,or,timer==370) then , begin set NPC direction (1, east),set NPC direction (2, east),set NPC direction (3, east) end if (timer==400,or,timer==420,or,timer==440,or,timer==460,or,timer==480,or,timer==500,or,timer==520,or,timer==540,or,timer==560,or,timer==580,or,timer==600,or,timer==620) then , begin set NPC direction (1, north),set NPC direction (2, north),set NPC direction (3, north) end if (timer==410,or,timer==430,or,timer==450,or,timer==470,or,timer==490,or,timer==510,or,timer==530,or,timer==550,or,timer==570,or,timer==590,or,timer==610,or,timer==630) then , begin set NPC direction (1, south),set NPC direction (2, south),set NPC direction (3, south) end if (timer==655,or,timer==665,or,timer==675,or,timer==685,or,timer==695,or,timer==705,or,timer==715,or,timer==725,or,timer==735,or,timer==745,or,timer==755,or,timer==765,or,timer==775,or ,timer==2275,or,timer==2285,or,timer==2295,or,timer==2305,or,timer==2315,or,timer==2325,or,timer==2335,or,timer==2345,or,timer==2355,or,timer==2365,or,timer==2375) then,begin set NPC direction (1, west),set NPC direction (3, west), put npc (1,220,95) end if (timer==660,or,timer==670,or,timer==680,or,timer==690,or,timer==700,or,timer==710,or,timer==720,or,timer==730,or,timer==740,or,timer==750,or,timer==760,or,timer==770,or,timer==780,or,timer==2280,or,timer==2290,or,timer==2300,or,timer==2310,or,timer==2320,or,timer==2330,or,timer==2340,or,timer==2350,or,timer==2360,or,timer==2370,or,timer==2380) then,begin set NPC direction (1, west),set NPC direction (3, west), put npc (1,220,100) end if (timer==795,or,timer==805,or,timer==815,or,timer==825,or,timer==835,or,timer==845,or,timer==855,or,timer==865,or,timer==876,or,timer==885,or,timer==895,or,timer==905,or,timer==915) then,begin set NPC direction (1,east),set NPC direction (2,east),put npc (1,220,95) end if (timer==800,or,timer==810,or,timer==820,or,timer==830,or,timer==840,or,timer==850,or,timer==860,or,timer==870,or,timer==880,or,timer==890,or,timer==900,or,timer==910,or,timer==920) then,begin set NPC direction (1,east),set NPC direction (2,east), put npc (1,220,100) end if (timer==930,or,timer==990,or,timer==1050,or,timer==1110,or,timer==1430) then,begin set NPC direction (3,east) end if (timer==940,or,timer==1000,or,timer==1060,or,timer==1120,or,timer==1440) then,begin set NPC direction (1,east) end if (timer==950,or,timer==1010,or,timer==1070,or,timer==1130,or,timer==1450) then,begin set NPC direction (2,east) end if (timer==960,or,timer==1020,or,timer==1080,or,timer==1400) then,begin set NPC direction (3,west) end if (timer==970,or,timer==1030,or,timer==1090,or,timer==1410) then,begin set NPC direction (1,west) end if (timer==980,or,timer==1040,or,timer==1100,or,timer==1420) then,begin set NPC direction (2,west) end if (timer==1160,or,timer==1220,or,timer==1280,or,timer==1340) then,begin set NPC direction (3,north) end if (timer==1170,or,timer==1230,or,timer==1290,or,timer==1350) then,begin set NPC direction (1,north) end if (timer==1180,or,timer==1240,or,timer==1300,or,timer==1360) then,begin set NPC direction (2,north) end if (timer==1190,or,timer==1250,or,timer==1310,or,timer==1370) then,begin set NPC direction (3,south) end if (timer==1200,or,timer==1260,or,timer==1320,or,timer==1380) then,begin set NPC direction (1,south) end if (timer==1210,or,timer==1270,or,timer==1330,or,timer==1390) then,begin set NPC direction (2,south) end if (timer==1460,or,timer==1470,or,timer==1480,or,timer==1490,or,timer==1500,or,timer==1510,or,timer==1520,or,timer==1530,or,timer==1540,or,timer==1550,or,timer==1560,or,timer==1570,or,timer==1580,or,timer==1590,or,timer==1600,or,timer==1610,or,timer==1620) then,begin set NPC direction (2,south),set NPC direction (3,south),set NPC direction (1,north) end if (timer==1465,or,timer==1475,or,timer==1485,or,timer==1495,or,timer==1505,or,timer==1515,or,timer==1525,or,timer==1535,or,timer==1545,or,timer==1555,or,timer==1565,or,timer==1575,or,timer==1585,or,timer==1595,or,timer==1605,or,timer==1615,or,timer==1625) then,begin set NPC direction (2,north),set NPC direction (3,north),set NPC direction (1,south) end if (timer==1630,or,timer==1640,or,timer==1650,or,timer==1660,or,timer==1670,or,timer==1680,or,timer==1690,or,timer==1700,or,timer==1710,or,timer==1720) then,begin set NPC direction (2,west),set NPC direction (3,west),set NPC direction (1,east) end if (timer==1635,or,timer==1645,or,timer==1655,or,timer==1665,or,timer==1675,or,timer==1685,or,timer==1695,or,timer==1705,or,timer==1715) then,begin set NPC direction (2,east),set NPC direction (3,east),set NPC direction (1,west) end if (timer==1730,or,timer==1740,or,timer==1760,or,timer==1770,or,timer==1790 ,or,timer==1800,or,timer==1810,or,timer==1830,or,timer==1840) then,begin set NPC direction (3,east),set NPC direction (1,east),put npc (3,180,100) end if (timer==1735,or,timer==1765,or,timer==1795,or,timer==1805,or,timer==1835) then,begin set NPC direction (3,east),set NPC direction (1,east), put npc (3,180,95) end if (timer==1745,or,timer==1755,or,timer==1775,or,timer==1785,or,timer==1815,or,timer==1825,or,timer==1845,or,timer==1855) then,begin set NPC direction (2,west),set NPC direction (1,west),put npc (2,260,100) end if (timer==1750,or,timer==1780,or,timer==1820,or,timer==1850) then,begin set NPC direction (2,west),set NPC direction (1,west), put npc (2,260,95) end if (timer==1860,or,timer==1875,or,timer==1885,or,timer==1895,or,timer==1905,or,timer==1915,or,timer==1925,or,timer==1935,or,timer==1945,or,timer==1955,or,timer==1965,or,timer==1975,or,timer==1985,or,timer==1995) then,begin set NPC direction (2,west),set NPC direction (1,north),set NPC direction (3,east) put npc (2,260,95),put npc (3,180,95) end if (timer==1870,or,timer==1880,or,timer==1890,or,timer==1900,or,timer==1910,or,timer==1920,or,timer==1930,or,timer==1940,or,timer==1950,or,timer==1960,or,timer==1970,or,timer==1980,or,timer==1990,or,timer==2000) then,begin set NPC direction (2,west),set NPC direction (1,north),set NPC direction (3,east) put npc (2,260,100),put npc (3,180,100) end if (timer==2020,or,timer==2030,or,timer==2040,or,timer==2050,or,timer==2060,or,timer==2070,or,timer==2080,or,timer==2090,or,timer==2100,or,timer==2110,or,timer==2120,or,timer==2130,or,timer==2140,or,timer==2150,or,timer==2160,or,timer==2170,or,timer==2180,or,timer==2190,or,timer==2200,or,timer==2210,or,timer==2220,or,timer==2230,or,timer==2240,or,timer==2250,or,timer==2260,or,timer==2270) then , begin put npc (3,180,95),put npc (1,220,100),put npc (2,260,95) end if (timer==2015,or,timer==2025,or,timer==2035,or,timer==2045,or,timer==2055,or,timer==2065,or,timer==2075,or,timer==2085,or,timer==2095,or,timer==2105,or,timer==2115,or,timer==2125,or,timer==2135,or,timer==2145,or,timer==2155,or,timer==2165,or,timer==2175,or,timer==2185,or,timer==2195,or,timer==2205,or,timer==2215,or,timer==2225,or,timer==2235,or,timer==2245,or,timer==2255,or,timer==2265) then , begin put npc (3,180,100),put npc (1,220,95),put npc (2,260,100) end if (timer==2390) then (change NPC ID (tyron,4)) if (timer==2390,or,timer==2394,or,timer==2398,or,timer==2402,or,timer==2406,or,timer==2410,or,timer==2414,or,timer==2418,or,timer==2422,or,timer==2426,or,timer==2430,or,timer==2434,or,timer==2438,or,timer==2442,or,timer==2446,or,timer==2450,or,timer==2454,or,timer==2458,or,timer==2462,or,timer==2466,or,timer==2470,or,timer==2474,or,timer==2478,or,timer==2482,or,timer==2486,or,timer==2490,or,timer==2494,or,timer==2498,or,timer==2502,or,timer==2506,or,timer==2510,or,timer==2514,or,timer==2518,or,timer==2522,or,timer==2526,or,timer==2530,or,timer==2534,or,timer==2538,or,timer==2542,or,timer==2546,or,timer==2550,or,timer==2554,or,timer==2558,or,timer==2562,or,timer==2566,or,timer==2570,or,timer==2574,or,timer==2578,or,timer==2582,or,timer==2586,or,timer==2590,or,timer==2594,or,timer==2598,or,timer==2602,or,timer==2606,or,timer==2610,or,timer==2614,or,timer==2618,or,timer==2622,or,timer==2626) then,begin set NPC direction (2,east),set NPC direction (4,down) put npc (4,253,100) end if (timer==2392,or,timer==2396,or,timer==2400,or,timer==2404,or,timer==2408,or,timer==2412,or,timer==2416,or,timer==2420,or,timer==2424,or,timer==2428,or,timer==2432,or,timer==2436,or,timer==2440,or,timer==2444,or,timer==2448,or,timer==2452,or,timer==2456,or,timer==2460,or,timer==2464,or,timer==2468,or,timer==2472,or,timer==24760,or,timer==2480,or,timer==2484,or,timer==2488,or,timer==2492,or,timer==2496,or,timer==2500,or,timer==2504,or,timer==2508,or,timer==2512,or,timer==2516,or,timer==2520,or,timer==2524,or,timer==2528,or,timer==2532,or,timer==2536,or,timer==2540,or,timer==2544,or,timer==2548,or,timer==2552,or,timer==2556,or,timer==2560,or,timer==2564,or,timer==2568,or,timer==2572,or,timer==2576,or,timer==2580,or,timer==2584,or,timer==2588,or,timer==2592,or,timer==2596,or,timer==2600,or,timer==2604,or,timer==2608,or,timer==2612,or,timer==2616,or,timer==2620,or,timer==2624,or,timer==2628) then,begin set NPC direction (2,east),set NPC direction (4,up) put npc (4,238,100) end if (timer==2450) then (change NPC ID (boosh,5), play sound (sfx:Wilhelm,false,true) ) if (timer==2520) then (set NPC direction (3,east), set NPC direction (5,down), stop song, play sound (sfx:Breakdown,false,true) set NPC direction (13, left), set NPC direction (12, right)) if (timer==2550) then (walk npc (3,west,10) walk NPC (13,down,1),set NPC direction (13, up), walk NPC (12,down,1) set NPC direction (12, up)) timer:=1+timer # 2620.8 song ends if (timer>>2621) then (scoreboard) wait(1) show no value #-V cleanup #-^ cleanup suspend timers end end #------------------------------------------------------------------------- #end of game #------------------------------------------------------------------------- plotscript, scoreboard, begin stop song show no value if (score>>highscore) then (highscore:=score) export globals (5,1,1) save in slot (5) fade screen out show no value wait (2) Show text box (2634) wait (1) fade screen in wait (10) fade screen out advance text box timer:= 0 show no value teleport to map (33,41,15) wait (1) fade screen in wait (2) if (score>=1000) then (funkatronbest) if (score<=999, and , score >=800) then (funkatrongreat) if (score<=799, and , score >=600) then (funkatrongood) if (score<=599, and , score >=400) then (funkatronokay) if (score<=399, and , score >=200) then (funkatronpoor) if (score<=199, and , score >=1) then (funkatronbad) if (score <= -300) then (funkatronawful) show no value resume player resume box advance resume obstruction show no value export globals (33,1,1) save in slot (33) wait (5) load from slot (33) exit script end #------------------------------------------------------------------------- script,funkatronbest,begin if (checktag (tag:RagnaROCK)) then ( show text box (2638) wait (7) wait for key (use key) advance text box) else (tweak palette (10,0,0), update palette, play sound (sfx:EnemyDeath,false,true) teach spell ((find hero(hero:Eric)),atk:RagnaROCK), wait (10), reset palette fade screen in, show text box (2636), wait (7), wait for key (use key), advance text box show text box (2637), wait (7), wait for key (use key), advance text box) show no value end script,funkatrongreat,begin show text box (2639), wait (7), wait for key (use key), advance text box show no value end script,funkatrongood,begin show text box (2640), wait (7), wait for key (use key), advance text box show no value end script,funkatronokay,begin show text box (2641), wait (7), wait for key (use key), advance text box show no value end script,funkatronpoor,begin show text box (2642), wait (7), wait for key (use key), advance text box show no value end script,funkatronbad,begin show text box (2644), wait (7), wait for key (use key), advance text box show no value end script,funkatronawful,begin show text box (2643), wait (7), wait for key (use key), advance text box show no value end script,OmegaWEAPON,begin remember party, suspend player, suspend box advance swap by position (0,find hero (hero:Night)), swap by position (1,find hero (hero:Renard)) swap by position (2,find hero (hero:Freki)), swap by position (3,find hero (hero:Frumpy)) set caterpillar mode (on), set hero position (1,14,12) set hero position (2,14,12), set hero position (3,14,12), suspend caterpillar, wait (3) walk hero (1,down,1), walk hero (2,down,1), walk hero (3,down,1) wait for hero (1), walk hero (1,left,1), walk hero (2,right,1), wait for hero (1) set hero direction (1,up), set hero direction (2,up), set hero direction (3,up), wait (3) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (2645), wait (7), wait for key (use key), advance text box set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) show text box (2646), wait (7), wait for key (use key), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (2647), wait (7), wait for key (use key), advance text box fade screen out, greyscale palette, teleport to map (62,14,18), focus camera (14,12,4) wait for camera, wait (5), fade screen in show text box (2648), wait (7), wait for key (use key), advance text box show text box (2649), wait (7), wait for key (use key), advance text box show text box (2650), wait (7), wait for key (use key), advance text box tweak palette (63,63,63), update palette, wait (1), reset palette wait (1), greyscale palette, update palette show text box (2666), wait (7), wait for key (use key), advance text box walk NPC (14,right,2), wait for NPC (14), set NPC direction (14,down) show text box (2651), wait (7), wait for key (use key), advance text box walk NPC (16,down,1), set NPC direction (16,up), walk NPC (17,down,1) set NPC direction (17,up), walk NPC (15,down,1), set NPC direction (15,up), wait for NPC (15) show text box (2667), wait (7), wait for key (use key), advance text box, walk NPC (14,down,2) show text box (2668), wait (7), wait for key (use key), advance text box show text box (2669), wait (7), wait for key (use key), advance text box set NPC frame (15,1), wait (1), set NPC frame (15,0), wait (1) set NPC frame (15,1), wait (1), set NPC frame (15,0), wait (1) show text box (2652), wait (7), wait for key (use key), advance text box set NPC frame (14,1), wait (1), set NPC frame (14,0), wait (1) set NPC frame (14,1), wait (1), set NPC frame (14,0), wait (1) show text box (2653), wait (7), wait for key (use key), advance text box set NPC frame (15,1), wait (1), set NPC frame (15,0), wait (1) set NPC frame (15,1), wait (1), set NPC frame (15,0), wait (1) show text box (2654), wait (7), wait for key (use key), advance text box show text box (2655), wait (7), wait for key (use key), advance text box fade screen out (63,63,63), wait (40), greyscale palette, fade screen in create npc (18,14,13,down), set NPC direction (15,down), set NPC direction (16,right), set NPC direction (17,left) show text box (2656), wait (7), wait for key (use key), advance text box set NPC frame (14,1), wait (1), set NPC frame (14,0), wait (1) set NPC frame (14,1), wait (1), set NPC frame (14,0), wait (1) show text box (2657), wait (7), wait for key (use key), advance text box set NPC direction (15,right), wait (2), set NPC direction (15,up), wait (2) show text box (2658), wait (7), wait for key (use key), advance text box, set NPC direction (14,left) show text box (2670), wait (7), wait for key (use key), advance text box show text box (2671), wait (7), wait for key (use key), advance text box, set NPC direction (14,up) show text box (2672), wait (7), wait for key (use key), advance text box set NPC frame (15,1), wait (1), set NPC frame (15,0), wait (1) set NPC frame (15,1), wait (1), set NPC frame (15,0), wait (1) show text box (2659), wait (7), wait for key (use key), advance text box show text box (2660), wait (7), wait for key (use key), advance text box show text box (2661), wait (7), wait for key (use key), advance text box set NPC direction (14,left), wait (2), set NPC direction (14,down) show text box (2673), wait (7), wait for key (use key), advance text box show text box (2674), wait (7), wait for key (use key), advance text box, walk NPC (15,up,1) show text box (2675), wait (7), wait for key (use key), advance text box, wait (2) set NPC direction (2,right), set NPC direction (3,right), set NPC direction (4,right) set NPC direction (5,right), set NPC direction (6,right), set NPC direction (7,right) set NPC direction (8,right), set NPC direction (9,right), set NPC direction (10,right) set NPC direction (11,right), set NPC direction (12,right), set NPC direction (13,right), wait (2) set NPC direction (2,up), set NPC direction (3,up), set NPC direction (4,up) set NPC direction (5,up), set NPC direction (6,up), set NPC direction (7,up) set NPC direction (8,up), set NPC direction (9,up), set NPC direction (10,up) set NPC direction (11,up), set NPC direction (12,up), set NPC direction (13,up),wait (2) set NPC direction (2,left), set NPC direction (3,left), set NPC direction (4,left) set NPC direction (5,left), set NPC direction (6,left), set NPC direction (7,left) set NPC direction (8,left), set NPC direction (9,left), set NPC direction (10,left) set NPC direction (11,left), set NPC direction (12,left), set NPC direction (13,left) wait (15), fade screen out, reset palette, wait (1) teleport to map (9,14,18), camera follows hero set hero position (me,14,12), set hero position (1,13,13) set hero position (2,14,13), set hero position (3,15,13) set hero direction (1,up), set hero direction (2,up) set hero direction (3,up), fade screen in, wait (3) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (2662), wait (7), wait for key (use key), advance text box set hero direction (me,left), wait (2), set Hero direction (me,down), wait (2) show text box (2663), wait (7), wait for key (use key), advance text box set hero direction (me,left), wait (2), set hero direction (me,up) show text box (2664), wait (7), wait for key (use key), advance text box show text box (2665), wait (7), wait for key (use key), advance text box tweak palette (63,63,63), update palette, wait (1), reset palette, wait (1), update palette show text box (2676), wait (7), wait for key (use key), advance text box set hero direction (2,left), wait (2), set hero direction (1,left) set hero direction (2,right), set hero direction (3,down), wait (5) tweak palette (63,63,63), update palette, wait (1) reset palette, wait (1), update palette, wait (2) set hero direction (me,up), set hero direction (1,up) set hero direction (2,up), set hero direction (3,up) wait (1), tweak palette (63,63,63), update palette create npc (14,14,11,down), wait (1), reset palette wait (1), update palette, walk hero (me,down,1), walk hero (1,down,1) walk hero (2,down,1), walk hero (3,down,1) set hero direction (me,up), set hero direction (1,up) set hero direction (2,up), set hero direction (3,up) show text box (2678), wait (7), wait for key (use key), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (2679), wait (7), wait for key (use key), advance text box wait (5), focus camera (14,13,4), wait for camera show text box (2680), wait (7), wait for key (use key), advance text box wait (2), walk hero (me,left,1), walk hero (1,down,1) walk hero (2,up,1), wait for hero (2), set hero direction (1,up), set hero direction (me,up) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) set hero frame (2,1), wait (1), set hero frame (2,0), wait (1) show text box (2681), wait (7), wait for key (use key), advance text box wait (2), set NPC direction (14,left), wait (2), set NPC direction (14,up), wait (3) show text box (2682), wait (7), wait for key (use key), advance text box set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) show text box (2683), wait (7), wait for key (use key), advance text box wait (10) show text box (2684), wait (7), wait for key (use key), advance text box walk NPC (14,left,10), wait (10), set hero direction (me,left) set hero direction (1,left), set hero direction (2,left), set hero direction (3,left) wait for NPC (14), set NPC position (14,14,20), wait (2), walk NPC (14,up,6), wait (10) set hero direction (me,down), set hero direction (1,down) set hero direction (2,down), set hero direction (3,down) wait for NPC (14), walk hero (2,right,1),walk hero (3,down,1), set hero direction (me,down) set hero direction (1,down), set hero direction (2,down), set hero direction (3,down) walk NPC (14,up,3), set hero direction (me,right), set hero direction (1,right) set hero direction (2,left), set hero direction (3,left), wait for NPC (14) set hero direction (me,up), set hero direction (1,up), set hero direction (2,up), set hero direction (3,up) show text box (2685), wait (7), wait for key (use key), advance text box set NPC direction (14,left), wait (2), set NPC direction (14,down), wait (2) show text box (2686), wait (7), wait for key (use key), advance text box set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) set hero frame (me,1), wait (1), set hero frame (me,0), wait (1) show text box (2687), wait (7), wait for key (use key), advance text box set NPC frame (14,1), wait (1), set NPC frame (14,0), wait (1) set NPC frame (14,1), wait (1), set NPC frame (14,0), wait (1) show text box (2688), wait (7), wait for key (use key), advance text box set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) show text box (2689), wait (7), wait for key (use key), advance text box wait (5), set NPC frame (14,1), wait (1), set NPC frame (14,0), wait (1) set NPC frame (14,1), wait (1), set NPC frame (14,0), wait (1) show text box (2694), wait (7), wait for key (use key), advance text box show text box (2695), wait (7), wait for key (use key), advance text box boss introduction, fight formation (311),remember party swap by position (0,find hero (hero:Night)), swap by position (1,find hero (hero:Renard)) swap by position (2,find hero (hero:Freki)), swap by position (3,find hero (hero:Frumpy)) tweak palette (0,0,10), update palette, play sound (sfx:laser gun,false,true) teach spell ((find hero(hero:Frumpy)),atk:Miracle), wait (3), reset palette, update palette show text box (2692), wait (7), wait for key (usekey), advance text box tweak palette (0,10,0), update palette, play sound (sfx:Death,false,true) teach spell ((find hero(hero:Bram)),atk:TimeStop), wait (10), reset palette, fade screen in show text box (2768), wait (7), wait for key (use key), advance text box set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) set hero frame (3,1), wait (1), set hero frame (3,0), wait (1) show text box (2693), wait (7), wait for key (use key), advance text box set NPC direction (14,left), wait (2), set NPC direction (14,up), wait (2) set NPC frame (14,1), wait (1), set NPC frame (14,0), wait (1) set NPC frame (14,1), wait (1), set NPC frame (14,0), wait (1) show text box (2696), wait (7), wait for key (use key), advance text box show text box (2697), wait (7), wait for key (use key), advance text box set NPC frame (14,1), wait (1), set NPC frame (14,0), wait (1) set NPC frame (14,1), wait (1), set NPC frame (14,0), wait (1) show text box (2698), wait (7), wait for key (use key), advance text box set NPC direction (14,left), wait (2), set NPC direction (14,down), wait (2) show text box (2699), wait (7), wait for key (use key), advance text box walk NPC (14,down,1), wait for NPC (14) show text box (2700), wait (7), wait for key (use key), advance text box fade screen out (63,63,63), wait (5), set tag (tag:defeatsery,on) wait (5), fade screen in show text box (2701), wait (7), wait for key (use key), advance text box fade screen out, wait (5), set hero position (me,14,13), camera follows hero (me) resume NPCs, resume player, resume box advance, resume caterpillar set caterpillar mode (off), wait (2), fade screen in, reinstate party, encounters end script,OmegaWEAPONfinal,begin remember party, suspend player, suspend box advance walk NPC (18,up,1), wait for NPC (18), wait (3) set NPC direction (18,left), wait (3), set NPC direction (18,down), wait (3) tweak palette (63,63,63), play sound (sfx:SmallExplosion8bit,false,true) update palette, wait (1), reset palette, update palette, wait (10) tweak palette (63,63,63), play sound (sfx:SmallExplosion8bit,false,true) update palette, wait (1), reset palette, update palette, wait (10) tweak palette (63,63,63), play sound (sfx:MediumExplosion8bit,false,true) update palette, set tag (tag:OMEGA,on), wait (1), reset palette update palette, wait (10), boss introduction, fight formation (69) wait (5), set damage cap (9999) show text box (2730), wait (7), wait for key (use key), advance text box set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (2707), wait (7), wait for key (use key), advance text box show text box (2708), wait (7), wait for key (use key), advance text box show text box (2709), wait (7), wait for key (use key), advance text box set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (2710), wait (7), wait for key (use key), advance text box show text box (2711), wait (7), wait for key (use key), advance text box show text box (2712), wait (7), wait for key (use key), advance text box wait (5), stop song show text box (2713), wait (7), wait for key (use key), advance text box set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (2714), wait (7), wait for key (use key), advance text box show text box (2715), wait (7), wait for key (use key), advance text box fade screen out, wait (2),show text box (2716), wait (7) fade screen in, wait (7), wait for key (use key), advance text box show text box (2717), wait (7), wait for key (use key), advance text box show text box (2718), wait (7), wait for key (use key), advance text box show text box (2719), wait (7), wait for key (use key), advance text box show text box (2720), wait (7), wait for key (use key), fade screen out advance text box, wait (3), fade screen in, wait (3) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (2721), wait (7), wait for key (use key), advance text box show text box (2722), wait (7), wait for key (use key), advance text box show text box (2723), wait (7), wait for key (use key), advance text box set hero direction (me,left), wait (5), set hero direction (me,down), wait (5) show text box (2724), wait (7), wait for key (use key), advance text box show text box (2725), wait (7), wait for key (use key), advance text box set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (2726), wait (7), wait for key (use key), advance text box show text box (2727), wait (7), wait for key (use key), advance text box show text box (2728), wait (7), wait for key (use key), advance text box show text box (2729), wait (7), wait for key (use key), advance text box wait (3), resume box advance, resume player, reinstate party, encounters end Script, Enherdesert,begin suspend player, suspend box advance, fade screen out stop song, wait (5), set hero position (me,9,7), wait (5) fade screen in, focus camera (9,12,2) walk NPC (18,down,1), wait for NPC (18) show text box (2799), wait (7), wait for key (usekey), advance text box show text box (2800), wait (7), wait for key (usekey), advance text box set NPC direction (18,right) show text box (2801), wait (7), wait for key (usekey), advance text box set NPC frame (19,1), wait (1), set NPC frame (19,0), wait (1) set NPC frame (19,1), wait (1), set NPC frame (19,0), wait (1) show text box (2802), wait (7), wait for key (usekey), advance text box play sound (sfx:Fart,false,true) # 16 Tri 17 Kyle 18 Dog 19 HM set NPC frame (18,1), wait (1), set NPC frame (18,0), wait (1) set NPC frame (18,1), wait (1), set NPC frame (18,0), wait (1) show text box (2803), wait (7), wait for key (usekey), advance text box set NPC frame (16,1), wait (1), set NPC frame (16,0), wait (1) set NPC frame (16,1), wait (1), set NPC frame (16,0), wait (1) show text box (2804), wait (7), wait for key (usekey), advance text box walk NPC (18,right,1), wait for NPC (18) show text box (2805), wait (7), wait for key (usekey), advance text box,wait (10) show text box (2806), wait (7), wait for key (usekey), advance text box set NPC frame (17,1), wait (1), set NPC frame (17,0), wait (1) set NPC frame (17,1), wait (1), set NPC frame (17,0), wait (1) show text box (2807), wait (7), wait for key (usekey), advance text box set NPC direction (16,down) set NPC frame (16,1), wait (1), set NPC frame (16,0), wait (1) set NPC frame (16,1), wait (1), set NPC frame (16,0), wait (1) show text box (2808), wait (7), wait for key (usekey), advance text box set NPC direction (17,right) set NPC frame (17,1), wait (1), set NPC frame (17,0), wait (1) set NPC frame (17,1), wait (1), set NPC frame (17,0), wait (1) show text box (2809), wait (7), wait for key (usekey), advance text box set NPC frame (16,1), wait (1), set NPC frame (16,0), wait (1) set NPC frame (16,1), wait (1), set NPC frame (16,0), wait (1) show text box (2810), wait (7), wait for key (usekey), advance text box set NPC frame (17,1), wait (1), set NPC frame (17,0), wait (1) set NPC frame (17,1), wait (1), set NPC frame (17,0), wait (1) show text box (2811), wait (7), wait for key (usekey), advance text box set NPC direction (17,down) show text box (2812), wait (7), wait for key (usekey), advance text box show text box (2813), wait (7), wait for key (usekey), advance text box set NPC frame (16,1), wait (1), set NPC frame (16,0), wait (1) set NPC frame (16,1), wait (1), set NPC frame (16,0), wait (1) show text box (2814), wait (7), wait for key (usekey), advance text box set NPC direction (17,right) set NPC frame (17,1), wait (1), set NPC frame (17,0), wait (1) set NPC frame (17,1), wait (1), set NPC frame (17,0), wait (1) show text box (2815), wait (7), wait for key (usekey), advance text box set NPC frame (18,1), wait (1), set NPC frame (18,0), wait (1) set NPC frame (18,1), wait (1), set NPC frame (18,0), wait (1) show text box (2816), wait (7), wait for key (usekey), advance text box set NPC direction (17,down), wait (5), set NPC direction (17,left) set NPC frame (17,1), wait (1), set NPC frame (17,0), wait (1) set NPC frame (17,1), wait (1), set NPC frame (17,0), wait (1) show text box (2817), wait (7), wait for key (usekey), advance text box set NPC direction (19,right) set NPC frame (19,1), wait (1), set NPC frame (19,0), wait (1) set NPC frame (19,1), wait (1), set NPC frame (19,0), wait (1) show text box (2818), wait (7), wait for key (usekey), advance text box set NPC frame (17,1), wait (1), set NPC frame (17,0), wait (1) set NPC frame (17,1), wait (1), set NPC frame (17,0), wait (1) show text box (2819), wait (7), wait for key (usekey), advance text box set NPC frame (18,1), wait (1), set NPC frame (18,0), wait (1) set NPC frame (18,1), wait (1), set NPC frame (18,0), wait (1) show text box (2820), wait (7), wait for key (usekey), advance text box set NPC direction (17,down), wait (5), set NPC direction (17,right) set NPC frame (17,1), wait (1), set NPC frame (17,0), wait (1) set NPC frame (17,1), wait (1), set NPC frame (17,0), wait (1) show text box (2821), wait (7), wait for key (usekey), advance text box set NPC frame (16,1), wait (1), set NPC frame (16,0), wait (1) set NPC frame (16,1), wait (1), set NPC frame (16,0), wait (1) show text box (2822), wait (7), wait for key (usekey), advance text box set NPC frame (17,1), wait (1), set NPC frame (17,0), wait (1) set NPC frame (17,1), wait (1), set NPC frame (17,0), wait (1) show text box (2823), wait (7), wait for key (usekey), advance text box set NPC frame (16,1), wait (1), set NPC frame (16,0), wait (1) set NPC frame (16,1), wait (1), set NPC frame (16,0), wait (1) show text box (2824), wait (7), wait for key (usekey), advance text box set NPC frame (17,1), wait (1), set NPC frame (17,0), wait (1) set NPC frame (17,1), wait (1), set NPC frame (17,0), wait (1) show text box (2825), wait (7), wait for key (usekey), advance text box wait (5), set NPC direction (17,down), wait (5), set NPC frame (17,1) wait (1), set NPC frame (17,0), wait (1) set NPC frame (17,1), wait (1), set NPC frame (17,0), wait (1) show text box (2826), wait (7), wait for key (usekey), advance text box set tag (tag:EINSAND,on), fade screen out, wait (5) play song (get ambient music), set hero position (me,10,52) camera follows hero (me), resume NPCs, resume player, resume box advance resume caterpillar, set caterpillar mode (off), wait (2), fade screen in, encounters end script,HildaValia,begin remember party, suspend player, suspend box advance swap by position (0,find hero (hero:Hilda)), swap by position (1,find hero (hero:Olaf)) set caterpillar mode (on), set hero position (1, 94, 5), set hero position (2, 6, 9) set hero position (3, 6, 9), wait (1), suspend caterpillar, walk hero (1,left,1) wait for hero (1), set hero direction (1,down),focus camera (91,8,4), wait for camera set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (2827), wait (7), wait for key (use key), advance text box set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) show text box (2828), wait (7), wait for key (use key), advance text box set hero direction (me,left) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (2829), wait (7), wait for key (use key), advance text box show text box (2830), wait (7), wait for key (use key), advance text box set hero direction (1,right) show text box (2831), wait (7), wait for key (use key), advance text box show text box (2832), wait (7), wait for key (use key), advance text box show text box (2833), wait (7), wait for key (use key), advance text box set hero direction (1,down), set hero direction (0,down) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) show text box (2834), wait (7), wait for key (use key), advance text box set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (2835), wait (7), wait for key (use key), advance text box show text box (2836), wait (7), wait for key (use key), advance text box set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) set hero frame (1,1), wait (1), set hero frame (1,0), wait (1) show text box (2837), wait (7), wait for key (use key), advance text box show text box (2838), wait (7), wait for key (use key), advance text box set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (2839), wait (7), wait for key (use key), advance text box, wait (4) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (2840), wait (7), wait for key (use key), advance text box, wait (10) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (2841), wait (7), wait for key (use key), advance text box, wait (10) show text box (2842), wait (7), wait for key (use key), advance text box wait (5), set hero direction (1,right), set hero direction (0,left), wait (15) set hero direction (1,down), set hero direction (0,down) bossintroduction, fight formation (313) swap by position (0,find hero (hero:Hilda)), swap by position (1,find hero (hero:Olaf)) tweak palette (0,10,0), update palette, play sound (sfx:Death,false,true) teach spell ((find hero(hero:Hilda)),atk:Valiant), wait (10), reset palette, fade screen in show text box (2843), wait (7), wait for key (use key), advance text box set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (2844), wait (7), wait for key (use key), advance text box walk hero (1,right,1), wait for hero (1),focus camera (94,5,4) wait for camera, camera follows hero (me), wait (1) resume caterpillar, set caterpillar mode (off), wait (1) resume box advance, resume player, reinstate party, encounters end script,Linnorm,begin remember party, suspend player, suspend box advance play sound (sfx:Roar,false,true), wait (4) bossintroduction, fight formation (314) set tag (tag:LINNORM,on), swap by position (0,find hero (hero:Styrge)) tweak palette (0,10,0), update palette, play sound (sfx:TornadoMagic,false,true) teach spell ((find hero(hero:Styrge)),atk:Drakedoom), wait (10) reset palette, fade screen in show text box (2845), wait (7), wait for key (use key), advance text box show text box (2846), wait (7), wait for key (use key), advance text box resume player, resume box advance, reinstate party, encounters end script,TripCut,begin remember party, suspend player, suspend box advance swap by position (0,find hero (hero:Kitt)) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (2851), wait (7), wait for key (use key), advance text box set NPC frame (24,1), wait (1), set NPC frame (24,0), wait (1) set NPC frame (24,1), wait (1), set NPC frame (24,0), wait (1) show text box (2852), wait (7), wait for key (use key), advance text box set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (2853), wait (7), wait for key (use key), advance text box set NPC frame (24,1), wait (1), set NPC frame (24,0), wait (1) set NPC frame (24,1), wait (1), set NPC frame (24,0), wait (1) show text box (2854), wait (7), wait for key (use key), advance text box set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (2855), wait (7), wait for key (use key), advance text box set NPC frame (24,1), wait (1), set NPC frame (24,0), wait (1) set NPC frame (24,1), wait (1), set NPC frame (24,0), wait (1) show text box (2856), wait (7), wait for key (use key), advance text box show text box (2857), wait (7), wait for key (use key), advance text box BOSS INTRODUCTION,fight formation (315), swap by position (0,find hero (hero:Kitt)) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (2858), wait (7), wait for key (use key), advance text box set NPC frame (24,1), wait (1), set NPC frame (24,0), wait (1) set NPC frame (24,1), wait (1), set NPC frame (24,0), wait (1) show text box (2859), wait (7), wait for key (use key), advance text box set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (2860), wait (7), wait for key (use key), advance text box set NPC frame (24,1), wait (1), set NPC frame (24,0), wait (1) set NPC frame (24,1), wait (1), set NPC frame (24,0), wait (1) show text box (2861), wait (7), wait for key (use key), advance text box walk NPC (24,left,1), walk hero (me,left,1), wait for hero (me) walk NPC (24,right,2), walk hero (me,right,2), wait for hero (me) walk NPC (24,left,1), set NPC direction (24,right) walk hero (me,left,1), wait for hero (me) tweak palette (10,0,0), update palette, play sound (sfx:Slash8Bit,false,true) teach spell ((find hero(hero:Kitt)),atk:TripleCut), wait (10), reset palette, fade screen in show text box (2862), wait (7), wait for key (use key), advance text box set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) set hero frame (0,1), wait (1), set hero frame (0,0), wait (1) show text box (2863), wait (7), wait for key (use key), advance text box set NPC frame (24,1), wait (1), set NPC frame (24,0), wait (1) set NPC frame (24,1), wait (1), set NPC frame (24,0), wait (1) show text box (2864), wait (7), wait for key (use key), advance text box show text box (2865), wait (7), wait for key (use key), advance text box show text box (2866), wait (7), wait for key (use key), advance text box fade screen out (63,63,63), wait (5), set tag (tag:Threecut,on) wait (5), fade screen in, resume player, resume box advance,reinstate party, encounters end # This script gives Kitt the sword Gram, and teaches him OctaSlash. # Way back when, Gram was called Excalibur, but THAT sword is NOT norse, # And only Renard deals with Celtic weapons. script,excalibur,begin remember party suspend player, suspend box advance greyscale palette, fade screen in, wait (3) show text box (2878), wait (7), wait for key (use key), advance text box wait (3), bossintroduction, fight formation (103), set tag (tag:Excal,on) show text box (3762), wait (7), wait for key (use key), advance text box show text box (3763), wait (7), wait for key (use key), advance text box teach spell ((find hero(hero:Kitt)),atk:OctaSlash) show text box (2879), wait (7), wait for key (use key), advance text box resume box advance, resume player reinstate party, encounters end # Uh oh! A constant! Some weirdness is coming up shortly! define constant(4, void parallax timer) script, void autorun, begin update void parallax end script, update void parallax, begin variable(sl, mapw, maph, screenw, screenh, layerw, layerh) if(current map <> map:Mt Jtun) then( stop timer(void parallax timer) # (The following is only needed if 'recreate map slices when leaving map' is off) sl := lookup slice(sl:map layer 0) set slice x(sl, 0) set slice y(sl, 0) exit script ) next camera pixel x := camera pixel x next camera pixel y := camera pixel y mapw := map width * 20 maph := map height * 20 screenw := slice width(sprite layer) screenh := slice height(sprite layer) layerw := mapw / 5 # e.g. 50 * 20 pixels layerh := maph / 5 # e.g. 20 * 20 pixels sl := lookup slice(sl:map layer 0) calculate next camera pixel xy set slice x(sl, (next camera pixel x * (mapw -- layerw) / (mapw -- screenw))) set slice y(sl, (next camera pixel y * (maph -- layerh) / (maph -- screenh))) # Set the script to run again next tick set timer(void parallax timer, 0, 1, @update void parallax) end script, dir X, dir, begin switch (dir) do ( case (up, down) do (return (0)) case (right) do (return (1)) case (left) do (return (-1)) ) end script, dir Y, dir, begin switch (dir) do ( case (left, right) do (return (0)) case (down) do (return (1)) case (up) do (return (-1)) ) end script, trying to move direction, begin return (-1) # If a textbox is up or player is suspended, the hero can't move if (current textbox > -1 || player is suspendeda) then (exit returning (false)) # Nor if a menu is up which suspends gameplay. # A more complicated menu check could be required if you are using fancy scripted menus that are always visible. if(top menu) then(exit script) if (key is pressed(key:right)) then (return (right)) if (key is pressed(key:left)) then (return (left)) if (key is pressed(key:down)) then (return (down)) if (key is pressed(key:up)) then (return (up)) end # Return true if "suspend player" is active script, player is suspendeda, begin return ((read general(44), and, 2) <> 0) end # This will return true if hero 0 will move this tick, either because # they're already moving or because of player input to start a new # step. # There are no commands that can tell you that directly: you have to # figure it out by checking keypresses and for obstructions. # Note: this doesn't handle all edge cases, like multiple NPCs # on one tile, or NPCs over the edge of the map script, hero will move, begin variable (dir, npc) if (hero is walking(0)) then (exit returning (true)) # Check for player input dir := trying to move direction if (dir == -1) then (exit returning (false)) # If there's a wall in the way, nothing will happen (unless walls are suspended...) if (check hero wall(0, dir)) then (exit returning (false)) # Check for an NPC in the way which you can't step on # (this isn't correct either if obstruction is suspended, or other edge cases) npc := npc at spot (hero x(0) + dir x(dir), hero y(0) + dir y(dir)) if (npc && readNPC(npc, NPCstat:activation) <> NPCactivation:stepon) then (exit returning (false)) # OK, you will start walking in this direction return (true) end # Guess the direction that the leader will move this tick, or -1 if they won't move. script, next leader move direction, begin if (hero is walking(0)) then ( return (hero direction(0)) ) else if (hero will move) then ( return (trying to move direction) ) else ( return (-1) ) end # Guess the position the leader will move to this tick script, next leader pixel x, begin variable(ret, dir) ret := hero pixel x dir := next leader move direction if (dir <> -1) then ( ret += get hero speed(0) * dirX(dir) ) return (ret) end # Guess the position the leader will move to this tick script, next leader pixel y, begin variable(ret, dir) ret := hero pixel y dir := next leader move direction if (dir <> -1) then ( ret += get hero speed(0) * dirY(dir) ) return (ret) end # Updates the values of the "next camera pixel x/y" global variables. # Camera following NPCs or slices are not supported! script, calculate next camera pixel xy, begin variable(destx, desty, diff, cam dir, cam speed) variable(mapw, maph, screenw, screenh) screenw := slice width(sprite layer) screenh := slice height(sprite layer) mapw := map width * 20 maph := map height * 20 next camera pixel x := camera pixel x next camera pixel y := camera pixel y # Check value of gen(genCameraMode) if (read general(45) == 0) then ( # herocam (camera following hero) # Offset from the top-left of the hero sprite to the topleft of the screen next camera pixel x := next leader pixel x -- (screenw -- 20) / 2 next camera pixel y := next leader pixel y -- (screenh -- 20) / 2 ) else if (read general(45) == 2) then ( #pancam cam dir := read general(46) cam speed := read general(48) next camera pixel x += dirX(cam dir) * cam speed next camera pixel y += dirY(cam dir) * cam speed ) else if (read general(45) == 3) then ( #focuscam destx := read general(46) desty := read general(47) cam speed := read general(48) diff := destx -- camera pixel x if (abs(diff) <= cam speed) then ( next camera pixel x := dest x ) else ( next camera pixel x += sign(diff) * cam speed ) diff := desty -- camera pixel y if (abs(diff) <= cam speed) then ( next camera pixel y := dest y ) else ( next camera pixel y += sign(diff) * cam speed ) ) # Crop to map edge if (next camera pixel x < 0) then (next camera pixel x := 0) if (next camera pixel x > mapw -- screenw) then (next camera pixel x := mapw -- screenw) if (next camera pixel y < 0) then (next camera pixel y := 0) if (next camera pixel y > maph -- screenh) then (next camera pixel y := maph -- screenh) end script, water autorun, begin update water parallax end script, update water parallax, begin variable(sl, mapw, maph, screenw, screenh, layerw, layerh) if(current map <> map:Shore of the Midgarsorm) then( stop timer(void parallax timer) # (The following is only needed if 'recreate map slices when leaving map' is off) sl := lookup slice(sl:map layer 0) set slice x(sl, 0) set slice y(sl, 0) exit script ) mapw := map width * 20 maph := map height * 20 screenw := slice width(sprite layer) screenh := slice height(sprite layer) layerw := mapw / 5 # e.g. 50 * 20 pixels layerh := maph / 5 # e.g. 20 * 20 pixels sl := lookup slice(sl:map layer 0) calculate next camera pixel xy set slice x(sl, (next camera pixel x * (mapw -- layerw) / (mapw -- screenw))) set slice y(sl, (next camera pixel y * (maph -- layerh) / (maph -- screenh))) # Set the script to run again next tick set timer(void parallax timer, 0, 1, @update water parallax) end # Tetracut is an attack for Kitt that does Fire, Ice, and Lightning damage # Plus a physical attack. Enemies that are weak against magic can get wrecked! script,tetracut,begin suspend player, suspend box advance show text box (2874), wait (7), wait for key (use key), advance text box wait (1), tweak palette (10,0,0), update palette play sound (sfx:StormMagic,false,true), teach spell ((find hero(hero:Kitt)),atk:Tetracut) wait (10), reset palette, fade screen in show text box (2935), wait (7), wait for key (use key), advance text box resume box advance, resume player end script,reaper,begin suspend player, suspend box advance show text box (4031), wait (7), wait for key (use key), advance text box show text box (4032), wait (7), wait for key (use key), advance text box show text box (4033), wait (7), wait for key (use key), advance text box show text box (4034), wait (7), wait for key (use key), advance text box show text box (4035), wait (7), wait for key (use key), advance text box show text box (4036), wait (7), wait for key (use key), advance text box show text box (4037), wait (7), wait for key (use key), advance text box wait (1), tweak palette (10,0,0), update palette play sound (sfx:Death,false,true), teach spell ((find hero(hero:Night)),atk:Reaper) wait (10), reset palette, fade screen in show text box (2877), wait (7), wait for key (use key), advance text box show text box (4038), wait (7), wait for key (use key), advance text box set tag (tag:DEATHREAPER,on), resume box advance, resume player end script,silencer,begin suspend player, suspend box advance wait (1), tweak palette (10,0,0), update palette play sound (sfx:Death,false,true), teach spell ((find hero(hero:Night)),atk:Silencer) wait (10), reset palette, fade screen in show text box (2936), wait (7), wait for key (use key), advance text box resume box advance, resume player end script,panopt1,begin suspend player, suspend box advance, wait (10) show text box (2995), wait (7), wait for key (use key), advance text box walk hero to x (me, 6), wait for hero (me), walk hero to y (me,5), wait for hero (me), set hero direction (me,up) show text box (2996), wait (7), wait for key (use key), advance text box show text box (2997), wait (7), wait for key (use key), advance text box show text box (2998), wait (7), wait for key (use key), advance text box show text box (2999), wait (7), wait for key (use key), advance text box wait (5), set NPC direction (1,right), wait (5) show text box (3000), wait (7), wait for key (use key), advance text box show text box (3001), wait (7), wait for key (use key), advance text box wait (5), set NPC direction (1,up), wait (5) show text box (3002), wait (7), wait for key (use key), advance text box show text box (3003), wait (7), wait for key (use key), advance text box wait (3), set NPC direction (1,right), wait (3), set NPC direction (1,down), wait (3) show text box (3004), wait (7), wait for key (use key), advance text box show text box (3005), wait (7), wait for key (use key), advance text box wait (3), set NPC direction (1,right), wait (3), set NPC direction (1,up), wait (3) show text box (3006), wait (7), wait for key (use key), advance text box set tag (tag:PANOPT1,on), resume box advance, resume player end script,panopt2,begin remember party, suspend player, suspend box advance, wait (10) show text box (3007), wait (7), wait for key (use key), advance text box walk hero to x (me, 30), wait for hero (me), swap by position (0,find hero (hero:Frumpy)) show text box (3008), wait (7), wait for key (use key), advance text box show text box (3009), wait (7), wait for key (use key), advance text box wait (3), set NPC direction (2,down), wait (3), set NPC direction (2,right), wait (3) show text box (3010), wait (7), wait for key (use key), advance text box show text box (3011), wait (7), wait for key (use key), advance text box wait (3), set NPC direction (2,down), wait (3), set NPC direction (2,left), wait (3) show text box (3012), wait (7), wait for key (use key), advance text box show text box (3013), wait (7), wait for key (use key), advance text box show text box (3014), wait (7), wait for key (use key), advance text box wait (3), set NPC direction (2,down), wait (3), set NPC direction (2,right), wait (3) show text box (3015), wait (7), wait for key (use key), advance text box show text box (3016), wait (7), wait for key (use key), advance text box show text box (3017), wait (7), wait for key (use key), advance text box set tag (tag:PANOPT2,on),resume box advance, resume player,reinstate party end script,panopt3,begin remember party, suspend player, suspend box advance, wait (10) show text box (3018), wait (7), wait for key (use key), advance text box walk hero to y (me, 6), wait for hero (me), swap by position (0,find hero (hero:Freki)) walk hero to x (me, 52), set hero direction (me,left) show text box (3019), wait (7), wait for key (use key), advance text box show text box (3020), wait (7), wait for key (use key), advance text box wait (3), set NPC direction (3,down), wait (3), set NPC direction (3,left), wait (3) show text box (3021), wait (7), wait for key (use key), advance text box show text box (3022), wait (7), wait for key (use key), advance text box wait (3), set NPC direction (3,down), wait (3), set NPC direction (3,right), wait (3) show text box (3023), wait (7), wait for key (use key), advance text box show text box (3024), wait (7), wait for key (use key), advance text box show text box (3025), wait (7), wait for key (use key), advance text box wait (3), set NPC direction (3,down), wait (3), set NPC direction (3,left), wait (3) show text box (3026), wait (7), wait for key (use key), advance text box show text box (3027), wait (7), wait for key (use key), advance text box show text box (3028), wait (7), wait for key (use key), advance text box set tag (tag:PANOPT3,on), resume box advance, resume player, reinstate party end script,panopt4,begin remember party, suspend player, suspend box advance, wait (10) show text box (3029), wait (7), wait for key (use key), advance text box walk hero (me,up,1), wait for hero (me), swap by position (0,find hero (hero:Renard)) set hero direction (me,right) show text box (3030), wait (7), wait for key (use key), advance text box show text box (3031), wait (7), wait for key (use key), advance text box wait (3), set NPC direction (4,down), wait (3), set NPC direction (4,right), wait (3) show text box (3032), wait (7), wait for key (use key), advance text box show text box (3033), wait (7), wait for key (use key), advance text box wait (3), set NPC direction (4,down), wait (3), set NPC direction (4,left), wait (3) show text box (3034), wait (7), wait for key (use key), advance text box show text box (3035), wait (7), wait for key (use key), advance text box wait (3), set NPC direction (4,down), wait (3), set NPC direction (4,right), wait (3) show text box (3036), wait (7), wait for key (use key), advance text box show text box (3037), wait (7), wait for key (use key), advance text box show text box (3038), wait (7), wait for key (use key), advance text box wait (3), set NPC direction (4,down), wait (3), set NPC direction (4,left), wait (3) show text box (3039), wait (7), wait for key (use key), advance text box set tag (tag:PANOPT4,on), resume box advance, resume player, reinstate party end script,panopt5,begin remember party, suspend player, suspend box advance, wait (10) show text box (3040), wait (7), wait for key (use key), advance text box show text box (3041), wait (7), wait for key (use key), advance text box show text box (3042), wait (7), wait for key (use key), advance text box show text box (3043), wait (7), wait for key (use key), advance text box wait (10), set tag (tag:PANOPT5,on), wait (10) show text box (3044), wait (7), wait for key (use key), advance text box resume box advance,resume player end script,panopt6,begin remember party, suspend player, suspend box advance wait (10),swap by position (0,find hero (hero:Olaf)) set hero direction (me,right) show text box (3045), wait (7), wait for key (use key), advance text box show text box (3046), wait (7), wait for key (use key), advance text box show text box (3047), wait (7), wait for key (use key), advance text box show text box (3048), wait (7), wait for key (use key), advance text box show text box (3047), wait (7), wait for key (use key), advance text box show text box (3049), wait (7), wait for key (use key), advance text box show text box (3047), wait (7), wait for key (use key), advance text box show text box (3050), wait (7), wait for key (use key), advance text box show text box (3047), wait (7), wait for key (use key), advance text box show text box (3051), wait (7), wait for key (use key), advance text box show text box (3047), wait (7), wait for key (use key), advance text box show text box (3052), wait (7), wait for key (use key), advance text box show text box (3053), wait (7), wait for key (use key), advance text box show text box (3054), wait (7), wait for key (use key), advance text box wait (20), set tag (tag:PANOPT6,on), wait (20) show text box (3055), wait (7), wait for key (use key), advance text box resume box advance, resume player, reinstate party end script,panopt7,begin remember party, suspend player, suspend box advance wait (10),swap by position (0,find hero (hero:Hilda)), set hero direction (me,up) show text box (3056), wait (7), wait for key (use key), advance text box show text box (3057), wait (7), wait for key (use key), advance text box show text box (3058), wait (7), wait for key (use key), advance text box show text box (3059), wait (7), wait for key (use key), advance text box show text box (3060), wait (7), wait for key (use key), advance text box show text box (3061), wait (7), wait for key (use key), advance text box show text box (3062), wait (7), wait for key (use key), advance text box wait (20), set tag (tag:PANOPT7,on), wait (20) show text box (3063), wait (7), wait for key (use key), advance text box resume box advance, resume player, reinstate party end script,panopt8,begin remember party, suspend player, suspend box advance wait (10),swap by position (0,find hero (hero:Bram)) set hero direction (me,up) show text box (3064), wait (7), wait for key (use key), advance text box show text box (3065), wait (7), wait for key (use key), advance text box show text box (3066), wait (7), wait for key (use key), advance text box show text box (3067), wait (7), wait for key (use key), advance text box show text box (3068), wait (7), wait for key (use key), advance text box show text box (3069), wait (7), wait for key (use key), advance text box show text box (3070), wait (7), wait for key (use key), advance text box show text box (3071), wait (7), wait for key (use key), advance text box show text box (3072), wait (7), wait for key (use key), advance text box show text box (3073), wait (7), wait for key (use key), advance text box show text box (3074), wait (7), wait for key (use key), advance text box show text box (3075), wait (7), wait for key (use key), advance text box show text box (3076), wait (7), wait for key (use key), advance text box wait (20), set tag (tag:PANOPT8,on), wait (20) show text box (3077), wait (7), wait for key (use key), advance text box resume box advance, resume player, reinstate party end script,panopt9,begin remember party, suspend player, suspend box advance, wait (10) show text box (3078), wait (7), wait for key (use key), advance text box wait (10), swap by position (0,find hero (hero:Freki)), wait (10) set hero direction (me,right) show text box (3079), wait (7), wait for key (use key), advance text box show text box (3080), wait (7), wait for key (use key), advance text box wait (3), set NPC direction (40,down), wait (3), set NPC direction (40,right), wait (3) show text box (3081), wait (7), wait for key (use key), advance text box show text box (3082), wait (7), wait for key (use key), advance text box wait (3), set NPC direction (40,down), wait (3), set NPC direction (40,left), wait (3) show text box (3083), wait (7), wait for key (use key), advance text box show text box (3084), wait (7), wait for key (use key), advance text box show text box (3085), wait (7), wait for key (use key), advance text box wait (3), set NPC direction (40,down), wait (3), set NPC direction (40,right), wait (3) show text box (3086), wait (7), wait for key (use key), advance text box show text box (3087), stop song, wait (7), wait for key (use key), advance text box wait (20), set tag (tag:PANOPT9,on), wait (20) show text box (3088), wait (7), wait for key (use key), advance text box resume box advance, resume player,reinstate party end # A final story script, but this one's optional. Kyle apologizes for his actions, # Then begs the party to defeat whatever monster lurks in the abyss of the void. # With his last breath, he accepts his end and fades away. script,kylevoid,begin suspend player, suspend box advance walk hero to x (me, 67), wait for hero (me), walk hero to y (me,50), wait for hero (me) swap by position (0,find hero (hero:Freki)), set hero direction (me,left) set caterpillar mode (on) set hero position (1, 67, 50), set hero position (2, 67, 50), set hero position (3, 67, 50), wait (5) suspend caterpillar walk hero (1,up,1),walk hero (2,down,1), walk hero (3,right,1), wait for hero (3) set hero direction (1,left), set hero direction (2,left), set hero direction (3,left) wait (10) show text box (2880), wait (7), wait for key (use key), advance text box show text box (2881), wait (7), wait for key (use key), advance text box show text box (2882), wait (7), wait for key (use key), advance text box show text box (2883), wait (7), wait for key (use key), advance text box show text box (2884), wait (7), wait for key (use key), advance text box show text box (2885), wait (7), wait for key (use key), advance text box set npc direction (24,up) show text box (3110), wait (7), wait for key (use key), advance text box show text box (3111), wait (7), wait for key (use key), advance text box show text box (3112), wait (7), wait for key (use key), advance text box show text box (3113), wait (7), wait for key (use key), advance text box show text box (3114), wait (7), wait for key (use key), advance text box wait (10), set npc direction (24,down), wait (10) show text box (3115), wait (7), wait for key (use key), advance text box wait (10), set npc direction (24,up), wait (10) show text box (3116), wait (7), wait for key (use key), advance text box show text box (3117), wait (7), wait for key (use key), advance text box show text box (3118), wait (7), wait for key (use key), advance text box show text box (3119), wait (7), wait for key (use key), advance text box show text box (3120), wait (7), wait for key (use key), advance text box wait (10), set npc direction (24,down), wait (10) show text box (3121), wait (7), wait for key (use key), advance text box wait (20) show text box (3122), wait (7), wait for key (use key), advance text box wait (20) show text box (3123), wait (7), wait for key (use key), advance text box wait (20) show text box (3124), wait (7), wait for key (use key), advance text box wait (20) set tag (tag:KYLEDIES,on) walk hero (1,down,1),walk hero (2,up,1), walk hero (3,left,1), wait for hero (3) set caterpillar mode (off), wait (3), resume caterpillar resume box advance, resume player end script,defender,begin remember party suspend player, suspend box advance swap by position (0,find hero (hero:Freki)) show text box (3125), wait (7), wait for key (use key), advance text box if ((checktag(tag:Guiltdefeated)==on) and (checktag(tag:Billybeat)==on)) then (if ((checktag(tag:Managarm defeated)==on) and (checktag(tag:ERUSAIZU)==on)) then ( (if ((checktag(tag:LIGHTCRYSTAL)==on) and (checktag(tag:DARKMATTER)==on)) then ( show text box (3126), wait (7), wait for key (use key), advance text box ) ) ) else ( show text box (3127), wait (7), wait for key (use key), advance text box) ) resume box advance,resume player end # Here it is. The final boss. script,trueboss,begin suspend player, suspend box advance, fade screen out (63,63,63) wait (20),set caterpillar mode (off), resume caterpillar,camera follows hero (me) wait (5), use door (0) show text box (3128), wait (7), wait for key (use key), advance text box show text box (3129), wait (7), wait for key (use key), advance text box show text box (3130), wait (7), wait for key (use key), advance text box show text box (3131), wait (7), wait for key (use key), advance text box show text box (3132), wait (7), wait for key (use key), advance text box tweak palette (63,63,63), play sound (sfx:ThunderMagic,false,true) ,update palette, set npc position (10,8,3) wait (7),reset palette,update palette, set npc direction (0,up), set npc direction (1,up), set npc direction (4,up) show text box (3133), wait (7), wait for key (use key), advance text box show text box (3134), wait (7), wait for key (use key), advance text box show text box (3135), wait (7), wait for key (use key), advance text box show text box (3136), wait (7), wait for key (use key), advance text box show text box (3137), wait (7), wait for key (use key), advance text box show text box (3138), wait (7), wait for key (use key), advance text box show text box (3139), wait (7), wait for key (use key), advance text box show text box (3140), wait (7), wait for key (use key), advance text box show text box (3141), wait (7), wait for key (use key), advance text box show text box (3142), wait (7), wait for key (use key), advance text box #Begin the badass boasting play song (song:Vikings of Midgard) walk npc (1,up,1) show text box (3143), wait (7), wait for key (use key), advance text box walk npc (9,left,1) show text box (3144), wait (7), wait for key (use key), advance text box walk npc (2,right,1), wait for npc (2), set npc direction (2,up) show text box (3145), wait (7), wait for key (use key), advance text box walk npc (4,up,1) show text box (3146), wait (7), wait for key (use key), advance text box walk npc (8,right,1) show text box (3147), wait (7), wait for key (use key), advance text box walk npc (7,right,1) show text box (3148), wait (7), wait for key (use key), advance text box walk npc (3,left,1), wait for npc (3), set npc direction (3,up) show text box (3149), wait (7), wait for key (use key), advance text box walk npc (5,left,1) show text box (3150), wait (7), wait for key (use key), advance text box walk npc (6,right,1) show text box (3151), wait (7), wait for key (use key), advance text box walk npc (0,up,1) show text box (3152), wait (7), wait for key (use key), advance text box stop song, wait (20) #end badass boasting. The villain starts calling out the party. play song (song:Vile) show text box (3153), wait (7), wait for key (use key), advance text box show text box (3154), wait (7), wait for key (use key), advance text box show text box (3155), walk npc (6,down,1), walk npc (6,right,3), wait for npc (6) set npc direction (6,up), wait for key (use key), advance text box show text box (3156), wait (7), wait for key (use key), advance text box show text box (3157), walk npc (8,right,3), wait for npc (3), set npc direction (8,up) wait for key (use key), advance text box show text box (3158), wait (7), wait for key (use key), advance text box show text box (3159), walk npc (7,down,1), walk npc (9,left,1), wait for npc (7) set npc direction (9,up), walk npc (7,right,4), wait for npc (7), set npc direction (7,up) wait for key (use key), advance text box show text box (3160), wait (7), wait for key (use key), advance text box show text box (3161), walk npc (5,down,1), walk npc (5,left,3), wait for npc (5), set npc direction (5,up) wait (7), wait for key (use key), advance text box # You thought it was that other guy, but it was me! Cthulhu! stop song, wait (20) tweak palette (63,63,63), play sound (sfx:ThunderMagic,false,true) ,update palette, set npc position (11,8,3) set npc position (10,8,9), wait (7),reset palette,update palette, set npc direction (0,up) show text box (3162), wait (7), wait for key (use key), advance text box show text box (3163), wait (7), wait for key (use key), advance text box, wait (20) show text box (3164), wait (7), wait for key (use key), advance text box show text box (3165), wait (7), wait for key (use key), advance text box show text box (3166), wait (7), wait for key (use key), advance text box show text box (3167), wait (7), wait for key (use key), advance text box show text box (3168), wait (7), wait for key (use key), advance text box show text box (3169), wait (7), wait for key (use key), advance text box show text box (3170), wait (7), wait for key (use key), advance text box show text box (3171), wait (7), wait for key (use key), advance text box show text box (3172), wait (7), wait for key (use key), advance text box show text box (3173), wait (7), wait for key (use key), advance text box show text box (3174), wait (7), wait for key (use key), advance text box show text box (3175), wait (7), wait for key (use key), advance text box show text box (3176), wait (7), wait for key (use key), advance text box show text box (3177), wait (7), wait for key (use key), advance text box show text box (3178), wait (7), wait for key (use key), advance text box show text box (3179), wait (7), wait for key (use key), advance text box show text box (3180), wait (7), wait for key (use key), advance text box, wait (20) show text box (3181), wait (7), wait for key (use key), advance text box show text box (3182), wait (7), wait for key (use key), advance text box show text box (3183), wait (7), wait for key (use key), advance text box show text box (3184), wait (7), wait for key (use key), advance text box use shop (shop:Before Combat), wait (5),remember party, wait (1) BossIntroduction set victory music (song:Hail The Conquering Heroes) # Don't ask, but the very first formation in the game's data is specifically reserved FOR the final boss. fight formation (0),set tag (tag:CTHULHUFINAL,on) # And because it's a long ass script, we're going to shove the Epilogue into # It's own script and call it here. FINALE resume box advance, resume player end script, ginga autorun, begin update ginga parallax end script, update ginga parallax, begin variable(sl, mapw, maph, screenw, screenh, layerw, layerh) if(current map <> map:Ginnungagap) then( stop timer(void parallax timer) # (The following is only needed if 'recreate map slices when leaving map' is off) sl := lookup slice(sl:map layer 0) set slice x(sl, 0) set slice y(sl, 0) exit script ) mapw := map width * 20 maph := map height * 20 screenw := slice width(sprite layer) screenh := slice height(sprite layer) layerw := mapw / 10 # e.g. 50 * 20 pixels layerh := maph / 10 # e.g. 20 * 20 pixels sl := lookup slice(sl:map layer 0) calculate next camera pixel xy set slice x(sl, (next camera pixel x * (mapw -- layerw) / (mapw -- screenw))) set slice y(sl, (next camera pixel y * (maph -- layerh) / (maph -- screenh))) # Set the script to run again next tick set timer(void parallax timer, 0, 1, @update ginga parallax) end script,gahn1,begin suspend player, suspend box advance, suspend obstruction show text box (3466), wait (7), wait for key (use key), advance text box show text box (3467), wait (7), wait for key (use key), advance text box show text box (3468), wait (7), wait for key (use key), advance text box focus camera (24,25,2), set hero direction (me,left), set NPC direction (6,left) show text box (3469), wait (7), wait for key (use key), advance text box show text box (3470), wait (7), wait for key (use key), advance text box show text box (3471), wait (7), wait for key (use key), advance text box wait for camera show text box (3472), wait (7), wait for key (use key), advance text box show text box (3473), wait (7), wait for key (use key), advance text box set hero direction (me,down), set NPC direction (6,up) focus camera (38,25,4), wait for camera, camera follows hero (me) show text box (3474), wait (7), wait for key (use key), advance text box show text box (3475), wait (7), wait for key (use key), advance text box show text box (3476), wait (7), wait for key (use key), advance text box show text box (3477), wait (7), wait for key (use key), advance text box walk NPC (6,up,1), wait for NPC (6) wait (5) resume player, resume box advance, resume obstruction set tag (tag:GAHN1, on) end script,gahn2,begin suspend player, suspend box advance, suspend obstruction show text box (3478), wait (7), wait for key (use key), advance text box focus camera (24,25,2), set hero direction (me,up), set NPC direction (7,up) show text box (3479), wait (7), wait for key (use key), advance text box show text box (3480), wait (7), wait for key (use key), advance text box wait for camera, set NPC position (7,23,39) show text box (3481), wait (7), wait for key (use key), advance text box show text box (3482), wait (7), wait for key (use key), advance text box set hero direction (me,left), set NPC direction (7,right) focus camera (24,39,4), wait for camera, camera follows hero (me) walk NPC (7,right,1), wait for NPC (7) wait (5) set NPC position (7,0,0), wait (5) resume player, resume box advance, resume obstruction end script,gahn3,begin suspend player, suspend box advance, suspend obstruction show text box (3483), wait (7), wait for key (use key), advance text box show text box (3484), wait (7), wait for key (use key), advance text box focus camera (24,25,2), set hero direction (me,right), set NPC direction (7,right) show text box (3485), wait (7), wait for key (use key), advance text box show text box (3486), wait (7), wait for key (use key), advance text box wait for camera, set NPC position (7,15,24) show text box (3487), wait (7), wait for key (use key), advance text box show text box (3488), wait (7), wait for key (use key), advance text box show text box (3489), wait (7), wait for key (use key), advance text box set hero direction (me,right), set NPC direction (7,right) focus camera (15,25,4), wait for camera, camera follows hero (me) show text box (3490), wait (7), wait for key (use key), advance text box show text box (3491), wait (7), wait for key (use key), advance text box show text box (3492), wait (7), wait for key (use key), advance text box walk NPC (7,down,1), wait for NPC (7) wait (5) set NPC position (7,0,0), wait (5) resume player, resume box advance, resume obstruction end script,jade,begin suspend player, suspend box advance, suspend obstruction show text box (3493), wait (7), wait for key (use key), advance text box walk hero (me,up,2), wait for hero (me), set NPC direction (7,up) set NPC position (7,24,26), walk NPC (7,left,1), wait for NPC set caterpillar mode (on), set hero position (1,24,26), set hero position (2,24,26) set hero position (3,24,26), suspend caterpillar, wait (3) walk NPC (7,up,1) walk hero (1,left,1), walk hero (2,right,1), walk hero (3,down,1) wait for hero (1), set NPC direction (7,right), wait for hero (1) set hero direction (1,up), set hero direction (2,up), set hero direction (3,up) wait (3), set NPC position (1,24,32), set NPC direction (1,up) show text box (3494), wait (7), wait for key (use key), advance text box set hero direction (me,down), set hero direction (1,down) set hero direction (2,down), set hero direction (3,down) focus camera (24,32,4), wait for camera, walk NPC (1,up,1) show text box (3495), wait (7), wait for key (use key), advance text box show text box (3496), wait (7), wait for key (use key), advance text box play song (song:Vile) focus camera (24,25,4), walk NPC (7,up,1), wait for NPC (7) walk NPC (7,right,1), wait for NPC (7),wait for camera set NPC direction (7,down) show text box (3497), wait (7), wait for key (use key), advance text box set hero direction (me,up), set hero direction (1,up) set hero direction (2,up), set hero direction (3,up) wait (5), BossIntroduction fight formation (259) play song (song:An Unfortunate End) show text box (3498), wait (7), wait for key (use key), advance text box show text box (3499), wait (7), wait for key (use key), advance text box show text box (3500), wait (7), wait for key (use key), advance text box fade screen out (63,63,63), stop song, wait (5) remember party swap by position (0,find hero (hero:Freki)) swap by position (2,find hero (hero:Hilda)) swap by position (1,find hero (hero:Olaf)) swap by position (3,find hero (hero:Frumpy)) set NPC position (7,0,0) set NPC position (5,24,23), set NPC direction (5,down), wait (5), fade screen in play song (song:In Soft Reflection) show text box (3501), wait (7), wait for key (use key), advance text box show text box (3502), wait (7), wait for key (use key), advance text box walk hero (2,up,1), walk hero (me,right,1), walk hero (1,right,1), wait for hero (me) walk hero (2,up,1), walk hero (me,up,1), walk hero (1,right,1), wait for hero (me) walk hero (2,right,1), walk hero (1,right,1), walk hero (3,up,1), wait for hero (1) walk hero (1,up,1), walk hero (3,right,1), wait for hero (1) set hero direction (2,down), set hero direction (me,down), set hero direction (1,down), set hero direction (3,down) walk NPC (1,up,5) set hero direction (3,left), walk NPC (5,left,1), wait for NPC (5) walk NPC (5,down,1), wait for NPC (1), set NPC direction (5,right), set NPC direction (1,left) show text box (3503), wait (7), wait for key (use key), advance text box show text box (3504), wait (7), wait for key (use key), advance text box wait (5), set NPC direction (5,down), wait (5), set NPC direction (5,left), wait (5) show text box (3505), wait (7), wait for key (use key), advance text box show text box (3506), wait (7), wait for key (use key), advance text box wait (5), set NPC direction (5,down), wait (5), set NPC direction (5,right), wait (5) show text box (3507), wait (7), wait for key (use key), advance text box show text box (3508), wait (7), wait for key (use key), advance text box show text box (3509), wait (7), wait for key (use key), advance text box show text box (3510), wait (7), wait for key (use key), advance text box wait (5), set NPC direction (5,up), wait (5) show text box (3511), wait (7), wait for key (use key), advance text box show text box (3512), wait (7), wait for key (use key), advance text box show text box (3513), wait (7), wait for key (use key), advance text box wait (5), set hero direction (2,down), wait (5) show text box (3514), wait (7), wait for key (use key), advance text box wait (5), set hero direction (3,up), set NPC direction (1,up), wait (5) show text box (3515), wait (7), wait for key (use key), advance text box show text box (3516), wait (7), wait for key (use key), advance text box show text box (3517), wait (7), wait for key (use key), advance text box set hero direction (1,down), set hero direction (2,down), set hero direction (3,left) wait (5), set NPC direction (5,right), wait (5) show text box (3518), wait (7), wait for key (use key), advance text box wait (5), set NPC direction (1,left), wait (5) walk NPC (1,left,1), wait for NPC (1), walk NPC (1,up,1) show text box (3519), wait (7), wait for key (use key), advance text box wait (10) show text box (3520), wait (7), wait for key (use key), advance text box fade screen out (63,63,63), wait (5) set NPC position (5,0,0), set NPC position (1,0,0), wait (5), set tag (tag:JADE,on) set caterpillar mode (off), resume caterpillar, camera follows hero (me), wait for camera, wait (5) fade screen in show text box (3521), wait (7), wait for key (use key), advance text box resume player, resume box advance, resume obstruction, encounters end # The actual finale of the game. script,FINALE,begin play song (song:Sleeping Buddha) show text box (3700), wait (7), wait for key (use key), advance text box walk NPC (5,up,2), walk NPC (6,left,2), walk NPC (3,right,2), walk NPC (2,up,1) walk NPC (0,up,1), walk NPC (7,left,1), walk NPC (9,right,1), wait for NPC (3) set NPC direction (0,down), set NPC direction (1,right), set NPC direction (2,right) set NPC direction (3,left), set NPC direction (4,left), set NPC direction (5,down) set NPC direction (6,right), set NPC direction (7,right), set NPC direction (9,left) wait (10) show text box (3701), wait (7), wait for key (use key), advance text box show text box (3702), wait (7), wait for key (use key), advance text box wait (5), set NPC direction (4,down), wait (5) show text box (3703), wait (7), wait for key (use key), advance text box show text box (3704), wait (7), wait for key (use key), advance text box show text box (3705), wait (7), wait for key (use key), advance text box show text box (3706), wait (7), wait for key (use key), advance text box show text box (3707), wait (7), wait for key (use key), advance text box wait (5), set NPC direction (5,left), wait (5) show text box (3708), wait (7), wait for key (use key), advance text box wait (5), set NPC direction (3,down), wait (5) show text box (3709), wait (7), wait for key (use key), advance text box show text box (3710), wait (7), wait for key (use key), advance text box show text box (3711), wait (7), wait for key (use key), advance text box wait (5), set NPC direction (9,up), wait (5) show text box (3712), wait (7), wait for key (use key), advance text box wait (5), set NPC direction (1,down), wait (5) show text box (3713), wait (7), wait for key (use key), advance text box wait (5), set NPC direction (5,down), wait (5) show text box (3714), wait (7), wait for key (use key), advance text box wait (5), set NPC direction (2,up), wait (5) show text box (3715), wait (7), wait for key (use key), advance text box wait (5), set NPC direction (7,left), wait (5) show text box (3716), wait (7), wait for key (use key), advance text box walk NPC (0,left,1), set NPC direction (1,left), set NPC direction (2,left) set NPC direction (3,left), set NPC direction (4,left), set NPC direction (5,left) set NPC direction (6,right), set NPC direction (7,left), set NPC direction (9,left) wait (10) show text box (3717), wait (7), wait for key (use key), advance text box show text box (3718), wait (7), wait for key (use key), advance text box wait (5), set NPC direction (7,down), wait (5) show text box (3719), wait (7), wait for key (use key), advance text box show text box (3720), wait (7), wait for key (use key), advance text box wait (5), set NPC direction (7,right), wait (5) show text box (3721), wait (7), wait for key (use key), advance text box wait (5), set NPC direction (0,down), wait (5) show text box (3722), wait (7), wait for key (use key), advance text box wait (5), set NPC direction (8,up), wait (5) show text box (3723), wait (7), wait for key (use key), advance text box set NPC direction (0,down), set NPC direction (1,down), set NPC direction (2,down) set NPC direction (3,left), set NPC direction (4,down), set NPC direction (5,left) set NPC direction (6,right), set NPC direction (7,right), set NPC direction (9,left) wait (10) show text box (3724), wait (7), wait for key (use key), advance text box show text box (3725), wait (7), wait for key (use key), advance text box wait (5), set NPC direction (4,down), wait (5) show text box (3726), wait (7), wait for key (use key), advance text box wait (5), set NPC direction (8,right), wait (5) show text box (3727), wait (7), wait for key (use key), advance text box show text box (3728), wait (7), wait for key (use key), advance text box show text box (3729), wait (7), wait for key (use key), advance text box wait (5), set NPC direction (8,down), wait (5) show text box (3730), wait (7), wait for key (use key), advance text box show text box (3731), wait (7), wait for key (use key), advance text box wait (5), set NPC direction (8,right), wait (5) show text box (3732), wait (7), wait for key (use key), advance text box wait (5), set NPC direction (5,down), wait (5) show text box (3733), wait (7), wait for key (use key), advance text box show text box (3734), wait (7), wait for key (use key), advance text box wait (5), set NPC direction (7,down), wait (5) show text box (3735), wait (7), wait for key (use key), advance text box wait (5), set NPC direction (5,left), wait (5) show text box (3736), wait (7), wait for key (use key), advance text box wait (5), set NPC direction (4,down), wait (5), set NPC direction (4,right) wait (5), set NPC direction (4,up), wait (5), set NPC direction (4,left) wait (5), set NPC direction (4,down), wait (5) show text box (3737), wait (7), wait for key (use key), advance text box stop song, fade screen out play song (song:Second Star To The Right) walk hero (me,down,1) # #Renard's Epilogue show text box (3871), wait (10), fade screen in, wait (108), fade screen out wait (10) show text box (3858), wait (10), fade screen in, wait (108) show text box (3859), wait (108) show text box (3860), wait (108) show text box (3861), wait (108) show text box (3862), wait (108) show text box (3863), wait (108) show text box (3864), wait (108) show text box (3865), wait (108) show text box (3866), wait (108) show text box (3867), wait (108) show text box (3868), wait (108) show text box (3869), wait (108) show text box (3870), wait (108), fade screen out #Kitt's Epilogue show text box (3872), wait (10), fade screen in, wait (108), fade screen out wait (10) if (checktag (tag:utgard)==on) then ( show text box (3873), wait (10), fade screen in, wait (108) show text box (3874), wait (108) show text box (3875), wait (108) show text box (3876), wait (108) show text box (3877), wait (108) show text box (3878), wait (108) show text box (3879), wait (108) show text box (3880), wait (108) show text box (3881), wait (108) show text box (3882), wait (108) show text box (3883), wait (108), fade screen out ) else ( show text box (4206), wait (10), fade screen in, wait (108) show text box (4207), wait (108) show text box (4208), wait (108) show text box (4209), wait (108) show text box (4210), wait (108) show text box (4211), wait (108) show text box (4212), wait (108) show text box (4213), wait (108) show text box (4214), wait (108) show text box (4215), wait (108) show text box (4216), wait (108), fade screen out ) #Hilda's Epilogue show text box (3884), wait (10), fade screen in, wait (108), fade screen out wait (10) show text box (3885), wait (10), fade screen in, wait (108) show text box (3886), wait (108) show text box (3887), wait (108) show text box (3888), wait (108) show text box (3889), wait (108) show text box (3890), wait (108) show text box (3891), wait (108) show text box (3892), wait (108) show text box (3893), wait (108) show text box (3894), wait (108) show text box (3895), wait (108), fade screen out #Olaf's Epilogue show text box (3896), wait (10), fade screen in, wait (108), fade screen out wait (10) show text box (3897), wait (10), fade screen in, wait (108) show text box (3898), wait (108) show text box (3899), wait (108) show text box (3900), wait (108) show text box (3901), wait (108) show text box (3902), wait (108) show text box (3903), wait (108) show text box (3904), wait (108) show text box (3905), wait (108), fade screen out #Styrge's Epilogue show text box (3906), wait (10), fade screen in, wait (108), fade screen out wait (10) if (checktag (tag:styrge rejoins)==on) then ( show text box (3907), wait (10), fade screen in, wait (108) show text box (3908), wait (108) show text box (3909), wait (108) show text box (3910), wait (108) show text box (3911), wait (108) show text box (3912), wait (108) show text box (3913), wait (108) show text box (3914), wait (108) show text box (3915), wait (108), fade screen out ) else ( show text box (4217), wait (10), fade screen in, wait (108) show text box (4218), wait (108) show text box (4219), wait (108) show text box (4220), wait (108) show text box (4221), wait (108) show text box (4222), wait (108) show text box (4223), wait (108) show text box (4224), wait (108) show text box (4225), wait (108) show text box (4226), wait (108) show text box (4227), wait (108) show text box (4228), wait (108), fade screen out ) #Bram's Epilogue show text box (3916), wait (10), fade screen in, wait (108), fade screen out wait (10) show text box (3917), wait (10), fade screen in, wait (108) show text box (3918), wait (108) show text box (3919), wait (108) show text box (3920), wait (108) show text box (3921), wait (108) show text box (3922), wait (108) show text box (3923), wait (108) show text box (3924), wait (108) show text box (3925), wait (108) show text box (3926), wait (108), fade screen out #Night's Epilogue show text box (3927), wait (10), fade screen in, wait (108), fade screen out wait (10) if (checktag (tag:nightback)==on) then ( show text box (3928), wait (10), fade screen in, wait (108) show text box (3929), wait (108) show text box (3930), wait (108) show text box (3931), wait (108) show text box (3932), wait (108) show text box (3933), wait (108) show text box (3934), wait (108) show text box (3935), wait (108) show text box (3936), wait (108) show text box (3937), wait (108) show text box (3938), wait (108), fade screen out ) else ( show text box (4229), wait (10), fade screen in, wait (108) show text box (4230), wait (108) show text box (4231), wait (108) show text box (4232), wait (108), fade screen out ) #Frumpy's Epilogue show text box (3939), wait (10), fade screen in, wait (108), fade screen out wait (10) show text box (3940), wait (10), fade screen in, wait (108) show text box (3941), wait (108) show text box (3942), wait (108) show text box (3943), wait (108) show text box (3944), wait (108) show text box (3945), wait (108) show text box (3946), wait (108) show text box (3947), wait (108) show text box (3948), wait (108) show text box (3949), wait (108) show text box (3950), wait (108) show text box (3951), wait (108) show text box (3952), wait (108), fade screen out #Eric's Epilogue show text box (3953), wait (10), fade screen in, wait (108), fade screen out wait (10) show text box (3954), wait (10), fade screen in, wait (108) show text box (3955), wait (108) show text box (3956), wait (108) show text box (3957), wait (108) show text box (3958), wait (108) show text box (3959), wait (108) show text box (3960), wait (108) show text box (3961), wait (108) show text box (3962), wait (108) show text box (3963), wait (108) show text box (3964), wait (108), fade screen out suspend player, wait (1), advance text box use door (0), wait (2), fade screen in set hero speed (me,1) play song(song:Mannheim) song start ms := milliseconds walk hero (me,down,220) wait for hero check for song end end plotscript,remember party, begin spot0:= hero by slot (0) spot1:= hero by slot (1) spot2:= hero by slot (2) spot3:= hero by slot (3) end plotscript,reinstate party, begin swap by name (hero by slot(0),spot0) swap by name (hero by slot(1),spot1) swap by name (hero by slot(2),spot2) swap by name (hero by slot(3),spot3) end plotscript, lavatile, begin # Right here we're checking for if the player is standing on a harm tile. if (read pass block (hero x, hero y), and, harm tile) then ( # If they are, then it'll play an sfx to help inform the player that they just took damage if (sound is playing (sfx:SmallExplosion8Bit) == false) then ( play sound (sfx:SmallExplosion8Bit,false,true), wait for sound(sfx:SmallExplosion8Bit)) ) end plotscript,bard1,begin suspend player, suspend box advance, remember party, suspend random enemys set hero speed (me,4), focus camera ((hero x (me)),(hero y (me)),4) swap by position (0,find hero (hero:Eric)) swap by position (1,find hero (hero:Bram)) swap by position (2,find hero (hero:Kitt)) swap by position (3,find hero (hero:Frumpy)) wait for hero (me), suspend caterpillar, set caterpillar mode (on) set hero position (1, (hero x (me)), (hero y (me))) set hero position (2, (hero x (me)), (hero y (me))) set hero position (3, (hero x (me)), (hero y (me))) wait (1), walk hero (me,down,1), walk hero (1,left,1), walk hero (2,up,1), walk hero (3,right,1) wait for hero (me), wait (5) set hero direction (me,left), set hero direction (1,down), set hero direction (2,left), set hero direction (3,down) wait (5),set hero direction (me,up), set hero direction (1,right) set hero direction (2,down), set hero direction (3,left), wait (5) show text box (4044), wait (7), wait for key (use key), advance text box show text box (4045), wait (7), wait for key (use key), advance text box show text box (4046), wait (7), wait for key (use key), advance text box show text box (4047), wait (7), wait for key (use key), advance text box show text box (4048), wait (7), wait for key (use key), advance text box show text box (4049), wait (7), wait for key (use key), advance text box show text box (4050), wait (7), wait for key (use key), advance text box show text box (4051), wait (7), wait for key (use key), advance text box show text box (4052), wait (7), wait for key (use key), advance text box walk hero (me,up,1), walk hero (1,right,1), walk hero (2,down,1), walk hero (3,left,1), wait for hero (me) camera follows hero (me), set caterpillar mode (off) resume random enemys, reinstate party, resume player, resume box advance, encounters end plotscript,bard2,begin suspend player, suspend box advance, remember party, suspend random enemys set hero speed (me,4), focus camera ((hero x (me)),(hero y (me)),4) swap by position (0,find hero (hero:Eric)) swap by position (1,find hero (hero:Styrge)) swap by position (2,find hero (hero:Hilda)) swap by position (3,find hero (hero:Freki)) wait for hero (me), suspend caterpillar, set caterpillar mode (on) set hero position (1, (hero x (me)), (hero y (me))) set hero position (2, (hero x (me)), (hero y (me))) set hero position (3, (hero x (me)), (hero y (me))) wait (1), walk hero (me,down,1), walk hero (1,left,1), walk hero (2,up,1), walk hero (3,right,1) wait for hero (me), wait (5) set hero direction (me,left), set hero direction (1,down), set hero direction (2,left), set hero direction (3,down) wait (5),set hero direction (me,up), set hero direction (1,right) set hero direction (2,down), set hero direction (3,left), wait (5) show text box (4053), wait (7), wait for key (use key), advance text box show text box (4054), wait (7), wait for key (use key), advance text box show text box (4055), wait (7), wait for key (use key), advance text box show text box (4056), wait (7), wait for key (use key), advance text box show text box (4057), wait (7), wait for key (use key), advance text box show text box (4058), wait (7), wait for key (use key), advance text box show text box (4059), wait (7), wait for key (use key), advance text box show text box (4060), wait (7), wait for key (use key), advance text box show text box (4061), wait (7), wait for key (use key), advance text box show text box (4062), wait (7), wait for key (use key), advance text box show text box (4063), wait (7), wait for key (use key), advance text box walk hero (me,up,1), walk hero (1,right,1), walk hero (2,down,1), walk hero (3,left,1), wait for hero (me) camera follows hero (me), set caterpillar mode (off) resume random enemys, reinstate party, resume player, resume box advance, encounters end plotscript,bard3,begin suspend player, suspend box advance, remember party, suspend random enemys set hero speed (me,4), focus camera ((hero x (me)),(hero y (me)),4) swap by position (0,find hero (hero:Eric)) swap by position (1,find hero (hero:Olaf)) swap by position (2,find hero (hero:Freki)) swap by position (3,find hero (hero:Night)) wait for hero (me), suspend caterpillar, set caterpillar mode (on) set hero position (1, (hero x (me)), (hero y (me))) set hero position (2, (hero x (me)), (hero y (me))) set hero position (3, (hero x (me)), (hero y (me))) wait (1), walk hero (me,down,1), walk hero (1,left,1), walk hero (2,up,1), walk hero (3,right,1) wait for hero (me), wait (5) set hero direction (me,left), set hero direction (1,down), set hero direction (2,left), set hero direction (3,down) wait (5),set hero direction (me,up), set hero direction (1,right) set hero direction (2,down), set hero direction (3,left), wait (5) show text box (4065), wait (7), wait for key (use key), advance text box show text box (4066), wait (7), wait for key (use key), advance text box show text box (4067), wait (7), wait for key (use key), advance text box show text box (4068), wait (7), wait for key (use key), advance text box show text box (4069), wait (7), wait for key (use key), advance text box show text box (4070), wait (7), wait for key (use key), advance text box show text box (4071), wait (7), wait for key (use key), advance text box show text box (4072), wait (7), wait for key (use key), advance text box show text box (4073), wait (7), wait for key (use key), advance text box show text box (4074), wait (7), wait for key (use key), advance text box show text box (4075), wait (7), wait for key (use key), advance text box walk hero (me,up,1), walk hero (1,right,1), walk hero (2,down,1), walk hero (3,left,1), wait for hero (me) camera follows hero (me), set caterpillar mode (off) resume random enemys, reinstate party, resume player, resume box advance, encounters end plotscript,surtr,begin suspend player, suspend box advance, remember party, suspend random enemys walk hero to x (me,5), wait for hero (me), walk hero to y (me,5), wait for hero (me) set hero speed (me,4), focus camera ((hero x (me)),(hero y (me)),4) wait for hero (me), suspend caterpillar, set caterpillar mode (on) set hero position (1, (hero x (me)), (hero y (me))) set hero position (2, (hero x (me)), (hero y (me))) set hero position (3, (hero x (me)), (hero y (me))) walk hero (1,left,1), walk hero (2,right,1), walk hero (3,down,1), wait for hero (1) set hero direction (me,up), set hero direction (1,up), set hero direction (2,up), set hero direction (3,up) show text box (4177), wait (7), wait for key (use key), advance text box show text box (4178), wait (7), wait for key (use key), advance text box show text box (4179), wait (7), wait for key (use key), advance text box show text box (4180), wait (7), wait for key (use key), advance text box show text box (4181), wait (7), wait for key (use key), advance text box show text box (4182), wait (7), wait for key (use key), advance text box show text box (4183), wait (7), wait for key (use key), advance text box show text box (4184), wait (7), wait for key (use key), advance text box walk NPC (16,down,1), wait for NPC (16) Boss Introduction, fight formation (316) show text box (3769), wait (7), wait for key (use key), advance text box wait (1), play sound (sfx:Nuclear,false,true) tweak palette (20,-20,20), fade screen in, wait (4), set tag (tag:defeat Cthulhu, on) set NPC position (17,5,4) set tag (tag:Brisinghint,on) set NPC direction (17,up), set NPC frame (17,0), pan camera (up,1,20), wait (2) set NPC direction (17,up), set NPC frame (17,1), pan camera (down,1,20), wait (2) set NPC direction (17,right), set NPC frame (17,0), pan camera (up,1,20), wait (2) set NPC direction (17,right), set NPC frame (17,1), pan camera (down,1,20), wait (2) set NPC direction (17,down), set NPC frame (17,0), pan camera (up,1,20), wait (2) set NPC direction (17,down), set NPC frame (17,1), pan camera (down,1,20), wait (2) set NPC direction (17,left), set NPC frame (17,0), pan camera (up,1,20), wait (2) set NPC direction (17,left), set NPC frame (17,1), pan camera (down,1,20), wait (2) set NPC position (17,50,50), wait for camera wait (3), reset palette, fade screen in, wait (3) walk hero (1,right,1), walk hero (2,left,1), walk hero (3,up,1), wait for hero (1) camera follows hero (me), set caterpillar mode (off) resume random enemys, reinstate party, resume player, resume box advance, encounters end plotscript, check for song end, begin variable(elapsed) elapsed := milliseconds -- song start ms # In this example the song is 4 minutes, 22 seconds if(elapsed < (1000 * 262)) then( # Song has not ended yet, check again next tick set timer(timer:song, 0, 1, @check for song end) ) stop song fade screen out, wait (10) #Freki's Epilogue show text box (3984), wait (10), fade screen in, wait (108) show text box (3985), wait (108) show text box (3986), wait (108) show text box (3987), wait (108) show text box (3988), wait (108) show text box (3989), wait (108) show text box (3990), wait (108) show text box (3991), wait (108) show text box (3992), wait (108) show text box (3993), wait (108), wait for key (use key), fade screen out (63,63,63) resume player, resume box advance gameover END plotscript,forestreturns,begin suspend player, suspend box advance, remember party, suspend random enemys fade screen out (40,63,40), wait (10) show text box (4233), wait (7), fade screen in wait for key (use key), advance text box show text box (4234), wait (7), wait for key (use key), advance text box show text box (4235), wait (7), wait for key (use key), advance text box show text box (4236), wait (7), wait for key (use key), advance text box show text box (4237), wait (7), wait for key (use key), advance text box show text box (4238), wait (7), wait for key (use key), advance text box show text box (4239), wait (7), wait for key (use key), advance text box show text box (4240), wait (7), wait for key (use key), advance text box show text box (4241), wait (7), wait for key (use key), fade screen out (63,63,63) wait (7), advance text box, wait (7) set tag (tag:Forest Revives,on), wait (2), use door (2), wait (2), fade screen in show text box (3681), wait (7), wait for key (use key), advance text box resume random enemys, reinstate party, resume player, resume box advance, encounters end plotscript,forestinn,begin suspend player, suspend box advance, remember party, suspend random enemys show text box (4242), wait (7), wait for key (use key), advance text box fade screen out, wait (10), use door (22) fade screen in set NPC frame (1,0), wait (1), set NPC frame (1,1), wait (1) set NPC frame (1,0), wait (1), set NPC frame (1,1), wait (1) show text box (4243), wait (7), wait for key (use key), advance text box set NPC frame (2,0), wait (1), set NPC frame (2,1), wait (1) set NPC frame (2,0), wait (1), set NPC frame (2,1), wait (1) show text box (4244), wait (7), wait for key (use key), advance text box set NPC frame (8,0), wait (1), set NPC frame (8,1), wait (1) set NPC frame (8,0), wait (1), set NPC frame (8,1), wait (1) show text box (4245), wait (7), wait for key (use key), advance text box set NPC direction (2,right), set NPC frame (2,0), wait (1), set NPC frame (2,1), wait (1) set NPC frame (2,0), wait (1), set NPC frame (2,1), wait (1) show text box (4246), wait (7), wait for key (use key), advance text box set NPC frame (7,0), wait (1), set NPC frame (7,1), wait (1) set NPC frame (7,0), wait (1), set NPC frame (7,1), wait (1) show text box (4247), wait (7), wait for key (use key), advance text box set NPC direction (2,up),set NPC frame (2,0), wait (1), set NPC frame (2,1), wait (1) set NPC frame (2,0), wait (1), set NPC frame (2,1), wait (1) show text box (4248), wait (7), wait for key (use key), advance text box set NPC direction (1,down), set NPC frame (1,0), wait (1), set NPC frame (1,1), wait (1) set NPC frame (1,0), wait (1), set NPC frame (1,1), wait (1) show text box (4249), wait (7), wait for key (use key), advance text box show text box (4250), wait (7), wait for key (use key), advance text box set NPC direction (1,right), set NPC direction (7,left) set NPC frame (7,0), wait (1), set NPC frame (7,1), wait (1) set NPC frame (7,0), wait (1), set NPC frame (7,1), wait (1) show text box (4251), wait (7), wait for key (use key), advance text box show text box (4252), wait (7), wait for key (use key), advance text box show text box (4253), wait (7), wait for key (use key), advance text box show text box (4254), wait (7), wait for key (use key), advance text box set NPC frame (2,0), wait (1), set NPC frame (2,1), wait (1) set NPC frame (2,0), wait (1), set NPC frame (2,1), wait (1) show text box (4255), wait (7), wait for key (use key), advance text box set NPC frame (8,0), wait (1), set NPC frame (8,1), wait (1) set NPC frame (8,0), wait (1), set NPC frame (8,1), wait (1) show text box (4256), wait (7), wait for key (use key), advance text box set NPC frame (7,0), wait (1), set NPC frame (7,1), wait (1) set NPC frame (7,0), wait (1), set NPC frame (7,1), wait (1) show text box (4257), wait (7), wait for key (use key), advance text box set NPC frame (1,0), wait (1), set NPC frame (1,1), wait (1) set NPC frame (1,0), wait (1), set NPC frame (1,1), wait (1) show text box (4258), wait (7), wait for key (use key), advance text box set NPC frame (5,0), wait (1), set NPC frame (5,1), wait (1) set NPC frame (5,0), wait (1), set NPC frame (5,1), wait (1) show text box (4259), wait (7), wait for key (use key), advance text box walk NPC (0,right,6), wait (5) show text box (4260), wait (7), wait for key (use key), advance text box wait for NPC (0), set NPC frame (8,0), wait (1), set NPC frame (8,1), wait (1) set NPC frame (8,0), wait (1), set NPC frame (8,1), wait (1) show text box (4261), wait (7), wait for key (use key), advance text box set NPC frame (0,0), wait (1), set NPC frame (0,1), wait (1) set NPC frame (0,0), wait (1), set NPC frame (0,1), wait (1) show text box (4262), wait (7), wait for key (use key), advance text box set NPC frame (5,0), wait (1), set NPC frame (5,1), wait (1) set NPC frame (5,0), wait (1), set NPC frame (5,1), wait (1) show text box (4263), wait (7), wait for key (use key), advance text box wait (5), set NPC direction (0,up), wait (5) show text box (4264), wait (7), wait for key (use key), advance text box set NPC frame (2,0), wait (1), set NPC frame (2,1), wait (1) set NPC frame (2,0), wait (1), set NPC frame (2,1), wait (1) show text box (4265), wait (7), wait for key (use key), advance text box set NPC direction (1,up), set NPC frame (1,0), wait (1), set NPC frame (1,1), wait (1) set NPC frame (1,0), wait (1), set NPC frame (1,1), wait (1) show text box (4266), wait (7), wait for key (use key), advance text box set NPC frame (5,0), wait (1), set NPC frame (5,1), wait (1) set NPC frame (5,0), wait (1), set NPC frame (5,1), wait (1) show text box (4267), wait (7), wait for key (use key), advance text box set NPC frame (0,0), wait (1), set NPC frame (0,1), wait (1) set NPC frame (0,0), wait (1), set NPC frame (0,1), wait (1) show text box (4268), wait (7), wait for key (use key), advance text box wait (5), walk NPC (0,left,10), wait (5), set NPC direction (5,left), wait (5) set NPC frame (5,0), wait (1), set NPC frame (5,1), wait (1) set NPC frame (5,0), wait (1), set NPC frame (5,1), wait (1) show text box (4269), wait (7), wait for key (use key), advance text box set NPC frame (8,0), wait (1), set NPC frame (8,1), wait (1) set NPC frame (8,0), wait (1), set NPC frame (8,1), wait (1) show text box (4270), wait (7), wait for key (use key), advance text box wait (5), fade screen out, stop song,wait (5) play sound (sfx:sleep,false,true),walk hero (me,up,1), set hero direction (me,down), wait (120) # When the screen comes back, we want the game to play the music for the area. # Because each area is different, we want the "default" ambient music. use door (2) ,wait (5) resume random enemys, reinstate party, resume player, resume box advance, encounters end #linked from textbox 414 plotscript,snaketeleport,begin suspend player, suspend box advance, remember party, suspend random enemys show text box (4271), wait (7), wait for key (use key), advance text box suspend player, bifrostbeam(0) fade screen out (63,63,63), wait (1), use door (10), reset palette, wait (1) show map, camera follows hero (me), wait (1), fade screen in, bifrostbeam (1) encounters show text box (4272), wait (7), wait for key (use key), advance text box wait (5), set hero direction (me,left), wait (5), walk hero to y (me,30), wait for hero (me) show text box (4273), wait (7), wait for key (use key), advance text box set NPC direction (21,right), set NPC frame (21,0), wait (1), set NPC frame (21,1), wait (1) set NPC frame (21,0), wait (1), set NPC frame (21,1), wait (1) show text box (4274), wait (7), wait for key (use key), advance text box set hero direction (me,left) set hero frame (me,0), wait (1), set hero frame (me,1), wait (1) set hero frame (me,0), wait (1), set hero frame (me,1), wait (1) show text box (4275), wait (7), wait for key (use key), advance text box, set hero direction (me,up) show text box (4276), wait (7), wait for key (use key), advance text box set NPC direction (21,up), set NPC frame (21,0), wait (1), set NPC frame (21,1), wait (1) set NPC frame (21,0), wait (1), set NPC frame (21,1), wait (1) show text box (4277), wait (7), wait for key (use key), advance text box show text box (4278), wait (7), wait for key (use key), advance text box show text box (4279), wait (7), wait for key (use key), advance text box set hero frame (me,0), wait (1), set hero frame (me,1), wait (1) set hero frame (me,0), wait (1), set hero frame (me,1), wait (1) show text box (4280), wait (7), wait for key (use key), advance text box show text box (4281), wait (7), wait for key (use key), advance text box show text box (4282), wait (7), wait for key (use key), advance text box set hero frame (me,0), wait (1), set hero frame (me,1), wait (1) set hero frame (me,0), wait (1), set hero frame (me,1), wait (1) show text box (4283), wait (7), wait for key (use key), advance text box show text box (4284), wait (7), wait for key (use key), advance text box set hero frame (me,0), wait (1), set hero frame (me,1), wait (1) set hero frame (me,0), wait (1), set hero frame (me,1), wait (1) show text box (4285), wait (7), wait for key (use key), advance text box show text box (4286), wait (7), wait for key (use key), advance text box set NPC frame (21,0), wait (1), set NPC frame (21,1), wait (1) set NPC frame (21,0), wait (1), set NPC frame (21,1), wait (1) show text box (4287), wait (7), wait for key (use key), advance text box set hero frame (me,0), wait (1), set hero frame (me,1), wait (1) set hero frame (me,0), wait (1), set hero frame (me,1), wait (1) show text box (4288), wait (7), wait for key (use key), advance text box set tag (tag:SNAKETIME,on) resume random enemys, reinstate party, resume player, resume box advance, encounters end plotscript,snaketeleport2,begin suspend player, suspend box advance, remember party, suspend random enemys show text box (4290), wait (7), wait for key (use key), advance text box suspend player, bifrostbeam(0) fade screen out (63,63,63), wait (1), camera follows hero (me) fade screen out (63,63,63), wait (1), use door (9), reset palette, wait (1) wait (1), fade screen in, bifrostbeam (1) resume random enemys, reinstate party, resume player, resume box advance, encounters end plotscript,desertinn,begin suspend player, suspend box advance, remember party, suspend random enemys show text box (4301), wait (7), wait for key (use key), advance text box fade screen out, wait (10), use door (22), fade screen in set NPC frame (1,0), wait (1), set NPC frame (1,1), wait (1) set NPC frame (1,0), wait (1), set NPC frame (1,1), wait (1) show text box (4302), wait (7), wait for key (use key), advance text box set NPC frame (8,0), wait (1), set NPC frame (8,1), wait (1) set NPC frame (8,0), wait (1), set NPC frame (8,1), wait (1) show text box (4303), wait (7), wait for key (use key), advance text box set NPC frame (1,0), wait (1), set NPC frame (1,1), wait (1) set NPC frame (1,0), wait (1), set NPC frame (1,1), wait (1) show text box (4304), wait (7), wait for key (use key), advance text box set NPC direction (3,right), wait (5), set NPC direction (3,down), wait (5) set NPC frame (3,0), wait (1), set NPC frame (3,1), wait (1) set NPC frame (3,0), wait (1), set NPC frame (3,1), wait (1) show text box (4305), wait (7), wait for key (use key), advance text box set NPC frame (5,0), wait (1), set NPC frame (5,1), wait (1) set NPC frame (5,0), wait (1), set NPC frame (5,1), wait (1) show text box (4306), wait (7), wait for key (use key), advance text box set NPC direction (1,up),set NPC frame (1,0), wait (1), set NPC frame (1,1), wait (1) set NPC frame (1,0), wait (1), set NPC frame (1,1), wait (1) show text box (4307), wait (7), wait for key (use key), advance text box set NPC direction (1,right), set NPC frame (1,0), wait (1), set NPC frame (1,1), wait (1) set NPC frame (1,0), wait (1), set NPC frame (1,1), wait (1) show text box (4308), wait (7), wait for key (use key), advance text box set NPC frame (4,0), wait (1), set NPC frame (4,1), wait (1) set NPC frame (4,0), wait (1), set NPC frame (4,1), wait (1) show text box (4309), wait (7), wait for key (use key), advance text box show text box (4310), wait (7), wait for key (use key), advance text box set NPC direction (7,left), set NPC direction (5,right) set NPC frame (7,0), wait (1), set NPC frame (7,1), wait (1) set NPC frame (7,0), wait (1), set NPC frame (7,1), wait (1) show text box (4311), wait (7), wait for key (use key), advance text box show text box (4312), wait (7), wait for key (use key), advance text box set NPC frame (5,0), wait (1), set NPC frame (5,1), wait (1) set NPC frame (5,0), wait (1), set NPC frame (5,1), wait (1) show text box (4313), wait (7), wait for key (use key), advance text box show text box (4314), wait (7), wait for key (use key), advance text box walk NPC (0,right,6), wait (5) show text box (4315), wait (7), wait for key (use key), advance text box set NPC frame (8,0), wait (1), set NPC frame (8,1), wait (1) set NPC frame (8,0), wait (1), set NPC frame (8,1), wait (1) show text box (4316), wait (7), wait for key (use key), advance text box wait (5), walk NPC (3,down,1), wait for NPC (3) set NPC frame (3,0), wait (1), set NPC frame (3,1), wait (1) set NPC frame (3,0), wait (1), set NPC frame (3,1), wait (1) show text box (4317), wait (7), wait for key (use key), advance text box set NPC frame (2,0), wait (1), set NPC frame (2,1), wait (1) set NPC frame (2,0), wait (1), set NPC frame (2,1), wait (1) show text box (4318), wait (7), wait for key (use key), advance text box set NPC frame (7,0), wait (1), set NPC frame (7,1), wait (1) set NPC frame (7,0), wait (1), set NPC frame (7,1), wait (1) show text box (4319), wait (7), wait for key (use key), advance text box wait (10), stop song, play sound (sfx:Breakdown,false,true) wait (15), set NPC direction (1,up), set NPC direction (2,left) set NPC direction (3,right), set NPC direction (4,left) set NPC direction (5,down), set NPC direction (6,left), wait (60) show text box (4320), wait (7), wait for key (use key), advance text box show text box (4321), wait (7), wait for key (use key), advance text box set NPC frame (3,0), wait (1), set NPC frame (3,1), wait (1) set NPC frame (3,0), wait (1), set NPC frame (3,1), wait (1) show text box (4322), wait (7), wait for key (use key), advance text box set NPC frame (4,0), wait (1), set NPC frame (4,1), wait (1) set NPC frame (4,0), wait (1), set NPC frame (4,1), wait (1) show text box (4323), wait (7), wait for key (use key), advance text box set NPC frame (5,0), wait (1), set NPC frame (5,1), wait (1) set NPC frame (5,0), wait (1), set NPC frame (5,1), wait (1) show text box (4324), wait (7), wait for key (use key), advance text box wait (5), walk NPC (0,left,10), wait (5), set NPC direction (5,left), wait (5) set NPC frame (8,0), wait (1), set NPC frame (8,1), wait (1) set NPC frame (8,0), wait (1), set NPC frame (8,1), wait (1) show text box (4270), wait (7), wait for key (use key), advance text box wait (5), fade screen out, stop song,wait (5) play sound (sfx:sleep,false,true),walk hero (me,up,1), set hero direction (me,down), wait (120) # When the screen comes back, we want the game to play the music for the area. # Because each area is different, we want the "default" ambient music. use door (2) ,wait (5) resume random enemys, reinstate party, resume player, resume box advance, encounters end plotscript,norns,begin suspend player, suspend box advance, remember party, suspend random enemys walk hero to y (me, 49), wait for hero (me) walk hero to x (me, 44), wait for hero (me) set hero speed (me,4), focus camera ((hero x (me)),(hero y (me)),4) swap by position (0,find hero (hero:Freki)) swap by position (1,find hero (hero:Bram)) swap by position (2,find hero (hero:Hilda)) swap by position (3,find hero (hero:Olaf)) wait for hero (me), suspend caterpillar, set caterpillar mode (on) set hero position (1, (hero x (me)), (hero y (me))) set hero position (2, (hero x (me)), (hero y (me))) set hero position (3, (hero x (me)), (hero y (me))) wait (1), walk hero (1,left,1), walk hero (2,down,1), walk hero (3,right,1) wait for hero (1), wait (5) set hero direction (me,up), set hero direction (1,up), set hero direction (2,left), set hero direction (3,up) wait (5), set hero direction (2,up), wait (5) set NPC frame (1,0), wait (1), set NPC frame (1,1), wait (1) set NPC frame (1,0), wait (1), set NPC frame (1,1), wait (1) show text box (4327), wait (7), wait for key (use key), advance text box set NPC frame (2,0), wait (1), set NPC frame (2,1), wait (1) set NPC frame (2,0), wait (1), set NPC frame (2,1), wait (1) show text box (4328), wait (7), wait for key (use key), advance text box show text box (4329), wait (7), wait for key (use key), advance text box set hero frame (1,0), wait (1), set hero frame (1,1), wait (1) set hero frame (1,0), wait (1), set hero frame (1,1), wait (1) show text box (4330), wait (7), wait for key (use key), advance text box set NPC frame (3,0), wait (1), set NPC frame (3,1), wait (1) set NPC frame (3,0), wait (1), set NPC frame (3,1), wait (1) show text box (4331), wait (7), wait for key (use key), advance text box set NPC frame (2,0), wait (1), set NPC frame (2,1), wait (1) set NPC frame (2,0), wait (1), set NPC frame (2,1), wait (1) show text box (4332), wait (7), wait for key (use key), advance text box show text box (4333), wait (7), wait for key (use key), advance text box set NPC frame (1,0), wait (1), set NPC frame (1,1), wait (1) set NPC frame (1,0), wait (1), set NPC frame (1,1), wait (1) show text box (4334), wait (7), wait for key (use key), advance text box set hero frame (0,0), wait (1), set hero frame (0,1), wait (1) set hero frame (0,0), wait (1), set hero frame (0,1), wait (1) show text box (4335), wait (7), wait for key (use key), advance text box show text box (4336), wait (7), wait for key (use key), advance text box set hero frame (1,0), wait (1), set hero frame (1,1), wait (1) set hero frame (1,0), wait (1), set hero frame (1,1), wait (1) show text box (4337), wait (7), wait for key (use key), advance text box show text box (4338), wait (7), wait for key (use key), advance text box set NPC frame (1,0), wait (1), set NPC frame (1,1), wait (1) set NPC frame (1,0), wait (1), set NPC frame (1,1), wait (1) show text box (4339), wait (7), wait for key (use key), advance text box set hero frame (3,0), wait (1), set hero frame (3,1), wait (1) set hero frame (3,0), wait (1), set hero frame (3,1), wait (1) show text box (4340), wait (7), wait for key (use key), advance text box set NPC frame (2,0), wait (1), set NPC frame (2,1), wait (1) set NPC frame (2,0), wait (1), set NPC frame (2,1), wait (1) show text box (4341), wait (7), wait for key (use key), advance text box set hero frame (2,0), wait (1), set hero frame (2,1), wait (1) set hero frame (2,0), wait (1), set hero frame (2,1), wait (1) show text box (4342), wait (7), wait for key (use key), advance text box set hero frame (1,0), wait (1), set hero frame (1,1), wait (1) set hero frame (1,0), wait (1), set hero frame (1,1), wait (1) show text box (4343), wait (7), wait for key (use key), advance text box set NPC frame (1,0), wait (1), set NPC frame (1,1), wait (1) set NPC frame (1,0), wait (1), set NPC frame (1,1), wait (1) show text box (4344), wait (7), wait for key (use key), advance text box set NPC frame (3,0), wait (1), set NPC frame (3,1), wait (1) set NPC frame (3,0), wait (1), set NPC frame (3,1), wait (1) show text box (4345), wait (7), wait for key (use key), advance text box walk NPC (4,down,1), wait for NPC (4) set NPC frame (4,0), wait (1), set NPC frame (4,1), wait (1) set NPC frame (4,0), wait (1), set NPC frame (4,1), wait (1) show text box (4346), wait (7), wait for key (use key), advance text box, set hero direction (me,left) show text box (4347), wait (7), wait for key (use key), advance text box set hero frame (0,0), wait (1), set hero frame (0,1), wait (1) set hero frame (0,0), wait (1), set hero frame (0,1), wait (1) show text box (4348), wait (7), wait for key (use key), advance text box set NPC frame (1,0), wait (1), set NPC frame (1,1), wait (1) set NPC frame (1,0), wait (1), set NPC frame (1,1), wait (1) show text box (4349), wait (7), wait for key (use key), advance text box, set hero direction (me,up) set hero frame (2,0), wait (1), set hero frame (2,1), wait (1) set hero frame (2,0), wait (1), set hero frame (2,1), wait (1) show text box (4350), wait (7), wait for key (use key), advance text box set NPC frame (2,0), wait (1), set NPC frame (2,1), wait (1) set NPC frame (2,0), wait (1), set NPC frame (2,1), wait (1) show text box (4351), wait (7), wait for key (use key), advance text box set NPC frame (3,0), wait (1), set NPC frame (3,1), wait (1) set NPC frame (3,0), wait (1), set NPC frame (3,1), wait (1) show text box (4352), wait (7), wait for key (use key), advance text box, wait (5) set hero direction (me,left), set hero direction (1,down), set hero direction (3,left), wait (5) set hero direction (me,down), set hero direction (1,right), wait (5) set hero frame (0,0), wait (1), set hero frame (0,1), wait (1) set hero frame (0,0), wait (1), set hero frame (0,1), wait (1) show text box (4353), wait (7), wait for key (use key), advance text box walk hero (1,right,1), walk hero (2,up,1), walk hero (3,left,1), wait for hero (1) camera follows hero (me), set caterpillar mode (off) resume random enemys, reinstate party, resume player, resume box advance, encounters end plotscript,mother,begin suspend player, suspend box advance, remember party, suspend random enemys walk hero to y (me, 36), wait for hero (me), stop song walk hero to x (me, 37), wait for hero (me) set hero speed (me,4), focus camera ((hero x (me)),(hero y (me)),4) swap by position (0,find hero (hero:Freki)) swap by position (1,find hero (hero:Night)) wait for hero (me), suspend caterpillar, set caterpillar mode (on) set hero position (1, (hero x (me)), (hero y (me))) set hero position (2,0,0) set hero position (3,0,0) wait (1), walk hero (1,right,1), wait for hero (1), wait (5) set hero direction (me,up), set hero direction (1,up), wait (5) set hero frame (0,0), wait (1), set hero frame (0,1), wait (1) set hero frame (0,0), wait (1), set hero frame (0,1), wait (1) show text box (4356), wait (7), wait for key (use key), advance text box set hero frame (1,0), wait (1), set hero frame (1,1), wait (1) set hero frame (1,0), wait (1), set hero frame (1,1), wait (1) show text box (4357), wait (7), wait for key (use key), advance text box set NPC frame (5,0), wait (1), set NPC frame (5,1), wait (1) set NPC frame (5,0), wait (1), set NPC frame (5,1), wait (1) show text box (4358), wait (7), wait for key (use key), advance text box wait (5), set hero direction (me,left), set hero direction (1,left), wait (5) set hero frame (0,0), wait (1), set hero frame (0,1), wait (1) set hero frame (0,0), wait (1), set hero frame (0,1), wait (1) show text box (4359), wait (7), wait for key (use key), advance text box wait (5), set hero direction (me,up), set hero direction (1,up), wait (5) set hero frame (1,0), wait (1), set hero frame (1,1), wait (1) set hero frame (1,0), wait (1), set hero frame (1,1), wait (1) show text box (4360), wait (7), wait for key (use key), advance text box wait (30), walk NPC (6,left,1), wait for NPC (6) set NPC frame (6,0), wait (1), set NPC frame (6,1), wait (1) set NPC frame (6,0), wait (1), set NPC frame (6,1), wait (1) show text box (4361), wait (7), wait for key (use key), advance text box show text box (4362), wait (7), wait for key (use key), advance text box set NPC frame (5,0), wait (1), set NPC frame (5,1), wait (1) set NPC frame (5,0), wait (1), set NPC frame (5,1), wait (1) show text box (4363), wait (7), wait for key (use key), advance text box wait (10), walk NPC (5,right,1), wait for NPC (5) show text box (4364), wait (7), wait for key (use key), advance text box wait (5), set hero direction (me,left), set hero direction (1,left), wait (5) set hero frame (0,0), wait (1), set hero frame (0,1), wait (1) set hero frame (0,0), wait (1), set hero frame (0,1), wait (1) show text box (4365), wait (7), wait for key (use key), advance text box wait (5), set hero direction (me,up), set hero direction (1,up), wait (5) set hero frame (0,0), wait (1), set hero frame (0,1), wait (1) set hero frame (0,0), wait (1), set hero frame (0,1), wait (1) show text box (4366), wait (7), wait for key (use key), advance text box wait (5), walk NPC (5,down,1), wait for NPC (5), wait (5) set NPC direction (5,right), wait (5), set NPC direction (5,up), wait (5) set NPC frame (5,0), wait (1), set NPC frame (5,1), wait (1) set NPC frame (5,0), wait (1), set NPC frame (5,1), wait (1) show text box (4367), wait (7), wait for key (use key), advance text box set hero frame (0,0), wait (1), set hero frame (0,1), wait (1) set hero frame (0,0), wait (1), set hero frame (0,1), wait (1) show text box (4368), wait (7), wait for key (use key), advance text box set hero frame (1,0), wait (1), set hero frame (1,1), wait (1) set hero frame (1,0), wait (1), set hero frame (1,1), wait (1) show text box (4369), wait (7), wait for key (use key), advance text box wait (6), walk NPC (6,down,1), wait for NPC (6), wait (5) set NPC direction (6,left), wait (5), set NPC direction (6,up), wait (5) set hero frame (1,0), wait (1), set hero frame (1,1), wait (1) set hero frame (1,0), wait (1), set hero frame (1,1), wait (1) show text box (4370), wait (7), wait for key (use key), advance text box show text box (4371), wait (7), wait for key (use key), advance text box show text box (4372), wait (7), wait for key (use key), advance text box set hero frame (0,0), wait (1), set hero frame (0,1), wait (1) set hero frame (0,0), wait (1), set hero frame (0,1), wait (1) show text box (4373), wait (7), wait for key (use key), advance text box set hero frame (1,0), wait (1), set hero frame (1,1), wait (1) set hero frame (1,0), wait (1), set hero frame (1,1), wait (1) show text box (4374), wait (7), wait for key (use key), advance text box wait (5), set hero direction (me,right), wait (5) set hero frame (0,0), wait (1), set hero frame (0,1), wait (1) set hero frame (0,0), wait (1), set hero frame (0,1), wait (1) show text box (4375), wait (7), wait for key (use key), advance text box set hero frame (1,0), wait (1), set hero frame (1,1), wait (1) set hero frame (1,0), wait (1), set hero frame (1,1), wait (1) show text box (4376), wait (7), wait for key (use key), advance text box wait (5), fade screen out, wait (5), show text box (4377), wait (5), fade screen in wait (7), wait for key (usekey), advance text box, set hero direction (me,up) show text box (4378), wait (7), wait for key (use key), advance text box show text box (4379), wait (7), wait for key (use key), fade screen out wait (5), advance text box, wait (5), fade screen in, wait (5) set hero frame (1,0), wait (1), set hero frame (1,1), wait (1) set hero frame (1,0), wait (1), set hero frame (1,1), wait (1) show text box (4380), wait (7), wait for key (use key), advance text box tweak palette (10,0,0), update palette, play sound (sfx:earthquake,false,true) teach spell ((find hero(hero:Night)),atk:Meteor), wait (3), reset palette, update palette show text box (2691), wait (7), wait for key (use key), advance text box set hero frame (1,0), wait (1), set hero frame (1,1), wait (1) set hero frame (1,0), wait (1), set hero frame (1,1), wait (1) show text box (4381), wait (7), wait for key (use key), advance text box walk hero (1,left,1), wait for hero (1), wait (1) set tag (tag:MOTHER,on) camera follows hero (me), set caterpillar mode (off) resume random enemys, reinstate party, resume player, resume box advance, encounters end plotscript,encounters,begin # We're checking a tag here. If it's on, we turn off encounters completely. Otherwise, they're allowed. if (checktag(tag:NOENCOUNTERS)==on) then (suspend random enemys) if (checktag(tag:NOENCOUNTERS)==off) then (resume random enemys) end # This script is to get around the funkiness with Inns only restoring the HP/MP of # Party members who are only in the active party. Special credit to Foxley for # The workaround! plotscript, heal full party, begin variable (i) for (i, 0, 40) do ( if (hero by slot (i) >= 0) then ( set hero stat(i, 0, get hero stat(i, 0, maximum stat), current stat) set hero stat(i, 1, get hero stat(i, 1, maximum stat), current stat) ) ) end UTILITY.LIB0#Commands in this File (10) # Copy Hero Spells (From hero, From List, To Hero, To List) # Add to Stat (Hero, Stat, Value, Add to Current) # Add Spell (Hero, List, Spell) # Hero Is Leader (Hero) # Run On Key Press (Key, Tag, Speed) # Do Hero Change (Hero, picture, palette) # Box Wait (Text Box) # Delete Spell (Hero, List, Spell) # Count Heroes # Count DownUp (Mins/Secs, Tag, Down/Up, Display Counter) # Percent (Number, Percent, Up/Down) # In Area (X Location, Y Location, To X, To Y) # In Area2 (X Location, Y Location, Tiles Right, Tiles Down) # Chance (Percent) # Invert Colors #-------------------------------------------------------------------------------------------------------------------------- define script (autonumber, Copy Hero Spells,4,0,0,0,0) define script (autonumber, Add To Stat,4,0,0,0,true) define script (autonumber, Add Spell, 3, 0, 0, 0) define script (autonumber, Hero Is Leader, 1, 0) define script (autonumber, Run On Key Press, 3, 0, 0, 10) define script (autonumber, Do Hero Change, 4, me, 0, 0, false) define script (autonumber, Box Wait, 1, 0) define script (autonumber, Delete Spell, 3, 0, 0, 0) define script (autonumber, Count Heroes, none) define script (autonumber, Count DownUp, 4, 0, 0, up, false) define script (autonumber, Percent, 3, 0, 0, Up) define script (autonumber, In Area, 4, 0, 0, 0, 0) define script (autonumber, In Area2, 4, 0, 0, 0, 0) define script (autonumber, Chance, 1, 100) define script (autonumber, Invert Colors, none) #-------------------------------------------------------------------------------------------------------------------------- script, Copy Hero Spells, from hero, from list, to hero, to list, begin variable (slot) variable (spell) for (slot, 0, 23, 1) do ( spell := read spell (from hero, from list, slot) if (spell >= 0) then ( write spell (to hero, to list, slot, spell) ) ) end #-------------------------------------------------------------------------------------------------------------------------- script, Add To Stat, hero, stat, amount, add to current, begin set hero stat (hero, stat, get hero stat (hero, stat, maximum stat) + amount, maximum stat) if (add to current) then ( set hero stat (hero, stat, get hero stat (hero, stat, current stat) + amount, current stat) ) end #-------------------------------------------------------------------------------------------------------------------------- script, Add Spell, Hero, List, Spell, begin variable (slot) variable (check) check := 1 if (knows spell (hero, Spell) == false) then ( while (check >> 0) do ( check := read spell (hero, list, slot) if (check == 0) then ( write spell (hero, list, slot, spell) ) slot += 1 ) ) end #-------------------------------------------------------------------------------------------------------------------------- script, Hero Is Leader, Hero, begin swap by position (0, find hero (hero)) end #-------------------------------------------------------------------------------------------------------------------------- script, Run On Key Press, Key, Tag, Speed, begin if (hero is walking (me) == false) then ( if (key is pressed(Key) == true && check tag (Tag) == false) then ( set hero speed (me, Speed) set tag (Tag, True) ) if (key is pressed(Key) == false && check tag (Tag) == True) then ( set hero speed (me, 4) set tag (Tag, False) ) ) else ( if (key is pressed (Key) && check tag (Tag)) then ( wait for hero (me) set hero speed (me, Speed) set tag (Tag, True) ) ) end #-------------------------------------------------------------------------------------------------------------------------- script, Do Hero Change, who, picture, palette, outside inside, begin if (outside inside == outside battle) then ( set hero picture (who, picture, outside battle) set hero palette (who, palette, outside battle) ) else ( set hero picture (who, picture, inside battle) set hero palette (who, palette, inside battle) ) end #-------------------------------------------------------------------------------------------------------------------------- script, Box Wait, Box, begin show text box (Box) wait for text box end #-------------------------------------------------------------------------------------------------------------------------- script, Delete Spell, Hero, List, Spell, begin variable (slot) variable (check) check := 1 if (knows spell (hero, Spell)) then ( while (slot <= 23) do ( check := read spell (hero, list, slot) if (check == spell) then ( write spell (hero, list, slot, none) ) slot += 1 ) ) end #-------------------------------------------------------------------------------------------------------------------------- script, Count Heroes, begin variable (amount_hero) variable (rank) while (rank << 48) do ( if (hero by slot (rank) <> -1) then ( amount_hero += 1 ) rank += 1 ) return (amount_hero) end #-------------------------------------------------------------------------------------------------------------------------- script, Count DownUp, Counter, SomeTag, UpDown, ShowNum, begin variable (minute) variable (second) if (UpDown == 0) then ( show value (minute+second) while ((minute+second) <> Counter && check tag (SomeTag) == off) do ( wait (17) second += 1 if (second == 60) then ( minute += 100 second := 0 ) if (ShowNum) then ( show value (minute+second) ) ) ) else ( second := Counter, mod, 100 if (second >> 59) then ( second := 59 ) minute := Counter -- second show value (minute+second) while ((minute+second) >> 0 && check tag (SomeTag) == off) do ( wait (17) second -= 1 if (minute <> 0 && second << 0) then ( minute -= 100 second := 59 ) if (ShowNum) then ( show value (minute+second) ) ) ) show no value if (check tag (SomeTag)) then ( return (false) ) else ( return (true) ) end #--------------------------------------------------------------------------------------------------------------------------- script, Percent, UpDown, Number, Percentc, begin variable (result) if (UpDown == Up) then ( result := Number + Number*Percentc/100 ) else ( result := Number -- Number*Percentc/100 ) return (result) end #--------------------------------------------------------------------------------------------------------------------------- script, In Area, Locationx, Locationy, ToX, ToY, begin variable (hx) variable (hy) hx := herox (me) hy := heroy (me) return ( (hx >= LocationX) && (hx <= ToX) && (hy >= Locationy) && (hy <= ToY) ) end #--------------------------------------------------------------------------------------------------------------------------- script, In Area2, Locationx, Locationy, Rightx, Downy, begin variable (hx) variable (hy) variable (ToX) variable (ToY) ToX := Locationx + Rightx ToX := Locationy + Downy hx := herox (me) hy := heroy (me) return ( (hx >= LocationX) && (hx <= ToX) && (hy >= Locationy) && (hy <= ToY) ) end #--------------------------------------------------------------------------------------------------------------------------- script, Chance, CPercent, begin return ( random (0, 100) <= CPercent ) end #--------------------------------------------------------------------------------------------------------------------------- script, Invert Colors, begin #This next script was originally done by Mad Cacti. #It fades all the colors to their inverses, then snaps them back to normal variable (var1) variable (var2) # for each of the 256 colors... for (var1,0,255,1) do ( # and for each of the (red=0,green=1,blue=2) components of that color... for (var2,0,2,1) do ( # invert it write color (var1, var2, 63 -- read color (var1, var2)) ) ) fade screen in wait (1) reset palette end RMZBIFROST.HSSminclude, plotscr.hsd include, scancode.hsi global variable (1027,exitsound) global variable (1028,shapex) global variable (1029,shapey) global variable (1031,beamx) global variable (1032,beamy) global variable (1033,liveheroart) global variable (1034, exitbeam) global variable (1035, bifrost1) global variable (1036, bifrost2) global variable (1037, bifrost3) global variable (1038, bifrost4) global variable (1039, bifrost5) global variable (1040, bifrost6) global variable (1041, bifrost7) global variable (1042, bifrost8) global variable (1043, bifrost9) global variable (1044, bifrost10) global variable (1045, bifroststatus) global variable (1046, bifrostwait) global variable (1047, bifrostanimator) define constant (10, bifrost timer) #-------------------------------------------------------- script, setupbifrostbeam, begin variable (bifrostrider) exitbeam:= load slice collection (0) bifrost1:= LookupSlice (Sli:Bifrost 1,exitbeam) bifrost2:= LookupSlice (Sli:Bifrost 2,exitbeam) bifrost3:= LookupSlice (Sli:Bifrost 3,exitbeam) bifrost4:= LookupSlice (Sli:Bifrost 4,exitbeam) bifrost5:= LookupSlice (Sli:Bifrost 5,exitbeam) bifrost6:= LookupSlice (Sli:Bifrost 6,exitbeam) bifrost7:= LookupSlice (Sli:Bifrost 7,exitbeam) bifrost8:= LookupSlice (Sli:Bifrost 8,exitbeam) bifrost9:= LookupSlice (Sli:Bifrost 9,exitbeam) bifrost10:= LookupSlice (Sli:Bifrost 10,exitbeam) shapex:= hero pixel X (me) shapey:= hero pixel Y (me) beamx:= shapex -- camerapixelx beamy:=shapey -- camerapixely bifrostrider:=getheroslice(0) put slice (bifrost1,slicescreenx(bifrostrider),slicescreeny(bifrostrider)--180) bifrostanimator:=1 bifrostanimations end #-------------------------------------------------------- script, bifrostanimations,begin variable (bifrostframe, livebifrostframe, bifrostcontrol) if(bifrostanimator) then ( livebifrostframe:=get sprite frame(bifrost1) if((livebifrostframe==0) && (bifrostcontrol==0)) then(bifrostframe:=1, bifrostcontrol:=1) if((livebifrostframe==1) && (bifrostcontrol==0)) then(bifrostframe:=2, bifrostcontrol:=1) if((livebifrostframe==2) && (bifrostcontrol==0)) then(bifrostframe:=3, bifrostcontrol:=1) if((livebifrostframe==3) && (bifrostcontrol==0)) then(bifrostframe:=4, bifrostcontrol:=1) if((livebifrostframe==4) && (bifrostcontrol==0)) then(bifrostframe:=5, bifrostcontrol:=1) if((livebifrostframe==5) && (bifrostcontrol==0)) then(bifrostframe:=6, bifrostcontrol:=1) if((livebifrostframe==6) && (bifrostcontrol==0)) then(bifrostframe:=7, bifrostcontrol:=1) if((livebifrostframe==7) && (bifrostcontrol==0)) then(bifrostframe:=0, bifrostcontrol:=1) set sprite frame (bifrost1, bifrostframe), set sprite frame (bifrost2, bifrostframe) set sprite frame (bifrost3, bifrostframe), set sprite frame (bifrost4, bifrostframe) set sprite frame (bifrost5, bifrostframe), set sprite frame (bifrost6, bifrostframe) set sprite frame (bifrost7, bifrostframe), set sprite frame (bifrost8, bifrostframe) set sprite frame (bifrost9, bifrostframe), set sprite frame (bifrost10, bifrostframe) bifrostcontrol:=0 # run again in 2 ticks set timer(bifrost timer, 0, 1, @bifrostanimations) ) end #-------------------------------------------------------- script, bifrostbeamwarpdissolves, begin dissolve sprite (bifrost1, dissolve:random scatter, bifrostwait, 0, bifroststatus, true) dissolve sprite (bifrost2, dissolve:random scatter, bifrostwait, 0, bifroststatus, true) dissolve sprite (bifrost3, dissolve:random scatter, bifrostwait, 0, bifroststatus, true) dissolve sprite (bifrost4, dissolve:random scatter, bifrostwait, 0, bifroststatus, true) dissolve sprite (bifrost5, dissolve:random scatter, bifrostwait, 0, bifroststatus, true) dissolve sprite (bifrost6, dissolve:random scatter, bifrostwait, 0, bifroststatus, true) dissolve sprite (bifrost7, dissolve:random scatter, bifrostwait, 0, bifroststatus, true) dissolve sprite (bifrost8, dissolve:random scatter, bifrostwait, 0, bifroststatus, true) dissolve sprite (bifrost9, dissolve:random scatter, bifrostwait, 0, bifroststatus, true) dissolve sprite (bifrost10, dissolve:random scatter, bifrostwait, 0, bifroststatus, true) end #-------------------------------------------------------- script, bifrostbeam, cominggoing, begin if(cominggoing==0)then( bifroststatus:=true, bifrostwait:=24 suspend player liveheroart:=get hero picture (0, outsidebattle) #### This segment gets the player out of the map play sound (70), play sound (76) set hero direction (me,south) setupbifrostbeam play sound (74) bifrostbeamwarpdissolves, wait (bifrostwait) set hero picture (me,0) wait (8) #put sound here for the fizzle out of the beam play sound (75) bifroststatus:=false bifrostbeamwarpdissolves, wait (bifrostwait) bifrostanimator:=0, stop timer (bifrost timer) free slice (exitbeam) ) if(cominggoing==1)then( bifroststatus:=true, bifrostwait:=24 suspend player #### This segment gets the player out of the map play sound (70), play sound (76) set hero direction (me,south) setupbifrostbeam play sound (74) bifrostbeamwarpdissolves, wait (bifrostwait) set hero picture (me,liveheroart) wait (8) #put sound here for the fizzle out of the beam play sound (75) bifroststatus:=false bifrostbeamwarpdissolves, wait (bifrostwait) bifrostanimator:=0, stop timer (bifrost timer) free slice (exitbeam) ) end #-------------------------------------------------------- WEATHER.HSS3# Script by Artimus Bena, 2020 # eponymous.ent@gmail.com #INSTRUCTIONS # 1) include, weather.hss # 2) put this line in your "opening scene" script and your *load script*: "init weather" # 3) Parts of this script with big arrows <============== are things you can customize define constant (31, weather control timer) plotscript, init weather, begin allocate timers (32) set timer (weather control timer, 0, 1, @precipitation) end script, precipitation, begin variable (layer, map, sl, slc, cyclelayers, opacity) #set all layers to no blending for (slc, sl:map layer0, sl:map layer15, -1) do ( sl := lookup slice(slc) if (sl) then (set blending enabled (sl, false)) ) map := current map opacity := 46 # <============================================================ Default opacity # identify which layer needs the effect on a given map # "case (map number)" switch (map) do ( case (8) layer := 3, opacity := opacity case (13) layer := 3, opacity := opacity # <============ replace second "opacity" in any of these lines with your own case (15) layer := 4, opacity := opacity # number if you want to customize it for that particular map case (19) layer := 4, opacity := opacity case (20) layer := 2, opacity := opacity case (24) layer := 3, opacity := opacity case (30) layer := 3, opacity := opacity case (38) layer := 4, opacity := opacity case (50) layer := 3, opacity := opacity case (52) layer := 4, opacity := opacity case (54) layer := 3, opacity := opacity case (56) layer := 3, opacity := opacity case (63) layer := 3, opacity := opacity case (65) layer := 4, opacity := opacity case (66) layer := 4, opacity := opacity ) if (layer) then ( switch (layer) do ( case (2) sl := lookup slice (sl:map layer 2) case (3) sl := lookup slice (sl:map layer 3) case (4) sl := lookup slice (sl:map layer 4) ) ) if (sl) then ( set blend mode (sl, blend:normal) set opacity (sl, opacity) ) init weather end