daily pastebin goal
45%
SHARE
TWEET

Untitled

a guest Dec 14th, 2018 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. SpaceWorldScript:
  2.     ld a, REDS_HOUSE_2F
  3.     ld [wLastMap], a
  4.     call EnableAutoTextBoxDrawing
  5.     ld a, $2
  6.     ld c, a
  7.     call DelayFrames
  8. .Increase
  9.     ld a, [wSineCounter]
  10.     inc a
  11.     ld [wSineCounter] , a  
  12. .goDown
  13.     ld a, [wSineCounter]
  14.     cp $10
  15.     jp z, .goUp
  16.     call GoDown
  17.     ret
  18. .goUp
  19.     call GoUp
  20.     ld a, [wSineCounter]
  21.     dec a
  22.     ld [wSineCounter] , a
  23.     cp $00
  24.     jp nz, .goUp
  25.     jp .Increase
  26.    
  27.    
  28. Shmup1:
  29.  
  30.     INCBIN "gfx/red/shmup1.2bpp"
  31. Shmup1End:
  32.    
  33. SpaceWorldTextPointers:
  34.     dw PickUpItemText
  35.    
  36.    
  37. GoDown:
  38.     ld a, [wSpriteStateData1 + $14]
  39.     inc a
  40.     ld [wSpriteStateData1 + $14] , a
  41.     ld a, [wSpriteStateData1 + $16]
  42.     dec a
  43.     ld [wSpriteStateData1 + $16] , a
  44.     ret
  45. GoUp:  
  46.     ld a, [wSpriteStateData1 + $14]
  47.     dec a
  48.     ld [wSpriteStateData1 + $14] , a
  49.     ld a, [wSpriteStateData1 + $16]
  50.     dec a
  51.     ld [wSpriteStateData1 + $16] , a
  52.     ret
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top