Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- green = 0xFF47e778
- red = 0xFFff7979
- black = 0xFF000000
- Lvals = {mainmemory.read_u8(0x968c),mainmemory.read_u8(0x06db),mainmemory.read_u8(0x0027)}
- C = {}
- if Lvals[1] > 0 then
- C[1] = green
- else
- C[1] = red
- end
- if Lvals[2] == 0 then
- C[2] = green
- else
- C[2] = red
- end
- if Lvals[3] == 171 then
- C[3] = green
- else
- C[3] = red
- end
- for i = 1,3 do
- gui.text(10,100+((i-1)*15),i .. ": " .. Lvals[i],black,C[i])
- end
- if Lvals[1] > 0 and Lvals[2] == 0 and Lvals[3] == 171 then
- Poss = "Elixir glitch IS possible"
- Color = green
- else
- Poss = "Elixir glitch is NOT possible"
- Color = red
- end
- gui.text(10,160,Poss,black,Color)
- emu.frameadvance()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement