SHARE
TWEET

Untitled

a guest Dec 14th, 2018 71 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.     jp GoDown
  17. .goUp
  18.     call GoUp
  19.     ld a, [wSineCounter]
  20.     dec a
  21.     ld [wSineCounter] , a
  22.     cp $00
  23.     jp nz, .goUp
  24.     jp .Increase
  25.    
  26.    
  27. Shmup1:
  28.  
  29.     INCBIN "gfx/red/shmup1.2bpp"
  30. Shmup1End:
  31.    
  32. SpaceWorldTextPointers:
  33.     dw PickUpItemText
  34.    
  35.    
  36. GoDown:
  37.     ld a, [wSpriteStateData1 + $14]
  38.     inc a
  39.     ld [wSpriteStateData1 + $14] , a
  40.     ld a, [wSpriteStateData1 + $16]
  41.     dec a
  42.     ld [wSpriteStateData1 + $16] , a
  43.     ret
  44. GoUp:  
  45.     ld a, [wSpriteStateData1 + $14]
  46.     dec a
  47.     ld [wSpriteStateData1 + $14] , a
  48.     ld a, [wSpriteStateData1 + $16]
  49.     dec a
  50.     ld [wSpriteStateData1 + $16] , a
  51.     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