mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
Refactoring and tidying
This commit is contained in:
@@ -63,16 +63,6 @@ def pbSetUpSystem
|
||||
pbSetResizeFactor([$PokemonSystem.screensize, 4].min)
|
||||
end
|
||||
# Load constants
|
||||
begin
|
||||
consts = pbSafeLoad("Data/Constants.rxdata")
|
||||
consts = [] if !consts
|
||||
rescue
|
||||
consts = []
|
||||
end
|
||||
for script in consts
|
||||
next if !script
|
||||
eval(Zlib::Inflate.inflate(script[2]),nil,script[1])
|
||||
end
|
||||
GameData.load_all
|
||||
if LANGUAGES.length>=2
|
||||
pokemonSystem.language = pbChooseLanguage if !havedata
|
||||
|
||||
Reference in New Issue
Block a user