Advertisement
Arnethegreat

Yo-Carl-Chickens

Sep 27th, 2012
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 37.88 KB | None | 0 0
  1. -- Version 0.32a
  2. -- OPTIONS -- OPTIONS -- OPTIONS -- Change to true or false
  3.  
  4. Level_Blitz = false
  5. NoLeftMode = false
  6. DrunkMode = false
  7. HardMode = false
  8. ForceRetry = false
  9. InfiniteLives = false
  10. DeathTimer = false  -- When the star meter hits 0, you die. Combine with Hard Mode for Insane Mode (1-hit death)
  11. AlwaysExtendedFlutter = true
  12. NoFlutter = false
  13. NoTongue = false
  14. Velcro = false
  15. AlwaysFilledMouth = false -- Enter 2 for bubbles and 3 for melons. Enter false to disable
  16. FullEggsStart = true
  17. NumberOfEggs = 3 -- For FullEggsStart, how many to start with - choose between 1-6
  18. EggType = 40-- What eggs to start with (34 = flashing egg - 35 = red - 36 = yellow - 37 = green - 39 = key - 40 = chicken - 43 = big egg
  19. FastModeX = false
  20. FastModeY = false
  21. SpeedBoostX = 5 -- For fast mode, enter (-9) to 9 (higher is faster)
  22. SpeedBoostY = 8
  23. PoisonCoins = 0 -- Put 0 to disable. 10 = 1 star per coin. Negative values give stars.
  24. PoisonFlowers = 0
  25. GroundIsLava = 0 -- Put 0 to disable. 20 = about 1 star per second
  26. TerminalMode = 0 -- Put 0 to disable. Same rate as above
  27. PoisonAir = 0 -- Just as GroundIsLava but in air instead.
  28. PackMuleMode = false -- Only works when combined with Fast Mode
  29. StarMeterSpeedMode = false -- poop, don't use yet. (it's poop)
  30.  
  31. -- Level Blitz Options -- Level Blitz Options --
  32.  
  33. AutoScrollers = false
  34. ExtraStages = false
  35. ExcludeStages = {68, 72, 54}  -- seperate by a comma, write stages like 54 as 5-4
  36. CustomLevelOrder = {}
  37. NormalFortressOrder = true
  38. NormalCastleOrder = true
  39. RandomSeed = 18467
  40. SameStage = false
  41. Fortresses = true
  42. Castles = true
  43. World1 = true
  44. World2 = true
  45. World3 = true
  46. World4 = true
  47. World5 = true
  48. World6 = true
  49.  
  50. -- Level Goals Options -- Level Goals Options --
  51.  
  52. CoinGoals = false       -- set true if you wan't to use it
  53. MinimumCoins = true     -- set true if you want a minimum goal
  54. MaximumCoins = false    -- set true if you wanta a maximum goal
  55. MinCoinGoal = 200       -- set what minimum goal must be met
  56. MaxCoinGoal = 0         -- set what the maxiumum goal can be - death when getting more than max
  57. DisplayCoin = true      -- whether to display on screen or not
  58.  
  59. StarGoals = false
  60. MinimumStars = false
  61. MaximumStars = true
  62. MinStarGoal = 0
  63. MaxStarGoal = 25
  64. DisplayStar = true
  65.  
  66. FlowerGoals = false
  67. MinimumFlowers = true
  68. MaximumFlowers = true
  69. MinFlowerGoal = 3
  70. MaxFlowerGoal = 3
  71. DisplayFlower = true
  72.  
  73. RedCoinGoals = false
  74. MinimumRedCoins = true
  75. MaximumRedCoins = false
  76. MinRedCoinGoal = 4
  77. MaxRedCoinGoal = 0
  78. DisplayRed = true
  79.  
  80. JumpGoals = false
  81. MinimumJumps = false
  82. MaximumJumps = true
  83. MinJumpGoal = 0
  84. MaxJumpGoal = 100
  85. DisplayJump = true
  86.  
  87. Egg_Goals = false
  88. MinimumEggs = true
  89. MaximumEggs = false
  90. MinEggGoal = 25
  91. MaxEggGoal = 100
  92. DisplayEggs = true
  93.  
  94. Fuzzy_Goals = false
  95. MinimumFuzzies = false
  96. MaximumFuzzies = true
  97. MinFuzzyGoal = 5
  98. MaxFuzzyGoal = 5
  99. DisplayFuzzy = true
  100.  
  101. Lives_Goals = false
  102. MinimumLives = true
  103. MaximumLives = true
  104. MinLivesGoal = 5
  105. MaxLivesGoal = 5
  106. DisplayLives = true
  107.  
  108. gui.opacity(0.8) -- set opacity for text displayed
  109.  
  110. -- OPTIONS End -- OPTIONS End -- OPTIONS End --
  111.  
  112. -- !Instructions! Instructions! Instructions! Instructions!
  113. -- 1. You must use a lua compatible Snes9x emulator. Recommended is -> http://code.google.com/p/snes9x-rr/downloads/detail?name=snes9x-1.51-rerecording-svn147.zip&can=2&q=
  114. -- 2. Recommended ROM is (U) (1.0) (!) but others should work but they are untested
  115. -- 3. Change options above and replace with true or false, RandomSeed is a number though, if it's a word, it's just random
  116. -- 4. In Snes9x, load ROM then go File -> Lua Scripting -> New Lua Script Window... -> Load file -> Press Run
  117. -- 5. You know you have loaded it right when the Lua Script window outputs what modes are on and what are false
  118. -- 6. If you have changed the options, you have to restart the script for it to take effect
  119. -- Newest version is always found at http://pastebin.com/qCGDbZZZ
  120. ------------------------------------------------
  121. ------------------------------------------------
  122. ------------------------------------------------
  123. ----------------Script starts here--------------
  124. ------------------------------------------------
  125. ------------------------------------------------
  126. ------------------------------------------------
  127. ------------------------------------------------
  128. ------------------------------------------------
  129. function table.contains(table, element)
  130.   for i, value in pairs(table) do
  131.     if value == element then
  132.       valpos = i
  133.       return true
  134.     end
  135.   end
  136.   return false
  137. end
  138.  
  139. function deepcopy(t)
  140.     if type(t) ~= 'table' then return t end
  141.     local mt = getmetatable(t)
  142.     local res = {}
  143.     for k,v in pairs(t) do
  144.         if type(v) == 'table' then
  145.             v = deepcopy(v)
  146.         end
  147.         res[k] = v
  148.     end
  149.     setmetatable(res,mt)
  150.     return res
  151. end
  152.  
  153. function removetable(tab,tab2)
  154.     table.sort(tab)
  155.     table.sort(tab2)
  156.     rem = 0
  157.     tabcopy = deepcopy(tab)
  158.         for cy, value in ipairs(tab) do
  159.               for cx, value2 in ipairs (tab2) do
  160.                 if value == value2 then
  161.                     table.remove(tabcopy,cy - rem)
  162.                     rem = rem + 1
  163.                 end
  164.               end
  165.         end
  166.     return tabcopy
  167. end
  168.  
  169. function convertstages(tablelist)
  170.     for i, stg in pairs(tablelist) do
  171.         worldnumber = math.floor(stg/10)
  172.         levelnumber = stg - worldnumber*10
  173.         realstagevalue = (worldnumber - 1)*12 + levelnumber - 1
  174.         tablelist[i] = realstagevalue
  175.     end
  176. end
  177. ------------------------------------------------
  178. ------------------------------------------------
  179. ------------------------------------------------
  180. print("Version 0.31e")
  181. NumberOfEggs = NumberOfEggs*2
  182. gpsn_value = 0
  183. apsn_value = 0
  184. psn_value = 0
  185. eggcount = 0
  186. keycount = 0
  187. mouth_var = 0
  188. packmulemodifier = 1
  189. laststage = 0
  190. lastworld = 0
  191. scrollerslist = {4, 53, 64} -- This can be changed to include or exclude other stages depending on how you define an autoscroller
  192. extralist = {8, 20, 32, 44, 56, 68}
  193. castlelist = {7, 19, 31, 43, 55}
  194. fortresslist = {3, 15, 27, 39, 51, 63}
  195. world1list = {0, 1, 2, 3, 4, 5, 6, 7, 8 }
  196. world2list = {12, 13, 14, 15, 16, 17, 18, 19, 20}
  197. world3list = {24, 25, 26, 27, 28 ,29, 30, 31, 32}
  198. world4list = {36, 37, 38, 39, 40, 41, 42, 43, 44}
  199. world5list = {48, 49, 50, 51, 52, 53, 54, 55, 56}
  200. world6list = {60, 61, 62, 63, 64, 65, 66, 68}
  201. stageslist =
  202. {0, 1, 2, 3, 4, 5, 6, 7, 8,
  203. 12, 13, 14, 15, 16, 17, 18, 19, 20,
  204. 24, 25, 26, 27, 28 ,29, 30, 31, 32,
  205. 36, 37, 38, 39, 40, 41, 42, 43, 44,
  206. 48, 49, 50, 51, 52, 53, 54, 55, 56,
  207. 60, 61, 62, 63, 64, 65, 66, 68}
  208. -- Remove stages according to options
  209. if AutoScrollers == false then
  210.     stageslist = removetable(stageslist, scrollerslist)
  211. end
  212.  
  213. if ExtraStages == false then
  214.     stageslist = removetable(stageslist, extralist)
  215. end
  216.  
  217. if World1 == false then
  218.     stageslist = removetable(stageslist, world1list)
  219. end
  220.  
  221. if World2 == false then
  222.     stageslist = removetable(stageslist, world2list)
  223. end
  224.  
  225. if World3 == false then
  226.     stageslist = removetable(stageslist, world3list)
  227. end
  228.  
  229. if World4 == false then
  230.     stageslist = removetable(stageslist, world4list)
  231. end
  232.  
  233. if World5 == false then
  234.     stageslist = removetable(stageslist, world5list)
  235. end
  236.  
  237. if World6 == false then
  238.     stageslist = removetable(stageslist, world6list)
  239. end
  240.  
  241. if Fortresses == false or NormalFortressOrder == true then
  242.     stageslist = removetable(stageslist, fortresslist)
  243. end
  244.  
  245. if Castles == false or NormalCastleOrder == true then
  246.     stageslist = removetable(stageslist, castlelist)
  247. end
  248.  
  249. convertstages(ExcludeStages)
  250. stageslist = removetable(stageslist, ExcludeStages)
  251. castlelist = removetable(castlelist, ExcludeStages)
  252. fortresslist = removetable(fortresslist, ExcludeStages)
  253. --
  254. if RandomSeed ~= nil then
  255.     math.randomseed(RandomSeed)
  256. end
  257. --
  258. ------------------------------------------------
  259. --------------------GAMEMODES-------------------
  260. ------------------------------------------------
  261. ------------------------------------------------
  262. if Level_Blitz == true then
  263.     gen_levelblitz = {}
  264.     numberofstages = #stageslist
  265.     if Castles == true then
  266.         numberofstages = numberofstages + #castlelist
  267.     end
  268.     if Fortresses == true then
  269.         numberofstages = numberofstages + #fortresslist
  270.     end
  271.     instage = 0
  272.     xlbgen = 1
  273.  
  274.     if SameStage == false then
  275.         function SameStage(remstagelist)
  276.             table.remove(remstagelist,gen_stgnr)
  277.         end
  278.     else
  279.         function SameStage()
  280.         end
  281.     end
  282.     if #CustomLevelOrder == 0 then
  283.         while xlbgen <= numberofstages do
  284.             if xlbgen%8 == 0 and #castlelist > 0 and NormalCastleOrder == true then
  285.                 gen_stgnr = math.random(#castlelist)
  286.                 gen_stage = castlelist[gen_stgnr]
  287.                 table.insert(gen_levelblitz,gen_stage)
  288.                 SameStage(castlelist)
  289.             elseif xlbgen%4 == 0 and xlbgen%8 ~= 0 and #fortresslist > 0 and NormalFortressOrder == true then
  290.                 gen_stgnr = math.random(#fortresslist)
  291.                 gen_stage = fortresslist[gen_stgnr]
  292.                 table.insert(gen_levelblitz,gen_stage)
  293.                 SameStage(fortresslist)
  294.             elseif #stageslist > 0 then
  295.                 gen_stgnr = math.random(#stageslist)
  296.                 gen_stage = stageslist[gen_stgnr]
  297.                 table.insert(gen_levelblitz,gen_stage)
  298.                 SameStage(stageslist)
  299.             end
  300.             xlbgen = xlbgen + 1
  301.         end
  302.     else
  303.         convertstages(CustomLevelOrder)
  304.         gen_levelblitz = CustomLevelOrder
  305.         numberofstages = #gen_levelblitz
  306.     end
  307.  
  308.     function LevelBlitz()
  309.         stagenumber = memory.readbyte(0x7E1112)   --//or memory.readbyte(0x7E112E)
  310.         worldnumber= memory.readbyte(0x7E0218)
  311.         entering_stage = memory.readbyte(0x7E111D)
  312.         overworld = memory.readbyte(0x7E0009)
  313.         titlescreen = memory.readbyte(0x7E011C)
  314.         if stagenumber < 8 and instage == 0 and entering_stage == 1 and titlescreen == 12 then
  315.             laststage = stagenumber
  316.             lastworld = worldnumber
  317.             corresponding_stage = (worldnumber/2)*8 + stagenumber+1
  318.             if corresponding_stage <= numberofstages then
  319.                 memory.writebyte(0x7E021A,gen_levelblitz[corresponding_stage])
  320.             end
  321.             instage = 1
  322.         elseif overworld == 126 then
  323.             memory.writebyte(0x7E021A, laststage+lastworld*6)
  324.             memory.writebyte(0x7E0218, lastworld) -- This is not needed? Kept just in case
  325.         elseif entering_stage ~= 1 then
  326.             instage = 0
  327.         end
  328.     end
  329.     print("Blitz Mode is ON")
  330. else
  331.     function LevelBlitz()
  332.     end
  333.     print("Blitz Mode is OFF")
  334. end
  335. -----------------------------------------------
  336. ------------------------------------------------
  337. if NoLeftMode == true then
  338.     function noleft()
  339.         speed = memory.readwordsigned(0x7000B4)
  340.         if speed < 0 and memory.readbyte(0x7000AC) == 0 then
  341.             memory.writeword(0x7000B4,0)
  342.         end
  343.     end
  344.     print("NoLeftMode is ON")
  345. else
  346.     function noleft()
  347.     end
  348.     print("NoLeftMode is OFF")
  349. end
  350. -------------------------------------------------
  351. -------------------------------------------------
  352. if DrunkMode == true then
  353.     function drunk()
  354.         if memory.readbyte(0x7E0118) == 16 or memory.readbyte(0x7E0118) == 57 then
  355.             memory.writeword(0x701FE8, 0)
  356.         else
  357.             memory.writeword(0x701FE8, 10)
  358.         end
  359.     end
  360.     print("Drunk Mode is ON")
  361. else
  362.     function drunk()
  363.     end
  364.     print("Drunk Mode is OFF")
  365. end
  366. -------------------------------------------------
  367. -------------------------------------------------
  368. if HardMode == true then
  369.     timerreset = 1
  370.     function hardmode()
  371.         gamemode = memory.readbyte(0x7E0118)
  372.         hit = memory.readbyte(0x701960)
  373.         if hit == 85 and timerreset == 0 and gamemode == 15 then
  374.             memory.writeword(0x7E03B6, 1)
  375.             timerreset = 1
  376.         elseif hit ~= 85 and timerreset == 1 then
  377.             timerreset = 0
  378.             memory.writeword(0x7E03B6, 100)
  379.         end
  380.     end
  381.     print("Hard Mode is ON")
  382. else
  383.     function hardmode()
  384.     end
  385.     print("Hard Mode is OFF")
  386. end
  387. -------------------------------------------------
  388. -------------------------------------------------
  389. if ForceRetry == true then
  390.     function forceretry()
  391.         if memory.readbyte(0x7E0118) == 61 or memory.readbyte(0x7E0118) == 53 then
  392.             memory.writebyte(0x704094, 0)
  393.         end
  394.     end
  395.     print("Force Retry Mode is ON")
  396. else
  397.     function forceretry()
  398.     end
  399.     print("Force Retry Mode is OFF")
  400. end
  401. -------------------------------------------------
  402. -------------------------------------------------
  403. if InfiniteLives == true then
  404.     function infinitelives()
  405.         memory.writebyte(0x7E0379, 10)
  406.     end
  407.     print("Infinite Lives is ON")
  408. else
  409.     function infinitelives()
  410.     end
  411.     print("Infinite Lives is OFF")
  412. end
  413. -------------------------------------------------
  414. -------------------------------------------------
  415. -------------------------------------------------
  416. -------------------------------------------------
  417. function firedeath()
  418.     memory.writebyte(0x7000AC, 40)
  419.     memory.writebyte(0x7001B0, 40)
  420.     memory.writebyte(0x7001D2, 34)
  421.     memory.writebyte(0x002140, 07)
  422.     yoshiisdead = false
  423.     die = 0
  424. end
  425. if DeathTimer == true then
  426.     yoshiisdead = false
  427.     function deathtimer()
  428.         startimer = memory.readword(0x7E03B6)
  429.         gamemode = memory.readbyte(0x7E0118)
  430.         if gamemode ~= 15 then
  431.             die = 1
  432.         end
  433.         if startimer <= 1  and die == 1 and gamemode == 15 then
  434.             yoshiisdead = true
  435.         end
  436.         if memory.readbyte(0x7001AE) == 0 and memory.readbyte(0x7000AC) == 0 and yoshiisdead == true then
  437.             firedeath()
  438.         end
  439.     end
  440.     print("Death Timer Mode is ON")
  441. else
  442.     function deathtimer()
  443.     end
  444.     print("Death Timer Mode is OFF")
  445. end
  446. -------------------------------------------------
  447. -------------------------------------------------
  448. if AlwaysExtendedFlutter == true then
  449.     function extendedflutter()
  450.         mario = memory.readbyte(0x7E0205)
  451.         if mario == 1 then
  452.             memory.writebyte(0x7000D3, 128)
  453.         end
  454.     end
  455.     print("Always Extended Flutter is ON")
  456. else
  457.     function extendedflutter()
  458.     end
  459.     print("Always Extended Flutter is OFF")
  460. end
  461. -------------------------------------------------
  462. -------------------------------------------------
  463. if NoTongue == true then
  464.     function notongue()
  465.         memory.writebyte(0x700162, 126)
  466.     end
  467.     print("No Tongue Mode is ON")
  468. else
  469.     function notongue()
  470.     end
  471.     print("No Tongue Mode is OFF")
  472. end
  473. -------------------------------------------------
  474. -------------------------------------------------
  475. if NoFlutter == true then
  476.     function noflutter()
  477.         memory.writebyte(0x7000D2, 0)
  478.     end
  479.     print("No Flutter Mode is ON")
  480. else
  481.     function noflutter()
  482.     end
  483.     print("No Flutter Mode is OFF")
  484. end
  485. -------------------------------------------------
  486. ------------------------------------------------- -- Boss cutscenes are very slow, fix if people think it's a problem.
  487. if Velcro == true then
  488.     function velcromode()
  489.         if memory.readbyte(0x7000C0) == 0 and memory.readbyte(0x7E0118) == 15 and math.abs(memory.readwordsigned(0x7000B4)) > 20 then
  490.             memory.writeword(0x7000B4,0)
  491.         end
  492.     end
  493.     print("Velcro Mode is ON")
  494. else
  495.     function velcromode()
  496.     end
  497.     print("Velcro Mode is OFF")
  498. end
  499. -------------------------------------------------
  500. -------------------------------------------------
  501. if AlwaysFilledMouth == false then
  502.     function mouthmode()
  503.     end
  504.     print("Always Filled Mouth is OFF")
  505. else
  506.     if AlwaysFilledMouth == melon or AlwaysFilledMouth == melons or AlwaysFilledMouth == seeds or AlwaysFilledMouth == melonseeds or AlwaysFilledMouth == melonseed then
  507.         mouth_var = 3
  508.     end
  509.     if AlwaysFilledMouth == bubble or AlwaysFilledMouth == bubbles then
  510.         mouth_var = 2
  511.     end
  512.     function mouthmode()
  513.     memory.writebyte(0x700162, 89)
  514.     memory.writebyte(0x70016A, AlwaysFilledMouth)
  515.     memory.writebyte(0x700170, 30)
  516.     end
  517.     print("Always Filled Mouth is ON")
  518. end
  519. -------------------------------------------------
  520. -------------------------------------------------
  521. if FullEggsStart == true then
  522.     function eggstransitions()
  523.         gamemode = memory.readbyte(0x7E0118)
  524.         if gamemode == 12 then
  525.             eggcount = memory.readbyte(0x7E5D98)
  526.             for i = 0, eggcount, 2 do
  527.                 memory.writebyte(0x7E5D9A + i, memory.readbyte(0x7E5D9A + i))
  528.             end
  529.             for i = eggcount, NumberOfEggs, 2 do
  530.                 memory.writebyte(0x7E5D9A+i, EggType)
  531.             end
  532.             if eggcount > NumberOfEggs then
  533.                 memory.writebyte(0x7E5D98, eggcount)
  534.             else
  535.                 memory.writebyte(0x7E5D98, NumberOfEggs)
  536.             end
  537.         end
  538.     end
  539.     print("Always Start With Full Eggs  is ON -", NumberOfEggs/2, "eggs")
  540. else
  541.     function eggstransitions()
  542.     end
  543.     print("Always Start With Full Eggs is OFF")
  544. end
  545. -------------------------------------------------
  546. -------------------------------------------------
  547. xposoffset = 0
  548. if FastModeX == true then
  549.     speedmodifierx = 1000 - SpeedBoostX*100
  550.     function fastmodex()
  551.         if memory.readbyte(0x7E0118) == 15 and memory.readbyte(0x7E0387) == 0 then
  552.             xspeed = memory.readwordsigned(0x7000B4)
  553.             xposition = memory.readwordsigned(0x70008c)
  554.             xposoffset = xspeed/speedmodifierx
  555.             memory.writeword(0x70008c, xposition + xposoffset)
  556.         end
  557.     end
  558.     print("Fast Mode is ON - Speed:",SpeedBoostX)
  559. else
  560.     function fastmodex()
  561.     end
  562.     print("Fast Mode is OFF")
  563. end
  564. -------------------------------------------------
  565. -------------------------------------------------
  566. if FastModeY == true then
  567.     speedmodifiery = 1000 - SpeedBoostY*100
  568.     function fastmodey()
  569.         if memory.readbyte(0x7E0118) == 15 and memory.readbyte(0x7E0387) == 0 then
  570.             yspeed = memory.readwordsigned(0x7000AA)
  571.             yposition = memory.readwordsigned(0x700090)
  572.             memory.writeword(0x700090, yposition + yspeed/speedmodifiery)
  573.         end
  574.     end
  575.     print("Fast Mode is ON - Speed:",SpeedBoostY)
  576. else
  577.     function fastmodey()
  578.     end
  579.     print("Fast Mode is OFF")
  580. end
  581. -------------------------------------------------
  582. -------------------------------------------------
  583. if PoisonCoins ~= 0 then
  584.     lastframecoins = memory.readbyte(0x7E037B)
  585.     function poisoncoins()
  586.         starcounter = memory.readword(0x7E03B6)
  587.         if memory.readbyte(0x7E037B) > lastframecoins  then
  588.             if starcounter > PoisonCoins then
  589.                 memory.writeword(0x7E03B6,  starcounter - PoisonCoins)
  590.             else
  591.                 memory.writeword(0x7E03B6,  0)
  592.             end
  593.         end
  594.         lastframecoins = memory.readbyte(0x7E037B)
  595.     end
  596.     print("Poison Coins Mode is ON")
  597. else
  598.     function poisoncoins()
  599.     end
  600.     print("Poison Coins Mode is OFF")
  601. end
  602. -------------------------------------------------
  603. -------------------------------------------------
  604. if PoisonFlowers ~= 0 then
  605.     lastframeflowers = memory.readbyte(0x7E03B8)
  606.     function poisonflowers()
  607.         starcounter = memory.readword(0x7E03B6)
  608.         if memory.readbyte(0x7E03B8) > lastframeflowers  then
  609.             if starcounter > PoisonFlowers then
  610.                 memory.writeword(0x7E03B6,  starcounter - PoisonFlowers)
  611.             else
  612.                 memory.writeword(0x7E03B6,  0)
  613.             end
  614.         end
  615.         lastframeflowers = memory.readbyte(0x7E03B8)
  616.     end
  617.     print("Poison Flowers Mode is ON")
  618. else
  619.     function poisonflowers()
  620.     end
  621.     print("Poison Flowers Mode is OFF")
  622. end
  623. -------------------------------------------------
  624. -------------------------------------------------
  625. if GroundIsLava ~= 0 then
  626.     GroundIsLava = GroundIsLava + 9
  627.     function groundislava()
  628.         starcounter = memory.readword(0x7E03B6)
  629.         if memory.readbyte(0x7000C0) == 0 and memory.readbyte(0x7001AE) == 0 and memory.readbyte(0x7000AC) == 0 then
  630.             if starcounter > 0 then
  631.                 if gpsn_value >= 1 or gpsn_value <= -1 then
  632.                     memory.writeword(0x7E03B6,  starcounter - gpsn_value)
  633.                     gpsn_value = 0
  634.                 end
  635.             gpsn_value = gpsn_value + 0.01*GroundIsLava
  636.             else
  637.                 memory.writeword(0x7E03B6,  0)
  638.             end
  639.         end
  640.     end
  641.     print("Ground is Lava Mode is ON")
  642. else
  643.     function groundislava()
  644.     end
  645.     print("Ground is Lava is OFF")
  646. end
  647. -------------------------------------------------
  648. -------------------------------------------------
  649. if PoisonAir ~= 0 then
  650.     PoisonAir = PoisonAir + 9
  651.     function poisonair()
  652.         starcounter = memory.readword(0x7E03B6)
  653.         if memory.readbyte(0x7000C0) ~= 0 and memory.readbyte(0x7001AE) == 0 and memory.readbyte(0x7000AC) == 0 then
  654.             if starcounter > 0 then
  655.                 if apsn_value >= 1 or apsn_value <= -1 then
  656.                     memory.writeword(0x7E03B6,  starcounter - apsn_value)
  657.                     apsn_value = 0
  658.                 end
  659.             apsn_value = apsn_value + 0.01*PoisonAir
  660.             else
  661.                 memory.writeword(0x7E03B6,  0)
  662.             end
  663.         end
  664.     end
  665.     print("Poison Air Mode is ON")
  666. else
  667.     function poisonair()
  668.     end
  669.     print("Poison Air is OFF")
  670. end
  671. -------------------------------------------------
  672. -------------------------------------------------
  673. if TerminalMode ~= 0 then
  674.     TerminalMode = TerminalMode + 9
  675.     function terminalmode()
  676.         starcounter = memory.readword(0x7E03B6)
  677.         if memory.readbyte(0x7001AE) == 0 and memory.readbyte(0x7000AC) == 0 then
  678.             if starcounter > 0 then
  679.                 if psn_value >= 1 or psn_value <= -1 then
  680.                     memory.writeword(0x7E03B6,  starcounter - psn_value)
  681.                     psn_value = 0
  682.                 end
  683.                 psn_value = psn_value + 0.01*TerminalMode
  684.             else
  685.                 memory.writeword(0x7E03B6,  0)
  686.             end
  687.         end
  688.     end
  689.     print("Terminal Mode is ON")
  690. else
  691.     function terminalmode()
  692.     end
  693.     print("Terminal Mode is OFF")
  694. end
  695. -------------------------------------------------
  696. -------------------------------------------------
  697. if PackMuleMode == true then
  698.     function packmule()
  699.         packmulemodifier = (-1)*memory.readbyte(0x701DF6)/2
  700.     end
  701.     print("Pack Mule Mode is ON")
  702. else
  703.     packmulemodifier = 0
  704.     function packmule()
  705.     end
  706.     print("Pack Mule Mode is OFF")
  707. end
  708. -------------------------------------------------
  709. -------------------------------------------------
  710. if StarMeterSpeedMode == true then
  711.     starmetermodifier = 1
  712.     function starmeterspeed()
  713.         starmetermodifier = (memory.readword(0x7E03B6)*-1)
  714.     end
  715.     print("Star Meter Speed Mode is ON")
  716. else
  717.     starmetermodifier = 0
  718.     function starmeterspeed()
  719.     end
  720.     print("Star Meter Speed Mode is OFF")
  721. end
  722. -------------------------------------------------
  723. -------------------------------------------------
  724. --------------------------------------------------- Goal stuff below
  725. ---------------------------------------------------
  726. --------------------------------------------------- Display functios and shit first yo
  727. ---------------------------------------------------
  728. ---------------------------------------------------
  729. y_offset = 4
  730. function display_goals_gen(goalstring ,x_collect, mingoal, maxgoal, mingoalboolean, maxgoalboolean, y_offset)
  731.     if  mingoalboolean == true then
  732.         if x_collect < mingoal then
  733.             color = "red"
  734.         else
  735.             color = "green"
  736.         end
  737.         minstring = " min: "
  738.     else
  739.         mingoal = ""
  740.         minstring = ""
  741.     end
  742.     if maxgoalboolean == true then
  743.         if x_collect == maxgoal then
  744.             color = "orange"
  745.         elseif mingoalboolean == false then
  746.             color = "yellow"
  747.         end
  748.         maxstring = " max: "
  749.     else
  750.         maxstring = ""
  751.         maxgoal = ""
  752.     end
  753. gui.text(4, y_offset, goalstring .. x_collect .. " -" .. minstring .. mingoal .. maxstring .. maxgoal, color)
  754. end
  755. ---------------------------------------------------
  756. if DisplayCoin == true and CoinGoals == true then
  757.     function coindisplay()
  758.         display_goals_gen("Coins: ", collectedcoins, MinCoinGoal, MaxCoinGoal, MinimumCoins, MaximumCoins, y_offset_coin)
  759.     end
  760.     y_offset_coin = y_offset
  761.     y_offset = y_offset + 8
  762. else
  763.     function coindisplay()
  764.     end
  765. end
  766. ---------------------------------------------------
  767. if DisplayStar == true and StarGoals == true then
  768.     function stardisplay()
  769.         display_goals_gen("Stars: ", collectedstars, MinStarGoal, MaxStarGoal, MinimumStars, MaximumStars, y_offset_star)
  770.     end
  771.     y_offset_star = y_offset
  772.     y_offset = y_offset + 8
  773. else
  774.     function stardisplay()
  775.     end
  776. end
  777. ---------------------------------------------------
  778. if DisplayFlower == true and FlowerGoals == true then
  779.     function flowerdisplay()
  780.         display_goals_gen("Flowers: ", flowers, MinFlowerGoal, MaxFlowerGoal, MinimumFlowers, MaximumFlowers, y_offset_flower)
  781.     end
  782.     y_offset_flower = y_offset
  783.     y_offset = y_offset + 8
  784. else
  785.     function flowerdisplay()
  786.     end
  787. end
  788. ---------------------------------------------------
  789. if DisplayRed == true and RedCoinGoals == true then
  790.     function reddisplay()
  791.         display_goals_gen("Red Coins: ", redcoins, MinRedCoinGoal, MaxRedCoinGoal, MinimumRedCoins, MaximumRedCoins, y_offset_red)
  792.     end
  793.     y_offset_red = y_offset
  794.     y_offset = y_offset + 8
  795. else
  796.     function reddisplay()
  797.     end
  798. end
  799. ---------------------------------------------------
  800. if DisplayJump == true and JumpGoals == true then
  801.     function jumpdisplay()
  802.         display_goals_gen("Jumped: ", times_jumped, MinJumpGoal, MaxJumpGoal, MinimumJumps, MaximumJumps, y_offset_jump)
  803.     end
  804.     y_offset_jump = y_offset
  805.     y_offset = y_offset + 8
  806. else
  807.     function jumpdisplay()
  808.     end
  809. end
  810. ---------------------------------------------------
  811. if DisplayEggs == true and Egg_Goals == true then
  812.     function eggdisplay()
  813.         display_goals_gen("Eggs: ", eggs_made, MinEggGoal, MaxEggGoal, MinimumEggs, MaximumEggs, y_offset_egg)
  814.     end
  815.     y_offset_egg = y_offset
  816.     y_offset = y_offset + 8
  817. else
  818.     function eggdisplay()
  819.     end
  820. end
  821. ---------------------------------------------------
  822. if DisplayFuzzy == true and Fuzzy_Goals == true then
  823.     function fuzdisplay()
  824.         display_goals_gen("Fuzzies: ", touched_fuzzies, MinFuzzyGoal, MaxFuzzyGoal, MinimumFuzzies, MaximumFuzzies, y_offset_fuz)
  825.     end
  826.     y_offset_fuz = y_offset
  827.     y_offset = y_offset + 8
  828. else
  829.     function fuzdisplay()
  830.     end
  831. end
  832. ---------------------------------------------------
  833. if DisplayLives == true and Lives_Goals == true then
  834.     function livesdisplay()
  835.         display_goals_gen("Lives: ", extralives_gathered, MinLivesGoal, MaxLivesGoal, MinimumLives, MaximumLives, y_offset_lives)
  836.     end
  837.     y_offset_lives = y_offset
  838.     y_offset = y_offset + 8
  839. else
  840.     function livesdisplay()
  841.     end
  842. end
  843. ---------------------------------------------------
  844. function what_to_display()
  845.     if gamemode == 15 then
  846.         coindisplay()
  847.         stardisplay()
  848.         flowerdisplay()
  849.         reddisplay()
  850.         jumpdisplay()
  851.         eggdisplay()
  852.         fuzdisplay()
  853.         livesdisplay()
  854.     end
  855. end
  856. gui.register(what_to_display)
  857. ---------------------------------------------------
  858. ---------------------------------------------------
  859. --------------------------------------------------- Start with goal functions.
  860. ---------------------------------------------------
  861. ---------------------------------------------------
  862. if MinimumCoins == true then
  863.     function mincoincheck()
  864.         if collectedcoins < MinCoinGoal then
  865.             if gamemode == 16 or memory.readbyte(0x7E004F) == 240 then
  866.                 firedeath()
  867.             end
  868.         end
  869.     end
  870. else
  871.     function mincoincheck()
  872.     end
  873. end
  874. ---------------------------------------------------
  875. if MaximumCoins == true then
  876.     function maxcoincheck()
  877.         if collectedcoins > MaxCoinGoal and memory.readbyte(0x7001AE) == 0 then
  878.             firedeath()
  879.             collectedcoins = 0
  880.         end
  881.     end
  882. else
  883.     function maxcoincheck()
  884.     end
  885. end
  886. ---------------------------------------------------
  887. lastframecoins = memory.readbyte(0x7E037B)
  888. collectedcoins = 0
  889. function coincounter()
  890.     gamemode = memory.readbyte(0x7E0118)
  891.     if memory.readbyte(0x7E037B) > lastframecoins then
  892.         collectedcoins = collectedcoins + memory.readbyte(0x7E037B) - lastframecoins
  893.     elseif memory.readbyte(0x7E037B) < lastframecoins then
  894.         collectedcoins = collectedcoins + 100 - lastframecoins + memory.readbyte(0x7E037B)
  895.     end
  896.     lastframecoins = memory.readbyte(0x7E037B)
  897. end
  898. ---------------------------------------------------
  899. if CoinGoals == true then
  900.     function coingoals()
  901.         savering = memory.readbyte(0x7E0B65)
  902.         coincounter()
  903.         if savering == 1 then
  904.             MidRingCoins = collectedcoins
  905.         end
  906.         if gamemode == 61 or gamemode == 34 then
  907.             collectedcoins = 0
  908.         end
  909.         if gamemode == 53 then
  910.             collectedcoins = MidRingCoins
  911.         end
  912.         mincoincheck()
  913.         maxcoincheck()
  914.     end
  915. else
  916.     function coingoals()
  917.     end
  918. end
  919.  
  920. ---------------------------------------------------
  921. ------------------------------------------------------
  922. ------------------------------------------------------
  923. ---------------------------------------------------
  924. lastframestars = math.floor(memory.readword(0x7E03B6)/10)
  925. collectedstars = 0
  926. if MinimumStars == true then
  927.     function minstarcheck()
  928.         if collectedstars < MinStarGoal then
  929.             if gamemode == 16 or memory.readbyte(0x7E004F) == 240 then
  930.                 firedeath()
  931.             end
  932.         end
  933.     end
  934. else
  935.     function minstarcheck()
  936.     end
  937. end
  938. ------------------------------------------------------
  939. if MaximumStars == true then
  940.     function maxstarcheck()
  941.         if collectedstars > MaxStarGoal and memory.readbyte(0x7001AE) == 0 then
  942.             firedeath()
  943.             collectedstars = 0
  944.         end
  945.     end
  946. else
  947.     function maxstarcheck()
  948.     end
  949. end
  950. ------------------------------------------------------
  951. function starcounter()
  952.     thisframestars = math.floor(memory.readword(0x7E03B6)/10)
  953.     gamemode = memory.readbyte(0x7E0118)
  954.     if thisframestars > lastframestars and gamemode == 15 then --
  955.         collectedstars = collectedstars + thisframestars - lastframestars
  956.     end
  957.     lastframestars = math.floor(memory.readword(0x7E03B6)/10)
  958. end
  959. ------------------------------------------------------
  960. if StarGoals == true then
  961.     function stargoals()
  962.         memory.writeword(0x7EE23C, 10000)
  963.         starcounter()
  964.         savering = memory.readbyte(0x7E0B65)
  965.         if savering == 1 then
  966.             MidRingStars = collectedstars
  967.         end
  968.         if gamemode == 61 or gamemode == 34  then
  969.             collectedstars = 0
  970.         end
  971.         if gamemode == 53 then
  972.             collectedstars = MidRingStars
  973.  
  974.         end
  975.         minstarcheck()
  976.         maxstarcheck()
  977.     end
  978. else
  979.     function stargoals()
  980.     end
  981. end
  982. ---------------------------------------------------
  983. ------------------------------------------------------
  984. ------------------------------------------------------
  985. ---------------------------------------------------
  986. if MinimumFlowers == true then
  987.     function minflowers()
  988.             if flowers < MinFlowerGoal then
  989.                 if gamemode == 16  or memory.readbyte(0x7E004F) == 240 then
  990.                     firedeath()
  991.                 end
  992.             end
  993.     end
  994. else
  995.     function minflowers()
  996.     end
  997. end
  998. ------------------------------------------------------
  999. if MaximumFlowers == true then
  1000.     flowerdeath = false
  1001.     function maxflowers()
  1002.             if flowers > MaxFlowerGoal and memory.readbyte(0x7001AE) == 0 and flowerdeath == false and gamemode == 15 then
  1003.                 firedeath()
  1004.                 flowerdeath = true
  1005.             elseif gamemode == 12 and flowerdeath == true then
  1006.                 flowerdeath = false
  1007.             end
  1008.     end
  1009. else
  1010.     function maxflowers()
  1011.     end
  1012. end
  1013. ------------------------------------------------------
  1014. if FlowerGoals == true then
  1015.     function flowergoals()
  1016.         gamemode = memory.readbyte(0x7E0118)
  1017.         flowers = memory.readbyte(0x7E03B8)
  1018.         minflowers()
  1019.         maxflowers()
  1020.     end
  1021. else
  1022.     function flowergoals()
  1023.     end
  1024. end
  1025. ---------------------------------------------------
  1026. ------------------------------------------------------
  1027. ------------------------------------------------------
  1028. ---------------------------------------------------
  1029. if MinimumRedCoins == true then
  1030.     function minredcoins()
  1031.             if redcoins < MinRedCoinGoal then
  1032.                 if gamemode == 16  or memory.readbyte(0x7E004F) == 240 then
  1033.                     firedeath()
  1034.                 end
  1035.             end
  1036.     end
  1037. else
  1038.     function minredcoins()
  1039.     end
  1040. end
  1041. ------------------------------------------------------
  1042. if MaximumRedCoins == true then
  1043.     redcoindeath = false
  1044.     function maxredcoins()
  1045.             if redcoins > MaxRedCoinGoal and memory.readbyte(0x7001AE) == 0 and redcoindeath == false then
  1046.                 firedeath()
  1047.                 redcoindeath = true
  1048.             elseif gamemode == 12 and redcoindeath == true then
  1049.                 redcoindeath = false
  1050.             end
  1051.     end
  1052. else
  1053.     function maxredcoins()
  1054.     end
  1055. end
  1056. ------------------------------------------------------
  1057. if RedCoinGoals == true then
  1058.     function redcoingoals()
  1059.         gamemode = memory.readbyte(0x7E0118)
  1060.         redcoins = memory.readbyte(0x7E03B4)
  1061.         minredcoins()
  1062.         maxredcoins()
  1063.     end
  1064. else
  1065.     function redcoingoals()
  1066.     end
  1067. end
  1068. ---------------------------------------------------
  1069. ------------------------------------------------------
  1070. ------------------------------------------------------
  1071. ---------------------------------------------------
  1072. times_jumped = 0
  1073. function jumpcounter()
  1074.         soundtype = memory.readbyte(0x7E0055)
  1075.         if soundtype == 73 or soundtype == 56 then
  1076.             times_jumped = times_jumped + 1
  1077.         end
  1078. end
  1079. ------------------------------------------------------
  1080. if MinimumJumps == true then
  1081.     function minjumps()
  1082.             if times_jumped < MinJumpGoal then
  1083.                 if gamemode == 16  or memory.readbyte(0x7E004F) == 240 then
  1084.                     firedeath()
  1085.                 end
  1086.             end
  1087.     end
  1088. else
  1089.     function minjumps()
  1090.     end
  1091. end
  1092. ------------------------------------------------------
  1093. if MaximumJumps == true then
  1094.     function maxjumps()
  1095.             if times_jumped > MaxJumpGoal and memory.readbyte(0x7001AE) == 0 then
  1096.                 firedeath()
  1097.                 times_jumped = 0
  1098.             end
  1099.     end
  1100. else
  1101.     function maxjumps()
  1102.     end
  1103. end
  1104. ------------------------------------------------------
  1105. if JumpGoals == true then
  1106.     function jumpgoals()
  1107.         gamemode = memory.readbyte(0x7E0118)
  1108.         jumpcounter()
  1109.         savering = memory.readbyte(0x7E0B65)
  1110.         if savering == 1 then
  1111.             MidRingJumps = times_jumped
  1112.         end
  1113.         if gamemode == 61 or gamemode == 34  then
  1114.             times_jumped = 0
  1115.         end
  1116.         if gamemode == 53 then
  1117.             times_jumped = MidRingJumps
  1118.         end
  1119.         minjumps()
  1120.         maxjumps()
  1121.     end
  1122. else
  1123.     function jumpgoals()
  1124.     end
  1125. end
  1126. ---------------------------------------------------
  1127. ------------------------------------------------------------------------------------------------------------
  1128. ------------------------------------------------------------------------------------------------------------
  1129. ---------------------------------------------------
  1130. if MinimumEggs == true then
  1131.     function mineggs()
  1132.             if eggs_made < MinEggGoal then
  1133.                 if gamemode == 16  or memory.readbyte(0x7E004F) == 240 then
  1134.                     firedeath()
  1135.                 end
  1136.             end
  1137.     end
  1138. else
  1139.     function mineggs()
  1140.     end
  1141. end
  1142. ---------------------------------------------------
  1143. if MaximumEggs == true then
  1144.     function maxeggs()
  1145.             if eggs_made > MaxEggGoal and memory.readbyte(0x7001AE) == 0 then
  1146.                 firedeath()
  1147.                 eggs_made = 0
  1148.             end
  1149.     end
  1150. else
  1151.     function maxeggs()
  1152.     end
  1153. end
  1154. ---------------------------------------------------
  1155. eggs_made = 0
  1156. swallowing_egg = false
  1157. function enemies_swallowed_counter()
  1158.     if memory.readbyte(0x700150) == 71 and swallowing_egg == false then  -- Issue if you get hit while making an egg, might be others too? Also counts when eating a fuzzy. Need new indicator!
  1159.         eggs_made = eggs_made + 1
  1160.         swallowing_egg = true
  1161.     elseif memory.readbyte(0x700150) == 75 then
  1162.         swallowing_egg = false
  1163.     end
  1164. end
  1165. ---------------------------------------------------
  1166. if Egg_Goals == true then
  1167.     function eggoals()
  1168.         gamemode = memory.readbyte(0x7E0118)
  1169.         enemies_swallowed_counter()
  1170.         savering = memory.readbyte(0x7E0B65)
  1171.         if savering == 1 then
  1172.             MidRingEggs = eggs_made
  1173.         end
  1174.         if gamemode == 61 or gamemode == 34  then
  1175.             eggs_made = 0
  1176.         end
  1177.         if gamemode == 53 then
  1178.             eggs_made = MidRingEggs
  1179.         end
  1180.         mineggs()
  1181.         maxeggs()
  1182.     end
  1183. else
  1184.     function eggoals()
  1185.     end
  1186. end
  1187. ---------------------------------------------------
  1188. ------------------------------------------------------
  1189. ------------------------------------------------------
  1190. ---------------------------------------------------
  1191. touched_fuzzies = 0
  1192. function fuzzy_counter() -- very important that this is before drunk mode, else it won't work
  1193.     if memory.readword(0x701FE8) == 1024 and touched_fuzzy == false then
  1194.         touched_fuzzies = touched_fuzzies + 1
  1195.         touched_fuzzy = true
  1196.     elseif memory.readword(0x701FE8) < 1024 then
  1197.         touched_fuzzy = false
  1198.     end
  1199. end
  1200. ------------------------------------------------------
  1201. if MinimumFuzzies == true then
  1202.     function minfuzzies()
  1203.             if touched_fuzzies < MinFuzzyGoal then
  1204.                 if gamemode == 16  or memory.readbyte(0x7E004F) == 240 then
  1205.                     firedeath()
  1206.                 end
  1207.             end
  1208.     end
  1209. else
  1210.     function minfuzzies()
  1211.     end
  1212. end
  1213. ------------------------------------------------------
  1214. if MaximumFuzzies == true then
  1215.     function maxfuzzies()
  1216.             if touched_fuzzies > MaxFuzzyGoal and memory.readbyte(0x7001AE) == 0 then
  1217.                 firedeath()
  1218.                 touched_fuzzies = 0
  1219.             end
  1220.     end
  1221. else
  1222.     function maxfuzzies()
  1223.     end
  1224. end
  1225. ------------------------------------------------------
  1226. if Fuzzy_Goals == true then
  1227.     function fuzzygoals()
  1228.         gamemode = memory.readbyte(0x7E0118)
  1229.         fuzzy_counter()
  1230.         savering = memory.readbyte(0x7E0B65)
  1231.         if savering == 1 then
  1232.             MidRingFuzzies = touched_fuzzies
  1233.         end
  1234.         if gamemode == 61 or gamemode == 34  then
  1235.             touched_fuzzies = 0
  1236.         end
  1237.         if gamemode == 53 then
  1238.             touched_fuzzies = MidRingFuzzies
  1239.         end
  1240.         minfuzzies()
  1241.         maxfuzzies()
  1242.     end
  1243. else
  1244.     function fuzzygoals()
  1245.     end
  1246. end
  1247. ---------------------------------------------------
  1248. ------------------------------------------------------
  1249. ------------------------------------------------------
  1250. ---------------------------------------------------
  1251. current_extralives = memory.readword(0x7E0379)
  1252. extralives_gathered = 0
  1253. function extralives_counter()
  1254.     extralives_difference = memory.readword(0x7E0379) - current_extralives
  1255.     if extralives_difference > 0 then
  1256.         extralives_gathered = extralives_gathered + extralives_difference
  1257.     end
  1258.     current_extralives = memory.readword(0x7E0379)
  1259. end
  1260. ------------------------------------------------------
  1261. if MinimumLives == true then
  1262.     function minlives()
  1263.             if extralives_gathered < MinLivesGoal then
  1264.                 if gamemode == 16  or memory.readbyte(0x7E004F) == 240 then
  1265.                     firedeath()
  1266.                 end
  1267.             end
  1268.     end
  1269. else
  1270.     function minlives()
  1271.     end
  1272. end
  1273. ------------------------------------------------------
  1274. if MaximumLives == true then
  1275.     function maxlives()
  1276.             if extralives_gathered > MaxLivesGoal and memory.readbyte(0x7001AE) == 0 then
  1277.                 firedeath()
  1278.                 extralives_gathered = 0
  1279.             end
  1280.     end
  1281. else
  1282.     function maxlives()
  1283.     end
  1284. end
  1285. ------------------------------------------------------
  1286. if Lives_Goals == true then
  1287.     function livesgoals()
  1288.         gamemode = memory.readbyte(0x7E0118)
  1289.         extralives_counter()
  1290.         savering = memory.readbyte(0x7E0B65)
  1291.         if savering == 1 then
  1292.             MidRingLives = extralives_gathered
  1293.         end
  1294.         if gamemode == 61 or gamemode == 34  then
  1295.             extralives_gathered = 0
  1296.         end
  1297.         if gamemode == 53 then
  1298.             extralives_gathered = MidRingLives
  1299.         end
  1300.         minlives()
  1301.         maxlives()
  1302.     end
  1303. else
  1304.     function livesgoals()
  1305.     end
  1306. end
  1307. -------------------------------------------------
  1308. -------------------------------------------------
  1309. ------------------MAIN---------------------------
  1310. -------------------------------------------------
  1311. -------------------------------------------------
  1312. while true do
  1313. --
  1314.     LevelBlitz()
  1315.     -- Goal stuff
  1316.     coingoals()
  1317.     stargoals()
  1318.     flowergoals()
  1319.     redcoingoals()
  1320.     jumpgoals()
  1321.     eggoals()
  1322.     fuzzygoals()
  1323.     livesgoals()
  1324.     -- things
  1325.     starmeterspeed()
  1326.     packmule()
  1327.     noleft()
  1328.     drunk()
  1329.     hardmode()
  1330.     deathtimer()
  1331.     forceretry()
  1332.     infinitelives()
  1333.     extendedflutter()
  1334.     notongue()
  1335.     noflutter()
  1336.     velcromode()
  1337.     mouthmode()
  1338.     eggstransitions()
  1339.     fastmodex()
  1340.     fastmodey()
  1341.     poisoncoins()
  1342.     poisonflowers()
  1343.     groundislava()
  1344.     terminalmode()
  1345.     poisonair()
  1346.     coincounter()
  1347.     --
  1348.     emu.frameadvance()
  1349. end
  1350. -- END MAIN --
  1351. -- Made by Arnethegreat - message me on #yoshi @ irc.speeddemosarchive.com if you want anything
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement