Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Display Answer
- local x = 0
- local y = 10
- local i = 0
- local l = 0
- local lvalue = 0
- function letter()
- if lvalue==10 then
- return ("A")
- elseif lvalue==11 then
- return ("B")
- elseif lvalue==12 then
- return ("C")
- elseif lvalue==13 then
- return ("D")
- elseif lvalue==14 then
- return ("E")
- elseif lvalue==15 then
- return ("F")
- elseif lvalue==16 then
- return ("G")
- elseif lvalue==17 then
- return ("H")
- elseif lvalue==18 then
- return ("I")
- elseif lvalue==19 then
- return ("J")
- elseif lvalue==20 then
- return ("K")
- elseif lvalue==21 then
- return ("L")
- elseif lvalue==22 then
- return ("M")
- elseif lvalue==23 then
- return ("N")
- elseif lvalue==24 then
- return ("O")
- elseif lvalue==25 then
- return ("P")
- elseif lvalue==26 then
- return ("Q")
- elseif lvalue==27 then
- return ("R")
- elseif lvalue==28 then
- return ("S")
- elseif lvalue==29 then
- return ("T")
- elseif lvalue==30 then
- return ("U")
- elseif lvalue==31 then
- return ("V")
- elseif lvalue==32 then
- return ("W")
- elseif lvalue==33 then
- return ("X")
- elseif lvalue==34 then
- return ("Y")
- elseif lvalue==35 then
- return ("Z")
- else
- return ("")
- end
- end
- while true do
- while i<16 do
- i=i+1
- l=l+1
- x=x+15
- lvalue= memory.readbyte (0x447+l)
- gui.text(x,y,letter())
- --gui.text(x,y,str);
- end
- emu.frameadvance();
- x = 0
- i = 0
- l = 0
- lvalue = 0
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement