Guest User

Untitled

a guest
May 22nd, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. ============================================================================================
  2. Dragon Horn (original code)
  3. ============================================================================================
  4. C2/1823: 10 17 BPL $183C (Branch if not jump continously [Dragon Horn])
  5. C2/1825: CE 8E 3A DEC $3A8E (make a variable FFh to indicate the attack is
  6. a continuous jump)
  7. C2/1828: 20 5A 4B JSR $4B5A (0 to 255)
  8. C2/182B: EE 70 3A INC $3A70 (Add 1 attack)
  9. C2/182E: C9 40 CMP #$40
  10. C2/1830: B0 0A BCS $183C (75% chance branch)
  11. C2/1832: EE 70 3A INC $3A70 (Add 1 attack)
  12. C2/1835: C9 10 CMP #$10
  13. C2/1837: B0 03 BCS $183C (25% chance branch - so there's a 1/16 overall
  14. chance of 4 attacks)
  15. C2/1839: EE 70 3A INC $3A70 (Add 1 attack)
  16. C2/183C: BD F9 3E LDA $3EF9,X
Add Comment
Please, Sign In to add comment