Skip to content

Instantly share code, notes, and snippets.

@Reisyukaku
Last active May 31, 2024 07:33
Show Gist options
  • Save Reisyukaku/a8b1085d96ec0a845a053c90bf7c48bc to your computer and use it in GitHub Desktop.
Save Reisyukaku/a8b1085d96ec0a845a053c90bf7c48bc to your computer and use it in GitHub Desktop.
SV lua memes
--Param: string [snow, storm, rain, diamonddust, sandstorm]
function changeWeather(weather)
local L2_2 = c4C26B52F.f544F902B()
L1_2 = L2_2.fBF4010E1(L2_2)
L1_2.fE0598362(L1_2, weather)
CC6FE82819C6E1D55.SF42297B52592C534(2)
end
--Adds item to bag
function AddItem(id, count)
local inst = C14A8D35D72F56FE9.S90D73F1D715BCBF4()
inst.FB01A9B29CD4CC6CB(inst, id, count)
end
--Adds a pokemon to your party (MUST HAVE OPEN SLOT)
function AddPokemon(species, lvl)
CD081B219DEE96EEF.S8AB35B082A13663C(species,lvl)
end
--Heals party (w/ no sound effect)
function HealParty()
CD081B219DEE96EEF.SA3F85A17B10891E4(nil, true, false, 2)
end
--Gets the speed of the day/night cycle etc
function GetGameTimeSpeed()
local impl = C05D9E556B496A3DF.SC8223E31D3163519
return impl[1].timeSpeed
end
--Sets how fast day/night cycle etc run. Speed as a float
function SetGameTimeSpeed(speed)
C05D9E556B496A3DF.S3594EAE67A79DA21(speed)
end
--Adds dressup item
function AddClothing(item_id)
local inst = CF142AD871E7B1304.S385504EFF7E842C3()
inst.FD0EA6548C18156B9(inst, item_id)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment