Added 1.5x screen size option, fixed 2**32 being 0, tidied up some code

This commit is contained in:
Maruno17
2020-11-22 17:32:10 +00:00
parent f362b7f847
commit 4af57f6501
11 changed files with 36 additions and 35 deletions

View File

@@ -299,10 +299,7 @@ module PokemonDebugMixin
end
end
when 2 # Randomise pID
pkmn.personalID = rand(256)
pkmn.personalID |= rand(256)<<8
pkmn.personalID |= rand(256)<<16
pkmn.personalID |= rand(256)<<24
pkmn.personalID = rand(2**16) | rand(2**16) << 16
pkmn.calcStats
pbRefreshSingle(pkmnid)
end