!wavset 6,muon.wav
!wav 6,0
!wavset 21,muon.wav
!wav 21,0
!wavset 2,wind1.wav
!wav 2,1
!picset 8,title.bmp
!picset 198,not.bmp
!picset 2,titlemap.bmp
!picset 120,titlesel1.bmp
!picarea 120,0,0,320,120
!picon 8
!picon 198
!picon 2
!picon 120
!picpos 8,0,0
!picpos 198,0,0
$rnd5=0
!picpos 2,$rnd5,0
!picpos 120,173,319
!picset 250,kuro.bmp
!picpos 250,0,0
!picon 250
!pical 250,256
;
$rnd3=0
$rnd4=0
!picarea 198,0,$rnd4,640,480
!pical 198,120
!pical 250,180
!wavset 5,clock.wav
*
!pical 250,90
*
!pical 250,0
$sel=1

!vload $saveok
*
$200x=0
!picset 250,sunaarasi0.bmp
!picon 250
!picpos 250,$200x,0

!pical 250,60


#qwe
*
!pause 1
$200x-80
!if $200x<-1280
$200x+1280
!endif
!picpos 250,$200x,0



$rnd3+1
!if $rnd3>5
$rnd3=0
$rnd4+480
!if $rnd4>1450
$rnd4=0
!endif
!picarea 198,0,$rnd4,640,480
;
$rnd5-1
!if $rnd5<-1280
$rnd5+1280
!endif
!picpos 2,$rnd5,0

!if $2key=$key2
!goto #qwe
!endif
$2key=0

;
!if $key3=z
!wavset 5,muon.wav
!wav 5,0
!godown #kettei
!endif
!if $key2=up
$2key=up
!wav 5,0
!picarea 120,0,0,320,120
$sel=1
!endif
!if $key2=down
$2key=down
!wav 5,0
!picarea 120,0,120,320,120
$sel=2
!if $saveok=0
*
!picarea 120,0,0,320,120
$sel=1
!endif

;
!goto #qwe


;----------------------------------
#kettei


!wavset 1,muon.wav
!wav 1,0

!wavset 2,muon.wav
!wav 2,0

!if $sel=1
!wavset 1,trainhorn1.wav
!wav 1,0

!picset 350,kuro.bmp
!picon 350
!picpos 350,0,0
!pical 350,40
*
!pause 1
!pical 350,80
*
!pause 1
!pical 350,120
*
!pause 1
!pical 350,160
*
!pause 1
!pical 350,200
*
!pause 1
!pical 350,240
*
!pause 1
!pical 350,256
*
!pical 198,256
!pical 250,256
!pical 2,256
!pical 8,256
!picoff 250
!picset 8,not.bmp
!picset 198,not.bmp
!picset 2,not.bmp
!pical 8,256
!pical 198,256
!pical 2,256
!pical 120,256
!picon 8
!picon 198
!picarea 198,0,0,1600,960
!picarea 2,0,0,1600,960
!picarea 8,0,0,1600,960
!picon 2

*
!pause 10
!file op.asdf
!stop
!endif


!if $sel=2
!wavset 41,kaidan1.wav
!wav 41,0
!picset 350,kuro.bmp
!picpos 350,0,0
!pical 350,40
*
!pause 1
!pical 350,80
*
!pause 1
!pical 350,120
*
!pause 1
!pical 350,160
*
!pause 1
!pical 350,200
*
!pause 1
!pical 350,240
*
!pause 1
!pical 350,256
*
!pical 198,256
!pical 250,256
!pical 2,256
!pical 8,256
!picoff 250
!picset 8,not.bmp
!picset 198,not.bmp
!picset 2,not.bmp
!pical 8,256
!pical 198,256
!pical 2,256
!pical 120,256
!picon 8
!picon 198
!picarea 198,0,0,1600,960
!picarea 2,0,0,1600,960
!picarea 8,0,0,1600,960
!godown #load
!endif

!goto #qwe

;----------------------------------------
#load
!vload $ibent1kusa
!vload $ibent1key
!vload $ibent2key
!vload $ibent3key
!vload $ibent4pc
!vload $ibent5mizu1
!vload $ibent6mizu1
!vload $ibent7mizu1
!vload $ibent567mizu
!vload $ibent8gun
!vload $ibent9kazari1
!vload $ibent9kazari2
!vload $ibent9kazari3
!vload $ibent9kazari3b
!vload $ibent10crea
!vload $ibent11doa
!vload $shihen1
!vload $shihen2
!vload $shihen3
!vload $shihen4
!vload $shihen5
!vload $shihen6
!vload $shihen7
!vload $shihen8
!vload $shihen9
!vload $shihen10
!vload $ibent4
!vload $ibent5
!vload $ibent6
!vload $ibent7
!vload $ibent8
!vload $ibent9
!vload $ibent10
!vload $item1
!vload $item2
!vload $item3
!vload $item4
!vload $item5
!vload $item6
!vload $item7
!vload $item8
!vload $item9
!vload $item10
!vload $gold

!vload $takara1
!vload $takara2
!vload $takara3
!vload $takara4
!vload $takara5
!vload $takara6
!vload $takara7
!vload $takara8
!vload $takara9
!vload $takara10
!vload $takara11
!vload $takara12
!vload $takara13
!vload $takara14
!vload $takara15
!vload $takara16
!vload $takara17
!vload $takara18
!vload $takara19
!vload $takara20

$rnd9=load

!file gamestart.asdf
!stop





























































