Advertisement
Guest User

Untitled

a guest
Oct 1st, 2014
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.09 KB | None | 0 0
  1. ;LUDWIG VON KOOPA
  2. ;Ludwig walks around, occasionally spitting Bowser Statue fireballs. When stomped, he retreats into his shell
  3. ;and spins for a bit before popping back out. He takes a customizable amount of stomps to kill.
  4.  
  5. !HP = $03 ;Number of stomps it takes to kill him. Probably shouldn't change this..
  6. !HPcounterRAM = $1528
  7.  
  8. !Projectile = $B3 ;He spits Bowser Statue fireballs by default, but you can make him spawn whatever normal sprite you want.
  9.  
  10. Tilemap:
  11. db $80,$82,$84,$86,$A0,$A2,$A4,$A6,$C0,$C2,$C4,$C6;Her's 32x32 when out of his shell and 16x32 when in. Feel free to remap him if necessary.
  12.  
  13. !HurtSFX = $28 ;Boss/Chuck hurt SFX by default
  14. !HurtSFXBank = $1DFC
  15.  
  16. States:
  17. dw State00 ;Dead
  18. dw State01 ;Damaged
  19. dw State02 ;Walking and spitting (slowest speed)
  20. dw State03 ;Walking and spitting (medium speed)
  21. dw State04 ;Walking and spitting (fastest speed)
  22. dw State05 ;Spinning in shell
  23.  
  24. State02Speed:
  25. db $04,$FC
  26.  
  27. State03Speed:
  28. db $08,$F8
  29.  
  30. State04Speed:
  31. db $0C,$F4
  32.  
  33. SpinningSpeed:
  34. db $10,$F0
  35.  
  36. print "INIT ",pc
  37. PHB
  38. RTL
  39.  
  40. print "MAIN ",pc
  41. PHB
  42. RTL
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement