mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-08 13:44:59 +00:00
Added "beneath map" height for overworld animations, fixed new games inheriting Jukebox BGM from save file, added PokeBall property for trainer types, fixed Cramorant form changing effects
This commit is contained in:
@@ -774,6 +774,12 @@ module Compiler
|
||||
end
|
||||
|
||||
def validate_compiled_trainer_type(hash)
|
||||
# Ensure valid Poké Ball
|
||||
if hash[:poke_ball]
|
||||
if !GameData::Item.get(hash[:poke_ball]).is_poke_ball?
|
||||
raise _INTL("Value '{1}' isn't a defined Poké Ball.", hash[:poke_ball]) + "\n" + FileLineData.linereport
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
def validate_all_compiled_trainer_types
|
||||
|
||||
Reference in New Issue
Block a user