window.onload=function(){ characters=new Array() START_systems() current_screen=new screen() current_screen.name="The Sun" current_screen.description="The great star" current_screen.background="maps/sun.png" current_screen.bbackground="#000" current_screen.width=640 current_screen.height=400 current_screen.viswidth=640 current_screen.visheight=400 current_screen.create() characters[0]=new character() characters[0].name="Wiz the Wizard" characters[0].description="A poorly drawn wizard, fighting against all evil." characters[0].src="char/wizard.png" characters[0].width=48 characters[0].height=64 characters[0].posX=285 characters[0].posY=140 characters[0].dir(0,0,[0,1],[2,3,4,5],[6,7,8,9]) characters[0].dir(1,1,[0,1],[2,3,4,5],[6,7,8,9]) characters[0].dir(2,2,[0,1],[2,3,4,5],[6,7,8,9]) characters[0].dir(3,3,[0,1],[2,3,4,5],[6,7,8,9]) characters[0].dir(4,4,[0,1],[2,3,4,5],[6,7,8,9]) characters[0].dir(5,5,[0,1],[2,3,4,5],[6,7,8,9]) characters[0].dir(6,6,[0,1],[2,3,4,5],[6,7,8,9]) characters[0].dir(7,7,[0,1],[2,3,4,5],[6,7,8,9]) characters[0].create() current_screen.add(characters[0]) characters[1]=new character() characters[1].name="Wiz the Wizard" characters[1].description="A poorly drawn wizard, fighting against all evil." characters[1].src="char/simplearrows.png" characters[1].width=48 characters[1].height=64 characters[1].posX=335 characters[1].posY=140 characters[1].dir(0,0,[0,1],[2,3,4,5],[6,7,8,9]) characters[1].dir(1,1,[0,1],[2,3,4,5],[6,7,8,9]) characters[1].dir(2,2,[0,1],[2,3,4,5],[6,7,8,9]) characters[1].dir(3,3,[0,1],[2,3,4,5],[6,7,8,9]) characters[1].dir(4,4,[0,1],[2,3,4,5],[6,7,8,9]) characters[1].dir(5,5,[0,1],[2,3,4,5],[6,7,8,9]) characters[1].dir(6,6,[0,1],[2,3,4,5],[6,7,8,9]) characters[1].dir(7,7,[0,1],[2,3,4,5],[6,7,8,9]) characters[1].create() current_screen.add(characters[1]) characters[2]=new character() characters[2].name="Wiz the Wizard" characters[2].description="A poorly drawn wizard, fighting against all evil." characters[2].src="char/wizard.png" characters[2].width=48 characters[2].height=64 characters[2].posX=385 characters[2].posY=140 characters[2].dir(0,0,[0,1],[2,3,4,5],[6,7,8,9]) characters[2].dir(1,1,[0,1],[2,3,4,5],[6,7,8,9]) characters[2].dir(2,2,[0,1],[2,3,4,5],[6,7,8,9]) characters[2].dir(3,3,[0,1],[2,3,4,5],[6,7,8,9]) characters[2].dir(4,4,[0,1],[2,3,4,5],[6,7,8,9]) characters[2].dir(5,5,[0,1],[2,3,4,5],[6,7,8,9]) characters[2].dir(6,6,[0,1],[2,3,4,5],[6,7,8,9]) characters[2].dir(7,7,[0,1],[2,3,4,5],[6,7,8,9]) characters[2].create() current_screen.add(characters[2]) }