mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2026-11-03 08:15:47 +00:00
Release 6.9.0
This commit is contained in:
@@ -69,6 +69,7 @@ module FootprintVariables
|
||||
|
||||
def self.show(event, position)
|
||||
return if $PokemonGlobal.boat
|
||||
return if $game_player.through
|
||||
if event != $game_player
|
||||
return if event.character_name == "" || event.character_name == "nil" || event.name.include?("/nofoot/")
|
||||
return if pbEventCommentInput(event, 0, "NoFoot")
|
||||
@@ -195,7 +196,9 @@ class Game_Character
|
||||
|
||||
def foot_prints?
|
||||
begin
|
||||
return $game_map.terrain_tag(get_last_pos[0], get_last_pos[1]) == FootprintVariables::TERRAIN_FOOT && $scene.is_a?(Scene_Map) && $scene.spriteset?
|
||||
terrain_tag = $game_map.terrain_tag(get_last_pos[0], get_last_pos[1])
|
||||
return terrain_tag.show_footprints && $scene.is_a?(Scene_Map) && $scene.spriteset?
|
||||
#return $game_map.terrain_tag(get_last_pos[0], get_last_pos[1]) == FootprintVariables::TERRAIN_FOOT && $scene.is_a?(Scene_Map) && $scene.spriteset?
|
||||
rescue
|
||||
return false
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user