mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-10 22:54:59 +00:00
Added Flags property to types, abilities, species and map metadata. Added LocationFlag evolution method.
This commit is contained in:
@@ -62,8 +62,7 @@ def pbInSafari?
|
||||
# map can be outdoors, with its own grassy patches.
|
||||
reception = pbSafariState.pbReceptionMap
|
||||
return true if $game_map.map_id == reception
|
||||
map_metadata = GameData::MapMetadata.try_get($game_map.map_id)
|
||||
return true if map_metadata && map_metadata.safari_map
|
||||
return true if $game_map.metadata&.safari_map
|
||||
end
|
||||
return false
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user