Implemented GameData::Metadata and GameData::MapMetadata

This commit is contained in:
Maruno17
2020-11-15 18:59:07 +00:00
parent d8476d1fa4
commit 52ffae9e8a
45 changed files with 803 additions and 540 deletions

View File

@@ -62,7 +62,7 @@ def pbInSafari?
# map can be outdoors, with its own grassy patches.
reception = pbSafariState.pbReceptionMap
return true if $game_map.map_id==reception
return true if pbGetMetadata($game_map.map_id,MapMetadata::SAFARI_MAP)
return true if GameData::MapMetadata.get($game_map.map_id).safari_map
end
return false
end