aboutsummaryrefslogblamecommitdiff
path: root/tools/lsrc/test.lsr
blob: 25ca8fe093d253f46730625ae80260cdddb3164a (plain) (tree)
























                                                          
.init
mov r00 0
,

.update
add i00   1			;++i00
mov i01 i00			;if(i00<15)
sub i01 15
ltz i01
jnz i01 24
mov i00 0			;reset the timer
push 6.28
push 0.0
call randr			;get the random angle
mov r01 rrt
push 5.0
push 1.0
call randr			;get the random speed
push r01
push rrt
push 300.0
push 400.0
call createBullet	;CreateBullet(400,300,speed,angle)
nop					;no-op
,