SHARE
TWEET

CT elixir glitch

Cronokirby Sep 27th, 2016 (edited) 102 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. while true do
  2. green = 0xFF47e778
  3. red = 0xFFff7979
  4. black = 0xFF000000
  5. Lvals = {mainmemory.read_u8(0x968c),mainmemory.read_u8(0x06db),mainmemory.read_u8(0x0027)}
  6.  
  7. C = {}
  8.  
  9. if Lvals[1] > 0 then
  10. C[1] = green
  11. else
  12. C[1] = red
  13. end
  14.  
  15. if Lvals[2] == 0 then
  16. C[2] = green
  17. else
  18. C[2] = red
  19. end
  20.  
  21. if Lvals[3] == 171 then
  22. C[3] = green
  23. else
  24. C[3] = red
  25. end
  26.  
  27. for i = 1,3 do
  28.     gui.text(10,100+((i-1)*15),i .. ":   " .. Lvals[i],black,C[i])
  29.     end
  30.  
  31.     if Lvals[1] > 0 and Lvals[2] == 0 and Lvals[3] == 171 then
  32.     Poss = "Elixir glitch IS possible"
  33.     Color = green
  34.     else
  35.     Poss = "Elixir glitch is NOT possible"
  36.     Color = red
  37.     end
  38.    
  39.     gui.text(10,160,Poss,black,Color)
  40.  
  41. emu.frameadvance()
  42. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top