Advertisement
AnthonyCagliano

Untitled

Jan 2nd, 2016
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. KeywaitLoop:
  2. ld a,(kbdScanCode) \ or a \ jr z,waitloop
  3. push af
  4. sub 49 \ jr c,{1@}
  5. cp 4 \ jr nc,{1@}
  6. jp holdDice
  7. @: pop af
  8. ; cp skYEqu \ jp holdDice1
  9. ; cp skWindow \ jp holdDice2
  10. ; cp skZoom \ jp holdDice3
  11. ; cp skTrace \ jp holdDice4
  12. ; cp skGraph \ jp holdDice5
  13. cp sk2nd \ jp throwDie
  14. cp skLeft \ jp cycleLeftCombos
  15. cp skRight \ jp cycleRightCombos
  16. cp skEnter \ jp EnterScore
  17. cp skClear \ jp QuitGame
  18. jr KeywaitLoop
  19.  
  20.  
  21. holdDice:
  22. ld b,a \ ld a,5 \ sub b
  23. ld c,a \ ld b,0
  24. ld a,(iy+bc) \ xor 80h \ ld (iy+bc),a
  25. jp KeywaitLoop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement