mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-10 06:34:59 +00:00
Moved global/map metadata constants and schema into modules
This commit is contained in:
@@ -572,14 +572,14 @@ def pbBikeCheck
|
||||
return false
|
||||
end
|
||||
if $PokemonGlobal.bicycle
|
||||
if pbGetMetadata($game_map.map_id,MetadataBicycleAlways)
|
||||
if pbGetMetadata($game_map.map_id,MapMetadata::BICYCLE_ALWAYS)
|
||||
pbMessage(_INTL("You can't dismount your Bike here."))
|
||||
return false
|
||||
end
|
||||
return true
|
||||
end
|
||||
val = pbGetMetadata($game_map.map_id,MetadataBicycle)
|
||||
val = pbGetMetadata($game_map.map_id,MetadataOutdoor) if val==nil
|
||||
val = pbGetMetadata($game_map.map_id,MapMetadata::BICYCLE)
|
||||
val = pbGetMetadata($game_map.map_id,MapMetadata::OUTDOOR) if val==nil
|
||||
if !val
|
||||
pbMessage(_INTL("Can't use that here."))
|
||||
return false
|
||||
|
||||
Reference in New Issue
Block a user