Advertisement
TimJSwan

Tim Swan's ZELDAO in ti-Basic

May 7th, 2014
3,145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.19 KB | None | 0 0
  1. Code for Zelda posted on May 7th 2014 after Episode 17 upon YouTube comment request.
  2. see also ZELDA: http://pastebin.com/rxKbWnY0
  3. see also ZELDAP: http://pastebin.com/vM1bG9Ct
  4. ZELDAO:
  5. ClrHome
  6. Output(4,4,”LOADING…
  7. Fill(0,[A]
  8. If N=0
  9. Then
  10. If O=0
  11. Then
  12. For(C,-2,0
  13. If C=-2
  14. Goto A
  15. If C=-1
  16. Goto A1
  17. End
  18. 10->[A](8,8
  19. 9->[A](7,7
  20. End
  21. End
  22. If N=-1
  23. Then
  24. If O=0
  25. Then
  26. For(C,-3,0
  27. If C=-3
  28. Goto A
  29. If C=-2
  30. Goto R1
  31. If C=-1
  32. Goto L1
  33. End
  34. End
  35. End
  36. ClrHome
  37. For(A,1,8
  38. For(B,1,16
  39. “ ->Str1
  40. If [A](A,B)=10
  41. “F->Str1
  42. If [A](A,B)=9
  43. “O->Str1
  44. Output(A,B,Str1
  45. End
  46. End
  47. Return
  48. Lbl A
  49. For(A,-4,0
  50. If A=-4
  51. Goto T
  52. If A=-3
  53. Goto B
  54. If A=-2
  55. Goto L
  56. If A=-1
  57. Goto R
  58. End
  59. End
  60. Lbl T
  61. For(B,1,16
  62. 9->[A](1,B
  63. End
  64. End
  65. Lbl B
  66. For(B,1,16
  67. 9->[A](8,B
  68. End
  69. End
  70. Lbl L
  71. For(B,1,8
  72. 9->[A](B,1
  73. End
  74. End
  75. Lbl R
  76. For(B,1,8
  77. 9->[A](B,16
  78. End
  79. End
  80. Lbl A1
  81. For(A,-4,0
  82. If A=-4
  83. Goto T1
  84. If A=-3
  85. Goto B1
  86. If A=-2
  87. Goto L1
  88. If A=-1
  89. Goto R1
  90. End
  91. End
  92. Lbl T1
  93. For(B,7,10
  94. 0->[A](1,B
  95. End
  96. End
  97. Lbl B1
  98. For(B,7,10
  99. 0->[A](8,B
  100. End
  101. End
  102. Lbl L1
  103. For(B,4,5
  104. 0->[A](B,1
  105. End
  106. End
  107. Lbl R1
  108. For(B,4,5
  109. 0->[A](B,16
  110. End
  111. End
  112. see also ZELDA: http://pastebin.com/rxKbWnY0
  113. see also ZELDAP: http://pastebin.com/vM1bG9Ct
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement