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:
@@ -30,7 +30,7 @@ COMMON_MAPS_HOENN =
|
||||
},
|
||||
:CONTEST_HALL => {
|
||||
id: 110,
|
||||
position: [11, 37]
|
||||
position: [11, 47]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -67,6 +67,10 @@ def exit_common_building()
|
||||
$game_map.autoplay
|
||||
$game_map.refresh
|
||||
}
|
||||
reset_common_building
|
||||
end
|
||||
|
||||
def reset_common_building
|
||||
$PokemonGlobal.common_map_entrance_id = nil
|
||||
$PokemonGlobal.common_map_entrance_position = nil
|
||||
reset_pokemart_variables
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -56,6 +56,7 @@ Always_Give_Shadow_If_Event_Name_Has = [
|
||||
|
||||
# Determines whether or not an event should be given a shadow.
|
||||
def pbShouldGetShadow?(event)
|
||||
return false if event.character_name == "invisible"
|
||||
return true if event.is_a?(Game_Player) # The player will always have a shadow
|
||||
page = pbGetActiveEventPage(event)
|
||||
return false unless page
|
||||
|
||||
@@ -14,7 +14,7 @@ Events.onStepTakenFieldMovement += proc { |_sender, e|
|
||||
break
|
||||
else
|
||||
if mapTerrainTag == 16
|
||||
pbSEPlay("puddle", 100) if event == $game_player && !$PokemonGlobal.surfing
|
||||
pbSEPlay("puddle", 30) if event == $game_player && !$PokemonGlobal.surfing
|
||||
$scene.spriteset.addUserAnimation(PUDDLE_ANIMATION_ID, event.x, event.y, true, 0)
|
||||
break
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user