mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
Fixed bugs relating to followers from previous commit, fixed error in Safari Battles from previous commit
This commit is contained in:
@@ -454,7 +454,7 @@ def pbBikeCheck
|
||||
pbMessage(_INTL("Can't use that here."))
|
||||
return false
|
||||
end
|
||||
if $game_player.can_ride_vehicle_with_follower?
|
||||
if !$game_player.can_ride_vehicle_with_follower?
|
||||
pbMessage(_INTL("It can't be used when you have someone with you."))
|
||||
return false
|
||||
end
|
||||
|
||||
@@ -21,7 +21,7 @@ ItemHandlers::UseFromBag.add(:HONEY,proc { |item|
|
||||
})
|
||||
|
||||
ItemHandlers::UseFromBag.add(:ESCAPEROPE,proc { |item|
|
||||
if $game_player.can_map_transfer_with_follower?
|
||||
if !$game_player.can_map_transfer_with_follower?
|
||||
pbMessage(_INTL("It can't be used when you have someone with you."))
|
||||
next 0
|
||||
end
|
||||
@@ -77,7 +77,7 @@ ItemHandlers::ConfirmUseInField.add(:ESCAPEROPE,proc { |item|
|
||||
pbMessage(_INTL("Can't use that here."))
|
||||
next false
|
||||
end
|
||||
if $game_player.can_map_transfer_with_follower?
|
||||
if !$game_player.can_map_transfer_with_follower?
|
||||
pbMessage(_INTL("It can't be used when you have someone with you."))
|
||||
next false
|
||||
end
|
||||
@@ -168,7 +168,7 @@ ItemHandlers::UseInField.add(:ESCAPEROPE,proc { |item|
|
||||
pbMessage(_INTL("Can't use that here."))
|
||||
next false
|
||||
end
|
||||
if $game_player.can_map_transfer_with_follower?
|
||||
if !$game_player.can_map_transfer_with_follower?
|
||||
pbMessage(_INTL("It can't be used when you have someone with you."))
|
||||
next false
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user