home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Jommeke
/
Jommeke.iso
/
movies
/
spotdiff.dir
/
00053_Script_53
< prev
next >
Wrap
Text File
|
2000-02-23
|
1KB
|
46 lines
--on setupallsprites2
--
-- -- sets up the patches properly for the game ::
--
--
-- global markerch,diffchbase,picch,castbase,level,posdata
--
--
-- put ((level-1)*50)+castbase into sbase
--
--
-- put 20 into cnt
--
--
-- --sprites which cover the areas that are different
--
-- put getat(posdata,level) into levdata
--
-- repeat with n=1 to cnt
--
-- --the loop does a pair of pieces at a time
--
-- put getat(levdata,n) into lpair
-- put getat(lpair,1) into xl
-- put getat(lpair,2) into yl
--
-- put diffchbase+n-1 into ch
--
--
-- --sets both sets of patches so they show the same patches on both sides
--
-- --left side
--
-- set the member of sprite ch to member (sbase-1+n) of castlib 3
-- set the loch of sprite ch to xl
-- set the locv of sprite ch to yl
--
--
-- --right side
-- set the member of sprite ch+30 to member (sbase-1+n) of castlib 3
-- set the loch of sprite ch+30 to xl+363
-- set the locv of sprite ch+30 to yl
--
--
-- end repeat
--end