Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # LEVEL 1 BOSS AREA ENTRY CINEMATIC script file thing.......
- # Load in the images we're going to use... up to 16... (id filename location width height trans)
- CacheImage 0 boss1-1.dat M 64 64 1
- CacheImage 1 boss1-2.dat M 64 64 1
- # Jump to starting point
- JumpToTile 700 40
- # Walk to the right 48 pixels (3 tiles) at 2 vblanks per pixel (1 = direction right, 0 = left)
- WalkPixels 1 48 2
- # Zoom in on bottlecapman with a chunk size of 8 @ 1 vblank per chunk
- ZoomBCM 8 1
- # wait 1 second
- Delay 60
- # play "huh?" sound (filename, rate, location)
- Sound bcm-huh.snd 44100 M
- Delay 45
- # Draw the monster... @ tile 706,34
- BlitImage 0 706 34
- # zoom out...
- ZoomOut 8 1
- Delay 45
- # make the boss animate for a moment... frames vblanks-per-frame frame-count x y im1 im2 etc
- AnimateLoop 2 8 10 706 34 0 1
- # zoom in on the badguy... using X,Y pixel coords... chunk size of 8 @ 1 vblank per chunk
- ZoomXY 11296 544 8 1
- AnimateLoop 2 8 18 706 34 0 1
- ZoomOut 8 1
- AnimateLoop 2 8 7 706 34 0 1
- Sound bcm-hmm.snd 44100 M
- AnimateLoop 2 8 7 706 34 0 1
- Sound evil-laugh.snd 44100 M
- AnimateLoop 2 8 14 706 34 0 1
- Delay 20
- ZoomBCM 8 1
- Delay 45
- Sound bcm-ahh.snd 44100 M
- # make him jump... 20 pixels up/down, 1 vblank per pixel
- UpPixels 20 1
- DownPixels 20 1
- Delay 75
- ZoomOut 8 1
- # Block off the wall to the left, and open the wall to the right...
- SetTile 700 39 18
- SetTile 700 40 18
- SetTile 718 39 255
- SetTile 718 40 255
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement