Advertisement
Guest User

Untitled

a guest
Sep 13th, 2017
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. int currentX = 0, prevX = 0;
  2. int column = 1;
  3. for (int character = 0; character != 254; ++character) {
  4. prevX = currentX;
  5. for (int y = 0; y != 7; ++y) {
  6. for (int x = 0; x != 5; ++x) {
  7. ++currentX;
  8. if (ai.length > currentX && ai[currentX] != 0) {
  9. store += (x * y) + ", ";
  10. }
  11. }
  12. currentX -= 5;
  13. currentX += 128;
  14. }
  15. currentX = prevX;
  16. currentX += 8;
  17. store += "}, {";
  18. ++column;
  19. if (column == 15)
  20. currentX += 8 * 128;
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement