Advertisement
Guest User

Untitled

a guest
Apr 20th, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.45 KB | None | 0 0
  1. # LEVEL 1 BOSS AREA ENTRY CINEMATIC script file thing.......
  2.  
  3. # Load in the images we're going to use... up to 16... (id filename location width height trans)
  4. CacheImage 0 boss1-1.dat M 64 64 1
  5. CacheImage 1 boss1-2.dat M 64 64 1
  6.  
  7. # Jump to starting point
  8. JumpToTile 700 40
  9.  
  10. # Walk to the right 48 pixels (3 tiles) at 2 vblanks per pixel (1 = direction right, 0 = left)
  11. WalkPixels 1 48 2
  12.  
  13. # Zoom in on bottlecapman with a chunk size of 8 @ 1 vblank per chunk
  14. ZoomBCM 8 1
  15.  
  16. # wait 1 second
  17. Delay 60
  18.  
  19. # play "huh?" sound (filename, rate, location)
  20. Sound bcm-huh.snd 44100 M
  21.  
  22. Delay 45
  23.  
  24. # Draw the monster... @ tile 706,34
  25. BlitImage 0 706 34
  26.  
  27. # zoom out...
  28. ZoomOut 8 1
  29.  
  30. Delay 45
  31.  
  32. # make the boss animate for a moment... frames vblanks-per-frame frame-count x y im1 im2 etc
  33. AnimateLoop 2 8 10 706 34 0 1
  34.  
  35. # zoom in on the badguy... using X,Y pixel coords... chunk size of 8 @ 1 vblank per chunk
  36. ZoomXY 11296 544 8 1
  37.  
  38. AnimateLoop 2 8 18 706 34 0 1
  39.  
  40. ZoomOut 8 1
  41.  
  42. AnimateLoop 2 8 7 706 34 0 1
  43.  
  44. Sound bcm-hmm.snd 44100 M
  45.  
  46. AnimateLoop 2 8 7 706 34 0 1
  47.  
  48. Sound evil-laugh.snd 44100 M
  49.  
  50. AnimateLoop 2 8 14 706 34 0 1
  51.  
  52. Delay 20
  53.  
  54. ZoomBCM 8 1
  55.  
  56. Delay 45
  57.  
  58. Sound bcm-ahh.snd 44100 M
  59.  
  60. # make him jump... 20 pixels up/down, 1 vblank per pixel
  61. UpPixels 20 1
  62. DownPixels 20 1
  63.  
  64. Delay 75
  65.  
  66. ZoomOut 8 1
  67.  
  68. # Block off the wall to the left, and open the wall to the right...
  69. SetTile 700 39 18
  70. SetTile 700 40 18
  71. SetTile 718 39 255
  72. SetTile 718 40 255
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement