These are my full lines of code:
Sync On
Sync Rate 30
Backdrop on
Set camera range 1,2000
Color Backdrop RGB(4,1,69)
Hide Mouse
Fog on
Fog distance 1900
Fog color RGB(4,1,69)
Load image "Images/gras.bmp",1
Load image "Images/Broek.bmp",2
Load image "Images/Gezicht.bmp",3
Load Image "Images/Rock.bmp",4
Load Image "Images/Bosrand.bmp",5
Load Image "Images/Cave.bmp",6
Load Image "Images/Grot.bmp",7
Load Image "Images/Lazor.bmp",8
Load Image "Images/TehEntrance.bmp",9
Load object "Images/WOMAN3.x",97
Rem make matrix
Make matrix 1,2500,3500,25,35
Make matrix 2,2500,2500,25,25
Rem Make Trow Brick
Make Object Cylinder 96,2
Texture object 96,8
XRotate Object 96,90
Fix object pivot 96
Scale object 96,100,100,500
Hide Object 96
Make Object Cylinder 95,2
Texture object 95,8
XRotate Object 95,90
Scale object 95,100,100,500
Hide Object 95
Rem texture matrix
Prepare matrix texture 1,7,1,1
Fill matrix 1,0,1
Prepare matrix texture 2,1,1,1
Fill matrix 2,0,1
Rem Make player pawn
Make object sphere 99,50
Texture object 99,2
position object 99,100,0,100
Scale Object 99,60,100,60
Make object sphere 98,20
Texture object 98,3
position object 98,100,70,100
Scale object 98,90,99,99
Rem Make bricks
Set object collision to spheres 99
For x = 1 to 20
Make object Box x,15,15,15
Texture object x,4
Position Object x,RND(2500),30,RND(2500)
Set object collision to boxes x
If Object collision(99,x)>0 then position object 99,X#,0,Z#
If Object collision(99,x)>0 then BC#=BC#+1
next x
Rem Make Gwen
Position Object 97,100,50,3000
Scale object 97,500,500,500
Rem make walls
Make Object box 21,2500,250,3
Make Object box 22,2000,250,3
Make Object box 23,3,250,2500
Make Object box 24,3,250,2500
Make Object box 25,2500,250,3
Make Object box 26,3,250,1000
Make Object box 27,3,250,1000
Make Object box 28,2000,250,3
Make Object box 29,500,260,100
Texture Object 21,5
Texture Object 22,5
Texture Object 23,5
Texture Object 24,5
Texture Object 25,6
Texture Object 26,6
Texture Object 27,6
Texture Object 28,6
Texture Object 29,9
Position Object 21,1250,100,0
Position Object 22,1000,100,2498
Position Object 23,0,100,1250
Position Object 24,2500,100,1250
Position Object 25,1250,100,3500
Position Object 26,2500,100,3000
Position Object 27,0,100,3000
Position Object 28,1000,100,2502
Position Object 29,2250,110,2500
Set object collision to boxes 22
Set object collision to boxes 28
Set object collision to boxes 29
rem Randomize the matrix
randomize matrix 1,20
Randomize matrix 2,35
B1$="By pressing Spacebar u can shoot Lazors from your eyes"
B2$="Find the entrance of the cave!"
B3$="After that Kill the evil Gwen!"
B4$="Use them Arrows to move!"
B5$="Congratulations you have saved the world!"
B6$="Press escape to exit!"
Rem Main loop
Do
set cursor 0,0
Print B4$
Print B1$
Print B2$
Print B3$
oldX#=X#
oldY#=Y#
oldZ#=Z#
Rem Store Object angle
ABY# = object angle Y(99)
Yrotate object 97,270
if Spacekey()=1 and BulletLife=0
Position object 96,X#,Y#+50,Z#
Set object to camera orientation 96
BulletLife =25
show object 96
Endif
If BulletLife > 0
Dec BulletLife
Move object 96,15
If XL#<120 and XL#>80 and ZL#<3020 and ZL#>2980
Ghost Object on 97
Set Cursor 0,0
B1$="Congratulations You have saved the world!!"
B2$="Press Escape to exit!!"
B3$=""
B4$=""
Endif
if BulletLife = 0 then Hide object 96
Endif
Rem Control input for camera
If Upkey()=1
XTest# = Newxvalue(X#,ABY#,20)
ZTest# = Newzvalue(Z#,ABY#,20)
If XTest#>15 and XTest#<2485 and ZTest#>15 and ZTest#<3485
Move object 99,10
Endif
Endif
If Downkey()=1
XTest# = Newxvalue(X#,ABY#,-20)
ZTest# = Newzvalue(Z#,ABY#,-20)
If XTest#>15 and XTest#<2485 and ZTest#>15 and ZTest#<3485
Move object 99,-10
Endif
Endif
If Leftkey()=1 then Yrotate object 99,Wrapvalue(ABY#-5)
If Rightkey()=1 then Yrotate object 99,Wrapvalue(ABY#+5)
If Leftkey()=1 then Yrotate object 98,Wrapvalue(ABY#-5)
If Rightkey()=1 then Yrotate object 98,Wrapvalue(ABY#+5)
Rem Collisions
If Object collision(99,22)>0 or Object collision(99,28)>0 then position object 99,X#,0,Z#
If Escapekey()=1 then Exit
X# = Object position x(99)
Z# = Object position z(99)
Y# = Get Ground Height(1,X#,Z#)
XL#= Object position x(96)
ZL#= Object position z(96)
YL#= Get Ground Height(1,X#,Z#)
Position object 99,X#,Y#+12.5,Z#
Position object 98,X#,Y#+42.5,Z#
CameraZ# = Newzvalue(Z#,ABY#-180,100)
CameraX# = Newxvalue(X#,ABY#-180,100)
Position camera CameraX#,Y#+40,CameraZ#
Point camera X#,Y#+35,Z#
Rem Refresh Screen
Sync
Loop
As far as i know the object numbers are correct